/*
 *             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.              |
 *          |                                                                                 |
 *          |                                                                                 |
 *          +---------------------------------------------------------------------------------+
 *
 *
 *
 *
 */
import{Command as _0x32be70,Context as _0x31e5f7,ContextPlugin as _0x2de7b2,Editor as _0x181fa1,ElementApiMixin as _0x3a01f2,PendingActions as _0x56f92e,Plugin as _0x36b920,rootAcceptsBlocks as _0x411020}from'ckeditor5';import{IconAI as _0x27ddac,IconAIAdjustLength as _0x53344e,IconAIAskAI as _0x5056ad,IconAIAuthor as _0x11ff4c,IconAIChangeTone as _0x54b747,IconAIChat as _0x21befc,IconAIChatCommands as _0xf988b6,IconAIContinueWriting as _0x21e4f6,IconAIGrammarCheck as _0x47a438,IconAIHistory as _0x531491,IconAIImproveWriting as _0x42f5a8,IconAIOther as _0x307952,IconAIQuickActions as _0x500889,IconAIReview as _0x43799c,IconAITranslate as _0x9a63c0,IconAddComment as _0x309fd4,IconArrowDown as _0x4ceb60,IconArrowUp as _0x1d5a43,IconBoxWithCheck as _0x344b72,IconBoxWithCross as _0x4a8523,IconBoxWithMarker as _0x5f5030,IconBrowseFiles as _0x154408,IconBulb as _0x493aa4,IconBulletedList as _0x4f0eec,IconCancel as _0x3f4fa1,IconCaseChange as _0x3745e1,IconCheck as _0x25572e,IconChevronDown as _0x53a652,IconChevronRight as _0x422d2f,IconChevronUp as _0x156fe4,IconCodeBlock as _0x3071b8,IconCommentsArchive as _0xf4f945,IconCopy as _0x2aeb43,IconDocument as _0x5a12df,IconDocumentOutline as _0x428131,IconDropbox as _0x4e52ea,IconDropdownArrow as _0x3091fa,IconEmoji as _0x1e3d26,IconError as _0x5a1064,IconExportPdf as _0x54f240,IconExportWord as _0x1ef329,IconEye as _0x2a03fd,IconEyeCrossedOut as tt,IconFacebook as et,IconFileUpload as it,IconFootnote as st,IconGoogleDrive as nt,IconGooglePhotos as rt,IconHeading1 as ot,IconHeading2 as at,IconHeading3 as ct,IconHeading4 as lt,IconHeading5 as ht,IconHeading6 as ut,IconHistory as dt,IconHorizontalLine as ft,IconHtml as mt,IconImage as pt,IconImportWord as gt,IconIndent as Ot,IconInfo as wt,IconInsertMergeField as bt,IconLineHeight as yt,IconLink as vt,IconListStyleArabicIndic as _t,IconListStyleDecimal as Et,IconListStyleDecimalLeadingZero as Tt,IconListStyleLowerLatin as At,IconListStyleLowerRoman as St,IconListStyleUpperLatin as It,IconListStyleUpperRoman as kt,IconLoupe as xt,IconMagicWand as Ct,IconMaximize as Rt,IconMinimize as Pt,IconMultiLevelList as Mt,IconNextArrow as Nt,IconNotification as Lt,IconNumberedList as $t,IconOneDrive as Dt,IconOutdated as Qt,IconOutdent as jt,IconPaintRoller as Ut,IconPaperClip as Vt,IconParagraph as Bt,IconPencil as Ft,IconPin as Ht,IconPlay as Zt,IconPlus as Gt,IconPreviewMergeFields as Xt,IconPreviousArrow as qt,IconQuote as Wt,IconRefresh as zt,IconRemoveComment as Yt,IconRobotPencil as Kt,IconSelection as Jt,IconShowChangesOff as te,IconShowChangesOn as _0xcfe3a5,IconSource as _0x2d695c,IconSparkle as _0x554074,IconStop as _0x514a43,IconSubmit as _0x961044,IconTable as _0x43b957,IconTableOfContents as _0x38b7aa,IconTemplate as _0x487d1f,IconTemplateGeneric as _0x5b92ac,IconThreeHorizontalDots as _0x20275d,IconThreeVerticalDots as _0x32e887,IconThumbDown as _0x47a465,IconThumbUp as _0xc77be1,IconTodoList as _0x33b51f,IconTrackChanges as _0x11a19c,IconUndo as _0x5b2650,IconUploadcareImageEdit as _0x4543c5,IconUploadcareImageUpload as _0x1e552c,IconUploadcareLink as _0x1cced0,IconUser as _0x32da73,IconWarning as _0x5e0c15,IconWeb as _0x1b8c93}from'ckeditor5';import{CKEditorError as _0x5b5a95,Collection as _0x23ea50,DomEmitterMixin as _0x40568c,ElementReplacer as _0x56e1a4,EmitterMixin as _0x3cd689,FocusTracker as _0x33fa41,KeystrokeHandler as _0x491b26,ObservableMixin as _0x5b14e3,Rect as _0x21a646,ResizeObserver as _0x5c4e05,_isMotionReduced as _0x190873,collectStylesheets as _0x31097e,createElement as _0x1a6ae6,diff as _0x2f7794,diffToChanges as _0x3f14f8,env as _0x221d7d,first as _0x26105c,formatHtml as _0x583ed4,getAncestors as _0xa87cc0,getConstrainedViewportRect as _0x3986c0,getEnvKeystrokeText as _0x275aec,global as _0x22955f,insertToPriorityArray as _0x3169a6,isVisible as _0x3c4a11,keyCodes as _0x2fe7dc,logError as _0x180648,logWarning as _0x43c457,priorities as _0x38a185,scrollAncestorsToShowTarget as _0x2bea5c,scrollViewportToShowTarget as _0x38fdd1,toArray as _0x6cf79c,toUnit as ti,uid as _0x10825a,version as _0x211424}from'ckeditor5';import{AutocompleteView as _0x5d61ba,BalloonPanelView as _0x13153c,BalloonToolbar as _0x11689e,BodyCollection as _0x43f1f4,BoxedEditorUIView as _0x235624,ButtonLabelView as _0x48935f,ButtonLabelWithHighlightView as _0x5065b9,ButtonView as _0x47ddb0,CollapsibleView as _0x5452a8,ContextualBalloon as _0xcef29e,CssTransitionDisablerMixin as _0x59a7b2,Dialog as _0x5cd402,DialogViewPosition as _0x41f24f,DropdownButtonView as _0x2a23a4,DropdownMenuPanelPositioningFunctions as _0x528af2,EditorUI as _0x394222,EditorUIView as _0x5e3221,FileDialogButtonView as _0x6cc67e,FocusCycler as _0x1a2844,FormHeaderView as _0x1b3af3,FormRowView as _0x375779,HighlightedTextView as _0x3f1b1e,IconView as _0x5902c2,InlineEditableUIView as _0x1fdd0b,InputNumberView as _0xb6d5d1,InputTextView as _0x14606d,LabelView as _0x1c3488,LabelWithHighlightView as _0x2d7665,LabeledFieldView as _0x339594,ListItemButtonView as _0x47de20,ListItemGroupView as _0x486de0,ListItemView as _0x1853ec,ListSeparatorView as _0x2be1ea,ListView as _0x344603,MenuBarMenuListItemButtonView as _0x3dd6ab,MenuBarMenuListItemFileDialogButtonView as _0x4e3cd3,MenuBarMenuListItemView as _0x2b149f,MenuBarMenuListView as _0x14375b,MenuBarMenuView as _0x4108b4,Notification as _0x5bbd4b,SearchTextView as _0x2c9de8,SpinnerView as _0x5812ef,SplitButtonView as _0x139493,StickyPanelView as _0x3fa85d,TextareaView as _0x1a8ce3,ToolbarSeparatorView as _0x5cab06,ToolbarView as _0x2c86da,UIModel as _0x30ba3c,View as _0x2df468,ViewCollection as _0xa445c9,addKeyboardHandlingForGrid as _0x5bf4b5,addListToDropdown as ts,addMenuToDropdown as _0x4b0037,clickOutsideHandler as _0xc0d273,createDropdown as _0x18eee9,createLabeledInputNumber as _0x29eaa0,createLabeledInputText as _0x53bfdf,createLabeledTextarea as _0x9a8cd9,filterGroupAndItemNames as _0x1a6901,focusChildOnDropdownOpen as _0x6eaad5,isViewWithFocusCycler as _0x31127b,normalizeColorOptions as _0x256da3,normalizeToolbarConfig as _0x359d13,submitHandler as _0x3e9784}from'ckeditor5';import{Clipboard as _0x9e0489,ClipboardMarkersUtils as _0x30963e,ClipboardPipeline as _0xa80fd9}from'ckeditor5';import{AttributeOperation as _0x13cb7f,ClickObserver as _0xdccf5,History as _0x1f2d5f,InsertOperation as _0x114814,MarkerOperation as _0x538fe9,Matcher as _0x2c4716,MergeOperation as _0x124664,ModelDocumentFragment as _0x14f25f,ModelElement as _0x33dcdb,ModelLivePosition as _0x58260d,ModelLiveRange as _0x52b1ee,ModelPosition as _0x30903b,ModelRange as _0x1a83e1,ModelText as _0x42edc7,ModelTreeWalker as _0x8f8d66,MouseObserver as _0x360dca,MoveOperation as _0x196b7b,NoOperation as _0x30fb02,OperationFactory as _0x4528d3,PointerObserver as _0x155bce,RenameOperation as _0x47207f,RootAttributeOperation as _0x28304f,SplitOperation as _0x37606f,StylesMap as _0x4dde00,ViewAttributeElement as _0x2377c5,ViewContainerElement as _0x9ea5e1,ViewDataTransfer as _0x39c46a,ViewDocument as _0x32f0bb,ViewDocumentDomEventData as _0x562707,ViewDocumentFragment as _0x243e02,ViewDomConverter as _0x307f22,ViewDowncastWriter as _0x2fa5e0,ViewElement as _0x3f3b3f,ViewEmptyElement as _0x479a0a,ViewRawElement as _0x411ae9,ViewText as _0x38385c,ViewUIElement as _0x108bdc,ViewUpcastWriter as _0x3bc8c0,_DetachOperation as tn,_insertIntoModelNodeList as _0x3c5016,_removeFromModelNodeList as _0xf6af56,addMarginStylesRules as _0x11eb11,addPaddingStylesRules as _0x186ec0,disableViewPlaceholder as _0x473f45,enableViewPlaceholder as _0x774f95,isPercentageStyleValue as _0xe0a132,transformOperationSets as _0x2283bf}from'ckeditor5';import{CloudServices as _0x5ed504}from'ckeditor5';import{Widget as _0x245bb0,WidgetToolbarRepository as _0x3abea8,findOptimalInsertionRange as _0x11d125,isWidget as _0x1aa212,setHighlightHandling as _0x10133a,toWidget as _0x3c4b67,toWidgetEditable as _0x571c2e,viewToModelPositionOutsideModelElement as _0x107457}from'ckeditor5';import{MarkdownGfmMdToHtml as _0x109837,MarkdownGfmMdToHtmlDefaultPlugins as _0x58a61b}from'ckeditor5';import{Enter as _0x3f2624,ShiftEnter as _0x1062db}from'ckeditor5';import{SelectAll as _0x452e52}from'ckeditor5';import{Delete as _0x38d3cf,Input as _0x4cfd91,Typing as _0x49f114}from'ckeditor5';import{Undo as _0x108d92}from'ckeditor5';import{Paragraph as _0x650fbc}from'ckeditor5';import{RemoveFormatCommand as _0x1f69e0}from'ckeditor5';import{ListEditing as _0x4ab7d4,_isFirstBlockOfListItem as _0x1771a3}from'ckeditor5';import{ImageEditing as _0x3fac71,ImageUploadEditing as _0x103380,ImageUploadProgress as _0x1f47f2,ImageUtils as _0x5c2c32,PictureEditing as _0x49cf38}from'ckeditor5';import{Mention as _0x1a2d75}from'ckeditor5';import{PasteFromOffice as _0x295ea1,PasteFromOfficeMSWordNormalizer as _0x2ecfc3}from'ckeditor5';import{FileRepository as _0x2702a1}from'ckeditor5';var Vn=Object['create'],Bn=Object['defineProperty'],Fn=Object['getOwnPropertyDescriptor'],Hn=Object['getOwnPropertyNames'],Zn=Object['getPrototypeOf'],Gn=Object['prototype']['hasOwnProperty'],Xn=(_0x45b096,_0xc5f116)=>()=>(_0xc5f116||(_0x45b096((_0xc5f116={'exports':{}})['exports'],_0xc5f116),_0x45b096=null),_0xc5f116['exports']),qn=(_0x234038,_0x266282)=>{let _0x5b1c90={};for(var _0x2ceed3 in _0x234038)Bn(_0x5b1c90,_0x2ceed3,{'get':_0x234038[_0x2ceed3],'enumerable':!0x0});return _0x266282||Bn(_0x5b1c90,Symbol['toStringTag'],{'value':'Module'}),_0x5b1c90;},Wn=(_0x10c544,_0x4defbd,_0x53f5c8)=>(_0x53f5c8=null!=_0x10c544?Vn(Zn(_0x10c544)):{},((_0x2275be,_0x128a7e,_0x1e7e71,_0x29db90)=>{if(_0x128a7e&&'object'==typeof _0x128a7e||'function'==typeof _0x128a7e){for(var _0x31941f,_0xd0f2bc=Hn(_0x128a7e),_0x5a2f5e=0x0,_0x257eed=_0xd0f2bc['length'];_0x5a2f5e<_0x257eed;_0x5a2f5e++)_0x31941f=_0xd0f2bc[_0x5a2f5e],Gn['call'](_0x2275be,_0x31941f)||_0x31941f===_0x1e7e71||Bn(_0x2275be,_0x31941f,{'get':(_0x4a89fc=>_0x128a7e[_0x4a89fc])['bind'](null,_0x31941f),'enumerable':!(_0x29db90=Fn(_0x128a7e,_0x31941f))||_0x29db90['enumerable']});}return _0x2275be;})(!_0x4defbd&&_0x10c544&&_0x10c544['__esModule']?_0x53f5c8:Bn(_0x53f5c8,'default',{'value':_0x10c544,'enumerable':!0x0}),_0x10c544));const zn='_ungrouppedCommands';function Yn(_0x443624,_0x24b7b4){const _0x27e6cc=(0x0,_0x24b7b4['t'])('Other');return _0x443624['length']?'groupId'in _0x443624[0x0]?_0x443624:[{'groupId':zn,'groupLabel':_0x27e6cc,'order':0x1/0x0,'commands':_0x443624}]:[{'groupId':zn,'groupLabel':_0x27e6cc,'order':0x1/0x0,'commands':[]}];}const Kn=globalThis['DataTransfer'],Jn='ai-ui';var tr=class extends _0x36b920{static get['pluginName'](){return'AIAssistantEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x377a59}=this,_0xe30552=['ck-fake-ai-selection'];_0x377a59['config']['get']('ai.assistant.useTheme')&&_0xe30552['push']('ck-ai-assistant-ui_theme'),_0x377a59['conversion']['for']('editingDowncast')['markerToHighlight']({'model':Jn,'view':{'classes':_0xe30552,'priority':0xc}}),_0x377a59['conversion']['for']('editingDowncast')['markerToElement']({'model':Jn,'view':(_0x556228,{writer:_0x2b6fe9})=>{if(!_0x556228['markerRange']['isCollapsed'])return null;const _0x552d38=_0x2b6fe9['createUIElement']('span');return _0x2b6fe9['addClass'](['ck-fake-ai-selection','ck-fake-ai-selection_collapsed'],_0x552d38),_0x552d38;}});}['afterInit'](){!async function(_0x16b81e){const _0x1e6a1e='nA7yurgOHbZvDplRkJscdICm86oPWx92f1qF0LaSX3NGwTMK4jVtYUBQi5zheE',_0x3ecd2d=0x78fc0,_0xe447ed=window['Date']['now'](),_0x2848a7=_0x16b81e['editor'],_0x32754b=new window['Promise'](_0x582b72=>{_0x2848a7['once']('ready',_0x582b72);}),_0x36a69e={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x249754=_0x2848a7['config']['get']('licenseKey');async function _0x48122e(){let _0x200508,_0x550b39=null,_0x4e5fb3=null;try{return'GPL'==_0x249754?'NotAllowed':(_0x200508=_0x43cd81(),_0x200508?(_0x200508['usageEndpoint']&&(_0x4e5fb3=_0x4222b0(_0x200508['usageEndpoint'],_0x200508['jti'])),await _0x185d3a()?_0x109a86()?_0xc37579()?'Expired':_0x34f8e2()?('evaluation'==_0x200508['licenseType']&&(_0x550b39=_0x6df57e('EvaluationLimit')),await _0x4d8c76()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0xc37579(){const _0x5830ef=['evaluation','trial']['includes'](_0x200508['licenseType'])?_0xe447ed/0x3e8:0xe10*_0x3ecd2d;return _0x200508['exp']<_0x5830ef;}function _0x109a86(){const _0x12e255=_0x200508['features'];return!!_0x12e255&&(!!_0x12e255['includes']('*')||!!_0x12e255['includes']('AI'));}function _0x34f8e2(){const _0x271729=_0x200508['licensedHosts'];if(!_0x271729||0x0==_0x271729['length'])return!0x0;const {hostname:_0x3ea83e}=new URL(window['location']['href']);if(_0x271729['includes'](_0x3ea83e))return!0x0;const _0x27a541=_0x3ea83e['split']('.');return _0x271729['filter'](_0x3cc74e=>_0x3cc74e['includes']('*'))['map'](_0x1448ef=>_0x1448ef['split']('.'))['filter'](_0x1f8ed5=>_0x1f8ed5['length']<=_0x27a541['length'])['map'](_0x12a7c9=>Array(_0x27a541['length']-_0x12a7c9['length'])['fill']('*'===_0x12a7c9[0x0]?'*':'')['concat'](_0x12a7c9))['some'](_0x2a848f=>_0x27a541['every']((_0x315015,_0x324129)=>_0x2a848f[_0x324129]===_0x315015||'*'===_0x2a848f[_0x324129]));}function _0x4d8c76(){return _0x550b39&&_0x4e5fb3?new window['Promise']((_0x529335,_0x35af36)=>{_0x550b39['then'](_0x529335,_0x35af36),_0x4e5fb3['then'](_0x3de5c8=>{'Valid'!=_0x3de5c8&&_0x529335(_0x3de5c8);},_0x35af36);}):_0x550b39||_0x4e5fb3||'Valid';}}function _0x4222b0(_0x1a3191,_0x448910){return new window['Promise'](_0x25539b=>{if(_0x5a06b7())return _0x25539b('Valid');_0x2181d0(),_0x2848a7['decorate']('_sendUsageRequest');let _0x21a643=!0x1;const _0x36783c=_0x10825a();function _0x433e6f(_0x25c5eb){return!!_0x25c5eb&&('object'==typeof _0x25c5eb||'function'==typeof _0x25c5eb)&&'function'==typeof _0x25c5eb['then']&&'function'==typeof _0x25c5eb['catch'];}function _0x30168e(_0x3e6c5a){_0x3d4efa(_0x3e6c5a)['then'](_0x172e7b=>_0x172e7b&&'ok'==_0x172e7b['status']?_0x509c95(_0x2b0100(_0x36783c+_0x448910))!=_0x172e7b['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x2d7c2a=>(_0x425bf3(),_0x2d7c2a),()=>{const _0x58382e=_0x5f7fe0();return null==_0x58382e?(_0x425bf3(),'Valid'):_0xe447ed-_0x58382e>0x240c8400?'UsageLimit':'Valid';})['then'](_0x25539b)['catch'](()=>{_0x25539b('UsageLimit');});const _0x3e6e26=0x36ee80;function _0x425bf3(){const _0x465c7b='llct-'+_0x509c95(_0x2b0100(_0x1a3191)),_0x1b453=_0x44a658(_0x509c95(window['Math']['ceil'](_0xe447ed/_0x3e6e26)));window['localStorage']['setItem'](_0x465c7b,_0x1b453);}function _0x5f7fe0(){const _0x1dca1a='llct-'+_0x509c95(_0x2b0100(_0x1a3191)),_0xaf70af=window['localStorage']['getItem'](_0x1dca1a);return _0xaf70af?window['parseInt'](_0x44a658(_0xaf70af),0x10)*_0x3e6e26:null;}function _0x3d4efa(_0x226fb9){return new window['Promise']((_0x359f49,_0x6e883a)=>{_0x226fb9['then'](_0x359f49,_0x6e883a),window['setTimeout'](_0x6e883a,0x1d4c0);});}}_0x2848a7['on']('_sendUsageRequest',(_0x27d740,_0x164ce1)=>{if(_0x164ce1[0x0]!=_0x1a3191)return _0x25539b('UsageLimit');_0x164ce1[0x1]={..._0x164ce1[0x1],'requestId':_0x36783c};},{'priority':'high'}),_0x2848a7['on']('_sendUsageRequest',_0x1d4f01=>{_0x433e6f(_0x1d4f01['return'])&&(_0x21a643=!0x0,_0x30168e(_0x1d4f01['return']));},{'priority':'low'}),_0x32754b['then'](()=>{_0x21a643||_0x25539b('UsageLimit');});});function _0x5a06b7(){return'auto'==_0x2848a7['editing']['view']['_overlayModeHint'];}function _0x2181d0(){_0x2848a7['editing']['view']['_overlayModeHint']='auto';}}function _0x6df57e(_0x1054c2){const _0x3d3242=[new window['Promise'](_0x467ec7=>setTimeout(_0x467ec7,0x93ecc)),_0x32754b['then'](()=>new window['Promise'](_0x2d0e4b=>{let _0x383ea9=0x0;_0x2848a7['model']['on']('applyOperation',(_0x45f3c0,_0x345c80)=>{_0x345c80[0x0]['isDocumentOperation']&&_0x383ea9++,0x5e8==_0x383ea9&&(_0x2d0e4b(),_0x45f3c0['off']());});}))];return window['Promise']['race'](_0x3d3242)['then'](()=>_0x1054c2);}async function _0x141a7b(){await _0x32754b,_0x2848a7['model']['change']=_0x503923,_0x2848a7['model']['enqueueChange']=_0x503923,_0x2848a7['enableReadOnlyMode']('model');}function _0x29e1dc(_0x3ac946){const _0x88944b=_0x21955e();_0x2848a7[_0x88944b]='aiLicenseKey'+_0x3ac946,'Valid'!=_0x3ac946&&_0x141a7b();}function _0x21955e(){const _0xd8add3=window['String'](window['performance']['now']())['replace']('.','');let _0x82b451='n';for(let _0xaaa7ff=0x0;_0xaaa7ff<_0xd8add3['length'];_0xaaa7ff+=0x2){let _0x12babf=window['parseInt'](_0xd8add3['substring'](_0xaaa7ff,_0xaaa7ff+0x2));_0x12babf>=0x3e&&(_0x12babf-=0x3e),_0x82b451+=_0x1e6a1e[_0x12babf];}return _0x82b451;}function _0x43cd81(){const _0x49d9d2=_0x249754['split']('.');if(0x3!=_0x49d9d2['length'])return null;return _0x1ebf71(_0x49d9d2[0x1]);function _0x1ebf71(_0x521c38){const _0x52268f=_0x50a1a6(_0x521c38);return _0x52268f&&_0x452da0()?_0x52268f:null;function _0x452da0(){const _0x52670d=_0x52268f['jti'],_0x1a347d=window['parseInt'](_0x52670d['substring'](_0x52670d['length']-0x8),0x10),_0x3b9b1e={..._0x52268f,'jti':_0x52670d['substring'](0x0,_0x52670d['length']-0x8)};return delete _0x3b9b1e['vc'],_0x2b0100(_0x3b9b1e)==_0x1a347d;}}}async function _0x185d3a(){let _0xd8152d=!0x0;try{const [_0x1261dc,_0x5b8a18,_0x271be9]=_0x249754['split']('.');return _0x21e16e(_0x1261dc),await _0x534690(_0x1261dc,_0x5b8a18,_0x271be9),_0xd8152d;}catch{return!0x1;}function _0x21e16e(_0xaf32e4){const _0x13f8b7=_0x50a1a6(_0xaf32e4);_0x13f8b7&&'ES256'==_0x13f8b7['alg']||(_0xd8152d=!0x1);}async function _0x534690(_0x1c9e47,_0x532b0b,_0x1a2a9c){const _0x962538=window['Uint8Array']['from'](_0x4a5e31(_0x1a2a9c),_0x351aa9=>_0x351aa9['charCodeAt'](0x0)),_0x334787=new window['TextEncoder']()['encode'](_0x1c9e47+'.'+_0x532b0b),_0x2fb1c1=window['crypto']['subtle'];if(!_0x2fb1c1)return;const _0x52a1e5=await _0x2fb1c1['importKey']('jwk',_0x36a69e,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x2fb1c1['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x52a1e5,_0x962538,_0x334787)||(_0xd8152d=!0x1);}}function _0x50a1a6(_0x23fbcd){return _0x23fbcd['startsWith']('ey')?JSON['parse'](_0x4a5e31(_0x23fbcd)):null;}function _0x4a5e31(_0x2f5e5d){return window['atob'](_0x2f5e5d['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x2b0100(_0x16468e){let _0x3ccf3c=0x1505;function _0x2928c3(_0x2b56f5){for(let _0x45bf8c=0x0;_0x45bf8c<_0x2b56f5['length'];_0x45bf8c++){const _0x34eee4=_0x2b56f5['charCodeAt'](_0x45bf8c);_0x3ccf3c=(_0x3ccf3c<<0x5)+_0x3ccf3c+_0x34eee4,_0x3ccf3c&=_0x3ccf3c;}}function _0x37acc6(_0x2b54db){Array['isArray'](_0x2b54db)?_0x2b54db['forEach'](_0x37acc6):_0x2b54db&&'object'==typeof _0x2b54db?Object['entries'](_0x2b54db)['sort']()['forEach'](([_0x408b80,_0x5e7cbd])=>{_0x2928c3(_0x408b80),_0x37acc6(_0x5e7cbd);}):_0x2928c3(window['String'](_0x2b54db));}return _0x37acc6(_0x16468e),_0x3ccf3c>>>0x0;}function _0x509c95(_0x2e6c1e){return _0x2e6c1e['toString'](0x10)['padStart'](0x8,'0');}function _0x44a658(_0x51d925){return _0x51d925['split']('')['reverse']()['join']('');}function _0x503923(){}_0x29e1dc(await _0x48122e());}(this);}['showFakeVisualSelection'](){const _0x54a5a8=this['editor']['model'];_0x54a5a8['change'](_0x3a9773=>{const _0x560e28=_0x54a5a8['document']['selection']['getRanges']();let _0x256909=0x0;for(const _0x40c33a of _0x560e28){const _0x3a97ec=Jn+':'+_0x256909;if(_0x54a5a8['markers']['has'](_0x3a97ec))_0x3a9773['updateMarker'](_0x3a97ec,{'range':_0x40c33a});else{if(_0x40c33a['start']['isAtEnd']){const _0x48477f=_0x40c33a['start']['getLastMatchingPosition'](({item:_0x31f89d})=>!_0x54a5a8['schema']['isContent'](_0x31f89d),{'boundaries':_0x40c33a});_0x3a9773['addMarker'](_0x3a97ec,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3a9773['createRange'](_0x48477f,_0x40c33a['end'])});}else _0x3a9773['addMarker'](_0x3a97ec,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x40c33a});}_0x256909++;}});}['hideFakeVisualSelection'](){const _0xd13aa9=this['editor']['model'],_0x4b5a2f=Array['from'](this['editor']['model']['markers']['getMarkersGroup'](Jn));_0x4b5a2f['length']&&_0xd13aa9['change'](_0x1645ae=>{_0x4b5a2f['forEach'](_0x13bda8=>{_0x1645ae['removeMarker'](_0x13bda8);});});}['insertContent'](_0x28358a,_0xa85dc7){const _0x478b94=this['_getAISelection'](),_0x26afc9=_0xa85dc7||_0x478b94['getFirstRange']();this['editor']['model']['canEditAt'](_0x26afc9)&&this['editor']['model']['change'](_0x48cdff=>{this['hideFakeVisualSelection'](),_0xa85dc7||this['_resetContentOfSelectedTableCells'](_0x48cdff,_0x478b94),this['_pasteHTMLUsingClipboard']({'insertAt':_0x26afc9,'writer':_0x48cdff,'html':_0x28358a});});}['insertContentBelow'](_0x47c0ba){const {model:_0x8b7aa8}=this['editor'],_0x407b4c=this['_getAISelection']();_0x8b7aa8['change'](()=>{const _0x4b66dc=this['_prepareTableInsertBelowPosition'](_0x47c0ba,_0x407b4c)||this['_getDefaultInsertBelowPosition'](_0x407b4c);this['insertContent'](_0x47c0ba,_0x4b66dc);});}['_getAISelection'](){const _0x5e17c4=this['editor']['model'],_0x370e99=Array['from'](_0x5e17c4['markers']['getMarkersGroup'](Jn))['map'](_0x5e9ec2=>_0x5e9ec2['getRange']());return _0x5e17c4['createSelection'](_0x370e99);}['_pasteHTMLUsingClipboard']({writer:_0x3d9981,html:_0x1b0638,insertAt:_0x405136}){const {view:_0x13cd06}=this['editor']['editing'],_0x1aa4a0=this['editor']['plugins']['get'](_0xa80fd9),_0x35bc9b=new Kn();_0x35bc9b['setData']('text/html',_0x1b0638);const _0x3aa822=new _0x562707(_0x13cd06,new ClipboardEvent('paste',{'clipboardData':_0x35bc9b}),{'dataTransfer':new _0x39c46a(_0x35bc9b)});_0x3d9981['setSelection'](_0x405136);const _0x53541d=(_0x25b676,_0x190396)=>{_0x190396['resultRange']&&_0x3d9981['setSelection'](_0x190396['resultRange']);};_0x1aa4a0['once']('contentInsertion',_0x53541d,{'priority':'lowest'}),_0x13cd06['document']['fire']('paste',_0x3aa822),_0x1aa4a0['off']('contentInsertion',_0x53541d);}['_getDefaultInsertBelowPosition'](_0x4b2aef){const {model:_0x30d243}=this['editor'],_0x11a088=Array['from'](_0x4b2aef['getSelectedBlocks']());return _0x11a088['length']?_0x30d243['createPositionAfter'](_0x11a088['pop']()):_0x4b2aef['getLastPosition']();}['_prepareTableInsertBelowPosition'](_0x1e65b0,_0x152caf){const {model:_0x346d30,plugins:_0x18bd5f}=this['editor'];if(_0x18bd5f['has']('TableUtils')){const _0x5c902e=_0x18bd5f['get']('TableUtils')['getSelectedTableCells'](_0x152caf);if(_0x5c902e['length']){const _0x33b9e8=this['_getTableRowCountFromContent'](_0x1e65b0),_0x4ece65=this['_createEmptyTableRows'](_0x5c902e,_0x33b9e8);return _0x346d30['createPositionAt'](_0x4ece65,0x0);}}return null;}['_getTableRowCountFromContent'](_0x3e90a0){const _0x458ce8=this['editor']['plugins']['get']('TableUtils'),_0x58cc1e=this['editor']['data']['parse'](_0x3e90a0,'$documentFragment'),_0x75e36f=Array['from'](_0x58cc1e['getChildren']())['filter'](_0x508128=>_0x508128['is']('element','table'));let _0x2495d5=0x0;return _0x75e36f['forEach'](_0x449efa=>{_0x2495d5+=_0x458ce8['getRows'](_0x449efa);}),_0x2495d5;}['_createEmptyTableRows'](_0x2cc72c,_0x4295bd){const _0x5826f1=this['editor']['plugins']['get']('TableUtils'),_0x251221=_0x5826f1['getRowIndexes'](_0x2cc72c),_0x4fcf12=_0x5826f1['getColumnIndexes'](_0x2cc72c),_0x152427=_0x251221['last']+0x1,_0x16d71e=_0x4fcf12['first'],_0xaf3f7b=_0x2cc72c[0x0]['findAncestor']('table');for(let _0x43b9e8=0x0;_0x43b9e8<_0x4295bd;_0x43b9e8++)_0x5826f1['insertRows'](_0xaf3f7b,{'at':_0x152427});return _0xaf3f7b['getChild'](_0x152427)['getChild'](_0x16d71e);}['_resetContentOfSelectedTableCells'](_0x38eedc,_0x538199){const {plugins:_0x112007}=this['editor'],{model:_0xf7029a}=_0x38eedc;_0x112007['has']('TableUtils')&&_0x112007['get']('TableUtils')['getSelectedTableCells'](_0x538199)['length']&&_0xf7029a['deleteContent'](_0x538199);}},er=class extends _0x36b920{static get['pluginName'](){return'AIAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){if(!this['textAdapter'])throw new _0x5b5a95('aiadapter-text-adapter-not-set',null);}},ir=class extends Error{constructor(_0x56403b){super(_0x56403b),this['name']='AIRequestError';}};function sr(_0x30e434,_0x481383,_0x1d8f11){const t=_0x30e434['t'];switch(_0x481383){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',_0x1d8f11);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x1d8f11);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'},_0x1d8f11);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 _0x481383;}}var nr=class extends _0x32be70{['_commandDefinitions'];constructor(_0x2a71ed,_0x47774d){super(_0x2a71ed),this['_commandDefinitions']=_0x47774d,this['set']('enabledCommandsIds',[]),this['on']('change:_hasContext',(_0x385d53,_0x30175e,_0x1e743b)=>{this['isEnabled']&&(this['enabledCommandsIds']=rr(this['_commandDefinitions'],_0x1e743b));}),this['set']('_hasContext',!0x1),this['on']('change:isEnabled',(_0x48b218,_0x2aab62,_0x4d1fa6)=>{this['enabledCommandsIds']=_0x4d1fa6?rr(this['_commandDefinitions'],this['_hasContext']):[];});}['refresh'](){const _0x347c24=this['editor']['model'];this['_hasContext']=function(_0x487b4f){const _0x27217b=_0x487b4f['document']['selection'];return _0x27217b['isCollapsed']?0x0!==[..._0x27217b['getSelectedBlocks']()]['length']&&![..._0x27217b['getSelectedBlocks']()][0x0]['isEmpty']:!!_0x487b4f['hasContent'](_0x27217b['getFirstRange']());}(_0x347c24);const _0x468b48=_0x347c24['document']['selection'],_0x186431=this['editor']['config']['get']('ai.assistant.disabledElements');for(const _0x31da2d of _0x468b48['getRanges']())for(const _0x4fe990 of _0x31da2d['getItems']())if(_0x4fe990['is']('element')&&_0x186431['includes'](_0x4fe990['name']))return void(this['isEnabled']=!0x1);this['isEnabled']=!0x0;}['execute'](_0x25348e='',_0x41bfa6='',_0x485bb2='custom'){this['editor']['plugins']['get'](Do)['showUI'](_0x25348e,_0x41bfa6,_0x485bb2);}};function rr(_0x4a6964,_0x56731e){const _0x4114ad=new Set();for(const _0x1364f4 of _0x4a6964['values']())(_0x56731e||!0x1===_0x1364f4['requiresContent'])&&_0x4114ad['add'](_0x1364f4['id']);return Array['from'](_0x4114ad);}const or=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is'),ar=/* #__PURE__  -- @preserve */
_0x5b14e3();var cr=class extends ar{['editor'];['textAdapter'];['view'];['_sanitizationContainer'];['_domParser'];['_xmlSerializer'];constructor(_0x3951f0,_0x55805e,_0x2c484e){super(),this['editor']=_0x3951f0,this['textAdapter']=_0x55805e,this['_sanitizationContainer']=document['createElement']('div'),this['_domParser']=new DOMParser(),this['_xmlSerializer']=new XMLSerializer(),this['view']=_0x2c484e,this['set']({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on']('set:currentContext',(_0x3b82a9,_0x4f29e3,_0x21d081)=>{this['view']['value']=this['_sanitizeHTML'](_0x21d081);}),this['listenTo'](this['view'],'submitPrompt',(_0x5e5598,_0x5342a4)=>{const _0x3f3ca7=this['currentContext']||this['initialContext'];this['_handleQuery'](_0x5342a4,_0x3f3ca7,'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:_0x2f8adc,query:_0x2c4503,htmlContent:_0x51c6ca,label:_0x398f0f,mainActionLabel:_0x57f1ef}){this['view']['prompt']=_0x398f0f,this['view']['mainAction']=_0x57f1ef,this['initialContext']=_0x51c6ca,_0x2c4503&&(this['view']['isRendered']?this['_handleQuery'](_0x2c4503,_0x51c6ca,_0x2f8adc,_0x398f0f):this['view']['once']('render',()=>{this['_handleQuery'](_0x2c4503,_0x51c6ca,_0x2f8adc,_0x398f0f);}));}['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'](_0x37f00b,_0x36c5c1,_0xbfb6bc,_0x1c7d8b){return this['isProcessing']=!0x0,this['view']['startProcessing'](),this['previousContext']=_0x36c5c1,this['previousQuery']=_0x37f00b,this['previousLabel']=_0x1c7d8b||_0x37f00b,this['previousActionId']=_0xbfb6bc,new Promise(_0xb835a4=>{this['textAdapter']['makeRequest']({'query':_0x37f00b,'context':_0x36c5c1,'onData':_0x4e3039=>{this['currentResponse']=_0x4e3039,this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse']);},'actionId':_0xbfb6bc})['then'](()=>{!this['currentContext']&&this['currentResponse']&&(this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse'],!0x0));})['catch'](_0x454f80=>{_0x454f80 instanceof ir?this['view']['handleError'](_0x454f80['message']):this['view']['handleError'](),_0xb835a4();})['finally'](()=>{this['stopProcessing'](),_0xb835a4();});});}['_parseAndNormalizeContent'](_0x43af2f,_0x1ba0f8=!0x1){const _0x36a349=or['exec'](_0x43af2f);_0x43af2f=_0x36a349?_0x43af2f['substring'](_0x36a349[0x1]['length']):_0x43af2f['length']<0x64&&!_0x1ba0f8?'':this['_stripMarkdownSyntax'](_0x43af2f);const _0x2a4a73=this['_domParser']['parseFromString'](_0x43af2f,'text/html');if(_0x36a349){const _0x38b826=Array['from'](_0x2a4a73['body']['childNodes']);_0x38b826['reverse']();for(const _0x26ae07 of _0x38b826){if(_0x26ae07['nodeType']==Node['ELEMENT_NODE'])break;_0x26ae07['remove']();}}const _0x58cd82=this['editor']['data']['processor']['toView'](this['_xmlSerializer']['serializeToString'](_0x2a4a73['body']));this['_isH1TagSupportEnabled']()||this['_normalizeResponseHeadings'](_0x58cd82);const _0x2a0c22=this['editor']['config']['get']('ai.assistant.preserveComments'),_0x545345=this['editor']['data']['toModel'](_0x58cd82);return _0x2a0c22||_0x545345['markers']['clear'](),this['editor']['data']['stringify'](_0x545345);}['_normalizeResponseHeadings'](_0xbcf228){const _0x2c8a2a=new _0x3bc8c0(this['editor']['editing']['view']['document']),_0x3aba10=new _0x2c4716({'name':/^h[1-5]$/}),_0x3897d1=[];let _0x286bc2=!0x1;for(const _0x5e124a of _0xbcf228)_0x5e124a['is']('element')&&_0x3aba10['match'](_0x5e124a)&&(_0x3897d1['push'](_0x5e124a),'h1'==_0x5e124a['name']&&(_0x286bc2=!0x0));if(_0x286bc2){for(const _0x19b5b9 of _0x3897d1)_0x2c8a2a['rename']('h'+(parseInt(_0x19b5b9['name'][0x1])+0x1),_0x19b5b9);}}['_isH1TagSupportEnabled'](){const {data:_0x581336,editing:_0x2555f9}=this['editor'],_0x32ae54=_0x581336['htmlProcessor']['toView']('<h1></h1>'),_0x337a68=_0x581336['toView'](_0x581336['toModel'](_0x32ae54));return!!_0x2555f9['view']['domConverter']['viewToDom'](_0x337a68)['querySelector']('h1');}['_sanitizeHTML'](_0x5242f6){return this['editor']['editing']['view']['domConverter']['setContentOf'](this['_sanitizationContainer'],_0x5242f6),this['_sanitizationContainer']['innerHTML'];}['_stripMarkdownSyntax'](_0x34ba68){const _0x370e51=_0x34ba68['trim']();return _0x370e51['startsWith']('```html')?_0x370e51['endsWith']('```')?_0x370e51['substring'](0x7,_0x370e51['length']-0x3):_0x370e51['substring'](0x7):_0x34ba68;}};const lr={'REPLACE':'replace','INSERT':'insert'};var hr=class extends _0x2c86da{constructor(_0x3bae5c){super(_0x3bae5c),this['set']('isVisible',!0x1),this['set']('mainAction',lr['REPLACE']),this['replaceButton']=this['_createButton']('','ck-button-action'),this['replaceButton']['bind']('label')['to'](this,'mainAction',_0x2fc1eb=>sr(_0x3bae5c,'AI_'+_0x2fc1eb['toUpperCase']()+'_CONTENT')),this['insertButton']=this['_createButton'](sr(_0x3bae5c,'Insert\x20below')),this['tryAgainButton']=this['_createButton'](sr(_0x3bae5c,'Try\x20again')),this['stopButton']=this['_createButton'](sr(_0x3bae5c,'Stop'));const _0x22107b=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-form__toolbar',_0x22107b['if']('isVisible','ck-hidden',_0x2e7558=>!_0x2e7558)]}}),this['items']['addMany']([this['replaceButton'],this['insertButton'],this['tryAgainButton'],this['stopButton']]);}['_createButton'](_0x2e7030,_0x229360){const _0x178836=new _0x47ddb0(this['locale']);return _0x178836['set']({'label':_0x2e7030,'class':_0x229360||'','isVisible':!0x0,'withText':!0x0}),_0x178836;}},ur=class extends _0x2df468{['contentFieldView'];['copyButtonView'];constructor(_0x4aec4c,_0x41764e=''){super(_0x4aec4c),this['set']({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x42f530=this['bindTemplate'];this['contentFieldView']=new dr(_0x4aec4c,_0x41764e),this['copyButtonView']=this['_createCopyButton'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area-wrapper',_0x42f530['if']('isVisible','ck-hidden',_0x45bea3=>!_0x45bea3)],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area',_0x42f530['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 _0x42ac43=!0x1;this['on']('change:value',(_0x4d325a,_0x16f694,_0x4859de)=>{const _0x27f7b1=!this['contentFieldView']['element']['querySelector']('.ck-ai-form__loader');this['contentFieldView']['setContent'](_0x4859de),this['isProcessing']&&_0x27f7b1&&!_0x42ac43&&this['element']['scrollTo']({'top':this['element']['scrollHeight'],'behavior':'smooth'});}),this['on']('change:isProcessing',(_0x258cfc,_0x39db1c,_0x73ff62)=>{_0x42ac43=!0x1,_0x73ff62?(this['value']=null,this['contentFieldView']['appendLoader']()):this['value']||this['contentFieldView']['setContent']('');}),this['listenTo'](this['element'],'wheel',()=>{_0x42ac43=!0x0;}),this['listenTo'](this['element'],'mousedown',()=>{_0x42ac43=!0x0;});}['focus'](){this['element']['focus']();}['_createCopyButton'](){const _0x1f2118=this['locale'],_0x4ea0b1=new _0x47ddb0(this['locale']),_0x5ad01e='ck-ai-form__copy-button';return _0x4ea0b1['set']({'label':sr(_0x1f2118,'Copy'),'icon':_0x2aeb43,'class':_0x5ad01e,'tooltip':!0x0}),_0x4ea0b1['bind']('isVisible')['to'](this,'value',_0x17d200=>!!_0x17d200),_0x4ea0b1['bind']('isEnabled')['to'](this,'isProcessing',_0x4acbcb=>!_0x4acbcb),_0x4ea0b1['on']('execute',()=>{this['_copyHTMLToClipboard'](this['contentFieldView']['element']),_0x4ea0b1['icon']=_0x25572e,_0x4ea0b1['class']=_0x5ad01e+'\x20ck-ai-form__copy-button--copied',this['focus'](),setTimeout(()=>{_0x4ea0b1['icon']=_0x2aeb43,_0x4ea0b1['class']=_0x5ad01e;},0x3e8);}),_0x4ea0b1;}['_copyHTMLToClipboard'](_0x40b1c0){const {window:_0x50371f,document:_0x542484}=_0x22955f;if(_0x50371f['ClipboardItem']){const {Blob:_0x36a3cf,ClipboardItem:_0x1bb230}=_0x50371f,_0x1a539e=[new _0x1bb230({'text/html':new _0x36a3cf([_0x40b1c0['innerHTML']],{'type':'text/html'}),'text/plain':new _0x36a3cf([_0x40b1c0['textContent']||''],{'type':'text/plain'})})];navigator['clipboard']['write'](_0x1a539e);}else{const _0x1d4f1a=_0x542484['createElement']('div');_0x1d4f1a['style']['position']='absolute',_0x1d4f1a['style']['left']='-9999px',_0x1d4f1a['innerHTML']='<span>[</span>'+_0x40b1c0['innerHTML']+'<span>]</span>',_0x542484['body']['appendChild'](_0x1d4f1a);const _0x13a800=_0x542484['createRange']();_0x13a800['setStartAfter'](_0x1d4f1a['firstElementChild']),_0x13a800['setEndBefore'](_0x1d4f1a['lastElementChild']);const _0x19a398=_0x50371f['getSelection']();_0x19a398['removeAllRanges'](),_0x19a398['addRange'](_0x13a800),_0x542484['execCommand']('copy'),_0x1d4f1a['remove']();}}},dr=class extends _0x2df468{constructor(_0x1533f5,_0x39897b=''){super(_0x1533f5),this['loaderView']=this['_createLoader'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content',_0x39897b,'ck-reset_all-excluded','ck-ai-form__content-field']}});}['setContent'](_0x323936){this['element']['innerHTML']=_0x323936;}['appendLoader'](){this['element']['appendChild'](this['loaderView']['element']);}['_createLoader'](){const _0xf646c5=new _0x2df468(),_0x15dac4=this['locale'],_0x3f7c9c=new _0x5812ef();return _0x3f7c9c['isVisible']=!0x0,_0xf646c5['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__loader']},'children':[_0x3f7c9c,{'text':sr(_0x15dac4,'AI\x20is\x20writing...')}]}),_0xf646c5['render'](),_0xf646c5;}},fr=class extends _0x2df468{constructor(_0x592739,_0x407bf3=''){super(_0x592739);const _0x48d7f7=new _0x5902c2(),_0x33eb30=this['bindTemplate'];this['set']('text',_0x407bf3),_0x48d7f7['content']=_0x5a1064,this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__error']},'children':[_0x48d7f7,{'text':_0x33eb30['to']('text')}]});}},mr=class extends _0x5d61ba{['submitButtonView'];['showHistoryButtonView'];constructor(_0x26e059,_0x25fc2a){super(_0x26e059,_0x25fc2a),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',(_0x283390,_0x27a99b)=>{_0x283390['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0x27a99b());});}['_createSubmitButton'](){const _0x3e1cc0=new _0x47ddb0(this['locale']),_0x4b0131=this['locale'];return _0x3e1cc0['set']({'icon':_0x961044,'label':sr(_0x4b0131,'Submit'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-form__submit'}),_0x3e1cc0['on']('execute',()=>{this['submit']();}),_0x3e1cc0['bind']('isEnabled')['to'](this['queryView']['fieldView'],'isEmpty',this,'isEnabled',(_0xc1af75,_0x7e9842)=>!_0xc1af75&&_0x7e9842),_0x3e1cc0;}['_createShowHistoryButton'](){const _0x3ef9e6=new _0x47ddb0(this['locale']),_0x310318=this['resultsView'],_0x40f3ed=this['locale'];_0x3ef9e6['set']({'label':sr(_0x40f3ed,'History'),'withText':!0x1,'icon':_0x531491,'tooltip':!0x0,'tooltipPosition':'sw','class':'ck-ai-form__toggle-history'}),_0x3ef9e6['bind']('isOn')['to'](_0x310318,'isVisible'),_0x3ef9e6['bind']('isEnabled')['to'](this,'isEnabled'),_0x3ef9e6['on']('execute',()=>{_0x310318['isVisible']=!_0x310318['isVisible'],_0x310318['isVisible']?this['filteredView']['focus']():this['focus']();});const _0x33b541=()=>{_0x22955f['window']['requestAnimationFrame'](()=>{if(_0x3c4a11(this['element'])){const _0x22ef7a=new _0x21a646(this['queryView']['fieldView']['element']),_0x29bb04=_0x22ef7a['width'],_0x123a17='rtl'===_0x40f3ed['uiLanguageDirection']?'left':'right';_0x22ef7a['excludeScrollbarsAndBorders'](),_0x3ef9e6['element']['style'][_0x123a17]=_0x29bb04-_0x22ef7a['width']+0x1+'px';}});};return this['queryView']['fieldView']['on']('update',_0x33b541),this['on']('render',_0x33b541),_0x3ef9e6;}['submit'](){const _0x29eff8=this['queryView']['fieldView']['element']['value'];this['fire']('submit',_0x29eff8);}['focus'](_0x492d09){-0x1===_0x492d09?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}},pr=class extends _0x344603{['historyGroupView'];['clearHistoryButton'];constructor(_0xbdef69){super(_0xbdef69),this['clearHistoryButton']=this['_createClearHistoryButton'](),this['historyGroupView']=new _0x486de0(),this['historyGroupView']['children']['add'](this['clearHistoryButton'],0x1),this['historyGroupView']['label']=sr(_0xbdef69,'Prompt\x20history'),this['historyGroupView']['items']['delegate']('execute')['to'](this),this['items']['add'](this['historyGroupView']);}['filter'](){let _0x39efaf=0x0;for(const _0x2a7be0 of this['items'])_0x39efaf+=_0x2a7be0['items']['length'];return{'resultsCount':_0x39efaf,'totalItemsCount':_0x39efaf};}['_createClearHistoryButton'](){const _0x391c58=this['locale'],_0xda85d7=new _0x47ddb0(this['locale']);return _0xda85d7['set']({'label':'('+sr(_0x391c58,'Clear')+')','withText':!0x0}),_0xda85d7['on']('execute',()=>this['fire']('clearHistory')),_0xda85d7;}};function gr(_0x2c7229,_0x33295c,{signal:_0x1f4c3d,edges:_0x374668}={}){let _0x3aec3b,_0x465d58=null;const _0x2c16d9=null!=_0x374668&&_0x374668['includes']('leading'),_0x3c9a74=null==_0x374668||_0x374668['includes']('trailing'),_0x1bd4f3=()=>{null!==_0x465d58&&(_0x2c7229['apply'](_0x3aec3b,_0x465d58),_0x3aec3b=void 0x0,_0x465d58=null);};let _0x43aff4=null;const _0xb7509e=()=>{null!=_0x43aff4&&clearTimeout(_0x43aff4),_0x43aff4=setTimeout(()=>{_0x43aff4=null,_0x3c9a74&&_0x1bd4f3(),_0x3a9fd7();},_0x33295c);},_0x3a9fd7=()=>{null!==_0x43aff4&&(clearTimeout(_0x43aff4),_0x43aff4=null),_0x3aec3b=void 0x0,_0x465d58=null;},_0x58a6c2=function(..._0x19c815){if(_0x1f4c3d?.['aborted'])return;_0x3aec3b=this,_0x465d58=_0x19c815;const _0x1183f5=null==_0x43aff4;_0xb7509e(),_0x2c16d9&&_0x1183f5&&_0x1bd4f3();};return _0x58a6c2['schedule']=_0xb7509e,_0x58a6c2['cancel']=_0x3a9fd7,_0x58a6c2['flush']=()=>{_0x1bd4f3();},_0x1f4c3d?.['addEventListener']('abort',_0x3a9fd7,{'once':!0x0}),_0x58a6c2;}function Or(_0x198bb7,_0xd8c4e1=0x0,_0x2a1464={}){'object'!=typeof _0x2a1464&&(_0x2a1464={});const {leading:_0x3f7950=!0x1,trailing:_0x3ec3cd=!0x0,maxWait:_0x1a9b3d}=_0x2a1464,_0x3e7eee=Array(0x2);let _0x4bef37;_0x3f7950&&(_0x3e7eee[0x0]='leading'),_0x3ec3cd&&(_0x3e7eee[0x1]='trailing');let _0x21f423=null;const _0x24529e=gr(function(..._0x256ddf){_0x4bef37=_0x198bb7['apply'](this,_0x256ddf),_0x21f423=null;},_0xd8c4e1,{'edges':_0x3e7eee}),_0x1f733c=function(..._0xe828c3){return null!=_0x1a9b3d&&(null===_0x21f423&&(_0x21f423=Date['now']()),Date['now']()-_0x21f423>=_0x1a9b3d)?(_0x4bef37=_0x198bb7['apply'](this,_0xe828c3),_0x21f423=Date['now'](),_0x24529e['cancel'](),_0x24529e['schedule'](),_0x4bef37):(_0x24529e['apply'](this,_0xe828c3),_0x4bef37);};return _0x1f733c['cancel']=_0x24529e['cancel'],_0x1f733c['flush']=()=>(_0x24529e['flush'](),_0x4bef37),_0x1f733c;}function wr(_0x55bf2d,_0x2bc83a=0x0,_0x666a5c={}){const {leading:_0x4e1787=!0x0,trailing:_0x5b9e01=!0x0}=_0x666a5c;return Or(_0x55bf2d,_0x2bc83a,{'leading':_0x4e1787,'maxWait':_0x2bc83a,'trailing':_0x5b9e01});}function br(_0x4343c3){if(!_0x4343c3||'object'!=typeof _0x4343c3)return!0x1;const _0xb55b84=Object['getPrototypeOf'](_0x4343c3);return(null===_0xb55b84||_0xb55b84===Object['prototype']||null===Object['getPrototypeOf'](_0xb55b84))&&'[object\x20Object]'===Object['prototype']['toString']['call'](_0x4343c3);}function yr(_0x4eb4d1){return Object['getOwnPropertySymbols'](_0x4eb4d1)['filter'](_0x5475c7=>Object['prototype']['propertyIsEnumerable']['call'](_0x4eb4d1,_0x5475c7));}function vr(_0x1710a5){return null==_0x1710a5?void 0x0===_0x1710a5?'[object\x20Undefined]':'[object\x20Null]':Object['prototype']['toString']['call'](_0x1710a5);}const _r='[object\x20RegExp]',Er='[object\x20String]',Tr='[object\x20Number]',Ar='[object\x20Boolean]',Sr='[object\x20Arguments]',Ir='[object\x20Symbol]',kr='[object\x20Date]',xr='[object\x20Map]',Cr='[object\x20Set]',Rr='[object\x20Array]',Pr='[object\x20ArrayBuffer]',Mr='[object\x20Object]',Nr='[object\x20DataView]',Lr='[object\x20Uint8Array]',$r='[object\x20Uint8ClampedArray]',Dr='[object\x20Uint16Array]',Qr='[object\x20Uint32Array]',jr='[object\x20Int8Array]',Ur='[object\x20Int16Array]',Vr='[object\x20Int32Array]',Br='[object\x20Float32Array]',Fr='[object\x20Float64Array]';function Hr(_0x27df54,_0x1a065b){return _0x27df54===_0x1a065b||Number['isNaN'](_0x27df54)&&Number['isNaN'](_0x1a065b);}function Zr(_0x1a81b4,_0x256662,_0x1e965d,_0x1e78c7,_0x788f21,_0x5eb2bf,_0x1cd72b){const _0xbda7a5=_0x1cd72b(_0x1a81b4,_0x256662,_0x1e965d,_0x1e78c7,_0x788f21,_0x5eb2bf);if(void 0x0!==_0xbda7a5)return _0xbda7a5;if(typeof _0x1a81b4==typeof _0x256662)switch(typeof _0x1a81b4){case'bigint':case'string':case'boolean':case'symbol':case'undefined':case'function':return _0x1a81b4===_0x256662;case'number':return _0x1a81b4===_0x256662||Object['is'](_0x1a81b4,_0x256662);case'object':return Gr(_0x1a81b4,_0x256662,_0x5eb2bf,_0x1cd72b);}return Gr(_0x1a81b4,_0x256662,_0x5eb2bf,_0x1cd72b);}function Gr(_0xb20a6a,_0xb6e509,_0x541fd0,_0x82e3ce){if(Object['is'](_0xb20a6a,_0xb6e509))return!0x0;let _0x11cdf6=vr(_0xb20a6a),_0x1e0224=vr(_0xb6e509);if('[object\x20Arguments]'===_0x11cdf6&&(_0x11cdf6=Mr),'[object\x20Arguments]'===_0x1e0224&&(_0x1e0224=Mr),_0x11cdf6!==_0x1e0224)return!0x1;switch(_0x11cdf6){case Er:return _0xb20a6a['toString']()===_0xb6e509['toString']();case Tr:return Hr(_0xb20a6a['valueOf'](),_0xb6e509['valueOf']());case Ar:case kr:case Ir:return Object['is'](_0xb20a6a['valueOf'](),_0xb6e509['valueOf']());case _r:return _0xb20a6a['source']===_0xb6e509['source']&&_0xb20a6a['flags']===_0xb6e509['flags'];case'[object\x20Function]':return _0xb20a6a===_0xb6e509;}const _0x4e5b16=(_0x541fd0=_0x541fd0??new Map())['get'](_0xb20a6a),_0x8886d9=_0x541fd0['get'](_0xb6e509);if(null!=_0x4e5b16&&null!=_0x8886d9)return _0x4e5b16===_0xb6e509;_0x541fd0['set'](_0xb20a6a,_0xb6e509),_0x541fd0['set'](_0xb6e509,_0xb20a6a);try{switch(_0x11cdf6){case xr:if(_0xb20a6a['size']!==_0xb6e509['size'])return!0x1;for(const [_0x2cb202,_0xd6ab7d]of _0xb20a6a['entries']())if(!_0xb6e509['has'](_0x2cb202)||!Zr(_0xd6ab7d,_0xb6e509['get'](_0x2cb202),_0x2cb202,_0xb20a6a,_0xb6e509,_0x541fd0,_0x82e3ce))return!0x1;return!0x0;case Cr:{if(_0xb20a6a['size']!==_0xb6e509['size'])return!0x1;const _0x3eb553=Array['from'](_0xb20a6a['values']()),_0x3a6712=Array['from'](_0xb6e509['values']());for(let _0x25be61=0x0;_0x25be61<_0x3eb553['length'];_0x25be61++){const _0x5b833d=_0x3eb553[_0x25be61],_0x9e259e=_0x3a6712['findIndex'](_0x580a8a=>Zr(_0x5b833d,_0x580a8a,void 0x0,_0xb20a6a,_0xb6e509,_0x541fd0,_0x82e3ce));if(-0x1===_0x9e259e)return!0x1;_0x3a6712['splice'](_0x9e259e,0x1);}return!0x0;}case Rr:case Lr:case $r:case Dr:case Qr:case'[object\x20BigUint64Array]':case jr:case Ur:case Vr:case'[object\x20BigInt64Array]':case Br:case Fr:if('undefined'!=typeof Buffer&&Buffer['isBuffer'](_0xb20a6a)!==Buffer['isBuffer'](_0xb6e509))return!0x1;if(_0xb20a6a['length']!==_0xb6e509['length'])return!0x1;for(let _0x2cee23=0x0;_0x2cee23<_0xb20a6a['length'];_0x2cee23++)if(!Zr(_0xb20a6a[_0x2cee23],_0xb6e509[_0x2cee23],_0x2cee23,_0xb20a6a,_0xb6e509,_0x541fd0,_0x82e3ce))return!0x1;return!0x0;case Pr:return _0xb20a6a['byteLength']===_0xb6e509['byteLength']&&Gr(new Uint8Array(_0xb20a6a),new Uint8Array(_0xb6e509),_0x541fd0,_0x82e3ce);case Nr:return _0xb20a6a['byteLength']===_0xb6e509['byteLength']&&_0xb20a6a['byteOffset']===_0xb6e509['byteOffset']&&Gr(new Uint8Array(_0xb20a6a),new Uint8Array(_0xb6e509),_0x541fd0,_0x82e3ce);case'[object\x20Error]':return _0xb20a6a['name']===_0xb6e509['name']&&_0xb20a6a['message']===_0xb6e509['message'];case Mr:{if(!(Gr(_0xb20a6a['constructor'],_0xb6e509['constructor'],_0x541fd0,_0x82e3ce)||br(_0xb20a6a)&&br(_0xb6e509)))return!0x1;const _0x5c3040=[...Object['keys'](_0xb20a6a),...yr(_0xb20a6a)],_0x50ceda=[...Object['keys'](_0xb6e509),...yr(_0xb6e509)];if(_0x5c3040['length']!==_0x50ceda['length'])return!0x1;for(let _0x5f4b15=0x0;_0x5f4b15<_0x5c3040['length'];_0x5f4b15++){const _0x4802a2=_0x5c3040[_0x5f4b15],_0x1d743a=_0xb20a6a[_0x4802a2];if(!Object['hasOwn'](_0xb6e509,_0x4802a2))return!0x1;if(!Zr(_0x1d743a,_0xb6e509[_0x4802a2],_0x4802a2,_0xb20a6a,_0xb6e509,_0x541fd0,_0x82e3ce))return!0x1;}return!0x0;}default:return!0x1;}}finally{_0x541fd0['delete'](_0xb20a6a),_0x541fd0['delete'](_0xb6e509);}}function Xr(){}function qr(_0x49153d,_0x3b6063){return function(_0x2d15a7,_0xf83589,_0x24dfeb){return Zr(_0x2d15a7,_0xf83589,void 0x0,void 0x0,void 0x0,void 0x0,_0x24dfeb);}(_0x49153d,_0x3b6063,Xr);}function Wr(_0x3fcb66){return ArrayBuffer['isView'](_0x3fcb66)&&!(_0x3fcb66 instanceof DataView);}function zr(_0x27a652,_0x445702,_0x40ea9d,_0x15d099=new Map(),_0x4be1b7=void 0x0){const _0x2735bd=_0x4be1b7?.(_0x27a652,_0x445702,_0x40ea9d,_0x15d099);if(void 0x0!==_0x2735bd)return _0x2735bd;if(function(_0x482c6a){return null==_0x482c6a||'object'!=typeof _0x482c6a&&'function'!=typeof _0x482c6a;}(_0x27a652))return _0x27a652;if(_0x15d099['has'](_0x27a652))return _0x15d099['get'](_0x27a652);if(Array['isArray'](_0x27a652)){const _0x592ea4=new Array(_0x27a652['length']);_0x15d099['set'](_0x27a652,_0x592ea4);for(let _0xedc6d7=0x0;_0xedc6d7<_0x27a652['length'];_0xedc6d7++)_0x592ea4[_0xedc6d7]=zr(_0x27a652[_0xedc6d7],_0xedc6d7,_0x40ea9d,_0x15d099,_0x4be1b7);return Object['hasOwn'](_0x27a652,'index')&&(_0x592ea4['index']=_0x27a652['index']),Object['hasOwn'](_0x27a652,'input')&&(_0x592ea4['input']=_0x27a652['input']),_0x592ea4;}if(_0x27a652 instanceof Date)return new Date(_0x27a652['getTime']());if(_0x27a652 instanceof RegExp){const _0x367d7a=new RegExp(_0x27a652['source'],_0x27a652['flags']);return _0x367d7a['lastIndex']=_0x27a652['lastIndex'],_0x367d7a;}if(_0x27a652 instanceof Map){const _0x14695d=new Map();_0x15d099['set'](_0x27a652,_0x14695d);for(const [_0x475f43,_0x38fa0b]of _0x27a652)_0x14695d['set'](_0x475f43,zr(_0x38fa0b,_0x475f43,_0x40ea9d,_0x15d099,_0x4be1b7));return _0x14695d;}if(_0x27a652 instanceof Set){const _0x58f00a=new Set();_0x15d099['set'](_0x27a652,_0x58f00a);for(const _0x32d108 of _0x27a652)_0x58f00a['add'](zr(_0x32d108,void 0x0,_0x40ea9d,_0x15d099,_0x4be1b7));return _0x58f00a;}if('undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x27a652))return _0x27a652['subarray']();if(Wr(_0x27a652)){const _0x152241=new(Object['getPrototypeOf'](_0x27a652))['constructor'](_0x27a652['length']);_0x15d099['set'](_0x27a652,_0x152241);for(let _0x648a05=0x0;_0x648a05<_0x27a652['length'];_0x648a05++)_0x152241[_0x648a05]=zr(_0x27a652[_0x648a05],_0x648a05,_0x40ea9d,_0x15d099,_0x4be1b7);return _0x152241;}if(_0x27a652 instanceof ArrayBuffer||'undefined'!=typeof SharedArrayBuffer&&_0x27a652 instanceof SharedArrayBuffer)return _0x27a652['slice'](0x0);if(_0x27a652 instanceof DataView){const _0x544709=new DataView(_0x27a652['buffer']['slice'](0x0),_0x27a652['byteOffset'],_0x27a652['byteLength']);return _0x15d099['set'](_0x27a652,_0x544709),Yr(_0x544709,_0x27a652,_0x40ea9d,_0x15d099,_0x4be1b7),_0x544709;}if('undefined'!=typeof File&&_0x27a652 instanceof File){const _0x29acec=new File([_0x27a652],_0x27a652['name'],{'type':_0x27a652['type']});return _0x15d099['set'](_0x27a652,_0x29acec),Yr(_0x29acec,_0x27a652,_0x40ea9d,_0x15d099,_0x4be1b7),_0x29acec;}if('undefined'!=typeof Blob&&_0x27a652 instanceof Blob){const _0x2652d7=new Blob([_0x27a652],{'type':_0x27a652['type']});return _0x15d099['set'](_0x27a652,_0x2652d7),Yr(_0x2652d7,_0x27a652,_0x40ea9d,_0x15d099,_0x4be1b7),_0x2652d7;}if(_0x27a652 instanceof Error){const _0x3320a3=structuredClone(_0x27a652);return _0x15d099['set'](_0x27a652,_0x3320a3),_0x3320a3['message']=_0x27a652['message'],_0x3320a3['name']=_0x27a652['name'],_0x3320a3['stack']=_0x27a652['stack'],_0x3320a3['cause']=_0x27a652['cause'],_0x3320a3['constructor']=_0x27a652['constructor'],Yr(_0x3320a3,_0x27a652,_0x40ea9d,_0x15d099,_0x4be1b7),_0x3320a3;}if(_0x27a652 instanceof Boolean){const _0x608d3e=new Boolean(_0x27a652['valueOf']());return _0x15d099['set'](_0x27a652,_0x608d3e),Yr(_0x608d3e,_0x27a652,_0x40ea9d,_0x15d099,_0x4be1b7),_0x608d3e;}if(_0x27a652 instanceof Number){const _0x248eac=new Number(_0x27a652['valueOf']());return _0x15d099['set'](_0x27a652,_0x248eac),Yr(_0x248eac,_0x27a652,_0x40ea9d,_0x15d099,_0x4be1b7),_0x248eac;}if(_0x27a652 instanceof String){const _0x2a8eff=new String(_0x27a652['valueOf']());return _0x15d099['set'](_0x27a652,_0x2a8eff),Yr(_0x2a8eff,_0x27a652,_0x40ea9d,_0x15d099,_0x4be1b7),_0x2a8eff;}if('object'==typeof _0x27a652&&function(_0x52dce9){switch(vr(_0x52dce9)){case Sr:case Rr:case Pr:case Nr:case Ar:case kr:case Br:case Fr:case jr:case Ur:case Vr:case xr:case Tr:case Mr:case _r:case Cr:case Er:case Ir:case Lr:case $r:case Dr:case Qr:return!0x0;default:return!0x1;}}(_0x27a652)){const _0x6ed1e0=Object['create'](Object['getPrototypeOf'](_0x27a652));return _0x15d099['set'](_0x27a652,_0x6ed1e0),Yr(_0x6ed1e0,_0x27a652,_0x40ea9d,_0x15d099,_0x4be1b7),_0x6ed1e0;}return _0x27a652;}function Yr(_0x53d500,_0x59cfe4,_0x4cf930=_0x53d500,_0x48bd22,_0x4cf032){const _0x2d014f=[...Object['keys'](_0x59cfe4),...yr(_0x59cfe4)];for(let _0x1e63d7=0x0;_0x1e63d7<_0x2d014f['length'];_0x1e63d7++){const _0x15ba12=_0x2d014f[_0x1e63d7],_0x1988e1=Object['getOwnPropertyDescriptor'](_0x53d500,_0x15ba12);(null==_0x1988e1||_0x1988e1['writable'])&&(_0x53d500[_0x15ba12]=zr(_0x59cfe4[_0x15ba12],_0x15ba12,_0x4cf930,_0x48bd22,_0x4cf032));}}function Kr(_0x4fa46f,_0x1c9471){return function(_0x401e8b,_0x1c5e77){return zr(_0x401e8b,void 0x0,_0x401e8b,new Map(),_0x1c5e77);}(_0x4fa46f,(_0xe249c8,_0x4129d8,_0x46c3c7,_0x2f614b)=>{const _0x27c212=_0x1c9471?.(_0xe249c8,_0x4129d8,_0x46c3c7,_0x2f614b);if(void 0x0!==_0x27c212)return _0x27c212;if('object'==typeof _0x4fa46f){if('[object\x20Object]'===vr(_0x4fa46f)&&'function'!=typeof _0x4fa46f['constructor']){const _0x316e2b={};return _0x2f614b['set'](_0x4fa46f,_0x316e2b),Yr(_0x316e2b,_0x4fa46f,_0x46c3c7,_0x2f614b),_0x316e2b;}switch(Object['prototype']['toString']['call'](_0x4fa46f)){case Tr:case Er:case Ar:{const _0x24f494=new _0x4fa46f['constructor'](_0x4fa46f?.['valueOf']());return Yr(_0x24f494,_0x4fa46f),_0x24f494;}case Sr:{const _0x294557={};return Yr(_0x294557,_0x4fa46f),_0x294557['length']=_0x4fa46f['length'],_0x294557[Symbol['iterator']]=_0x4fa46f[Symbol['iterator']],_0x294557;}default:return;}}});}function Jr(_0x5d3ae3){return Kr(_0x5d3ae3);}function to(_0x157c71){return null!=_0x157c71&&'function'!=typeof _0x157c71&&function(_0x523a69){return Number['isSafeInteger'](_0x523a69)&&_0x523a69>=0x0;}(_0x157c71['length']);}function eo(_0x52f130){return'symbol'==typeof _0x52f130||_0x52f130 instanceof Symbol;}function io(_0x5bbdc4){return _0x5bbdc4?(_0x5bbdc4=function(_0x276a37){return eo(_0x276a37)?NaN:Number(_0x276a37);}(_0x5bbdc4))===0x1/0x0||_0x5bbdc4===-0x1/0x0?(_0x5bbdc4<0x0?-0x1:0x1)*Number['MAX_VALUE']:_0x5bbdc4==_0x5bbdc4?_0x5bbdc4:0x0:0x0===_0x5bbdc4?_0x5bbdc4:0x0;}function so(_0x2805d8,_0x19dc7e){if(_0x2805d8=function(_0x17ee25){const _0x35ee31=io(_0x17ee25),_0x3f026f=_0x35ee31%0x1;return _0x3f026f?_0x35ee31-_0x3f026f:_0x35ee31;}(_0x2805d8),_0x2805d8<0x1||!Number['isSafeInteger'](_0x2805d8))return[];const _0x2b1497=new Array(_0x2805d8);for(let _0x57ef0d=0x0;_0x57ef0d<_0x2805d8;_0x57ef0d++)_0x2b1497[_0x57ef0d]='function'==typeof _0x19dc7e?_0x19dc7e(_0x57ef0d):_0x57ef0d;return _0x2b1497;}function no(_0x4bad8e){if(null==_0x4bad8e)return[];switch(typeof _0x4bad8e){case'object':case'function':return to(_0x4bad8e)?function(_0x3182f8){const _0x300448=so(_0x3182f8['length'],_0x2815d6=>''+_0x2815d6),_0x694896=new Set(_0x300448);(function(_0x21c621){return'undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x21c621);}(_0x3182f8)&&(_0x694896['add']('offset'),_0x694896['add']('parent')),function(_0x3bedcf){return Wr(_0x3bedcf);}(_0x3182f8)&&(_0x694896['add']('buffer'),_0x694896['add']('byteLength'),_0x694896['add']('byteOffset')));const _0xa8914=ro(_0x3182f8)['filter'](_0xed412c=>!_0x694896['has'](_0xed412c));return Array['isArray'](_0x3182f8)?[..._0x300448,..._0xa8914]:[..._0x300448['filter'](_0x248142=>Object['hasOwn'](_0x3182f8,_0x248142)),..._0xa8914];}(_0x4bad8e):function(_0x23064c){const _0x11bf26=_0x23064c?.['constructor'];return _0x23064c===('function'==typeof _0x11bf26?_0x11bf26['prototype']:Object['prototype']);}(_0x4bad8e)?function(_0x46625e){return ro(_0x46625e)['filter'](_0x1e41b3=>'constructor'!==_0x1e41b3);}(_0x4bad8e):ro(_0x4bad8e);default:return ro(Object(_0x4bad8e));}}function ro(_0x42682f){const _0x439db5=[];for(const _0x1c5546 in _0x42682f)_0x439db5['push'](_0x1c5546);return _0x439db5;}function oo(_0x5296a4){return'__proto__'===_0x5296a4;}function ao(_0x487711){switch(typeof _0x487711){case'number':case'symbol':return!0x1;case'string':return _0x487711['includes']('.')||_0x487711['includes']('[')||_0x487711['includes'](']');}}function co(_0x2e046b){return'string'==typeof _0x2e046b||'symbol'==typeof _0x2e046b?_0x2e046b:Object['is'](_0x2e046b?.['valueOf']?.(),-0x0)?'-0':String(_0x2e046b);}function lo(_0x4b7c06){if(null==_0x4b7c06)return'';if('string'==typeof _0x4b7c06)return _0x4b7c06;if(Array['isArray'](_0x4b7c06))return _0x4b7c06['map'](lo)['join'](',');const _0x190b05=String(_0x4b7c06);return'0'===_0x190b05&&Object['is'](Number(_0x4b7c06),-0x0)?'-0':_0x190b05;}function ho(_0x3a894f){if(Array['isArray'](_0x3a894f))return _0x3a894f['map'](co);if('symbol'==typeof _0x3a894f)return[_0x3a894f];const _0x3e6809=[],_0x128efb=(_0x3a894f=lo(_0x3a894f))['length'];if(0x0===_0x128efb)return _0x3e6809;let _0xe0de08=0x0,_0x26426b='',_0x5a46ba='',_0x4573a3=!0x1;for(0x2e===_0x3a894f['charCodeAt'](0x0)&&(_0x3e6809['push'](''),_0xe0de08++);_0xe0de08<_0x128efb;){const _0x38c2ef=_0x3a894f[_0xe0de08];_0x5a46ba?'\x5c'===_0x38c2ef&&_0xe0de08+0x1<_0x128efb?(_0xe0de08++,_0x26426b+=_0x3a894f[_0xe0de08]):_0x38c2ef===_0x5a46ba?_0x5a46ba='':_0x26426b+=_0x38c2ef:_0x4573a3?'\x22'===_0x38c2ef||'\x27'===_0x38c2ef?_0x5a46ba=_0x38c2ef:']'===_0x38c2ef?(_0x4573a3=!0x1,_0x3e6809['push'](_0x26426b),_0x26426b=''):_0x26426b+=_0x38c2ef:'['===_0x38c2ef?(_0x4573a3=!0x0,_0x26426b&&(_0x3e6809['push'](_0x26426b),_0x26426b='')):'.'===_0x38c2ef?_0x26426b&&(_0x3e6809['push'](_0x26426b),_0x26426b=''):_0x26426b+=_0x38c2ef,_0xe0de08++;}return _0x26426b&&_0x3e6809['push'](_0x26426b),_0x3e6809;}function uo(_0x2a3432,_0x6a3a5a,_0xd1e3fa){if(null==_0x2a3432)return _0xd1e3fa;switch(typeof _0x6a3a5a){case'string':{if(oo(_0x6a3a5a))return _0xd1e3fa;const _0x3159af=_0x2a3432[_0x6a3a5a];return void 0x0===_0x3159af?ao(_0x6a3a5a)?uo(_0x2a3432,ho(_0x6a3a5a),_0xd1e3fa):_0xd1e3fa:_0x3159af;}case'number':case'symbol':{'number'==typeof _0x6a3a5a&&(_0x6a3a5a=co(_0x6a3a5a));const _0x4aa10=_0x2a3432[_0x6a3a5a];return void 0x0===_0x4aa10?_0xd1e3fa:_0x4aa10;}default:{if(Array['isArray'](_0x6a3a5a))return function(_0x772fac,_0xccc701,_0x3d044a){if(0x0===_0xccc701['length'])return _0x3d044a;let _0x214e2b=_0x772fac;for(let _0x4a7988=0x0;_0x4a7988<_0xccc701['length'];_0x4a7988++){if(null==_0x214e2b)return _0x3d044a;if(oo(_0xccc701[_0x4a7988]))return _0x3d044a;_0x214e2b=_0x214e2b[_0xccc701[_0x4a7988]];}return void 0x0===_0x214e2b?_0x3d044a:_0x214e2b;}(_0x2a3432,_0x6a3a5a,_0xd1e3fa);if(oo(_0x6a3a5a=Object['is'](_0x6a3a5a?.['valueOf'](),-0x0)?'-0':String(_0x6a3a5a)))return _0xd1e3fa;const _0x3cb6b1=_0x2a3432[_0x6a3a5a];return void 0x0===_0x3cb6b1?_0xd1e3fa:_0x3cb6b1;}}}function fo(_0x30a7ce,_0x3b75d2){if(null==_0x30a7ce)return!0x0;switch(typeof _0x3b75d2){case'symbol':case'number':case'object':if(Array['isArray'](_0x3b75d2))return mo(_0x30a7ce,_0x3b75d2);if('number'==typeof _0x3b75d2?_0x3b75d2=co(_0x3b75d2):'object'==typeof _0x3b75d2&&(_0x3b75d2=Object['is'](_0x3b75d2?.['valueOf'](),-0x0)?'-0':String(_0x3b75d2)),oo(_0x3b75d2))return!0x1;if(void 0x0===_0x30a7ce?.[_0x3b75d2])return!0x0;try{return delete _0x30a7ce[_0x3b75d2],!0x0;}catch{return!0x1;}case'string':if(void 0x0===_0x30a7ce?.[_0x3b75d2]&&ao(_0x3b75d2))return mo(_0x30a7ce,ho(_0x3b75d2));if(oo(_0x3b75d2))return!0x1;try{return delete _0x30a7ce[_0x3b75d2],!0x0;}catch{return!0x1;}}}function mo(_0x2a09bf,_0x54e9e6){const _0x1a4384=0x1===_0x54e9e6['length']?_0x2a09bf:uo(_0x2a09bf,_0x54e9e6['slice'](0x0,-0x1)),_0x1e4de0=_0x54e9e6[_0x54e9e6['length']-0x1];if(void 0x0===_0x1a4384?.[_0x1e4de0])return!0x0;if(oo(_0x1e4de0))return!0x1;try{return delete _0x1a4384[_0x1e4de0],!0x0;}catch{return!0x1;}}function po(_0x1850a7){const _0x59d0a2=[];for(;_0x1850a7;)_0x59d0a2['push'](...yr(_0x1850a7)),_0x1850a7=Object['getPrototypeOf'](_0x1850a7);return _0x59d0a2;}function go(_0x1d8e71){if('object'!=typeof _0x1d8e71)return!0x1;if(null==_0x1d8e71)return!0x1;if(null===Object['getPrototypeOf'](_0x1d8e71))return!0x0;if('[object\x20Object]'!==Object['prototype']['toString']['call'](_0x1d8e71)){const _0x59d175=_0x1d8e71[Symbol['toStringTag']];return null!=_0x59d175&&(!!Object['getOwnPropertyDescriptor'](_0x1d8e71,Symbol['toStringTag'])?.['writable']&&_0x1d8e71['toString']()==='[object\x20'+_0x59d175+']');}let _0x1a5df5=_0x1d8e71;for(;null!==Object['getPrototypeOf'](_0x1a5df5);)_0x1a5df5=Object['getPrototypeOf'](_0x1a5df5);return Object['getPrototypeOf'](_0x1d8e71)===_0x1a5df5;}function Oo(_0x56fa62,..._0x479604){if(null==_0x56fa62)return{};_0x479604=function(_0x4d204d,_0x4e46de=0x1){const _0xa02dd7=[],_0x503097=Math['floor'](_0x4e46de);if(!to(_0x4d204d))return _0xa02dd7;const _0x4fef41=(_0x5d62de,_0x3fdc64)=>{for(let _0x139d5d=0x0;_0x139d5d<_0x5d62de['length'];_0x139d5d++){const _0xeb79bf=_0x5d62de[_0x139d5d];_0x3fdc64<_0x503097&&(Array['isArray'](_0xeb79bf)||Boolean(_0xeb79bf?.[Symbol['isConcatSpreadable']])||null!==_0xeb79bf&&'object'==typeof _0xeb79bf&&'[object\x20Arguments]'===Object['prototype']['toString']['call'](_0xeb79bf))?Array['isArray'](_0xeb79bf)?_0x4fef41(_0xeb79bf,_0x3fdc64+0x1):_0x4fef41(Array['from'](_0xeb79bf),_0x3fdc64+0x1):_0xa02dd7['push'](_0xeb79bf);}};return _0x4fef41(Array['from'](_0x4d204d),0x0),_0xa02dd7;}(_0x479604);const _0x346618=function(_0x4538fb,_0x3b595c){return _0x3b595c['some'](_0x183bd7=>Array['isArray'](_0x183bd7)||ao(_0x183bd7))?function(_0x2b1693){const _0x4c6038={},_0x5ba602=[...no(_0x2b1693),...po(_0x2b1693)];for(let _0xaf58b1=0x0;_0xaf58b1<_0x5ba602['length'];_0xaf58b1++){const _0x3f68f8=_0x5ba602[_0xaf58b1];_0x4c6038[_0x3f68f8]=Kr(_0x2b1693[_0x3f68f8],_0x24417a=>{if(!go(_0x24417a))return _0x24417a;});}return _0x4c6038;}(_0x4538fb):function(_0x4e880d){const _0x4a64b1={},_0x2a7630=[...no(_0x4e880d),...po(_0x4e880d)];for(let _0x423534=0x0;_0x423534<_0x2a7630['length'];_0x423534++){const _0x245a60=_0x2a7630[_0x423534];_0x4a64b1[_0x245a60]=_0x4e880d[_0x245a60];}return _0x4a64b1;}(_0x4538fb);}(_0x56fa62,_0x479604);for(let _0x474aa9=0x0;_0x474aa9<_0x479604['length'];_0x474aa9++){let _0x5b3295=_0x479604[_0x474aa9];switch(typeof _0x5b3295){case'object':Array['isArray'](_0x5b3295)||(_0x5b3295=Array['from'](_0x5b3295));for(let _0x49e195=0x0;_0x49e195<_0x5b3295['length'];_0x49e195++){fo(_0x346618,_0x5b3295[_0x49e195]);}break;case'string':case'symbol':case'number':fo(_0x346618,_0x5b3295);}}return _0x346618;}const wo=(_0x5665b2,_0x1e2266,_0x5cd3ac)=>{const _0x19510f=_0x5665b2[_0x1e2266];Object['hasOwn'](_0x5665b2,_0x1e2266)&&Hr(_0x19510f,_0x5cd3ac)&&(void 0x0!==_0x5cd3ac||_0x1e2266 in _0x5665b2)||(_0x5665b2[_0x1e2266]=_0x5cd3ac);},bo=/^(?:0|[1-9]\d*)$/;function yo(_0x116804,_0x594cf5=Number['MAX_SAFE_INTEGER']){switch(typeof _0x116804){case'number':return Number['isInteger'](_0x116804)&&_0x116804>=0x0&&_0x116804<_0x594cf5;case'symbol':return!0x1;case'string':return bo['test'](_0x116804);}}const vo=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,_o=/^\w*$/;function Eo(_0x32f03e){return null!==_0x32f03e&&('object'==typeof _0x32f03e||'function'==typeof _0x32f03e);}function To(_0x4adb0d,_0x3e56dc,_0x2dd0b3,_0x31f120){if(null==_0x4adb0d&&!Eo(_0x4adb0d))return _0x4adb0d;let _0x4deb8a;_0x4deb8a=function(_0x53ffe1,_0x1f5759){return!Array['isArray'](_0x53ffe1)&&(!('number'!=typeof _0x53ffe1&&'boolean'!=typeof _0x53ffe1&&null!=_0x53ffe1&&!eo(_0x53ffe1))||'string'==typeof _0x53ffe1&&(_o['test'](_0x53ffe1)||!vo['test'](_0x53ffe1))||null!=_0x1f5759&&Object['hasOwn'](_0x1f5759,_0x53ffe1));}(_0x3e56dc,_0x4adb0d)?[_0x3e56dc]:Array['isArray'](_0x3e56dc)?_0x3e56dc:ho(_0x3e56dc);const _0x407688=_0x2dd0b3(uo(_0x4adb0d,_0x4deb8a));let _0x5032f3=_0x4adb0d;for(let _0x229366=0x0;_0x229366<_0x4deb8a['length']&&null!=_0x5032f3;_0x229366++){const _0x1144c9=co(_0x4deb8a[_0x229366]);if(oo(_0x1144c9))continue;let _0x3d16c4;if(_0x229366===_0x4deb8a['length']-0x1)_0x3d16c4=_0x407688;else{const _0x4e108b=_0x5032f3[_0x1144c9],_0x3f1a77=_0x31f120?.(_0x4e108b,_0x1144c9,_0x4adb0d);_0x3d16c4=void 0x0!==_0x3f1a77?_0x3f1a77:Eo(_0x4e108b)?_0x4e108b:yo(_0x4deb8a[_0x229366+0x1])?[]:{};}wo(_0x5032f3,_0x1144c9,_0x3d16c4),_0x5032f3=_0x5032f3[_0x1144c9];}return _0x4adb0d;}function Ao(_0x22f221,_0x557ed4,_0x1160d2){return To(_0x22f221,_0x557ed4,()=>_0x1160d2,()=>{});}const So={'&':'&amp;','<':'&lt;','>':'&gt;','\x22':'&quot;','\x27':'&#39;'};function Io(_0x436ed8){return lo(_0x436ed8)['replace'](/[&<>"']/g,_0x3a8e1f=>So[_0x3a8e1f]);}function ko(_0x26262a){return function(_0x2fa51e){return _0x2fa51e['replace'](/[\\^$.*+?()[\]{}|]/g,'\x5c$&');}(lo(_0x26262a));}const xo={'&amp;':'&','&lt;':'<','&gt;':'>','&quot;':'\x22','&#39;':'\x27'};function Co(_0xa619f7){return function(_0x1a9d24){return _0x1a9d24['replace'](/&(?:amp|lt|gt|quot|#(0+)?39);/g,_0x4c8ba2=>xo[_0x4c8ba2]||'\x27');}(lo(_0xa619f7));}var Ro=class extends _0x1853ec{constructor(_0x43dceb){super();const _0x42558e=new _0x48935f(),_0x5a3564=new _0x47ddb0(this['locale'],_0x42558e);this['children']['add'](_0x5a3564),_0x5a3564['set']({'label':_0x43dceb['prompt'],'withText':!0x0}),_0x5a3564['on']('execute',()=>{this['fire']('execute',{'value':Co(_0x43dceb['prompt'])});});}};const Po='CKEditor/AIFormView/PromptHistory';var Mo=class extends _0x23ea50{constructor(){super(),this['_loadFromSessionStorage'](),this['on']('add',(_0x2eccfc,_0x507b9d)=>{const _0x137ad3=No(_0x507b9d['prompt']);for(const _0x2d53f9 of this)if(_0x2d53f9!=_0x507b9d&&No(_0x2d53f9['prompt'])===_0x137ad3){this['remove'](_0x2d53f9);break;}this['length']>0x14&&this['remove'](this['last']),this['_saveToSessionStorage']();}),this['on']('remove',()=>{this['_saveToSessionStorage']();});}['_loadFromSessionStorage'](){const _0x20943e=sessionStorage['getItem'](Po)||'[]';this['addMany'](JSON['parse'](_0x20943e));}['_saveToSessionStorage'](){sessionStorage['setItem'](Po,JSON['stringify'](this['map'](_0x46222b=>_0x46222b)));}};function No(_0x13b628){return _0x13b628['toLowerCase']()['trim']();}var Lo=class extends _0x2df468{['focusTracker'];['keystrokes'];['contentArea'];['toolbar'];['promptView'];['errorView'];['_focusables'];['focusCycler'];['_promptHistory'];constructor(_0x1da13f,_0x3dba7c,_0x318e89=''){super(_0x1da13f),this['set']('isEnabled',!0x0),this['set']('isProcessing',!0x1),this['set']('prompt',''),this['set']('value',''),this['set']('isError',!0x1),this['set']('mainAction',lr['REPLACE']),this['_promptHistory']=new Mo(),this['errorView']=new fr(_0x1da13f),this['contentArea']=new ur(_0x1da13f,_0x318e89),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 _0x33fa41(),this['keystrokes']=new _0x491b26(),this['_focusables']=this['createCollection']([this['contentArea'],this['contentArea']['copyButtonView'],this['toolbar'],this['promptView']]),this['focusCycler']=new _0x1a2844({'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 _0x20f16a=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form',_0x3dba7c],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form-content']},'children':[{'tag':'div','attributes':{'class':[_0x20f16a['if']('isError','ck-hidden',_0x78bdc3=>!_0x78bdc3)]},'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'](_0x6f5683=0x1){-0x1===_0x6f5683?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 _0x571d3d=this['locale'],_0x36edd5=new mr(_0x571d3d,{'queryView':{'label':sr(_0x571d3d,'Ask\x20AI\x20to\x20edit\x20or\x20generate'),'creator':_0x9a8cd9,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':sr(_0x571d3d,'Empty\x20history'),'secondary':sr(_0x571d3d,'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.')}}},'filteredView':this['_createHistoryView'](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x36edd5['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x359bd0,_0x23fdc5)=>_0x359bd0&&!_0x23fdc5),this['listenTo'](_0x36edd5,'submit',(_0x1bd30d,_0x1c1089)=>{this['prompt']=_0x1c1089;const _0x2d1827=Io(_0x1c1089);this['fire']('submitPrompt',_0x2d1827),_0x1c1089['trim']()&&this['_promptHistory']['add']({'prompt':_0x2d1827},0x0);},{'priority':'high'}),_0x36edd5;}['_createHistoryView'](){const _0x5b2420=new pr(this['locale']);return _0x5b2420['historyGroupView']['items']['bindTo'](this['_promptHistory'])['as'](Ro),_0x5b2420['on']('clearHistory',()=>{this['_promptHistory']['clear'](),this['promptView']['search'](''),this['promptView']['focus']();}),_0x5b2420;}['_createToolbar'](){const _0x5632c8=new hr(this['locale']);return _0x5632c8['replaceButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0xa10511,_0x408892,_0x38f5cb)=>_0xa10511&&!_0x408892&&!!_0x38f5cb),_0x5632c8['replaceButton']['delegate']('execute')['to'](this,'replaceContent'),_0x5632c8['insertButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x17117a,_0x45afb4,_0x24f2f5)=>_0x17117a&&!_0x45afb4&&!!_0x24f2f5),_0x5632c8['insertButton']['delegate']('execute')['to'](this,'insertContentBelow'),_0x5632c8['tryAgainButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x3d2dd5,_0x5c59b3)=>_0x3d2dd5&&!_0x5c59b3),_0x5632c8['tryAgainButton']['delegate']('execute')['to'](this,'tryAgainEvent'),_0x5632c8['stopButton']['bind']('isEnabled')['to'](this,'isProcessing'),_0x5632c8['stopButton']['delegate']('execute')['to'](this,'stopProcessing'),_0x5632c8;}['startProcessing'](){this['value']='',this['isError']=!0x1,this['isProcessing']=!0x0,this['contentArea']['isVisible']=!0x0,this['toolbar']['isVisible']=!0x0,this['contentArea']['focus']();}['finishProcessing'](){const _0x673329=this['locale'];this['isProcessing']=!0x1,this['prompt']='',this['promptView']['reset'](),this['value']&&(this['promptView']['queryView']['label']=sr(_0x673329,'Ask\x20AI\x20to\x20improve\x20generated\x20text'));}['handleError'](_0x1778ae){const _0x44fded=this['locale'];this['finishProcessing'](),this['isError']=!0x0,this['errorView']['text']=_0x1778ae||sr(_0x44fded,'AI_ERROR_FAILED'),this['value']||(this['contentArea']['isVisible']=!0x1);}};const $o=globalThis['DataTransfer'];var Do=class extends _0x36b920{['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[_0x30963e,tr,er,_0x5cd402];}constructor(_0x155f66){super(_0x155f66),_0x155f66['config']['define']('ai.assistant.disabledElements',['media','rawHtml','tableOfContents']),_0x155f66['config']['define']('ai.assistant.contentAreaCssClass',''),_0x155f66['config']['define']('ai.assistant.useTheme',!0x0),this['_uiCssClasses']='ck-ai-assistant-ui'+(_0x155f66['config']['get']('ai.assistant.useTheme')?'\x20ck-ai-assistant-ui_theme':'');}['init'](){const {editor:_0x1aca4e}=this;this['_aiAdapter']=_0x1aca4e['plugins']['get'](er),this['_dialog']=_0x1aca4e['plugins']['get'](_0x5cd402),this['_formView']=null,this['_commandDefinitions']=this['_getResolvedCommandsDefinitions']();const _0x8bd5c5=new nr(_0x1aca4e,Array['from'](this['_commandDefinitions']['values']()));_0x1aca4e['commands']['add']('showAIAssistant',_0x8bd5c5),_0x1aca4e['ui']['componentFactory']['add']('aiCommands',_0x37ac6f=>{const _0x270bf5=_0x18eee9(_0x37ac6f);return _0x270bf5['set']({'class':'ck-ai-commands-dropdown\x20'+this['_uiCssClasses']}),_0x270bf5['buttonView']['set']({'label':sr(_0x37ac6f,'AI\x20Commands'),'icon':Ct,'tooltip':!0x0}),_0x270bf5['on']('execute',_0x92957=>this['_onExecute'](_0x92957['source']['id'])),_0x4b0037(_0x270bf5,_0x1aca4e['ui']['view']['body'],function(_0x519407){const _0x11a10b=jo(_0x519407,Yn(_0x519407['config']['get']('ai.assistant.commands'),_0x519407['locale']))['filter'](_0x4f14cd=>_0x4f14cd['commands']['length']);return 0x1===_0x11a10b['length']?jo(_0x519407,_0x11a10b[0x0]['commands'])['map'](_0x3675bf=>({'id':_0x3675bf['id'],'label':_0x3675bf['label']})):_0x11a10b['map'](_0x5d7712=>{const {groupId:_0x18614b,groupLabel:_0x4fc568,commands:_0x3e1ee4}=_0x5d7712,_0xd12463=jo(_0x519407,_0x3e1ee4)['map'](_0x53c542=>({'id':_0x53c542['id'],'label':_0x53c542['label']}));return{'id':_0x18614b,'menu':_0x4fc568||_0x18614b,'children':_0xd12463};});}(_0x1aca4e),{'ariaLabel':sr(_0x37ac6f,'AI\x20Commands')}),_0x270bf5['menuView']['menuPanelClass']='ck-ai-commands-dropdown\x20'+this['_uiCssClasses'],_0x8bd5c5['on']('change:enabledCommandsIds',_0x5686e6),_0x270bf5['menuView']['once']('render',_0x5686e6),_0x270bf5;function _0x5686e6(){_0x270bf5['isEnabled']=_0x8bd5c5['enabledCommandsIds']['length']>0x0;for(const _0x1917aa of _0x270bf5['menuView']['buttons'])_0x1917aa['isEnabled']=_0x8bd5c5['enabledCommandsIds']['includes'](_0x1917aa['id']);}}),_0x1aca4e['ui']['componentFactory']['add']('menuBar:aiCommands',_0x46e4d0=>{const _0x3713f2=new _0x4108b4(_0x46e4d0);_0x3713f2['buttonView']['set']({'label':sr(_0x46e4d0,'AI\x20Commands'),'icon':Ct}),_0x3713f2['bind']('isEnabled')['to'](_0x8bd5c5,'enabledCommandsIds',_0x16cd87=>_0x16cd87['length']>0x0);const _0x16f759=Yn(_0x1aca4e['config']['get']('ai.assistant.commands'),_0x46e4d0);return this['_populateMenuBarMenu'](_0x8bd5c5,_0x3713f2,_0x16f759,_0x5a232c=>this['_onExecute'](_0x5a232c)),_0x3713f2;}),_0x1aca4e['ui']['componentFactory']['add']('aiAssistant',()=>{const _0xc3b5d=this['_createAIAssistantUIButton'](_0x47ddb0);return _0xc3b5d['set']({'tooltip':!0x0,'class':'ck-ai-assistant-button\x20'+this['_uiCssClasses']}),_0xc3b5d;}),_0x1aca4e['ui']['componentFactory']['add']('menuBar:aiAssistant',()=>{const _0x15eaf1=this['_createAIAssistantUIButton'](_0x3dd6ab);return _0x15eaf1['set']({'role':'menuitemcheckbox'}),_0x15eaf1;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4a18fb=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2aee01;for(const _0x5a5a0c in _0x4a18fb){const _0x1482fa=_0x5a5a0c,_0x385fe4=_0x4a18fb[_0x1482fa];if('aiLicenseKeyValid'==_0x385fe4||'aiLicenseKeyInvalid'==_0x385fe4||'aiLicenseKeyExpired'==_0x385fe4||'aiLicenseKeyDomainLimit'==_0x385fe4||'aiLicenseKeyNotAllowed'==_0x385fe4||'aiLicenseKeyEvaluationLimit'==_0x385fe4||'aiLicenseKeyUsageLimit'==_0x385fe4){delete _0x4a18fb[_0x1482fa],_0x2aee01=_0x385fe4,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'aiLicenseKeyInvalid'==_0x2aee01&&_0x4a18fb['_showLicenseError']('invalid'),'aiLicenseKeyExpired'==_0x2aee01&&_0x4a18fb['_showLicenseError']('expired'),'aiLicenseKeyDomainLimit'==_0x2aee01&&_0x4a18fb['_showLicenseError']('domainLimit'),'aiLicenseKeyNotAllowed'==_0x2aee01&&_0x4a18fb['_showLicenseError']('featureNotAllowed','AIAssistant'),'aiLicenseKeyEvaluationLimit'==_0x2aee01&&_0x4a18fb['_showLicenseError']('evaluationLimit'),'aiLicenseKeyUsageLimit'==_0x2aee01&&_0x4a18fb['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['showUI'](_0x34149c='',_0x1cc5bb='',_0x171701='custom'){const _0x2c3bd5=this['editor'],_0x3f1458=_0x2c3bd5['editing']['view'],_0x9f1516=_0x2c3bd5['plugins']['get'](tr),_0x51d688=_0x2c3bd5['plugins']['get'](_0x30963e);_0x9f1516['showFakeVisualSelection']();const _0x307fbb=new $o(),_0x27ece0=new ClipboardEvent('copy',{'clipboardData':_0x307fbb}),_0x1b8b67=new _0x39c46a(_0x307fbb),_0x5599ad=new _0x562707(_0x3f1458,_0x27ece0,{'dataTransfer':_0x1b8b67});_0x51d688['_forceMarkersCopy']('comment',()=>{_0x3f1458['document']['fire']('copy',_0x5599ad);}),this['_formView']||(this['_initView'](),this['_aiAssistantController']=new cr(_0x2c3bd5,this['_aiAdapter']['textAdapter'],this['_formView']));let _0x5abc89=_0x1b8b67['getData']('text/html');const _0x1aa5b4=_0x2c3bd5['model']['document']['selection'],_0xb67039=Array['from'](_0x1aa5b4['getRanges']());0x1===_0xb67039['length']&&_0xb67039[0x0]['isFlat']&&!_0x1aa5b4['getSelectedElement']()&&''!==_0x5abc89['replace'](/&nbsp;/g,'')['trim']()&&(_0x5abc89='<p>'+_0x5abc89+'</p>'),this['_aiAssistantController']['updateView']({'actionId':_0x171701,'query':_0x34149c,'htmlContent':_0x5abc89,'label':_0x1cc5bb,'mainActionLabel':lr[_0x2c3bd5['model']['document']['selection']['isCollapsed']?'INSERT':'REPLACE']}),'aiAssistant'!==this['_dialog']['id']?this['_dialog']['show']({'id':'aiAssistant','icon':Kt,'title':sr(this['editor']['locale'],'AI\x20Assistant'),'content':this['_formView'],'position':_0x41f24f['EDITOR_TOP_SIDE'],'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_aiAssistantController']['reset'](),_0x9f1516['hideFakeVisualSelection']();}}):this['_dialog']['view']['wasMoved']||this['_dialog']['view']['updatePosition']();}['hideUI'](){this['_dialog']['hide']();}['_getResolvedCommandsDefinitions'](){const _0x24c508=new Map(),_0x45d0ef=Yn(this['editor']['config']['get']('ai.assistant.commands'),this['editor']['locale']);for(const _0x4324a3 of _0x45d0ef)for(const _0x13e247 of _0x4324a3['commands'])_0x24c508['set'](_0x13e247['id'],{..._0x13e247,'groupId':_0x4324a3['groupId'],'groupLabel':_0x4324a3['groupLabel']||_0x4324a3['groupId']});return _0x24c508;}['_createAIAssistantUIButton'](_0x25e113){const _0x5ad755=this['editor'],_0x57918b=_0x5ad755['commands']['get']('showAIAssistant'),_0x4b3fbc=new _0x25e113(_0x5ad755['locale']);return _0x4b3fbc['set']({'label':sr(_0x5ad755['locale'],'AI\x20Assistant'),'icon':Kt,'isToggleable':!0x0}),_0x4b3fbc['bind']('isEnabled')['to'](_0x57918b),_0x4b3fbc['bind']('isOn')['to'](this['_dialog'],'id',_0x4d182f=>'aiAssistant'===_0x4d182f),this['listenTo'](_0x4b3fbc,'execute',()=>{_0x4b3fbc['isOn']?this['hideUI']():_0x57918b['execute']();}),_0x4b3fbc;}['_initView'](){const _0x17fd0c=this['editor']['plugins']['get'](tr);this['_formView']=new Lo(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',()=>{_0x17fd0c['insertContent'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['listenTo'](this['_formView'],'insertContentBelow',()=>{_0x17fd0c['insertContentBelow'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['_initAriaAiStatusChangeAnnouncements']();}['_initAriaAiStatusChangeAnnouncements'](){const {locale:_0x21a731,ui:{ariaLiveAnnouncer:_0xe010ab}}=this['editor'];this['_formView']['contentArea']['on']('change:isProcessing',(_0x5ac489,_0x126616,_0x2ce0a2)=>{const _0x52c464=this['_aiAssistantController']['currentContext'];_0x2ce0a2?_0xe010ab['announce'](sr(_0x21a731,'AI\x20is\x20writing')):_0x52c464&&_0xe010ab['announce'](sr(_0x21a731,'Generated\x20content:\x20%0',_0x52c464),{'politeness':'polite','isUnsafeHTML':!0x0});}),this['_formView']['on']('change:isError',(_0x5ee0db,_0x72b1b8,_0x5b1cfb)=>{if(_0x5b1cfb){const _0x1e767e=this['_formView']['errorView']['text'];_0xe010ab['announce'](sr(_0x21a731,'Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x1e767e));}});}['_onExecute'](_0x57b4c6){const _0x263f27=this['_commandDefinitions']['get'](_0x57b4c6),_0x3c959f=this['editor'],_0x5e4f24=_0x3c959f['model']['document']['selection'],_0x1230a2=_0x3c959f['commands']['get']('showAIAssistant'),_0x723012=_0x3c959f['plugins']['get'](tr),_0x181b5b=''+('_ungrouppedCommands'!==_0x263f27['groupId']?_0x263f27['groupLabel']+':\x20':'')+_0x263f27['label'];if(!0x1!==_0x263f27['requiresContent']&&_0x5e4f24['isCollapsed']){const _0x4544ec=_0x26105c(_0x5e4f24['getSelectedBlocks']())||_0x3c959f['model']['schema']['getLimitElement'](_0x5e4f24);_0x3c959f['model']['change'](_0x2bbabb=>{_0x2bbabb['setSelection'](_0x4544ec,'in');});}_0x723012['showFakeVisualSelection'](),_0x1230a2['execute'](_0x263f27['prompt'],_0x181b5b,'command:'+_0x57b4c6);}['_populateMenuBarMenu'](_0x297ad1,_0x2a0380,_0x1f554c,_0x557682){const _0x1f2fc8=this['editor'],_0x619520=_0x1f2fc8['locale'],_0x1a86ec=new _0x14375b(_0x619520),_0x9611c0=jo(_0x1f2fc8,_0x1f554c)['filter'](_0x500234=>_0x500234['commands']['length']);0x1===_0x9611c0['length']?this['_getMenuBarGroupButtons']({'command':_0x297ad1,'commands':_0x9611c0[0x0]['commands'],'parentMenuView':_0x2a0380,'onExecute':_0x557682})['forEach'](_0x4c303b=>_0x1a86ec['items']['add'](_0x4c303b)):_0x9611c0['forEach'](({groupId:_0x5011e9,groupLabel:_0xd9c55d,commands:_0x531d62})=>{const _0x728ec9=new _0x2b149f(_0x619520,_0x2a0380),_0x2e4068=new _0x4108b4(_0x619520),_0x4cc26d=new _0x14375b(_0x619520),_0x1cb286=this['_getMenuBarGroupButtons']({'command':_0x297ad1,'commands':_0x531d62,'parentMenuView':_0x2e4068,'onExecute':_0x557682});_0x2e4068['buttonView']['set']({'label':_0xd9c55d||_0x5011e9}),_0x2e4068['delegate']('execute')['to'](_0x2a0380),_0x4cc26d['items']['addMany'](_0x1cb286),_0x2e4068['panelView']['children']['add'](_0x4cc26d),_0x728ec9['children']['add'](_0x2e4068),_0x1a86ec['items']['add'](_0x728ec9);}),_0x2a0380['panelView']['children']['add'](_0x1a86ec);}['_getMenuBarGroupButtons']({command:_0x48f9f4,commands:_0x5d4fd9,parentMenuView:_0x14dab1,onExecute:_0x380a58}){const _0x4154d5=this['editor'],_0x2ce7b0=_0x4154d5['locale'];return jo(_0x4154d5,_0x5d4fd9)['map'](_0x5c04aa=>{const _0x2df081=new _0x2b149f(_0x2ce7b0,_0x14dab1),_0x2fa33b=new _0x3dd6ab(_0x2ce7b0);return _0x2fa33b['set']({'label':_0x5c04aa['label']}),_0x2fa33b['delegate']('execute')['to'](_0x14dab1),_0x2fa33b['on']('execute',()=>_0x380a58(_0x5c04aa['id'])),_0x2fa33b['bind']('isEnabled')['to'](_0x48f9f4,'enabledCommandsIds',_0x46809b=>_0x46809b['includes'](_0x5c04aa['id'])),_0x2df081['children']['add'](_0x2fa33b),_0x2df081;});}};function Qo(_0x3e94b9,_0x145b89){return void 0x0!==_0x3e94b9['order']&&void 0x0===_0x145b89['order']?0x1:void 0x0===_0x3e94b9['order']&&void 0x0!==_0x145b89['order']?-0x1:void 0x0!==_0x3e94b9['order']&&void 0x0!==_0x145b89['order']?_0x3e94b9['order']-_0x145b89['order']:0x0;}function jo(_0x5b77ee,_0x34b7d5){_0x34b7d5['sort'](Qo);const _0x5eb365={},_0x17137c=[];for(const _0x2626fc of _0x34b7d5)if(void 0x0!==_0x2626fc['order']){if(_0x2626fc['order']in _0x5eb365)throw new _0x5b5a95('ai-commands-config-order-collision',_0x5b77ee,{'conflictingDefinitions':[_0x2626fc,_0x5eb365[_0x2626fc['order']]]});_0x5eb365[_0x2626fc['order']]=_0x2626fc,_0x17137c['splice'](_0x2626fc['order'],0x0,_0x2626fc);}else _0x17137c['push'](_0x2626fc);return _0x17137c;}var Uo=class extends _0x36b920{static get['requires'](){return[Do,tr];}static get['pluginName'](){return'AIAssistant';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x299cfc){super(_0x299cfc);const _0x666cbf=_0x299cfc['config'],_0x2f3665=_0x299cfc['locale'];_0x666cbf['define']('ai.assistant.preserveComments',!0x0),_0x666cbf['define']('ai.assistant.commands',Vo(_0x2f3665)),_0x666cbf['define']('ai.assistant.extraCommandGroups',[]),_0x666cbf['define']('ai.assistant.removeCommands',[]);let _0x4dccb2=Yn(_0x666cbf['get']('ai.assistant.commands'),_0x2f3665);const _0x5ef888=_0x666cbf['get']('ai.assistant.extraCommandGroups'),_0x5d0fa3=_0x666cbf['get']('ai.assistant.removeCommands');_0x5ef888['forEach'](_0x93ac21=>{const _0x5ee49d=_0x4dccb2['find'](_0x46f7cb=>_0x46f7cb['groupId']===_0x93ac21['groupId']);_0x5ee49d?_0x5ee49d['commands']=_0x5ee49d['commands']['concat'](_0x93ac21['commands']):_0x4dccb2['push'](_0x93ac21);}),_0x4dccb2=_0x4dccb2['filter'](_0x4cfa64=>!_0x5d0fa3['includes'](_0x4cfa64['groupId'])),_0x4dccb2['forEach'](_0x2cdda5=>{_0x2cdda5['commands']=_0x2cdda5['commands']['filter'](_0x3e1fda=>!_0x5d0fa3['includes'](_0x3e1fda['id']));}),_0x666cbf['set']('ai.assistant.commands',_0x4dccb2);}};function Vo(_0x10490c){return[{'groupId':'editOrReview','groupLabel':sr(_0x10490c,'Edit\x20or\x20review'),'commands':[{'id':'improveWriting','label':sr(_0x10490c,'Improve\x20writing'),'prompt':'Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.'},{'id':'makeShorter','label':sr(_0x10490c,'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':sr(_0x10490c,'Make\x20longer'),'prompt':'Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.'},{'id':'simplifyLanguage','label':sr(_0x10490c,'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':sr(_0x10490c,'Generate\x20from\x20selection'),'commands':[{'id':'summarize','label':sr(_0x10490c,'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':sr(_0x10490c,'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':sr(_0x10490c,'Change\x20tone'),'commands':[{'id':'professional','label':sr(_0x10490c,'Professional'),'prompt':'Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.'},{'id':'casual','label':sr(_0x10490c,'Casual'),'prompt':'Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.'},{'id':'direct','label':sr(_0x10490c,'Direct'),'prompt':'Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.'},{'id':'confident','label':sr(_0x10490c,'Confident'),'prompt':'Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.'},{'id':'friendly','label':sr(_0x10490c,'Friendly'),'prompt':'Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.'}]},{'groupId':'changeStyle','groupLabel':sr(_0x10490c,'Change\x20style'),'commands':[{'id':'business','label':sr(_0x10490c,'Business'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.'},{'id':'legal','label':sr(_0x10490c,'Legal'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.'},{'id':'journalism','label':sr(_0x10490c,'Journalism'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.'},{'id':'poetic','label':sr(_0x10490c,'Poetic'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.'}]},{'groupId':'translate','groupLabel':sr(_0x10490c,'Translate'),'commands':[{'id':'translateEnglish','label':sr(_0x10490c,'English'),'prompt':'Translate\x20the\x20content\x20to\x20English\x20language.'},{'id':'translateSpanish','label':sr(_0x10490c,'Spanish'),'prompt':'Translate\x20the\x20content\x20to\x20Spanish\x20language.'},{'id':'translatePortuguese','label':sr(_0x10490c,'Portuguese'),'prompt':'Translate\x20the\x20content\x20to\x20Portuguese\x20language.'},{'id':'translateGerman','label':sr(_0x10490c,'German'),'prompt':'Translate\x20the\x20content\x20to\x20German\x20language.'},{'id':'translateFrench','label':sr(_0x10490c,'French'),'prompt':'Translate\x20the\x20content\x20to\x20French\x20language.'},{'id':'translateChinese','label':sr(_0x10490c,'Simplified\x20Chinese'),'prompt':'Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.'},{'id':'translateHindi','label':sr(_0x10490c,'Hindi'),'prompt':'Translate\x20the\x20content\x20to\x20Hindi\x20language.'},{'id':'translateArabic','label':sr(_0x10490c,'Arabic'),'prompt':'Translate\x20the\x20content\x20to\x20Arabic\x20language.'}]}];}var Bo=class extends _0x36b920{['abortController'];static get['requires'](){return[er];}constructor(_0x28790e){super(_0x28790e),this['abortController']=new AbortController();}['init'](){this['editor']['plugins']['get'](er)['textAdapter']=this;}['abort'](){this['abortController']['signal']['aborted']||(this['abortController']['abort'](),this['abortController']=new AbortController());}async['makeRequest'](_0x4e6534){return this['sendRequest'](_0x4e6534)['catch'](_0x2f77f4=>{if(_0x2f77f4 instanceof ir)return Promise['reject'](_0x2f77f4);if('AbortError'==_0x2f77f4['name'])return Promise['resolve']();throw console['error'](_0x2f77f4),new _0x5b5a95('aitextadapter-send-request-failed',null);});}async['_prepareRequestHeaders'](_0x4c6545,_0x4a2971){const _0x156132=this['editor']['locale'],_0x113617={'Content-Type':'application/json'};if('object'==typeof _0x4c6545)Object['assign'](_0x113617,_0x4c6545);else{if(_0x4c6545)try{const _0x5016c0=await _0x4c6545(_0x4a2971);Object['assign'](_0x113617,_0x5016c0);}catch{return Promise['reject'](new ir(sr(_0x156132,'AI_ERROR_GET_HEADERS')));}}return _0x113617;}async['_prepareRequestParameters'](_0x2be468,_0x53dbb7){const _0x557814=this['editor']['locale'];if('object'==typeof _0x2be468)return _0x2be468;try{return await _0x2be468(_0x53dbb7);}catch{return Promise['reject'](new ir(sr(_0x557814,'AI_ERROR_GET_PARAMETERS')));}}},Fo=class extends Bo{['_apiUrl'];['_requestHeaders'];['_requestParameters'];static get['pluginName'](){return'OpenAITextAdapter';}constructor(_0xbeffc0){super(_0xbeffc0),_0xbeffc0['config']['define']('ai.assistant.adapter.openAI.apiUrl','https://api.openai.com/v1/chat/completions'),_0xbeffc0['config']['get']('ai.assistant.adapter.openAI.requestParameters')||_0xbeffc0['config']['define']('ai.assistant.adapter.openAI.requestParameters',{'model':'gpt-4o','temperature':0x1,'top_p':0x1,'stream':!0x0}),this['_apiUrl']=_0xbeffc0['config']['get']('ai.assistant.adapter.openAI.apiUrl'),this['_requestHeaders']=_0xbeffc0['config']['get']('ai.assistant.adapter.openAI.requestHeaders')||{},this['_requestParameters']=_0xbeffc0['config']['get']('ai.assistant.adapter.openAI.requestParameters');}async['sendRequest']({query:_0x53b217,context:_0x68b3be,onData:_0x82bbf2,actionId:_0x5adfe5}){const _0x238a96=this['editor']['locale'],_0x8a59ac=await this['prepareMessages'](_0x53b217,_0x68b3be,_0x5adfe5),_0x31a22a=await this['_prepareRequestHeaders'](this['_requestHeaders'],_0x5adfe5),_0x148188=await this['_prepareRequestParameters'](this['_requestParameters'],_0x5adfe5),_0x1c8e97={'messages':_0x8a59ac,..._0x148188},_0x525efa={'method':'POST','headers':_0x31a22a,'body':JSON['stringify'](_0x1c8e97),'signal':this['abortController']['signal']},_0x2afbf6=await fetch(this['_apiUrl'],_0x525efa);if(_0x2afbf6['ok'])return _0x148188['stream']?await this['_readStreamableResponse'](_0x2afbf6,_0x82bbf2):await this['_readStaticResponse'](_0x2afbf6,_0x82bbf2),Promise['resolve']();{const _0x3fc22e=await _0x2afbf6['text']();return _0x3fc22e['includes']('context_length_exceeded')?Promise['reject'](new ir(sr(_0x238a96,'AI_ERROR_CONTEXT_LENGTH'))):_0x3fc22e['includes']('Moderation')?Promise['reject'](new ir(sr(_0x238a96,'AI_ERROR_MODERATION'))):Promise['reject'](new Error(_0x3fc22e));}}async['prepareMessages'](_0x2f53b8,_0x2f37e7,_0x535efd){let _0x2aa7cc,_0x10e0af;return _0x2f37e7?(_0x2aa7cc='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.',_0x10e0af='Instruction:\x0a'+_0x2f53b8+'\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a'+_0x2f37e7):(_0x2aa7cc='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.',_0x10e0af=_0x2f53b8),[{'role':'system','content':_0x2aa7cc},{'role':'user','content':_0x10e0af}];}async['_readStreamableResponse'](_0x54a0dc,_0xf42277){const _0x19f3a5=_0x54a0dc['body']['getReader'](),_0x194b87=new TextDecoder();let _0x3eb5f0='',_0x4170fe='',_0xb5ce8='',_0x2111eb=!0x1;for(;!_0x2111eb;){const {done:_0x16b52b,value:_0x48c24b}=await _0x19f3a5['read'](),_0x36e61c=_0x3eb5f0+_0x194b87['decode'](_0x48c24b);let _0x58081e='';_0x2111eb=_0x16b52b;try{_0x58081e=this['_cleanUpData'](_0x36e61c),_0x3eb5f0='';}catch{_0x3eb5f0=_0x36e61c;continue;}_0x4170fe+=_0x58081e,!_0x2111eb&&this['_isBufferIncomplete'](_0x4170fe)||_0x4170fe&&(_0xb5ce8+=_0x4170fe,_0x4170fe='',_0xf42277(_0xb5ce8));}return Promise['resolve']();}async['_readStaticResponse'](_0x18a77e,_0x5ec162){return _0x5ec162((await _0x18a77e['json']())['choices'][0x0]['message']['content']),Promise['resolve']();}['_isBufferIncomplete'](_0x3bda1a){const _0x5b8a5f=_0x3bda1a['split']('<')['length']!==_0x3bda1a['split']('>')['length'],_0x1a9043=_0x3bda1a['length']<0x1e;return _0x5b8a5f&&_0x1a9043;}['_cleanUpData'](_0x3eb3cd){return _0x3eb3cd['split'](/\n(?![^{]*\})/g)['map'](_0x2a4b1b=>_0x2a4b1b['replace']('data:\x20',''))['filter'](_0x179e82=>_0x179e82&&_0x179e82['length']>0x0&&'[DONE]'!==_0x179e82)['map'](_0x43cba3=>{const {choices:_0x1a1dea}=JSON['parse'](_0x43cba3);if(_0x1a1dea[0x0]?.['delta']?.['content'])return _0x1a1dea[0x0]['delta']['content'];})['filter'](_0x53265f=>_0x53265f)['join']('');}},Ho=class extends Bo{static get['pluginName'](){return'AWSTextAdapter';}['init'](){super['init'](),_0x43c457('ai-aws-adapter-not-supported');}async['sendRequest'](_0x41553f){throw _0x180648('ai-aws-adapter-not-supported'),new ir(sr(this['editor']['locale'],'AI_ERROR_AWS_NOT_SUPPORTED'));}},Zo=class extends _0x47ddb0{constructor(_0x19a33d,_0x9efe1b={}){super(_0x19a33d),this['isToggleable']=!0x0,this['set']('side',_0x9efe1b['side']||'top');const _0x1f9e10=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-tab-button',..._0x6cf79c(_0x9efe1b['class']||[]),_0x1f9e10['to']('side',_0x5ce3c7=>'ck-tab-button_'+_0x5ce3c7),_0x1f9e10['to']('class')]}});}['show'](){this['set']('isVisible',!0x0);}['hide'](){this['set']('isVisible',!0x1);}},Go=class extends _0x2df468{['children'];constructor(_0x3f744f,_0x3b0e8b={}){super(_0x3f744f);const _0x30b87a=this['bindTemplate'];this['set']('isVisible',!0x1),this['set']('class',''),this['children']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-tab-panel',..._0x6cf79c(_0x3b0e8b['class']||[]),_0x30b87a['to']('class'),_0x30b87a['if']('isVisible','ck-hidden',_0x511ac7=>!_0x511ac7)]},'children':this['children']});}['show'](){this['set']('isVisible',!0x0);}['hide'](){this['set']('isVisible',!0x1);}},Xo=class extends _0x2df468{['buttonViews']=this['createCollection']();['panelViews']=this['createCollection']();['_tabs']=new Map();constructor(_0x5d3f2e,_0x457e7c={}){super(_0x5d3f2e),this['set']('class',void 0x0),this['set']('activeTab',null),this['set']('side',_0x457e7c['side']||'top'),this['set']('isMaximized',!0x1),this['set']('collapsible',_0x457e7c['collapsible']||!0x1),this['set']('isCollapsed',!0x1),this['set']('_isMaximizedActive',!0x1),this['bind']('_isMaximizedActive')['to'](this,'isMaximized',this,'isCollapsed',(_0x191c0b,_0x501fb5)=>_0x191c0b&&!_0x501fb5);const _0x33ffd9=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-tabs',..._0x6cf79c(_0x457e7c['class']||[]),_0x33ffd9['to']('side',_0x65210d=>'ck-tabs_'+_0x65210d),_0x33ffd9['to']('class'),_0x33ffd9['if']('_isMaximizedActive','ck-ai-tabs_maximized'),_0x33ffd9['if']('isCollapsed','ck-ai-tabs_collapsed')],'tabindex':'0'},'children':[{'tag':'div','attributes':{'class':['ck','ck-tabs__buttons-container',_0x33ffd9['to']('side',_0x524263=>'ck-tabs__buttons-container_'+_0x524263)]},'children':this['buttonViews']},{'tag':'div','attributes':{'class':['ck','ck-tabs__panels-container',_0x33ffd9['to']('side',_0x26f299=>'ck-tabs__panels-container_'+_0x26f299)]},'children':this['panelViews']},..._0x6cf79c(_0x457e7c['children']||[])]});}['getTabIds'](){return[...this['_tabs']['keys']()];}['getTab'](_0x1449b2){const _0x24f43b=this['_tabs']['get'](_0x1449b2);return _0x24f43b||null;}['addTab'](_0x4fff04){const _0x44372b=this['_setupButton']({'id':_0x4fff04['id'],'label':_0x4fff04['buttonLabel'],'icon':_0x4fff04['buttonIcon'],'order':_0x4fff04['order']}),_0x448710=new Go(this['locale']);return _0x448710['render'](),_0x4fff04['content']&&_0x448710['children']['add'](_0x4fff04['content']),this['panelViews']['add'](_0x448710),this['_tabs']['set'](_0x4fff04['id'],{'button':_0x44372b,'panel':_0x448710,'order':void 0x0!==_0x4fff04['order']?_0x4fff04['order']:null}),this['fire']('addTab:'+_0x4fff04['id'],{'id':_0x4fff04['id'],'button':_0x44372b,'panel':_0x448710}),null===this['activeTab']?this['activateTab'](_0x4fff04['id']):this['_hidePanel'](_0x4fff04['id']),{'button':_0x44372b,'panel':_0x448710};}['activateTab'](_0x814e2d){if(null!==_0x814e2d&&!this['getTab'](_0x814e2d))throw new _0x5b5a95('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x814e2d});if(this['isCollapsed']=!0x1,this['activeTab']===_0x814e2d)return;const _0x509e31=this['activeTab'];this['activeTab']&&this['_hidePanel'](this['activeTab']),this['activeTab']=_0x814e2d,_0x814e2d&&this['_showPanel'](_0x814e2d),this['fire']('activateTab:'+_0x814e2d,{'newTab':_0x814e2d,'oldTab':_0x509e31});}['toggleTabPanel'](_0x30e5ef){this['activeTab']===_0x30e5ef?this['collapsible']&&(this['isCollapsed']=!this['isCollapsed']):this['activateTab'](_0x30e5ef);}['showTab'](_0x1142e1){if(!this['getTab'](_0x1142e1))throw new _0x5b5a95('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x1142e1});this['_showPanel'](_0x1142e1),this['_showButton'](_0x1142e1),this['fire']('show:'+_0x1142e1,_0x1142e1);}['hideTab'](_0x2c9c13){if(!this['getTab'](_0x2c9c13))throw new _0x5b5a95('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x2c9c13});const _0x73fb06=this['activeTab'];this['_hidePanel'](_0x2c9c13),this['_hideButton'](_0x2c9c13);const _0xadfe12=this['getTabIds']();_0x73fb06===_0x2c9c13&&_0xadfe12['length']>0x1&&this['activateTab'](_0xadfe12['find'](_0x5b7bab=>_0x5b7bab!==_0x2c9c13)),this['fire']('hide:'+_0x2c9c13,_0x2c9c13);}['_getPanel'](_0x561fee){const _0x53490a=this['_tabs']['get'](_0x561fee);return _0x53490a?_0x53490a['panel']:null;}['_showPanel'](_0x2e032b){null!==this['activeTab']&&this['activeTab']!==_0x2e032b||this['_getPanel'](_0x2e032b)['show']();}['_hidePanel'](_0x5bc296){const _0x586d2b=this['_getPanel'](_0x5bc296);_0x586d2b['isVisible']&&(this['activeTab']===_0x5bc296&&(this['activeTab']=null),_0x586d2b['hide']());}['_getButton'](_0x13375c){const _0xda97bf=this['_tabs']['get'](_0x13375c);return _0xda97bf?_0xda97bf['button']:null;}['_showButton'](_0x34b828){this['_getButton'](_0x34b828)['show']();}['_hideButton'](_0x145848){this['_getButton'](_0x145848)['hide']();}['_setupButton'](_0x5a2195){const _0x59ac8a=new Zo(this['locale'],{'side':this['side']}),_0x29ca32=this['buttonViews'];if(_0x59ac8a['set']({'label':_0x5a2195['label'],'icon':_0x5a2195['icon'],'tooltip':!0x0,'withText':!0x0}),_0x59ac8a['bind']('isOn')['to'](this,'activeTab',this,'isCollapsed',(_0x19b140,_0x2af15d)=>_0x19b140===_0x5a2195['id']&&!_0x2af15d),_0x59ac8a['bind']('side')['to'](this,'side'),_0x5a2195['order']){const _0x76523e=[...this['_tabs']]['reduce']((_0x28a3ab,_0x36493f)=>{const _0x240ede=_0x36493f[0x0],{order:_0x39bd2a}=_0x36493f[0x1];return!_0x39bd2a||_0x39bd2a>_0x5a2195['order']?_0x28a3ab:_0x39bd2a>=_0x28a3ab['order']?{'id':_0x240ede,'order':_0x39bd2a}:_0x28a3ab;},{'id':'','order':0x0}),_0x293c1b=_0x29ca32['getIndex'](this['_getButton'](_0x76523e['id']));_0x29ca32['add'](_0x59ac8a,_0x293c1b+0x1);}else _0x29ca32['add'](_0x59ac8a);return _0x59ac8a['on']('execute',()=>{this['toggleTabPanel'](_0x5a2195['id']);}),_0x59ac8a;}};const qo=['overlay','sidebar','custom'],Wo=['left','right'];var zo=class extends Xo{constructor(_0x519e13,_0x58f578={}){super(_0x519e13,_0x58f578),this['set']('type',_0x58f578['type']||'sidebar'),this['set']('side',_0x58f578['side']||'right'),this['set']('isVisible',_0x58f578['visibleByDefault']??!0x0);const _0x110758=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-tabs',_0x110758['if']('type','ck-ai-tabs__overlay',_0x36c5eb=>'overlay'===_0x36c5eb),_0x110758['if']('type','ck-ai-tabs__sidebar',_0xdeec91=>'sidebar'===_0xdeec91),_0x110758['if']('isVisible','ck-hidden',_0x41226c=>!_0x41226c)]}}),this['buttonViews']['on']('add',(_0x2626a2,_0x55c104)=>{_0x55c104['set']('withText',!0x1);});}},Yo=class extends _0x2de7b2{['view'];['container']=null;['showResizeButton']=!0x0;static get['pluginName'](){return'AITabs';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5500f8){if(super(_0x5500f8),!this['context']['config']['get']('ai.container'))throw new _0x5b5a95('ai-tabs-configuration-not-found');this['context']['config']['define']('ai.container.visibleByDefault',!0x0),this['context']['config']['define']('ai.container.collapsible',!0x1);const _0x249d5d=this['context']['config']['get']('ai.container');if(this['set']('side','right'),void 0x0!==_0x249d5d['showResizeButton']&&(this['showResizeButton']=_0x249d5d['showResizeButton']),'sidebar'!==_0x249d5d['type']&&'overlay'!==_0x249d5d['type']||_0x249d5d['side']&&(this['side']=_0x249d5d['side']),'sidebar'===_0x249d5d['type']){if(this['container']=_0x249d5d['element'],this['set']('type','sidebar'),!this['container'])throw new _0x5b5a95('ai-tabs-sidebar-container-element-not-found');}else'overlay'===_0x249d5d['type']?(this['container']=document['body'],this['set']('type','overlay')):(this['container']=null,this['set']('type','custom'));this['view']=new zo(this['context']['locale'],{'side':this['side'],'type':this['type'],'visibleByDefault':_0x249d5d['visibleByDefault'],'collapsible':_0x249d5d['collapsible']}),this['view']['render'](),this['view']['bind']('side')['to'](this,'side'),this['view']['bind']('type')['to'](this,'type'),this['container']&&this['container']['appendChild'](this['view']['element']),this['context']instanceof _0x181fa1&&this['context']['ui']['focusTracker']['add'](this['view']['element']),this['listenTo'](this,'resizeTabs',()=>{this['view']['isMaximized']=!this['view']['isMaximized'],this['fire']('resizedTabs',this['view']['isMaximized']);});}['switchType'](_0x567fb9){if(_0x567fb9&&this['type']!==_0x567fb9){if(!qo['includes'](_0x567fb9))throw new _0x5b5a95('ai-tabs-unsupported-ui-type');this['type']=_0x567fb9;}}['switchSide'](_0x4a5694){if(_0x4a5694&&this['side']!==_0x4a5694){if(!Wo['includes'](_0x4a5694))throw new _0x5b5a95('ai-tabs-unsupported-ui-side');this['side']=_0x4a5694;}}['destroy'](){super['destroy'](),this['view']['destroy'](),this['view']['element']&&this['view']['element']['remove']();}},Ko=class extends Error{constructor(_0x292df6,_0x36e38c){super(_0x292df6),this['name']='ParseError',this['type']=_0x36e38c['type'],this['field']=_0x36e38c['field'],this['value']=_0x36e38c['value'],this['line']=_0x36e38c['line'];}};function Jo(_0xd945a9){}function ta(_0x2f96f4){if('function'==typeof _0x2f96f4)throw new TypeError('`callbacks`\x20must\x20be\x20an\x20object,\x20got\x20a\x20function\x20instead.\x20Did\x20you\x20mean\x20`{onEvent:\x20fn}`?');const {onEvent:_0xcccee5=Jo,onError:_0x58725a=Jo,onRetry:_0x2c4532=Jo,onComment:_0x2a4836}=_0x2f96f4;let _0x5af827,_0x16e81b='',_0xa21624=!0x0,_0x2e6a2b='',_0x376901='';function _0x2ccbc3(_0x41c2f1){if(''===_0x41c2f1)return _0x2e6a2b['length']>0x0&&_0xcccee5({'id':_0x5af827,'event':_0x376901||void 0x0,'data':_0x2e6a2b['endsWith']('\x0a')?_0x2e6a2b['slice'](0x0,-0x1):_0x2e6a2b}),_0x5af827=void 0x0,_0x2e6a2b='',void(_0x376901='');if(_0x41c2f1['startsWith'](':'))return void(_0x2a4836&&_0x2a4836(_0x41c2f1['slice'](_0x41c2f1['startsWith'](':\x20')?0x2:0x1)));const _0xd5363d=_0x41c2f1['indexOf'](':');if(-0x1!==_0xd5363d){const _0x32e7a0=_0x41c2f1['slice'](0x0,_0xd5363d),_0x5138a8='\x20'===_0x41c2f1[_0xd5363d+0x1]?0x2:0x1;return void _0x5856b8(_0x32e7a0,_0x41c2f1['slice'](_0xd5363d+_0x5138a8),_0x41c2f1);}_0x5856b8(_0x41c2f1,'',_0x41c2f1);}function _0x5856b8(_0x40b830,_0x171025,_0x5acca1){switch(_0x40b830){case'event':_0x376901=_0x171025;break;case'data':_0x2e6a2b=''+_0x2e6a2b+_0x171025+'\x0a';break;case'id':_0x5af827=_0x171025['includes']('\x00')?void 0x0:_0x171025;break;case'retry':/^\d+$/['test'](_0x171025)?_0x2c4532(parseInt(_0x171025,0xa)):_0x58725a(new Ko('Invalid\x20`retry`\x20value:\x20\x22'+_0x171025+'\x22',{'type':'invalid-retry','value':_0x171025,'line':_0x5acca1}));break;default:_0x58725a(new Ko('Unknown\x20field\x20\x22'+(_0x40b830['length']>0x14?_0x40b830['slice'](0x0,0x14)+'…':_0x40b830)+'\x22',{'type':'unknown-field','field':_0x40b830,'value':_0x171025,'line':_0x5acca1}));}}return{'feed':function(_0x1fcb7c){const _0x2bfb75=_0xa21624?_0x1fcb7c['replace'](/^\xEF\xBB\xBF/,''):_0x1fcb7c,[_0x38dd1a,_0x31c8ea]=function(_0x40615f){const _0x24372d=[];let _0x3164ff='',_0x33bcb2=0x0;for(;_0x33bcb2<_0x40615f['length'];){const _0xae858b=_0x40615f['indexOf']('\x0d',_0x33bcb2),_0x327c70=_0x40615f['indexOf']('\x0a',_0x33bcb2);let _0x4a167f=-0x1;if(-0x1!==_0xae858b&&-0x1!==_0x327c70?_0x4a167f=Math['min'](_0xae858b,_0x327c70):-0x1!==_0xae858b?_0x4a167f=_0xae858b:-0x1!==_0x327c70&&(_0x4a167f=_0x327c70),-0x1===_0x4a167f){_0x3164ff=_0x40615f['slice'](_0x33bcb2);break;}{const _0x2aa391=_0x40615f['slice'](_0x33bcb2,_0x4a167f);_0x24372d['push'](_0x2aa391),_0x33bcb2=_0x4a167f+0x1,'\x0d'===_0x40615f[_0x33bcb2-0x1]&&'\x0a'===_0x40615f[_0x33bcb2]&&_0x33bcb2++;}}return[_0x24372d,_0x3164ff];}(''+_0x16e81b+_0x2bfb75);for(const _0x2182fe of _0x38dd1a)_0x2ccbc3(_0x2182fe);_0x16e81b=_0x31c8ea,_0xa21624=!0x1;},'reset':function(_0x1938c4={}){_0x16e81b&&_0x1938c4['consume']&&_0x2ccbc3(_0x16e81b),_0xa21624=!0x0,_0x5af827=void 0x0,_0x2e6a2b='',_0x376901='',_0x16e81b='';}};}var ea=class extends _0x2de7b2{['_apiUrl'];get['_apiUrlV11'](){return this['_apiUrl']['replace'](/\/v1$/,'/v1.1');}['_token'];['_decoder'];['_responseCache'];static get['requires'](){return[_0x5ed504];}static get['pluginName'](){return'AIConnector';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1c2770){if(super(_0x1c2770),this['context']['config']['define']('ai.serviceUrl','https://ai.cke-cs.com/v1'),this['_apiUrl']=this['context']['config']['get']('ai.serviceUrl')['replace'](/\/+$/,''),!this['_apiUrl']['endsWith']('/v1'))throw new _0x5b5a95('ai-service-url-invalid-version',this,{'serviceUrl':this['_apiUrl']});this['_token']=null,this['_decoder']=new TextDecoder(),this['_responseCache']=new Map();}['init'](){const _0x57ece9=this['context']['plugins']['get'](_0x5ed504);if(!_0x57ece9['token'])throw new _0x5b5a95('ai-missing-token',this);this['_token']=_0x57ece9['token'];}['startConversation'](_0x5e9f7c,_0x3fe1b4){const _0xde0d27=this['_sendApiRequest']('/conversations','POST',{'id':_0x5e9f7c,'group':_0x3fe1b4});return{'getConversation':async()=>(await _0xde0d27['request'])['json'](),'abortController':_0xde0d27['abortController']};}['queryAssistant']({message:_0x5b36f6,conversationId:_0x27d2ff,parts:_0x256c99,capabilities:_0x4c25ff,model:_0x3c4607,attributes:_0x6550d9}){const _0x3e0686={'prompt':_0x5b36f6,'content':_0x256c99,'model':_0x3c4607,..._0x4c25ff&&{'capabilities':_0x4c25ff},..._0x6550d9&&{'attributes':_0x6550d9}},_0x2374e7=this['_sendApiRequest']('/conversations/'+_0x27d2ff+'/messages','POST',_0x3e0686,{'apiUrl':this['_apiUrlV11']});return{'getStream':async()=>{const _0x384eb9=(await _0x2374e7['request'])['body'];return this['_getStreamReader'](_0x384eb9);},'abortController':_0x2374e7['abortController']};}['executeCustomAction']({content:_0xb8b000,message:_0x4acd99,model:_0x337377,outputFormat:_0x4d132b}){const _0x1b646f={'content':[{'type':'text','content':_0xb8b000}],'prompt':_0x4acd99,'model':_0x337377,'outputFormat':_0x4d132b},_0x5e1dc8=this['_sendApiRequest']('/actions/custom/calls','POST',_0x1b646f);return{'getStream':async()=>{const _0x405a7c=(await _0x5e1dc8['request'])['body'];return this['_getStreamReader'](_0x405a7c);},'abortController':_0x5e1dc8['abortController']};}['executeAction']({actionName:_0x31e833,content:_0x5aa2ae,args:_0x58a054}){const _0x855ec4={'content':[{'type':'text','content':_0x5aa2ae}],'args':_0x58a054},_0x5044b9=this['_sendApiRequest']('/actions/system/'+_0x31e833+'/calls','POST',_0x855ec4);return{'getStream':async()=>{const _0x505653=(await _0x5044b9['request'])['body'];return this['_getStreamReader'](_0x505653);},'abortController':_0x5044b9['abortController']};}['uploadFile'](_0x32befe,_0x2060f2,_0x5d9270){const _0x508fce=new FormData();_0x508fce['append']('file',_0x2060f2,_0x2060f2['name']),_0x5d9270&&_0x508fce['append']('attributes',JSON['stringify'](_0x5d9270));const _0x214639=this['_sendApiRequest']('/conversations/'+_0x32befe+'/files','POST',_0x508fce);return{'getId':async()=>(await _0x214639['request'])['json'](),'abortController':_0x214639['abortController']};}['uploadDocuments'](_0x119f06,_0x46b98e){const _0x2a459d={'documents':_0x46b98e['map'](_0x2c9058=>({'content':_0x2c9058['content'],'attributes':{'version':_0x2c9058['version'],'sessionId':_0x2c9058['sessionId'],'channelId':_0x2c9058['channelId'],'rootName':_0x2c9058['rootName'],'selections':_0x2c9058['selections']},...void 0x0!==_0x2c9058['name']?{'name':_0x2c9058['name']}:{},...void 0x0!==_0x2c9058['description']?{'description':_0x2c9058['description']}:{}}))},_0x329170=this['_sendApiRequest']('/conversations/'+_0x119f06+'/documents/batch','POST',_0x2a459d);return{'getIds':async()=>(await _0x329170['request'])['json'](),'abortController':_0x329170['abortController']};}['fetchDocuments'](_0x14b8d4,_0x57898f){const _0x3fba76=new URLSearchParams();_0x3fba76['append']('documentIds',_0x57898f['join'](','));const _0x226e67=this['_sendApiRequest']('/conversations/'+_0x14b8d4+'/documents/batch?'+_0x3fba76['toString'](),'GET');return{'getDocuments':async()=>(await _0x226e67['request'])['json'](),'abortController':_0x226e67['abortController']};}['fetchConversations'](_0xc3a51e,_0x1b07cb={}){const _0x43bd62=new URLSearchParams();_0x43bd62['append']('group',_0xc3a51e),_0x43bd62['append']('excludeEmpty',!0x1!==_0x1b07cb['excludeEmpty']?'true':'false'),_0x43bd62['append']('limit',_0x1b07cb['limit']?_0x1b07cb['limit']['toString']():'100'),_0x43bd62['append']('sortBy',_0x1b07cb['sortBy']?_0x1b07cb['sortBy']:'createdAt'),_0x43bd62['append']('order',_0x1b07cb['order']?_0x1b07cb['order']:'desc');const _0xf5d463=this['_sendApiRequest']('/conversations?'+_0x43bd62['toString'](),'GET');return{'getConversations':async()=>(await(await _0xf5d463['request'])['json']())['items'],'abortController':_0xf5d463['abortController']};}['deleteConversation'](_0x296769){const _0x39ccb5=this['_sendApiRequest']('/conversations/'+_0x296769,'DELETE');return{'execute':async()=>{await _0x39ccb5['request'];},'abortController':_0x39ccb5['abortController']};}['updateConversation'](_0xc9050f,_0x1665c9){const _0x50dca8=this['_sendApiRequest']('/conversations/'+_0xc9050f,'PATCH',_0x1665c9);return{'getResult':async()=>(await _0x50dca8['request'],_0x1665c9),'abortController':_0x50dca8['abortController']};}['fetchConversation'](_0x4c4ca4){const _0x5c24b2=this['_sendApiRequest']('/conversations/'+_0x4c4ca4,'GET');return{'getConversation':async()=>(await _0x5c24b2['request'])['json'](),'abortController':_0x5c24b2['abortController']};}['fetchConversationMessages'](_0x2fb729){const _0x5c9027=this['_sendApiRequest']('/conversations/'+_0x2fb729+'/messages','GET',void 0x0,{'apiUrl':this['_apiUrlV11']});return{'getMessages':async()=>(await(await _0x5c9027['request'])['json']())['items'],'abortController':_0x5c9027['abortController']};}['uploadUrl'](_0x55db37,_0x3870fc,_0x24dce0){const _0x39db58=this['_sendApiRequest']('/conversations/'+_0x55db37+'/web-resources','POST',{'url':_0x3870fc,'attributes':_0x24dce0});return{'getId':async()=>(await _0x39db58['request'])['json'](),'abortController':_0x39db58['abortController']};}['getModels'](_0x10fb86='en'){const _0x34b163=new URLSearchParams();_0x34b163['append']('language',_0x10fb86);const _0x2804b9='/models/1?'+_0x34b163['toString'](),_0x154adf=this['_sendApiRequest'](_0x2804b9,'GET',void 0x0,{'useCache':!0x0});return{'list':async()=>await(await _0x154adf['request'])['json'](),'abortController':_0x154adf['abortController']};}['deleteFile'](_0x1e460e,_0x599d81){const _0x4574aa=this['_sendApiRequest']('/conversations/'+_0x1e460e+'/files/'+_0x599d81,'DELETE');return{'execute':async()=>{await _0x4574aa['request'];},'abortController':_0x4574aa['abortController']};}['deleteDocument'](_0x3d6bcd,_0x24079e){const _0x5e9e28=this['_sendApiRequest']('/conversations/'+_0x3d6bcd+'/documents/'+_0x24079e,'DELETE');return{'execute':async()=>{await _0x5e9e28['request'];},'abortController':_0x5e9e28['abortController']};}['deleteWebResource'](_0x3e20e8,_0x52026e){const _0x624feb=this['_sendApiRequest']('/conversations/'+_0x3e20e8+'/web-resources/'+_0x52026e,'DELETE');return{'execute':async()=>{await _0x624feb['request'];},'abortController':_0x624feb['abortController']};}['cancelStream'](_0x473f89,_0x526b82){const _0x101100=this['_sendApiRequest']('/conversations/'+_0x473f89+'/messages/'+_0x526b82+'/stream','DELETE',void 0x0,{'apiUrl':this['_apiUrlV11']});return{'execute':async()=>{await _0x101100['request'];},'abortController':_0x101100['abortController']};}['resumeStream'](_0x4227bd,_0x51c312,_0x32e463='0-0'){const _0x204bc2=new URLSearchParams({'lastEventId':_0x32e463}),_0x139f9f=this['_sendApiRequest']('/conversations/'+_0x4227bd+'/messages/'+_0x51c312+'/stream?'+_0x204bc2['toString'](),'GET',void 0x0,{'apiUrl':this['_apiUrlV11']});return{'getStream':async()=>{const _0x106b3f=await _0x139f9f['request'];return this['_getStreamReader'](_0x106b3f['body']);},'abortController':_0x139f9f['abortController']};}['callSystemReview']({reviewName:_0x302510,content:_0x238623,args:_0x54d3fa}){const _0x4e39a7=this['_sendApiRequest']('/reviews/system/'+_0x302510+'/calls','POST',{'content':[{'type':'text','content':_0x238623}],'args':_0x54d3fa});return{'getStream':async()=>{const _0x52c709=(await _0x4e39a7['request'])['body'];return this['_getStreamReader'](_0x52c709);},'abortController':_0x4e39a7['abortController']};}['processDocument']({document:_0x3c3f7b,prompt:_0x7c6cff,model:_0x5459b1}){const _0x4227c1=this['_sendApiRequest']('/documents/process','POST',{'document':_0x3c3f7b,'prompt':_0x7c6cff,'model':_0x5459b1});return{'getResult':async()=>(await _0x4227c1['request'])['json'](),'abortController':_0x4227c1['abortController']};}['callCustomReview']({content:_0x57125f,prompt:_0x22ca60,model:_0x548123}){const _0x17b86d=this['_sendApiRequest']('/reviews/custom/calls','POST',{'content':[{'type':'text','content':_0x57125f}],'prompt':_0x22ca60,'model':_0x548123});return{'getStream':async()=>{const _0x5c5c76=(await _0x17b86d['request'])['body'];return this['_getStreamReader'](_0x5c5c76);},'abortController':_0x17b86d['abortController']};}['upsertAIChatRating'](_0x304581,_0x162c13,_0x523324){const _0x321ea8=this['_sendApiRequest']('/conversations/'+_0x304581+'/messages/'+_0x162c13+'/ratings','PUT',{'positiveCount':_0x523324['positiveCount'],'totalCount':_0x523324['totalCount'],'modificationId':_0x523324['modificationId']});return{'execute':async()=>{await _0x321ea8['request'];},'abortController':_0x321ea8['abortController']};}['upsertAIActionRating'](_0x4b933c,_0x71d7dc,_0x524fd0){const _0x298283=this['_sendApiRequest']('/actions/system/'+_0x4b933c+'/calls/'+_0x71d7dc+'/ratings','PUT',{'positiveCount':_0x524fd0['positiveCount'],'totalCount':_0x524fd0['totalCount']});return{'execute':async()=>{await _0x298283['request'];},'abortController':_0x298283['abortController']};}['upsertCustomAIActionRating'](_0x224a93,_0x291616){const _0x582991=this['_sendApiRequest']('/actions/custom/calls/'+_0x224a93+'/ratings','PUT',{'positiveCount':_0x291616['positiveCount'],'totalCount':_0x291616['totalCount']});return{'execute':async()=>{await _0x582991['request'];},'abortController':_0x582991['abortController']};}['upsertAIReviewRating'](_0x532672,_0x404dba,_0x582f61,_0x351d9d){const _0x147c5e=this['_sendApiRequest']('/reviews/system/'+_0x532672+'/calls/'+_0x404dba+'/ratings','PUT',{'positiveCount':_0x582f61['positiveCount'],'totalCount':_0x582f61['totalCount'],'dataId':_0x351d9d});return{'execute':async()=>{await _0x147c5e['request'];},'abortController':_0x147c5e['abortController']};}['upsertCustomAIReviewRating'](_0x39bba4,_0x532f56,_0x2f0d75){const _0x1ee69b=this['_sendApiRequest']('/reviews/custom/calls/'+_0x39bba4+'/ratings','PUT',{'positiveCount':_0x532f56['positiveCount'],'totalCount':_0x532f56['totalCount'],'dataId':_0x2f0d75});return{'execute':async()=>{await _0x1ee69b['request'];},'abortController':_0x1ee69b['abortController']};}['_sendApiRequest'](_0x3cd3aa,_0x24ab64,_0x3fc7fd,_0x464e48={}){const {useCache:_0x20820b=!0x1,apiUrl:_0x493e07=this['_apiUrl']}=_0x464e48,_0x429768=new AbortController(),_0x5e6312=_0x20820b?_0x24ab64+':'+_0x3cd3aa:null;if(_0x5e6312){const _0x385b9b=this['_responseCache']['get'](_0x5e6312);if(_0x385b9b)return{'request':_0x385b9b['then'](_0x5b0637=>_0x5b0637['clone']()),'abortController':_0x429768};}const _0x1cd42e=_0x3fc7fd instanceof FormData,_0x52cf88={'Authorization':'Bearer\x20'+this['_token']?.['value'],'X-Editor-Version':_0x211424};_0x3fc7fd&&!_0x1cd42e&&(_0x52cf88['Content-Type']='application/json');const _0x2c27ca={'method':_0x24ab64,'headers':_0x52cf88,'signal':_0x429768['signal']};_0x3fc7fd&&(_0x2c27ca['body']=_0x1cd42e?_0x3fc7fd:JSON['stringify'](_0x3fc7fd));const _0x2c743a=fetch(''+_0x493e07+_0x3cd3aa,_0x2c27ca)['catch'](_0x1a6941=>{_0x5e6312&&this['_responseCache']['delete'](_0x5e6312),this['_handleError'](_0x1a6941);})['then'](_0x5756b2=>_0x5756b2['ok']?_0x5756b2:_0x5756b2['json']()['then'](_0x54ec06=>{throw _0x5e6312&&this['_responseCache']['delete'](_0x5e6312),{'url':_0x493e07,'path':_0x3cd3aa,'method':_0x24ab64,'body':_0x3fc7fd,'status':(_0x5756b2||{})['status'],'statusText':(_0x5756b2||{})['statusText'],'code':_0x54ec06['code'],'message':_0x54ec06['message'],'traceId':_0x54ec06['traceId']};}));return _0x5e6312&&this['_responseCache']['set'](_0x5e6312,_0x2c743a['then'](_0x24cdb7=>_0x24cdb7['clone']())),{'request':_0x2c743a,'abortController':_0x429768};}async*['_getStreamReader'](_0x5da455){const _0x3a5ddf=[],_0x2df1b=_0x5da455['getReader'](),_0x3a438c=ta({'onError':_0x1aadec=>{this['_handleError'](_0x1aadec);},'onEvent':_0x6093a1=>{_0x6093a1['data']=JSON['parse'](_0x6093a1['data']),_0x3a5ddf['push'](_0x6093a1);}});try{let _0x5b9825=!0x1;for(;!_0x5b9825;){const {done:_0x10f1b1,value:_0x352bfc}=await _0x2df1b['read']();_0x10f1b1&&(_0x5b9825=!0x0),_0x3a438c['feed'](this['_decoder']['decode'](_0x352bfc,{'stream':!0x0})),yield*_0x3a5ddf,_0x3a5ddf['length']=0x0;}}catch(_0x2980e8){this['_handleError'](_0x2980e8);}finally{_0x2df1b['releaseLock'](),_0x3a438c['reset']();}}['_handleError'](_0x64163b){if(_0x64163b instanceof _0x5b5a95)throw _0x64163b;if(_0x64163b instanceof Error&&'AbortError'===_0x64163b['name'])throw new _0x5b5a95('ai-request-aborted',this,{'originalError':_0x64163b});throw new _0x5b5a95('ai-request-failed',this,{'originalError':_0x64163b});}};function ia(_0x2afe30,_0x100502,_0x40663a){const t=_0x2afe30['t'];switch(_0x100502){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'},_0x40663a);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':'Response\x20stopped.'});case'AI_CHAT_GENERIC_ERROR':return t({'id':'AI_CHAT_GENERIC_ERROR','string':'Something\x20went\x20wrong\x20while\x20processing\x20your\x20request.\x20Please\x20try\x20again.'});case'AI_CHAT_UNABLE_TO_START_CONVERSATION':return t({'id':'AI_CHAT_UNABLE_TO_START_CONVERSATION','string':'Unable\x20to\x20start\x20conversation.\x20Please\x20make\x20sure\x20you\x20are\x20online\x20and\x20try\x20again.'});case'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION':return t({'id':'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION','string':'Unable\x20to\x20load\x20chosen\x20conversation.\x20Please\x20make\x20sure\x20you\x20are\x20online\x20and\x20try\x20again.'});case'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE':return t({'id':'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE','string':'Failed\x20to\x20upload\x20files:\x20%0.\x20Please\x20try\x20again.'},_0x40663a);case'AI_CHAT_CONTEXT_FOLDER_NOT_SUPPORTED':return t({'id':'AI_CHAT_CONTEXT_FOLDER_NOT_SUPPORTED','string':'Folders\x20cannot\x20be\x20added\x20to\x20the\x20chat.\x20Try\x20adding\x20individual\x20files\x20instead.'});case'AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES':return t({'id':'AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES','string':'Unable\x20to\x20load\x20resources\x20from\x20%0.\x20Please\x20try\x20again.'},_0x40663a);case'AI_CHAT_RESOURCE_LOAD_FAILED':return t({'id':'AI_CHAT_RESOURCE_LOAD_FAILED','string':'Failed\x20to\x20load\x20resource.\x20Please\x20try\x20again.'});case'AI_CHAT_CONTEXT_CURRENT_DOCUMENT':return t({'id':'AI_CHAT_CONTEXT_CURRENT_DOCUMENT','string':'Current\x20document'});case'AI_CHAT_CONTEXT_PASTED_TEXT_NAME':return t({'id':'AI_CHAT_CONTEXT_PASTED_TEXT_NAME','string':'Pasted\x20Text'});case'AI_CHAT_DROP_ZONE_HINT':return t({'id':'AI_CHAT_DROP_ZONE_HINT','string':'Drop\x20files\x20here\x20to\x20add\x20to\x20the\x20chat'});case'AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT':return t({'id':'AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT','string':'Remove\x20from\x20context'});case'AI_CHAT_CONTEXT_ADD_CONTEXT':return t({'id':'AI_CHAT_CONTEXT_ADD_CONTEXT','string':'Add\x20context'});case'AI_CHAT_CONTEXT_URL_LABEL':return t({'id':'AI_CHAT_CONTEXT_URL_LABEL','string':'URL'});case'AI_CHAT_CONTEXT_FILE_LABEL':return t({'id':'AI_CHAT_CONTEXT_FILE_LABEL','string':'File'});case'AI_CHAT_CONTEXT_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.'},_0x40663a);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'},_0x40663a);case'AI_CHAT_SUGGESTION_ACTION_SUGGEST':return t({'id':'AI_CHAT_SUGGESTION_ACTION_SUGGEST','string':'Suggest'},_0x40663a);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'},_0x40663a);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.'},_0x40663a);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.'},_0x40663a);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.'},_0x40663a);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.'},_0x40663a);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'},_0x40663a);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.'},_0x40663a);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 _0x100502;}}function sa(_0x189671){return _0x189671?_0x189671 instanceof _0x181fa1?[_0x189671]:_0x189671['editors']&&0x0!==_0x189671['editors']['length']?Array['from'](_0x189671['editors']):[]:[];}function na(_0x2c4906){const _0x36147d=sa(_0x2c4906);if(!_0x36147d['length'])throw new _0x5b5a95('ai-get-editor-from-context-no-editor');if(0x1===_0x36147d['length'])return _0x36147d[0x0];const _0x471a65=_0x36147d['find'](_0xb1f9e1=>_0xb1f9e1['ui']?.['focusTracker']?.['isFocused']);if(_0x471a65)return _0x471a65;const _0x8d5a39=function(_0xa1de01){if(_0xa1de01 instanceof _0x181fa1)return;const _0x108071=_0xa1de01;if(!_0x108071['plugins']||!_0x108071['plugins']['has']('AIEditing'))return;return _0x108071['plugins']['get']('AIEditing')['getLastContentFocusedEditor']?.();}(_0x2c4906);return _0x8d5a39&&_0x36147d['includes'](_0x8d5a39)?_0x8d5a39:_0x36147d[0x0];}const ra='ai-selection',oa=['br'];var aa=class extends _0x2de7b2{constructor(_0xc536e2){super(_0xc536e2),this['context']['config']['define']('ai.models.showModelSelector',!0x0);}['_outputDataProcessor'];['_fakeSelections']=[];['_sessionIdByEditor']=new WeakMap();['_lastContentFocusedEditor'];static get['pluginName'](){return'AIEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['getLastContentFocusedEditor'](){return this['_lastContentFocusedEditor'];}['getSessionId'](_0x4ceb9d){let _0x33e20c=this['_sessionIdByEditor']['get'](_0x4ceb9d);return _0x33e20c||(_0x33e20c=_0x4ceb9d['plugins']['has']('RealTimeCollaborationClient')&&_0x4ceb9d['plugins']['get']('RealTimeCollaborationClient')['sessionId']||_0x10825a(),this['_sessionIdByEditor']['set'](_0x4ceb9d,_0x33e20c)),_0x33e20c;}async['getDocumentData'](){const _0x34c64e=sa(this['context']);if(!_0x34c64e['length'])throw new _0x5b5a95('ai-get-editor-from-context-no-editor');const _0xb26070=[],_0x52ad1b=new Set();for(const _0x10777a of _0x34c64e){const _0xb45790=_0x10777a['config']['get']('roots')||{};for(const _0x4ee92c of _0x10777a['model']['document']['getRoots']()){if('$graveyard'===_0x4ee92c['rootName'])continue;const _0x97f7a1=await this['_getDocumentDataForEditorRoot'](_0x10777a,_0x4ee92c,_0x52ad1b),_0xb09589=_0xb45790[_0x4ee92c['rootName']],_0xd38f1a=_0x4ee92c['getAttribute']('$description')??_0xb09589?.['description'];let _0x3442be=_0x4ee92c['getAttribute']('$title')??_0xb09589?.['title'];_0x3442be||(_0x3442be=_0x4ee92c['getAttribute']('$rootEditableOptions')?.['label']??_0xb09589?.['label']),_0x3442be||(_0x43c457('ai-document-root-missing-title',{'editor':_0x10777a,'rootName':_0x4ee92c['rootName']}),_0x3442be=_0x4ee92c['rootName']),_0xb26070['push']({'editor':_0x10777a,'rootName':_0x4ee92c['rootName'],'content':_0x97f7a1['content'],'version':_0x97f7a1['version'],'sessionId':this['getSessionId'](_0x10777a),'channelId':_0x10777a['config']['get']('collaboration.channelId'),'selections':_0x97f7a1['selections'],'name':_0x3442be,'description':_0xd38f1a});}}return _0xb26070;}async['_getDocumentDataForEditorRoot'](_0x332189,_0x3a4cfa,_0x3ff50d){const _0x1da620=_0x332189['data']['toView'](_0x3a4cfa,{'convertAiChatSelectionMarker':!0x0}),_0x330259=new _0x2fa5e0(_0x332189['editing']['view']['document']);this['_setDataIdsOnChildren'](_0x1da620,_0x330259,_0x3ff50d);let _0xb1e026=await this['_getDocumentDataStringFromView'](_0x1da620,_0x332189);const _0x2b20f6=this['_getMarkersInDocumentOrder'](_0x332189,_0x3a4cfa),_0x53671a=[];for(const _0x8024f1 of _0x2b20f6){const _0x695810='<'+_0x8024f1['name']+':start></'+_0x8024f1['name']+':start>',_0x201e81=_0xb1e026['indexOf'](_0x695810);_0xb1e026=_0xb1e026['substring'](0x0,_0x201e81)+_0xb1e026['substring'](_0x201e81+_0x695810['length']);const _0x1c7e57='<'+_0x8024f1['name']+':end></'+_0x8024f1['name']+':end>',_0x5970d6=_0xb1e026['indexOf'](_0x1c7e57);_0xb1e026=_0xb1e026['substring'](0x0,_0x5970d6)+_0xb1e026['substring'](_0x5970d6+_0x1c7e57['length']),_0x53671a['push']({'markerName':_0x8024f1['name'],'start':_0x201e81,'end':_0x5970d6,'htmlFragment':_0xb1e026['substring'](_0x201e81,_0x5970d6)});}return{'content':_0xb1e026,'version':_0x332189['model']['document']['version'],'selections':_0x53671a};}['afterInit'](){this['context']instanceof _0x181fa1?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x41b50c,_0x3c7b5f)=>{_0x3c7b5f['on']('ready',()=>{this['_integrateEditor'](_0x3c7b5f);});});}['_setOutputDataProcessor'](_0x2851b1){this['_outputDataProcessor']=_0x2851b1;}async['_getDocumentDataStringFromView'](_0x4f593d,_0x3b602f){let _0x477068;if(this['_outputDataProcessor']){const _0x2a7cdd=_0x3b602f['data']['processor']['domConverter']['viewToDom'](_0x4f593d),_0x329a86=await this['_outputDataProcessor'](_0x2a7cdd);_0x477068=_0x3b602f['data']['processor']['htmlWriter']['getHtml'](_0x329a86);}else _0x477068=_0x3b602f['data']['processor']['toData'](_0x4f593d);return _0x477068;}['_integrateEditor'](_0x34ab1d){if(!_0x34ab1d['config']['get']('collaboration.channelId'))throw new _0x5b5a95('ai-missing-channel-id',_0x34ab1d);_0x34ab1d['ui']['focusTracker']['on']('change:isFocused',(_0xe78af2,_0x20ea84,_0x17804d)=>{_0x17804d&&(this['_lastContentFocusedEditor']=_0x34ab1d);}),_0x34ab1d['on']('destroy',()=>{this['_lastContentFocusedEditor']===_0x34ab1d&&(this['_lastContentFocusedEditor']=void 0x0);}),_0x34ab1d['conversion']['for']('editingDowncast')['markerToHighlight']({'model':ra,'view':({markerName:_0x319b80})=>({'classes':['ck-ai-assistant-ui_theme','ck-fake-ai-selection','ck-fake-ai-selection-'+_0x319b80['split'](':')[0x1]],'priority':0xc})}),_0x34ab1d['conversion']['for']('dataDowncast')['markerToElement']({'model':ra+':context','view':(_0x4495db,{writer:_0x4e7a2a,options:_0x53ab63})=>_0x53ab63['convertAiChatSelectionMarker']?_0x4e7a2a['createUIElement'](_0x4495db['markerName']+':'+(_0x4495db['isOpening']?'start':'end')):null});}['showFakeVisualSelection'](_0xb2774e){const _0x4173ef=this['_fakeSelections'][0x0]||null;this['_addFakeSelection'](_0xb2774e);const _0x4daa2e=this['_fakeSelections'][0x0]||null;this['_refreshFakeSelection'](_0x4173ef,_0x4daa2e);}['hideFakeVisualSelection'](_0x197912){const _0x374989=this['_fakeSelections'][0x0]||null;this['_removeFakeSelectionById'](_0x197912);const _0xd9b195=this['_fakeSelections'][0x0]||null;this['_refreshFakeSelection'](_0x374989,_0xd9b195);}async['modelToDataWithIds'](_0x5c34c2,_0x58076a){const _0x28f15c=_0x58076a['data']['toView'](_0x5c34c2),_0x2423eb=new _0x2fa5e0(_0x58076a['editing']['view']['document']);return this['_setDataIdsOnChildren'](_0x28f15c,_0x2423eb),this['_getDocumentDataStringFromView'](_0x28f15c,_0x58076a);}['_setDataIdsOnChildren'](_0x1d1aed,_0x5a9002,_0x18f4a6=new Set()){let _0x18f656=!0x1;for(const _0x3ab5b4 of _0x1d1aed['getChildren']()){if(!_0x3ab5b4['is']('view:element')||oa['includes'](_0x3ab5b4['name']))continue;const _0x6e660=_0x3ab5b4['is']('view:containerElement'),_0x43ee71=_0x3ab5b4['is']('view:emptyElement'),_0x52214f=_0x3ab5b4['is']('view:rawElement'),_0x51fa44=this['_setDataIdsOnChildren'](_0x3ab5b4,_0x5a9002,_0x18f4a6);_0x3ab5b4['hasAttribute']('data-id')?(_0x18f656=!0x0,_0x18f4a6['add'](_0x3ab5b4['getAttribute']('data-id'))):(_0x6e660||_0x43ee71||_0x52214f||_0x51fa44)&&(_0x5a9002['setAttribute']('data-id',this['_nextDataId'](_0x18f4a6),_0x3ab5b4),_0x18f656=!0x0);}return _0x18f656;}['_nextDataId'](_0x3bef54){let _0x4aaaa9;do{_0x4aaaa9='';for(let _0x54d562=0x0;_0x54d562<0x4;_0x54d562++)_0x4aaaa9+=String['fromCharCode'](0x61+Math['floor'](0x1a*Math['random']()));}while(_0x3bef54['has'](_0x4aaaa9));return _0x3bef54['add'](_0x4aaaa9),_0x4aaaa9;}['getSelectionText'](_0x52a34f){const _0x20cb3f=(_0x52a34f?_0x52a34f['model']:na(this['context'])['model'])['document']['selection'],_0x2d1712=[],_0x5ae0d1=Array['from'](_0x20cb3f['getRanges']());_0x5ae0d1['sort']((_0x5239a4,_0x2fc31c)=>_0x5239a4['start']['isBefore'](_0x2fc31c['start'])?-0x1:0x1);for(const _0x48e22d of _0x5ae0d1)for(const _0x3c3c3a of _0x48e22d['getItems']())_0x3c3c3a['is']('$textProxy')?_0x2d1712['push'](_0x3c3c3a['data']):_0x3c3c3a['is']('element')&&_0x2d1712['length']>0x0&&'\x20'!==_0x2d1712[_0x2d1712['length']-0x1]&&_0x2d1712['push']('\x20');return _0x2d1712['length']?'\x22'+_0x2d1712['join']('')['trim']()+'\x22':ia(this['context']['locale'],'AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL');}['_removeFakeSelectionById'](_0x4c5a54){for(let _0x3303cd=0x0;_0x3303cd<this['_fakeSelections']['length'];_0x3303cd++)if(this['_fakeSelections'][_0x3303cd]['id']==_0x4c5a54)return void this['_fakeSelections']['splice'](_0x3303cd,0x1);}['_addFakeSelection'](_0x32b04a){this['_removeFakeSelectionById'](_0x32b04a['id']),_0x3169a6(this['_fakeSelections'],_0x32b04a);}['_refreshFakeSelection'](_0x196758,_0x5e87d8){if(_0x196758==_0x5e87d8)return;const _0x1db898=_0x196758?_0x196758['editor']:null,_0x4d516f=_0x5e87d8?_0x5e87d8['editor']:null,_0x3624ca=(_0x3296eb,_0x15124a)=>{const _0x51dae6=_0x15124a['model']['markers']['getMarkersGroup'](ra);for(const _0x5c1b73 of _0x51dae6)_0x3296eb['removeMarker'](_0x5c1b73);},_0x11b468=(_0x3ab51c,_0x50953c,_0x2b5e8b)=>{const _0x426e91=_0x50953c['model'];for(let _0x492045=0x0;_0x492045<_0x2b5e8b['ranges']['length'];_0x492045++){let _0x281992=_0x2b5e8b['ranges'][_0x492045];const _0x39745a=ra+':'+_0x2b5e8b['id']+':'+_0x492045;if(_0x281992['start']['isAtEnd']){const _0x42846f=_0x281992['start']['getLastMatchingPosition'](({item:_0x232914})=>!_0x426e91['schema']['isContent'](_0x232914),{'boundaries':_0x281992});_0x281992=_0x3ab51c['createRange'](_0x42846f,_0x281992['end']);}_0x3ab51c['addMarker'](_0x39745a,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x281992});}};_0x1db898&&_0x4d516f&&_0x1db898===_0x4d516f&&_0x5e87d8?_0x1db898['model']['change'](_0x5c27c4=>{_0x3624ca(_0x5c27c4,_0x1db898),_0x11b468(_0x5c27c4,_0x4d516f,_0x5e87d8);}):(_0x1db898&&_0x1db898['model']['change'](_0x14e5ad=>_0x3624ca(_0x14e5ad,_0x1db898)),_0x4d516f&&_0x5e87d8&&_0x4d516f['model']['change'](_0x57d140=>_0x11b468(_0x57d140,_0x4d516f,_0x5e87d8)));}['_getMarkersInDocumentOrder'](_0x236923,_0x3efa39){const _0x17848e=Array['from'](_0x236923['model']['markers']['getMarkersGroup'](ra+':context'));return(_0x3efa39?_0x17848e['filter'](_0x1f2010=>{const _0x4ed909=_0x1f2010['getRange']();return _0x4ed909&&_0x4ed909['root']['rootName']===_0x3efa39['rootName'];}):_0x17848e)['sort']((_0x4fa0aa,_0x2e9bc2)=>_0x4fa0aa['getStart']()['isBefore'](_0x2e9bc2['getStart']())?-0x1:_0x4fa0aa['getStart']()['isAfter'](_0x2e9bc2['getStart']())?0x1:0x0);}},ca=class extends _0x2de7b2{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x1dd45e,_0x2eb853){let _0x4b74c7;if(_0x2eb853||(_0x2eb853=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x2eb853?_0x4b74c7=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x4b74c7=this['context']['editors']['find'](_0x2dd2f1=>_0x2dd2f1['config']['get']('collaboration.channelId')==_0x2eb853)),!_0x4b74c7)throw new _0x5b5a95('permissions-set-permissions-invalid-channel-id',null);const _0xf02b8d=_0x4b74c7['plugins'],_0x594e77=_0xf02b8d['has']('CommentsRepository')?_0xf02b8d['get']('CommentsRepository'):void 0x0,_0x486ff8=_0xf02b8d['has']('CommentsOnly')&&_0xf02b8d['get']('CommentsOnly'),_0x25b3c4=_0x1dd45e['includes']('document:write'),_0xff3fb2=_0x1dd45e['includes']('comment:modify_all'),_0x2d679f=_0x1dd45e['includes']('comment:admin'),_0x2066a0=_0x1dd45e['includes']('comment:write'),_0x1fb014=_0x2066a0||_0x2d679f,_0x31668c=_0x1fb014||_0xff3fb2,_0x22e882=_0x25b3c4||_0x1fb014;if(_0x486ff8&&(_0x486ff8['isEnabled']=!_0x25b3c4&&_0x31668c),_0x4b74c7 instanceof _0x181fa1&&(_0x25b3c4||_0x31668c&&_0x594e77?_0x4b74c7['disableReadOnlyMode']('no-permissions'):_0x4b74c7['enableReadOnlyMode']('no-permissions')),_0x594e77){_0x594e77['setPermissions']({'admin':_0x2d679f,'modifyAll':_0xff3fb2,'write':_0x2066a0,'resolve':_0x22e882},_0x2eb853);const _0xff5b4e=_0x4b74c7 instanceof _0x181fa1&&_0x4b74c7['commands']['get']('addCommentThread');_0xff5b4e&&(_0x1fb014?_0xff5b4e['clearForceDisabled']('noPermissions'):_0xff5b4e['forceDisabled']('noPermissions'));}}};function la(_0x271637,_0x35755f){const t=_0x271637['t'];switch(_0x35755f){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');case'Today':return t('Today');case'Yesterday':return t('Yesterday');case'Last':return t('Last');case'Monday':return t('Monday');case'Tuesday':return t('Tuesday');case'Wednesday':return t('Wednesday');case'Thursday':return t('Thursday');case'Friday':return t('Friday');case'Saturday':return t('Saturday');case'Sunday':return t('Sunday');default:return'';}}var ha=class extends _0x2de7b2{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ca];}constructor(_0x3ffe1a){super(_0x3ffe1a),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x23ea50(),this['_locale']=_0x3ffe1a['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:_0x48f80a,name:_0x565b00,..._0x44d9e0}){if(!_0x48f80a||'string'!=typeof _0x48f80a)throw new _0x5b5a95('users-add-invalid-id');if(this['users']['has'](_0x48f80a))throw new _0x5b5a95('users-add-duplicated-id',null,{'id':_0x48f80a});const _0x4a896c=this['context']['config']['get']('users.getInitialsCallback'),_0x387d67={..._0x44d9e0,'id':_0x48f80a,'name':da(this['_locale'],_0x565b00),'color':this['_getNextColor']()};_0x387d67['name']=da(this['_locale'],_0x387d67['name']);const _0xa52647=new ua(_0x387d67,_0x4a896c);return this['users']['add'](_0xa52647),_0xa52647;}['getUser'](_0x2fd779){return this['users']['get'](_0x2fd779);}['useAnonymousUser'](){const _0x54b894=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x54b894);}['defineMe'](_0x462caa){if(this['_myId'])throw new _0x5b5a95('users-me-already-defined',null);const _0x5eab7c=this['getUser'](_0x462caa);if(!_0x5eab7c)throw new _0x5b5a95('users-me-missing-user',null);this['_myId']=_0x462caa,_0x5eab7c['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x4db11b=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x4db11b&&(this['_lastColor']=0x0),new fa(this['_lastColor']++);}['_addAnonymousUser'](){const _0x972620=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x972620,'name':la(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}},ua=class{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x26ee8b,_0x144e9b){this['id']=_0x26ee8b['id'],this['color']=_0x26ee8b['color'],this['name']=_0x26ee8b['name'],this['initials']=_0x144e9b?_0x144e9b(this['name']):this['_computeInitials'](),this['avatar']=_0x26ee8b['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x4c9647=this['name']['split']('\x20')['filter'](_0x11507f=>/^[\p{Letter}]/u['test'](_0x11507f));return 0x1===_0x4c9647['length']?this['_getInitial'](_0x4c9647[0x0]):0x0===_0x4c9647['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x4c9647[0x0])+this['_getInitial'](_0x4c9647[_0x4c9647['length']-0x1]);}['_getInitial'](_0x3a6507){return String['fromCodePoint'](_0x3a6507['codePointAt'](0x0))['toUpperCase']();}};function da(_0x569a6f,_0x294acb=''){return''==(_0x294acb=_0x294acb['trim']())?la(_0x569a6f,'Anonymous'):_0x294acb;}var fa=class{['_id'];constructor(_0x5e3fb5){this['_id']=_0x5e3fb5;}get['id'](){return this['_id'];}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['id'];}['getSelectionClass'](){return'ck-user__selection--'+this['id'];}['getMarkerClass'](){return'ck-user__marker--'+this['id'];}['getColorVariable'](){return'var(--ck-user-colors--'+this['id']+',\x20var(--ck-user-colors--0))';}['getColorAlphaVariable'](){return'var(--ck-user-colors--'+this['id']+'-alpha,\x20var(--ck-user-colors--0-alpha))';}},ma=class extends _0x2df468{['name'];['notificationView'];constructor(_0x3fc0c3,_0x22a4dc,_0x4ccf5e,_0x29d745){super(_0x3fc0c3),this['name']=_0x22a4dc['name'],this['notificationView']=null;const _0xbc9e05=['ck','ck-user'],_0x523f63=['ck','ck-user__img'];_0x22a4dc['isAnonymous']&&_0x523f63['push']('ck-user__anonymous'),!_0x22a4dc['isAnonymous']&&_0x22a4dc['isMe']&&_0xbc9e05['push']('ck-user_me'),(_0x22a4dc['avatar']||_0x29d745)&&_0x523f63['push']('ck-user__avatar');let _0x506a2f=null;if(_0x29d745&&(_0x506a2f=new _0x5902c2(),_0x506a2f['content']=_0x29d745,_0x506a2f['extendTemplate']({'attributes':{'class':['ck-user__avatar-icon']}})),_0x4ccf5e){const _0x59b484=new _0x5902c2();_0x59b484['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x59b484['content']=Lt,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x4ccf5e},'children':[_0x59b484]};}const _0x3d671c=[{'tag':'div','attributes':{'class':_0x523f63,'style':{'background-image':_0x22a4dc['avatar']&&!_0x29d745?'url(\x27'+_0x22a4dc['avatar']+'\x27)':''}},'children':_0x506a2f?[_0x506a2f]:[]},{'tag':'div','attributes':{'class':_0x22a4dc['avatar']||_0x29d745?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x22a4dc['name']},'children':[{'text':_0x22a4dc['initials']}]}];this['notificationView']&&_0x3d671c['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0xbc9e05,'data-user-id':_0x22a4dc['id']},'children':_0x3d671c});}},pa=class extends _0x2df468{['children'];['iconView'];['labelView'];constructor(_0x278fc1){super(_0x278fc1);const _0x3257f8=this['bindTemplate'];this['set']('icon',void 0x0),this['set']('label',void 0x0),this['set']('tooltip',void 0x0),this['set']('tooltipPosition','n'),this['set']('tooltipClass',void 0x0),this['set']('iconPosition','left'),this['set']('class',void 0x0),this['children']=this['createCollection'](),this['iconView']=this['_createIconView'](),this['labelView']=this['_createLabelView'](),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-pill',_0x3257f8['to']('class'),_0x3257f8['to']('iconPosition',_0xd24bdf=>'right'===_0xd24bdf?'ck-pill_icon-right':'')],'data-cke-tooltip-text':_0x3257f8['to']('tooltip'),'data-cke-tooltip-position':_0x3257f8['to']('tooltipPosition'),'data-cke-tooltip-class':_0x3257f8['to']('tooltipClass')},'children':this['children']});}['render'](){super['render'](),this['icon']&&this['children']['add'](this['iconView']),this['children']['add'](this['labelView']),this['on']('change:icon',(_0x2db5f4,_0x4b7b70,_0x592c17,_0x2c25ce)=>{_0x592c17&&!_0x2c25ce?this['children']['add'](this['iconView'],0x0):!_0x592c17&&_0x2c25ce&&this['children']['remove'](this['iconView']);});}['_createIconView'](){const _0x21bd21=new _0x5902c2();return _0x21bd21['extendTemplate']({'attributes':{'class':'ck-pill__icon'}}),_0x21bd21['bind']('content')['to'](this,'icon'),_0x21bd21;}['_createLabelView'](){const _0x3fcb3b=new _0x2df468(this['locale']),_0x1604b1=this['bindTemplate'];return _0x3fcb3b['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-pill__label']},'children':[{'text':_0x1604b1['to']('label')}]}),_0x3fcb3b;}},ga=class extends _0x2df468{['id'];constructor(_0x44e6db,_0x148d99){super(_0x44e6db),this['id']='ck-aria-description-'+_0x10825a(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x148d99}]});}},Oa=class extends _0x47ddb0{['render'](){super['render'](),ba(this);}},wa=class extends _0x2a23a4{['render'](){super['render'](),ba(this);}};function ba(_0x570c1f){_0x570c1f['listenTo'](_0x570c1f['element'],'mousedown',(_0xe21588,_0x606fb1)=>{_0x606fb1['stopPropagation'](),_0x606fb1['preventDefault']();}),_0x570c1f['listenTo'](_0x570c1f['element'],'mouseup',()=>{_0x570c1f['element']['focus']();});}function ya(_0x5ae5f1){const _0x173737=_0x5ae5f1['split'](':');return{'group':_0x173737[0x0],'type':_0x173737[0x1],'subType':_0x173737['length']>=0x5?_0x173737[0x2]:null,'id':_0x173737['length']<0x5?_0x173737[0x2]:_0x173737[0x3],'authorId':_0x173737['length']<0x5?_0x173737[0x3]:_0x173737[0x4],'markerCount':0x6==_0x173737['length']?_0x173737[0x5]:null};}function va(_0x286c44,_0x18b8d2){const _0x23f5a8=_0x286c44['end']['nodeBefore'];if(_0x23f5a8&&_0x23f5a8['is']('element')&&_0x18b8d2['schema']['isBlock'](_0x23f5a8)&&!_0x18b8d2['schema']['isObject'](_0x23f5a8)){const _0x14db6d=_0x18b8d2['createPositionAt'](_0x23f5a8,'end');return _0x18b8d2['createRange'](_0x286c44['start'],_0x14db6d);}return _0x286c44;}var _a=class extends _0x36b920{['afterInit'](){const _0x52b461=this['editor'];_0x52b461['plugins']['has']('AlignmentEditing')&&_0x52b461['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}};const Ea=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];var Ta=class extends _0x36b920{['afterInit'](){const _0x2b04f9=this['editor'],_0x2a15de=_0x2b04f9['plugins']['get']('SuggestionsConversion');for(const _0x4053aa of Ea){if(!_0x2b04f9['plugins']['has'](_0x4053aa))continue;const _0x1624d8=_0x4053aa['slice'](0x0,-0x7)['toLowerCase']();_0x2a15de['registerInlineAttribute'](_0x1624d8);}}},Aa=class extends _0x36b920{['afterInit'](){const _0x4ca783=this['editor'],_0x274301=_0x4ca783['plugins']['get']('SuggestionsConversion');_0x4ca783['plugins']['has']('BookmarkEditing')&&_0x274301['registerBlockAttribute']('bookmarkId');}};const Sa=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];var Ia=class extends _0x36b920{['afterInit'](){const _0x36d8ba=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x580b79,commandName:_0x5648be}of Sa)this['editor']['plugins']['has'](_0x580b79)&&_0x36d8ba['registerInlineAttribute'](_0x5648be);}},ka=class extends _0x36b920{['afterInit'](){const {editor:_0x45bf9d}=this;if(!_0x45bf9d['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x13e043=_0x45bf9d['plugins']['get']('SuggestionsConversion');_0x13e043['registerBlockAttribute']('footnotesListStyle'),_0x13e043['registerBlockAttribute']('footnotesListStart');}},xa=class extends _0x36b920{['afterInit'](){const _0x31738a=this['editor'];if(!_0x31738a['plugins']['has']('GeneralHtmlSupport')||!_0x31738a['plugins']['has']('DataSchema'))return;const _0xa6d9ed=_0x31738a['plugins']['get']('SuggestionsConversion'),_0x3e7825=_0x31738a['plugins']['get']('GeneralHtmlSupport'),_0x6e8c01=_0x31738a['plugins']['get']('DataSchema');for(const _0x2675da of _0x6e8c01['getDefinitionsForView'](/.*/,!0x1)){const _0x30390f=_0x3e7825['getGhsAttributeNameForElement'](_0x2675da['view']);!_0x2675da['isInline']||_0x2675da['isObject']||'appliesToBlock'in _0x2675da&&_0x2675da['appliesToBlock']?_0xa6d9ed['registerBlockAttribute'](_0x30390f):_0xa6d9ed['registerInlineAttribute'](_0x30390f);}}},Ca=class extends _0x36b920{['afterInit'](){const _0xfbb1ee=this['editor'];_0xfbb1ee['plugins']['has']('HighlightEditing')&&_0xfbb1ee['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}},Ra=class extends _0x36b920{['afterInit'](){const _0x4a2621=this['editor'];_0x4a2621['plugins']['has']('HtmlEmbed')&&_0x4a2621['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}},Pa=class extends _0x36b920{['afterInit'](){const _0x43187d=this['editor'];if(!_0x43187d['plugins']['has']('ImageEditing'))return;const _0x3f9234=_0x43187d['plugins']['get']('SuggestionsConversion');_0x3f9234['registerBlockAttribute']('src'),_0x43187d['plugins']['has']('ImageResize')&&_0x3f9234['registerBlockAttribute']('resizedWidth'),_0x43187d['plugins']['has']('ImageTextAlternativeEditing')&&_0x3f9234['registerBlockAttribute']('alt'),_0x43187d['plugins']['has']('PictureEditing')&&_0x3f9234['registerBlockAttribute']('sources'),_0x43187d['plugins']['has']('ImageSizeAttributes')&&(_0x3f9234['registerBlockAttribute']('width'),_0x3f9234['registerBlockAttribute']('height'));}},Ma=class extends _0x36b920{['afterInit'](){const _0x15b289=this['editor'],_0x4ac01a=_0x15b289['plugins']['get']('SuggestionsConversion');_0x15b289['plugins']['has']('IndentBlock')&&(_0x4ac01a['registerBlockAttribute']('blockIndent'),_0x15b289['plugins']['has']('ListEditing')&&(_0x4ac01a['registerBlockAttribute']('blockIndentList'),_0x4ac01a['registerBlockAttribute']('blockIndentListItem')));}},Na=class extends _0x36b920{['afterInit'](){const _0x3c428c=this['editor'];_0x3c428c['plugins']['has']('LineHeight')&&_0x3c428c['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}},La=class extends _0x36b920{['afterInit'](){const _0xcb4fad=this['editor'];if(!_0xcb4fad['plugins']['has']('LinkEditing'))return;const _0x1f5291=_0xcb4fad['plugins']['get']('SuggestionsConversion'),_0x57d24f=_0xcb4fad['commands']['get']('link');_0x1f5291['registerInlineAttribute']('linkHref');for(const _0x556463 of _0x57d24f['manualDecorators'])_0x1f5291['registerInlineAttribute'](_0x556463['id']);}},$a=class extends _0x36b920{['afterInit'](){const _0x1d73a8=this['editor'];if(!_0x1d73a8['plugins']['has']('ListEditing'))return;const _0x5185e1=_0x1d73a8['plugins']['get']('SuggestionsConversion'),_0x1893d3=_0x1d73a8['plugins']['has']('TodoListEditing');_0x5185e1['registerBlockAttribute']('listItemId'),_0x5185e1['registerBlockAttribute']('listType'),_0x5185e1['registerBlockAttribute']('listIndent'),_0x1893d3&&_0x5185e1['registerBlockAttribute']('todoListChecked');}},Da=class extends _0x36b920{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x1db3ff=this['editor']['config']['get']('list.properties'),_0x22bc7e=this['editor']['plugins']['get']('SuggestionsConversion');_0x1db3ff['styles']&&_0x22bc7e['registerBlockAttribute']('listStyle'),_0x1db3ff['reversed']&&_0x22bc7e['registerBlockAttribute']('listReversed'),_0x1db3ff['startIndex']&&_0x22bc7e['registerBlockAttribute']('listStart');}},Qa=class extends _0x36b920{['afterInit'](){const _0x503f0f=this['editor'],_0x1f0173=_0x503f0f['plugins']['get']('SuggestionsConversion');_0x503f0f['plugins']['has']('MultiLevelList')&&_0x1f0173['registerBlockAttribute']('listMarkerStyle');}},ja=class extends _0x36b920{['afterInit'](){const _0x34fb68=this['editor'];if(!_0x34fb68['plugins']['has']('TableEditing'))return;const _0x3018df=_0x34fb68['plugins']['get']('SuggestionsConversion');_0x3018df['registerBlockAttribute']('headingRows'),_0x3018df['registerBlockAttribute']('headingColumns');}},Ua=class extends _0x36b920{['afterInit'](){const {plugins:_0x451702}=this['editor'];if(!_0x451702['has']('TablePropertiesEditing'))return;const _0x2f7b75=_0x451702['get']('SuggestionsConversion');for(const _0x418f77 of['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'])_0x2f7b75['registerBlockAttribute'](_0x418f77);}},Va=class extends _0x36b920{['afterInit'](){const _0xb780ab=this['editor'],_0x2f8380=_0xb780ab['plugins']['get']('SuggestionsConversion');_0xb780ab['plugins']['has']('TableLayout')&&_0x2f8380['registerBlockAttribute']('tableType');}},Ba=class extends _0x36b920{['afterInit'](){const _0x37c49f=this['editor'],_0x3e65f4=this['editor']['plugins']['get']('SuggestionsConversion');_0x37c49f['plugins']['has']('Uploadcare')&&_0x37c49f['plugins']['has']('UploadcareImageEdit')&&_0x3e65f4['registerBlockAttribute']('uploadcareImageId');}},Fa=class extends _0x36b920{['afterInit'](){const _0x2b3a6a=this['editor'];if(!_0x2b3a6a['plugins']['has']('ShiftEnter'))return;const _0x2271e5=_0x2b3a6a['plugins']['get']('SuggestionsConversion'),_0x252fee=(_0x212f9b,_0x516a46,_0x1ee6f3,_0x1901f3)=>{if(_0x1901f3&&!_0x1ee6f3['options']['showSuggestionHighlights'])return;if(!_0x1ee6f3['consumable']['test'](_0x516a46['markerRange'],_0x212f9b['name']))return;const _0x48ac48=_0x2b3a6a['model'];for(const _0x3bc648 of _0x516a46['markerRange']['getItems']()){if(!_0x3bc648['is']('element','softBreak'))continue;const _0x16d9a0='deletion'==_0x516a46['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x5b72d7,authorId:_0x9eec28}=ya(_0x516a46['markerName']),_0x3888e=_0x1ee6f3['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x16d9a0,'data-suggestion':_0x5b72d7,'data-author-id':_0x9eec28}),_0x40bc27=_0x1ee6f3['mapper']['toViewPosition'](_0x48ac48['createPositionBefore'](_0x3bc648));!_0x1901f3&&_0x2271e5['_activeMarkers']['includes'](_0x516a46['markerName'])&&_0x1ee6f3['writer']['addClass']('ck-suggestion-marker--active',_0x3888e),_0x1ee6f3['writer']['insert'](_0x40bc27,_0x3888e),_0x1ee6f3['mapper']['bindElementToMarker'](_0x3888e,_0x516a46['markerName']);}};_0x2b3a6a['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x1e6cc1,_0x26ef30,_0x55aa28)=>{_0x252fee(_0x1e6cc1,_0x26ef30,_0x55aa28,!0x1);},{'priority':'high'}),_0x2b3a6a['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x311491,_0x5bce95,_0x4823fb)=>{_0x252fee(_0x311491,_0x5bce95,_0x4823fb,!0x1);},{'priority':'high'}),_0x2b3a6a['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x4d494a,_0x46e70c,_0x6a3268)=>{_0x252fee(_0x4d494a,_0x46e70c,_0x6a3268,!0x0);},{'priority':'high'}),_0x2b3a6a['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x5f0bb4,_0xbc7f77,_0x1d32ec)=>{_0x252fee(_0x5f0bb4,_0xbc7f77,_0x1d32ec,!0x0);},{'priority':'high'});}},Ha=class extends _0x36b920{['afterInit'](){const _0x19c65a=this['editor'];if(!_0x19c65a['plugins']['has']('MediaEmbedEditing'))return;const _0x3bda81=_0x19c65a['plugins']['get']('SuggestionsConversion');_0x19c65a['plugins']['has']('MediaEmbedResizeEditing')&&_0x3bda81['registerBlockAttribute']('resizedWidth'),_0x19c65a['plugins']['has']('MediaEmbedStyleEditing')&&_0x3bda81['registerBlockAttribute']('mediaStyle'),_0x19c65a['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x38be37,{writer:_0x3e5e87,options:_0x4ddd49})=>{if(_0x4ddd49['showSuggestionHighlights'])return _0x3e5e87['createEmptyElement']('div');},'converterPriority':'high'}),_0x19c65a['data']['downcastDispatcher']['on']('attribute:url:media',(_0x2d5f6e,_0x4d9583,_0x5b8cc9)=>{_0x5b8cc9['options']['showSuggestionHighlights']&&_0x2d5f6e['stop']();},{'priority':'high'});}},Za=class extends _0x36b920{['afterInit'](){const _0x273843=this['editor'];if(!_0x273843['plugins']['has']('Table'))return;_0x273843['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x1ed973,_0x540717,_0x352503)=>{((_0x1b3e71,_0x5599c6,_0x5657bd)=>{if(!_0x5657bd['options']['showSuggestionHighlights'])return;const _0x5463b1=_0x5599c6['item'];if(!_0x5463b1||!_0x5463b1['is']('element','tableCell'))return;const _0xfdd8a2=_0x5657bd['mapper']['toViewElement'](_0x5463b1);if(_0xfdd8a2){const {id:_0x19bbd9,authorId:_0x4f77c8}=ya(_0x5599c6['markerName']);_0x10133a(_0xfdd8a2,_0x5657bd['writer'],(_0x427379,_0x50bed3,_0x94d65c)=>{_0x94d65c['addClass'](_0x6cf79c(_0x50bed3['classes']),_0x427379),_0x94d65c['setAttribute']('data-suggestion',_0x19bbd9,_0x427379),_0x94d65c['setAttribute']('data-author-id',_0x4f77c8,_0x427379);});}})(0x0,_0x540717,_0x352503);},{'priority':'highest'});}},Ga=class extends _0x36b920{['afterInit'](){const _0x1c25f4=this['editor'];_0x1c25f4['plugins']['has']('HorizontalLineEditing')&&_0x1c25f4['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x12c6e7,{writer:_0x1984d5,options:_0x750c76})=>{if(!_0x750c76['showSuggestionHighlights'])return null;const _0x2efaa5=_0x1984d5['createContainerElement']('div'),_0x5325ca=_0x1984d5['createEmptyElement']('hr');return _0x1984d5['addClass']('ck-horizontal-line',_0x2efaa5),_0x1984d5['insert'](_0x1984d5['createPositionAt'](_0x2efaa5,0x0),_0x5325ca),_0x2efaa5;},'converterPriority':'high'});}},Xa=class extends _0x36b920{['afterInit'](){const {plugins:_0xb15650,model:_0x1c34fb}=this['editor'];if(!_0xb15650['has']('TableCellPropertiesEditing'))return;const _0x3e7899=_0xb15650['get']('SuggestionsConversion');for(const _0x4b7a30 of['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'])_0x3e7899['registerBlockAttribute'](_0x4b7a30);_0x1c34fb['schema']['checkAttribute']('tableCell','tableCellType')&&_0x3e7899['registerBlockAttribute']('tableCellType');}},qa=class extends _0x36b920{['afterInit'](){const _0x34e415=this['editor'];_0x34e415['plugins']['has']('TableEditing')&&_0x34e415['config']['get']('table.enableFooters')&&_0x34e415['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('footerRows');}},Wa=class extends _0x36b920{['_activeMarkers']=[];['_blockAttributeKeys']=new Set(['$elementName']);['_inlineAttributeKeys']=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get['requires'](){return[_a,Ta,Aa,Ia,ka,xa,Ca,Ga,Ra,Pa,Ma,Na,La,$a,Da,Ha,Qa,Fa,Za,ja,qa,Va,Xa,Ua,Ba];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x15f096=this['editor'],_0x3e1ab0=(_0x20ef35,_0x1b10a3,_0x1bb711)=>{const {id:_0x4e9ffc,authorId:_0xbf6fa0,type:_0x2ab89c,subType:_0x1802b1}=ya(_0x20ef35['markerName']),_0x25fc1f=['ck-suggestion-marker',this['_getClassName'](_0x2ab89c,_0x1802b1)];let _0x4547f1=0xbb8;return _0x1bb711||this['_activeMarkers']['includes'](_0x20ef35['markerName'])&&(_0x25fc1f['push']('ck-suggestion-marker--active'),_0x4547f1=0xbc2),'deletion'==_0x2ab89c&&(_0x4547f1+=0x5),{'classes':_0x25fc1f,'attributes':{'data-suggestion':_0x4e9ffc,'data-author-id':_0xbf6fa0},'priority':_0x4547f1};};_0x15f096['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x1b3a82,_0x279c05)=>_0x3e1ab0(_0x1b3a82,0x0,!0x1)}),_0x15f096['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x2046bc,_0x1ae1a7)=>_0x3e1ab0(_0x2046bc,0x0,!0x0)}),_0x15f096['conversion']['for']('dataDowncast')['add'](_0x3cf5be=>{_0x3cf5be['on']('addMarker:suggestion',(_0x333fc2,_0x2f1e47,_0x2726ba)=>{if(!_0x2726ba['options']['showSuggestionHighlights'])return;const _0x5d4059=_0x2f1e47['item'];if(!_0x5d4059)return;const _0x1af773=_0x2726ba['mapper']['toViewElement'](_0x5d4059);_0x15f096['model']['schema']['isObject'](_0x5d4059)&&_0x1af773&&!_0x1af773['getCustomProperty']('widget')&&_0x1af773['is']('containerElement')&&_0x3c4b67(_0x1af773,_0x2726ba['writer']);},{'priority':'high'});});const _0x5661db=(_0x433b43,_0x21ea04,_0x3b439e,_0xfcc2b8,_0x137a84)=>{if(_0xfcc2b8&&!_0x3b439e['options']['showSuggestionHighlights'])return;if(!_0x21ea04['item'])return;const {id:_0x2aa4a8,authorId:_0x25e3ca,subType:_0x3f7922}=ya(_0x21ea04['markerName']);if(_0x137a84){const _0x46330d=_0x3f7922['split']('|')[0x0];if(!this['isBlockAttribute'](_0x46330d))return;}if(_0x21ea04['item']['is']('selection'))return void _0x3b439e['consumable']['consume'](_0x21ea04['item'],_0x433b43['name']);const _0x3f8f84=_0x3b439e['mapper']['toViewElement'](_0x21ea04['item']);if(_0x21ea04['item']['is']('element')&&_0x15f096['model']['schema']['isBlock'](_0x21ea04['item'])&&!_0x3f8f84['getCustomProperty']('addHighlight')){_0x3b439e['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x3f8f84),_0x3b439e['writer']['setAttribute']('data-suggestion',_0x2aa4a8,_0x3f8f84),_0x3b439e['writer']['setAttribute']('data-author-id',_0x25e3ca,_0x3f8f84),_0x3b439e['mapper']['bindElementToMarker'](_0x3f8f84,_0x21ea04['markerName']),_0xfcc2b8||(this['_activeMarkers']['includes'](_0x21ea04['markerName'])?_0x3b439e['writer']['addClass']('ck-suggestion-marker--active',_0x3f8f84):_0x3b439e['writer']['removeClass']('ck-suggestion-marker--active',_0x3f8f84));for(const _0x2612f6 of _0x15f096['model']['createRangeIn'](_0x21ea04['item'])['getItems']())_0x3b439e['consumable']['consume'](_0x2612f6,_0x433b43['name']);_0x3b439e['consumable']['consume'](_0x21ea04['item'],_0x433b43['name']);}},_0x202708=(_0x4ef655,_0x4a814a,_0x3797f1,_0x213b0d)=>{const _0x12c10d=_0x3797f1['mapper']['markerNameToElements'](_0x4a814a['markerName']);if(_0x12c10d){if(_0x213b0d){const {subType:_0x10be2f}=ya(_0x4a814a['markerName']),_0x4ad5d6=_0x10be2f['split']('|')[0x0];if(!this['isBlockAttribute'](_0x4ad5d6))return;}for(const _0x21c7ab of _0x12c10d)_0x21c7ab['getCustomProperty']('addHighlight')||(_0x3797f1['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x21c7ab),_0x3797f1['writer']['removeAttribute']('data-suggestion',_0x21c7ab),_0x3797f1['writer']['removeAttribute']('data-author-id',_0x21c7ab),_0x3797f1['mapper']['unbindElementFromMarkerName'](_0x21c7ab,_0x4a814a['markerName']));}};_0x15f096['conversion']['for']('editingDowncast')['add'](_0x2790de=>{_0x2790de['on']('addMarker:suggestion:formatBlock',(_0x1ea0a8,_0x39bacb,_0x365873)=>{_0x5661db(_0x1ea0a8,_0x39bacb,_0x365873,!0x1,!0x1);},{'priority':'high'});}),_0x15f096['conversion']['for']('editingDowncast')['add'](_0x3480e3=>{_0x3480e3['on']('addMarker:suggestion:attribute',(_0xe7e736,_0x4dc03c,_0x12a128)=>{_0x5661db(_0xe7e736,_0x4dc03c,_0x12a128,!0x1,!0x0);},{'priority':'high'});}),_0x15f096['conversion']['for']('editingDowncast')['add'](_0x4bdea9=>{_0x4bdea9['on']('removeMarker:suggestion:formatBlock',(_0x3e217a,_0x4955a9,_0x14a37e)=>{_0x202708(0x0,_0x4955a9,_0x14a37e,!0x1);},{'priority':'high'});}),_0x15f096['conversion']['for']('editingDowncast')['add'](_0x2ee1cb=>{_0x2ee1cb['on']('removeMarker:suggestion:attribute',(_0x63a0f,_0x2c42f4,_0xcd1b28)=>{_0x202708(0x0,_0x2c42f4,_0xcd1b28,!0x0);},{'priority':'high'});}),_0x15f096['conversion']['for']('dataDowncast')['add'](_0x5a93cd=>{_0x5a93cd['on']('addMarker:suggestion:formatBlock',(_0x82c120,_0x4f394b,_0x4f2a69)=>{_0x5661db(_0x82c120,_0x4f394b,_0x4f2a69,!0x0,!0x1);},{'priority':'highest'});}),_0x15f096['conversion']['for']('dataDowncast')['add'](_0x11f23a=>{_0x11f23a['on']('addMarker:suggestion:attribute',(_0x1e4191,_0x50a5c5,_0xe5d38e)=>{_0x5661db(_0x1e4191,_0x50a5c5,_0xe5d38e,!0x0,!0x0);},{'priority':'highest'});}),_0x15f096['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x164d4b,_0x4fe622)=>_0x4fe622['options']['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x164d4b['substr'](0xb)}});const _0x30245d=(_0x3060dd,_0x21252d,_0x1243d6,_0x49b119,_0x1519c6)=>{if(_0x49b119&&!_0x1243d6['options']['showSuggestionHighlights'])return;if(!_0x1243d6['consumable']['test'](_0x21252d['markerRange'],_0x3060dd['name']))return;const _0x46adbc=this['_activeMarkers'],_0x8f65e1=_0x21252d['markerRange']['getWalker'](),_0x35e5b5=_0x21252d['markerRange']['start'],_0x2494fd=_0x15f096['model']['schema'];let _0x581493=null,_0x25f9c8=null,_0x57f833=!0x1,_0x292000=!0x1;for(const _0x439754 of _0x8f65e1){const _0x43923a=_0x439754['item'];_0x57f833=_0x57f833||_0x2494fd['isContent'](_0x43923a);const _0x20d561=_0x1243d6['mapper']['toViewElement'](_0x43923a);if(_0x20d561&&_0x20d561['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x439754['type']&&(_0x2494fd['isBlock'](_0x43923a)&&!_0x2494fd['isLimit'](_0x43923a)&&(_0x43923a['nextSibling']||_0x35e5b5['isAtEnd']?_0x581493&&_0x581493['parent']==_0x43923a||(_0x581493=_0x43923a,_0x507b92(_0x439754['previousPosition']),_0x292000=!0x0):_0x25f9c8=_0x25f9c8||_0x439754['previousPosition']));}function _0x507b92(_0x1ce466){const {id:_0x13f74e,authorId:_0x522de7}=ya(_0x21252d['markerName']),_0x325878=_0x1243d6['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1519c6,'data-suggestion':_0x13f74e,'data-author-id':_0x522de7}),_0x594c6c=_0x1243d6['mapper']['toViewPosition'](_0x1ce466);!_0x49b119&&_0x46adbc['includes'](_0x21252d['markerName'])&&_0x1243d6['writer']['addClass']('ck-suggestion-marker--active',_0x325878),_0x1243d6['writer']['insert'](_0x594c6c,_0x325878),_0x1243d6['mapper']['bindElementToMarker'](_0x325878,_0x21252d['markerName']);}_0x57f833||_0x292000||!_0x25f9c8||_0x507b92(_0x25f9c8);};_0x15f096['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x3e50d6,_0x3ce741,_0x2cc3c1)=>{_0x30245d(_0x3e50d6,_0x3ce741,_0x2cc3c1,!0x1,'merge');},{'priority':'high'}),_0x15f096['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x21a0e1,_0x3d94c0,_0x43d1d5)=>{_0x30245d(_0x21a0e1,_0x3d94c0,_0x43d1d5,!0x0,'merge');},{'priority':'high'}),_0x15f096['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x5e4140,_0x86012b,_0x1c11d7)=>{_0x30245d(_0x5e4140,_0x86012b,_0x1c11d7,!0x1,'split');},{'priority':'high'}),_0x15f096['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x1fc0b3,_0x21d857,_0x1b7d14)=>{_0x30245d(_0x1fc0b3,_0x21d857,_0x1b7d14,!0x0,'split');},{'priority':'high'}),_0x15f096['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x5b868b,_0x19143b,_0x5eecb6)=>{((_0x2633cd,_0x28d435,_0x3e7039)=>{const _0x3722b8=_0x3e7039['mapper']['markerNameToElements'](_0x28d435['markerName']);if(_0x3722b8){for(const _0x152b5d of _0x3722b8)(_0x152b5d['hasClass']('ck-suggestion-marker-split')||_0x152b5d['hasClass']('ck-suggestion-marker-merge'))&&(_0x3e7039['mapper']['unbindElementFromMarkerName'](_0x152b5d,_0x28d435['markerName']),_0x3e7039['writer']['remove'](_0x152b5d));}})(0x0,_0x19143b,_0x5eecb6);},{'priority':'high'});const _0x1c827b=(_0x534f51,_0x195d4c,_0x39b8d5,_0x1d5506)=>{if(_0x1d5506&&!_0x39b8d5['options']['showSuggestionHighlights'])return;const _0x364d42=_0x195d4c['markerRange']['start'],_0x565546=_0x195d4c['markerRange']['end'],_0x23515d=_0x15f096['model']['schema'];if(!_0x364d42['isTouching'](_0x565546)||!_0x364d42['nodeAfter'])return;const _0x34302b=_0x364d42['nodeAfter'];if(_0x23515d['isBlock'](_0x34302b)&&!_0x23515d['isLimit'](_0x34302b)&&_0x23515d['checkChild'](_0x34302b,'$text')){if(!_0x39b8d5['consumable']['consume'](_0x195d4c['markerRange'],_0x534f51['name']))return;const {id:_0x32f1ae,authorId:_0x4bd896}=ya(_0x195d4c['markerName']),_0x1dae56=_0x39b8d5['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x32f1ae,'data-author-id':_0x4bd896}),_0x946a1b=_0x39b8d5['mapper']['toViewPosition'](_0x565546);!_0x1d5506&&this['_activeMarkers']['includes'](_0x195d4c['markerName'])&&_0x39b8d5['writer']['addClass']('ck-suggestion-marker--active',_0x1dae56),_0x39b8d5['writer']['insert'](_0x946a1b,_0x1dae56),_0x39b8d5['mapper']['bindElementToMarker'](_0x1dae56,_0x195d4c['markerName']);}};_0x15f096['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x3b0d27,_0x2429c7,_0x398daf)=>{_0x1c827b(_0x3b0d27,_0x2429c7,_0x398daf,!0x1);},{'priority':'high'}),_0x15f096['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x4518aa,_0x13f936,_0x2a8801)=>{_0x1c827b(_0x4518aa,_0x13f936,_0x2a8801,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x546f1f,_0x907d50,_0x575dd0)=>{this['_activeMarkers']=_0x575dd0['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x1e88d5){this['_blockAttributeKeys']['add'](_0x1e88d5);}['registerInlineAttribute'](_0x5df340){this['_inlineAttributeKeys']['add'](_0x5df340);}['isBlockAttribute'](_0x5f3262){return this['_blockAttributeKeys']['has'](_0x5f3262);}['isInlineAttribute'](_0x655237){return this['_inlineAttributeKeys']['has'](_0x655237);}['isRegisteredAttribute'](_0x1d8d2d){return this['isInlineAttribute'](_0x1d8d2d)||this['isBlockAttribute'](_0x1d8d2d);}['_getClassName'](_0x3b9cec,_0x462c0e){if('attribute'!=_0x3b9cec)return'ck-suggestion-marker-'+_0x3b9cec;const _0x2b5752=_0x462c0e['split']('|')[0x0];return this['isBlockAttribute'](_0x2b5752)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}},za=class extends Error{},Ya=class extends za{constructor(_0x45efa4){super('Invalid\x20DateTime:\x20'+_0x45efa4['toMessage']());}},Ka=class extends za{constructor(_0x2d0c6d){super('Invalid\x20Interval:\x20'+_0x2d0c6d['toMessage']());}},Ja=class extends za{constructor(_0x52516a){super('Invalid\x20Duration:\x20'+_0x52516a['toMessage']());}},tc=class extends za{},ec=class extends za{constructor(_0x3a66da){super('Invalid\x20unit\x20'+_0x3a66da);}},ic=class extends za{},sc=class extends za{constructor(){super('Zone\x20is\x20an\x20abstract\x20class');}};const nc='numeric',rc='short',oc='long',ac={'year':nc,'month':nc,'day':nc},cc={'year':nc,'month':rc,'day':nc},lc={'year':nc,'month':rc,'day':nc,'weekday':rc},hc={'year':nc,'month':oc,'day':nc},uc={'year':nc,'month':oc,'day':nc,'weekday':oc},dc={'hour':nc,'minute':nc},fc={'hour':nc,'minute':nc,'second':nc},mc={'hour':nc,'minute':nc,'second':nc,'timeZoneName':rc},pc={'hour':nc,'minute':nc,'second':nc,'timeZoneName':oc},gc={'hour':nc,'minute':nc,'hourCycle':'h23'},Oc={'hour':nc,'minute':nc,'second':nc,'hourCycle':'h23'},wc={'hour':nc,'minute':nc,'second':nc,'hourCycle':'h23','timeZoneName':rc},bc={'hour':nc,'minute':nc,'second':nc,'hourCycle':'h23','timeZoneName':oc},yc={'year':nc,'month':nc,'day':nc,'hour':nc,'minute':nc},vc={'year':nc,'month':nc,'day':nc,'hour':nc,'minute':nc,'second':nc},_c={'year':nc,'month':rc,'day':nc,'hour':nc,'minute':nc},Ec={'year':nc,'month':rc,'day':nc,'hour':nc,'minute':nc,'second':nc},Tc={'year':nc,'month':rc,'day':nc,'weekday':rc,'hour':nc,'minute':nc},Ac={'year':nc,'month':oc,'day':nc,'hour':nc,'minute':nc,'timeZoneName':rc},Sc={'year':nc,'month':oc,'day':nc,'hour':nc,'minute':nc,'second':nc,'timeZoneName':rc},Ic={'year':nc,'month':oc,'day':nc,'weekday':oc,'hour':nc,'minute':nc,'timeZoneName':oc},kc={'year':nc,'month':oc,'day':nc,'weekday':oc,'hour':nc,'minute':nc,'second':nc,'timeZoneName':oc};var xc=class{get['type'](){throw new sc();}get['name'](){throw new sc();}get['ianaName'](){return this['name'];}get['isUniversal'](){throw new sc();}['offsetName'](_0x181660,_0x223c6e){throw new sc();}['formatOffset'](_0x230158,_0x1054aa){throw new sc();}['offset'](_0x3f6597){throw new sc();}['equals'](_0x157057){throw new sc();}get['isValid'](){throw new sc();}};let Cc=null;var Rc=class SystemZone extends xc{static get['instance'](){return null===Cc&&(Cc=new SystemZone()),Cc;}get['type'](){return'system';}get['name'](){return new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'];}get['isUniversal'](){return!0x1;}['offsetName'](_0x4b3f58,{format:_0x105243,locale:_0x3d9416}){return Yl(_0x4b3f58,_0x105243,_0x3d9416);}['formatOffset'](_0xe68a8c,_0x423422){return eh(this['offset'](_0xe68a8c),_0x423422);}['offset'](_0x5e2e80){return-new Date(_0x5e2e80)['getTimezoneOffset']();}['equals'](_0x5284af){return'system'===_0x5284af['type'];}get['isValid'](){return!0x0;}};const Pc=new Map(),Mc={'year':0x0,'month':0x1,'day':0x2,'era':0x3,'hour':0x4,'minute':0x5,'second':0x6},Nc=new Map();var Lc=class IANAZone extends xc{static['create'](_0x8a90f7){let _0x1a5f57=Nc['get'](_0x8a90f7);return void 0x0===_0x1a5f57&&Nc['set'](_0x8a90f7,_0x1a5f57=new IANAZone(_0x8a90f7)),_0x1a5f57;}static['resetCache'](){Nc['clear'](),Pc['clear']();}static['isValidSpecifier'](_0x4f6cb1){return this['isValidZone'](_0x4f6cb1);}static['isValidZone'](_0x3ab064){if(!_0x3ab064)return!0x1;try{return new Intl['DateTimeFormat']('en-US',{'timeZone':_0x3ab064})['format'](),!0x0;}catch(_0x554639){return!0x1;}}constructor(_0xb5e64b){super(),this['zoneName']=_0xb5e64b,this['valid']=IANAZone['isValidZone'](_0xb5e64b);}get['type'](){return'iana';}get['name'](){return this['zoneName'];}get['isUniversal'](){return!0x1;}['offsetName'](_0x147ed8,{format:_0x8cd46c,locale:_0x3955d3}){return Yl(_0x147ed8,_0x8cd46c,_0x3955d3,this['name']);}['formatOffset'](_0x483ad3,_0x14e6eb){return eh(this['offset'](_0x483ad3),_0x14e6eb);}['offset'](_0x4486b1){if(!this['valid'])return NaN;const _0x574714=new Date(_0x4486b1);if(isNaN(_0x574714))return NaN;const _0xcabacb=function(_0x579adf){let _0x19e846=Pc['get'](_0x579adf);return void 0x0===_0x19e846&&(_0x19e846=new Intl['DateTimeFormat']('en-US',{'hour12':!0x1,'timeZone':_0x579adf,'year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit','second':'2-digit','era':'short'}),Pc['set'](_0x579adf,_0x19e846)),_0x19e846;}(this['name']);let [_0x4c371c,_0x7f8654,_0x4c21b3,_0x3e146f,_0x24136c,_0x35cee2,_0x4edf1f]=_0xcabacb['formatToParts']?function(_0x367a25,_0x173af2){const _0x46076b=_0x367a25['formatToParts'](_0x173af2),_0x36b7e2=[];for(let _0x262c00=0x0;_0x262c00<_0x46076b['length'];_0x262c00++){const {type:_0x4db7f0,value:_0x4dd981}=_0x46076b[_0x262c00],_0x5dabdb=Mc[_0x4db7f0];'era'===_0x4db7f0?_0x36b7e2[_0x5dabdb]=_0x4dd981:Cl(_0x5dabdb)||(_0x36b7e2[_0x5dabdb]=parseInt(_0x4dd981,0xa));}return _0x36b7e2;}(_0xcabacb,_0x574714):function(_0x182c3e,_0x2a11f0){const _0x1fa613=_0x182c3e['format'](_0x2a11f0)['replace'](/\u200E/g,''),[,_0x3bcb9c,_0x2b6297,_0x3f2e7b,_0x5198f5,_0x21133e,_0x26dc90,_0x323880]=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/['exec'](_0x1fa613);return[_0x3f2e7b,_0x3bcb9c,_0x2b6297,_0x5198f5,_0x21133e,_0x26dc90,_0x323880];}(_0xcabacb,_0x574714);'BC'===_0x3e146f&&(_0x4c371c=0x1-Math['abs'](_0x4c371c));let _0x457cf3=+_0x574714;const _0x5bd694=_0x457cf3%0x3e8;return _0x457cf3-=_0x5bd694>=0x0?_0x5bd694:0x3e8+_0x5bd694,(Xl({'year':_0x4c371c,'month':_0x7f8654,'day':_0x4c21b3,'hour':0x18===_0x24136c?0x0:_0x24136c,'minute':_0x35cee2,'second':_0x4edf1f,'millisecond':0x0})-_0x457cf3)/0xea60;}['equals'](_0x512403){return'iana'===_0x512403['type']&&_0x512403['name']===this['name'];}get['isValid'](){return this['valid'];}};let $c={};const Dc=new Map();function Qc(_0x161e85,_0x323424={}){const _0x8c9bb6=JSON['stringify']([_0x161e85,_0x323424]);let _0x3f3bda=Dc['get'](_0x8c9bb6);return void 0x0===_0x3f3bda&&(_0x3f3bda=new Intl['DateTimeFormat'](_0x161e85,_0x323424),Dc['set'](_0x8c9bb6,_0x3f3bda)),_0x3f3bda;}const jc=new Map(),Uc=new Map();let Vc=null;const Bc=new Map();function Fc(_0x4e4484){let _0x4313fd=Bc['get'](_0x4e4484);return void 0x0===_0x4313fd&&(_0x4313fd=new Intl['DateTimeFormat'](_0x4e4484)['resolvedOptions'](),Bc['set'](_0x4e4484,_0x4313fd)),_0x4313fd;}const Hc=new Map();function Zc(_0x5cb120,_0xdf3cd2,_0x25576c,_0xe1cadd){const _0x156f7d=_0x5cb120['listingMode']();return'error'===_0x156f7d?null:'en'===_0x156f7d?_0x25576c(_0xdf3cd2):_0xe1cadd(_0xdf3cd2);}var Gc=class{constructor(_0xbb08f,_0x1aa4ec,_0x375321){this['padTo']=_0x375321['padTo']||0x0,this['floor']=_0x375321['floor']||!0x1;const {padTo:_0xcadfe9,floor:_0x31b540,..._0x1e1338}=_0x375321;if(!_0x1aa4ec||Object['keys'](_0x1e1338)['length']>0x0){const _0x536dee={'useGrouping':!0x1,..._0x375321};_0x375321['padTo']>0x0&&(_0x536dee['minimumIntegerDigits']=_0x375321['padTo']),this['inf']=function(_0xfff1bf,_0x3e1191={}){const _0x3cdc34=JSON['stringify']([_0xfff1bf,_0x3e1191]);let _0x487ac4=jc['get'](_0x3cdc34);return void 0x0===_0x487ac4&&(_0x487ac4=new Intl['NumberFormat'](_0xfff1bf,_0x3e1191),jc['set'](_0x3cdc34,_0x487ac4)),_0x487ac4;}(_0xbb08f,_0x536dee);}}['format'](_0x196fe0){if(this['inf']){const _0x520b48=this['floor']?Math['floor'](_0x196fe0):_0x196fe0;return this['inf']['format'](_0x520b48);}return jl(this['floor']?Math['floor'](_0x196fe0):Fl(_0x196fe0,0x3),this['padTo']);}},Xc=class{constructor(_0x4e8375,_0x5ce125,_0x25b9fa){let _0x4ca9c5;if(this['opts']=_0x25b9fa,this['originalZone']=void 0x0,this['opts']['timeZone'])this['dt']=_0x4e8375;else{if('fixed'===_0x4e8375['zone']['type']){const _0x1de451=_0x4e8375['offset']/0x3c*-0x1,_0x2673ac=_0x1de451>=0x0?'Etc/GMT+'+_0x1de451:'Etc/GMT'+_0x1de451;0x0!==_0x4e8375['offset']&&Lc['create'](_0x2673ac)['valid']?(_0x4ca9c5=_0x2673ac,this['dt']=_0x4e8375):(_0x4ca9c5='UTC',this['dt']=0x0===_0x4e8375['offset']?_0x4e8375:_0x4e8375['setZone']('UTC')['plus']({'minutes':_0x4e8375['offset']}),this['originalZone']=_0x4e8375['zone']);}else'system'===_0x4e8375['zone']['type']?this['dt']=_0x4e8375:'iana'===_0x4e8375['zone']['type']?(this['dt']=_0x4e8375,_0x4ca9c5=_0x4e8375['zone']['name']):(_0x4ca9c5='UTC',this['dt']=_0x4e8375['setZone']('UTC')['plus']({'minutes':_0x4e8375['offset']}),this['originalZone']=_0x4e8375['zone']);}const _0x253c5a={...this['opts']};_0x253c5a['timeZone']=_0x253c5a['timeZone']||_0x4ca9c5,this['dtf']=Qc(_0x5ce125,_0x253c5a);}['format'](){return this['originalZone']?this['formatToParts']()['map'](({value:_0x254622})=>_0x254622)['join'](''):this['dtf']['format'](this['dt']['toJSDate']());}['formatToParts'](){const _0x55b784=this['dtf']['formatToParts'](this['dt']['toJSDate']());return this['originalZone']?_0x55b784['map'](_0x44a933=>{if('timeZoneName'===_0x44a933['type']){const _0x488363=this['originalZone']['offsetName'](this['dt']['ts'],{'locale':this['dt']['locale'],'format':this['opts']['timeZoneName']});return{..._0x44a933,'value':_0x488363};}return _0x44a933;}):_0x55b784;}['resolvedOptions'](){return this['dtf']['resolvedOptions']();}},qc=class{constructor(_0x1e06b2,_0x3d8d6c,_0x1a30a8){this['opts']={'style':'long',..._0x1a30a8},!_0x3d8d6c&&Ml()&&(this['rtf']=function(_0xd0de03,_0x29eef6={}){const {base:_0x554f1d,..._0x3880e6}=_0x29eef6,_0x5ec9c7=JSON['stringify']([_0xd0de03,_0x3880e6]);let _0x2e4cbc=Uc['get'](_0x5ec9c7);return void 0x0===_0x2e4cbc&&(_0x2e4cbc=new Intl['RelativeTimeFormat'](_0xd0de03,_0x29eef6),Uc['set'](_0x5ec9c7,_0x2e4cbc)),_0x2e4cbc;}(_0x1e06b2,_0x1a30a8));}['format'](_0x53479a,_0x4fab09){return this['rtf']?this['rtf']['format'](_0x53479a,_0x4fab09):function(_0x28dee8,_0x286723,_0x2b1c9e='always',_0x158657=!0x1){const _0x581716={'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.']},_0x54f2db=-0x1===['hours','minutes','seconds']['indexOf'](_0x28dee8);if('auto'===_0x2b1c9e&&_0x54f2db){const _0x1f7b23='days'===_0x28dee8;switch(_0x286723){case 0x1:return _0x1f7b23?'tomorrow':'next\x20'+_0x581716[_0x28dee8][0x0];case-0x1:return _0x1f7b23?'yesterday':'last\x20'+_0x581716[_0x28dee8][0x0];case 0x0:return _0x1f7b23?'today':'this\x20'+_0x581716[_0x28dee8][0x0];}}const _0x86554c=Object['is'](_0x286723,-0x0)||_0x286723<0x0,_0x169661=Math['abs'](_0x286723),_0x281bac=0x1===_0x169661,_0x4eecf0=_0x581716[_0x28dee8],_0x1ea2bb=_0x158657?_0x281bac?_0x4eecf0[0x1]:_0x4eecf0[0x2]||_0x4eecf0[0x1]:_0x281bac?_0x581716[_0x28dee8][0x0]:_0x28dee8;return _0x86554c?_0x169661+'\x20'+_0x1ea2bb+'\x20ago':'in\x20'+_0x169661+'\x20'+_0x1ea2bb;}(_0x4fab09,_0x53479a,this['opts']['numeric'],'long'!==this['opts']['style']);}['formatToParts'](_0xc6bc57,_0x5e3489){return this['rtf']?this['rtf']['formatToParts'](_0xc6bc57,_0x5e3489):[];}};const Wc={'firstDay':0x1,'minimalDays':0x4,'weekend':[0x6,0x7]};var zc=class Locale{static['fromOpts'](_0x11e4ea){return Locale['create'](_0x11e4ea['locale'],_0x11e4ea['numberingSystem'],_0x11e4ea['outputCalendar'],_0x11e4ea['weekSettings'],_0x11e4ea['defaultToEN']);}static['create'](_0x5d13aa,_0x455c3b,_0x46f619,_0x3d774b,_0x44cd82=!0x1){const _0x18d710=_0x5d13aa||ml['defaultLocale'];return new Locale(_0x18d710||(_0x44cd82?'en-US':Vc||(Vc=new Intl['DateTimeFormat']()['resolvedOptions']()['locale'],Vc)),_0x455c3b||ml['defaultNumberingSystem'],_0x46f619||ml['defaultOutputCalendar'],Dl(_0x3d774b)||ml['defaultWeekSettings'],_0x18d710);}static['resetCache'](){Vc=null,Dc['clear'](),jc['clear'](),Uc['clear'](),Bc['clear'](),Hc['clear']();}static['fromObject']({locale:_0x44c58f,numberingSystem:_0x2b22ec,outputCalendar:_0x4de441,weekSettings:_0xced539}={}){return Locale['create'](_0x44c58f,_0x2b22ec,_0x4de441,_0xced539);}constructor(_0x238769,_0x3e19c2,_0x7d29bb,_0x2d8787,_0x4730e3){const [_0x4ca73e,_0x370a98,_0x3adb63]=function(_0x39fb65){const _0x37cede=_0x39fb65['indexOf']('-x-');-0x1!==_0x37cede&&(_0x39fb65=_0x39fb65['substring'](0x0,_0x37cede));const _0x565672=_0x39fb65['indexOf']('-u-');if(-0x1===_0x565672)return[_0x39fb65];{let _0x4ef79c,_0x2eb861;try{_0x4ef79c=Qc(_0x39fb65)['resolvedOptions'](),_0x2eb861=_0x39fb65;}catch(_0x55490a){const _0x9524d0=_0x39fb65['substring'](0x0,_0x565672);_0x4ef79c=Qc(_0x9524d0)['resolvedOptions'](),_0x2eb861=_0x9524d0;}const {numberingSystem:_0x1f4b86,calendar:_0x111e69}=_0x4ef79c;return[_0x2eb861,_0x1f4b86,_0x111e69];}}(_0x238769);this['locale']=_0x4ca73e,this['numberingSystem']=_0x3e19c2||_0x370a98||null,this['outputCalendar']=_0x7d29bb||_0x3adb63||null,this['weekSettings']=_0x2d8787,this['intl']=function(_0x5ca31c,_0x1b1f53,_0x42ee74){return _0x42ee74||_0x1b1f53?(_0x5ca31c['includes']('-u-')||(_0x5ca31c+='-u'),_0x42ee74&&(_0x5ca31c+='-ca-'+_0x42ee74),_0x1b1f53&&(_0x5ca31c+='-nu-'+_0x1b1f53),_0x5ca31c):_0x5ca31c;}(this['locale'],this['numberingSystem'],this['outputCalendar']),this['weekdaysCache']={'format':{},'standalone':{}},this['monthsCache']={'format':{},'standalone':{}},this['meridiemCache']=null,this['eraCache']={},this['specifiedLocale']=_0x4730e3,this['fastNumbersCached']=null;}get['fastNumbers'](){var _0x26c041;return null==this['fastNumbersCached']&&(this['fastNumbersCached']=(!(_0x26c041=this)['numberingSystem']||'latn'===_0x26c041['numberingSystem'])&&('latn'===_0x26c041['numberingSystem']||!_0x26c041['locale']||_0x26c041['locale']['startsWith']('en')||'latn'===Fc(_0x26c041['locale'])['numberingSystem'])),this['fastNumbersCached'];}['listingMode'](){const _0x120feb=this['isEnglish'](),_0x223f7f=!(null!==this['numberingSystem']&&'latn'!==this['numberingSystem']||null!==this['outputCalendar']&&'gregory'!==this['outputCalendar']);return _0x120feb&&_0x223f7f?'en':'intl';}['clone'](_0x3e0d46){return _0x3e0d46&&0x0!==Object['getOwnPropertyNames'](_0x3e0d46)['length']?Locale['create'](_0x3e0d46['locale']||this['specifiedLocale'],_0x3e0d46['numberingSystem']||this['numberingSystem'],_0x3e0d46['outputCalendar']||this['outputCalendar'],Dl(_0x3e0d46['weekSettings'])||this['weekSettings'],_0x3e0d46['defaultToEN']||!0x1):this;}['redefaultToEN'](_0x28dda6={}){return this['clone']({..._0x28dda6,'defaultToEN':!0x0});}['redefaultToSystem'](_0x5414bc={}){return this['clone']({..._0x5414bc,'defaultToEN':!0x1});}['months'](_0x1679ed,_0x17b58e=!0x1){return Zc(this,_0x1679ed,oh,()=>{const _0x391341=_0x17b58e?{'month':_0x1679ed,'day':'numeric'}:{'month':_0x1679ed},_0x11d522=_0x17b58e?'format':'standalone';return this['monthsCache'][_0x11d522][_0x1679ed]||(this['monthsCache'][_0x11d522][_0x1679ed]=function(_0x336348){const _0x5ad1de=[];for(let _0x30253c=0x1;_0x30253c<=0xc;_0x30253c++){const _0x5c6d4e=hd['utc'](0x7d9,_0x30253c,0x1);_0x5ad1de['push'](_0x336348(_0x5c6d4e));}return _0x5ad1de;}(_0x4acd1a=>this['extract'](_0x4acd1a,_0x391341,'month'))),this['monthsCache'][_0x11d522][_0x1679ed];});}['weekdays'](_0x28b681,_0x705ded=!0x1){return Zc(this,_0x28b681,hh,()=>{const _0x1eb8c5=_0x705ded?{'weekday':_0x28b681,'year':'numeric','month':'long','day':'numeric'}:{'weekday':_0x28b681},_0x573659=_0x705ded?'format':'standalone';return this['weekdaysCache'][_0x573659][_0x28b681]||(this['weekdaysCache'][_0x573659][_0x28b681]=function(_0x397b86){const _0x46d517=[];for(let _0x215ab7=0x1;_0x215ab7<=0x7;_0x215ab7++){const _0x3ecdba=hd['utc'](0x7e0,0xb,0xd+_0x215ab7);_0x46d517['push'](_0x397b86(_0x3ecdba));}return _0x46d517;}(_0x446c91=>this['extract'](_0x446c91,_0x1eb8c5,'weekday'))),this['weekdaysCache'][_0x573659][_0x28b681];});}['meridiems'](){return Zc(this,void 0x0,()=>uh,()=>{if(!this['meridiemCache']){const _0x51795e={'hour':'numeric','hourCycle':'h12'};this['meridiemCache']=[hd['utc'](0x7e0,0xb,0xd,0x9),hd['utc'](0x7e0,0xb,0xd,0x13)]['map'](_0x3d9c2b=>this['extract'](_0x3d9c2b,_0x51795e,'dayperiod'));}return this['meridiemCache'];});}['eras'](_0x35b8e0){return Zc(this,_0x35b8e0,ph,()=>{const _0x49b032={'era':_0x35b8e0};return this['eraCache'][_0x35b8e0]||(this['eraCache'][_0x35b8e0]=[hd['utc'](-0x28,0x1,0x1),hd['utc'](0x7e1,0x1,0x1)]['map'](_0x8665ce=>this['extract'](_0x8665ce,_0x49b032,'era'))),this['eraCache'][_0x35b8e0];});}['extract'](_0xc75516,_0x34c820,_0x49afee){const _0x2c416b=this['dtFormatter'](_0xc75516,_0x34c820)['formatToParts']()['find'](_0x38b46f=>_0x38b46f['type']['toLowerCase']()===_0x49afee);return _0x2c416b?_0x2c416b['value']:null;}['numberFormatter'](_0x4adcaa={}){return new Gc(this['intl'],_0x4adcaa['forceSimple']||this['fastNumbers'],_0x4adcaa);}['dtFormatter'](_0x22ba69,_0x3dc227={}){return new Xc(_0x22ba69,this['intl'],_0x3dc227);}['relFormatter'](_0x10942f={}){return new qc(this['intl'],this['isEnglish'](),_0x10942f);}['listFormatter'](_0x16134d={}){return function(_0x4277c2,_0xf1e663={}){const _0x113ec8=JSON['stringify']([_0x4277c2,_0xf1e663]);let _0x53ca79=$c[_0x113ec8];return _0x53ca79||(_0x53ca79=new Intl['ListFormat'](_0x4277c2,_0xf1e663),$c[_0x113ec8]=_0x53ca79),_0x53ca79;}(this['intl'],_0x16134d);}['isEnglish'](){return'en'===this['locale']||'en-us'===this['locale']['toLowerCase']()||Fc(this['intl'])['locale']['startsWith']('en-us');}['getWeekSettings'](){return this['weekSettings']?this['weekSettings']:Nl()?function(_0x55196c){let _0x37e112=Hc['get'](_0x55196c);if(!_0x37e112){const _0x20bbef=new Intl['Locale'](_0x55196c);_0x37e112='getWeekInfo'in _0x20bbef?_0x20bbef['getWeekInfo']():_0x20bbef['weekInfo'],'minimalDays'in _0x37e112||(_0x37e112={...Wc,..._0x37e112}),Hc['set'](_0x55196c,_0x37e112);}return _0x37e112;}(this['locale']):Wc;}['getStartOfWeek'](){return this['getWeekSettings']()['firstDay'];}['getMinDaysInFirstWeek'](){return this['getWeekSettings']()['minimalDays'];}['getWeekendDays'](){return this['getWeekSettings']()['weekend'];}['equals'](_0x5bb5a4){return this['locale']===_0x5bb5a4['locale']&&this['numberingSystem']===_0x5bb5a4['numberingSystem']&&this['outputCalendar']===_0x5bb5a4['outputCalendar'];}['toString'](){return'Locale('+this['locale']+',\x20'+this['numberingSystem']+',\x20'+this['outputCalendar']+')';}};let Yc=null;var Kc=class FixedOffsetZone extends xc{static get['utcInstance'](){return null===Yc&&(Yc=new FixedOffsetZone(0x0)),Yc;}static['instance'](_0x492eda){return 0x0===_0x492eda?FixedOffsetZone['utcInstance']:new FixedOffsetZone(_0x492eda);}static['parseSpecifier'](_0x3bc187){if(_0x3bc187){const _0x58d91e=_0x3bc187['match'](/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(_0x58d91e)return new FixedOffsetZone(Kl(_0x58d91e[0x1],_0x58d91e[0x2]));}return null;}constructor(_0x51ec9d){super(),this['fixed']=_0x51ec9d;}get['type'](){return'fixed';}get['name'](){return 0x0===this['fixed']?'UTC':'UTC'+eh(this['fixed'],'narrow');}get['ianaName'](){return 0x0===this['fixed']?'Etc/UTC':'Etc/GMT'+eh(-this['fixed'],'narrow');}['offsetName'](){return this['name'];}['formatOffset'](_0x10a8ef,_0x173b08){return eh(this['fixed'],_0x173b08);}get['isUniversal'](){return!0x0;}['offset'](){return this['fixed'];}['equals'](_0x501357){return'fixed'===_0x501357['type']&&_0x501357['fixed']===this['fixed'];}get['isValid'](){return!0x0;}},Jc=class extends xc{constructor(_0x57740c){super(),this['zoneName']=_0x57740c;}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 tl(_0x3be1ca,_0x56be40){if(Cl(_0x3be1ca)||null===_0x3be1ca)return _0x56be40;if(_0x3be1ca instanceof xc)return _0x3be1ca;if('string'==typeof _0x3be1ca){const _0x381bb8=_0x3be1ca['toLowerCase']();return'default'===_0x381bb8?_0x56be40:'local'===_0x381bb8||'system'===_0x381bb8?Rc['instance']:'utc'===_0x381bb8||'gmt'===_0x381bb8?Kc['utcInstance']:Kc['parseSpecifier'](_0x381bb8)||Lc['create'](_0x3be1ca);}return Rl(_0x3be1ca)?Kc['instance'](_0x3be1ca):'object'==typeof _0x3be1ca&&'offset'in _0x3be1ca&&'function'==typeof _0x3be1ca['offset']?_0x3be1ca:new Jc(_0x3be1ca);}const el={'arab':'[٠-٩]','arabext':'[۰-۹]','bali':'[᭐-᭙]','beng':'[০-৯]','deva':'[०-९]','fullwide':'[０-９]','gujr':'[૦-૯]','hanidec':'[〇|一|二|三|四|五|六|七|八|九]','khmr':'[០-៩]','knda':'[೦-೯]','laoo':'[໐-໙]','limb':'[᥆-᥏]','mlym':'[൦-൯]','mong':'[᠐-᠙]','mymr':'[၀-၉]','orya':'[୦-୯]','tamldec':'[௦-௯]','telu':'[౦-౯]','thai':'[๐-๙]','tibt':'[༠-༩]','latn':'\x5cd'},il={'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]},sl=el['hanidec']['replace'](/[\[|\]]/g,'')['split'](''),nl=new Map();function rl({numberingSystem:_0x4fd698},_0x1fa80e=''){const _0x473364=_0x4fd698||'latn';let _0x234479=nl['get'](_0x473364);void 0x0===_0x234479&&(_0x234479=new Map(),nl['set'](_0x473364,_0x234479));let _0x200e0c=_0x234479['get'](_0x1fa80e);return void 0x0===_0x200e0c&&(_0x200e0c=new RegExp(''+el[_0x473364]+_0x1fa80e),_0x234479['set'](_0x1fa80e,_0x200e0c)),_0x200e0c;}let ol,al=()=>Date['now'](),cl='system',ll=null,hl=null,ul=null,dl=0x3c,fl=null;var ml=class{static get['now'](){return al;}static set['now'](_0x57fe23){al=_0x57fe23;}static set['defaultZone'](_0x422dd5){cl=_0x422dd5;}static get['defaultZone'](){return tl(cl,Rc['instance']);}static get['defaultLocale'](){return ll;}static set['defaultLocale'](_0x517a73){ll=_0x517a73;}static get['defaultNumberingSystem'](){return hl;}static set['defaultNumberingSystem'](_0x1c3f01){hl=_0x1c3f01;}static get['defaultOutputCalendar'](){return ul;}static set['defaultOutputCalendar'](_0x174c67){ul=_0x174c67;}static get['defaultWeekSettings'](){return fl;}static set['defaultWeekSettings'](_0x379ce5){fl=Dl(_0x379ce5);}static get['twoDigitCutoffYear'](){return dl;}static set['twoDigitCutoffYear'](_0xf014d7){dl=_0xf014d7%0x64;}static get['throwOnInvalid'](){return ol;}static set['throwOnInvalid'](t){ol=t;}static['resetCaches'](){zc['resetCache'](),Lc['resetCache'](),hd['resetCache'](),nl['clear']();}},pl=class{constructor(_0x50f7a0,_0x5c581e){this['reason']=_0x50f7a0,this['explanation']=_0x5c581e;}['toMessage'](){return this['explanation']?this['reason']+':\x20'+this['explanation']:this['reason'];}};const gl=[0x0,0x1f,0x3b,0x5a,0x78,0x97,0xb5,0xd4,0xf3,0x111,0x130,0x14e],Ol=[0x0,0x1f,0x3c,0x5b,0x79,0x98,0xb6,0xd5,0xf4,0x112,0x131,0x14f];function wl(_0x274ea3,_0x110d5f){return new pl('unit\x20out\x20of\x20range','you\x20specified\x20'+_0x110d5f+'\x20(of\x20type\x20'+typeof _0x110d5f+')\x20as\x20a\x20'+_0x274ea3+',\x20which\x20is\x20invalid');}function bl(_0xdbfdce,_0x59fb4e,_0x4b7f4b){const _0x2c2d0b=new Date(Date['UTC'](_0xdbfdce,_0x59fb4e-0x1,_0x4b7f4b));_0xdbfdce<0x64&&_0xdbfdce>=0x0&&_0x2c2d0b['setUTCFullYear'](_0x2c2d0b['getUTCFullYear']()-0x76c);const _0x5063e8=_0x2c2d0b['getUTCDay']();return 0x0===_0x5063e8?0x7:_0x5063e8;}function yl(_0x504a0b,_0xbf48f,_0x38a1f1){return _0x38a1f1+(Hl(_0x504a0b)?Ol:gl)[_0xbf48f-0x1];}function vl(_0x270176,_0x543b8e){const _0x2b0ed2=Hl(_0x270176)?Ol:gl,_0x32668b=_0x2b0ed2['findIndex'](_0x47d2f1=>_0x47d2f1<_0x543b8e);return{'month':_0x32668b+0x1,'day':_0x543b8e-_0x2b0ed2[_0x32668b]};}function _l(_0x1ce427,_0x1c07bf){return(_0x1ce427-_0x1c07bf+0x7)%0x7+0x1;}function El(_0x46afd6,_0x242faa=0x4,_0x99d17d=0x1){const {year:_0x21fdfc,month:_0x10973a,day:_0x54e2f8}=_0x46afd6,_0x5e6f9a=yl(_0x21fdfc,_0x10973a,_0x54e2f8),_0x2593c7=_l(bl(_0x21fdfc,_0x10973a,_0x54e2f8),_0x99d17d);let _0x7af3d4,_0x489b1b=Math['floor']((_0x5e6f9a-_0x2593c7+0xe-_0x242faa)/0x7);return _0x489b1b<0x1?(_0x7af3d4=_0x21fdfc-0x1,_0x489b1b=Wl(_0x7af3d4,_0x242faa,_0x99d17d)):_0x489b1b>Wl(_0x21fdfc,_0x242faa,_0x99d17d)?(_0x7af3d4=_0x21fdfc+0x1,_0x489b1b=0x1):_0x7af3d4=_0x21fdfc,{'weekYear':_0x7af3d4,'weekNumber':_0x489b1b,'weekday':_0x2593c7,...ih(_0x46afd6)};}function Tl(_0x4690fa,_0x57611c=0x4,_0x2f83fd=0x1){const {weekYear:_0x16d99e,weekNumber:_0x2dd86e,weekday:_0x1c834d}=_0x4690fa,_0x1eab30=_l(bl(_0x16d99e,0x1,_0x57611c),_0x2f83fd),_0x27242a=Zl(_0x16d99e);let _0x5e9d0c,_0x1053a1=0x7*_0x2dd86e+_0x1c834d-_0x1eab30-0x7+_0x57611c;_0x1053a1<0x1?(_0x5e9d0c=_0x16d99e-0x1,_0x1053a1+=Zl(_0x5e9d0c)):_0x1053a1>_0x27242a?(_0x5e9d0c=_0x16d99e+0x1,_0x1053a1-=Zl(_0x16d99e)):_0x5e9d0c=_0x16d99e;const {month:_0x15e9bc,day:_0x1a7687}=vl(_0x5e9d0c,_0x1053a1);return{'year':_0x5e9d0c,'month':_0x15e9bc,'day':_0x1a7687,...ih(_0x4690fa)};}function Al(_0x1fc7ae){const {year:_0x42f97e,month:_0x3d36ba,day:_0x525af4}=_0x1fc7ae;return{'year':_0x42f97e,'ordinal':yl(_0x42f97e,_0x3d36ba,_0x525af4),...ih(_0x1fc7ae)};}function Sl(_0xe647ea){const {year:_0x2637bb,ordinal:_0x190eab}=_0xe647ea,{month:_0x361aec,day:_0x5cbf8b}=vl(_0x2637bb,_0x190eab);return{'year':_0x2637bb,'month':_0x361aec,'day':_0x5cbf8b,...ih(_0xe647ea)};}function Il(_0x3a603b,_0x2085b2){if(Cl(_0x3a603b['localWeekday'])&&Cl(_0x3a603b['localWeekNumber'])&&Cl(_0x3a603b['localWeekYear']))return{'minDaysInFirstWeek':0x4,'startOfWeek':0x1};if(!Cl(_0x3a603b['weekday'])||!Cl(_0x3a603b['weekNumber'])||!Cl(_0x3a603b['weekYear']))throw new tc('Cannot\x20mix\x20locale-based\x20week\x20fields\x20with\x20ISO-based\x20week\x20fields');return Cl(_0x3a603b['localWeekday'])||(_0x3a603b['weekday']=_0x3a603b['localWeekday']),Cl(_0x3a603b['localWeekNumber'])||(_0x3a603b['weekNumber']=_0x3a603b['localWeekNumber']),Cl(_0x3a603b['localWeekYear'])||(_0x3a603b['weekYear']=_0x3a603b['localWeekYear']),delete _0x3a603b['localWeekday'],delete _0x3a603b['localWeekNumber'],delete _0x3a603b['localWeekYear'],{'minDaysInFirstWeek':_0x2085b2['getMinDaysInFirstWeek'](),'startOfWeek':_0x2085b2['getStartOfWeek']()};}function kl(_0x26a885){const _0x38464e=Pl(_0x26a885['year']),_0x65e143=Ql(_0x26a885['month'],0x1,0xc),_0x1047da=Ql(_0x26a885['day'],0x1,Gl(_0x26a885['year'],_0x26a885['month']));return _0x38464e?_0x65e143?!_0x1047da&&wl('day',_0x26a885['day']):wl('month',_0x26a885['month']):wl('year',_0x26a885['year']);}function xl(_0x4f2194){const {hour:_0x52096f,minute:_0x3c33dc,second:_0x1bb9d3,millisecond:_0x4bb5e9}=_0x4f2194,_0x1894d5=Ql(_0x52096f,0x0,0x17)||0x18===_0x52096f&&0x0===_0x3c33dc&&0x0===_0x1bb9d3&&0x0===_0x4bb5e9,_0x27e9ff=Ql(_0x3c33dc,0x0,0x3b),_0x19b64d=Ql(_0x1bb9d3,0x0,0x3b),_0x237831=Ql(_0x4bb5e9,0x0,0x3e7);return _0x1894d5?_0x27e9ff?_0x19b64d?!_0x237831&&wl('millisecond',_0x4bb5e9):wl('second',_0x1bb9d3):wl('minute',_0x3c33dc):wl('hour',_0x52096f);}function Cl(_0x3082f1){return void 0x0===_0x3082f1;}function Rl(_0x389472){return'number'==typeof _0x389472;}function Pl(_0x4a8e16){return'number'==typeof _0x4a8e16&&_0x4a8e16%0x1==0x0;}function Ml(){try{return'undefined'!=typeof Intl&&!!Intl['RelativeTimeFormat'];}catch(_0x310eb3){return!0x1;}}function Nl(){try{return'undefined'!=typeof Intl&&!!Intl['Locale']&&('weekInfo'in Intl['Locale']['prototype']||'getWeekInfo'in Intl['Locale']['prototype']);}catch(_0x4601b0){return!0x1;}}function Ll(_0x213e6a,_0xb81301,_0x330bad){if(0x0!==_0x213e6a['length'])return _0x213e6a['reduce']((_0x4bafb1,_0x2d3ea2)=>{const _0xa8346a=[_0xb81301(_0x2d3ea2),_0x2d3ea2];return _0x4bafb1&&_0x330bad(_0x4bafb1[0x0],_0xa8346a[0x0])===_0x4bafb1[0x0]?_0x4bafb1:_0xa8346a;},null)[0x1];}function $l(_0x406799,_0x3c1802){return Object['prototype']['hasOwnProperty']['call'](_0x406799,_0x3c1802);}function Dl(_0xbbee6d){if(null==_0xbbee6d)return null;if('object'!=typeof _0xbbee6d)throw new ic('Week\x20settings\x20must\x20be\x20an\x20object');if(!Ql(_0xbbee6d['firstDay'],0x1,0x7)||!Ql(_0xbbee6d['minimalDays'],0x1,0x7)||!Array['isArray'](_0xbbee6d['weekend'])||_0xbbee6d['weekend']['some'](_0x2d4c2b=>!Ql(_0x2d4c2b,0x1,0x7)))throw new ic('Invalid\x20week\x20settings');return{'firstDay':_0xbbee6d['firstDay'],'minimalDays':_0xbbee6d['minimalDays'],'weekend':Array['from'](_0xbbee6d['weekend'])};}function Ql(_0x3add6b,_0x314b07,_0x5c4820){return Pl(_0x3add6b)&&_0x3add6b>=_0x314b07&&_0x3add6b<=_0x5c4820;}function jl(_0x255c03,_0x1005ae=0x2){let _0x225e1c;return _0x225e1c=_0x255c03<0x0?'-'+(''+-_0x255c03)['padStart'](_0x1005ae,'0'):(''+_0x255c03)['padStart'](_0x1005ae,'0'),_0x225e1c;}function Ul(_0x3ebb38){return Cl(_0x3ebb38)||null===_0x3ebb38||''===_0x3ebb38?void 0x0:parseInt(_0x3ebb38,0xa);}function Vl(_0x4051a4){return Cl(_0x4051a4)||null===_0x4051a4||''===_0x4051a4?void 0x0:parseFloat(_0x4051a4);}function Bl(_0x38a8e3){if(!Cl(_0x38a8e3)&&null!==_0x38a8e3&&''!==_0x38a8e3){const _0x5b9237=0x3e8*parseFloat('0.'+_0x38a8e3);return Math['floor'](_0x5b9237);}}function Fl(_0x2fc841,_0x537191,_0x2446f9=!0x1){const _0x2fd9c3=0xa**_0x537191;return(_0x2446f9?Math['trunc']:Math['round'])(_0x2fc841*_0x2fd9c3)/_0x2fd9c3;}function Hl(_0x1629a8){return _0x1629a8%0x4==0x0&&(_0x1629a8%0x64!=0x0||_0x1629a8%0x190==0x0);}function Zl(_0x17698e){return Hl(_0x17698e)?0x16e:0x16d;}function Gl(_0x57c1da,_0x12dfc8){const _0xbe5986=function(_0x4b24cf,_0x49220a){return _0x4b24cf-_0x49220a*Math['floor'](_0x4b24cf/_0x49220a);}(_0x12dfc8-0x1,0xc)+0x1;return 0x2===_0xbe5986?Hl(_0x57c1da+(_0x12dfc8-_0xbe5986)/0xc)?0x1d:0x1c:[0x1f,null,0x1f,0x1e,0x1f,0x1e,0x1f,0x1f,0x1e,0x1f,0x1e,0x1f][_0xbe5986-0x1];}function Xl(_0x539ef4){let _0x1ee9e9=Date['UTC'](_0x539ef4['year'],_0x539ef4['month']-0x1,_0x539ef4['day'],_0x539ef4['hour'],_0x539ef4['minute'],_0x539ef4['second'],_0x539ef4['millisecond']);return _0x539ef4['year']<0x64&&_0x539ef4['year']>=0x0&&(_0x1ee9e9=new Date(_0x1ee9e9),_0x1ee9e9['setUTCFullYear'](_0x539ef4['year'],_0x539ef4['month']-0x1,_0x539ef4['day'])),+_0x1ee9e9;}function ql(_0x5d704e,_0x142ecd,_0x334f40){return-_l(bl(_0x5d704e,0x1,_0x142ecd),_0x334f40)+_0x142ecd-0x1;}function Wl(_0xd3e080,_0x59e554=0x4,_0x5c190a=0x1){const _0x252956=ql(_0xd3e080,_0x59e554,_0x5c190a),_0xdf9e20=ql(_0xd3e080+0x1,_0x59e554,_0x5c190a);return(Zl(_0xd3e080)-_0x252956+_0xdf9e20)/0x7;}function zl(_0x57b96d){return _0x57b96d>0x63?_0x57b96d:_0x57b96d>ml['twoDigitCutoffYear']?0x76c+_0x57b96d:0x7d0+_0x57b96d;}function Yl(_0x27da59,_0x4ec6b8,_0x3e19f8,_0x1cd065=null){const _0x1f74a9=new Date(_0x27da59),_0x96b2a3={'hourCycle':'h23','year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit'};_0x1cd065&&(_0x96b2a3['timeZone']=_0x1cd065);const _0x37668a={'timeZoneName':_0x4ec6b8,..._0x96b2a3},_0x1898ca=new Intl['DateTimeFormat'](_0x3e19f8,_0x37668a)['formatToParts'](_0x1f74a9)['find'](_0x22c0d2=>'timezonename'===_0x22c0d2['type']['toLowerCase']());return _0x1898ca?_0x1898ca['value']:null;}function Kl(_0x2c2bee,_0x43233f){let _0x156dd4=parseInt(_0x2c2bee,0xa);Number['isNaN'](_0x156dd4)&&(_0x156dd4=0x0);const _0x869ad=parseInt(_0x43233f,0xa)||0x0;return 0x3c*_0x156dd4+(_0x156dd4<0x0||Object['is'](_0x156dd4,-0x0)?-_0x869ad:_0x869ad);}function Jl(_0x43aeb0){const _0x59b6f2=Number(_0x43aeb0);if('boolean'==typeof _0x43aeb0||''===_0x43aeb0||Number['isNaN'](_0x59b6f2))throw new ic('Invalid\x20unit\x20value\x20'+_0x43aeb0);return _0x59b6f2;}function th(_0x39742b,_0x420bf2){const _0x1b1cbb={};for(const _0x335856 in _0x39742b)if($l(_0x39742b,_0x335856)){const _0x47510e=_0x39742b[_0x335856];if(null==_0x47510e)continue;_0x1b1cbb[_0x420bf2(_0x335856)]=Jl(_0x47510e);}return _0x1b1cbb;}function eh(_0x3c8854,_0x2affef){const _0x2d3a6f=Math['trunc'](Math['abs'](_0x3c8854/0x3c)),_0x3b50d9=Math['trunc'](Math['abs'](_0x3c8854%0x3c)),_0x21f376=_0x3c8854>=0x0?'+':'-';switch(_0x2affef){case'short':return''+_0x21f376+jl(_0x2d3a6f,0x2)+':'+jl(_0x3b50d9,0x2);case'narrow':return''+_0x21f376+_0x2d3a6f+(_0x3b50d9>0x0?':'+_0x3b50d9:'');case'techie':return''+_0x21f376+jl(_0x2d3a6f,0x2)+jl(_0x3b50d9,0x2);default:throw new RangeError('Value\x20format\x20'+_0x2affef+'\x20is\x20out\x20of\x20range\x20for\x20property\x20format');}}function ih(_0x41218e){return function(_0x32d5a6,_0x42bfd3){return _0x42bfd3['reduce']((_0xfe5abe,_0x750079)=>(_0xfe5abe[_0x750079]=_0x32d5a6[_0x750079],_0xfe5abe),{});}(_0x41218e,['hour','minute','second','millisecond']);}const sh=['January','February','March','April','May','June','July','August','September','October','November','December'],nh=['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],rh=['J','F','M','A','M','J','J','A','S','O','N','D'];function oh(_0x337f81){switch(_0x337f81){case'narrow':return[...rh];case'short':return[...nh];case'long':return[...sh];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 ah=['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'],ch=['Mon','Tue','Wed','Thu','Fri','Sat','Sun'],lh=['M','T','W','T','F','S','S'];function hh(_0x9a0d52){switch(_0x9a0d52){case'narrow':return[...lh];case'short':return[...ch];case'long':return[...ah];case'numeric':return['1','2','3','4','5','6','7'];default:return null;}}const uh=['AM','PM'],dh=['Before\x20Christ','Anno\x20Domini'],fh=['BC','AD'],mh=['B','A'];function ph(_0x5e03f9){switch(_0x5e03f9){case'narrow':return[...mh];case'short':return[...fh];case'long':return[...dh];default:return null;}}function gh(_0x23cb5b,_0x4fb997){let _0x20e7b5='';for(const _0x4c633f of _0x23cb5b)_0x4c633f['literal']?_0x20e7b5+=_0x4c633f['val']:_0x20e7b5+=_0x4fb997(_0x4c633f['val']);return _0x20e7b5;}const Oh={'D':ac,'DD':cc,'DDD':hc,'DDDD':uc,'t':dc,'tt':fc,'ttt':mc,'tttt':pc,'T':gc,'TT':Oc,'TTT':wc,'TTTT':bc,'f':yc,'ff':_c,'fff':Ac,'ffff':Ic,'F':vc,'FF':Ec,'FFF':Sc,'FFFF':kc};var wh=class Formatter{static['create'](_0x5835e6,_0x7f3650={}){return new Formatter(_0x5835e6,_0x7f3650);}static['parseFormat'](_0x161123){let _0xd21e08=null,_0xdd3a5f='',_0x561e3e=!0x1;const _0x5393d7=[];for(let _0x869d9f=0x0;_0x869d9f<_0x161123['length'];_0x869d9f++){const _0x449569=_0x161123['charAt'](_0x869d9f);'\x27'===_0x449569?(_0xdd3a5f['length']>0x0&&_0x5393d7['push']({'literal':_0x561e3e||/^\s+$/['test'](_0xdd3a5f),'val':_0xdd3a5f}),_0xd21e08=null,_0xdd3a5f='',_0x561e3e=!_0x561e3e):_0x561e3e||_0x449569===_0xd21e08?_0xdd3a5f+=_0x449569:(_0xdd3a5f['length']>0x0&&_0x5393d7['push']({'literal':/^\s+$/['test'](_0xdd3a5f),'val':_0xdd3a5f}),_0xdd3a5f=_0x449569,_0xd21e08=_0x449569);}return _0xdd3a5f['length']>0x0&&_0x5393d7['push']({'literal':_0x561e3e||/^\s+$/['test'](_0xdd3a5f),'val':_0xdd3a5f}),_0x5393d7;}static['macroTokenToFormatOpts'](_0x18e87d){return Oh[_0x18e87d];}constructor(_0x24ffdc,_0x45ff40){this['opts']=_0x45ff40,this['loc']=_0x24ffdc,this['systemLoc']=null;}['formatWithSystemDefault'](_0x330d20,_0x351da4){return null===this['systemLoc']&&(this['systemLoc']=this['loc']['redefaultToSystem']()),this['systemLoc']['dtFormatter'](_0x330d20,{...this['opts'],..._0x351da4})['format']();}['dtFormatter'](_0x1512f9,_0x33214b={}){return this['loc']['dtFormatter'](_0x1512f9,{...this['opts'],..._0x33214b});}['formatDateTime'](_0x5839c2,_0x40f6b9){return this['dtFormatter'](_0x5839c2,_0x40f6b9)['format']();}['formatDateTimeParts'](_0x3abdba,_0x3240c5){return this['dtFormatter'](_0x3abdba,_0x3240c5)['formatToParts']();}['formatInterval'](_0x59e9df,_0x5a1d35){return this['dtFormatter'](_0x59e9df['start'],_0x5a1d35)['dtf']['formatRange'](_0x59e9df['start']['toJSDate'](),_0x59e9df['end']['toJSDate']());}['resolvedOptions'](_0x30da1a,_0x53505d){return this['dtFormatter'](_0x30da1a,_0x53505d)['resolvedOptions']();}['num'](_0x95c78,_0x17896a=0x0){if(this['opts']['forceSimple'])return jl(_0x95c78,_0x17896a);const _0x17eb9a={...this['opts']};return _0x17896a>0x0&&(_0x17eb9a['padTo']=_0x17896a),this['loc']['numberFormatter'](_0x17eb9a)['format'](_0x95c78);}['formatDateTimeFromString'](_0x21aba,_0x35c829){const _0x312238='en'===this['loc']['listingMode'](),_0x40c756=this['loc']['outputCalendar']&&'gregory'!==this['loc']['outputCalendar'],_0x4f0742=(_0x370bef,_0x4eb1e3)=>this['loc']['extract'](_0x21aba,_0x370bef,_0x4eb1e3),_0x338366=_0x4c7f4d=>_0x21aba['isOffsetFixed']&&0x0===_0x21aba['offset']&&_0x4c7f4d['allowZ']?'Z':_0x21aba['isValid']?_0x21aba['zone']['formatOffset'](_0x21aba['ts'],_0x4c7f4d['format']):'',_0xb0b94d=()=>_0x312238?function(_0x41cb1f){return uh[_0x41cb1f['hour']<0xc?0x0:0x1];}(_0x21aba):_0x4f0742({'hour':'numeric','hourCycle':'h12'},'dayperiod'),_0x3e3635=(_0x1fa199,_0x1fc6d8)=>_0x312238?function(_0x30139f,_0xbf7922){return oh(_0xbf7922)[_0x30139f['month']-0x1];}(_0x21aba,_0x1fa199):_0x4f0742(_0x1fc6d8?{'month':_0x1fa199}:{'month':_0x1fa199,'day':'numeric'},'month'),_0x436eeb=(_0x11f7e8,_0x13d018)=>_0x312238?function(_0x3803e5,_0x42b0c4){return hh(_0x42b0c4)[_0x3803e5['weekday']-0x1];}(_0x21aba,_0x11f7e8):_0x4f0742(_0x13d018?{'weekday':_0x11f7e8}:{'weekday':_0x11f7e8,'month':'long','day':'numeric'},'weekday'),_0x46239d=_0x220207=>{const _0x15cc2a=Formatter['macroTokenToFormatOpts'](_0x220207);return _0x15cc2a?this['formatWithSystemDefault'](_0x21aba,_0x15cc2a):_0x220207;},_0x2abd56=_0x4dcd8b=>_0x312238?function(_0x2b995b,_0xfb6d52){return ph(_0xfb6d52)[_0x2b995b['year']<0x0?0x0:0x1];}(_0x21aba,_0x4dcd8b):_0x4f0742({'era':_0x4dcd8b},'era');return gh(Formatter['parseFormat'](_0x35c829),_0x2b49aa=>{switch(_0x2b49aa){case'S':return this['num'](_0x21aba['millisecond']);case'u':case'SSS':return this['num'](_0x21aba['millisecond'],0x3);case's':return this['num'](_0x21aba['second']);case'ss':return this['num'](_0x21aba['second'],0x2);case'uu':return this['num'](Math['floor'](_0x21aba['millisecond']/0xa),0x2);case'uuu':return this['num'](Math['floor'](_0x21aba['millisecond']/0x64));case'm':return this['num'](_0x21aba['minute']);case'mm':return this['num'](_0x21aba['minute'],0x2);case'h':return this['num'](_0x21aba['hour']%0xc==0x0?0xc:_0x21aba['hour']%0xc);case'hh':return this['num'](_0x21aba['hour']%0xc==0x0?0xc:_0x21aba['hour']%0xc,0x2);case'H':return this['num'](_0x21aba['hour']);case'HH':return this['num'](_0x21aba['hour'],0x2);case'Z':return _0x338366({'format':'narrow','allowZ':this['opts']['allowZ']});case'ZZ':return _0x338366({'format':'short','allowZ':this['opts']['allowZ']});case'ZZZ':return _0x338366({'format':'techie','allowZ':this['opts']['allowZ']});case'ZZZZ':return _0x21aba['zone']['offsetName'](_0x21aba['ts'],{'format':'short','locale':this['loc']['locale']});case'ZZZZZ':return _0x21aba['zone']['offsetName'](_0x21aba['ts'],{'format':'long','locale':this['loc']['locale']});case'z':return _0x21aba['zoneName'];case'a':return _0xb0b94d();case'd':return _0x40c756?_0x4f0742({'day':'numeric'},'day'):this['num'](_0x21aba['day']);case'dd':return _0x40c756?_0x4f0742({'day':'2-digit'},'day'):this['num'](_0x21aba['day'],0x2);case'c':case'E':return this['num'](_0x21aba['weekday']);case'ccc':return _0x436eeb('short',!0x0);case'cccc':return _0x436eeb('long',!0x0);case'ccccc':return _0x436eeb('narrow',!0x0);case'EEE':return _0x436eeb('short',!0x1);case'EEEE':return _0x436eeb('long',!0x1);case'EEEEE':return _0x436eeb('narrow',!0x1);case'L':return _0x40c756?_0x4f0742({'month':'numeric','day':'numeric'},'month'):this['num'](_0x21aba['month']);case'LL':return _0x40c756?_0x4f0742({'month':'2-digit','day':'numeric'},'month'):this['num'](_0x21aba['month'],0x2);case'LLL':return _0x3e3635('short',!0x0);case'LLLL':return _0x3e3635('long',!0x0);case'LLLLL':return _0x3e3635('narrow',!0x0);case'M':return _0x40c756?_0x4f0742({'month':'numeric'},'month'):this['num'](_0x21aba['month']);case'MM':return _0x40c756?_0x4f0742({'month':'2-digit'},'month'):this['num'](_0x21aba['month'],0x2);case'MMM':return _0x3e3635('short',!0x1);case'MMMM':return _0x3e3635('long',!0x1);case'MMMMM':return _0x3e3635('narrow',!0x1);case'y':return _0x40c756?_0x4f0742({'year':'numeric'},'year'):this['num'](_0x21aba['year']);case'yy':return _0x40c756?_0x4f0742({'year':'2-digit'},'year'):this['num'](_0x21aba['year']['toString']()['slice'](-0x2),0x2);case'yyyy':return _0x40c756?_0x4f0742({'year':'numeric'},'year'):this['num'](_0x21aba['year'],0x4);case'yyyyyy':return _0x40c756?_0x4f0742({'year':'numeric'},'year'):this['num'](_0x21aba['year'],0x6);case'G':return _0x2abd56('short');case'GG':return _0x2abd56('long');case'GGGGG':return _0x2abd56('narrow');case'kk':return this['num'](_0x21aba['weekYear']['toString']()['slice'](-0x2),0x2);case'kkkk':return this['num'](_0x21aba['weekYear'],0x4);case'W':return this['num'](_0x21aba['weekNumber']);case'WW':return this['num'](_0x21aba['weekNumber'],0x2);case'n':return this['num'](_0x21aba['localWeekNumber']);case'nn':return this['num'](_0x21aba['localWeekNumber'],0x2);case'ii':return this['num'](_0x21aba['localWeekYear']['toString']()['slice'](-0x2),0x2);case'iiii':return this['num'](_0x21aba['localWeekYear'],0x4);case'o':return this['num'](_0x21aba['ordinal']);case'ooo':return this['num'](_0x21aba['ordinal'],0x3);case'q':return this['num'](_0x21aba['quarter']);case'qq':return this['num'](_0x21aba['quarter'],0x2);case'X':return this['num'](Math['floor'](_0x21aba['ts']/0x3e8));case'x':return this['num'](_0x21aba['ts']);default:return _0x46239d(_0x2b49aa);}});}['formatDurationFromString'](_0x23b533,_0x192655){const _0x5d2c0a=_0x40db28=>{switch(_0x40db28[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;}},_0x32b6a5=Formatter['parseFormat'](_0x192655),_0x1253d6=_0x32b6a5['reduce']((_0x108dc9,{literal:_0x7b2c74,val:_0x57bf1f})=>_0x7b2c74?_0x108dc9:_0x108dc9['concat'](_0x57bf1f),[]);return gh(_0x32b6a5,(_0x543af9=>_0xd65292=>{const _0x3aaeb8=_0x5d2c0a(_0xd65292);return _0x3aaeb8?this['num'](_0x543af9['get'](_0x3aaeb8),_0xd65292['length']):_0xd65292;})(_0x23b533['shiftTo'](..._0x1253d6['map'](_0x5d2c0a)['filter'](t=>t))));}};const bh=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function yh(..._0x358f0c){const _0x34bee8=_0x358f0c['reduce']((_0xcca72e,_0x1a1b5c)=>_0xcca72e+_0x1a1b5c['source'],'');return RegExp('^'+_0x34bee8+'$');}function vh(..._0x20cc53){return _0x1a0113=>_0x20cc53['reduce'](([_0x5236e5,_0x292898,_0x3f90d9],_0x4946e5)=>{const [_0x1578be,_0x4c96d2,_0x592414]=_0x4946e5(_0x1a0113,_0x3f90d9);return[{..._0x5236e5,..._0x1578be},_0x4c96d2||_0x292898,_0x592414];},[{},null,0x1])['slice'](0x0,0x2);}function _h(_0xf03a9c,..._0x4f426e){if(null==_0xf03a9c)return[null,null];for(const [_0x38dc83,_0x153fb3]of _0x4f426e){const _0x6ae1e0=_0x38dc83['exec'](_0xf03a9c);if(_0x6ae1e0)return _0x153fb3(_0x6ae1e0);}return[null,null];}function Eh(..._0x36ce5a){return(_0x4f131f,_0x7295bf)=>{const _0x4a7535={};let _0x75afa2;for(_0x75afa2=0x0;_0x75afa2<_0x36ce5a['length'];_0x75afa2++)_0x4a7535[_0x36ce5a[_0x75afa2]]=Ul(_0x4f131f[_0x7295bf+_0x75afa2]);return[_0x4a7535,null,_0x7295bf+_0x75afa2];};}const Th=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Ah=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Sh=RegExp(''+Ah['source']+('(?:'+Th['source']+'?(?:\x5c[('+bh['source']+')\x5c])?)?')),Ih=RegExp('(?:T'+Sh['source']+')?'),kh=Eh('weekYear','weekNumber','weekDay'),xh=Eh('year','ordinal'),Ch=RegExp(Ah['source']+'\x20?(?:'+Th['source']+'|('+bh['source']+'))?'),Rh=RegExp('(?:\x20'+Ch['source']+')?');function Ph(_0x30d1df,_0x38c1cd,_0x5029c1){const _0x34e37c=_0x30d1df[_0x38c1cd];return Cl(_0x34e37c)?_0x5029c1:Ul(_0x34e37c);}function Mh(_0x2ec8eb,_0x26462d){return[{'hours':Ph(_0x2ec8eb,_0x26462d,0x0),'minutes':Ph(_0x2ec8eb,_0x26462d+0x1,0x0),'seconds':Ph(_0x2ec8eb,_0x26462d+0x2,0x0),'milliseconds':Bl(_0x2ec8eb[_0x26462d+0x3])},null,_0x26462d+0x4];}function Nh(_0x1810a1,_0x14dc28){const _0x5d3646=!_0x1810a1[_0x14dc28]&&!_0x1810a1[_0x14dc28+0x1],_0x3a8768=Kl(_0x1810a1[_0x14dc28+0x1],_0x1810a1[_0x14dc28+0x2]);return[{},_0x5d3646?null:Kc['instance'](_0x3a8768),_0x14dc28+0x3];}function Lh(_0x3ec02f,_0x28176a){return[{},_0x3ec02f[_0x28176a]?Lc['create'](_0x3ec02f[_0x28176a]):null,_0x28176a+0x1];}const $h=RegExp('^T?'+Ah['source']+'$'),Dh=/^-?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 Qh(_0x146358){const [_0x15e261,_0x48f5e9,_0x5a4d24,_0x59d5d4,_0x56dfa3,_0x2f120a,_0x50fdab,_0x252e56,_0x1d0a27]=_0x146358,_0x4be7f9='-'===_0x15e261[0x0],_0x8b7e51=_0x252e56&&'-'===_0x252e56[0x0],_0x459bf0=(_0x4762c1,_0x1f7098=!0x1)=>void 0x0!==_0x4762c1&&(_0x1f7098||_0x4762c1&&_0x4be7f9)?-_0x4762c1:_0x4762c1;return[{'years':_0x459bf0(Vl(_0x48f5e9)),'months':_0x459bf0(Vl(_0x5a4d24)),'weeks':_0x459bf0(Vl(_0x59d5d4)),'days':_0x459bf0(Vl(_0x56dfa3)),'hours':_0x459bf0(Vl(_0x2f120a)),'minutes':_0x459bf0(Vl(_0x50fdab)),'seconds':_0x459bf0(Vl(_0x252e56),'-0'===_0x252e56),'milliseconds':_0x459bf0(Bl(_0x1d0a27),_0x8b7e51)}];}const jh={'GMT':0x0,'EDT':-0xf0,'EST':-0x12c,'CDT':-0x12c,'CST':-0x168,'MDT':-0x168,'MST':-0x1a4,'PDT':-0x1a4,'PST':-0x1e0};function Uh(_0x5fa623,_0x4dbaa0,_0xbf33f8,_0x4fee7d,_0x4eee91,_0x373a01,_0x3f763f){const _0x385ccd={'year':0x2===_0x4dbaa0['length']?zl(Ul(_0x4dbaa0)):Ul(_0x4dbaa0),'month':nh['indexOf'](_0xbf33f8)+0x1,'day':Ul(_0x4fee7d),'hour':Ul(_0x4eee91),'minute':Ul(_0x373a01)};return _0x3f763f&&(_0x385ccd['second']=Ul(_0x3f763f)),_0x5fa623&&(_0x385ccd['weekday']=_0x5fa623['length']>0x3?ah['indexOf'](_0x5fa623)+0x1:ch['indexOf'](_0x5fa623)+0x1),_0x385ccd;}const Vh=/^(?:(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 Bh(_0x16d50e){const [,_0x2cdff4,_0x4f41da,_0x56f6cf,_0x4e40c3,_0xfd4393,_0x8bf3ae,_0x379be7,_0x44bddf,_0x1d8fb8,_0x393ff0,_0x194a4d]=_0x16d50e,_0x24dd20=Uh(_0x2cdff4,_0x4e40c3,_0x56f6cf,_0x4f41da,_0xfd4393,_0x8bf3ae,_0x379be7);let _0x24584b;return _0x24584b=_0x44bddf?jh[_0x44bddf]:_0x1d8fb8?0x0:Kl(_0x393ff0,_0x194a4d),[_0x24dd20,new Kc(_0x24584b)];}const Fh=/^(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$/,Hh=/^(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$/,Zh=/^(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 Gh(_0x36a11){const [,_0x49a156,_0x42f1e7,_0x29e901,_0x4a2868,_0x509d68,_0x4e0da6,_0x3bb8b2]=_0x36a11;return[Uh(_0x49a156,_0x4a2868,_0x29e901,_0x42f1e7,_0x509d68,_0x4e0da6,_0x3bb8b2),Kc['utcInstance']];}function Xh(_0x138573){const [,_0x4684b0,_0x25670f,_0xc4ba83,_0x210ebb,_0x516c77,_0x4a7bfd,_0x140ade]=_0x138573;return[Uh(_0x4684b0,_0x140ade,_0x25670f,_0xc4ba83,_0x210ebb,_0x516c77,_0x4a7bfd),Kc['utcInstance']];}const qh=yh(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Ih),Wh=yh(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Ih),zh=yh(/(\d{4})-?(\d{3})/,Ih),Yh=yh(Sh),Kh=vh(function(_0x141034,_0x4916af){return[{'year':Ph(_0x141034,_0x4916af),'month':Ph(_0x141034,_0x4916af+0x1,0x1),'day':Ph(_0x141034,_0x4916af+0x2,0x1)},null,_0x4916af+0x3];},Mh,Nh,Lh),Jh=vh(kh,Mh,Nh,Lh),tu=vh(xh,Mh,Nh,Lh),eu=vh(Mh,Nh,Lh),iu=vh(Mh),su=yh(/(\d{4})-(\d\d)-(\d\d)/,Rh),nu=yh(Ch),ru=vh(Mh,Nh,Lh),ou='Invalid\x20Duration',au={'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}},cu={'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},...au},lu=365.2425,hu=30.436875,uu={'years':{'quarters':0x4,'months':0xc,'weeks':52.1775,'days':lu,'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':hu,'hours':730.485,'minutes':43829.1,'seconds':0x282072,'milliseconds':0x9cbebd50},...au},du=['years','quarters','months','weeks','days','hours','minutes','seconds','milliseconds'],fu=du['slice'](0x0)['reverse']();function mu(_0x44aca2,_0x5a9d8a,_0x4d65e4=!0x1){return new Ou({'values':_0x4d65e4?_0x5a9d8a['values']:{..._0x44aca2['values'],..._0x5a9d8a['values']||{}},'loc':_0x44aca2['loc']['clone'](_0x5a9d8a['loc']),'conversionAccuracy':_0x5a9d8a['conversionAccuracy']||_0x44aca2['conversionAccuracy'],'matrix':_0x5a9d8a['matrix']||_0x44aca2['matrix']});}function pu(_0x3cfa72,_0x74bac6){let _0x36d393=_0x74bac6['milliseconds']??0x0;for(const _0x46c525 of fu['slice'](0x1))_0x74bac6[_0x46c525]&&(_0x36d393+=_0x74bac6[_0x46c525]*_0x3cfa72[_0x46c525]['milliseconds']);return _0x36d393;}function gu(_0x37e8e3,_0x577708){const _0x4c96f1=pu(_0x37e8e3,_0x577708)<0x0?-0x1:0x1;du['reduceRight']((_0x303455,_0x3e58a7)=>{if(Cl(_0x577708[_0x3e58a7]))return _0x303455;if(_0x303455){const _0x4d99ba=_0x577708[_0x303455]*_0x4c96f1,_0x4f0fea=_0x37e8e3[_0x3e58a7][_0x303455],_0x734725=Math['floor'](_0x4d99ba/_0x4f0fea);_0x577708[_0x3e58a7]+=_0x734725*_0x4c96f1,_0x577708[_0x303455]-=_0x734725*_0x4f0fea*_0x4c96f1;}return _0x3e58a7;},null),du['reduce']((_0x3b3067,_0x2cb2d6)=>{if(Cl(_0x577708[_0x2cb2d6]))return _0x3b3067;if(_0x3b3067){const _0x540efe=_0x577708[_0x3b3067]%0x1;_0x577708[_0x3b3067]-=_0x540efe,_0x577708[_0x2cb2d6]+=_0x540efe*_0x37e8e3[_0x3b3067][_0x2cb2d6];}return _0x2cb2d6;},null);}var Ou=class Duration{constructor(_0x3d0f29){const _0x3bb675='longterm'===_0x3d0f29['conversionAccuracy']||!0x1;let _0x40740e=_0x3bb675?uu:cu;_0x3d0f29['matrix']&&(_0x40740e=_0x3d0f29['matrix']),this['values']=_0x3d0f29['values'],this['loc']=_0x3d0f29['loc']||zc['create'](),this['conversionAccuracy']=_0x3bb675?'longterm':'casual',this['invalid']=_0x3d0f29['invalid']||null,this['matrix']=_0x40740e,this['isLuxonDuration']=!0x0;}static['fromMillis'](_0x3e3bf5,_0x3c11f6){return Duration['fromObject']({'milliseconds':_0x3e3bf5},_0x3c11f6);}static['fromObject'](_0x332588,_0x59ff24={}){if(null==_0x332588||'object'!=typeof _0x332588)throw new ic('Duration.fromObject:\x20argument\x20expected\x20to\x20be\x20an\x20object,\x20got\x20'+(null===_0x332588?'null':typeof _0x332588));return new Duration({'values':th(_0x332588,Duration['normalizeUnit']),'loc':zc['fromObject'](_0x59ff24),'conversionAccuracy':_0x59ff24['conversionAccuracy'],'matrix':_0x59ff24['matrix']});}static['fromDurationLike'](_0x32abef){if(Rl(_0x32abef))return Duration['fromMillis'](_0x32abef);if(Duration['isDuration'](_0x32abef))return _0x32abef;if('object'==typeof _0x32abef)return Duration['fromObject'](_0x32abef);throw new ic('Unknown\x20duration\x20argument\x20'+_0x32abef+'\x20of\x20type\x20'+typeof _0x32abef);}static['fromISO'](_0x332092,_0x839d36){const [_0x3f8b3a]=function(_0x1e03a2){return _h(_0x1e03a2,[Dh,Qh]);}(_0x332092);return _0x3f8b3a?Duration['fromObject'](_0x3f8b3a,_0x839d36):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0x332092+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['fromISOTime'](_0x110784,_0x389f75){const [_0x51dfd2]=function(_0x2baf00){return _h(_0x2baf00,[$h,iu]);}(_0x110784);return _0x51dfd2?Duration['fromObject'](_0x51dfd2,_0x389f75):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0x110784+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['invalid'](_0xc9c58b,_0x2fda2d=null){if(!_0xc9c58b)throw new ic('need\x20to\x20specify\x20a\x20reason\x20the\x20Duration\x20is\x20invalid');const _0x205912=_0xc9c58b instanceof pl?_0xc9c58b:new pl(_0xc9c58b,_0x2fda2d);if(ml['throwOnInvalid'])throw new Ja(_0x205912);return new Duration({'invalid':_0x205912});}static['normalizeUnit'](_0x2eedf7){const _0x43be8b={'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'}[_0x2eedf7?_0x2eedf7['toLowerCase']():_0x2eedf7];if(!_0x43be8b)throw new ec(_0x2eedf7);return _0x43be8b;}static['isDuration'](_0x27d67b){return _0x27d67b&&_0x27d67b['isLuxonDuration']||!0x1;}get['locale'](){return this['isValid']?this['loc']['locale']:null;}get['numberingSystem'](){return this['isValid']?this['loc']['numberingSystem']:null;}['toFormat'](_0x31ed27,_0x50e40a={}){const _0x15f902={..._0x50e40a,'floor':!0x1!==_0x50e40a['round']&&!0x1!==_0x50e40a['floor']};return this['isValid']?wh['create'](this['loc'],_0x15f902)['formatDurationFromString'](this,_0x31ed27):ou;}['toHuman'](_0xef002d={}){if(!this['isValid'])return ou;const _0xcf6e5c=du['map'](_0x3e2492=>{const _0xc5e997=this['values'][_0x3e2492];return Cl(_0xc5e997)?null:this['loc']['numberFormatter']({'style':'unit','unitDisplay':'long',..._0xef002d,'unit':_0x3e2492['slice'](0x0,-0x1)})['format'](_0xc5e997);})['filter'](_0x448cae=>_0x448cae);return this['loc']['listFormatter']({'type':'conjunction','style':_0xef002d['listStyle']||'narrow',..._0xef002d})['format'](_0xcf6e5c);}['toObject'](){return this['isValid']?{...this['values']}:{};}['toISO'](){if(!this['isValid'])return null;let _0x53e02e='P';return 0x0!==this['years']&&(_0x53e02e+=this['years']+'Y'),0x0===this['months']&&0x0===this['quarters']||(_0x53e02e+=this['months']+0x3*this['quarters']+'M'),0x0!==this['weeks']&&(_0x53e02e+=this['weeks']+'W'),0x0!==this['days']&&(_0x53e02e+=this['days']+'D'),0x0===this['hours']&&0x0===this['minutes']&&0x0===this['seconds']&&0x0===this['milliseconds']||(_0x53e02e+='T'),0x0!==this['hours']&&(_0x53e02e+=this['hours']+'H'),0x0!==this['minutes']&&(_0x53e02e+=this['minutes']+'M'),0x0===this['seconds']&&0x0===this['milliseconds']||(_0x53e02e+=Fl(this['seconds']+this['milliseconds']/0x3e8,0x3)+'S'),'P'===_0x53e02e&&(_0x53e02e+='T0S'),_0x53e02e;}['toISOTime'](_0x4e2796={}){if(!this['isValid'])return null;const _0x39e2f1=this['toMillis']();return _0x39e2f1<0x0||_0x39e2f1>=0x5265c00?null:(_0x4e2796={'suppressMilliseconds':!0x1,'suppressSeconds':!0x1,'includePrefix':!0x1,'format':'extended',..._0x4e2796,'includeOffset':!0x1},hd['fromMillis'](_0x39e2f1,{'zone':'UTC'})['toISOTime'](_0x4e2796));}['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']?pu(this['matrix'],this['values']):NaN;}['valueOf'](){return this['toMillis']();}['plus'](_0x5e7402){if(!this['isValid'])return this;const _0x1a71ed=Duration['fromDurationLike'](_0x5e7402),_0xa5d69a={};for(const _0x5bb1c1 of du)($l(_0x1a71ed['values'],_0x5bb1c1)||$l(this['values'],_0x5bb1c1))&&(_0xa5d69a[_0x5bb1c1]=_0x1a71ed['get'](_0x5bb1c1)+this['get'](_0x5bb1c1));return mu(this,{'values':_0xa5d69a},!0x0);}['minus'](_0x277774){if(!this['isValid'])return this;const _0x310244=Duration['fromDurationLike'](_0x277774);return this['plus'](_0x310244['negate']());}['mapUnits'](_0x31a3bc){if(!this['isValid'])return this;const _0x5be1a6={};for(const _0x48b560 of Object['keys'](this['values']))_0x5be1a6[_0x48b560]=Jl(_0x31a3bc(this['values'][_0x48b560],_0x48b560));return mu(this,{'values':_0x5be1a6},!0x0);}['get'](_0x16e971){return this[Duration['normalizeUnit'](_0x16e971)];}['set'](_0x50813f){if(!this['isValid'])return this;return mu(this,{'values':{...this['values'],...th(_0x50813f,Duration['normalizeUnit'])}});}['reconfigure']({locale:_0x58b6e8,numberingSystem:_0x125a91,conversionAccuracy:_0xb0554d,matrix:_0x5d395c}={}){return mu(this,{'loc':this['loc']['clone']({'locale':_0x58b6e8,'numberingSystem':_0x125a91}),'matrix':_0x5d395c,'conversionAccuracy':_0xb0554d});}['as'](_0x22f0b5){return this['isValid']?this['shiftTo'](_0x22f0b5)['get'](_0x22f0b5):NaN;}['normalize'](){if(!this['isValid'])return this;const _0x4ad3a1=this['toObject']();return gu(this['matrix'],_0x4ad3a1),mu(this,{'values':_0x4ad3a1},!0x0);}['rescale'](){if(!this['isValid'])return this;const _0x331e1d=function(_0x40baa2){const _0x2e5765={};for(const [_0x54df9,_0x532682]of Object['entries'](_0x40baa2))0x0!==_0x532682&&(_0x2e5765[_0x54df9]=_0x532682);return _0x2e5765;}(this['normalize']()['shiftToAll']()['toObject']());return mu(this,{'values':_0x331e1d},!0x0);}['shiftTo'](..._0x1f499e){if(!this['isValid'])return this;if(0x0===_0x1f499e['length'])return this;_0x1f499e=_0x1f499e['map'](_0xe66860=>Duration['normalizeUnit'](_0xe66860));const _0x22f91f={},_0x291eed={},_0x717681=this['toObject']();let _0x1a19e7;for(const _0x314bd2 of du)if(_0x1f499e['indexOf'](_0x314bd2)>=0x0){_0x1a19e7=_0x314bd2;let _0x5c25a1=0x0;for(const _0x2f037f in _0x291eed)_0x5c25a1+=this['matrix'][_0x2f037f][_0x314bd2]*_0x291eed[_0x2f037f],_0x291eed[_0x2f037f]=0x0;Rl(_0x717681[_0x314bd2])&&(_0x5c25a1+=_0x717681[_0x314bd2]);const _0x27a9f0=Math['trunc'](_0x5c25a1);_0x22f91f[_0x314bd2]=_0x27a9f0,_0x291eed[_0x314bd2]=(0x3e8*_0x5c25a1-0x3e8*_0x27a9f0)/0x3e8;}else Rl(_0x717681[_0x314bd2])&&(_0x291eed[_0x314bd2]=_0x717681[_0x314bd2]);for(const _0x33119c in _0x291eed)0x0!==_0x291eed[_0x33119c]&&(_0x22f91f[_0x1a19e7]+=_0x33119c===_0x1a19e7?_0x291eed[_0x33119c]:_0x291eed[_0x33119c]/this['matrix'][_0x1a19e7][_0x33119c]);return gu(this['matrix'],_0x22f91f),mu(this,{'values':_0x22f91f},!0x0);}['shiftToAll'](){return this['isValid']?this['shiftTo']('years','months','weeks','days','hours','minutes','seconds','milliseconds'):this;}['negate'](){if(!this['isValid'])return this;const _0x26c0e2={};for(const _0x4638f3 of Object['keys'](this['values']))_0x26c0e2[_0x4638f3]=0x0===this['values'][_0x4638f3]?0x0:-this['values'][_0x4638f3];return mu(this,{'values':_0x26c0e2},!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'](_0x14eaaa){if(!this['isValid']||!_0x14eaaa['isValid'])return!0x1;if(!this['loc']['equals'](_0x14eaaa['loc']))return!0x1;function _0x2b69c9(_0x39f2e4,_0x1530b3){return void 0x0===_0x39f2e4||0x0===_0x39f2e4?void 0x0===_0x1530b3||0x0===_0x1530b3:_0x39f2e4===_0x1530b3;}for(const _0x33b87f of du)if(!_0x2b69c9(this['values'][_0x33b87f],_0x14eaaa['values'][_0x33b87f]))return!0x1;return!0x0;}};const wu='Invalid\x20Interval';function bu(_0x3d79cf,_0x51e5f9){return _0x3d79cf&&_0x3d79cf['isValid']?_0x51e5f9&&_0x51e5f9['isValid']?_0x51e5f9<_0x3d79cf?yu['invalid']('end\x20before\x20start','The\x20end\x20of\x20an\x20interval\x20must\x20be\x20after\x20its\x20start,\x20but\x20you\x20had\x20start='+_0x3d79cf['toISO']()+'\x20and\x20end='+_0x51e5f9['toISO']()):null:yu['invalid']('missing\x20or\x20invalid\x20end'):yu['invalid']('missing\x20or\x20invalid\x20start');}var yu=class Interval{constructor(_0x843c3d){this['s']=_0x843c3d['start'],this['e']=_0x843c3d['end'],this['invalid']=_0x843c3d['invalid']||null,this['isLuxonInterval']=!0x0;}static['invalid'](_0x4da2ff,_0x574f6c=null){if(!_0x4da2ff)throw new ic('need\x20to\x20specify\x20a\x20reason\x20the\x20Interval\x20is\x20invalid');const _0x1ac987=_0x4da2ff instanceof pl?_0x4da2ff:new pl(_0x4da2ff,_0x574f6c);if(ml['throwOnInvalid'])throw new Ka(_0x1ac987);return new Interval({'invalid':_0x1ac987});}static['fromDateTimes'](_0x394af1,_0x4a74fd){const _0x305540=ud(_0x394af1),_0x2cb494=ud(_0x4a74fd),_0x17cd4e=bu(_0x305540,_0x2cb494);return null==_0x17cd4e?new Interval({'start':_0x305540,'end':_0x2cb494}):_0x17cd4e;}static['after'](_0xe4ff75,_0x1eab18){const _0x386d1e=Ou['fromDurationLike'](_0x1eab18),_0x5e7d3e=ud(_0xe4ff75);return Interval['fromDateTimes'](_0x5e7d3e,_0x5e7d3e['plus'](_0x386d1e));}static['before'](_0x4e75f5,_0x3f8b8b){const _0x1ab8ee=Ou['fromDurationLike'](_0x3f8b8b),_0x2c5a08=ud(_0x4e75f5);return Interval['fromDateTimes'](_0x2c5a08['minus'](_0x1ab8ee),_0x2c5a08);}static['fromISO'](_0xf9bc27,_0x2301bd){const [_0xadcad4,_0x4809e6]=(_0xf9bc27||'')['split']('/',0x2);if(_0xadcad4&&_0x4809e6){let _0x1704fa,_0x2107c1,_0x2413e6,_0x29ddd4;try{_0x1704fa=hd['fromISO'](_0xadcad4,_0x2301bd),_0x2107c1=_0x1704fa['isValid'];}catch(_0x388952){_0x2107c1=!0x1;}try{_0x2413e6=hd['fromISO'](_0x4809e6,_0x2301bd),_0x29ddd4=_0x2413e6['isValid'];}catch(_0x515cb6){_0x29ddd4=!0x1;}if(_0x2107c1&&_0x29ddd4)return Interval['fromDateTimes'](_0x1704fa,_0x2413e6);if(_0x2107c1){const _0x47abc0=Ou['fromISO'](_0x4809e6,_0x2301bd);if(_0x47abc0['isValid'])return Interval['after'](_0x1704fa,_0x47abc0);}else{if(_0x29ddd4){const _0x2b8c95=Ou['fromISO'](_0xadcad4,_0x2301bd);if(_0x2b8c95['isValid'])return Interval['before'](_0x2413e6,_0x2b8c95);}}}return Interval['invalid']('unparsable','the\x20input\x20\x22'+_0xf9bc27+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['isInterval'](_0x28f0a2){return _0x28f0a2&&_0x28f0a2['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'](_0x53d40a='milliseconds'){return this['isValid']?this['toDuration'](_0x53d40a)['get'](_0x53d40a):NaN;}['count'](_0x2c5ff6='milliseconds',_0x3dc75c){if(!this['isValid'])return NaN;const _0x3553bf=this['start']['startOf'](_0x2c5ff6,_0x3dc75c);let _0xcb59aa;return _0xcb59aa=_0x3dc75c?.['useLocaleWeeks']?this['end']['reconfigure']({'locale':_0x3553bf['locale']}):this['end'],_0xcb59aa=_0xcb59aa['startOf'](_0x2c5ff6,_0x3dc75c),Math['floor'](_0xcb59aa['diff'](_0x3553bf,_0x2c5ff6)['get'](_0x2c5ff6))+(_0xcb59aa['valueOf']()!==this['end']['valueOf']());}['hasSame'](_0x52bf1d){return!!this['isValid']&&(this['isEmpty']()||this['e']['minus'](0x1)['hasSame'](this['s'],_0x52bf1d));}['isEmpty'](){return this['s']['valueOf']()===this['e']['valueOf']();}['isAfter'](_0x1b2a8c){return!!this['isValid']&&this['s']>_0x1b2a8c;}['isBefore'](_0x869711){return!!this['isValid']&&this['e']<=_0x869711;}['contains'](_0x32b8bc){return!!this['isValid']&&(this['s']<=_0x32b8bc&&this['e']>_0x32b8bc);}['set']({start:_0x382502,end:_0x8ca560}={}){return this['isValid']?Interval['fromDateTimes'](_0x382502||this['s'],_0x8ca560||this['e']):this;}['splitAt'](..._0x3d1fba){if(!this['isValid'])return[];const _0x1718e1=_0x3d1fba['map'](ud)['filter'](_0x52ea9b=>this['contains'](_0x52ea9b))['sort']((_0x16b759,_0xb3754b)=>_0x16b759['toMillis']()-_0xb3754b['toMillis']()),_0x28ee2b=[];let {s:_0x5bae43}=this,_0x212111=0x0;for(;_0x5bae43<this['e'];){const _0x11f3f9=_0x1718e1[_0x212111]||this['e'],_0x4d312b=+_0x11f3f9>+this['e']?this['e']:_0x11f3f9;_0x28ee2b['push'](Interval['fromDateTimes'](_0x5bae43,_0x4d312b)),_0x5bae43=_0x4d312b,_0x212111+=0x1;}return _0x28ee2b;}['splitBy'](_0x129e52){const _0x1518b6=Ou['fromDurationLike'](_0x129e52);if(!this['isValid']||!_0x1518b6['isValid']||0x0===_0x1518b6['as']('milliseconds'))return[];let _0x180f1e,{s:_0x3be299}=this,_0x2c4a18=0x1;const _0x30dabb=[];for(;_0x3be299<this['e'];){const _0x1faa1e=this['start']['plus'](_0x1518b6['mapUnits'](_0x134f7e=>_0x134f7e*_0x2c4a18));_0x180f1e=+_0x1faa1e>+this['e']?this['e']:_0x1faa1e,_0x30dabb['push'](Interval['fromDateTimes'](_0x3be299,_0x180f1e)),_0x3be299=_0x180f1e,_0x2c4a18+=0x1;}return _0x30dabb;}['divideEqually'](_0x27a603){return this['isValid']?this['splitBy'](this['length']()/_0x27a603)['slice'](0x0,_0x27a603):[];}['overlaps'](_0x3f6aeb){return this['e']>_0x3f6aeb['s']&&this['s']<_0x3f6aeb['e'];}['abutsStart'](_0x4f11a1){return!!this['isValid']&&+this['e']===+_0x4f11a1['s'];}['abutsEnd'](_0x3542df){return!!this['isValid']&&+_0x3542df['e']===+this['s'];}['engulfs'](_0x2fcd3c){return!!this['isValid']&&(this['s']<=_0x2fcd3c['s']&&this['e']>=_0x2fcd3c['e']);}['equals'](_0x41d3fa){return!(!this['isValid']||!_0x41d3fa['isValid'])&&(this['s']['equals'](_0x41d3fa['s'])&&this['e']['equals'](_0x41d3fa['e']));}['intersection'](_0x2d6b37){if(!this['isValid'])return this;const _0x81e2d0=this['s']>_0x2d6b37['s']?this['s']:_0x2d6b37['s'],_0x4d29f4=this['e']<_0x2d6b37['e']?this['e']:_0x2d6b37['e'];return _0x81e2d0>=_0x4d29f4?null:Interval['fromDateTimes'](_0x81e2d0,_0x4d29f4);}['union'](_0x387726){if(!this['isValid'])return this;const _0x322aff=this['s']<_0x387726['s']?this['s']:_0x387726['s'],_0x41f3d2=this['e']>_0x387726['e']?this['e']:_0x387726['e'];return Interval['fromDateTimes'](_0x322aff,_0x41f3d2);}static['merge'](_0x13aeaa){const [_0x4be83f,_0x20bd76]=_0x13aeaa['sort']((_0x39d69a,_0x5374ab)=>_0x39d69a['s']-_0x5374ab['s'])['reduce'](([_0x514344,_0x4f58c7],_0x2bea24)=>_0x4f58c7?_0x4f58c7['overlaps'](_0x2bea24)||_0x4f58c7['abutsStart'](_0x2bea24)?[_0x514344,_0x4f58c7['union'](_0x2bea24)]:[_0x514344['concat']([_0x4f58c7]),_0x2bea24]:[_0x514344,_0x2bea24],[[],null]);return _0x20bd76&&_0x4be83f['push'](_0x20bd76),_0x4be83f;}static['xor'](_0x304ffd){let _0x55f08b=null,_0x4a50c8=0x0;const _0x1759bc=[],_0x339a9f=_0x304ffd['map'](_0x434f90=>[{'time':_0x434f90['s'],'type':'s'},{'time':_0x434f90['e'],'type':'e'}]),_0x442af8=Array['prototype']['concat'](..._0x339a9f)['sort']((_0x1a72ae,_0x337331)=>_0x1a72ae['time']-_0x337331['time']);for(const _0xa8e152 of _0x442af8)_0x4a50c8+='s'===_0xa8e152['type']?0x1:-0x1,0x1===_0x4a50c8?_0x55f08b=_0xa8e152['time']:(_0x55f08b&&+_0x55f08b!==+_0xa8e152['time']&&_0x1759bc['push'](Interval['fromDateTimes'](_0x55f08b,_0xa8e152['time'])),_0x55f08b=null);return Interval['merge'](_0x1759bc);}['difference'](..._0x2cdb83){return Interval['xor']([this]['concat'](_0x2cdb83))['map'](_0x2b861b=>this['intersection'](_0x2b861b))['filter'](_0xfa0585=>_0xfa0585&&!_0xfa0585['isEmpty']());}['toString'](){return this['isValid']?'['+this['s']['toISO']()+'\x20–\x20'+this['e']['toISO']()+')':wu;}[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'](_0x27fc4f=ac,_0xeda2d8={}){return this['isValid']?wh['create'](this['s']['loc']['clone'](_0xeda2d8),_0x27fc4f)['formatInterval'](this):wu;}['toISO'](_0x31cec5){return this['isValid']?this['s']['toISO'](_0x31cec5)+'/'+this['e']['toISO'](_0x31cec5):wu;}['toISODate'](){return this['isValid']?this['s']['toISODate']()+'/'+this['e']['toISODate']():wu;}['toISOTime'](_0x415df6){return this['isValid']?this['s']['toISOTime'](_0x415df6)+'/'+this['e']['toISOTime'](_0x415df6):wu;}['toFormat'](_0xcf1f9d,{separator:_0x49313b='\x20–\x20'}={}){return this['isValid']?''+this['s']['toFormat'](_0xcf1f9d)+_0x49313b+this['e']['toFormat'](_0xcf1f9d):wu;}['toDuration'](_0x13be6c,_0x3aa3d6){return this['isValid']?this['e']['diff'](this['s'],_0x13be6c,_0x3aa3d6):Ou['invalid'](this['invalidReason']);}['mapEndpoints'](_0x4d7967){return Interval['fromDateTimes'](_0x4d7967(this['s']),_0x4d7967(this['e']));}},vu=class{static['hasDST'](_0x87fd96=ml['defaultZone']){const _0x4103df=hd['now']()['setZone'](_0x87fd96)['set']({'month':0xc});return!_0x87fd96['isUniversal']&&_0x4103df['offset']!==_0x4103df['set']({'month':0x6})['offset'];}static['isValidIANAZone'](_0x3a2815){return Lc['isValidZone'](_0x3a2815);}static['normalizeZone'](_0x2bf175){return tl(_0x2bf175,ml['defaultZone']);}static['getStartOfWeek']({locale:_0x5358d4=null,locObj:_0x59e640=null}={}){return(_0x59e640||zc['create'](_0x5358d4))['getStartOfWeek']();}static['getMinimumDaysInFirstWeek']({locale:_0x1b4da7=null,locObj:_0x5c9313=null}={}){return(_0x5c9313||zc['create'](_0x1b4da7))['getMinDaysInFirstWeek']();}static['getWeekendWeekdays']({locale:_0x368bf1=null,locObj:_0x46f5c4=null}={}){return(_0x46f5c4||zc['create'](_0x368bf1))['getWeekendDays']()['slice']();}static['months'](_0x144c14='long',{locale:_0x960358=null,numberingSystem:_0xd495e8=null,locObj:_0x4716f7=null,outputCalendar:_0x5d91c0='gregory'}={}){return(_0x4716f7||zc['create'](_0x960358,_0xd495e8,_0x5d91c0))['months'](_0x144c14);}static['monthsFormat'](_0x228c08='long',{locale:_0x419d50=null,numberingSystem:_0x27f3f9=null,locObj:_0x528395=null,outputCalendar:_0x437ebd='gregory'}={}){return(_0x528395||zc['create'](_0x419d50,_0x27f3f9,_0x437ebd))['months'](_0x228c08,!0x0);}static['weekdays'](_0x2ffa59='long',{locale:_0x21e5f6=null,numberingSystem:_0x1e222d=null,locObj:_0x5c321b=null}={}){return(_0x5c321b||zc['create'](_0x21e5f6,_0x1e222d,null))['weekdays'](_0x2ffa59);}static['weekdaysFormat'](_0x90ab07='long',{locale:_0x3d1d22=null,numberingSystem:_0xfe9ae1=null,locObj:_0x3e80a1=null}={}){return(_0x3e80a1||zc['create'](_0x3d1d22,_0xfe9ae1,null))['weekdays'](_0x90ab07,!0x0);}static['meridiems']({locale:_0x4c6a31=null}={}){return zc['create'](_0x4c6a31)['meridiems']();}static['eras'](_0x2f79b0='short',{locale:_0xff347=null}={}){return zc['create'](_0xff347,null,'gregory')['eras'](_0x2f79b0);}static['features'](){return{'relative':Ml(),'localeWeek':Nl()};}};function _u(_0x500599,_0x4bac74){const _0x51448b=_0x5c5df0=>_0x5c5df0['toUTC'](0x0,{'keepLocalTime':!0x0})['startOf']('day')['valueOf'](),_0x1487a1=_0x51448b(_0x4bac74)-_0x51448b(_0x500599);return Math['floor'](Ou['fromMillis'](_0x1487a1)['as']('days'));}function Eu(_0x486c30,_0x450432,_0x31314d,_0x20f526){let [_0x263d9e,_0x29d02b,_0x26de4b,_0x444bfe]=function(_0x29d2b4,_0x5574ca,_0x543d30){const _0x246ed3=[['years',(_0x3242aa,_0x2677c7)=>_0x2677c7['year']-_0x3242aa['year']],['quarters',(_0x3bcbc4,_0x15717c)=>_0x15717c['quarter']-_0x3bcbc4['quarter']+0x4*(_0x15717c['year']-_0x3bcbc4['year'])],['months',(_0x552fd5,_0x41616e)=>_0x41616e['month']-_0x552fd5['month']+0xc*(_0x41616e['year']-_0x552fd5['year'])],['weeks',(_0x3d0552,_0x52f15c)=>{const _0x3d9b5a=_u(_0x3d0552,_0x52f15c);return(_0x3d9b5a-_0x3d9b5a%0x7)/0x7;}],['days',_u]],_0x467ace={},_0x136f61=_0x29d2b4;let _0x30326d,_0x919386;for(const [_0x3219c0,_0x50a372]of _0x246ed3)_0x543d30['indexOf'](_0x3219c0)>=0x0&&(_0x30326d=_0x3219c0,_0x467ace[_0x3219c0]=_0x50a372(_0x29d2b4,_0x5574ca),_0x919386=_0x136f61['plus'](_0x467ace),_0x919386>_0x5574ca?(_0x467ace[_0x3219c0]--,(_0x29d2b4=_0x136f61['plus'](_0x467ace))>_0x5574ca&&(_0x919386=_0x29d2b4,_0x467ace[_0x3219c0]--,_0x29d2b4=_0x136f61['plus'](_0x467ace))):_0x29d2b4=_0x919386);return[_0x29d2b4,_0x467ace,_0x919386,_0x30326d];}(_0x486c30,_0x450432,_0x31314d);const _0x199862=_0x450432-_0x263d9e,_0x5fdc7c=_0x31314d['filter'](_0x50114a=>['hours','minutes','seconds','milliseconds']['indexOf'](_0x50114a)>=0x0);0x0===_0x5fdc7c['length']&&(_0x26de4b<_0x450432&&(_0x26de4b=_0x263d9e['plus']({[_0x444bfe]:0x1})),_0x26de4b!==_0x263d9e&&(_0x29d02b[_0x444bfe]=(_0x29d02b[_0x444bfe]||0x0)+_0x199862/(_0x26de4b-_0x263d9e)));const _0x140bcf=Ou['fromObject'](_0x29d02b,_0x20f526);return _0x5fdc7c['length']>0x0?Ou['fromMillis'](_0x199862,_0x20f526)['shiftTo'](..._0x5fdc7c)['plus'](_0x140bcf):_0x140bcf;}function Tu(_0x1c7155,_0x798211=_0x59460c=>_0x59460c){return{'regex':_0x1c7155,'deser':([_0x433c21])=>_0x798211(function(_0x4d060d){let _0x4c2dde=parseInt(_0x4d060d,0xa);if(isNaN(_0x4c2dde)){_0x4c2dde='';for(let _0x41b063=0x0;_0x41b063<_0x4d060d['length'];_0x41b063++){const _0x1cc6df=_0x4d060d['charCodeAt'](_0x41b063);if(-0x1!==_0x4d060d[_0x41b063]['search'](el['hanidec']))_0x4c2dde+=sl['indexOf'](_0x4d060d[_0x41b063]);else for(const _0x15abea in il){const [_0x92207a,_0x3e1c42]=il[_0x15abea];_0x1cc6df>=_0x92207a&&_0x1cc6df<=_0x3e1c42&&(_0x4c2dde+=_0x1cc6df-_0x92207a);}}return parseInt(_0x4c2dde,0xa);}return _0x4c2dde;}(_0x433c21))};}const Au='[\x20'+String['fromCharCode'](0xa0)+']',Su=new RegExp(Au,'g');function Iu(_0x2c7359){return _0x2c7359['replace'](/\./g,'\x5c.?')['replace'](Su,Au);}function ku(_0xaca345){return _0xaca345['replace'](/\./g,'')['replace'](Su,'\x20')['toLowerCase']();}function xu(_0x39caa5,_0x11d059){return null===_0x39caa5?null:{'regex':RegExp(_0x39caa5['map'](Iu)['join']('|')),'deser':([_0x297ba9])=>_0x39caa5['findIndex'](_0x31ad73=>ku(_0x297ba9)===ku(_0x31ad73))+_0x11d059};}function Cu(_0x16aedb,_0x1a4e9a){return{'regex':_0x16aedb,'deser':([,_0x4f0a5e,_0x2fc23d])=>Kl(_0x4f0a5e,_0x2fc23d),'groups':_0x1a4e9a};}function Ru(_0x3f5197){return{'regex':_0x3f5197,'deser':([_0x3fc00f])=>_0x3fc00f};}function Pu(_0xfa535){return _0xfa535['replace'](/[\-\[\]{}()*+?.,\\\^$|#\s]/g,'\x5c$&');}const Mu={'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 Nu=null;function Lu(_0x297c5b,_0x9dc799){return Array['prototype']['concat'](..._0x297c5b['map'](t=>function(_0x1adeb4,_0x2abd2b){if(_0x1adeb4['literal'])return _0x1adeb4;const _0x6b20d0=Qu(wh['macroTokenToFormatOpts'](_0x1adeb4['val']),_0x2abd2b);return null==_0x6b20d0||_0x6b20d0['includes'](void 0x0)?_0x1adeb4:_0x6b20d0;}(t,_0x9dc799)));}var $u=class{constructor(_0x410854,_0x4b0bf3){if(this['locale']=_0x410854,this['format']=_0x4b0bf3,this['tokens']=Lu(wh['parseFormat'](_0x4b0bf3),_0x410854),this['units']=this['tokens']['map'](t=>function(_0x517589,_0x5b88c9){const _0x13ac05=rl(_0x5b88c9),_0x3284de=rl(_0x5b88c9,'{2}'),_0x3b4c7a=rl(_0x5b88c9,'{3}'),_0xa93d9b=rl(_0x5b88c9,'{4}'),_0x2460bb=rl(_0x5b88c9,'{6}'),_0x231c6a=rl(_0x5b88c9,'{1,2}'),_0x1d9d6c=rl(_0x5b88c9,'{1,3}'),_0x348758=rl(_0x5b88c9,'{1,6}'),_0x46d6cb=rl(_0x5b88c9,'{1,9}'),_0x491cc7=rl(_0x5b88c9,'{2,4}'),_0x7ab6d8=rl(_0x5b88c9,'{4,6}'),_0x994a9=t=>({'regex':RegExp(Pu(t['val'])),'deser':([_0x2011c6])=>_0x2011c6,'literal':!0x0}),_0x28495f=(t=>{if(_0x517589['literal'])return _0x994a9(t);switch(t['val']){case'G':return xu(_0x5b88c9['eras']('short'),0x0);case'GG':return xu(_0x5b88c9['eras']('long'),0x0);case'y':return Tu(_0x348758);case'yy':case'kk':return Tu(_0x491cc7,zl);case'yyyy':case'kkkk':return Tu(_0xa93d9b);case'yyyyy':return Tu(_0x7ab6d8);case'yyyyyy':return Tu(_0x2460bb);case'M':case'L':case'd':case'H':case'h':case'm':case'q':case's':case'W':return Tu(_0x231c6a);case'MM':case'LL':case'dd':case'HH':case'hh':case'mm':case'qq':case'ss':case'WW':return Tu(_0x3284de);case'MMM':return xu(_0x5b88c9['months']('short',!0x0),0x1);case'MMMM':return xu(_0x5b88c9['months']('long',!0x0),0x1);case'LLL':return xu(_0x5b88c9['months']('short',!0x1),0x1);case'LLLL':return xu(_0x5b88c9['months']('long',!0x1),0x1);case'o':case'S':return Tu(_0x1d9d6c);case'ooo':case'SSS':return Tu(_0x3b4c7a);case'u':return Ru(_0x46d6cb);case'uu':return Ru(_0x231c6a);case'uuu':case'E':case'c':return Tu(_0x13ac05);case'a':return xu(_0x5b88c9['meridiems'](),0x0);case'EEE':return xu(_0x5b88c9['weekdays']('short',!0x1),0x1);case'EEEE':return xu(_0x5b88c9['weekdays']('long',!0x1),0x1);case'ccc':return xu(_0x5b88c9['weekdays']('short',!0x0),0x1);case'cccc':return xu(_0x5b88c9['weekdays']('long',!0x0),0x1);case'Z':case'ZZ':return Cu(new RegExp('([+-]'+_0x231c6a['source']+')(?::('+_0x3284de['source']+'))?'),0x2);case'ZZZ':return Cu(new RegExp('([+-]'+_0x231c6a['source']+')('+_0x3284de['source']+')?'),0x2);case'z':return Ru(/[a-z_+-/]{1,256}?/i);case'\x20':return Ru(/[^\S\n\r]/);default:return _0x994a9(t);}})(_0x517589)||{'invalidReason':'missing\x20Intl.DateTimeFormat.formatToParts\x20support'};return _0x28495f['token']=_0x517589,_0x28495f;}(t,_0x410854)),this['disqualifyingUnit']=this['units']['find'](t=>t['invalidReason']),!this['disqualifyingUnit']){const [_0xa0f278,_0x742595]=['^'+(_0x434574=this['units'])['map'](_0x2ff245=>_0x2ff245['regex'])['reduce']((_0x8292f5,_0x398414)=>_0x8292f5+'('+_0x398414['source']+')','')+'$',_0x434574];this['regex']=RegExp(_0xa0f278,'i'),this['handlers']=_0x742595;}var _0x434574;}['explainFromTokens'](_0x1df182){if(this['isValid']){const [_0x559feb,_0x2d7c0c]=function(_0xbadc1,_0x5cf27e,_0x1a2b6c){const _0x8922d6=_0xbadc1['match'](_0x5cf27e);if(_0x8922d6){const _0x3f7e03={};let _0x5bc3fc=0x1;for(const _0x745948 in _0x1a2b6c)if($l(_0x1a2b6c,_0x745948)){const _0x469003=_0x1a2b6c[_0x745948],_0x23b33d=_0x469003['groups']?_0x469003['groups']+0x1:0x1;!_0x469003['literal']&&_0x469003['token']&&(_0x3f7e03[_0x469003['token']['val'][0x0]]=_0x469003['deser'](_0x8922d6['slice'](_0x5bc3fc,_0x5bc3fc+_0x23b33d))),_0x5bc3fc+=_0x23b33d;}return[_0x8922d6,_0x3f7e03];}return[_0x8922d6,{}];}(_0x1df182,this['regex'],this['handlers']),[_0x535550,_0x4d39d9,_0x2a9d73]=_0x2d7c0c?function(_0x1c309e){let _0x3d9c2d,_0x5ceafd=null;return Cl(_0x1c309e['z'])||(_0x5ceafd=Lc['create'](_0x1c309e['z'])),Cl(_0x1c309e['Z'])||(_0x5ceafd||(_0x5ceafd=new Kc(_0x1c309e['Z'])),_0x3d9c2d=_0x1c309e['Z']),Cl(_0x1c309e['q'])||(_0x1c309e['M']=0x3*(_0x1c309e['q']-0x1)+0x1),Cl(_0x1c309e['h'])||(_0x1c309e['h']<0xc&&0x1===_0x1c309e['a']?_0x1c309e['h']+=0xc:0xc===_0x1c309e['h']&&0x0===_0x1c309e['a']&&(_0x1c309e['h']=0x0)),0x0===_0x1c309e['G']&&_0x1c309e['y']&&(_0x1c309e['y']=-_0x1c309e['y']),Cl(_0x1c309e['u'])||(_0x1c309e['S']=Bl(_0x1c309e['u'])),[Object['keys'](_0x1c309e)['reduce']((_0x2670e4,_0x53446a)=>{const _0x1035d1=(_0x3e2b95=>{switch(_0x3e2b95){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;}})(_0x53446a);return _0x1035d1&&(_0x2670e4[_0x1035d1]=_0x1c309e[_0x53446a]),_0x2670e4;},{}),_0x5ceafd,_0x3d9c2d];}(_0x2d7c0c):[null,null,void 0x0];if($l(_0x2d7c0c,'a')&&$l(_0x2d7c0c,'H'))throw new tc('Can\x27t\x20include\x20meridiem\x20when\x20specifying\x2024-hour\x20format');return{'input':_0x1df182,'tokens':this['tokens'],'regex':this['regex'],'rawMatches':_0x559feb,'matches':_0x2d7c0c,'result':_0x535550,'zone':_0x4d39d9,'specificOffset':_0x2a9d73};}return{'input':_0x1df182,'tokens':this['tokens'],'invalidReason':this['invalidReason']};}get['isValid'](){return!this['disqualifyingUnit'];}get['invalidReason'](){return this['disqualifyingUnit']?this['disqualifyingUnit']['invalidReason']:null;}};function Du(_0x1452d1,_0x2a4e34,_0x5ac2bb){return new $u(_0x1452d1,_0x5ac2bb)['explainFromTokens'](_0x2a4e34);}function Qu(_0x360f64,_0x33889c){if(!_0x360f64)return null;const _0x5a7d91=wh['create'](_0x33889c,_0x360f64)['dtFormatter']((Nu||(Nu=hd['fromMillis'](0x16a2e5618e3)),Nu)),_0x427a2b=_0x5a7d91['formatToParts'](),_0x45061a=_0x5a7d91['resolvedOptions']();return _0x427a2b['map'](_0x529265=>function(_0xbe6939,_0x201f1a,_0xbcb2d8){const {type:_0x330856,value:_0x615cea}=_0xbe6939;if('literal'===_0x330856){const _0x432c78=/^\s+$/['test'](_0x615cea);return{'literal':!_0x432c78,'val':_0x432c78?'\x20':_0x615cea};}const _0xefdd86=_0x201f1a[_0x330856];let _0x5336d0=_0x330856;'hour'===_0x330856&&(_0x5336d0=null!=_0x201f1a['hour12']?_0x201f1a['hour12']?'hour12':'hour24':null!=_0x201f1a['hourCycle']?'h11'===_0x201f1a['hourCycle']||'h12'===_0x201f1a['hourCycle']?'hour12':'hour24':_0xbcb2d8['hour12']?'hour12':'hour24');let _0x31d728=Mu[_0x5336d0];if('object'==typeof _0x31d728&&(_0x31d728=_0x31d728[_0xefdd86]),_0x31d728)return{'literal':!0x1,'val':_0x31d728};}(_0x529265,_0x360f64,_0x45061a));}const ju='Invalid\x20DateTime';function Uu(_0x64d704){return new pl('unsupported\x20zone','the\x20zone\x20\x22'+_0x64d704['name']+'\x22\x20is\x20not\x20supported');}function Vu(_0x569a8b){return null===_0x569a8b['weekData']&&(_0x569a8b['weekData']=El(_0x569a8b['c'])),_0x569a8b['weekData'];}function Bu(_0xeca43e){return null===_0xeca43e['localWeekData']&&(_0xeca43e['localWeekData']=El(_0xeca43e['c'],_0xeca43e['loc']['getMinDaysInFirstWeek'](),_0xeca43e['loc']['getStartOfWeek']())),_0xeca43e['localWeekData'];}function Fu(_0x5b8162,_0x115cfe){const _0x81cba4={'ts':_0x5b8162['ts'],'zone':_0x5b8162['zone'],'c':_0x5b8162['c'],'o':_0x5b8162['o'],'loc':_0x5b8162['loc'],'invalid':_0x5b8162['invalid']};return new hd({..._0x81cba4,..._0x115cfe,'old':_0x81cba4});}function Hu(_0x27a729,_0x206fa5,_0x41f57c){let _0x2c8986=_0x27a729-0x3c*_0x206fa5*0x3e8;const _0x4d9db5=_0x41f57c['offset'](_0x2c8986);if(_0x206fa5===_0x4d9db5)return[_0x2c8986,_0x206fa5];_0x2c8986-=0x3c*(_0x4d9db5-_0x206fa5)*0x3e8;const _0x2e3b1a=_0x41f57c['offset'](_0x2c8986);return _0x4d9db5===_0x2e3b1a?[_0x2c8986,_0x4d9db5]:[_0x27a729-0x3c*Math['min'](_0x4d9db5,_0x2e3b1a)*0x3e8,Math['max'](_0x4d9db5,_0x2e3b1a)];}function Zu(_0x25e267,_0x449979){const _0x41b338=new Date(_0x25e267+=0x3c*_0x449979*0x3e8);return{'year':_0x41b338['getUTCFullYear'](),'month':_0x41b338['getUTCMonth']()+0x1,'day':_0x41b338['getUTCDate'](),'hour':_0x41b338['getUTCHours'](),'minute':_0x41b338['getUTCMinutes'](),'second':_0x41b338['getUTCSeconds'](),'millisecond':_0x41b338['getUTCMilliseconds']()};}function Gu(_0x1ca448,_0x3151ff,_0x3f03ad){return Hu(Xl(_0x1ca448),_0x3151ff,_0x3f03ad);}function Xu(_0x40c346,_0x5a30d6){const _0x13636a=_0x40c346['o'],_0x216d00=_0x40c346['c']['year']+Math['trunc'](_0x5a30d6['years']),_0x29b8da=_0x40c346['c']['month']+Math['trunc'](_0x5a30d6['months'])+0x3*Math['trunc'](_0x5a30d6['quarters']),_0x2fde3c={..._0x40c346['c'],'year':_0x216d00,'month':_0x29b8da,'day':Math['min'](_0x40c346['c']['day'],Gl(_0x216d00,_0x29b8da))+Math['trunc'](_0x5a30d6['days'])+0x7*Math['trunc'](_0x5a30d6['weeks'])},_0x5a37e7=Ou['fromObject']({'years':_0x5a30d6['years']-Math['trunc'](_0x5a30d6['years']),'quarters':_0x5a30d6['quarters']-Math['trunc'](_0x5a30d6['quarters']),'months':_0x5a30d6['months']-Math['trunc'](_0x5a30d6['months']),'weeks':_0x5a30d6['weeks']-Math['trunc'](_0x5a30d6['weeks']),'days':_0x5a30d6['days']-Math['trunc'](_0x5a30d6['days']),'hours':_0x5a30d6['hours'],'minutes':_0x5a30d6['minutes'],'seconds':_0x5a30d6['seconds'],'milliseconds':_0x5a30d6['milliseconds']})['as']('milliseconds');let [_0x558936,_0x248c28]=Hu(Xl(_0x2fde3c),_0x13636a,_0x40c346['zone']);return 0x0!==_0x5a37e7&&(_0x558936+=_0x5a37e7,_0x248c28=_0x40c346['zone']['offset'](_0x558936)),{'ts':_0x558936,'o':_0x248c28};}function qu(_0x1034ad,_0x33bae7,_0x4ed757,_0x33b10e,_0x19865e,_0x50443e){const {setZone:_0x22a04f,zone:_0x554b14}=_0x4ed757;if(_0x1034ad&&0x0!==Object['keys'](_0x1034ad)['length']||_0x33bae7){const _0x5bf92a=_0x33bae7||_0x554b14,_0x5f0c79=hd['fromObject'](_0x1034ad,{..._0x4ed757,'zone':_0x5bf92a,'specificOffset':_0x50443e});return _0x22a04f?_0x5f0c79:_0x5f0c79['setZone'](_0x554b14);}return hd['invalid'](new pl('unparsable','the\x20input\x20\x22'+_0x19865e+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20'+_0x33b10e));}function Wu(_0x26015b,_0x368173,_0x2fd046=!0x0){return _0x26015b['isValid']?wh['create'](zc['create']('en-US'),{'allowZ':_0x2fd046,'forceSimple':!0x0})['formatDateTimeFromString'](_0x26015b,_0x368173):null;}function zu(_0x58e537,_0x3a6bb5){const _0x1e223e=_0x58e537['c']['year']>0x270f||_0x58e537['c']['year']<0x0;let _0x80499d='';return _0x1e223e&&_0x58e537['c']['year']>=0x0&&(_0x80499d+='+'),_0x80499d+=jl(_0x58e537['c']['year'],_0x1e223e?0x6:0x4),_0x3a6bb5?(_0x80499d+='-',_0x80499d+=jl(_0x58e537['c']['month']),_0x80499d+='-',_0x80499d+=jl(_0x58e537['c']['day'])):(_0x80499d+=jl(_0x58e537['c']['month']),_0x80499d+=jl(_0x58e537['c']['day'])),_0x80499d;}function Yu(_0x566f5c,_0x3d034a,_0x1d03b1,_0x24b28f,_0x437ced,_0xf77df8){let _0x18fa9d=jl(_0x566f5c['c']['hour']);return _0x3d034a?(_0x18fa9d+=':',_0x18fa9d+=jl(_0x566f5c['c']['minute']),0x0===_0x566f5c['c']['millisecond']&&0x0===_0x566f5c['c']['second']&&_0x1d03b1||(_0x18fa9d+=':')):_0x18fa9d+=jl(_0x566f5c['c']['minute']),0x0===_0x566f5c['c']['millisecond']&&0x0===_0x566f5c['c']['second']&&_0x1d03b1||(_0x18fa9d+=jl(_0x566f5c['c']['second']),0x0===_0x566f5c['c']['millisecond']&&_0x24b28f||(_0x18fa9d+='.',_0x18fa9d+=jl(_0x566f5c['c']['millisecond'],0x3))),_0x437ced&&(_0x566f5c['isOffsetFixed']&&0x0===_0x566f5c['offset']&&!_0xf77df8?_0x18fa9d+='Z':_0x566f5c['o']<0x0?(_0x18fa9d+='-',_0x18fa9d+=jl(Math['trunc'](-_0x566f5c['o']/0x3c)),_0x18fa9d+=':',_0x18fa9d+=jl(Math['trunc'](-_0x566f5c['o']%0x3c))):(_0x18fa9d+='+',_0x18fa9d+=jl(Math['trunc'](_0x566f5c['o']/0x3c)),_0x18fa9d+=':',_0x18fa9d+=jl(Math['trunc'](_0x566f5c['o']%0x3c)))),_0xf77df8&&(_0x18fa9d+='['+_0x566f5c['zone']['ianaName']+']'),_0x18fa9d;}const Ku={'month':0x1,'day':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},Ju={'weekNumber':0x1,'weekday':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},td={'ordinal':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},ed=['year','month','day','hour','minute','second','millisecond'],id=['weekYear','weekNumber','weekday','hour','minute','second','millisecond'],sd=['year','ordinal','hour','minute','second','millisecond'];function nd(_0xe4a15b){switch(_0xe4a15b['toLowerCase']()){case'localweekday':case'localweekdays':return'localWeekday';case'localweeknumber':case'localweeknumbers':return'localWeekNumber';case'localweekyear':case'localweekyears':return'localWeekYear';default:return function(_0x85550d){const _0x488107={'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'}[_0x85550d['toLowerCase']()];if(!_0x488107)throw new ec(_0x85550d);return _0x488107;}(_0xe4a15b);}}function rd(_0x2a8983,_0x5b36ec){const _0xc0e7ef=tl(_0x5b36ec['zone'],ml['defaultZone']);if(!_0xc0e7ef['isValid'])return hd['invalid'](Uu(_0xc0e7ef));const _0x2de848=zc['fromObject'](_0x5b36ec);let _0x162d98,_0x467cbf;if(Cl(_0x2a8983['year']))_0x162d98=ml['now']();else{for(const _0x188400 of ed)Cl(_0x2a8983[_0x188400])&&(_0x2a8983[_0x188400]=Ku[_0x188400]);const _0x32a3ae=kl(_0x2a8983)||xl(_0x2a8983);if(_0x32a3ae)return hd['invalid'](_0x32a3ae);const _0x1b18db=function(_0x140272){if(void 0x0===cd&&(cd=ml['now']()),'iana'!==_0x140272['type'])return _0x140272['offset'](cd);const _0x15db55=_0x140272['name'];let _0x416856=ld['get'](_0x15db55);return void 0x0===_0x416856&&(_0x416856=_0x140272['offset'](cd),ld['set'](_0x15db55,_0x416856)),_0x416856;}(_0xc0e7ef);[_0x162d98,_0x467cbf]=Gu(_0x2a8983,_0x1b18db,_0xc0e7ef);}return new hd({'ts':_0x162d98,'zone':_0xc0e7ef,'loc':_0x2de848,'o':_0x467cbf});}function od(_0x47a9b9,_0x47c8c2,_0x20e64d){const _0x332352=!!Cl(_0x20e64d['round'])||_0x20e64d['round'],_0x4412fd=(_0x252ab0,_0x2bb1aa)=>(_0x252ab0=Fl(_0x252ab0,_0x332352||_0x20e64d['calendary']?0x0:0x2,!0x0),_0x47c8c2['loc']['clone'](_0x20e64d)['relFormatter'](_0x20e64d)['format'](_0x252ab0,_0x2bb1aa)),_0x2c1c3d=_0x597b8f=>_0x20e64d['calendary']?_0x47c8c2['hasSame'](_0x47a9b9,_0x597b8f)?0x0:_0x47c8c2['startOf'](_0x597b8f)['diff'](_0x47a9b9['startOf'](_0x597b8f),_0x597b8f)['get'](_0x597b8f):_0x47c8c2['diff'](_0x47a9b9,_0x597b8f)['get'](_0x597b8f);if(_0x20e64d['unit'])return _0x4412fd(_0x2c1c3d(_0x20e64d['unit']),_0x20e64d['unit']);for(const _0x1b8a8d of _0x20e64d['units']){const _0x1b8f85=_0x2c1c3d(_0x1b8a8d);if(Math['abs'](_0x1b8f85)>=0x1)return _0x4412fd(_0x1b8f85,_0x1b8a8d);}return _0x4412fd(_0x47a9b9>_0x47c8c2?-0x0:0x0,_0x20e64d['units'][_0x20e64d['units']['length']-0x1]);}function ad(_0x52a202){let _0x3c1a37,_0x19a974={};return _0x52a202['length']>0x0&&'object'==typeof _0x52a202[_0x52a202['length']-0x1]?(_0x19a974=_0x52a202[_0x52a202['length']-0x1],_0x3c1a37=Array['from'](_0x52a202)['slice'](0x0,_0x52a202['length']-0x1)):_0x3c1a37=Array['from'](_0x52a202),[_0x19a974,_0x3c1a37];}let cd;const ld=new Map();var hd=class DateTime{constructor(_0xc2bb05){const _0x4c184f=_0xc2bb05['zone']||ml['defaultZone'];let _0x33f5bd=_0xc2bb05['invalid']||(Number['isNaN'](_0xc2bb05['ts'])?new pl('invalid\x20input'):null)||(_0x4c184f['isValid']?null:Uu(_0x4c184f));this['ts']=Cl(_0xc2bb05['ts'])?ml['now']():_0xc2bb05['ts'];let _0x2458a6=null,_0x53eb48=null;if(!_0x33f5bd){if(_0xc2bb05['old']&&_0xc2bb05['old']['ts']===this['ts']&&_0xc2bb05['old']['zone']['equals'](_0x4c184f))[_0x2458a6,_0x53eb48]=[_0xc2bb05['old']['c'],_0xc2bb05['old']['o']];else{const _0x32ee2f=Rl(_0xc2bb05['o'])&&!_0xc2bb05['old']?_0xc2bb05['o']:_0x4c184f['offset'](this['ts']);_0x2458a6=Zu(this['ts'],_0x32ee2f),_0x33f5bd=Number['isNaN'](_0x2458a6['year'])?new pl('invalid\x20input'):null,_0x2458a6=_0x33f5bd?null:_0x2458a6,_0x53eb48=_0x33f5bd?null:_0x32ee2f;}}this['_zone']=_0x4c184f,this['loc']=_0xc2bb05['loc']||zc['create'](),this['invalid']=_0x33f5bd,this['weekData']=null,this['localWeekData']=null,this['c']=_0x2458a6,this['o']=_0x53eb48,this['isLuxonDateTime']=!0x0;}static['now'](){return new DateTime({});}static['local'](){const [_0x3a434e,_0x13bfe]=ad(arguments),[_0x526d40,_0x4d6344,_0x1e7b96,_0x3240cb,_0x7328ad,_0x5c0d9e,_0x5a5045]=_0x13bfe;return rd({'year':_0x526d40,'month':_0x4d6344,'day':_0x1e7b96,'hour':_0x3240cb,'minute':_0x7328ad,'second':_0x5c0d9e,'millisecond':_0x5a5045},_0x3a434e);}static['utc'](){const [_0x1aae9b,_0x39850e]=ad(arguments),[_0x5ec54c,_0x377d0e,_0x486910,_0x211f27,_0x396c03,_0x2b43be,_0x23bc89]=_0x39850e;return _0x1aae9b['zone']=Kc['utcInstance'],rd({'year':_0x5ec54c,'month':_0x377d0e,'day':_0x486910,'hour':_0x211f27,'minute':_0x396c03,'second':_0x2b43be,'millisecond':_0x23bc89},_0x1aae9b);}static['fromJSDate'](_0x3e53b0,_0xddcd10={}){const _0x31a764=(_0x154e84=_0x3e53b0,'[object\x20Date]'===Object['prototype']['toString']['call'](_0x154e84)?_0x3e53b0['valueOf']():NaN);var _0x154e84;if(Number['isNaN'](_0x31a764))return DateTime['invalid']('invalid\x20input');const _0x574271=tl(_0xddcd10['zone'],ml['defaultZone']);return _0x574271['isValid']?new DateTime({'ts':_0x31a764,'zone':_0x574271,'loc':zc['fromObject'](_0xddcd10)}):DateTime['invalid'](Uu(_0x574271));}static['fromMillis'](_0x5d8326,_0x42d27a={}){if(Rl(_0x5d8326))return _0x5d8326<-0x1eb208c2dc0000||_0x5d8326>0x1eb208c2dc0000?DateTime['invalid']('Timestamp\x20out\x20of\x20range'):new DateTime({'ts':_0x5d8326,'zone':tl(_0x42d27a['zone'],ml['defaultZone']),'loc':zc['fromObject'](_0x42d27a)});throw new ic('fromMillis\x20requires\x20a\x20numerical\x20input,\x20but\x20received\x20a\x20'+typeof _0x5d8326+'\x20with\x20value\x20'+_0x5d8326);}static['fromSeconds'](_0x4b93a6,_0x4932f5={}){if(Rl(_0x4b93a6))return new DateTime({'ts':0x3e8*_0x4b93a6,'zone':tl(_0x4932f5['zone'],ml['defaultZone']),'loc':zc['fromObject'](_0x4932f5)});throw new ic('fromSeconds\x20requires\x20a\x20numerical\x20input');}static['fromObject'](_0x10c225,_0xa9d22d={}){_0x10c225=_0x10c225||{};const _0x2d5a91=tl(_0xa9d22d['zone'],ml['defaultZone']);if(!_0x2d5a91['isValid'])return DateTime['invalid'](Uu(_0x2d5a91));const _0x27ff6b=zc['fromObject'](_0xa9d22d),_0x1dc6b6=th(_0x10c225,nd),{minDaysInFirstWeek:_0x453a64,startOfWeek:_0x13b23a}=Il(_0x1dc6b6,_0x27ff6b),_0xad056=ml['now'](),_0x3aec0b=Cl(_0xa9d22d['specificOffset'])?_0x2d5a91['offset'](_0xad056):_0xa9d22d['specificOffset'],_0x76b454=!Cl(_0x1dc6b6['ordinal']),_0xf18726=!Cl(_0x1dc6b6['year']),_0x59e18f=!Cl(_0x1dc6b6['month'])||!Cl(_0x1dc6b6['day']),_0x1a9f64=_0xf18726||_0x59e18f,_0x2e6549=_0x1dc6b6['weekYear']||_0x1dc6b6['weekNumber'];if((_0x1a9f64||_0x76b454)&&_0x2e6549)throw new tc('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x59e18f&&_0x76b454)throw new tc('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');const _0x13b338=_0x2e6549||_0x1dc6b6['weekday']&&!_0x1a9f64;let _0x1c02d0,_0x209812,_0x1d76dd=Zu(_0xad056,_0x3aec0b);_0x13b338?(_0x1c02d0=id,_0x209812=Ju,_0x1d76dd=El(_0x1d76dd,_0x453a64,_0x13b23a)):_0x76b454?(_0x1c02d0=sd,_0x209812=td,_0x1d76dd=Al(_0x1d76dd)):(_0x1c02d0=ed,_0x209812=Ku);let _0x353df5=!0x1;for(const _0x2acffa of _0x1c02d0){Cl(_0x1dc6b6[_0x2acffa])?_0x1dc6b6[_0x2acffa]=_0x353df5?_0x209812[_0x2acffa]:_0x1d76dd[_0x2acffa]:_0x353df5=!0x0;}const _0x196394=(_0x13b338?function(_0x2f1215,_0x3e8d94=0x4,_0x9ffc7e=0x1){const _0x211faf=Pl(_0x2f1215['weekYear']),_0x7673e7=Ql(_0x2f1215['weekNumber'],0x1,Wl(_0x2f1215['weekYear'],_0x3e8d94,_0x9ffc7e)),_0x22a852=Ql(_0x2f1215['weekday'],0x1,0x7);return _0x211faf?_0x7673e7?!_0x22a852&&wl('weekday',_0x2f1215['weekday']):wl('week',_0x2f1215['weekNumber']):wl('weekYear',_0x2f1215['weekYear']);}(_0x1dc6b6,_0x453a64,_0x13b23a):_0x76b454?function(_0x466f86){const _0x36959e=Pl(_0x466f86['year']),_0x1c9e57=Ql(_0x466f86['ordinal'],0x1,Zl(_0x466f86['year']));return _0x36959e?!_0x1c9e57&&wl('ordinal',_0x466f86['ordinal']):wl('year',_0x466f86['year']);}(_0x1dc6b6):kl(_0x1dc6b6))||xl(_0x1dc6b6);if(_0x196394)return DateTime['invalid'](_0x196394);const [_0x21f57a,_0x41f0fe]=Gu(_0x13b338?Tl(_0x1dc6b6,_0x453a64,_0x13b23a):_0x76b454?Sl(_0x1dc6b6):_0x1dc6b6,_0x3aec0b,_0x2d5a91),_0x234df5=new DateTime({'ts':_0x21f57a,'zone':_0x2d5a91,'o':_0x41f0fe,'loc':_0x27ff6b});return _0x1dc6b6['weekday']&&_0x1a9f64&&_0x10c225['weekday']!==_0x234df5['weekday']?DateTime['invalid']('mismatched\x20weekday','you\x20can\x27t\x20specify\x20both\x20a\x20weekday\x20of\x20'+_0x1dc6b6['weekday']+'\x20and\x20a\x20date\x20of\x20'+_0x234df5['toISO']()):_0x234df5['isValid']?_0x234df5:DateTime['invalid'](_0x234df5['invalid']);}static['fromISO'](_0x58aa8a,_0x41615a={}){const [_0x182471,_0xf4345]=function(_0x330d22){return _h(_0x330d22,[qh,Kh],[Wh,Jh],[zh,tu],[Yh,eu]);}(_0x58aa8a);return qu(_0x182471,_0xf4345,_0x41615a,'ISO\x208601',_0x58aa8a);}static['fromRFC2822'](_0x53b507,_0x2fe7f9={}){const [_0x256ddd,_0x434fd7]=function(_0x170526){return _h(function(_0x1b7d2c){return _0x1b7d2c['replace'](/\([^()]*\)|[\n\t]/g,'\x20')['replace'](/(\s\s+)/g,'\x20')['trim']();}(_0x170526),[Vh,Bh]);}(_0x53b507);return qu(_0x256ddd,_0x434fd7,_0x2fe7f9,'RFC\x202822',_0x53b507);}static['fromHTTP'](_0x2aad3a,_0x34ac64={}){const [_0x36fed6,_0x2c7a55]=function(_0x3d10bc){return _h(_0x3d10bc,[Fh,Gh],[Hh,Gh],[Zh,Xh]);}(_0x2aad3a);return qu(_0x36fed6,_0x2c7a55,_0x34ac64,'HTTP',_0x34ac64);}static['fromFormat'](_0x372915,_0x26790d,_0x332669={}){if(Cl(_0x372915)||Cl(_0x26790d))throw new ic('fromFormat\x20requires\x20an\x20input\x20string\x20and\x20a\x20format');const {locale:_0x15dcf8=null,numberingSystem:_0x195fb5=null}=_0x332669,[_0x3906f3,_0x24f3ab,_0x3453f7,_0x5a219e]=function(_0x4285bd,_0x102fbc,_0x1514e1){const {result:_0x274e3e,zone:_0x4f4992,specificOffset:_0x56aac8,invalidReason:_0x227b0f}=Du(_0x4285bd,_0x102fbc,_0x1514e1);return[_0x274e3e,_0x4f4992,_0x56aac8,_0x227b0f];}(zc['fromOpts']({'locale':_0x15dcf8,'numberingSystem':_0x195fb5,'defaultToEN':!0x0}),_0x372915,_0x26790d);return _0x5a219e?DateTime['invalid'](_0x5a219e):qu(_0x3906f3,_0x24f3ab,_0x332669,'format\x20'+_0x26790d,_0x372915,_0x3453f7);}static['fromString'](_0x78837d,_0x524475,_0x3dbf1c={}){return DateTime['fromFormat'](_0x78837d,_0x524475,_0x3dbf1c);}static['fromSQL'](_0xfa953d,_0x54b88c={}){const [_0x137697,_0x462884]=function(_0x2da04f){return _h(_0x2da04f,[su,Kh],[nu,ru]);}(_0xfa953d);return qu(_0x137697,_0x462884,_0x54b88c,'SQL',_0xfa953d);}static['invalid'](_0x2bfa6a,_0x17dc75=null){if(!_0x2bfa6a)throw new ic('need\x20to\x20specify\x20a\x20reason\x20the\x20DateTime\x20is\x20invalid');const _0x414a70=_0x2bfa6a instanceof pl?_0x2bfa6a:new pl(_0x2bfa6a,_0x17dc75);if(ml['throwOnInvalid'])throw new Ya(_0x414a70);return new DateTime({'invalid':_0x414a70});}static['isDateTime'](_0x318548){return _0x318548&&_0x318548['isLuxonDateTime']||!0x1;}static['parseFormatForOpts'](_0x1edd31,_0x29560e={}){const _0x423646=Qu(_0x1edd31,zc['fromObject'](_0x29560e));return _0x423646?_0x423646['map'](t=>t?t['val']:null)['join'](''):null;}static['expandFormat'](_0x4ff9bc,_0x24e9aa={}){return Lu(wh['parseFormat'](_0x4ff9bc),zc['fromObject'](_0x24e9aa))['map'](t=>t['val'])['join']('');}static['resetCache'](){cd=void 0x0,ld['clear']();}['get'](_0x5c41ac){return this[_0x5c41ac];}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']?Vu(this)['weekYear']:NaN;}get['weekNumber'](){return this['isValid']?Vu(this)['weekNumber']:NaN;}get['weekday'](){return this['isValid']?Vu(this)['weekday']:NaN;}get['isWeekend'](){return this['isValid']&&this['loc']['getWeekendDays']()['includes'](this['weekday']);}get['localWeekday'](){return this['isValid']?Bu(this)['weekday']:NaN;}get['localWeekNumber'](){return this['isValid']?Bu(this)['weekNumber']:NaN;}get['localWeekYear'](){return this['isValid']?Bu(this)['weekYear']:NaN;}get['ordinal'](){return this['isValid']?Al(this['c'])['ordinal']:NaN;}get['monthShort'](){return this['isValid']?vu['months']('short',{'locObj':this['loc']})[this['month']-0x1]:null;}get['monthLong'](){return this['isValid']?vu['months']('long',{'locObj':this['loc']})[this['month']-0x1]:null;}get['weekdayShort'](){return this['isValid']?vu['weekdays']('short',{'locObj':this['loc']})[this['weekday']-0x1]:null;}get['weekdayLong'](){return this['isValid']?vu['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 _0x32f748=0x5265c00,_0x3b8bca=0xea60,_0x5c4836=Xl(this['c']),_0x338124=this['zone']['offset'](_0x5c4836-_0x32f748),_0x1cf13f=this['zone']['offset'](_0x5c4836+_0x32f748),_0x2fec9a=this['zone']['offset'](_0x5c4836-_0x338124*_0x3b8bca),_0x1104a4=this['zone']['offset'](_0x5c4836-_0x1cf13f*_0x3b8bca);if(_0x2fec9a===_0x1104a4)return[this];const _0x527001=_0x5c4836-_0x2fec9a*_0x3b8bca,_0x5c0474=_0x5c4836-_0x1104a4*_0x3b8bca,_0x2a898f=Zu(_0x527001,_0x2fec9a),_0x523477=Zu(_0x5c0474,_0x1104a4);return _0x2a898f['hour']===_0x523477['hour']&&_0x2a898f['minute']===_0x523477['minute']&&_0x2a898f['second']===_0x523477['second']&&_0x2a898f['millisecond']===_0x523477['millisecond']?[Fu(this,{'ts':_0x527001}),Fu(this,{'ts':_0x5c0474})]:[this];}get['isInLeapYear'](){return Hl(this['year']);}get['daysInMonth'](){return Gl(this['year'],this['month']);}get['daysInYear'](){return this['isValid']?Zl(this['year']):NaN;}get['weeksInWeekYear'](){return this['isValid']?Wl(this['weekYear']):NaN;}get['weeksInLocalWeekYear'](){return this['isValid']?Wl(this['localWeekYear'],this['loc']['getMinDaysInFirstWeek'](),this['loc']['getStartOfWeek']()):NaN;}['resolvedLocaleOptions'](_0x53613b={}){const {locale:_0x488db3,numberingSystem:_0x5ad10e,calendar:_0xac83d2}=wh['create'](this['loc']['clone'](_0x53613b),_0x53613b)['resolvedOptions'](this);return{'locale':_0x488db3,'numberingSystem':_0x5ad10e,'outputCalendar':_0xac83d2};}['toUTC'](_0x45a5d2=0x0,_0x16722c={}){return this['setZone'](Kc['instance'](_0x45a5d2),_0x16722c);}['toLocal'](){return this['setZone'](ml['defaultZone']);}['setZone'](_0x294377,{keepLocalTime:_0x27b3ed=!0x1,keepCalendarTime:_0x912695=!0x1}={}){if((_0x294377=tl(_0x294377,ml['defaultZone']))['equals'](this['zone']))return this;if(_0x294377['isValid']){let _0x275223=this['ts'];if(_0x27b3ed||_0x912695){const _0x9266c8=_0x294377['offset'](this['ts']),_0x464c08=this['toObject']();[_0x275223]=Gu(_0x464c08,_0x9266c8,_0x294377);}return Fu(this,{'ts':_0x275223,'zone':_0x294377});}return DateTime['invalid'](Uu(_0x294377));}['reconfigure']({locale:_0x967556,numberingSystem:_0x578ac2,outputCalendar:_0xf4e90}={}){return Fu(this,{'loc':this['loc']['clone']({'locale':_0x967556,'numberingSystem':_0x578ac2,'outputCalendar':_0xf4e90})});}['setLocale'](_0x3f0935){return this['reconfigure']({'locale':_0x3f0935});}['set'](_0x348e47){if(!this['isValid'])return this;const _0x4b331b=th(_0x348e47,nd),{minDaysInFirstWeek:_0x3773c7,startOfWeek:_0x53cc7a}=Il(_0x4b331b,this['loc']),_0x5f3d83=!Cl(_0x4b331b['weekYear'])||!Cl(_0x4b331b['weekNumber'])||!Cl(_0x4b331b['weekday']),_0x2bb2cf=!Cl(_0x4b331b['ordinal']),_0x1e4477=!Cl(_0x4b331b['year']),_0x5034ec=!Cl(_0x4b331b['month'])||!Cl(_0x4b331b['day']),_0x8a04ce=_0x1e4477||_0x5034ec,_0x266191=_0x4b331b['weekYear']||_0x4b331b['weekNumber'];if((_0x8a04ce||_0x2bb2cf)&&_0x266191)throw new tc('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x5034ec&&_0x2bb2cf)throw new tc('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');let _0x20e8c4;_0x5f3d83?_0x20e8c4=Tl({...El(this['c'],_0x3773c7,_0x53cc7a),..._0x4b331b},_0x3773c7,_0x53cc7a):Cl(_0x4b331b['ordinal'])?(_0x20e8c4={...this['toObject'](),..._0x4b331b},Cl(_0x4b331b['day'])&&(_0x20e8c4['day']=Math['min'](Gl(_0x20e8c4['year'],_0x20e8c4['month']),_0x20e8c4['day']))):_0x20e8c4=Sl({...Al(this['c']),..._0x4b331b});const [_0x534601,_0x3460bc]=Gu(_0x20e8c4,this['o'],this['zone']);return Fu(this,{'ts':_0x534601,'o':_0x3460bc});}['plus'](_0x243d5d){if(!this['isValid'])return this;return Fu(this,Xu(this,Ou['fromDurationLike'](_0x243d5d)));}['minus'](_0x241476){if(!this['isValid'])return this;return Fu(this,Xu(this,Ou['fromDurationLike'](_0x241476)['negate']()));}['startOf'](_0xfeda00,{useLocaleWeeks:_0x5bcb27=!0x1}={}){if(!this['isValid'])return this;const _0xa8f42f={},_0x1e5191=Ou['normalizeUnit'](_0xfeda00);switch(_0x1e5191){case'years':_0xa8f42f['month']=0x1;case'quarters':case'months':_0xa8f42f['day']=0x1;case'weeks':case'days':_0xa8f42f['hour']=0x0;case'hours':_0xa8f42f['minute']=0x0;case'minutes':_0xa8f42f['second']=0x0;case'seconds':_0xa8f42f['millisecond']=0x0;}if('weeks'===_0x1e5191){if(_0x5bcb27){const _0x47a272=this['loc']['getStartOfWeek'](),{weekday:_0x1f9f65}=this;_0x1f9f65<_0x47a272&&(_0xa8f42f['weekNumber']=this['weekNumber']-0x1),_0xa8f42f['weekday']=_0x47a272;}else _0xa8f42f['weekday']=0x1;}return'quarters'===_0x1e5191&&(_0xa8f42f['month']=0x3*(Math['ceil'](this['month']/0x3)-0x1)+0x1),this['set'](_0xa8f42f);}['endOf'](_0x3c6198,_0x22567b){return this['isValid']?this['plus']({[_0x3c6198]:0x1})['startOf'](_0x3c6198,_0x22567b)['minus'](0x1):this;}['toFormat'](_0x1623d2,_0x30f71e={}){return this['isValid']?wh['create'](this['loc']['redefaultToEN'](_0x30f71e))['formatDateTimeFromString'](this,_0x1623d2):ju;}['toLocaleString'](_0x451e29=ac,_0x55459a={}){return this['isValid']?wh['create'](this['loc']['clone'](_0x55459a),_0x451e29)['formatDateTime'](this):ju;}['toLocaleParts'](_0x3d77c7={}){return this['isValid']?wh['create'](this['loc']['clone'](_0x3d77c7),_0x3d77c7)['formatDateTimeParts'](this):[];}['toISO']({format:_0x1f1593='extended',suppressSeconds:_0x302b51=!0x1,suppressMilliseconds:_0xf28a5d=!0x1,includeOffset:_0x13ae0b=!0x0,extendedZone:_0x46de9b=!0x1}={}){if(!this['isValid'])return null;const _0x5390f4='extended'===_0x1f1593;let _0x1cb9f7=zu(this,_0x5390f4);return _0x1cb9f7+='T',_0x1cb9f7+=Yu(this,_0x5390f4,_0x302b51,_0xf28a5d,_0x13ae0b,_0x46de9b),_0x1cb9f7;}['toISODate']({format:_0x279725='extended'}={}){return this['isValid']?zu(this,'extended'===_0x279725):null;}['toISOWeekDate'](){return Wu(this,'kkkk-\x27W\x27WW-c');}['toISOTime']({suppressMilliseconds:_0x1f14be=!0x1,suppressSeconds:_0x1977a6=!0x1,includeOffset:_0x33a938=!0x0,includePrefix:_0x18a338=!0x1,extendedZone:_0x4de2da=!0x1,format:_0x2f1673='extended'}={}){return this['isValid']?(_0x18a338?'T':'')+Yu(this,'extended'===_0x2f1673,_0x1977a6,_0x1f14be,_0x33a938,_0x4de2da):null;}['toRFC2822'](){return Wu(this,'EEE,\x20dd\x20LLL\x20yyyy\x20HH:mm:ss\x20ZZZ',!0x1);}['toHTTP'](){return Wu(this['toUTC'](),'EEE,\x20dd\x20LLL\x20yyyy\x20HH:mm:ss\x20\x27GMT\x27');}['toSQLDate'](){return this['isValid']?zu(this,!0x0):null;}['toSQLTime']({includeOffset:_0x4c8fb1=!0x0,includeZone:_0x3cc62d=!0x1,includeOffsetSpace:_0x4ada1f=!0x0}={}){let _0x4e00cc='HH:mm:ss.SSS';return(_0x3cc62d||_0x4c8fb1)&&(_0x4ada1f&&(_0x4e00cc+='\x20'),_0x3cc62d?_0x4e00cc+='z':_0x4c8fb1&&(_0x4e00cc+='ZZ')),Wu(this,_0x4e00cc,!0x0);}['toSQL'](_0x20fcc8={}){return this['isValid']?this['toSQLDate']()+'\x20'+this['toSQLTime'](_0x20fcc8):null;}['toString'](){return this['isValid']?this['toISO']():ju;}[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'](_0x5eb8fb={}){if(!this['isValid'])return{};const _0x1f9535={...this['c']};return _0x5eb8fb['includeConfig']&&(_0x1f9535['outputCalendar']=this['outputCalendar'],_0x1f9535['numberingSystem']=this['loc']['numberingSystem'],_0x1f9535['locale']=this['loc']['locale']),_0x1f9535;}['toJSDate'](){return new Date(this['isValid']?this['ts']:NaN);}['diff'](_0x3f3ae6,_0x486062='milliseconds',_0x4fc45e={}){if(!this['isValid']||!_0x3f3ae6['isValid'])return Ou['invalid']('created\x20by\x20diffing\x20an\x20invalid\x20DateTime');const _0x1d3e01={'locale':this['locale'],'numberingSystem':this['numberingSystem'],..._0x4fc45e},_0x2b2acc=(_0x322ee3=_0x486062,Array['isArray'](_0x322ee3)?_0x322ee3:[_0x322ee3])['map'](Ou['normalizeUnit']),_0x1028e5=_0x3f3ae6['valueOf']()>this['valueOf'](),_0x141f42=Eu(_0x1028e5?this:_0x3f3ae6,_0x1028e5?_0x3f3ae6:this,_0x2b2acc,_0x1d3e01);var _0x322ee3;return _0x1028e5?_0x141f42['negate']():_0x141f42;}['diffNow'](_0x48b9c2='milliseconds',_0x37fed3={}){return this['diff'](DateTime['now'](),_0x48b9c2,_0x37fed3);}['until'](_0x2c63cf){return this['isValid']?yu['fromDateTimes'](this,_0x2c63cf):this;}['hasSame'](_0x30ddf6,_0x1fcf8a,_0x3305e7){if(!this['isValid'])return!0x1;const _0x3fe682=_0x30ddf6['valueOf'](),_0x3441c7=this['setZone'](_0x30ddf6['zone'],{'keepLocalTime':!0x0});return _0x3441c7['startOf'](_0x1fcf8a,_0x3305e7)<=_0x3fe682&&_0x3fe682<=_0x3441c7['endOf'](_0x1fcf8a,_0x3305e7);}['equals'](_0x4dca11){return this['isValid']&&_0x4dca11['isValid']&&this['valueOf']()===_0x4dca11['valueOf']()&&this['zone']['equals'](_0x4dca11['zone'])&&this['loc']['equals'](_0x4dca11['loc']);}['toRelative'](_0x416c2f={}){if(!this['isValid'])return null;const _0xaedbfe=_0x416c2f['base']||DateTime['fromObject']({},{'zone':this['zone']}),_0x4959af=_0x416c2f['padding']?this<_0xaedbfe?-_0x416c2f['padding']:_0x416c2f['padding']:0x0;let _0x573ce3=['years','months','days','hours','minutes','seconds'],_0x19ace9=_0x416c2f['unit'];return Array['isArray'](_0x416c2f['unit'])&&(_0x573ce3=_0x416c2f['unit'],_0x19ace9=void 0x0),od(_0xaedbfe,this['plus'](_0x4959af),{..._0x416c2f,'numeric':'always','units':_0x573ce3,'unit':_0x19ace9});}['toRelativeCalendar'](_0x263920={}){return this['isValid']?od(_0x263920['base']||DateTime['fromObject']({},{'zone':this['zone']}),this,{..._0x263920,'numeric':'auto','units':['years','months','days'],'calendary':!0x0}):null;}static['min'](..._0x1cb48d){if(!_0x1cb48d['every'](DateTime['isDateTime']))throw new ic('min\x20requires\x20all\x20arguments\x20be\x20DateTimes');return Ll(_0x1cb48d,_0x4b895b=>_0x4b895b['valueOf'](),Math['min']);}static['max'](..._0x5f363b){if(!_0x5f363b['every'](DateTime['isDateTime']))throw new ic('max\x20requires\x20all\x20arguments\x20be\x20DateTimes');return Ll(_0x5f363b,_0x2e3c5c=>_0x2e3c5c['valueOf'](),Math['max']);}static['fromFormatExplain'](_0xc88747,_0x2adba0,_0x44d145={}){const {locale:_0xeeea34=null,numberingSystem:_0x4cce23=null}=_0x44d145;return Du(zc['fromOpts']({'locale':_0xeeea34,'numberingSystem':_0x4cce23,'defaultToEN':!0x0}),_0xc88747,_0x2adba0);}static['fromStringExplain'](_0xfd3f3e,_0x457cfd,_0x2263b6={}){return DateTime['fromFormatExplain'](_0xfd3f3e,_0x457cfd,_0x2263b6);}static['buildFormatParser'](_0x214e7c,_0xca731b={}){const {locale:_0x46baf9=null,numberingSystem:_0x1a6bc3=null}=_0xca731b;return new $u(zc['fromOpts']({'locale':_0x46baf9,'numberingSystem':_0x1a6bc3,'defaultToEN':!0x0}),_0x214e7c);}static['fromFormatParser'](_0x5ad2b5,_0x383ace,_0x4bb1ba={}){if(Cl(_0x5ad2b5)||Cl(_0x383ace))throw new ic('fromFormatParser\x20requires\x20an\x20input\x20string\x20and\x20a\x20format\x20parser');const {locale:_0x1f22d9=null,numberingSystem:_0x1afd95=null}=_0x4bb1ba,_0x58772e=zc['fromOpts']({'locale':_0x1f22d9,'numberingSystem':_0x1afd95,'defaultToEN':!0x0});if(!_0x58772e['equals'](_0x383ace['locale']))throw new ic('fromFormatParser\x20called\x20with\x20a\x20locale\x20of\x20'+_0x58772e+',\x20but\x20the\x20format\x20parser\x20was\x20created\x20for\x20'+_0x383ace['locale']);const {result:_0x545d83,zone:_0x4e5f1e,specificOffset:_0x23f2bf,invalidReason:_0x3c6f32}=_0x383ace['explainFromTokens'](_0x5ad2b5);return _0x3c6f32?DateTime['invalid'](_0x3c6f32):qu(_0x545d83,_0x4e5f1e,_0x4bb1ba,'format\x20'+_0x383ace['format'],_0x5ad2b5,_0x23f2bf);}static get['DATE_SHORT'](){return ac;}static get['DATE_MED'](){return cc;}static get['DATE_MED_WITH_WEEKDAY'](){return lc;}static get['DATE_FULL'](){return hc;}static get['DATE_HUGE'](){return uc;}static get['TIME_SIMPLE'](){return dc;}static get['TIME_WITH_SECONDS'](){return fc;}static get['TIME_WITH_SHORT_OFFSET'](){return mc;}static get['TIME_WITH_LONG_OFFSET'](){return pc;}static get['TIME_24_SIMPLE'](){return gc;}static get['TIME_24_WITH_SECONDS'](){return Oc;}static get['TIME_24_WITH_SHORT_OFFSET'](){return wc;}static get['TIME_24_WITH_LONG_OFFSET'](){return bc;}static get['DATETIME_SHORT'](){return yc;}static get['DATETIME_SHORT_WITH_SECONDS'](){return vc;}static get['DATETIME_MED'](){return _c;}static get['DATETIME_MED_WITH_SECONDS'](){return Ec;}static get['DATETIME_MED_WITH_WEEKDAY'](){return Tc;}static get['DATETIME_FULL'](){return Ac;}static get['DATETIME_FULL_WITH_SECONDS'](){return Sc;}static get['DATETIME_HUGE'](){return Ic;}static get['DATETIME_HUGE_WITH_SECONDS'](){return kc;}};function ud(_0xbf0de1){if(hd['isDateTime'](_0xbf0de1))return _0xbf0de1;if(_0xbf0de1&&_0xbf0de1['valueOf']&&Rl(_0xbf0de1['valueOf']()))return hd['fromJSDate'](_0xbf0de1);if(_0xbf0de1&&'object'==typeof _0xbf0de1)return hd['fromObject'](_0xbf0de1);throw new ic('Unknown\x20datetime\x20argument:\x20'+_0xbf0de1+',\x20of\x20type\x20'+typeof _0xbf0de1);}function dd(_0x369632={},_0xa4f623){if(void 0x0!==_0x369632['dateTimeFormat']&&'function'!=typeof _0x369632['dateTimeFormat'])throw new _0x5b5a95('invalid-date-time-format');return _0xfb9a13=>{const _0x5425e6='string'==typeof _0xfb9a13?hd['fromISO'](_0xfb9a13):hd['fromJSDate'](_0xfb9a13),_0x31fd5a=hd['now'](),_0x584b2f=Math['floor'](_0x31fd5a['diff'](_0x5425e6,'days')['days']);return _0x369632['dateTimeFormat']?_0x369632['dateTimeFormat'](_0x5425e6['toJSDate'](),_0xa4f623&&_0xa4f623['t']?_0xa4f623['t']:void 0x0):0x0===_0x584b2f?_0xa4f623?la(_0xa4f623,'Today')+'\x20'+_0x5425e6['toFormat']('hh:mma'):_0x5425e6['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x584b2f?_0xa4f623?la(_0xa4f623,'Yesterday')+'\x20'+_0x5425e6['toFormat']('hh:mma'):_0x5425e6['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x584b2f<0x7?_0xa4f623?la(_0xa4f623,'Last')+'\x20'+la(_0xa4f623,_0x5425e6['toFormat']('EEEE'))+'\x20'+_0x5425e6['toFormat']('hh:mma'):_0x5425e6['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x5425e6['toFormat']('LL-dd-yyyy\x20hh:mma');};}function fd(_0x588af1,_0x502ab6){const _0x983ad7=_0x588af1['mapper']['markerNameToElements'](_0x502ab6['name']);if(!_0x983ad7)return null;const _0xb726a7=_0x26105c(_0x983ad7['values']());return _0x588af1['view']['domConverter']['mapViewToDom'](_0xb726a7)||null;}function md(_0x1b21b0,_0x505f26){if(0x0===_0x505f26['length'])return null;const _0x107188=[],_0x3bf6f9=_0x1b21b0['view']['domConverter'];for(const _0x602573 of _0x505f26){const _0x589dbd=_0x1b21b0['mapper']['markerNameToElements'](_0x602573['name']);if(!_0x589dbd)continue;const _0x1c8516=Array['from'](_0x589dbd)['map'](_0x19dd7d=>_0x3bf6f9['mapViewToDom'](_0x19dd7d))['filter'](_0x301ddd=>!!_0x301ddd);_0x107188['push'](..._0x1c8516);}if(0x0===_0x107188['length'])return null;const _0x5242e3=[];for(const _0x30b9cb of _0x107188){const _0x13d915=_0x30b9cb['getClientRects']()['item'](0x0);_0x13d915&&_0x5242e3['push']({'x':_0x13d915['x'],'y':_0x13d915['y'],'domElement':_0x30b9cb});}return 0x0===_0x5242e3['length']?null:(_0x5242e3['sort']((_0x59fcd1,_0x188e18)=>_0x59fcd1['y']-_0x188e18['y']||_0x59fcd1['x']-_0x188e18['x']),_0x5242e3['map'](_0x349364=>_0x349364['domElement']));}function pd(_0x1e55d8,{limit:_0x1a3770,suffix:_0x16529d='...'}){const _0x7e54bf=[];let _0x40692c=0x0;const _0x4416eb=_0x1e55d8['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x4e1a97=0x0;_0x4e1a97<_0x4416eb['length'];_0x4e1a97++){let _0xeebb00=_0x4416eb[_0x4e1a97];const _0x36c83d=gd(_0xeebb00);if(_0xeebb00['startsWith']('<')){if(_0x40692c>=_0x1a3770){const _0x4cafb1=_0xeebb00['match'](/[a-zA-Z]+/);if(!_0x4cafb1){_0x4416eb[_0x4e1a97]='';continue;}const _0x379dee=_0x4cafb1[0x0];_0xeebb00['startsWith']('</')?(_0x7e54bf['length']&&(_0xeebb00=''),_0x7e54bf['pop']()):(_0x7e54bf['push'](_0x379dee),_0xeebb00='');}}else{if(_0x40692c>=_0x1a3770)_0xeebb00='';else{if(_0x40692c+_0x36c83d['length']>=_0x1a3770){let _0x282954=_0x1a3770-_0x40692c;if('\x20'===_0x36c83d[_0x282954-0x1])_0x282954--;else{const _0x5cfd9d=_0x36c83d['slice'](_0x282954)['indexOf']('\x20');-0x1!==_0x5cfd9d?_0x282954+=_0x5cfd9d:_0x282954=_0xeebb00['length'];}_0xeebb00=_0x36c83d['slice'](0x0,_0x282954)['join']('')+_0x16529d,_0x40692c=_0x1a3770;}else _0x40692c+=_0x36c83d['length'];}}_0x4416eb[_0x4e1a97]=_0xeebb00;}return _0x4416eb['join']('\x0a')['replace'](/\n/g,'');}function gd(_0x406d1c){const _0x4c337e=[];for(let _0x5d2013=0x0;_0x5d2013<_0x406d1c['length'];_0x5d2013++){const _0x593ea9=_0x406d1c['substring'](_0x5d2013)['match'](/^&[a-z0-9#]+;/);if(_0x593ea9){const _0x2216c5=_0x593ea9[0x0];_0x4c337e['push'](_0x2216c5),_0x5d2013+=_0x2216c5['length']-0x1;}else _0x4c337e['push'](_0x406d1c[_0x5d2013]);}return _0x4c337e;}var Od=class extends _0x2df468{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x5ba0c6){super(_0x5ba0c6);const _0x216220=this['bindTemplate'];this['set']('message',la(_0x5ba0c6,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x5ba0c6,la(_0x5ba0c6,'Yes'),_0x25572e,'submit'),this['cancelView']=this['_createButtonView'](_0x5ba0c6,la(_0x5ba0c6,'No'),_0x3f4fa1,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x33fa41(),this['keystrokes']=new _0x491b26(),this['focusCycler']=new _0x1a2844({'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':_0x216220['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'](_0x3a0eb9,_0x1bd77f,_0x290bde,_0x2c5094){const _0x180200=new _0x47ddb0(_0x3a0eb9);return _0x180200['label']=_0x1bd77f,_0x180200['icon']=_0x290bde,_0x180200['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x2c5094}}),_0x180200['on']('execute',()=>this['fire'](_0x2c5094)),_0x180200;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x5aa34c=>{this['keystrokes']['listenTo'](_0x5aa34c['element']),this['focusTracker']['add'](_0x5aa34c['element']);}),this['keystrokes']['set']('esc',(_0x5b2388,_0x5d2e38)=>{this['fire']('cancel'),_0x5d2e38();});}};function wd(_0x237818){return class _0x212d2a extends _0x237818{['showConfirm'](_0x5665fa,_0x2b717e){return this['confirmView']=new Od(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x5665fa,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x2b717e['appendChild'](this['confirmView']['element']),_0x2b717e['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x42dc7a,_0x521748,_0x38587f)=>{_0x38587f||_0x2b717e['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x5f40df=>this['confirmView']['on']('submit',_0x5f40df));}['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 bd(_0x49ec76){let _0x364cf8=0x0,_0x3d60f4=0x0;for(const _0x3c1ccb of vd(_0x49ec76))_0x364cf8=(_0x364cf8<<0x5)-_0x364cf8+_0x3c1ccb,_0x364cf8&=_0x364cf8,[_0x364cf8,_0x3d60f4]=[_0x3d60f4,_0x364cf8];return Td(_0x364cf8)+Td(_0x3d60f4);}function*yd(_0x472421){null==_0x472421||null==_0x472421?yield 0x12b9b0a1:0x0===_0x472421||!0x1===_0x472421?yield 0x0:0x1===_0x472421||0x1==_0x472421?yield 0x1:Array['isArray'](_0x472421)?yield*function*(_0x49471c){for(const _0x29f208 of _0x49471c)yield*yd(_0x29f208);}(_0x472421):'object'==typeof _0x472421?yield*vd(_0x472421):'string'==typeof _0x472421?yield*_d(_0x472421):'number'==typeof _0x472421&&(yield _0x472421);}function*vd(_0x35bea5){if(yield Ed('{'),_0x35bea5){const _0x5d1ed6=Object['keys'](_0x35bea5)['sort']();for(const _0x1a8df9 of _0x5d1ed6){yield*_d(_0x1a8df9),yield Ed(':');const _0x1670a6=_0x35bea5[_0x1a8df9];yield*yd(_0x1670a6);}}yield Ed('}');}function*_d(_0x356e78){yield Ed('\x22');for(const _0x440c39 of _0x356e78)yield Ed(_0x440c39);yield Ed('\x22');}function Ed(_0x59265c){return _0x59265c['charCodeAt'](0x0);}function Td(_0x4b4af0){return(_0x4b4af0*=Math['sign'](_0x4b4af0))['toString'](0x24);}const Ad=['root','roots','initialData','context','toolbar','rootsAttributes'],Sd=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function Id(_0x347230,_0x3de848,_0x256ba0,_0x53a9c0=[]){const _0x4346c2='string'==typeof _0x347230?_0x256ba0['get'](_0x347230)['constructor']:_0x347230['prototype']['constructor'];if(_0x3de848['has'](_0x4346c2))return _0x3de848['get'](_0x4346c2);_0x3de848['set'](_0x4346c2,!0x0);const _0x5b1f46=[...Sd,..._0x53a9c0]['map'](_0xbc1d29=>{if(_0x256ba0['has'](_0xbc1d29))return _0x256ba0['get'](_0xbc1d29)['constructor'];})['filter'](_0x21ca98=>_0x21ca98);if(_0x4346c2&&_0x5b1f46['includes'](_0x4346c2))return _0x3de848['set'](_0x4346c2,!0x1),!0x1;if(!_0x4346c2['requires'])return _0x3de848['set'](_0x4346c2,!0x0),!0x0;const _0x308106=_0x4346c2['requires']['every'](_0x4011d5=>Id(_0x4011d5,_0x3de848,_0x256ba0,_0x53a9c0));return _0x3de848['set'](_0x4346c2,_0x308106),_0x308106;}function kd(_0x69dc60,_0x1db75f){const _0x1b11f7={};for(const _0x25d273 of _0x69dc60['config']['names']())Ad['includes'](_0x25d273)||(_0x1b11f7[_0x25d273]=_0x69dc60['config']['get'](_0x25d273));const _0x466a24=_0x1b11f7['plugins']||[],_0x381a57=_0x69dc60['constructor']['builtinPlugins']||[],_0x4b5206=_0x466a24['length']?_0x466a24:_0x381a57,_0x4f6739=_0x1b11f7['extraPlugins']||[];delete _0x1b11f7['extraPlugins'];const _0x15ba43=_0x1b11f7['removePlugins']||[];delete _0x1b11f7['removePlugins'];const _0x33e060=_0x69dc60['_context']['config']['get']('plugins')||[],_0x27d5ae=_0x4b5206['concat'](_0x4f6739)['concat'](_0x33e060)['map'](_0x4b53ed=>'string'==typeof _0x4b53ed?_0x381a57['find'](_0x52b70b=>_0x52b70b['pluginName']==_0x4b53ed):_0x4b53ed)['filter'](_0x1d1f6d=>!_0x15ba43['includes'](_0x1d1f6d)&&!_0x15ba43['includes'](_0x1d1f6d['pluginName'])),_0x20900a=Array['from'](new Set(_0x27d5ae)),_0x43c371=new Map();return _0x1b11f7['plugins']=_0x20900a['filter'](_0x52c45f=>Id(_0x52c45f,_0x43c371,_0x69dc60['plugins'],_0x1db75f)),_0x1b11f7;}function xd(_0x23474d,_0x554625){const _0x3a0d09=[];_0x23474d['document']['selection']['on']('change:range',()=>{const _0x211a02=function(_0x3cb717,_0x43c6c4){const _0x2d4541=[];for(const _0x1c36c3 of _0x3cb717['markers']){const _0x323773=_0x1c36c3['getRange']();(_0x323773['containsPosition'](_0x43c6c4)||_0x323773['start']['isEqual'](_0x43c6c4)||_0x323773['end']['isEqual'](_0x43c6c4))&&_0x2d4541['push'](_0x1c36c3);}return _0x2d4541;}(_0x23474d,_0x23474d['document']['selection']['focus']),_0x4aeb5f=[],_0x2c7db0=[],_0x13ef5=[];for(const _0x28672f of _0x3a0d09)_0x211a02['includes'](_0x28672f)||_0x4aeb5f['push'](_0x28672f);for(const _0x3c3115 of _0x211a02)_0x3a0d09['includes'](_0x3c3115)||_0x2c7db0['push'](_0x3c3115),_0x13ef5['push'](_0x3c3115);(_0x4aeb5f['length']||_0x2c7db0['length'])&&_0x554625({'left':_0x4aeb5f,'entered':_0x2c7db0}),_0x3a0d09['length']=0x0,_0x3a0d09['push'](..._0x13ef5);});}const Cd='Ctrl+Shift+E';function Rd(_0x58956f,_0x2bafce){const _0x1f15bd=_0x58956f['element'];_0x58956f['keystrokes']['listenTo'](_0x1f15bd);for(const _0x1801a6 of _0x2bafce)Pd(_0x58956f,_0x1801a6);_0x2bafce['on']('change',(_0x56e2e1,_0x8a28d3)=>{for(const _0x5ac01e of _0x8a28d3['removed'])Md(_0x58956f,_0x5ac01e);for(const _0x2b1baa of Array['from'](_0x8a28d3['added'])['reverse']())Pd(_0x58956f,_0x2b1baa);}),_0x58956f['keystrokes']['set']('enter',(_0x44444e,_0x104db9)=>{_0x1f15bd===_0x44444e['target']&&(_0x58956f['focusCycler']['focusFirst'](),_0x104db9());},{'filter':_0x489396=>_0x489396['target']===_0x1f15bd}),_0x58956f['keystrokes']['set']('esc',(_0x572323,_0x2cc648)=>{_0x1f15bd!==_0x572323['target']?_0x58956f['focus']():_0x58956f['fire']('escape'),_0x2cc648();}),_0x58956f['keystrokes']['set']('arrowdown',(_0x24a528,_0xec8946)=>{_0x1f15bd===_0x24a528['target']&&(_0x58956f['fire']('arrowdown'),_0xec8946());}),_0x58956f['keystrokes']['set']('arrowup',(_0x45808f,_0x229ff1)=>{_0x1f15bd===_0x45808f['target']&&(_0x58956f['fire']('arrowup'),_0x229ff1());});}function Pd(_0x32aad1,_0x930417){_0x930417['isRendered']&&(_0x32aad1['focusTracker']['add'](_0x930417['element']),_0x32aad1['keystrokes']['listenTo'](_0x930417['element']),_0x31127b(_0x930417)&&function(_0x467da8,_0x3c236d){const _0x51718c=_0x467da8['actions'],_0x3d0295=_0x3c236d['actions'];for(const _0xc0ef3c of Object['keys'](_0x51718c))if(_0xc0ef3c in _0x3d0295&&_0x51718c[_0xc0ef3c]!==_0x3d0295[_0xc0ef3c])return!0x1;return!0x0;}(_0x32aad1['focusCycler'],_0x930417['focusCycler'])&&_0x32aad1['focusCycler']['chain'](_0x930417['focusCycler']));}function Md(_0x521070,_0x1e85e7){_0x521070['focusTracker']['remove'](_0x1e85e7['element']),_0x521070['keystrokes']['stopListening'](_0x1e85e7['element']),_0x31127b(_0x1e85e7)&&_0x521070['focusCycler']['unchain'](_0x1e85e7['focusCycler']);}var Nd=class{['diff'](_0x20109e,_0x36b64f,_0x59c863={}){let _0x17a080;'function'==typeof _0x59c863?(_0x17a080=_0x59c863,_0x59c863={}):'callback'in _0x59c863&&(_0x17a080=_0x59c863['callback']);const _0x213dd2=this['castInput'](_0x20109e,_0x59c863),_0x1c5c82=this['castInput'](_0x36b64f,_0x59c863),_0x410931=this['removeEmpty'](this['tokenize'](_0x213dd2,_0x59c863)),_0x42891d=this['removeEmpty'](this['tokenize'](_0x1c5c82,_0x59c863));return this['diffWithOptionsObj'](_0x410931,_0x42891d,_0x59c863,_0x17a080);}['diffWithOptionsObj'](_0x12d385,_0x2f0368,_0x195f3a,_0x53c864){var _0x5492ad;const _0x5094ba=_0x332edd=>(_0x332edd=this['postProcess'](_0x332edd,_0x195f3a),_0x53c864?void setTimeout(function(){_0x53c864(_0x332edd);},0x0):_0x332edd),_0x57ad50=_0x2f0368['length'],_0x5960ea=_0x12d385['length'];let _0x311a2d=0x1,_0x5b08d1=_0x57ad50+_0x5960ea;null!=_0x195f3a['maxEditLength']&&(_0x5b08d1=Math['min'](_0x5b08d1,_0x195f3a['maxEditLength']));const _0x50bced=null!==(_0x5492ad=_0x195f3a['timeout'])&&void 0x0!==_0x5492ad?_0x5492ad:0x1/0x0,_0x19c00a=Date['now']()+_0x50bced,_0x694959=[{'oldPos':-0x1,'lastComponent':void 0x0}];let _0x3f3ce2=this['extractCommon'](_0x694959[0x0],_0x2f0368,_0x12d385,0x0,_0x195f3a);if(_0x694959[0x0]['oldPos']+0x1>=_0x5960ea&&_0x3f3ce2+0x1>=_0x57ad50)return _0x5094ba(this['buildValues'](_0x694959[0x0]['lastComponent'],_0x2f0368,_0x12d385));let _0x183c23=-0x1/0x0,_0x197ebe=0x1/0x0;const _0x5e684f=()=>{for(let _0x4e42c9=Math['max'](_0x183c23,-_0x311a2d);_0x4e42c9<=Math['min'](_0x197ebe,_0x311a2d);_0x4e42c9+=0x2){let _0x1ec3e3;const _0x893741=_0x694959[_0x4e42c9-0x1],_0x5f559f=_0x694959[_0x4e42c9+0x1];_0x893741&&(_0x694959[_0x4e42c9-0x1]=void 0x0);let _0x2eafa2=!0x1;if(_0x5f559f){const _0x1b8959=_0x5f559f['oldPos']-_0x4e42c9;_0x2eafa2=_0x5f559f&&0x0<=_0x1b8959&&_0x1b8959<_0x57ad50;}const _0x33d017=_0x893741&&_0x893741['oldPos']+0x1<_0x5960ea;if(_0x2eafa2||_0x33d017){if(_0x1ec3e3=!_0x33d017||_0x2eafa2&&_0x893741['oldPos']<_0x5f559f['oldPos']?this['addToPath'](_0x5f559f,!0x0,!0x1,0x0,_0x195f3a):this['addToPath'](_0x893741,!0x1,!0x0,0x1,_0x195f3a),_0x3f3ce2=this['extractCommon'](_0x1ec3e3,_0x2f0368,_0x12d385,_0x4e42c9,_0x195f3a),_0x1ec3e3['oldPos']+0x1>=_0x5960ea&&_0x3f3ce2+0x1>=_0x57ad50)return _0x5094ba(this['buildValues'](_0x1ec3e3['lastComponent'],_0x2f0368,_0x12d385))||!0x0;_0x694959[_0x4e42c9]=_0x1ec3e3,_0x1ec3e3['oldPos']+0x1>=_0x5960ea&&(_0x197ebe=Math['min'](_0x197ebe,_0x4e42c9-0x1)),_0x3f3ce2+0x1>=_0x57ad50&&(_0x183c23=Math['max'](_0x183c23,_0x4e42c9+0x1));}else _0x694959[_0x4e42c9]=void 0x0;}_0x311a2d++;};if(_0x53c864)!function _0x2a4dd5(){setTimeout(function(){if(_0x311a2d>_0x5b08d1||Date['now']()>_0x19c00a)return _0x53c864(void 0x0);_0x5e684f()||_0x2a4dd5();},0x0);}();else for(;_0x311a2d<=_0x5b08d1&&Date['now']()<=_0x19c00a;){const _0x8bb16=_0x5e684f();if(_0x8bb16)return _0x8bb16;}}['addToPath'](_0x532ae1,_0x2c6d70,_0x16c356,_0x375f73,_0x256be5){const _0x23d1c8=_0x532ae1['lastComponent'];return _0x23d1c8&&!_0x256be5['oneChangePerToken']&&_0x23d1c8['added']===_0x2c6d70&&_0x23d1c8['removed']===_0x16c356?{'oldPos':_0x532ae1['oldPos']+_0x375f73,'lastComponent':{'count':_0x23d1c8['count']+0x1,'added':_0x2c6d70,'removed':_0x16c356,'previousComponent':_0x23d1c8['previousComponent']}}:{'oldPos':_0x532ae1['oldPos']+_0x375f73,'lastComponent':{'count':0x1,'added':_0x2c6d70,'removed':_0x16c356,'previousComponent':_0x23d1c8}};}['extractCommon'](_0x1c4967,_0x327f20,_0x128ef3,_0x19c71c,_0xda819a){const _0x4b601c=_0x327f20['length'],_0x2efc5a=_0x128ef3['length'];let _0x5d70f6=_0x1c4967['oldPos'],_0x3aeb9d=_0x5d70f6-_0x19c71c,_0x713893=0x0;for(;_0x3aeb9d+0x1<_0x4b601c&&_0x5d70f6+0x1<_0x2efc5a&&this['equals'](_0x128ef3[_0x5d70f6+0x1],_0x327f20[_0x3aeb9d+0x1],_0xda819a);)_0x3aeb9d++,_0x5d70f6++,_0x713893++,_0xda819a['oneChangePerToken']&&(_0x1c4967['lastComponent']={'count':0x1,'previousComponent':_0x1c4967['lastComponent'],'added':!0x1,'removed':!0x1});return _0x713893&&!_0xda819a['oneChangePerToken']&&(_0x1c4967['lastComponent']={'count':_0x713893,'previousComponent':_0x1c4967['lastComponent'],'added':!0x1,'removed':!0x1}),_0x1c4967['oldPos']=_0x5d70f6,_0x3aeb9d;}['equals'](_0x40397e,_0x4a11e9,_0x6e79f0){return _0x6e79f0['comparator']?_0x6e79f0['comparator'](_0x40397e,_0x4a11e9):_0x40397e===_0x4a11e9||!!_0x6e79f0['ignoreCase']&&_0x40397e['toLowerCase']()===_0x4a11e9['toLowerCase']();}['removeEmpty'](_0x28407c){const _0x1dedb1=[];for(let _0x1fae33=0x0;_0x1fae33<_0x28407c['length'];_0x1fae33++)_0x28407c[_0x1fae33]&&_0x1dedb1['push'](_0x28407c[_0x1fae33]);return _0x1dedb1;}['castInput'](_0xab3430,_0x6a63de){return _0xab3430;}['tokenize'](_0x3b3b3f,_0xe5bea3){return Array['from'](_0x3b3b3f);}['join'](_0xdd355d){return _0xdd355d['join']('');}['postProcess'](_0x155dd8,_0x4e0303){return _0x155dd8;}get['useLongestToken'](){return!0x1;}['buildValues'](_0x285ca1,_0x1b49f1,_0x4630eb){const _0x43b365=[];let _0x5820ea;for(;_0x285ca1;)_0x43b365['push'](_0x285ca1),_0x5820ea=_0x285ca1['previousComponent'],delete _0x285ca1['previousComponent'],_0x285ca1=_0x5820ea;_0x43b365['reverse']();const _0x46357f=_0x43b365['length'];let _0x1880a6=0x0,_0x1ee5e9=0x0,_0x5e8058=0x0;for(;_0x1880a6<_0x46357f;_0x1880a6++){const _0x2319cb=_0x43b365[_0x1880a6];if(_0x2319cb['removed'])_0x2319cb['value']=this['join'](_0x4630eb['slice'](_0x5e8058,_0x5e8058+_0x2319cb['count'])),_0x5e8058+=_0x2319cb['count'];else{if(!_0x2319cb['added']&&this['useLongestToken']){let _0x40ce99=_0x1b49f1['slice'](_0x1ee5e9,_0x1ee5e9+_0x2319cb['count']);_0x40ce99=_0x40ce99['map'](function(_0x55b3b5,_0x2f1cac){const _0x399c45=_0x4630eb[_0x5e8058+_0x2f1cac];return _0x399c45['length']>_0x55b3b5['length']?_0x399c45:_0x55b3b5;}),_0x2319cb['value']=this['join'](_0x40ce99);}else _0x2319cb['value']=this['join'](_0x1b49f1['slice'](_0x1ee5e9,_0x1ee5e9+_0x2319cb['count']));_0x1ee5e9+=_0x2319cb['count'],_0x2319cb['added']||(_0x5e8058+=_0x2319cb['count']);}}return _0x43b365;}};new class extends Nd{}();function Ld(_0xb097eb,_0x461a2a){let _0x3c4f5a;for(_0x3c4f5a=0x0;_0x3c4f5a<_0xb097eb['length']&&_0x3c4f5a<_0x461a2a['length'];_0x3c4f5a++)if(_0xb097eb[_0x3c4f5a]!=_0x461a2a[_0x3c4f5a])return _0xb097eb['slice'](0x0,_0x3c4f5a);return _0xb097eb['slice'](0x0,_0x3c4f5a);}function $d(_0x2ad262,_0x382e78){let _0x5e2443;if(!_0x2ad262||!_0x382e78||_0x2ad262[_0x2ad262['length']-0x1]!=_0x382e78[_0x382e78['length']-0x1])return'';for(_0x5e2443=0x0;_0x5e2443<_0x2ad262['length']&&_0x5e2443<_0x382e78['length'];_0x5e2443++)if(_0x2ad262[_0x2ad262['length']-(_0x5e2443+0x1)]!=_0x382e78[_0x382e78['length']-(_0x5e2443+0x1)])return _0x2ad262['slice'](-_0x5e2443);return _0x2ad262['slice'](-_0x5e2443);}function Dd(_0xa055f9,_0x1ad329,_0x67efc1){if(_0xa055f9['slice'](0x0,_0x1ad329['length'])!=_0x1ad329)throw Error('string\x20'+JSON['stringify'](_0xa055f9)+'\x20doesn\x27t\x20start\x20with\x20prefix\x20'+JSON['stringify'](_0x1ad329)+';\x20this\x20is\x20a\x20bug');return _0x67efc1+_0xa055f9['slice'](_0x1ad329['length']);}function Qd(_0x1ef9be,_0x324017,_0x907ff9){if(!_0x324017)return _0x1ef9be+_0x907ff9;if(_0x1ef9be['slice'](-_0x324017['length'])!=_0x324017)throw Error('string\x20'+JSON['stringify'](_0x1ef9be)+'\x20doesn\x27t\x20end\x20with\x20suffix\x20'+JSON['stringify'](_0x324017)+';\x20this\x20is\x20a\x20bug');return _0x1ef9be['slice'](0x0,-_0x324017['length'])+_0x907ff9;}function jd(_0x5e4639,_0x308a43){return Dd(_0x5e4639,_0x308a43,'');}function Ud(_0xe969ce,_0x25cc5e){return Qd(_0xe969ce,_0x25cc5e,'');}function Vd(_0xa68212,_0x291b31){return _0x291b31['slice'](0x0,function(_0x5debb3,_0x2f4d1f){let _0xf22c62=0x0;_0x5debb3['length']>_0x2f4d1f['length']&&(_0xf22c62=_0x5debb3['length']-_0x2f4d1f['length']);let _0x3ba7d9=_0x2f4d1f['length'];_0x5debb3['length']<_0x2f4d1f['length']&&(_0x3ba7d9=_0x5debb3['length']);const _0x43faed=Array(_0x3ba7d9);let _0x528ee5=0x0;_0x43faed[0x0]=0x0;for(let _0xee6a18=0x1;_0xee6a18<_0x3ba7d9;_0xee6a18++){for(_0x2f4d1f[_0xee6a18]==_0x2f4d1f[_0x528ee5]?_0x43faed[_0xee6a18]=_0x43faed[_0x528ee5]:_0x43faed[_0xee6a18]=_0x528ee5;_0x528ee5>0x0&&_0x2f4d1f[_0xee6a18]!=_0x2f4d1f[_0x528ee5];)_0x528ee5=_0x43faed[_0x528ee5];_0x2f4d1f[_0xee6a18]==_0x2f4d1f[_0x528ee5]&&_0x528ee5++;}_0x528ee5=0x0;for(let _0x2ddeb1=_0xf22c62;_0x2ddeb1<_0x5debb3['length'];_0x2ddeb1++){for(;_0x528ee5>0x0&&_0x5debb3[_0x2ddeb1]!=_0x2f4d1f[_0x528ee5];)_0x528ee5=_0x43faed[_0x528ee5];_0x5debb3[_0x2ddeb1]==_0x2f4d1f[_0x528ee5]&&_0x528ee5++;}return _0x528ee5;}(_0xa68212,_0x291b31));}function Bd(_0x34222c){let _0x58896e;for(_0x58896e=_0x34222c['length']-0x1;_0x58896e>=0x0&&_0x34222c[_0x58896e]['match'](/\s/);_0x58896e--);return _0x34222c['substring'](_0x58896e+0x1);}function Fd(_0x263f55){const _0x10aa89=_0x263f55['match'](/^\s*/);return _0x10aa89?_0x10aa89[0x0]:'';}const Hd='a-zA-Z0-9_\x5cu{AD}\x5cu{C0}-\x5cu{D6}\x5cu{D8}-\x5cu{F6}\x5cu{F8}-\x5cu{2C6}\x5cu{2C8}-\x5cu{2D7}\x5cu{2DE}-\x5cu{2FF}\x5cu{1E00}-\x5cu{1EFF}',Zd=new RegExp('['+Hd+']+|\x5cs+|[^'+Hd+']','ug');new class extends Nd{['equals'](_0xd8d778,_0x5a4418,_0x50f840){return _0x50f840['ignoreCase']&&(_0xd8d778=_0xd8d778['toLowerCase'](),_0x5a4418=_0x5a4418['toLowerCase']()),_0xd8d778['trim']()===_0x5a4418['trim']();}['tokenize'](_0x5e2e91,_0x262f98={}){let _0x13bbb7;if(_0x262f98['intlSegmenter']){const _0x2b71d8=_0x262f98['intlSegmenter'];if('word'!=_0x2b71d8['resolvedOptions']()['granularity'])throw new Error('The\x20segmenter\x20passed\x20must\x20have\x20a\x20granularity\x20of\x20\x22word\x22');_0x13bbb7=[];for(const _0x22805c of Array['from'](_0x2b71d8['segment'](_0x5e2e91))){const _0x431a9d=_0x22805c['segment'];_0x13bbb7['length']&&/\s/['test'](_0x13bbb7[_0x13bbb7['length']-0x1])&&/\s/['test'](_0x431a9d)?_0x13bbb7[_0x13bbb7['length']-0x1]+=_0x431a9d:_0x13bbb7['push'](_0x431a9d);}}else _0x13bbb7=_0x5e2e91['match'](Zd)||[];const _0x256a2e=[];let _0x3ea349=null;return _0x13bbb7['forEach'](_0x503705=>{/\s/['test'](_0x503705)?null==_0x3ea349?_0x256a2e['push'](_0x503705):_0x256a2e['push'](_0x256a2e['pop']()+_0x503705):null!=_0x3ea349&&/\s/['test'](_0x3ea349)?_0x256a2e[_0x256a2e['length']-0x1]==_0x3ea349?_0x256a2e['push'](_0x256a2e['pop']()+_0x503705):_0x256a2e['push'](_0x3ea349+_0x503705):_0x256a2e['push'](_0x503705),_0x3ea349=_0x503705;}),_0x256a2e;}['join'](_0x303215){return _0x303215['map']((_0x106028,_0x5f18f0)=>0x0==_0x5f18f0?_0x106028:_0x106028['replace'](/^\s+/,''))['join']('');}['postProcess'](_0x5b92b1,_0x21e5b1){if(!_0x5b92b1||_0x21e5b1['oneChangePerToken'])return _0x5b92b1;let _0x2da704=null,_0x450abf=null,_0x47aa13=null;return _0x5b92b1['forEach'](_0xb6634=>{_0xb6634['added']?_0x450abf=_0xb6634:_0xb6634['removed']?_0x47aa13=_0xb6634:((_0x450abf||_0x47aa13)&&Gd(_0x2da704,_0x47aa13,_0x450abf,_0xb6634),_0x2da704=_0xb6634,_0x450abf=null,_0x47aa13=null);}),(_0x450abf||_0x47aa13)&&Gd(_0x2da704,_0x47aa13,_0x450abf,null),_0x5b92b1;}}();function Gd(_0xd6b005,_0x132be5,_0x1a374a,_0x2fec7c){if(_0x132be5&&_0x1a374a){const _0x207e4a=Fd(_0x132be5['value']),_0x2b849c=Bd(_0x132be5['value']),_0x3ab04b=Fd(_0x1a374a['value']),_0x3aff9c=Bd(_0x1a374a['value']);if(_0xd6b005){const _0x5e6d06=Ld(_0x207e4a,_0x3ab04b);_0xd6b005['value']=Qd(_0xd6b005['value'],_0x3ab04b,_0x5e6d06),_0x132be5['value']=jd(_0x132be5['value'],_0x5e6d06),_0x1a374a['value']=jd(_0x1a374a['value'],_0x5e6d06);}if(_0x2fec7c){const _0x1adf8b=$d(_0x2b849c,_0x3aff9c);_0x2fec7c['value']=Dd(_0x2fec7c['value'],_0x3aff9c,_0x1adf8b),_0x132be5['value']=Ud(_0x132be5['value'],_0x1adf8b),_0x1a374a['value']=Ud(_0x1a374a['value'],_0x1adf8b);}}else{if(_0x1a374a){if(_0xd6b005){const _0x10934f=Fd(_0x1a374a['value']);_0x1a374a['value']=_0x1a374a['value']['substring'](_0x10934f['length']);}if(_0x2fec7c){const _0xad922a=Fd(_0x2fec7c['value']);_0x2fec7c['value']=_0x2fec7c['value']['substring'](_0xad922a['length']);}}else{if(_0xd6b005&&_0x2fec7c){const _0x4e99bc=Fd(_0x2fec7c['value']),_0x3f9ec2=Fd(_0x132be5['value']),_0x2bad40=Bd(_0x132be5['value']),_0x4fa4f2=Ld(_0x4e99bc,_0x3f9ec2);_0x132be5['value']=jd(_0x132be5['value'],_0x4fa4f2);const _0x4f13a5=$d(jd(_0x4e99bc,_0x4fa4f2),_0x2bad40);_0x132be5['value']=Ud(_0x132be5['value'],_0x4f13a5),_0x2fec7c['value']=Dd(_0x2fec7c['value'],_0x4e99bc,_0x4f13a5),_0xd6b005['value']=Qd(_0xd6b005['value'],_0x4e99bc,_0x4e99bc['slice'](0x0,_0x4e99bc['length']-_0x4f13a5['length']));}else{if(_0x2fec7c){const _0x7f68eb=Fd(_0x2fec7c['value']),_0xa80acb=Vd(Bd(_0x132be5['value']),_0x7f68eb);_0x132be5['value']=Ud(_0x132be5['value'],_0xa80acb);}else{if(_0xd6b005){const _0x4b1fa8=Vd(Bd(_0xd6b005['value']),Fd(_0x132be5['value']));_0x132be5['value']=jd(_0x132be5['value'],_0x4b1fa8);}}}}}}new class extends Nd{['tokenize'](_0x5ff633){const _0x4c0f15=new RegExp('(\x5cr?\x5cn)|['+Hd+']+|[^\x5cS\x5cn\x5cr]+|[^'+Hd+']','ug');return _0x5ff633['match'](_0x4c0f15)||[];}}(),new class extends Nd{constructor(){super(...arguments),this['tokenize']=Xd;}['equals'](_0x4b9557,_0x113ee0,_0x5574c8){return _0x5574c8['ignoreWhitespace']?(_0x5574c8['newlineIsToken']&&_0x4b9557['includes']('\x0a')||(_0x4b9557=_0x4b9557['trim']()),_0x5574c8['newlineIsToken']&&_0x113ee0['includes']('\x0a')||(_0x113ee0=_0x113ee0['trim']())):_0x5574c8['ignoreNewlineAtEof']&&!_0x5574c8['newlineIsToken']&&(_0x4b9557['endsWith']('\x0a')&&(_0x4b9557=_0x4b9557['slice'](0x0,-0x1)),_0x113ee0['endsWith']('\x0a')&&(_0x113ee0=_0x113ee0['slice'](0x0,-0x1))),super['equals'](_0x4b9557,_0x113ee0,_0x5574c8);}}();function Xd(_0x4206dc,_0x2dbe8d){_0x2dbe8d['stripTrailingCr']&&(_0x4206dc=_0x4206dc['replace'](/\r\n/g,'\x0a'));const _0x37c5de=[],_0x591dfd=_0x4206dc['split'](/(\n|\r\n)/);_0x591dfd[_0x591dfd['length']-0x1]||_0x591dfd['pop']();for(let _0x231615=0x0;_0x231615<_0x591dfd['length'];_0x231615++){const _0x385eb3=_0x591dfd[_0x231615];_0x231615%0x2&&!_0x2dbe8d['newlineIsToken']?_0x37c5de[_0x37c5de['length']-0x1]+=_0x385eb3:_0x37c5de['push'](_0x385eb3);}return _0x37c5de;}function qd(_0x808391){return'.'==_0x808391||'!'==_0x808391||'?'==_0x808391;}new class extends Nd{['tokenize'](_0x1e2b6f){var _0x5a17ee;const _0x15835f=[];let _0x427e88=0x0;for(let _0x5697d5=0x0;_0x5697d5<_0x1e2b6f['length'];_0x5697d5++){if(_0x5697d5==_0x1e2b6f['length']-0x1){_0x15835f['push'](_0x1e2b6f['slice'](_0x427e88));break;}if(qd(_0x1e2b6f[_0x5697d5])&&_0x1e2b6f[_0x5697d5+0x1]['match'](/\s/)){for(_0x15835f['push'](_0x1e2b6f['slice'](_0x427e88,_0x5697d5+0x1)),_0x5697d5=_0x427e88=_0x5697d5+0x1;null===(_0x5a17ee=_0x1e2b6f[_0x5697d5+0x1])||void 0x0===_0x5a17ee?void 0x0:_0x5a17ee['match'](/\s/);)_0x5697d5++;_0x15835f['push'](_0x1e2b6f['slice'](_0x427e88,_0x5697d5+0x1)),_0x427e88=_0x5697d5+0x1;}}return _0x15835f;}}(),new class extends Nd{['tokenize'](_0x351468){return _0x351468['split'](/([{}:;,]|\s+)/);}}(),new class extends Nd{constructor(){super(...arguments),this['tokenize']=Xd;}get['useLongestToken'](){return!0x0;}['castInput'](_0x40a81a,_0xdfa723){const {undefinedReplacement:_0x168915,stringifyReplacer:_0x3c9f8d=(_0x52ee30,_0x2b770f)=>void 0x0===_0x2b770f?_0x168915:_0x2b770f}=_0xdfa723;return'string'==typeof _0x40a81a?_0x40a81a:JSON['stringify'](Wd(_0x40a81a,null,null,_0x3c9f8d),null,'\x20\x20');}['equals'](_0x2ed8ec,_0x27cebe,_0xbcf11a){return super['equals'](_0x2ed8ec['replace'](/,([\r\n])/g,'$1'),_0x27cebe['replace'](/,([\r\n])/g,'$1'),_0xbcf11a);}}();function Wd(_0x2f2a76,_0x15e833,_0x8cd721,_0x4caa73,_0x51f462){let _0x42132c,_0x5a2160;for(_0x15e833=_0x15e833||[],_0x8cd721=_0x8cd721||[],_0x4caa73&&(_0x2f2a76=_0x4caa73(void 0x0===_0x51f462?'':_0x51f462,_0x2f2a76)),_0x42132c=0x0;_0x42132c<_0x15e833['length'];_0x42132c+=0x1)if(_0x15e833[_0x42132c]===_0x2f2a76)return _0x8cd721[_0x42132c];if('[object\x20Array]'===Object['prototype']['toString']['call'](_0x2f2a76)){for(_0x15e833['push'](_0x2f2a76),_0x5a2160=new Array(_0x2f2a76['length']),_0x8cd721['push'](_0x5a2160),_0x42132c=0x0;_0x42132c<_0x2f2a76['length'];_0x42132c+=0x1)_0x5a2160[_0x42132c]=Wd(_0x2f2a76[_0x42132c],_0x15e833,_0x8cd721,_0x4caa73,String(_0x42132c));return _0x15e833['pop'](),_0x8cd721['pop'](),_0x5a2160;}if(_0x2f2a76&&_0x2f2a76['toJSON']&&(_0x2f2a76=_0x2f2a76['toJSON']()),'object'==typeof _0x2f2a76&&null!==_0x2f2a76){_0x15e833['push'](_0x2f2a76),_0x5a2160={},_0x8cd721['push'](_0x5a2160);const _0x1161e3=[];let _0x175fe2;for(_0x175fe2 in _0x2f2a76)Object['prototype']['hasOwnProperty']['call'](_0x2f2a76,_0x175fe2)&&_0x1161e3['push'](_0x175fe2);for(_0x1161e3['sort'](),_0x42132c=0x0;_0x42132c<_0x1161e3['length'];_0x42132c+=0x1)_0x175fe2=_0x1161e3[_0x42132c],_0x5a2160[_0x175fe2]=Wd(_0x2f2a76[_0x175fe2],_0x15e833,_0x8cd721,_0x4caa73,_0x175fe2);_0x15e833['pop'](),_0x8cd721['pop']();}else _0x5a2160=_0x2f2a76;return _0x5a2160;}const zd=new class extends Nd{['tokenize'](_0xd15ed6){return _0xd15ed6['slice']();}['join'](_0x44d025){return _0x44d025;}['removeEmpty'](_0x406063){return _0x406063;}}();function Yd(_0x5e2690,_0x5c431c,_0x439f9f){return zd['diff'](_0x5e2690,_0x5c431c,_0x439f9f);}const Kd='$elementId',Jd='data-id';var tf=class extends _0x2de7b2{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x181fa1?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x4c4a3d,_0x439a85)=>{_0x439a85['on']('ready',()=>{this['_integrateEditor'](_0x439a85);});});}get['editor'](){if(this['context']instanceof _0x181fa1)return this['context'];{const _0x43dc08=this['context']['editors']['first'];if(!_0x43dc08)throw new _0x5b5a95('documentcompare-no-editor',this);return _0x43dc08;}}['getDiff'](_0x5122ca,_0x45d3a1,_0x4f879c={'anchor':'main','markDeletions':!0x1}){const _0x2a186c=_0x4f879c['targetEditor']||this['editor'],_0xfbd52c=_0x4f879c['anchor']??'main';let _0x363d4e,_0xc21d6d;if('string'==typeof _0xfbd52c){const _0x458db5=_0x2a186c['model']['document']['getRoot'](_0xfbd52c);if(!_0x458db5)throw new _0x5b5a95('documentcompare-compare-no-root',this,{'anchor':_0xfbd52c});_0x363d4e=_0x458db5,_0xc21d6d=_0x2a186c['model']['createPositionAt'](_0x458db5,0x0);}else _0x363d4e=_0xfbd52c['clone'](),_0xc21d6d=_0xfbd52c['clone']();return new ef({'editor':_0x2a186c,'before':_0x2a186c['data']['parse'](_0x5122ca,_0x363d4e),'after':_0x2a186c['data']['parse'](_0x45d3a1,_0x363d4e),'options':{'anchor':_0xc21d6d,'markDeletions':_0x4f879c['markDeletions']}});}['isMarkedRemoveOperation'](_0x51c410){return'marker'==_0x51c410['type']&&_0x51c410['name']['startsWith']('$markedRemove');}['applyOperations'](_0x31b2a0,_0x4a84c2){const _0xa96b2e=_0x31b2a0['model'];for(const _0x1333d8 of _0x4a84c2)_0x1333d8 instanceof _0x196b7b?_0x31b2a0['_addOperationForAffectedMarkers']('move',_0x1a83e1['_createFromPositionAndShift'](_0x1333d8['sourcePosition'],_0x1333d8['howMany'])):_0x1333d8 instanceof _0x124664?_0x31b2a0['_addOperationForAffectedMarkers']('merge',_0x1333d8['deletionPosition']):_0x1333d8 instanceof _0x538fe9&&this['_fixMarkerOperationOldRange'](_0xa96b2e,_0x1333d8),_0x1333d8['baseVersion']=_0xa96b2e['document']['version'],_0x31b2a0['batch']['addOperation'](_0x1333d8),_0xa96b2e['applyOperation'](_0x1333d8);}['_fixMarkerOperationOldRange'](_0x27225b,_0x3f0c52){const _0x5a50ca=_0x27225b['markers']['get'](_0x3f0c52['name']);_0x5a50ca&&(_0x3f0c52['oldRange']=_0x5a50ca['getRange']());}['_integrateEditor'](_0x5ea824){_0x5ea824['conversion']['for']('upcast')['add'](_0x55b1a6=>{_0x55b1a6['on']('element',(_0x20077e,_0xa55afe,_0x50f97c)=>{if(_0xa55afe['modelRange']&&_0x50f97c['consumable']['consume'](_0xa55afe['viewItem'],{'attributes':'data-id'}))for(const _0x493139 of _0xa55afe['modelRange']['getItems']({'shallow':!0x0})){if(_0x493139['is']('$textProxy'))continue;const _0x2f8865=_0xa55afe['viewItem']['getAttribute'](Jd);_0x2f8865&&_0x50f97c['writer']['setAttribute'](Kd,_0x2f8865,_0x493139);}},{'priority':'low'});}),_0x5ea824['model']['schema']['addAttributeCheck'](()=>!0x0,Kd);}},ef=class{['_editor'];['_diffItems']=[];['_markDeletions'];['_anchor'];['_operationsData']=[];['_path']=[0x0];['_parents']=[];['_splitPostponedData']=new Map();constructor({editor:_0x3e0814,before:_0x27a4dd,after:_0x31e593,options:_0x496636}){this['_editor']=_0x3e0814,this['_markDeletions']=!!_0x496636['markDeletions'],this['_anchor']=_0x496636['anchor'];const _0x1668c2=this['_tokenizeModel'](_0x27a4dd),_0x2f7f47=this['_tokenizeModel'](_0x31e593);this['_diffItems']=this['_diffModelTokens'](_0x1668c2,_0x2f7f47),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x27a4dd['markers'],_0x31e593['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x57898=this['_editor']['model']['document'],_0x3969af=[];let _0x59a72d=_0x57898['version'];for(const _0x5ce4a2 of this['_operationsData'])switch(_0x5ce4a2['type']){case'attribute':{const _0x2e19d2=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5ce4a2['path']),_0x2b5821=new _0x1a83e1(_0x2e19d2,_0x2e19d2['getShiftedBy'](_0x5ce4a2['howMany'])),_0x1ab7cb=JSON['parse'](_0x5ce4a2['oldValue']),_0x209b6e=JSON['parse'](_0x5ce4a2['newValue']);_0x3969af['push'](new _0x13cb7f(_0x2b5821,_0x5ce4a2['key'],_0x1ab7cb,_0x209b6e,_0x59a72d++));break;}case'insert':{const _0x3a8e0d=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5ce4a2['path']),_0x1a46e6=this['_makeModelFromTokens'](_0x5ce4a2['tokens']);_0x3969af['push'](new _0x114814(_0x3a8e0d,_0x1a46e6,_0x59a72d++));break;}case'remove':{const _0x31800a=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5ce4a2['path']),_0x5f4cdd=new _0x30903b(_0x57898['graveyard'],[0x0]);_0x3969af['push'](new _0x196b7b(_0x31800a,_0x5ce4a2['howMany'],_0x5f4cdd,_0x59a72d++));break;}case'rename':{const _0x32461a=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5ce4a2['path']);_0x3969af['push'](new _0x47207f(_0x32461a,_0x5ce4a2['oldName'],_0x5ce4a2['newName'],_0x59a72d++));break;}case'split':{const _0x42e32a=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5ce4a2['path']),_0x25e790=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5ce4a2['path']['slice'](0x0,-0x1));_0x25e790['offset']++,_0x3969af['push'](new _0x37606f(_0x42e32a,Number['NEGATIVE_INFINITY'],_0x25e790,null,_0x59a72d++));break;}case'merge':{const _0x4555dd=_0x5ce4a2['path']['slice'](),_0x5e688e=_0x4555dd['slice'](0x0,-0x1);_0x5e688e[_0x5e688e['length']-0x1]++,_0x5e688e['push'](0x0);const _0x223b43=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5e688e),_0x1e6f2f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4555dd),_0xf373c4=new _0x30903b(_0x57898['graveyard'],[0x0]);_0x3969af['push'](new _0x124664(_0x223b43,Number['NEGATIVE_INFINITY'],_0x1e6f2f,_0xf373c4,_0x59a72d++));break;}case'marker':case'markedRemove':{let _0x32b71f=null;_0x5ce4a2['range']&&(_0x32b71f=new _0x1a83e1(this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5ce4a2['range']['start']),this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5ce4a2['range']['end'])));const _0x3f2da9='marker'==_0x5ce4a2['type']?_0x5ce4a2['name']:'$markedRemove:'+_0x10825a();_0x3969af['push'](new _0x538fe9(_0x3f2da9,null,_0x32b71f,_0x57898['model']['markers'],!0x0,_0x59a72d++));break;}case'unwrap':{const _0x596e04=_0x5ce4a2['path']['slice']();_0x596e04['push'](0x0);const _0x2f921b=_0x5ce4a2['path']['slice'](),_0x501d77=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x596e04),_0x517fcb=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2f921b),_0x100c4d=new _0x30903b(_0x57898['graveyard'],[0x0]);_0x3969af['push'](new _0x196b7b(_0x501d77,_0x5ce4a2['howMany'],_0x517fcb,_0x59a72d++)),_0x3969af['push'](new _0x196b7b(_0x517fcb['getShiftedBy'](_0x5ce4a2['howMany']),0x1,_0x100c4d,_0x59a72d++));break;}case'wrap':{const _0xc27b9e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5ce4a2['range']['start']),_0x6ea399=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5ce4a2['range']['end']),_0x5a4cd5=_0x5ce4a2['token']['element']['_clone'](!0x1);_0x5a4cd5['_removeAttribute'](Kd);const _0x5b3ee7=_0x5ce4a2['range']['end']['slice']();_0x5b3ee7['push'](0x0);const _0x3e477d=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5b3ee7);_0x3969af['push'](new _0x114814(_0x6ea399,_0x5a4cd5,_0x59a72d++)),_0x3969af['push'](new _0x196b7b(_0xc27b9e,_0x6ea399['offset']-_0xc27b9e['offset'],_0x3e477d,_0x59a72d++));break;}}return _0x3969af;}['_tokenizeModel'](_0x5c751d){const _0x308e99=[],_0x2c987b=new _0x8f8d66({'boundaries':_0x1a83e1['_createIn'](_0x5c751d)});let _0x5e2c08='',_0x143c1f=null;const _0x31bc3b=[''],_0x437fc9=new Map();for(const _0x5a2c2b of _0x2c987b)if('elementStart'==_0x5a2c2b['type']||'elementEnd'==_0x5a2c2b['type']){let _0x5de3a0=_0x31bc3b[0x0];''!==_0x5e2c08&&(_0x308e99['push'](...this['_makeTokensFromTextByWords'](_0x5e2c08,_0x143c1f,_0x5de3a0)),_0x5e2c08='');const _0x24a4a2=_0x5a2c2b['item'];let _0x4b6076;_0x24a4a2['getAttribute']('$elementId')?_0x4b6076=_0x24a4a2['getAttribute'](Kd):'elementStart'==_0x5a2c2b['type']?(_0x4b6076=nf(_0x24a4a2),_0x437fc9['set'](_0x24a4a2,_0x4b6076)):_0x4b6076=_0x437fc9['get'](_0x24a4a2);const _0x4ab833=this['_getElementCategory'](_0x24a4a2);'solid'==_0x4ab833&&('elementStart'==_0x5a2c2b['type']?(_0x5de3a0=_0x4b6076,_0x31bc3b['unshift'](_0x5de3a0)):_0x31bc3b['shift']());const _0x2f8f81={'type':'element','element':_0x24a4a2,'elementId':_0x4b6076,'category':_0x4ab833,'isStart':'elementStart'==_0x5a2c2b['type'],'limitId':_0x5de3a0};_0x308e99['push'](_0x2f8f81);}else''==_0x5e2c08&&(_0x143c1f=_0x5a2c2b['previousPosition']['clone']()),_0x5e2c08+=_0x5a2c2b['item']['data'];return''!==_0x5e2c08&&_0x308e99['push'](...this['_makeTokensFromTextByWords'](_0x5e2c08,_0x143c1f,_0x31bc3b[0x0])),_0x308e99;}['_makeTokensFromTextByWords'](_0x3e9681,_0x544a0a,_0x2bf027){const _0x4a9b1a=_0x3e9681['matchAll'](/(\s)/g),_0x56fca3=Array['from'](_0x4a9b1a)['map'](_0xd75345=>_0xd75345['index']);_0x56fca3['push'](_0x3e9681['length']),0x0==_0x56fca3[0x0]&&_0x56fca3['shift']();const _0x17f53c=[],_0x1f6dae=_0x544a0a['parent'];let _0x39102b=0x0,_0x1f3d65=_0x544a0a['offset'];for(let _0x19943f=0x0;_0x19943f<_0x56fca3['length'];_0x19943f++)_0x17f53c['push']({'type':'text','data':_0x3e9681['slice'](_0x39102b,_0x56fca3[_0x19943f]),'parent':_0x1f6dae,'offset':_0x1f3d65,'limitId':_0x2bf027}),_0x39102b=_0x56fca3[_0x19943f],_0x1f3d65=_0x544a0a['offset']+_0x56fca3[_0x19943f];return _0x17f53c;}['_getElementCategory'](_0x122fc1){const _0x40f3c3=this['_editor']['model']['schema'];return _0x40f3c3['isLimit'](_0x122fc1)||_0x40f3c3['isContent'](_0x122fc1)||_0x40f3c3['isInline'](_0x122fc1)?'solid':_0x40f3c3['isBlock'](_0x122fc1)?'block':function(_0x7e0516,_0x265a2d){const _0x206e5c=_0x7e0516['parent'];if(!_0x206e5c||_0x206e5c['is']('documentFragment'))return!0x1;if(_0x265a2d['checkChild'](_0x206e5c,'$text'))return!0x1;for(const _0x1c4b59 of _0x7e0516['getChildren']())if(_0x1c4b59['is']('$text'))return!0x0;return!0x1;}(_0x122fc1,_0x40f3c3)?'solid':'container';}['_diffModelTokens'](_0x3916c3,_0x19cdb4){const _0x815b94=Yd(_0x3916c3,_0x19cdb4,{'comparator':sf});this['_handleUnclosedBlockOpeningTags'](_0x815b94);const _0x4ed107=_0x815b94['flatMap'](_0x5ac02e=>{const _0x3319d7=_0x5ac02e['added']?'added':_0x5ac02e['removed']?'removed':'unchanged';return _0x5ac02e['value']['map'](_0x18a09f=>({'token':_0x18a09f,'change':_0x3319d7}));});let _0xfd7e84=0x0;for(const _0x4fc817 of _0x4ed107)'added'!=_0x4fc817['change']&&('unchanged'==_0x4fc817['change']&&(_0x4fc817['before']=_0x3916c3[_0xfd7e84]),_0xfd7e84++);return _0x4ed107;}['_handleUnclosedBlockOpeningTags'](_0x316b78){for(let _0x578d86=0x0;_0x578d86<_0x316b78['length']-0x1;_0x578d86++)if(_0x316b78[_0x578d86]['removed']&&_0x316b78[_0x578d86+0x1]['added']){const _0x4cce35=this['_findUnclosedBlockOpeningToken'](_0x316b78[_0x578d86]['value']);if(null!==_0x4cce35){const _0x387cf1=this['_findUnclosedBlockOpeningToken'](_0x316b78[_0x578d86+0x1]['value']),_0xd24d07=_0x316b78[_0x578d86]['value']['splice'](_0x4cce35),_0x26117f=_0x316b78[_0x578d86+0x1]['value']['splice'](_0x387cf1),_0x5eccf4=[_0x26117f['shift']()];_0xd24d07['shift']();const _0x2a3f87={'value':_0xd24d07,'removed':!0x0},_0x57e35e={'value':_0x26117f,'added':!0x0},_0x386601={'value':_0x5eccf4};_0x316b78['splice'](_0x578d86+0x2,0x0,_0x386601,_0x2a3f87,_0x57e35e);}}}['_findUnclosedBlockOpeningToken'](_0x5b586e){let _0x50b6f2=0x0,_0xdfdce6=-0x1;for(let _0x1fe337=0x0;_0x1fe337<_0x5b586e['length'];_0x1fe337++){const _0x5798b0=_0x5b586e[_0x1fe337];'element'==_0x5798b0['type']&&'block'==_0x5798b0['category']&&(_0x50b6f2+=_0x5798b0['isStart']?0x1:-0x1,_0x5798b0['isStart']&&(_0xdfdce6=_0x1fe337));}return 0x0===_0x50b6f2?null:_0xdfdce6;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x4ce581=0x0;_0x4ce581<this['_diffItems']['length'];_0x4ce581++){const _0x43dfd0=this['_diffItems'][_0x4ce581]['change'],_0x3eda0b=[];_0x3eda0b['push'](this['_diffItems'][_0x4ce581]);let _0x3f7b00=_0x4ce581+0x1;for(;this['_diffItems'][_0x3f7b00]&&this['_diffItems'][_0x3f7b00]['change']==_0x43dfd0;)_0x3eda0b['push'](this['_diffItems'][_0x3f7b00]),_0x3f7b00++,_0x4ce581++;const _0x4751c0=_0x3eda0b['map'](_0x56a97f=>_0x56a97f['token']);if('unchanged'==_0x43dfd0)_0x3eda0b['map'](_0x83ff0b=>_0x83ff0b['before'])['forEach'](_0xd8ff3b=>this['_traverseOverItem'](_0xd8ff3b));else{if('removed'==_0x43dfd0){if(this['_markDeletions']){const _0x24e808=this['_path']['slice']();_0x4751c0['forEach'](_0xee9a54=>this['_traverseOverItem'](_0xee9a54));const _0x10f99d=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x24e808,'end':_0x10f99d}});}else this['_handleChanged'](_0x4751c0,!0x0,this['_path']['slice']());}else{const _0x5eaba2=_0x4751c0['filter'](_0xc37888=>'element'!=_0xc37888['type']||'container'!=_0xc37888['category']);this['_handleChanged'](_0x5eaba2,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x24c179=0x0;_0x24c179<this['_diffItems']['length'];_0x24c179++){const _0x1e8d35=this['_diffItems'][_0x24c179]['change'],_0x16e872=[];_0x16e872['push'](this['_diffItems'][_0x24c179]);let _0x3bc05b=_0x24c179+0x1;for(;this['_diffItems'][_0x3bc05b]&&this['_diffItems'][_0x3bc05b]['change']==_0x1e8d35;)_0x16e872['push'](this['_diffItems'][_0x3bc05b]),_0x3bc05b++,_0x24c179++;const _0x4e8145=_0x16e872['map'](_0x28b26a=>_0x28b26a['token']);if('unchanged'==_0x1e8d35){const _0x45ea41=_0x16e872['map'](_0x280501=>_0x280501['before']);this['_handleUnchanged'](_0x45ea41,_0x4e8145);}else('added'==_0x1e8d35||this['_markDeletions'])&&_0x4e8145['forEach'](_0x1e8aa7=>{'element'==_0x1e8aa7['type']&&_0x1e8aa7['isStart']&&this['_splitPostponedData']['has'](_0x1e8aa7['element'])&&this['_handleSplitPostponedData'](_0x1e8aa7['element'],this['_path']),this['_traverseOverItem'](_0x1e8aa7);});}}['_handleSplitPostponedData'](_0x174c18,_0x379e76){const _0x3a6a43=this['_splitPostponedData']['get'](_0x174c18);for(const _0x11cb27 of _0x3a6a43)'rename'==_0x11cb27['type']?this['_operationsData']['push']({'type':'rename','path':_0x379e76['slice'](),'oldName':_0x11cb27['oldValue'],'newName':_0x174c18['name']}):this['_operationsData']['push']({'type':'attribute','path':_0x379e76['slice'](),'howMany':0x1,'key':_0x11cb27['key'],'oldValue':_0x11cb27['oldValue'],'newValue':JSON['stringify'](_0x174c18['getAttribute'](_0x11cb27['key'])??null)});}['_calculateMarkersOperationsData'](_0x2f09d5,_0x44e641){const _0x1284f7={};for(const [_0xfc02ea]of _0x2f09d5)_0x1284f7[_0xfc02ea]=null;for(const [_0xb61157,_0x3fbb3a]of _0x44e641)_0x1284f7[_0xb61157]=_0x3fbb3a;const _0x1921bf=Object['entries'](_0x1284f7)['map'](([_0x50ee14,_0x18acf7])=>({'type':'marker','name':_0x50ee14,'range':_0x18acf7?{'start':_0x18acf7['start']['path']['slice'](),'end':_0x18acf7['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x1921bf);}['_handleUnwraps'](){const _0x5499ae=new Map(),_0xdd573f=[],_0x3a56c8=[0x0];let _0x8ac142=this['_diffItems']['length']+0x1;for(let _0x19d32f=this['_diffItems']['length']-0x1;_0x19d32f>=0x0;_0x19d32f--){const {token:_0xd4c76d,before:_0x37107d,change:_0x13a959}=this['_diffItems'][_0x19d32f];if('removed'!=_0x13a959&&(_0x8ac142=_0x19d32f),'element'!=_0xd4c76d['type']||'container'!=_0xd4c76d['category']||'added'==_0x13a959)continue;const _0x14bf85=_0x37107d?_0x37107d['element']:_0xd4c76d['element'];if(_0xd4c76d['isStart']){const _0x45eb9c=_0x5499ae['get'](_0x14bf85),_0x5cdb11=this['_diffItems'][_0x45eb9c];('removed'==_0x13a959||'removed'==_0x5cdb11['change'])&&_0x8ac142<_0x45eb9c&&(this['_operationsData']['push']({'type':'unwrap','path':_0x14bf85['getPath'](),'howMany':_0x14bf85['maxOffset']+_0x3a56c8[0x0]}),_0x3a56c8['shift'](),_0x3a56c8[0x0]+=_0x14bf85['maxOffset']-0x1,_0xdd573f['push'](_0x19d32f),_0xdd573f['push'](_0x45eb9c));}else _0x5499ae['set'](_0x14bf85,_0x19d32f),_0x3a56c8['unshift'](0x0);}_0xdd573f['sort']((_0x1f94da,_0x1de051)=>_0x1de051-_0x1f94da),_0xdd573f['forEach'](_0x4e6c8f=>{const _0x359ff7=this['_diffItems'][_0x4e6c8f];'removed'==_0x359ff7['change']?this['_diffItems']['splice'](_0x4e6c8f,0x1):(_0x359ff7['change']='added',delete _0x359ff7['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x540ceb=[];for(let _0x260e8e=0x0;_0x260e8e<this['_diffItems']['length'];_0x260e8e++){const {change:_0xd619cf,token:_0x5d8bad}=this['_diffItems'][_0x260e8e];if('added'==_0xd619cf&&'element'==_0x5d8bad['type']&&'container'==_0x5d8bad['category']){if(_0x5d8bad['isStart'])_0x540ceb['push'](this['_path']['slice']());else{if(!_0x5d8bad['isStart']){const _0x3def96=_0x540ceb['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x3def96,'end':this['_path']['slice']()},'token':_0x5d8bad}),this['_path'][this['_path']['length']-0x1]=_0x3def96[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0xd619cf||this['_markDeletions'])&&this['_traverseOverItem'](_0x5d8bad);}}['_handleUnchanged'](_0x1ca856,_0x7001f6){for(let _0x1115d6=0x0;_0x1115d6<_0x1ca856['length'];_0x1115d6++){const _0x3c5c88=_0x1ca856[_0x1115d6];if('element'==_0x3c5c88['type']&&_0x3c5c88['isStart']){const _0x3d16a0=_0x7001f6[_0x1115d6];'block'==_0x3c5c88['category']&&this['_handleElementRename'](_0x3c5c88['element'],_0x3d16a0['element'],this['_path']),this['_handleElementAttributeChanges'](_0x3c5c88['element'],_0x3d16a0['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x3d16a0);}else{if('element'!=_0x3c5c88['type']||_0x3c5c88['isStart']){if('text'==_0x3c5c88['type']){const _0xa76c98=this['_path']['slice'](),_0x427663=[],_0x5730e6=[];for(;_0x1ca856[_0x1115d6]&&'text'==_0x1ca856[_0x1115d6]['type'];)_0x427663['push'](_0x1ca856[_0x1115d6]),_0x5730e6['push'](_0x7001f6[_0x1115d6]),this['_path'][this['_path']['length']-0x1]+=_0x1ca856[_0x1115d6]['data']['length'],_0x1115d6++;_0x1115d6--,this['_handleTextAttributeChanges'](_0x427663,_0x5730e6,_0xa76c98);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x1134a8,_0x565f4d,_0x2b69e1){const _0x29c924=[],_0x41f995=[],_0x387232=_0x2b69e1['slice']();let _0x24a7c6=this['_parents']['length']-0x1;for(let _0x47ef63=0x0;_0x47ef63<_0x1134a8['length'];_0x47ef63++){const _0x1f0aa6=_0x1134a8[_0x47ef63],_0x11af4b=_0x2b69e1['slice']();'element'!=_0x1f0aa6['type']||_0x1f0aa6['isStart']?'element'==_0x1f0aa6['type']&&_0x1f0aa6['isStart']?(_0x2b69e1['push'](0x0),_0x24a7c6++,_0x41f995['push']({'before':_0x11af4b,'after':_0x2b69e1['slice'](),'index':_0x47ef63})):_0x2b69e1[_0x2b69e1['length']-0x1]+=_0x1f0aa6['data']['length']:(_0x2b69e1['pop'](),_0x2b69e1[_0x2b69e1['length']-0x1]++,_0x24a7c6--,_0x41f995['length']?_0x41f995['pop']():_0x29c924['push']({'before':_0x11af4b,'after':_0x2b69e1['slice'](),'index':_0x47ef63}));}if(_0x41f995['length']!==_0x29c924['length'])throw new _0x5b5a95('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x1134a8,'isRemove':_0x565f4d});const _0x3baac3=[{'after':_0x387232['slice'](),'index':-0x1},..._0x29c924,..._0x41f995,{'before':_0x2b69e1['slice'](),'index':_0x1134a8['length']}];if(_0x565f4d){for(let _0x25656f=_0x3baac3['length']-0x1;_0x25656f>=0x1;_0x25656f--){const _0x179c2f=_0x3baac3[_0x25656f-0x1]['after'],_0x224dcb=_0x3baac3[_0x25656f]['before'],_0x165630=_0x224dcb[_0x224dcb['length']-0x1]-_0x179c2f[_0x179c2f['length']-0x1];_0x165630&&(this['_operationsData']['push']({'type':'remove','path':_0x179c2f,'howMany':_0x165630}),_0x224dcb[_0x224dcb['length']-0x1]-=_0x165630);}for(const {before:_0x33cb55}of _0x29c924)this['_operationsData']['push']({'type':'merge','path':_0x33cb55});}else for(let _0x5e9c73=0x0;_0x5e9c73<_0x3baac3['length']-0x1;_0x5e9c73++){const _0x4d8564=_0x3baac3[_0x5e9c73]['after'],_0x55fe8b=_0x3baac3[_0x5e9c73+0x1]['before'],_0x2c5528=_0x3baac3[_0x5e9c73]['index']+0x1,_0x1b0898=_0x3baac3[_0x5e9c73+0x1]['index'];if(_0x2c5528!==_0x1b0898&&this['_operationsData']['push']({'type':'insert','path':_0x4d8564,'tokens':_0x1134a8['slice'](_0x2c5528,_0x1b0898)}),_0x5e9c73<_0x29c924['length']){this['_operationsData']['push']({'type':'split','path':_0x55fe8b});const _0x21de94=_0x1134a8[_0x41f995[_0x41f995['length']-0x1-_0x5e9c73]['index']],_0x25b659=this['_parents'][_0x24a7c6]['element'];_0x25b659['name']!=_0x21de94['element']['name']&&this['_addSplitPostponedData'](_0x21de94['element'],{'type':'rename','oldValue':_0x25b659['name']});const _0x52c178=this['_getAttributeChanges'](_0x25b659['getAttributes'](),_0x21de94['element']['getAttributes']());for(const _0x356004 in _0x52c178){const _0x29e8bf=_0x52c178[_0x356004]['oldValue'];this['_addSplitPostponedData'](_0x21de94['element'],{'type':'attribute','key':_0x356004,'oldValue':_0x29e8bf});}}}}['_addSplitPostponedData'](_0x34a807,_0x2da90f){const _0x534c58=this['_splitPostponedData']['get'](_0x34a807)||[];_0x534c58['push'](_0x2da90f),this['_splitPostponedData']['set'](_0x34a807,_0x534c58);}['_traverseOverItem'](_0x3c3135){'element'==_0x3c3135['type']&&_0x3c3135['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x3c3135)):'element'!=_0x3c3135['type']||_0x3c3135['isStart']?'text'==_0x3c3135['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x3c3135['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x20fc9d,_0x5c3b1d,_0x3c4c62){_0x20fc9d['name']!=_0x5c3b1d['name']&&this['_operationsData']['push']({'type':'rename','path':_0x3c4c62['slice'](),'oldName':_0x20fc9d['name'],'newName':_0x5c3b1d['name']});}['_handleElementAttributeChanges'](_0x21c3a0,_0x212efd,_0xfffedb){const _0x11aa93=this['_getAttributeChanges'](_0x21c3a0['getAttributes'](),_0x212efd['getAttributes']());for(const _0x49d26c in _0x11aa93){const {oldValue:_0x14827c,newValue:_0x22d2cd}=_0x11aa93[_0x49d26c];this['_operationsData']['push']({'type':'attribute','path':_0xfffedb['slice'](),'howMany':0x1,'key':_0x49d26c,'oldValue':_0x14827c,'newValue':_0x22d2cd});}}['_handleTextAttributeChanges'](_0x9d2ef3,_0x42a003,_0x4f9dbd){const _0x141108=this['_operationsData'],_0x35e82a=_0x9d2ef3[0x0]['parent'],_0x30db79=_0x9d2ef3[0x0]['offset'],_0x21d540=_0x42a003[0x0]['parent'],_0x603b88=_0x42a003[0x0]['offset'],_0x23ccbe=_0x9d2ef3['reduce']((_0x19d90e,_0x3a3728)=>_0x19d90e+_0x3a3728['data']['length'],0x0),_0x2aafc0=this['_getAttrsForOffsets'](_0x35e82a,_0x30db79,_0x23ccbe),_0x421935=this['_getAttrsForOffsets'](_0x21d540,_0x603b88,_0x23ccbe),_0x15c442={};for(let _0xd866dd=0x0;_0xd866dd<_0x23ccbe;_0xd866dd++){const _0x19c865=_0x2aafc0[_0x30db79+_0xd866dd],_0x5d2170=_0x421935[_0x603b88+_0xd866dd],_0x2bdc40=this['_getAttributeChanges'](_0x19c865,_0x5d2170);for(const _0x1627f3 in _0x15c442)_0x2bdc40[_0x1627f3]||_0x4b2dc7(_0x1627f3);for(const _0x44ba27 in _0x2bdc40){const {oldValue:_0x47ed26,newValue:_0x25db41}=_0x2bdc40[_0x44ba27],_0xb8494b=_0x15c442[_0x44ba27];_0xb8494b?_0xb8494b['oldValue']==_0x47ed26&&_0xb8494b['newValue']==_0x25db41?_0xb8494b['length']++:(_0x4b2dc7(_0x44ba27),_0x15c442[_0x44ba27]={'oldValue':_0x47ed26,'newValue':_0x25db41,'start':_0xd866dd,'length':0x1}):_0x15c442[_0x44ba27]={'oldValue':_0x47ed26,'newValue':_0x25db41,'start':_0xd866dd,'length':0x1};}}for(const _0x462f77 in _0x15c442)_0x4b2dc7(_0x462f77);function _0x4b2dc7(_0x141717){const _0x324500=_0x15c442[_0x141717],_0x4f78ee=_0x4f9dbd['slice']();_0x4f78ee[_0x4f78ee['length']-0x1]+=_0x324500['start'],_0x141108['push']({'type':'attribute','path':_0x4f78ee,'howMany':_0x324500['length'],'key':_0x141717,'oldValue':_0x324500['oldValue'],'newValue':_0x324500['newValue']}),delete _0x15c442[_0x141717];}}['_getAttributeChanges'](_0x53fc86,_0x330aec){const _0x269097={};for(const [_0x12eed8,_0x494ff1]of _0x53fc86)_0x269097[_0x12eed8]={'oldValue':JSON['stringify'](_0x494ff1),'newValue':'null'};for(const [_0x42a8b2,_0x5b5f04]of _0x330aec){const _0x421e28=JSON['stringify'](_0x5b5f04);_0x269097[_0x42a8b2]?_0x269097[_0x42a8b2]['oldValue']==_0x421e28?delete _0x269097[_0x42a8b2]:_0x269097[_0x42a8b2]['newValue']=_0x421e28:_0x269097[_0x42a8b2]={'oldValue':'null','newValue':_0x421e28};}return delete _0x269097[Kd],_0x269097;}['_getAttrsForOffsets'](_0x5c52f4,_0x1aede2,_0x41816a){const _0x369873=new Array(_0x1aede2+_0x41816a);let _0x586ea3=_0x5c52f4['getChildAtOffset'](_0x1aede2),_0x59e3c5=_0x586ea3['startOffset'];for(;_0x586ea3&&_0x59e3c5<_0x1aede2+_0x41816a;){const _0x57672e=Array['from'](_0x586ea3['getAttributes']());_0x369873['fill'](_0x57672e,_0x59e3c5,_0x59e3c5+_0x586ea3['offsetSize']),_0x59e3c5+=_0x586ea3['offsetSize'],_0x586ea3=_0x586ea3['nextSibling'];}return _0x369873;}['_getPositionFromAnchorAndPath'](_0xc5c301,_0x3a6c81){const _0x3880ef=[..._0xc5c301['path']['slice'](0x0,-0x1),_0xc5c301['offset']+_0x3a6c81[0x0],..._0x3a6c81['slice'](0x1)];return new _0x30903b(_0xc5c301['root'],_0x3880ef);}['_makeModelFromTokens'](_0x176ab9){const _0x26de82=[];let _0x3fdb43=null;for(const _0x1356bd of _0x176ab9)if('element'!=_0x1356bd['type']||_0x1356bd['isStart']||_0x3fdb43!=_0x1356bd['element']){if(!_0x3fdb43){if('text'==_0x1356bd['type']){const _0xd7c8ca=_0x30903b['_createAt'](_0x1356bd['parent'],_0x1356bd['offset']),_0x3b02f7=_0x1a83e1['_createFromPositionAndShift'](_0xd7c8ca,_0x1356bd['data']['length']),_0x4ae953=Array['from'](_0x3b02f7['getItems']())['map'](_0x3c9494=>new _0x42edc7(_0x3c9494['data'],_0x3c9494['getAttributes']()));_0x26de82['push'](..._0x4ae953);}else{_0x3fdb43=_0x1356bd['element'];const _0x286124=_0x1356bd['element']['_clone'](!0x0);_0x286124['_removeAttribute'](Kd);for(const _0x2e014 of this['_editor']['model']['createRangeIn'](_0x286124)['getItems']())_0x2e014['is']('element')&&_0x2e014['_removeAttribute'](Kd);_0x26de82['push'](_0x286124);}}}else _0x3fdb43=null;return _0x26de82;}};function sf(_0x4abf24,_0x297b00){return _0x4abf24['type']===_0x297b00['type']&&(_0x4abf24['limitId']===_0x297b00['limitId']&&('text'==_0x4abf24['type']?_0x4abf24['data']==_0x297b00['data']:function(_0x51bb54,_0x54ab0d){if(_0x51bb54['isStart']!=_0x54ab0d['isStart'])return!0x1;if(_0x51bb54['isStart']&&_0x51bb54['elementId']!=_0x54ab0d['elementId'])return!0x1;if(_0x51bb54['category']!=_0x54ab0d['category'])return!0x1;if('block'==_0x51bb54['category'])return!0x0;if('container'==_0x51bb54['category']&&_0x51bb54['elementId']!=_0x54ab0d['elementId'])return!0x1;return _0x51bb54['element']['name']==_0x54ab0d['element']['name'];}(_0x4abf24,_0x297b00)));}function nf(_0x1130bc){return bd({'name':_0x1130bc['name'],...Object['fromEntries'](_0x1130bc['getAttributes']())});}const rf=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'](_0x324ef4=>_0x324ef4['charCodeAt'](0x0))),of=new Uint16Array('Ȁaglq\x09\x15\x18\x1bɭ\x0f\x00\x00\x12p;䀦os;䀧t;䀾t;䀼uot;䀢'['split']('')['map'](_0x30aee6=>_0x30aee6['charCodeAt'](0x0)));var af;const cf=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]]),lf=null!==(af=String['fromCodePoint'])&&void 0x0!==af?af:function(_0x3885d3){let _0x28a444='';return _0x3885d3>0xffff&&(_0x3885d3-=0x10000,_0x28a444+=String['fromCharCode'](_0x3885d3>>>0xa&0x3ff|0xd800),_0x3885d3=0xdc00|0x3ff&_0x3885d3),_0x28a444+=String['fromCharCode'](_0x3885d3),_0x28a444;};var hf;!function(_0x3814e0){_0x3814e0[_0x3814e0['NUM']=0x23]='NUM',_0x3814e0[_0x3814e0['SEMI']=0x3b]='SEMI',_0x3814e0[_0x3814e0['EQUALS']=0x3d]='EQUALS',_0x3814e0[_0x3814e0['ZERO']=0x30]='ZERO',_0x3814e0[_0x3814e0['NINE']=0x39]='NINE',_0x3814e0[_0x3814e0['LOWER_A']=0x61]='LOWER_A',_0x3814e0[_0x3814e0['LOWER_F']=0x66]='LOWER_F',_0x3814e0[_0x3814e0['LOWER_X']=0x78]='LOWER_X',_0x3814e0[_0x3814e0['LOWER_Z']=0x7a]='LOWER_Z',_0x3814e0[_0x3814e0['UPPER_A']=0x41]='UPPER_A',_0x3814e0[_0x3814e0['UPPER_F']=0x46]='UPPER_F',_0x3814e0[_0x3814e0['UPPER_Z']=0x5a]='UPPER_Z';}(hf||(hf={}));var uf,df,ff;function mf(_0x32c8fa){return _0x32c8fa>=hf['ZERO']&&_0x32c8fa<=hf['NINE'];}function pf(_0x2c6ae4){return _0x2c6ae4>=hf['UPPER_A']&&_0x2c6ae4<=hf['UPPER_F']||_0x2c6ae4>=hf['LOWER_A']&&_0x2c6ae4<=hf['LOWER_F'];}function gf(_0x2abb35){return _0x2abb35===hf['EQUALS']||function(_0x16da97){return _0x16da97>=hf['UPPER_A']&&_0x16da97<=hf['UPPER_Z']||_0x16da97>=hf['LOWER_A']&&_0x16da97<=hf['LOWER_Z']||mf(_0x16da97);}(_0x2abb35);}!function(_0xe426cb){_0xe426cb[_0xe426cb['VALUE_LENGTH']=0xc000]='VALUE_LENGTH',_0xe426cb[_0xe426cb['BRANCH_LENGTH']=0x3f80]='BRANCH_LENGTH',_0xe426cb[_0xe426cb['JUMP_TABLE']=0x7f]='JUMP_TABLE';}(uf||(uf={})),function(_0x3d6774){_0x3d6774[_0x3d6774['EntityStart']=0x0]='EntityStart',_0x3d6774[_0x3d6774['NumericStart']=0x1]='NumericStart',_0x3d6774[_0x3d6774['NumericDecimal']=0x2]='NumericDecimal',_0x3d6774[_0x3d6774['NumericHex']=0x3]='NumericHex',_0x3d6774[_0x3d6774['NamedEntity']=0x4]='NamedEntity';}(df||(df={})),function(_0x3b8425){_0x3b8425[_0x3b8425['Legacy']=0x0]='Legacy',_0x3b8425[_0x3b8425['Strict']=0x1]='Strict',_0x3b8425[_0x3b8425['Attribute']=0x2]='Attribute';}(ff||(ff={}));var Of,wf,bf,yf=class{constructor(_0x31d0f0,_0x11f7ea,_0x3a6b2f){this['decodeTree']=_0x31d0f0,this['emitCodePoint']=_0x11f7ea,this['errors']=_0x3a6b2f,this['state']=df['EntityStart'],this['consumed']=0x1,this['result']=0x0,this['treeIndex']=0x0,this['excess']=0x1,this['decodeMode']=ff['Strict'];}['startEntity'](_0x4def36){this['decodeMode']=_0x4def36,this['state']=df['EntityStart'],this['result']=0x0,this['treeIndex']=0x0,this['excess']=0x1,this['consumed']=0x1;}['write'](_0x5b1be0,_0x4e027e){switch(this['state']){case df['EntityStart']:return _0x5b1be0['charCodeAt'](_0x4e027e)===hf['NUM']?(this['state']=df['NumericStart'],this['consumed']+=0x1,this['stateNumericStart'](_0x5b1be0,_0x4e027e+0x1)):(this['state']=df['NamedEntity'],this['stateNamedEntity'](_0x5b1be0,_0x4e027e));case df['NumericStart']:return this['stateNumericStart'](_0x5b1be0,_0x4e027e);case df['NumericDecimal']:return this['stateNumericDecimal'](_0x5b1be0,_0x4e027e);case df['NumericHex']:return this['stateNumericHex'](_0x5b1be0,_0x4e027e);case df['NamedEntity']:return this['stateNamedEntity'](_0x5b1be0,_0x4e027e);}}['stateNumericStart'](_0x4f5f87,_0xb8a780){return _0xb8a780>=_0x4f5f87['length']?-0x1:(0x20|_0x4f5f87['charCodeAt'](_0xb8a780))===hf['LOWER_X']?(this['state']=df['NumericHex'],this['consumed']+=0x1,this['stateNumericHex'](_0x4f5f87,_0xb8a780+0x1)):(this['state']=df['NumericDecimal'],this['stateNumericDecimal'](_0x4f5f87,_0xb8a780));}['addToNumericResult'](_0x30744e,_0x3b0c49,_0x5a5fa5,_0x1165c3){if(_0x3b0c49!==_0x5a5fa5){const _0x132c28=_0x5a5fa5-_0x3b0c49;this['result']=this['result']*Math['pow'](_0x1165c3,_0x132c28)+Number['parseInt'](_0x30744e['substr'](_0x3b0c49,_0x132c28),_0x1165c3),this['consumed']+=_0x132c28;}}['stateNumericHex'](_0x4fc987,_0x48e1a1){const _0x7fe7e5=_0x48e1a1;for(;_0x48e1a1<_0x4fc987['length'];){const _0x19ad03=_0x4fc987['charCodeAt'](_0x48e1a1);if(!mf(_0x19ad03)&&!pf(_0x19ad03))return this['addToNumericResult'](_0x4fc987,_0x7fe7e5,_0x48e1a1,0x10),this['emitNumericEntity'](_0x19ad03,0x3);_0x48e1a1+=0x1;}return this['addToNumericResult'](_0x4fc987,_0x7fe7e5,_0x48e1a1,0x10),-0x1;}['stateNumericDecimal'](_0xec9257,_0x9c1bfb){const _0xb0224b=_0x9c1bfb;for(;_0x9c1bfb<_0xec9257['length'];){const _0x54db5c=_0xec9257['charCodeAt'](_0x9c1bfb);if(!mf(_0x54db5c))return this['addToNumericResult'](_0xec9257,_0xb0224b,_0x9c1bfb,0xa),this['emitNumericEntity'](_0x54db5c,0x2);_0x9c1bfb+=0x1;}return this['addToNumericResult'](_0xec9257,_0xb0224b,_0x9c1bfb,0xa),-0x1;}['emitNumericEntity'](_0x7dd0f1,_0xfd8260){var _0x611bda;if(this['consumed']<=_0xfd8260)return null===(_0x611bda=this['errors'])||void 0x0===_0x611bda||_0x611bda['absenceOfDigitsInNumericCharacterReference'](this['consumed']),0x0;if(_0x7dd0f1===hf['SEMI'])this['consumed']+=0x1;else{if(this['decodeMode']===ff['Strict'])return 0x0;}return this['emitCodePoint'](function(_0x19f3d6){var _0x161294;return _0x19f3d6>=0xd800&&_0x19f3d6<=0xdfff||_0x19f3d6>0x10ffff?0xfffd:null!==(_0x161294=cf['get'](_0x19f3d6))&&void 0x0!==_0x161294?_0x161294:_0x19f3d6;}(this['result']),this['consumed']),this['errors']&&(_0x7dd0f1!==hf['SEMI']&&this['errors']['missingSemicolonAfterCharacterReference'](),this['errors']['validateNumericCharacterReference'](this['result'])),this['consumed'];}['stateNamedEntity'](_0x46cb1f,_0x3d790f){const {decodeTree:_0xa4d921}=this;let _0x23b751=_0xa4d921[this['treeIndex']],_0x3f07c1=(_0x23b751&uf['VALUE_LENGTH'])>>0xe;for(;_0x3d790f<_0x46cb1f['length'];_0x3d790f++,this['excess']++){const _0x9a6688=_0x46cb1f['charCodeAt'](_0x3d790f);if(this['treeIndex']=vf(_0xa4d921,_0x23b751,this['treeIndex']+Math['max'](0x1,_0x3f07c1),_0x9a6688),this['treeIndex']<0x0)return 0x0===this['result']||this['decodeMode']===ff['Attribute']&&(0x0===_0x3f07c1||gf(_0x9a6688))?0x0:this['emitNotTerminatedNamedEntity']();if(_0x23b751=_0xa4d921[this['treeIndex']],_0x3f07c1=(_0x23b751&uf['VALUE_LENGTH'])>>0xe,0x0!==_0x3f07c1){if(_0x9a6688===hf['SEMI'])return this['emitNamedEntityData'](this['treeIndex'],_0x3f07c1,this['consumed']+this['excess']);this['decodeMode']!==ff['Strict']&&(this['result']=this['treeIndex'],this['consumed']+=this['excess'],this['excess']=0x0);}}return-0x1;}['emitNotTerminatedNamedEntity'](){var _0x211c0d;const {result:_0x5ac65a,decodeTree:_0x2d28ae}=this,_0x52f4c3=(_0x2d28ae[_0x5ac65a]&uf['VALUE_LENGTH'])>>0xe;return this['emitNamedEntityData'](_0x5ac65a,_0x52f4c3,this['consumed']),null===(_0x211c0d=this['errors'])||void 0x0===_0x211c0d||_0x211c0d['missingSemicolonAfterCharacterReference'](),this['consumed'];}['emitNamedEntityData'](_0x407592,_0x80f167,_0x20b395){const {decodeTree:_0x46f39b}=this;return this['emitCodePoint'](0x1===_0x80f167?_0x46f39b[_0x407592]&~uf['VALUE_LENGTH']:_0x46f39b[_0x407592+0x1],_0x20b395),0x3===_0x80f167&&this['emitCodePoint'](_0x46f39b[_0x407592+0x2],_0x20b395),_0x20b395;}['end'](){var _0x2632e6;switch(this['state']){case df['NamedEntity']:return 0x0===this['result']||this['decodeMode']===ff['Attribute']&&this['result']!==this['treeIndex']?0x0:this['emitNotTerminatedNamedEntity']();case df['NumericDecimal']:return this['emitNumericEntity'](0x0,0x2);case df['NumericHex']:return this['emitNumericEntity'](0x0,0x3);case df['NumericStart']:return null===(_0x2632e6=this['errors'])||void 0x0===_0x2632e6||_0x2632e6['absenceOfDigitsInNumericCharacterReference'](this['consumed']),0x0;case df['EntityStart']:return 0x0;}}};function vf(_0x1bb0ad,_0x1daf57,_0x6aa4a3,_0x1d4c70){const _0x1ce005=(_0x1daf57&uf['BRANCH_LENGTH'])>>0x7,_0x339cbd=_0x1daf57&uf['JUMP_TABLE'];if(0x0===_0x1ce005)return 0x0!==_0x339cbd&&_0x1d4c70===_0x339cbd?_0x6aa4a3:-0x1;if(_0x339cbd){const _0x1c0210=_0x1d4c70-_0x339cbd;return _0x1c0210<0x0||_0x1c0210>=_0x1ce005?-0x1:_0x1bb0ad[_0x6aa4a3+_0x1c0210]-0x1;}let _0x2b0fbc=_0x6aa4a3,_0x2a74f4=_0x2b0fbc+_0x1ce005-0x1;for(;_0x2b0fbc<=_0x2a74f4;){const _0x1394fd=_0x2b0fbc+_0x2a74f4>>>0x1,_0x4b7f3c=_0x1bb0ad[_0x1394fd];if(_0x4b7f3c<_0x1d4c70)_0x2b0fbc=_0x1394fd+0x1;else{if(!(_0x4b7f3c>_0x1d4c70))return _0x1bb0ad[_0x1394fd+_0x1ce005];_0x2a74f4=_0x1394fd-0x1;}}return-0x1;}function _f(_0xe9f028){return _0xe9f028===Of['Space']||_0xe9f028===Of['NewLine']||_0xe9f028===Of['Tab']||_0xe9f028===Of['FormFeed']||_0xe9f028===Of['CarriageReturn'];}function Ef(_0x3de3a4){return _0x3de3a4===Of['Slash']||_0x3de3a4===Of['Gt']||_f(_0x3de3a4);}!function(_0xcce23e){_0xcce23e[_0xcce23e['Tab']=0x9]='Tab',_0xcce23e[_0xcce23e['NewLine']=0xa]='NewLine',_0xcce23e[_0xcce23e['FormFeed']=0xc]='FormFeed',_0xcce23e[_0xcce23e['CarriageReturn']=0xd]='CarriageReturn',_0xcce23e[_0xcce23e['Space']=0x20]='Space',_0xcce23e[_0xcce23e['ExclamationMark']=0x21]='ExclamationMark',_0xcce23e[_0xcce23e['Number']=0x23]='Number',_0xcce23e[_0xcce23e['Amp']=0x26]='Amp',_0xcce23e[_0xcce23e['SingleQuote']=0x27]='SingleQuote',_0xcce23e[_0xcce23e['DoubleQuote']=0x22]='DoubleQuote',_0xcce23e[_0xcce23e['Dash']=0x2d]='Dash',_0xcce23e[_0xcce23e['Slash']=0x2f]='Slash',_0xcce23e[_0xcce23e['Zero']=0x30]='Zero',_0xcce23e[_0xcce23e['Nine']=0x39]='Nine',_0xcce23e[_0xcce23e['Semi']=0x3b]='Semi',_0xcce23e[_0xcce23e['Lt']=0x3c]='Lt',_0xcce23e[_0xcce23e['Eq']=0x3d]='Eq',_0xcce23e[_0xcce23e['Gt']=0x3e]='Gt',_0xcce23e[_0xcce23e['Questionmark']=0x3f]='Questionmark',_0xcce23e[_0xcce23e['UpperA']=0x41]='UpperA',_0xcce23e[_0xcce23e['LowerA']=0x61]='LowerA',_0xcce23e[_0xcce23e['UpperF']=0x46]='UpperF',_0xcce23e[_0xcce23e['LowerF']=0x66]='LowerF',_0xcce23e[_0xcce23e['UpperZ']=0x5a]='UpperZ',_0xcce23e[_0xcce23e['LowerZ']=0x7a]='LowerZ',_0xcce23e[_0xcce23e['LowerX']=0x78]='LowerX',_0xcce23e[_0xcce23e['OpeningSquareBracket']=0x5b]='OpeningSquareBracket';}(Of||(Of={})),function(_0x3724ee){_0x3724ee[_0x3724ee['Text']=0x1]='Text',_0x3724ee[_0x3724ee['BeforeTagName']=0x2]='BeforeTagName',_0x3724ee[_0x3724ee['InTagName']=0x3]='InTagName',_0x3724ee[_0x3724ee['InSelfClosingTag']=0x4]='InSelfClosingTag',_0x3724ee[_0x3724ee['BeforeClosingTagName']=0x5]='BeforeClosingTagName',_0x3724ee[_0x3724ee['InClosingTagName']=0x6]='InClosingTagName',_0x3724ee[_0x3724ee['AfterClosingTagName']=0x7]='AfterClosingTagName',_0x3724ee[_0x3724ee['BeforeAttributeName']=0x8]='BeforeAttributeName',_0x3724ee[_0x3724ee['InAttributeName']=0x9]='InAttributeName',_0x3724ee[_0x3724ee['AfterAttributeName']=0xa]='AfterAttributeName',_0x3724ee[_0x3724ee['BeforeAttributeValue']=0xb]='BeforeAttributeValue',_0x3724ee[_0x3724ee['InAttributeValueDq']=0xc]='InAttributeValueDq',_0x3724ee[_0x3724ee['InAttributeValueSq']=0xd]='InAttributeValueSq',_0x3724ee[_0x3724ee['InAttributeValueNq']=0xe]='InAttributeValueNq',_0x3724ee[_0x3724ee['BeforeDeclaration']=0xf]='BeforeDeclaration',_0x3724ee[_0x3724ee['InDeclaration']=0x10]='InDeclaration',_0x3724ee[_0x3724ee['InProcessingInstruction']=0x11]='InProcessingInstruction',_0x3724ee[_0x3724ee['BeforeComment']=0x12]='BeforeComment',_0x3724ee[_0x3724ee['CDATASequence']=0x13]='CDATASequence',_0x3724ee[_0x3724ee['InSpecialComment']=0x14]='InSpecialComment',_0x3724ee[_0x3724ee['InCommentLike']=0x15]='InCommentLike',_0x3724ee[_0x3724ee['BeforeSpecialS']=0x16]='BeforeSpecialS',_0x3724ee[_0x3724ee['BeforeSpecialT']=0x17]='BeforeSpecialT',_0x3724ee[_0x3724ee['SpecialStartSequence']=0x18]='SpecialStartSequence',_0x3724ee[_0x3724ee['InSpecialTag']=0x19]='InSpecialTag',_0x3724ee[_0x3724ee['InEntity']=0x1a]='InEntity';}(wf||(wf={})),function(_0xa7c75d){_0xa7c75d[_0xa7c75d['NoValue']=0x0]='NoValue',_0xa7c75d[_0xa7c75d['Unquoted']=0x1]='Unquoted',_0xa7c75d[_0xa7c75d['Single']=0x2]='Single',_0xa7c75d[_0xa7c75d['Double']=0x3]='Double';}(bf||(bf={}));const Tf={'Cdata':new Uint8Array([0x43,0x44,0x41,0x54,0x41,0x5b]),'CdataEnd':new Uint8Array([0x5d,0x5d,0x3e]),'CommentEnd':new Uint8Array([0x2d,0x2d,0x3e]),'ScriptEnd':new Uint8Array([0x3c,0x2f,0x73,0x63,0x72,0x69,0x70,0x74]),'StyleEnd':new Uint8Array([0x3c,0x2f,0x73,0x74,0x79,0x6c,0x65]),'TitleEnd':new Uint8Array([0x3c,0x2f,0x74,0x69,0x74,0x6c,0x65]),'TextareaEnd':new Uint8Array([0x3c,0x2f,0x74,0x65,0x78,0x74,0x61,0x72,0x65,0x61]),'XmpEnd':new Uint8Array([0x3c,0x2f,0x78,0x6d,0x70])};var Af=class{constructor({xmlMode:_0x523ad6=!0x1,decodeEntities:_0x10e2f9=!0x0},_0x49826c){this['cbs']=_0x49826c,this['state']=wf['Text'],this['buffer']='',this['sectionStart']=0x0,this['index']=0x0,this['entityStart']=0x0,this['baseState']=wf['Text'],this['isSpecial']=!0x1,this['running']=!0x0,this['offset']=0x0,this['currentSequence']=void 0x0,this['sequenceIndex']=0x0,this['xmlMode']=_0x523ad6,this['decodeEntities']=_0x10e2f9,this['entityDecoder']=new yf(_0x523ad6?of:rf,(_0x575bd2,_0x51058f)=>this['emitCodePoint'](_0x575bd2,_0x51058f));}['reset'](){this['state']=wf['Text'],this['buffer']='',this['sectionStart']=0x0,this['index']=0x0,this['baseState']=wf['Text'],this['currentSequence']=void 0x0,this['running']=!0x0,this['offset']=0x0;}['write'](_0x36614e){this['offset']+=this['buffer']['length'],this['buffer']=_0x36614e,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'](_0x319bcb){_0x319bcb===Of['Lt']||!this['decodeEntities']&&this['fastForwardTo'](Of['Lt'])?(this['index']>this['sectionStart']&&this['cbs']['ontext'](this['sectionStart'],this['index']),this['state']=wf['BeforeTagName'],this['sectionStart']=this['index']):this['decodeEntities']&&_0x319bcb===Of['Amp']&&this['startEntity']();}['stateSpecialStartSequence'](_0x5206c2){const _0x5c76b6=this['sequenceIndex']===this['currentSequence']['length'];if(_0x5c76b6?Ef(_0x5206c2):(0x20|_0x5206c2)===this['currentSequence'][this['sequenceIndex']]){if(!_0x5c76b6)return void this['sequenceIndex']++;}else this['isSpecial']=!0x1;this['sequenceIndex']=0x0,this['state']=wf['InTagName'],this['stateInTagName'](_0x5206c2);}['stateInSpecialTag'](_0x337640){if(this['sequenceIndex']===this['currentSequence']['length']){if(_0x337640===Of['Gt']||_f(_0x337640)){const _0x2eae8a=this['index']-this['currentSequence']['length'];if(this['sectionStart']<_0x2eae8a){const _0x1ec323=this['index'];this['index']=_0x2eae8a,this['cbs']['ontext'](this['sectionStart'],_0x2eae8a),this['index']=_0x1ec323;}return this['isSpecial']=!0x1,this['sectionStart']=_0x2eae8a+0x2,void this['stateInClosingTagName'](_0x337640);}this['sequenceIndex']=0x0;}(0x20|_0x337640)===this['currentSequence'][this['sequenceIndex']]?this['sequenceIndex']+=0x1:0x0===this['sequenceIndex']?this['currentSequence']===Tf['TitleEnd']?this['decodeEntities']&&_0x337640===Of['Amp']&&this['startEntity']():this['fastForwardTo'](Of['Lt'])&&(this['sequenceIndex']=0x1):this['sequenceIndex']=Number(_0x337640===Of['Lt']);}['stateCDATASequence'](_0x19cf4b){_0x19cf4b===Tf['Cdata'][this['sequenceIndex']]?++this['sequenceIndex']===Tf['Cdata']['length']&&(this['state']=wf['InCommentLike'],this['currentSequence']=Tf['CdataEnd'],this['sequenceIndex']=0x0,this['sectionStart']=this['index']+0x1):(this['sequenceIndex']=0x0,this['state']=wf['InDeclaration'],this['stateInDeclaration'](_0x19cf4b));}['fastForwardTo'](_0x178426){for(;++this['index']<this['buffer']['length']+this['offset'];)if(this['buffer']['charCodeAt'](this['index']-this['offset'])===_0x178426)return!0x0;return this['index']=this['buffer']['length']+this['offset']-0x1,!0x1;}['stateInCommentLike'](_0x409914){_0x409914===this['currentSequence'][this['sequenceIndex']]?++this['sequenceIndex']===this['currentSequence']['length']&&(this['currentSequence']===Tf['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']=wf['Text']):0x0===this['sequenceIndex']?this['fastForwardTo'](this['currentSequence'][0x0])&&(this['sequenceIndex']=0x1):_0x409914!==this['currentSequence'][this['sequenceIndex']-0x1]&&(this['sequenceIndex']=0x0);}['isTagStartChar'](_0x26b46b){return this['xmlMode']?!Ef(_0x26b46b):function(_0xd14f14){return _0xd14f14>=Of['LowerA']&&_0xd14f14<=Of['LowerZ']||_0xd14f14>=Of['UpperA']&&_0xd14f14<=Of['UpperZ'];}(_0x26b46b);}['startSpecial'](_0x3fbe89,_0x2602e8){this['isSpecial']=!0x0,this['currentSequence']=_0x3fbe89,this['sequenceIndex']=_0x2602e8,this['state']=wf['SpecialStartSequence'];}['stateBeforeTagName'](_0x1e98b1){if(_0x1e98b1===Of['ExclamationMark'])this['state']=wf['BeforeDeclaration'],this['sectionStart']=this['index']+0x1;else{if(_0x1e98b1===Of['Questionmark'])this['state']=wf['InProcessingInstruction'],this['sectionStart']=this['index']+0x1;else{if(this['isTagStartChar'](_0x1e98b1)){const _0x334050=0x20|_0x1e98b1;this['sectionStart']=this['index'],this['xmlMode']?this['state']=wf['InTagName']:_0x334050===Tf['ScriptEnd'][0x2]?this['state']=wf['BeforeSpecialS']:_0x334050===Tf['TitleEnd'][0x2]||_0x334050===Tf['XmpEnd'][0x2]?this['state']=wf['BeforeSpecialT']:this['state']=wf['InTagName'];}else _0x1e98b1===Of['Slash']?this['state']=wf['BeforeClosingTagName']:(this['state']=wf['Text'],this['stateText'](_0x1e98b1));}}}['stateInTagName'](_0x57f7ba){Ef(_0x57f7ba)&&(this['cbs']['onopentagname'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['state']=wf['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x57f7ba));}['stateBeforeClosingTagName'](_0x122817){_f(_0x122817)||(_0x122817===Of['Gt']?this['state']=wf['Text']:(this['state']=this['isTagStartChar'](_0x122817)?wf['InClosingTagName']:wf['InSpecialComment'],this['sectionStart']=this['index']));}['stateInClosingTagName'](_0x4e4a53){(_0x4e4a53===Of['Gt']||_f(_0x4e4a53))&&(this['cbs']['onclosetag'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['state']=wf['AfterClosingTagName'],this['stateAfterClosingTagName'](_0x4e4a53));}['stateAfterClosingTagName'](_0x5ad8cb){(_0x5ad8cb===Of['Gt']||this['fastForwardTo'](Of['Gt']))&&(this['state']=wf['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeAttributeName'](_0x19bae1){_0x19bae1===Of['Gt']?(this['cbs']['onopentagend'](this['index']),this['isSpecial']?(this['state']=wf['InSpecialTag'],this['sequenceIndex']=0x0):this['state']=wf['Text'],this['sectionStart']=this['index']+0x1):_0x19bae1===Of['Slash']?this['state']=wf['InSelfClosingTag']:_f(_0x19bae1)||(this['state']=wf['InAttributeName'],this['sectionStart']=this['index']);}['stateInSelfClosingTag'](_0x265565){_0x265565===Of['Gt']?(this['cbs']['onselfclosingtag'](this['index']),this['state']=wf['Text'],this['sectionStart']=this['index']+0x1,this['isSpecial']=!0x1):_f(_0x265565)||(this['state']=wf['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x265565));}['stateInAttributeName'](_0x71879d){(_0x71879d===Of['Eq']||Ef(_0x71879d))&&(this['cbs']['onattribname'](this['sectionStart'],this['index']),this['sectionStart']=this['index'],this['state']=wf['AfterAttributeName'],this['stateAfterAttributeName'](_0x71879d));}['stateAfterAttributeName'](_0x6a9986){_0x6a9986===Of['Eq']?this['state']=wf['BeforeAttributeValue']:_0x6a9986===Of['Slash']||_0x6a9986===Of['Gt']?(this['cbs']['onattribend'](bf['NoValue'],this['sectionStart']),this['sectionStart']=-0x1,this['state']=wf['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x6a9986)):_f(_0x6a9986)||(this['cbs']['onattribend'](bf['NoValue'],this['sectionStart']),this['state']=wf['InAttributeName'],this['sectionStart']=this['index']);}['stateBeforeAttributeValue'](_0x29aebc){_0x29aebc===Of['DoubleQuote']?(this['state']=wf['InAttributeValueDq'],this['sectionStart']=this['index']+0x1):_0x29aebc===Of['SingleQuote']?(this['state']=wf['InAttributeValueSq'],this['sectionStart']=this['index']+0x1):_f(_0x29aebc)||(this['sectionStart']=this['index'],this['state']=wf['InAttributeValueNq'],this['stateInAttributeValueNoQuotes'](_0x29aebc));}['handleInAttributeValue'](_0x9c5a31,_0x1872e9){_0x9c5a31===_0x1872e9||!this['decodeEntities']&&this['fastForwardTo'](_0x1872e9)?(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['cbs']['onattribend'](_0x1872e9===Of['DoubleQuote']?bf['Double']:bf['Single'],this['index']+0x1),this['state']=wf['BeforeAttributeName']):this['decodeEntities']&&_0x9c5a31===Of['Amp']&&this['startEntity']();}['stateInAttributeValueDoubleQuotes'](_0x3c08c5){this['handleInAttributeValue'](_0x3c08c5,Of['DoubleQuote']);}['stateInAttributeValueSingleQuotes'](_0x538204){this['handleInAttributeValue'](_0x538204,Of['SingleQuote']);}['stateInAttributeValueNoQuotes'](_0x34e829){_f(_0x34e829)||_0x34e829===Of['Gt']?(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['cbs']['onattribend'](bf['Unquoted'],this['index']),this['state']=wf['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x34e829)):this['decodeEntities']&&_0x34e829===Of['Amp']&&this['startEntity']();}['stateBeforeDeclaration'](_0x30b24f){_0x30b24f===Of['OpeningSquareBracket']?(this['state']=wf['CDATASequence'],this['sequenceIndex']=0x0):this['state']=_0x30b24f===Of['Dash']?wf['BeforeComment']:wf['InDeclaration'];}['stateInDeclaration'](_0x1d7d93){(_0x1d7d93===Of['Gt']||this['fastForwardTo'](Of['Gt']))&&(this['cbs']['ondeclaration'](this['sectionStart'],this['index']),this['state']=wf['Text'],this['sectionStart']=this['index']+0x1);}['stateInProcessingInstruction'](_0x5ce54e){(_0x5ce54e===Of['Gt']||this['fastForwardTo'](Of['Gt']))&&(this['cbs']['onprocessinginstruction'](this['sectionStart'],this['index']),this['state']=wf['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeComment'](_0x1b59f2){_0x1b59f2===Of['Dash']?(this['state']=wf['InCommentLike'],this['currentSequence']=Tf['CommentEnd'],this['sequenceIndex']=0x2,this['sectionStart']=this['index']+0x1):this['state']=wf['InDeclaration'];}['stateInSpecialComment'](_0x111b4e){(_0x111b4e===Of['Gt']||this['fastForwardTo'](Of['Gt']))&&(this['cbs']['oncomment'](this['sectionStart'],this['index'],0x0),this['state']=wf['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeSpecialS'](_0x5978ec){const _0x13bc9b=0x20|_0x5978ec;_0x13bc9b===Tf['ScriptEnd'][0x3]?this['startSpecial'](Tf['ScriptEnd'],0x4):_0x13bc9b===Tf['StyleEnd'][0x3]?this['startSpecial'](Tf['StyleEnd'],0x4):(this['state']=wf['InTagName'],this['stateInTagName'](_0x5978ec));}['stateBeforeSpecialT'](_0x4ccdc2){switch(0x20|_0x4ccdc2){case Tf['TitleEnd'][0x3]:this['startSpecial'](Tf['TitleEnd'],0x4);break;case Tf['TextareaEnd'][0x3]:this['startSpecial'](Tf['TextareaEnd'],0x4);break;case Tf['XmpEnd'][0x3]:this['startSpecial'](Tf['XmpEnd'],0x4);break;default:this['state']=wf['InTagName'],this['stateInTagName'](_0x4ccdc2);}}['startEntity'](){this['baseState']=this['state'],this['state']=wf['InEntity'],this['entityStart']=this['index'],this['entityDecoder']['startEntity'](this['xmlMode']?ff['Strict']:this['baseState']===wf['Text']||this['baseState']===wf['InSpecialTag']?ff['Legacy']:ff['Attribute']);}['stateInEntity'](){const _0x538de6=this['entityDecoder']['write'](this['buffer'],this['index']-this['offset']);_0x538de6>=0x0?(this['state']=this['baseState'],0x0===_0x538de6&&(this['index']=this['entityStart'])):this['index']=this['offset']+this['buffer']['length']-0x1;}['cleanup'](){this['running']&&this['sectionStart']!==this['index']&&(this['state']===wf['Text']||this['state']===wf['InSpecialTag']&&0x0===this['sequenceIndex']?(this['cbs']['ontext'](this['sectionStart'],this['index']),this['sectionStart']=this['index']):this['state']!==wf['InAttributeValueDq']&&this['state']!==wf['InAttributeValueSq']&&this['state']!==wf['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 _0x55ab13=this['buffer']['charCodeAt'](this['index']-this['offset']);switch(this['state']){case wf['Text']:this['stateText'](_0x55ab13);break;case wf['SpecialStartSequence']:this['stateSpecialStartSequence'](_0x55ab13);break;case wf['InSpecialTag']:this['stateInSpecialTag'](_0x55ab13);break;case wf['CDATASequence']:this['stateCDATASequence'](_0x55ab13);break;case wf['InAttributeValueDq']:this['stateInAttributeValueDoubleQuotes'](_0x55ab13);break;case wf['InAttributeName']:this['stateInAttributeName'](_0x55ab13);break;case wf['InCommentLike']:this['stateInCommentLike'](_0x55ab13);break;case wf['InSpecialComment']:this['stateInSpecialComment'](_0x55ab13);break;case wf['BeforeAttributeName']:this['stateBeforeAttributeName'](_0x55ab13);break;case wf['InTagName']:this['stateInTagName'](_0x55ab13);break;case wf['InClosingTagName']:this['stateInClosingTagName'](_0x55ab13);break;case wf['BeforeTagName']:this['stateBeforeTagName'](_0x55ab13);break;case wf['AfterAttributeName']:this['stateAfterAttributeName'](_0x55ab13);break;case wf['InAttributeValueSq']:this['stateInAttributeValueSingleQuotes'](_0x55ab13);break;case wf['BeforeAttributeValue']:this['stateBeforeAttributeValue'](_0x55ab13);break;case wf['BeforeClosingTagName']:this['stateBeforeClosingTagName'](_0x55ab13);break;case wf['AfterClosingTagName']:this['stateAfterClosingTagName'](_0x55ab13);break;case wf['BeforeSpecialS']:this['stateBeforeSpecialS'](_0x55ab13);break;case wf['BeforeSpecialT']:this['stateBeforeSpecialT'](_0x55ab13);break;case wf['InAttributeValueNq']:this['stateInAttributeValueNoQuotes'](_0x55ab13);break;case wf['InSelfClosingTag']:this['stateInSelfClosingTag'](_0x55ab13);break;case wf['InDeclaration']:this['stateInDeclaration'](_0x55ab13);break;case wf['BeforeDeclaration']:this['stateBeforeDeclaration'](_0x55ab13);break;case wf['BeforeComment']:this['stateBeforeComment'](_0x55ab13);break;case wf['InProcessingInstruction']:this['stateInProcessingInstruction'](_0x55ab13);break;case wf['InEntity']:this['stateInEntity']();}this['index']++;}this['cleanup']();}['finish'](){this['state']===wf['InEntity']&&(this['entityDecoder']['end'](),this['state']=this['baseState']),this['handleTrailingData'](),this['cbs']['onend']();}['handleTrailingData'](){const _0x366c73=this['buffer']['length']+this['offset'];this['sectionStart']>=_0x366c73||(this['state']===wf['InCommentLike']?this['currentSequence']===Tf['CdataEnd']?this['cbs']['oncdata'](this['sectionStart'],_0x366c73,0x0):this['cbs']['oncomment'](this['sectionStart'],_0x366c73,0x0):this['state']===wf['InTagName']||this['state']===wf['BeforeAttributeName']||this['state']===wf['BeforeAttributeValue']||this['state']===wf['AfterAttributeName']||this['state']===wf['InAttributeName']||this['state']===wf['InAttributeValueSq']||this['state']===wf['InAttributeValueDq']||this['state']===wf['InAttributeValueNq']||this['state']===wf['InClosingTagName']||this['cbs']['ontext'](this['sectionStart'],_0x366c73));}['emitCodePoint'](_0x1e7b71,_0x435f82){this['baseState']!==wf['Text']&&this['baseState']!==wf['InSpecialTag']?(this['sectionStart']<this['entityStart']&&this['cbs']['onattribdata'](this['sectionStart'],this['entityStart']),this['sectionStart']=this['entityStart']+_0x435f82,this['index']=this['sectionStart']-0x1,this['cbs']['onattribentity'](_0x1e7b71)):(this['sectionStart']<this['entityStart']&&this['cbs']['ontext'](this['sectionStart'],this['entityStart']),this['sectionStart']=this['entityStart']+_0x435f82,this['index']=this['sectionStart']-0x1,this['cbs']['ontextentity'](_0x1e7b71,this['sectionStart']));}};const Sf=new Set(['input','option','optgroup','select','button','datalist','textarea']),If=new Set(['p']),kf=new Set(['thead','tbody']),xf=new Set(['dd','dt']),Cf=new Set(['rt','rp']),Rf=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',If],['h1',If],['h2',If],['h3',If],['h4',If],['h5',If],['h6',If],['select',Sf],['input',Sf],['output',Sf],['button',Sf],['datalist',Sf],['textarea',Sf],['option',new Set(['option'])],['optgroup',new Set(['optgroup','option'])],['dd',xf],['dt',xf],['address',If],['article',If],['aside',If],['blockquote',If],['details',If],['div',If],['dl',If],['fieldset',If],['figcaption',If],['figure',If],['footer',If],['form',If],['header',If],['hr',If],['main',If],['nav',If],['ol',If],['pre',If],['section',If],['table',If],['ul',If],['rt',Cf],['rp',Cf],['tbody',kf],['tfoot',kf]]),Pf=new Set(['area','base','basefont','br','col','command','embed','frame','hr','img','input','isindex','keygen','link','meta','param','source','track','wbr']),Mf=new Set(['math','svg']),Nf=new Set(['mi','mo','mn','ms','mtext','annotation-xml','foreignobject','desc','title']),Lf=/\s|\//;var $f,Df=class{constructor(_0x10e1c7,_0x4efa4c={}){var _0x30a1f5,_0x5c5700,_0x3101d0,_0x543331,_0x55def0,_0x5e73d0;this['options']=_0x4efa4c,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!=_0x10e1c7?_0x10e1c7:{},this['htmlMode']=!this['options']['xmlMode'],this['lowerCaseTagNames']=null!==(_0x30a1f5=_0x4efa4c['lowerCaseTags'])&&void 0x0!==_0x30a1f5?_0x30a1f5:this['htmlMode'],this['lowerCaseAttributeNames']=null!==(_0x5c5700=_0x4efa4c['lowerCaseAttributeNames'])&&void 0x0!==_0x5c5700?_0x5c5700:this['htmlMode'],this['recognizeSelfClosing']=null!==(_0x3101d0=_0x4efa4c['recognizeSelfClosing'])&&void 0x0!==_0x3101d0?_0x3101d0:!this['htmlMode'],this['tokenizer']=new(null!==(_0x543331=_0x4efa4c['Tokenizer'])&&void 0x0!==_0x543331?_0x543331:Af)(this['options'],this),this['foreignContext']=[!this['htmlMode']],null===(_0x5e73d0=(_0x55def0=this['cbs'])['onparserinit'])||void 0x0===_0x5e73d0||_0x5e73d0['call'](_0x55def0,this);}['ontext'](_0xb1528,_0x5567f7){var _0x397dea,_0x45a09b;const _0x29c71c=this['getSlice'](_0xb1528,_0x5567f7);this['endIndex']=_0x5567f7-0x1,null===(_0x45a09b=(_0x397dea=this['cbs'])['ontext'])||void 0x0===_0x45a09b||_0x45a09b['call'](_0x397dea,_0x29c71c),this['startIndex']=_0x5567f7;}['ontextentity'](_0x9035cf,_0x3b52e5){var _0x470d8a,_0x200643;this['endIndex']=_0x3b52e5-0x1,null===(_0x200643=(_0x470d8a=this['cbs'])['ontext'])||void 0x0===_0x200643||_0x200643['call'](_0x470d8a,lf(_0x9035cf)),this['startIndex']=_0x3b52e5;}['isVoidElement'](_0x38224e){return this['htmlMode']&&Pf['has'](_0x38224e);}['onopentagname'](_0x4e7d9d,_0x1d0264){this['endIndex']=_0x1d0264;let _0x4b1146=this['getSlice'](_0x4e7d9d,_0x1d0264);this['lowerCaseTagNames']&&(_0x4b1146=_0x4b1146['toLowerCase']()),this['emitOpenTag'](_0x4b1146);}['emitOpenTag'](_0x21337b){var _0x2ddbd6,_0x2a850d,_0xedd7b4,_0x36f6df;this['openTagStart']=this['startIndex'],this['tagname']=_0x21337b;const _0x423dca=this['htmlMode']&&Rf['get'](_0x21337b);if(_0x423dca)for(;this['stack']['length']>0x0&&_0x423dca['has'](this['stack'][0x0]);){const _0x535c2d=this['stack']['shift']();null===(_0x2a850d=(_0x2ddbd6=this['cbs'])['onclosetag'])||void 0x0===_0x2a850d||_0x2a850d['call'](_0x2ddbd6,_0x535c2d,!0x0);}this['isVoidElement'](_0x21337b)||(this['stack']['unshift'](_0x21337b),this['htmlMode']&&(Mf['has'](_0x21337b)?this['foreignContext']['unshift'](!0x0):Nf['has'](_0x21337b)&&this['foreignContext']['unshift'](!0x1))),null===(_0x36f6df=(_0xedd7b4=this['cbs'])['onopentagname'])||void 0x0===_0x36f6df||_0x36f6df['call'](_0xedd7b4,_0x21337b),this['cbs']['onopentag']&&(this['attribs']={});}['endOpenTag'](_0x2bb3d5){var _0x2eb34a,_0x391e22;this['startIndex']=this['openTagStart'],this['attribs']&&(null===(_0x391e22=(_0x2eb34a=this['cbs'])['onopentag'])||void 0x0===_0x391e22||_0x391e22['call'](_0x2eb34a,this['tagname'],this['attribs'],_0x2bb3d5),this['attribs']=null),this['cbs']['onclosetag']&&this['isVoidElement'](this['tagname'])&&this['cbs']['onclosetag'](this['tagname'],!0x0),this['tagname']='';}['onopentagend'](_0x55879a){this['endIndex']=_0x55879a,this['endOpenTag'](!0x1),this['startIndex']=_0x55879a+0x1;}['onclosetag'](_0x5b7364,_0x3e3d00){var _0x2e9208,_0x3e1601,_0x20d903,_0x3eba10,_0x448d0a,_0x4072b0,_0x44378f,_0x3b1428;this['endIndex']=_0x3e3d00;let _0x4240f1=this['getSlice'](_0x5b7364,_0x3e3d00);if(this['lowerCaseTagNames']&&(_0x4240f1=_0x4240f1['toLowerCase']()),this['htmlMode']&&(Mf['has'](_0x4240f1)||Nf['has'](_0x4240f1))&&this['foreignContext']['shift'](),this['isVoidElement'](_0x4240f1))this['htmlMode']&&'br'===_0x4240f1&&(null===(_0x3eba10=(_0x20d903=this['cbs'])['onopentagname'])||void 0x0===_0x3eba10||_0x3eba10['call'](_0x20d903,'br'),null===(_0x4072b0=(_0x448d0a=this['cbs'])['onopentag'])||void 0x0===_0x4072b0||_0x4072b0['call'](_0x448d0a,'br',{},!0x0),null===(_0x3b1428=(_0x44378f=this['cbs'])['onclosetag'])||void 0x0===_0x3b1428||_0x3b1428['call'](_0x44378f,'br',!0x1));else{const _0x329665=this['stack']['indexOf'](_0x4240f1);if(-0x1!==_0x329665)for(let _0x3cab1f=0x0;_0x3cab1f<=_0x329665;_0x3cab1f++){const _0x2899e9=this['stack']['shift']();null===(_0x3e1601=(_0x2e9208=this['cbs'])['onclosetag'])||void 0x0===_0x3e1601||_0x3e1601['call'](_0x2e9208,_0x2899e9,_0x3cab1f!==_0x329665);}else this['htmlMode']&&'p'===_0x4240f1&&(this['emitOpenTag']('p'),this['closeCurrentTag'](!0x0));}this['startIndex']=_0x3e3d00+0x1;}['onselfclosingtag'](_0x5acd78){this['endIndex']=_0x5acd78,this['recognizeSelfClosing']||this['foreignContext'][0x0]?(this['closeCurrentTag'](!0x1),this['startIndex']=_0x5acd78+0x1):this['onopentagend'](_0x5acd78);}['closeCurrentTag'](_0x11754b){var _0x27bb37,_0x1067f1;const _0x4b22ea=this['tagname'];this['endOpenTag'](_0x11754b),this['stack'][0x0]===_0x4b22ea&&(null===(_0x1067f1=(_0x27bb37=this['cbs'])['onclosetag'])||void 0x0===_0x1067f1||_0x1067f1['call'](_0x27bb37,_0x4b22ea,!_0x11754b),this['stack']['shift']());}['onattribname'](_0x359104,_0x3b7dec){this['startIndex']=_0x359104;const _0x5e0cb8=this['getSlice'](_0x359104,_0x3b7dec);this['attribname']=this['lowerCaseAttributeNames']?_0x5e0cb8['toLowerCase']():_0x5e0cb8;}['onattribdata'](_0x40718f,_0x5f3d28){this['attribvalue']+=this['getSlice'](_0x40718f,_0x5f3d28);}['onattribentity'](_0x23ac2d){this['attribvalue']+=lf(_0x23ac2d);}['onattribend'](_0x3745ad,_0x5e19b0){var _0x51a37c,_0x51c524;this['endIndex']=_0x5e19b0,null===(_0x51c524=(_0x51a37c=this['cbs'])['onattribute'])||void 0x0===_0x51c524||_0x51c524['call'](_0x51a37c,this['attribname'],this['attribvalue'],_0x3745ad===bf['Double']?'\x22':_0x3745ad===bf['Single']?'\x27':_0x3745ad===bf['NoValue']?void 0x0:null),this['attribs']&&!Object['prototype']['hasOwnProperty']['call'](this['attribs'],this['attribname'])&&(this['attribs'][this['attribname']]=this['attribvalue']),this['attribvalue']='';}['getInstructionName'](_0xd9ee0d){const _0x34b6bc=_0xd9ee0d['search'](Lf);let _0x196c18=_0x34b6bc<0x0?_0xd9ee0d:_0xd9ee0d['substr'](0x0,_0x34b6bc);return this['lowerCaseTagNames']&&(_0x196c18=_0x196c18['toLowerCase']()),_0x196c18;}['ondeclaration'](_0x4cf86e,_0x474359){this['endIndex']=_0x474359;const _0x38e093=this['getSlice'](_0x4cf86e,_0x474359);if(this['cbs']['onprocessinginstruction']){const _0x2b16b1=this['getInstructionName'](_0x38e093);this['cbs']['onprocessinginstruction']('!'+_0x2b16b1,'!'+_0x38e093);}this['startIndex']=_0x474359+0x1;}['onprocessinginstruction'](_0x224b16,_0x2d0de4){this['endIndex']=_0x2d0de4;const _0x61400a=this['getSlice'](_0x224b16,_0x2d0de4);if(this['cbs']['onprocessinginstruction']){const _0x54b577=this['getInstructionName'](_0x61400a);this['cbs']['onprocessinginstruction']('?'+_0x54b577,'?'+_0x61400a);}this['startIndex']=_0x2d0de4+0x1;}['oncomment'](_0x1a3f66,_0x19d377,_0x66b705){var _0x142409,_0x51be70,_0x39e7a9,_0x447f97;this['endIndex']=_0x19d377,null===(_0x51be70=(_0x142409=this['cbs'])['oncomment'])||void 0x0===_0x51be70||_0x51be70['call'](_0x142409,this['getSlice'](_0x1a3f66,_0x19d377-_0x66b705)),null===(_0x447f97=(_0x39e7a9=this['cbs'])['oncommentend'])||void 0x0===_0x447f97||_0x447f97['call'](_0x39e7a9),this['startIndex']=_0x19d377+0x1;}['oncdata'](_0x2e5be4,_0x2577bc,_0x578c42){var _0x13c313,_0x3de059,_0x33c6b3,_0x4660f2,_0x345304,_0x54ef39,_0x3c4c0a,_0x8bfe61,_0xf70775,_0x4d285d;this['endIndex']=_0x2577bc;const _0x4b17df=this['getSlice'](_0x2e5be4,_0x2577bc-_0x578c42);!this['htmlMode']||this['options']['recognizeCDATA']?(null===(_0x3de059=(_0x13c313=this['cbs'])['oncdatastart'])||void 0x0===_0x3de059||_0x3de059['call'](_0x13c313),null===(_0x4660f2=(_0x33c6b3=this['cbs'])['ontext'])||void 0x0===_0x4660f2||_0x4660f2['call'](_0x33c6b3,_0x4b17df),null===(_0x54ef39=(_0x345304=this['cbs'])['oncdataend'])||void 0x0===_0x54ef39||_0x54ef39['call'](_0x345304)):(null===(_0x8bfe61=(_0x3c4c0a=this['cbs'])['oncomment'])||void 0x0===_0x8bfe61||_0x8bfe61['call'](_0x3c4c0a,'[CDATA['+_0x4b17df+']]'),null===(_0x4d285d=(_0xf70775=this['cbs'])['oncommentend'])||void 0x0===_0x4d285d||_0x4d285d['call'](_0xf70775)),this['startIndex']=_0x2577bc+0x1;}['onend'](){var _0x25dd0f,_0x39ceb7;if(this['cbs']['onclosetag']){this['endIndex']=this['startIndex'];for(let _0x4865ce=0x0;_0x4865ce<this['stack']['length'];_0x4865ce++)this['cbs']['onclosetag'](this['stack'][_0x4865ce],!0x0);}null===(_0x39ceb7=(_0x25dd0f=this['cbs'])['onend'])||void 0x0===_0x39ceb7||_0x39ceb7['call'](_0x25dd0f);}['reset'](){var _0x50d58e,_0x554e58,_0xa63669,_0x48ffec;null===(_0x554e58=(_0x50d58e=this['cbs'])['onreset'])||void 0x0===_0x554e58||_0x554e58['call'](_0x50d58e),this['tokenizer']['reset'](),this['tagname']='',this['attribname']='',this['attribs']=null,this['stack']['length']=0x0,this['startIndex']=0x0,this['endIndex']=0x0,null===(_0x48ffec=(_0xa63669=this['cbs'])['onparserinit'])||void 0x0===_0x48ffec||_0x48ffec['call'](_0xa63669,this),this['buffers']['length']=0x0,this['foreignContext']['length']=0x0,this['foreignContext']['unshift'](!this['htmlMode']),this['bufferOffset']=0x0,this['writeIndex']=0x0,this['ended']=!0x1;}['parseComplete'](_0x2d5141){this['reset'](),this['end'](_0x2d5141);}['getSlice'](_0x1474e0,_0x491322){for(;_0x1474e0-this['bufferOffset']>=this['buffers'][0x0]['length'];)this['shiftBuffer']();let _0xee4b5b=this['buffers'][0x0]['slice'](_0x1474e0-this['bufferOffset'],_0x491322-this['bufferOffset']);for(;_0x491322-this['bufferOffset']>this['buffers'][0x0]['length'];)this['shiftBuffer'](),_0xee4b5b+=this['buffers'][0x0]['slice'](0x0,_0x491322-this['bufferOffset']);return _0xee4b5b;}['shiftBuffer'](){this['bufferOffset']+=this['buffers'][0x0]['length'],this['writeIndex']--,this['buffers']['shift']();}['write'](_0x2ea55e){var _0x4ed316,_0x591378;this['ended']?null===(_0x591378=(_0x4ed316=this['cbs'])['onerror'])||void 0x0===_0x591378||_0x591378['call'](_0x4ed316,new Error('.write()\x20after\x20done!')):(this['buffers']['push'](_0x2ea55e),this['tokenizer']['running']&&(this['tokenizer']['write'](_0x2ea55e),this['writeIndex']++));}['end'](_0x1cb1e1){var _0x4a05e3,_0x1c51df;this['ended']?null===(_0x1c51df=(_0x4a05e3=this['cbs'])['onerror'])||void 0x0===_0x1c51df||_0x1c51df['call'](_0x4a05e3,new Error('.end()\x20after\x20done!')):(_0x1cb1e1&&this['write'](_0x1cb1e1),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'](_0x194a7b){this['write'](_0x194a7b);}['done'](_0x199ae9){this['end'](_0x199ae9);}};!function(_0x57735b){_0x57735b['Root']='root',_0x57735b['Text']='text',_0x57735b['Directive']='directive',_0x57735b['Comment']='comment',_0x57735b['Script']='script',_0x57735b['Style']='style',_0x57735b['Tag']='tag',_0x57735b['CDATA']='cdata',_0x57735b['Doctype']='doctype';}($f||($f={}));const Qf=$f['Root'],jf=$f['Text'],Uf=$f['Directive'],Vf=$f['Comment'],Bf=$f['Script'],Ff=$f['Style'],Hf=$f['Tag'],Zf=$f['CDATA'],Gf=$f['Doctype'];var Xf=class{constructor(){this['parent']=null,this['prev']=null,this['next']=null,this['startIndex']=null,this['endIndex']=null;}get['parentNode'](){return this['parent'];}set['parentNode'](_0x2ba38f){this['parent']=_0x2ba38f;}get['previousSibling'](){return this['prev'];}set['previousSibling'](_0x108a9b){this['prev']=_0x108a9b;}get['nextSibling'](){return this['next'];}set['nextSibling'](_0x2a09c0){this['next']=_0x2a09c0;}['cloneNode'](_0x2118a5=!0x1){return am(this,_0x2118a5);}},qf=class extends Xf{constructor(_0x336857){super(),this['data']=_0x336857;}get['nodeValue'](){return this['data'];}set['nodeValue'](_0x39d3d9){this['data']=_0x39d3d9;}},Wf=class extends qf{constructor(){super(...arguments),this['type']=$f['Text'];}get['nodeType'](){return 0x3;}},zf=class extends qf{constructor(){super(...arguments),this['type']=$f['Comment'];}get['nodeType'](){return 0x8;}},Yf=class extends qf{constructor(_0x4b4fbf,_0x28e00e){super(_0x28e00e),this['name']=_0x4b4fbf,this['type']=$f['Directive'];}get['nodeType'](){return 0x1;}},Kf=class extends Xf{constructor(_0x4fb87d){super(),this['children']=_0x4fb87d;}get['firstChild'](){var _0x260f4b;return null!==(_0x260f4b=this['children'][0x0])&&void 0x0!==_0x260f4b?_0x260f4b:null;}get['lastChild'](){return this['children']['length']>0x0?this['children'][this['children']['length']-0x1]:null;}get['childNodes'](){return this['children'];}set['childNodes'](_0x224532){this['children']=_0x224532;}},Jf=class extends Kf{constructor(){super(...arguments),this['type']=$f['CDATA'];}get['nodeType'](){return 0x4;}},tm=class extends Kf{constructor(){super(...arguments),this['type']=$f['Root'];}get['nodeType'](){return 0x9;}},em=class extends Kf{constructor(_0xf36156,_0x2ac869,_0x498a8f=[],_0x19116b='script'===_0xf36156?$f['Script']:'style'===_0xf36156?$f['Style']:$f['Tag']){super(_0x498a8f),this['name']=_0xf36156,this['attribs']=_0x2ac869,this['type']=_0x19116b;}get['nodeType'](){return 0x1;}get['tagName'](){return this['name'];}set['tagName'](_0x799518){this['name']=_0x799518;}get['attributes'](){return Object['keys'](this['attribs'])['map'](_0x3cd09f=>{var _0xbd2765,_0x14f355;return{'name':_0x3cd09f,'value':this['attribs'][_0x3cd09f],'namespace':null===(_0xbd2765=this['x-attribsNamespace'])||void 0x0===_0xbd2765?void 0x0:_0xbd2765[_0x3cd09f],'prefix':null===(_0x14f355=this['x-attribsPrefix'])||void 0x0===_0x14f355?void 0x0:_0x14f355[_0x3cd09f]};});}};function im(_0x324dbb){return(_0x376be5=_0x324dbb)['type']===$f['Tag']||_0x376be5['type']===$f['Script']||_0x376be5['type']===$f['Style'];var _0x376be5;}function sm(_0x5bd604){return _0x5bd604['type']===$f['Text'];}function nm(_0x248b07){return _0x248b07['type']===$f['Comment'];}function rm(_0x4160e4){return _0x4160e4['type']===$f['Root'];}function om(_0xbde6e3){return Object['prototype']['hasOwnProperty']['call'](_0xbde6e3,'children');}function am(_0x3e44cb,_0x3f42cb=!0x1){let _0x5f1bf5;if(sm(_0x3e44cb))_0x5f1bf5=new Wf(_0x3e44cb['data']);else{if(nm(_0x3e44cb))_0x5f1bf5=new zf(_0x3e44cb['data']);else{if(im(_0x3e44cb)){const _0x42735b=_0x3f42cb?cm(_0x3e44cb['children']):[],_0x5a3314=new em(_0x3e44cb['name'],{..._0x3e44cb['attribs']},_0x42735b);_0x42735b['forEach'](_0x41b89f=>_0x41b89f['parent']=_0x5a3314),null!=_0x3e44cb['namespace']&&(_0x5a3314['namespace']=_0x3e44cb['namespace']),_0x3e44cb['x-attribsNamespace']&&(_0x5a3314['x-attribsNamespace']={..._0x3e44cb['x-attribsNamespace']}),_0x3e44cb['x-attribsPrefix']&&(_0x5a3314['x-attribsPrefix']={..._0x3e44cb['x-attribsPrefix']}),_0x5f1bf5=_0x5a3314;}else{if(function(_0x4f291b){return _0x4f291b['type']===$f['CDATA'];}(_0x3e44cb)){const _0x45ba16=_0x3f42cb?cm(_0x3e44cb['children']):[],_0x4935fa=new Jf(_0x45ba16);_0x45ba16['forEach'](_0x56a7df=>_0x56a7df['parent']=_0x4935fa),_0x5f1bf5=_0x4935fa;}else{if(rm(_0x3e44cb)){const _0x224d3d=_0x3f42cb?cm(_0x3e44cb['children']):[],_0x2d387c=new tm(_0x224d3d);_0x224d3d['forEach'](_0x5295a0=>_0x5295a0['parent']=_0x2d387c),_0x3e44cb['x-mode']&&(_0x2d387c['x-mode']=_0x3e44cb['x-mode']),_0x5f1bf5=_0x2d387c;}else{if(!function(_0x3f8d61){return _0x3f8d61['type']===$f['Directive'];}(_0x3e44cb))throw new Error('Not\x20implemented\x20yet:\x20'+_0x3e44cb['type']);{const _0x3e81b3=new Yf(_0x3e44cb['name'],_0x3e44cb['data']);null!=_0x3e44cb['x-name']&&(_0x3e81b3['x-name']=_0x3e44cb['x-name'],_0x3e81b3['x-publicId']=_0x3e44cb['x-publicId'],_0x3e81b3['x-systemId']=_0x3e44cb['x-systemId']),_0x5f1bf5=_0x3e81b3;}}}}}}return _0x5f1bf5['startIndex']=_0x3e44cb['startIndex'],_0x5f1bf5['endIndex']=_0x3e44cb['endIndex'],null!=_0x3e44cb['sourceCodeLocation']&&(_0x5f1bf5['sourceCodeLocation']=_0x3e44cb['sourceCodeLocation']),_0x5f1bf5;}function cm(_0x173721){const _0x5edf5b=_0x173721['map'](_0x5e4253=>am(_0x5e4253,!0x0));for(let _0x259adb=0x1;_0x259adb<_0x5edf5b['length'];_0x259adb++)_0x5edf5b[_0x259adb]['prev']=_0x5edf5b[_0x259adb-0x1],_0x5edf5b[_0x259adb-0x1]['next']=_0x5edf5b[_0x259adb];return _0x5edf5b;}const lm={'withStartIndices':!0x1,'withEndIndices':!0x1,'xmlMode':!0x1};var hm=class{constructor(_0x20838d,_0x4c552a,_0xd51300){this['dom']=[],this['root']=new tm(this['dom']),this['done']=!0x1,this['tagStack']=[this['root']],this['lastNode']=null,this['parser']=null,'function'==typeof _0x4c552a&&(_0xd51300=_0x4c552a,_0x4c552a=lm),'object'==typeof _0x20838d&&(_0x4c552a=_0x20838d,_0x20838d=void 0x0),this['callback']=null!=_0x20838d?_0x20838d:null,this['options']=null!=_0x4c552a?_0x4c552a:lm,this['elementCB']=null!=_0xd51300?_0xd51300:null;}['onparserinit'](_0x5094c4){this['parser']=_0x5094c4;}['onreset'](){this['dom']=[],this['root']=new tm(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'](_0x5936dd){this['handleCallback'](_0x5936dd);}['onclosetag'](){this['lastNode']=null;const _0x381a55=this['tagStack']['pop']();this['options']['withEndIndices']&&(_0x381a55['endIndex']=this['parser']['endIndex']),this['elementCB']&&this['elementCB'](_0x381a55);}['onopentag'](_0xc8af27,_0x4713b1){const _0x49f6fe=new em(_0xc8af27,_0x4713b1,void 0x0,this['options']['xmlMode']?$f['Tag']:void 0x0);this['addNode'](_0x49f6fe),this['tagStack']['push'](_0x49f6fe);}['ontext'](_0xd5eeb5){const {lastNode:_0x422752}=this;if(_0x422752&&_0x422752['type']===$f['Text'])_0x422752['data']+=_0xd5eeb5,this['options']['withEndIndices']&&(_0x422752['endIndex']=this['parser']['endIndex']);else{const _0x7e114c=new Wf(_0xd5eeb5);this['addNode'](_0x7e114c),this['lastNode']=_0x7e114c;}}['oncomment'](_0x161345){if(this['lastNode']&&this['lastNode']['type']===$f['Comment'])return void(this['lastNode']['data']+=_0x161345);const _0x4b499=new zf(_0x161345);this['addNode'](_0x4b499),this['lastNode']=_0x4b499;}['oncommentend'](){this['lastNode']=null;}['oncdatastart'](){const _0xed6a25=new Wf(''),_0x5ea930=new Jf([_0xed6a25]);this['addNode'](_0x5ea930),_0xed6a25['parent']=_0x5ea930,this['lastNode']=_0xed6a25;}['oncdataend'](){this['lastNode']=null;}['onprocessinginstruction'](_0x4fbb5b,_0x19b905){const _0x3aa53e=new Yf(_0x4fbb5b,_0x19b905);this['addNode'](_0x3aa53e);}['handleCallback'](_0x9cb310){if('function'==typeof this['callback'])this['callback'](_0x9cb310,this['dom']);else{if(_0x9cb310)throw _0x9cb310;}}['addNode'](_0x47244c){const _0x3a91e3=this['tagStack'][this['tagStack']['length']-0x1],_0xf311d4=_0x3a91e3['children'][_0x3a91e3['children']['length']-0x1];this['options']['withStartIndices']&&(_0x47244c['startIndex']=this['parser']['startIndex']),this['options']['withEndIndices']&&(_0x47244c['endIndex']=this['parser']['endIndex']),_0x3a91e3['children']['push'](_0x47244c),_0xf311d4&&(_0x47244c['prev']=_0xf311d4,_0xf311d4['next']=_0x47244c),_0x47244c['parent']=_0x3a91e3,this['lastNode']=null;}};const um=/["&'<>$\x80-\uFFFF]/g,dm=new Map([[0x22,'&quot;'],[0x26,'&amp;'],[0x27,'&apos;'],[0x3c,'&lt;'],[0x3e,'&gt;']]),fm=null!=String['prototype']['codePointAt']?(_0x1a71bb,_0x3cfa91)=>_0x1a71bb['codePointAt'](_0x3cfa91):(_0x2cba8e,_0x5f4985)=>0xd800==(0xfc00&_0x2cba8e['charCodeAt'](_0x5f4985))?0x400*(_0x2cba8e['charCodeAt'](_0x5f4985)-0xd800)+_0x2cba8e['charCodeAt'](_0x5f4985+0x1)-0xdc00+0x10000:_0x2cba8e['charCodeAt'](_0x5f4985);function mm(_0x1eb853){let _0x52d7c9,_0x3b5b30='',_0x3df2ab=0x0;for(;null!==(_0x52d7c9=um['exec'](_0x1eb853));){const _0x1e6b7b=_0x52d7c9['index'],_0x5e1be6=_0x1eb853['charCodeAt'](_0x1e6b7b),_0x224323=dm['get'](_0x5e1be6);void 0x0!==_0x224323?(_0x3b5b30+=_0x1eb853['substring'](_0x3df2ab,_0x1e6b7b)+_0x224323,_0x3df2ab=_0x1e6b7b+0x1):(_0x3b5b30+=_0x1eb853['substring'](_0x3df2ab,_0x1e6b7b)+'&#x'+fm(_0x1eb853,_0x1e6b7b)['toString'](0x10)+';',_0x3df2ab=um['lastIndex']+=Number(0xd800==(0xfc00&_0x5e1be6)));}return _0x3b5b30+_0x1eb853['substr'](_0x3df2ab);}function pm(_0x260ff9,_0x37cae9){return function(_0x25ecb9){let _0x5efc08,_0x276299=0x0,_0xcc950d='';for(;_0x5efc08=_0x260ff9['exec'](_0x25ecb9);)_0x276299!==_0x5efc08['index']&&(_0xcc950d+=_0x25ecb9['substring'](_0x276299,_0x5efc08['index'])),_0xcc950d+=_0x37cae9['get'](_0x5efc08[0x0]['charCodeAt'](0x0)),_0x276299=_0x5efc08['index']+0x1;return _0xcc950d+_0x25ecb9['substring'](_0x276299);};}pm(/[&<>'"]/g,dm);const gm=pm(/["&\u00A0]/g,new Map([[0x22,'&quot;'],[0x26,'&amp;'],[0xa0,'&nbsp;']])),Om=pm(/[&<>\u00A0]/g,new Map([[0x26,'&amp;'],[0x3c,'&lt;'],[0x3e,'&gt;'],[0xa0,'&nbsp;']])),wm=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'](_0x29ca9e=>[_0x29ca9e['toLowerCase'](),_0x29ca9e])),bm=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'](_0x27f040=>[_0x27f040['toLowerCase'](),_0x27f040])),ym=new Set(['style','script','xmp','iframe','noembed','noframes','plaintext','noscript']);function vm(_0x4064fd){return _0x4064fd['replace'](/"/g,'&quot;');}const _m=new Set(['area','base','basefont','br','col','command','embed','frame','hr','img','input','isindex','keygen','link','meta','param','source','track','wbr']);function Em(_0x100b03,_0x65380b={}){const _0x4f2cd3='length'in _0x100b03?_0x100b03:[_0x100b03];let _0xafe062='';for(let _0xc5e49a=0x0;_0xc5e49a<_0x4f2cd3['length'];_0xc5e49a++)_0xafe062+=Tm(_0x4f2cd3[_0xc5e49a],_0x65380b);return _0xafe062;}function Tm(_0x5cd344,_0x12bc49){switch(_0x5cd344['type']){case Qf:return Em(_0x5cd344['children'],_0x12bc49);case Gf:case Uf:return'<'+_0x5cd344['data']+'>';case Vf:return function(_0x2dfc53){return'<!--'+_0x2dfc53['data']+'-->';}(_0x5cd344);case Zf:return function(_0x2b9b09){return'<![CDATA['+_0x2b9b09['children'][0x0]['data']+']]>';}(_0x5cd344);case Bf:case Ff:case Hf:return function(_0xf9a497,_0x3693b0){var _0x2ae145;'foreign'===_0x3693b0['xmlMode']&&(_0xf9a497['name']=null!==(_0x2ae145=wm['get'](_0xf9a497['name']))&&void 0x0!==_0x2ae145?_0x2ae145:_0xf9a497['name'],_0xf9a497['parent']&&Am['has'](_0xf9a497['parent']['name'])&&(_0x3693b0={..._0x3693b0,'xmlMode':!0x1})),!_0x3693b0['xmlMode']&&Sm['has'](_0xf9a497['name'])&&(_0x3693b0={..._0x3693b0,'xmlMode':'foreign'});let _0x2f6ee5='<'+_0xf9a497['name'];const _0x4a8751=function(_0x22a5ba,_0x1de8ae){var _0x8bf075;if(!_0x22a5ba)return;const _0x158a38=!0x1===(null!==(_0x8bf075=_0x1de8ae['encodeEntities'])&&void 0x0!==_0x8bf075?_0x8bf075:_0x1de8ae['decodeEntities'])?vm:_0x1de8ae['xmlMode']||'utf8'!==_0x1de8ae['encodeEntities']?mm:gm;return Object['keys'](_0x22a5ba)['map'](_0x145354=>{var _0x2ebbe9,_0x3a6f2e;const _0x49bd1f=null!==(_0x2ebbe9=_0x22a5ba[_0x145354])&&void 0x0!==_0x2ebbe9?_0x2ebbe9:'';return'foreign'===_0x1de8ae['xmlMode']&&(_0x145354=null!==(_0x3a6f2e=bm['get'](_0x145354))&&void 0x0!==_0x3a6f2e?_0x3a6f2e:_0x145354),_0x1de8ae['emptyAttrs']||_0x1de8ae['xmlMode']||''!==_0x49bd1f?_0x145354+'=\x22'+_0x158a38(_0x49bd1f)+'\x22':_0x145354;})['join']('\x20');}(_0xf9a497['attribs'],_0x3693b0);return _0x4a8751&&(_0x2f6ee5+='\x20'+_0x4a8751),0x0===_0xf9a497['children']['length']&&(_0x3693b0['xmlMode']?!0x1!==_0x3693b0['selfClosingTags']:_0x3693b0['selfClosingTags']&&_m['has'](_0xf9a497['name']))?(_0x3693b0['xmlMode']||(_0x2f6ee5+='\x20'),_0x2f6ee5+='/>'):(_0x2f6ee5+='>',_0xf9a497['children']['length']>0x0&&(_0x2f6ee5+=Em(_0xf9a497['children'],_0x3693b0)),!_0x3693b0['xmlMode']&&_m['has'](_0xf9a497['name'])||(_0x2f6ee5+='</'+_0xf9a497['name']+'>')),_0x2f6ee5;}(_0x5cd344,_0x12bc49);case jf:return function(_0x46b0f8,_0x39b67f){var _0x5a62ab;let _0x515566=_0x46b0f8['data']||'';return!0x1===(null!==(_0x5a62ab=_0x39b67f['encodeEntities'])&&void 0x0!==_0x5a62ab?_0x5a62ab:_0x39b67f['decodeEntities'])||!_0x39b67f['xmlMode']&&_0x46b0f8['parent']&&ym['has'](_0x46b0f8['parent']['name'])||(_0x515566=_0x39b67f['xmlMode']||'utf8'!==_0x39b67f['encodeEntities']?mm(_0x515566):Om(_0x515566)),_0x515566;}(_0x5cd344,_0x12bc49);}}const Am=new Set(['mi','mo','mn','ms','mtext','annotation-xml','foreignObject','desc','title']),Sm=new Set(['svg','math']);function Im(_0x543a3c){return Array['isArray'](_0x543a3c)?_0x543a3c['map'](Im)['join'](''):om(_0x543a3c)&&!nm(_0x543a3c)?Im(_0x543a3c['children']):sm(_0x543a3c)?_0x543a3c['data']:'';}function km(_0x16d271){return _0x16d271['parent']||null;}function xm(_0x11c8c5){if(_0x11c8c5['prev']&&(_0x11c8c5['prev']['next']=_0x11c8c5['next']),_0x11c8c5['next']&&(_0x11c8c5['next']['prev']=_0x11c8c5['prev']),_0x11c8c5['parent']){const _0x39f913=_0x11c8c5['parent']['children'],_0x13b97f=_0x39f913['lastIndexOf'](_0x11c8c5);_0x13b97f>=0x0&&_0x39f913['splice'](_0x13b97f,0x1);}_0x11c8c5['next']=null,_0x11c8c5['prev']=null,_0x11c8c5['parent']=null;}function Cm(_0x3b2844,_0x3a877e){const _0x49a246=_0x3a877e['prev']=_0x3b2844['prev'];_0x49a246&&(_0x49a246['next']=_0x3a877e);const _0x458226=_0x3a877e['next']=_0x3b2844['next'];_0x458226&&(_0x458226['prev']=_0x3a877e);const _0xafd4a9=_0x3a877e['parent']=_0x3b2844['parent'];if(_0xafd4a9){const _0x22a526=_0xafd4a9['children'];_0x22a526[_0x22a526['lastIndexOf'](_0x3b2844)]=_0x3a877e,_0x3b2844['parent']=null;}}function Rm(_0x286cc8,_0x3af946){if(xm(_0x3af946),_0x3af946['next']=null,_0x3af946['parent']=_0x286cc8,_0x286cc8['children']['push'](_0x3af946)>0x1){const _0x4defed=_0x286cc8['children'][_0x286cc8['children']['length']-0x2];_0x4defed['next']=_0x3af946,_0x3af946['prev']=_0x4defed;}else _0x3af946['prev']=null;}function Pm(_0x7fc982,_0x59368c){xm(_0x59368c);const {parent:_0xe8418f}=_0x7fc982,_0x521eef=_0x7fc982['next'];if(_0x59368c['next']=_0x521eef,_0x59368c['prev']=_0x7fc982,_0x7fc982['next']=_0x59368c,_0x59368c['parent']=_0xe8418f,_0x521eef){if(_0x521eef['prev']=_0x59368c,_0xe8418f){const _0x223f49=_0xe8418f['children'];_0x223f49['splice'](_0x223f49['lastIndexOf'](_0x521eef),0x0,_0x59368c);}}else _0xe8418f&&_0xe8418f['children']['push'](_0x59368c);}function Mm(_0x48a06f,_0x4e5222){if(xm(_0x4e5222),_0x4e5222['parent']=_0x48a06f,_0x4e5222['prev']=null,0x1!==_0x48a06f['children']['unshift'](_0x4e5222)){const _0x1cffbd=_0x48a06f['children'][0x1];_0x1cffbd['prev']=_0x4e5222,_0x4e5222['next']=_0x1cffbd;}else _0x4e5222['next']=null;}function Nm(_0x32af4f,_0x397c5e){xm(_0x397c5e);const {parent:_0x2e9766}=_0x32af4f;if(_0x2e9766){const _0x4bea71=_0x2e9766['children'];_0x4bea71['splice'](_0x4bea71['indexOf'](_0x32af4f),0x0,_0x397c5e);}_0x32af4f['prev']&&(_0x32af4f['prev']['next']=_0x397c5e),_0x397c5e['parent']=_0x2e9766,_0x397c5e['prev']=_0x32af4f['prev'],_0x397c5e['next']=_0x32af4f,_0x32af4f['prev']=_0x397c5e;}function Lm(_0x44612d,_0x2d2492,_0x43d36f=!0x0){const _0x4d9442=Array['isArray'](_0x2d2492)?_0x2d2492:[_0x2d2492];for(let _0x3bdacc=0x0;_0x3bdacc<_0x4d9442['length'];_0x3bdacc++){const _0x170539=_0x4d9442[_0x3bdacc];if(im(_0x170539)&&_0x44612d(_0x170539))return _0x170539;if(_0x43d36f&&om(_0x170539)&&_0x170539['children']['length']>0x0){const _0x55a08d=Lm(_0x44612d,_0x170539['children'],!0x0);if(_0x55a08d)return _0x55a08d;}}return null;}function $m(_0x59f51c,_0x3326ff){const _0x237ae1=[],_0x58bed7=[Array['isArray'](_0x3326ff)?_0x3326ff:[_0x3326ff]],_0x195078=[0x0];for(;;){if(_0x195078[0x0]>=_0x58bed7[0x0]['length']){if(0x1===_0x58bed7['length'])return _0x237ae1;_0x58bed7['shift'](),_0x195078['shift']();continue;}const _0x34f78d=_0x58bed7[0x0][_0x195078[0x0]++];im(_0x34f78d)&&_0x59f51c(_0x34f78d)&&_0x237ae1['push'](_0x34f78d),om(_0x34f78d)&&_0x34f78d['children']['length']>0x0&&(_0x195078['unshift'](0x0),_0x58bed7['unshift'](_0x34f78d['children']));}}function Dm(_0x1f390d,_0x581c2e){return function(_0x5d81dc,_0x56734d){const _0x59498a=new hm(void 0x0,_0x56734d);return new Df(_0x59498a,_0x56734d)['end'](_0x5d81dc),_0x59498a['root'];}(_0x1f390d,_0x581c2e);}function Qm(_0x2dbc3b,_0x42618e){return Em(_0x2dbc3b,_0x42618e);}function jm(_0x32af51,_0x4dc8f2,_0x3adf86){const _0x153991=null!==_0x4dc8f2?_0x6c7314=>_0x6c7314['attribs'][_0x32af51]===_0x4dc8f2:_0x364904=>Boolean(_0x364904['attribs'][_0x32af51]);return Lm(_0xb32420=>im(_0xb32420)&&_0x153991(_0xb32420),_0x3adf86);}function Um(_0x30313d,_0x4edd30,_0x498edb){const _0x1427b1=null!==_0x4edd30?_0x25c097=>_0x25c097['attribs'][_0x30313d]===_0x4edd30:_0x4a5715=>Boolean(_0x4a5715['attribs'][_0x30313d]);return $m(_0xcaea84=>im(_0xcaea84)&&_0x1427b1(_0xcaea84),_0x498edb);}function Vm(_0x58bbb4){return $m(_0x38335f=>im(_0x38335f)&&function(_0x21fd8c){const _0x3904fd=_0x21fd8c['toLowerCase']();return'script'===_0x3904fd||'style'===_0x3904fd||_0x3904fd['includes']('-');}(_0x38335f['name']),_0x58bbb4);}function Bm(_0x3293ea){return function(_0x33c5a7,_0x1d3284,_0x3e9965,_0x49463e){const _0x5f044b=[],_0x10a517=[Array['isArray'](_0x1d3284)?_0x1d3284:[_0x1d3284]],_0x5288c2=[0x0];for(;;){if(_0x5288c2[0x0]>=_0x10a517[0x0]['length']){if(0x1===_0x5288c2['length'])return _0x5f044b;_0x10a517['shift'](),_0x5288c2['shift']();continue;}const _0x193f33=_0x10a517[0x0][_0x5288c2[0x0]++];if(_0x33c5a7(_0x193f33)&&(_0x5f044b['push'](_0x193f33),--_0x49463e<=0x0))return _0x5f044b;_0x3e9965&&om(_0x193f33)&&_0x193f33['children']['length']>0x0&&(_0x5288c2['unshift'](0x0),_0x10a517['unshift'](_0x193f33['children']));}}(_0x1fb9ca=>nm(_0x1fb9ca),_0x3293ea,!0x0,0x1/0x0);}function Fm(_0x142ce5,_0x30e4ef){return _0x142ce5&&im(_0x142ce5)?_0x142ce5['attribs'][_0x30e4ef]:null;}function Hm(_0x5611b3,_0x53b9b5,_0x13f53d){im(_0x5611b3)&&(null===_0x13f53d?delete _0x5611b3['attribs'][_0x53b9b5]:_0x5611b3['attribs'][_0x53b9b5]=_0x13f53d);}function Zm(_0x4e951e,_0x55a8e8,_0x4d87e7){const _0x504a77=_0x55a8e8['cloneNode'](!0x0);'beforebegin'===_0x4d87e7?Nm(_0x4e951e,_0x504a77):'afterbegin'===_0x4d87e7?Mm(_0x4e951e,_0x504a77):'beforeend'===_0x4d87e7?Rm(_0x4e951e,_0x504a77):'afterend'===_0x4d87e7&&Pm(_0x4e951e,_0x504a77);}function Gm(_0x4ac16d){const _0x1654ae=[];let _0xf02952=_0x4ac16d;for(;_0xf02952;)_0xf02952=km(_0xf02952),_0xf02952&&_0x1654ae['push'](_0xf02952);return _0x1654ae;}function Xm(_0xc04ceb){return _0xc04ceb['replace'](/^\s+/gm,'')['replace'](/\s+$/gm,'')['replace'](/\n*/g,'')['replace'](/\s+/g,'\x20')['replace'](/>\s*</g,'><');}function qm(_0x4c32ce){let _0x257838=0x0;for(;_0x4c32ce['parentNode'];)_0x4c32ce=_0x4c32ce['parentNode'],_0x257838++;return _0x257838;}function Wm(_0x26a678){const _0x1bf58e=[];let _0xdf9101=_0x26a678['nextSibling'];for(;_0xdf9101;)_0x1bf58e['push'](_0xdf9101),_0xdf9101=_0xdf9101['nextSibling'];_0x1bf58e['forEach'](_0x5ed28b=>{xm(_0x5ed28b);});}const zm=/* #__PURE__ -- @preserve */
_0x5b14e3();var Ym=class extends zm{['_generateUid'];['_uidCounter']=0x0;['_touchedNodesState']={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null,'rescuedNewIds':new Set()};['_existingDataIds']=new Set();['_referencedExistingIds']=new Set();constructor(_0x3a70de){super(),this['_generateUid']=_0x3a70de||(()=>'e'+String(this['_uidCounter']++));}['merge'](_0x3ddbad,_0x28eda1,_0xe075a8){this['_uidCounter']=0x0;const _0x3fbcd3=_0x3ddbad['cloneNode'](!0x0);tp(_0x28eda1,_0x3fbcd3);const _0x20462e=_0x3fbcd3['childNodes'],_0x19c8ba=Array['from'](_0x20462e)['filter'](_0x4072d0=>!(0x3===_0x4072d0['nodeType']&&''===Qm(_0x4072d0)['trim']())),_0x55970f=_0x19c8ba['length'];this['_existingDataIds']=new Set(Um('data-id',null,_0x28eda1)['map'](_0x3ce52b=>Fm(_0x3ce52b,'data-id'))['filter'](_0x4faae9=>!!_0x4faae9));for(const _0x239598 of _0x19c8ba)_0x239598&&im(_0x239598)&&void 0x0===_0x239598['attribs']['data-id']&&Hm(_0x239598,'data-id','new-element');if(Um('data-id',null,_0x3fbcd3)['forEach'](_0x89465c=>{const _0x539503=Fm(_0x89465c,'data-id');'new-element'===_0x539503||this['_existingDataIds']['has'](_0x539503)||Hm(_0x89465c,'data-id','new-element');}),0x0===_0x28eda1['childNodes']['length']){const _0x3b004b=[];return Um('data-id','new-element',_0x3fbcd3)['forEach'](_0x114725=>{const _0x229208=this['_generateUid']();Hm(_0x114725,'data-id',_0x229208),_0x3b004b['push'](_0x229208);}),this['_removeSpecialComments'](_0x3fbcd3),{'parsedContent':_0x3fbcd3,'newNodeIds':_0x3b004b,'modifiedNodeIds':[],'removedNodeIds':[]};}this['_touchedNodesState']['newIds']=[],this['_touchedNodesState']['modifiedIds']=[],this['_touchedNodesState']['removedIds']=[],this['_touchedNodesState']['invalidIds']=[],this['_touchedNodesState']['lastTouchedId']=null,this['_touchedNodesState']['rescuedNewIds']=new Set(),this['_referencedExistingIds']=new Set();let _0x1f6835=-0x1,_0x33009a=!0x1;for(let _0x3d2bf7=0x0;_0x3d2bf7<_0x55970f;_0x3d2bf7++){const _0x1a9421=_0x19c8ba[_0x3d2bf7],_0x532a59=_0x19c8ba[_0x3d2bf7+0x1];if(this['_isNewNode'](_0x1a9421)){if(-0x1===_0x1f6835&&(_0x1f6835=_0x3d2bf7),this['_markWrappedElements'](_0x1a9421),!this['_isNewNode'](_0x532a59)){const [_0x20627c,_0xa116af]=this['_findReferenceNode'](_0x1a9421,_0x33009a,_0x28eda1);if(_0x20627c){const _0x32d4aa=Array['from'](_0x19c8ba)['slice'](_0x1f6835,_0x3d2bf7+0x1);this['_insertNodes'](_0x20627c,_0x32d4aa,_0xa116af),_0x1f6835=-0x1;}}}else{if(this['_isExistingContentComment'](_0x1a9421))_0x33009a=!0x0;else{if(this['_isExistingNode'](_0x1a9421)){const _0x56bbad=Fm(_0x1a9421,'data-id');if(_0x56bbad&&this['_existingDataIds']['has'](_0x56bbad)){this['_referencedExistingIds']['add'](_0x56bbad);const _0x3656f9=jm('data-id',_0x56bbad,_0x28eda1);this['_replaceNode'](_0x3656f9,_0x1a9421);}}else{if(Km(_0x1a9421)){const _0x447cc4=Jm(_0x1a9421);jm('data-id',_0x447cc4,_0x3fbcd3)||this['_touchedNodesState']['removedIds']['push'](_0x447cc4);}}}}}for(const _0x53a93b of this['_touchedNodesState']['removedIds']){const _0x1109a7=jm('data-id',_0x53a93b,_0x28eda1);_0x1109a7&&(this['_rescueUnwrappedElements'](_0x1109a7),this['_removeNode'](_0x1109a7,_0x53a93b,_0xe075a8));}if(Um('data-id','new-element',_0x28eda1)['forEach'](_0xfaa184=>{const _0x34f7ea=this['_getUid'](_0xfaa184);Hm(_0xfaa184,'data-id',_0x34f7ea),this['_touchedNodesState']['newIds']['push'](_0x34f7ea);}),this['_removeSpecialComments'](_0x28eda1),_0xe075a8&&_0xe075a8['cutAfterUnstable']){const _0x178f8a=this['_findLastConfirmationPoint'](_0x19c8ba),_0x291320=this['_getLastStableElement'](_0x28eda1,_0x178f8a);this['_markUnstableElements'](_0x28eda1,_0x291320);}if(this['_processWrappedElements'](_0x28eda1,_0xe075a8),_0xe075a8&&_0xe075a8['cutAfterUnstable']&&this['_touchedNodesState']['lastTouchedId']){const _0x51464c=Um('data-id',this['_touchedNodesState']['lastTouchedId'],_0x28eda1);let _0x2f61c5=_0x51464c[_0x51464c['length']-0x1];for(;_0x2f61c5;)Wm(_0x2f61c5),_0x2f61c5=_0x2f61c5['parentNode'];}return{'parsedContent':_0x28eda1,'newNodeIds':this['_touchedNodesState']['newIds'],'modifiedNodeIds':this['_touchedNodesState']['modifiedIds'],'removedNodeIds':this['_touchedNodesState']['removedIds']};}['_insertNodes'](_0x138844,_0x982c18,_0x3a59a7){for(const _0x364254 of _0x982c18){const _0x4098b6=this['_getUid'](_0x364254);Hm(_0x364254,'data-id',_0x4098b6),this['_touchedNodesState']['newIds']['push'](_0x4098b6),this['_touchedNodesState']['lastTouchedId']=_0x4098b6;}const _0x153b2b='afterbegin'===_0x3a59a7||'afterend'===_0x3a59a7?_0x982c18['reverse']():_0x982c18;for(const _0x495d5a of _0x153b2b)Zm(_0x138844,_0x495d5a,_0x3a59a7);}['_replaceNode'](_0x14857f,_0x12b50b){if(!_0x14857f)return;if(_0x302156=_0x12b50b,Xm(Qm(_0x14857f))===Xm(Qm(_0x302156)))return;var _0x302156;const _0x1955ee=Fm(_0x14857f,'data-id');this['_touchedNodesState']['modifiedIds']['push'](_0x1955ee),this['_touchedNodesState']['lastTouchedId']=_0x1955ee,Cm(_0x14857f,_0x12b50b['cloneNode'](!0x0));}['_removeNode'](_0x1d5f59,_0x5e3a74,_0x2ec298){if(_0x2ec298&&_0x2ec298['replaceRemovedWith']){this['_touchedNodesState']['lastTouchedId']=_0x5e3a74;const _0x2e0128=_0x2ec298['replaceRemovedWith']['cloneNode'](!0x0);Hm(_0x2e0128,'data-id',_0x5e3a74),Hm(_0x2e0128,'data-removed','true'),Cm(_0x1d5f59,_0x2e0128);}else xm(_0x1d5f59);}['_findReferenceNode'](_0x35d501,_0x3540bf,_0x41f939){const _0x11d0ad=this['_findPrevElementWithDataId'](_0x35d501,!0x1);if(_0x11d0ad){const _0x377935=Jm(_0x11d0ad),_0x2c75e4=jm('data-id',_0x377935,_0x41f939);if(_0x2c75e4)return[_0x2c75e4,'afterend'];this['_touchedNodesState']['invalidIds']['push'](_0x377935);}const _0x51c7a7=this['_findNextElementWithDataId'](_0x35d501,!0x1);if(_0x51c7a7){const _0x268680=Jm(_0x51c7a7),_0x159de4=jm('data-id',_0x268680,_0x41f939);if(_0x159de4)return[_0x159de4,'beforebegin'];this['_touchedNodesState']['invalidIds']['push'](_0x268680);}return _0x3540bf?_0x35d501['nextSibling']?this['_findFallbackReferenceNode'](_0x35d501,_0x41f939):[_0x41f939['childNodes'][_0x41f939['childNodes']['length']-0x1],'afterend']:[_0x41f939['childNodes'][0x0],'beforebegin'];}['_findFallbackReferenceNode'](_0x17e85f,_0x256403){const _0x5cb15d=[],_0x153656=this['_findPrevElementWithDataId'](_0x17e85f,!0x0);if(_0x153656){const _0x3e127d=jm('data-id',Jm(_0x153656),_0x256403);_0x3e127d&&_0x5cb15d['push']([_0x3e127d,'afterend']);}const _0x1ff227=this['_findNextElementWithDataId'](_0x17e85f,!0x0);if(_0x1ff227){const _0x100178=jm('data-id',Jm(_0x1ff227),_0x256403);_0x100178&&_0x5cb15d['push']([_0x100178,'beforebegin']);}return _0x5cb15d['length']>0x1?qm(_0x5cb15d[0x0][0x0])<=qm(_0x5cb15d[0x1][0x0])?_0x5cb15d[0x0]:_0x5cb15d[0x1]:0x1===_0x5cb15d['length']?_0x5cb15d[0x0]:[_0x256403['lastChild'],'afterend'];}['_findNextElementWithDataId'](_0x4971b4,_0x674f22){let _0x3335ac=_0x4971b4['nextSibling'],_0x475914=null,_0x49a96d=!0x1;for(;_0x3335ac;){if(nm(_0x3335ac)){if(Km(_0x3335ac)&&(_0x475914=_0x3335ac),this['_isExistingContentComment'](_0x3335ac)&&_0x674f22&&!_0x49a96d){_0x49a96d=!0x0,_0x3335ac=_0x3335ac['nextSibling'];continue;}break;}const _0x58e7d0=Fm(_0x3335ac,'data-id');if(_0x58e7d0&&'new-element'!==_0x58e7d0&&this['_existingDataIds']['has'](_0x58e7d0)){_0x475914=_0x3335ac;break;}_0x3335ac=_0x3335ac['nextSibling'];}return _0x475914;}['_findPrevElementWithDataId'](_0x4c3195,_0x7902ec){let _0x1e3c84=_0x4c3195['previousSibling'],_0x42f2ee=null,_0x2a13a3=!0x1;for(;_0x1e3c84;){if(nm(_0x1e3c84)){if(Km(_0x1e3c84)&&(_0x42f2ee=_0x1e3c84),this['_isExistingContentComment'](_0x1e3c84)&&_0x7902ec&&!_0x2a13a3){_0x2a13a3=!0x0,_0x1e3c84=_0x1e3c84['previousSibling'];continue;}break;}const _0x55a980=Fm(_0x1e3c84,'data-id');if(_0x55a980&&'new-element'!==_0x55a980&&this['_existingDataIds']['has'](_0x55a980)){_0x42f2ee=_0x1e3c84;break;}_0x1e3c84=_0x1e3c84['previousSibling'];}return _0x42f2ee;}['_markWrappedElements'](_0x4712a7){im(_0x4712a7)&&Um('data-id',null,_0x4712a7)['forEach'](_0x954c1=>{this['_isExistingNode'](_0x954c1)&&(Hm(_0x954c1,'data-wrapped-id',Fm(_0x954c1,'data-id')),Hm(_0x954c1,'data-id',null));});}['_processWrappedElements'](_0x12bf01,_0x50181e){Um('data-wrapped-id',null,_0x12bf01)['forEach'](_0x2c7b6f=>{const _0x2f22f8=Fm(_0x2c7b6f,'data-wrapped-id');if(this['_hasUnstableParent'](_0x2c7b6f))return;const _0x1ba25a=jm('data-id',_0x2f22f8,_0x12bf01);Hm(_0x2c7b6f,'data-id',_0x2f22f8),_0x1ba25a&&(this['_removeNode'](_0x1ba25a,_0x2f22f8,_0x50181e),this['_touchedNodesState']['removedIds']['push'](_0x2f22f8),this['_touchedNodesState']['lastTouchedId']=_0x2f22f8);});}['_hasUnstableParent'](_0x402af5){let _0x20e800=_0x402af5['parentNode'];for(;_0x20e800;){if(Fm(_0x20e800,'data-unstable'))return!0x0;_0x20e800=_0x20e800['parentNode'];}return!0x1;}['_rescueUnwrappedElements'](_0x5a0f46){const _0x622c27=new Set(this['_touchedNodesState']['removedIds']),_0x1afbce=new Set(this['_touchedNodesState']['newIds']);Um('data-id',null,_0x5a0f46)['forEach'](_0x100591=>{const _0x35cdc1=Fm(_0x100591,'data-id'),_0x1c454d=!!_0x35cdc1&&this['_referencedExistingIds']['has'](_0x35cdc1),_0x2b7961=!!_0x35cdc1&&_0x1afbce['has'](_0x35cdc1);if(!_0x35cdc1||!_0x1c454d&&!_0x2b7961)return;if(_0x622c27['has'](_0x35cdc1))return;let _0x4167ce=_0x100591['parentNode'],_0x1a6660=!0x1;for(;_0x4167ce;){if(_0x4167ce===_0x5a0f46){_0x1a6660=!0x0;break;}const _0x2b918e=Fm(_0x4167ce,'data-id');if(_0x2b918e&&(this['_referencedExistingIds']['has'](_0x2b918e)||_0x1afbce['has'](_0x2b918e)))return;_0x4167ce=_0x4167ce['parentNode'];}if(_0x1a6660){if(Nm(_0x5a0f46,_0x100591),_0x1c454d){const _0x3678b7=this['_generateUid'](),_0x53f2f1=this['_touchedNodesState']['modifiedIds']['indexOf'](_0x35cdc1);-0x1!==_0x53f2f1&&this['_touchedNodesState']['modifiedIds']['splice'](_0x53f2f1,0x1),Hm(_0x100591,'data-unwrapped-id',_0x35cdc1),Hm(_0x100591,'data-id',_0x3678b7),this['_touchedNodesState']['newIds']['push'](_0x3678b7),this['_touchedNodesState']['rescuedNewIds']['add'](_0x3678b7),this['_touchedNodesState']['lastTouchedId']=_0x3678b7;}else this['_touchedNodesState']['rescuedNewIds']['add'](_0x35cdc1),this['_touchedNodesState']['lastTouchedId']=_0x35cdc1;}});}['_getUid'](_0x5bffc1){return this['_isExistingNode'](_0x5bffc1)?Fm(_0x5bffc1,'data-id'):this['_generateUid']();}['_removeSpecialComments'](_0x541731){Bm(_0x541731)['filter'](_0x2dd2c5=>Km(_0x2dd2c5)||this['_isExistingContentComment'](_0x2dd2c5))['forEach'](_0x4d8635=>{xm(_0x4d8635);});}['_findLastConfirmationPoint'](_0x5c3705){let _0x495a5e=null,_0x26a538=null,_0xdb5c8c=null,_0x3b0880=null;const _0x237c7e=_0x2e9acc=>{_0x2e9acc&&(_0x495a5e=_0x2e9acc),_0xdb5c8c=null,_0x3b0880=null;};for(let _0xce18ac=0x0;_0xce18ac<_0x5c3705['length'];_0xce18ac++){const _0x2c4110=_0x5c3705[_0xce18ac];if(this['_isExistingContentComment'](_0x2c4110)){_0x237c7e(_0x26a538);continue;}if(im(_0x2c4110)){const _0x2e3d1b=Fm(_0x2c4110,'data-id'),_0x2177f7=_0xce18ac===_0x5c3705['length']-0x1;if(_0x2e3d1b&&'new-element'!==_0x2e3d1b&&this['_touchedNodesState']['modifiedIds']['includes'](_0x2e3d1b)&&!_0x2177f7){_0x237c7e(_0x2e3d1b),_0x26a538=_0x2e3d1b;continue;}}let _0x3559cf=null;const _0x598a6b=Jm(_0x2c4110);if(_0x598a6b&&this['_touchedNodesState']['rescuedNewIds']['has'](_0x598a6b))_0x26a538=_0x598a6b;else{if(_0x598a6b&&this['_touchedNodesState']['newIds']['includes'](_0x598a6b))_0x3559cf='N';else{if(!Km(_0x2c4110))continue;_0x3559cf='R';}_0x3559cf===_0x3b0880||null===_0x3b0880?_0x3b0880=_0x3559cf:null!==_0xdb5c8c?(_0x237c7e(_0x26a538),_0x3b0880=_0x3559cf):(_0xdb5c8c=_0x3b0880,_0x3b0880=_0x3559cf),_0x26a538=_0x598a6b;}}const _0xf0d9e5=_0x5c3705[_0x5c3705['length']-0x1];return _0xf0d9e5&&!im(_0xf0d9e5)&&!Km(_0xf0d9e5)&&_0x26a538&&_0x237c7e(_0x26a538),_0x495a5e;}['_getLastStableElement'](_0x25de9c,_0x5c065a){if(!_0x5c065a)return null;const _0x4456d6=jm('data-id',_0x5c065a,_0x25de9c);if(!_0x4456d6)return null;const _0x5d5a49=[_0x4456d6,...Gm(_0x4456d6)]['at'](-0x2);if(_0x5d5a49===_0x4456d6)return _0x4456d6;let _0x3d1e49=_0x5d5a49['previousSibling'];for(;_0x3d1e49&&!im(_0x3d1e49);)_0x3d1e49=_0x3d1e49['previousSibling'];return _0x3d1e49;}['_markUnstableElements'](_0x3246f6,_0x23c834){const _0x53196b=new Set([...this['_touchedNodesState']['newIds'],...this['_touchedNodesState']['modifiedIds'],...this['_touchedNodesState']['removedIds']]);let _0x36d12a=_0x23c834?_0x23c834['nextSibling']:_0x3246f6['firstChild'];for(;_0x36d12a;)im(_0x36d12a)&&(_0x53196b['has'](Fm(_0x36d12a,'data-id'))||Um('data-id',null,_0x36d12a)['some'](_0x487fc5=>_0x53196b['has'](Fm(_0x487fc5,'data-id'))))&&Hm(_0x36d12a,'data-unstable','true'),_0x36d12a=_0x36d12a['nextSibling'];}['_isNewNode'](_0x5dec8c){return Boolean('new-element'===Fm(_0x5dec8c,'data-id'));}['_isExistingNode'](_0xfd6207){return Boolean((Fm(_0xfd6207,'data-id')||'')['length']>0x0&&'new-element'!==Fm(_0xfd6207,'data-id'));}['_isExistingContentComment'](_0x1ef5b1){return Boolean(nm(_0x1ef5b1)&&Qm(_0x1ef5b1)['match'](/\s*existing[\s*-](content|document)\s*/g));}};function Km(_0x3ce97e){return!!_0x3ce97e&&Boolean(nm(_0x3ce97e)&&Qm(_0x3ce97e)['match'](/removed[\s*-]data-id="[^"]+"/));}function Jm(_0x13eeaa){if(!_0x13eeaa)return null;if(im(_0x13eeaa))return Fm(_0x13eeaa,'data-id')??null;if(nm(_0x13eeaa)){const _0x3f5c82=Qm(_0x13eeaa)['match'](/removed[\s*-]data-id="([^"]+)"/);if(_0x3f5c82&&_0x3f5c82[0x1])return _0x3f5c82[0x1];}return null;}function tp(_0xe92022,_0x2b3580){const _0x500f9f=new Map();for(const _0x3be71b of Vm(_0xe92022))_0x500f9f['set'](Fm(_0x3be71b,'data-id'),_0x3be71b);const _0xdfac21=new Set();for(const _0x64fadc of Vm(_0x2b3580)){const _0x1e7183=Fm(_0x64fadc,'data-id'),_0x1910a1=_0x1e7183?_0x500f9f['get'](_0x1e7183):void 0x0;_0x1910a1?(Cm(_0x64fadc,am(_0x1910a1,!0x0)),_0xdfac21['add'](_0x1e7183)):xm(_0x64fadc);}for(const _0x1977fb of Bm(_0x2b3580))Km(_0x1977fb)&&_0x500f9f['has'](Jm(_0x1977fb))&&xm(_0x1977fb);const _0x227b44=new Set(Um('data-id',null,_0x2b3580)['map'](_0x1f4bf6=>Fm(_0x1f4bf6,'data-id')));for(const [_0x45d4e4,_0x452b5b]of _0x500f9f){if(_0xdfac21['has'](_0x45d4e4))continue;let _0x14737c=_0x452b5b['parent'],_0x498b2e=null;for(;_0x14737c&&im(_0x14737c);){const _0x1a7eba=Fm(_0x14737c,'data-id');if(_0x1a7eba&&_0x227b44['has'](_0x1a7eba)){_0x498b2e=_0x1a7eba;break;}_0x14737c=_0x14737c['parent'];}if(!_0x498b2e)continue;const _0x48b66a=jm('data-id',_0x498b2e,_0x2b3580);_0x48b66a&&Rm(_0x48b66a,am(_0x452b5b,!0x0));}}const ep='object'==typeof self?self:globalThis,ip=(_0x357ba1,_0x55f931)=>{switch(_0x357ba1){case'Function':case'SharedWorker':case'Worker':case'eval':case'setInterval':case'setTimeout':throw new TypeError('unable\x20to\x20deserialize\x20'+_0x357ba1);}return new ep[_0x357ba1](_0x55f931);},sp=_0x59cf32=>((_0x4ff1c1,_0xc93484)=>{const _0xfd25e8=(_0x3f6847,_0xe748d9)=>(_0x4ff1c1['set'](_0xe748d9,_0x3f6847),_0x3f6847),_0x212ff3=_0x9a574a=>{if(_0x4ff1c1['has'](_0x9a574a))return _0x4ff1c1['get'](_0x9a574a);const [_0x20584,_0x387b08]=_0xc93484[_0x9a574a];switch(_0x20584){case 0x0:case-0x1:return _0xfd25e8(_0x387b08,_0x9a574a);case 0x1:{const _0x7fe0e8=_0xfd25e8([],_0x9a574a);for(const _0x1c5234 of _0x387b08)_0x7fe0e8['push'](_0x212ff3(_0x1c5234));return _0x7fe0e8;}case 0x2:{const _0x1c68f9=_0xfd25e8({},_0x9a574a);for(const [_0x5cb214,_0x237717]of _0x387b08)_0x1c68f9[_0x212ff3(_0x5cb214)]=_0x212ff3(_0x237717);return _0x1c68f9;}case 0x3:return _0xfd25e8(new Date(_0x387b08),_0x9a574a);case 0x4:{const {source:_0x866ab,flags:_0x38d0c7}=_0x387b08;return _0xfd25e8(new RegExp(_0x866ab,_0x38d0c7),_0x9a574a);}case 0x5:{const _0xb588c8=_0xfd25e8(new Map(),_0x9a574a);for(const [_0x14826d,_0x2144c2]of _0x387b08)_0xb588c8['set'](_0x212ff3(_0x14826d),_0x212ff3(_0x2144c2));return _0xb588c8;}case 0x6:{const _0x3d5821=_0xfd25e8(new Set(),_0x9a574a);for(const _0x49ac94 of _0x387b08)_0x3d5821['add'](_0x212ff3(_0x49ac94));return _0x3d5821;}case 0x7:{const {name:_0x4126ca,message:_0x1a7c19}=_0x387b08;return _0xfd25e8(ip(_0x4126ca,_0x1a7c19),_0x9a574a);}case 0x8:return _0xfd25e8(BigInt(_0x387b08),_0x9a574a);case'BigInt':return _0xfd25e8(Object(BigInt(_0x387b08)),_0x9a574a);case'ArrayBuffer':return _0xfd25e8(new Uint8Array(_0x387b08)['buffer'],_0x387b08);case'DataView':{const {buffer:_0x3e9c9e}=new Uint8Array(_0x387b08);return _0xfd25e8(new DataView(_0x3e9c9e),_0x387b08);}}return _0xfd25e8(ip(_0x20584,_0x387b08),_0x9a574a);};return _0x212ff3;})(new Map(),_0x59cf32)(0x0),np='',{toString:rp}={},{keys:op}=Object,ap=_0x3eba1e=>{const _0x202e91=typeof _0x3eba1e;if('object'!==_0x202e91||!_0x3eba1e)return[0x0,_0x202e91];const _0x5116bc=rp['call'](_0x3eba1e)['slice'](0x8,-0x1);switch(_0x5116bc){case'Array':return[0x1,np];case'Object':return[0x2,np];case'Date':return[0x3,np];case'RegExp':return[0x4,np];case'Map':return[0x5,np];case'Set':return[0x6,np];case'DataView':return[0x1,_0x5116bc];}return _0x5116bc['includes']('Array')?[0x1,_0x5116bc]:_0x5116bc['includes']('Error')?[0x7,_0x5116bc]:[0x2,_0x5116bc];},cp=([_0x594cd3,_0x4bca63])=>0x0===_0x594cd3&&('function'===_0x4bca63||'symbol'===_0x4bca63),lp=(_0x50870f,{json:_0x1b7164,lossy:_0x3d6047}={})=>{const _0x5701b6=[];return((_0x23b418,_0xf3624b,_0x24020a,_0x30e496)=>{const _0x117181=(_0x97b57e,_0x57ef81)=>{const _0xf2f792=_0x30e496['push'](_0x97b57e)-0x1;return _0x24020a['set'](_0x57ef81,_0xf2f792),_0xf2f792;},_0xe39181=_0x2cfd82=>{if(_0x24020a['has'](_0x2cfd82))return _0x24020a['get'](_0x2cfd82);let [_0xc32420,_0x5ead62]=ap(_0x2cfd82);switch(_0xc32420){case 0x0:{let _0x2571b7=_0x2cfd82;switch(_0x5ead62){case'bigint':_0xc32420=0x8,_0x2571b7=_0x2cfd82['toString']();break;case'function':case'symbol':if(_0x23b418)throw new TypeError('unable\x20to\x20serialize\x20'+_0x5ead62);_0x2571b7=null;break;case'undefined':return _0x117181([-0x1],_0x2cfd82);}return _0x117181([_0xc32420,_0x2571b7],_0x2cfd82);}case 0x1:{if(_0x5ead62){let _0x5d62e8=_0x2cfd82;return'DataView'===_0x5ead62?_0x5d62e8=new Uint8Array(_0x2cfd82['buffer']):'ArrayBuffer'===_0x5ead62&&(_0x5d62e8=new Uint8Array(_0x2cfd82)),_0x117181([_0x5ead62,[..._0x5d62e8]],_0x2cfd82);}const _0x44588b=[],_0xda81c4=_0x117181([_0xc32420,_0x44588b],_0x2cfd82);for(const _0x16b24b of _0x2cfd82)_0x44588b['push'](_0xe39181(_0x16b24b));return _0xda81c4;}case 0x2:{if(_0x5ead62)switch(_0x5ead62){case'BigInt':return _0x117181([_0x5ead62,_0x2cfd82['toString']()],_0x2cfd82);case'Boolean':case'Number':case'String':return _0x117181([_0x5ead62,_0x2cfd82['valueOf']()],_0x2cfd82);}if(_0xf3624b&&'toJSON'in _0x2cfd82)return _0xe39181(_0x2cfd82['toJSON']());const _0x45cdee=[],_0x2eeb52=_0x117181([_0xc32420,_0x45cdee],_0x2cfd82);for(const _0x3a3e83 of op(_0x2cfd82))!_0x23b418&&cp(ap(_0x2cfd82[_0x3a3e83]))||_0x45cdee['push']([_0xe39181(_0x3a3e83),_0xe39181(_0x2cfd82[_0x3a3e83])]);return _0x2eeb52;}case 0x3:return _0x117181([_0xc32420,_0x2cfd82['toISOString']()],_0x2cfd82);case 0x4:{const {source:_0x2b2ec5,flags:_0x372ec8}=_0x2cfd82;return _0x117181([_0xc32420,{'source':_0x2b2ec5,'flags':_0x372ec8}],_0x2cfd82);}case 0x5:{const _0x5512b3=[],_0x32ebdf=_0x117181([_0xc32420,_0x5512b3],_0x2cfd82);for(const [_0x2ee99,_0x296b7a]of _0x2cfd82)(_0x23b418||!cp(ap(_0x2ee99))&&!cp(ap(_0x296b7a)))&&_0x5512b3['push']([_0xe39181(_0x2ee99),_0xe39181(_0x296b7a)]);return _0x32ebdf;}case 0x6:{const _0x39433e=[],_0x2b5a96=_0x117181([_0xc32420,_0x39433e],_0x2cfd82);for(const _0x35e53c of _0x2cfd82)!_0x23b418&&cp(ap(_0x35e53c))||_0x39433e['push'](_0xe39181(_0x35e53c));return _0x2b5a96;}}const {message:_0xcfedde}=_0x2cfd82;return _0x117181([_0xc32420,{'name':_0x5ead62,'message':_0xcfedde}],_0x2cfd82);};return _0xe39181;})(!(_0x1b7164||_0x3d6047),!!_0x1b7164,new Map(),_0x5701b6)(_0x50870f),_0x5701b6;};var hp='function'==typeof structuredClone?(_0x29d7ac,_0x184ef8)=>_0x184ef8&&('json'in _0x184ef8||'lossy'in _0x184ef8)?sp(lp(_0x29d7ac,_0x184ef8)):structuredClone(_0x29d7ac):(_0x258e3f,_0x1126ad)=>sp(lp(_0x258e3f,_0x1126ad));const up=fp('end'),dp=fp('start');function fp(_0x5204ac){return function(_0xa44cc6){const _0x42993f=_0xa44cc6&&_0xa44cc6['position']&&_0xa44cc6['position'][_0x5204ac]||{};if('number'==typeof _0x42993f['line']&&_0x42993f['line']>0x0&&'number'==typeof _0x42993f['column']&&_0x42993f['column']>0x0)return{'line':_0x42993f['line'],'column':_0x42993f['column'],'offset':'number'==typeof _0x42993f['offset']&&_0x42993f['offset']>-0x1?_0x42993f['offset']:void 0x0};};}const mp=['ariaDescribedBy','ariaLabel','ariaLabelledBy'],pp={'ancestors':{'tbody':['table'],'td':['table'],'th':['table'],'thead':['table'],'tfoot':['table'],'tr':['table']},'attributes':{'a':[...mp,'dataFootnoteBackref','dataFootnoteRef',['className','data-footnote-backref'],'href'],'blockquote':['cite'],'code':[['className',/^language-./]],'del':['cite'],'div':['itemScope','itemType'],'dl':[...mp],'h2':[['className','sr-only']],'img':[...mp,'longDesc','src'],'input':[['disabled',!0x0],['type','checkbox']],'ins':['cite'],'li':[['className','task-list-item']],'ol':[...mp,['className','contains-task-list']],'q':['cite'],'section':['dataFootnotes',['className','footnotes']],'source':['srcSet'],'summary':[...mp],'table':[...mp],'ul':[...mp,['className','contains-task-list']],'*':['abbr','accept','acceptCharset','accessKey','action','align','alt','axis','border','cellPadding','cellSpacing','char','charOff','charSet','checked','clear','colSpan','color','cols','compact','coords','dateTime','dir','encType','frame','hSpace','headers','height','hrefLang','htmlFor','id','isMap','itemProp','label','lang','maxLength','media','method','multiple','name','noHref','noShade','noWrap','open','prompt','readOnly','rev','rowSpan','rows','rules','scope','selected','shape','size','span','start','summary','tabIndex','title','useMap','vAlign','value','width']},'clobber':['ariaDescribedBy','ariaLabelledBy','id','name'],'clobberPrefix':'user-content-','protocols':{'cite':['http','https'],'href':['http','https','irc','ircs','mailto','xmpp'],'longDesc':['http','https'],'src':['http','https']},'required':{'input':{'disabled':!0x0,'type':'checkbox'}},'strip':['script'],'tagNames':['a','b','blockquote','br','code','dd','del','details','div','dl','dt','em','h1','h2','h3','h4','h5','h6','hr','i','img','input','ins','kbd','li','ol','p','picture','pre','q','rp','rt','ruby','s','samp','section','source','span','strike','strong','sub','summary','sup','table','tbody','td','tfoot','th','thead','tr','tt','ul','var']},gp={}['hasOwnProperty'];function Op(_0x2790a9,_0x4bad7c){if(_0x4bad7c&&'object'==typeof _0x4bad7c){const _0x4d9af1=_0x4bad7c;switch('string'==typeof _0x4d9af1['type']?_0x4d9af1['type']:''){case'comment':return function(_0x511bda,_0x536968){if(_0x511bda['schema']['allowComments']){const _0x12e5a2='string'==typeof _0x536968['value']?_0x536968['value']:'',_0x19bdb9=_0x12e5a2['indexOf']('-->'),_0x6d61f2={'type':'comment','value':_0x19bdb9<0x0?_0x12e5a2:_0x12e5a2['slice'](0x0,_0x19bdb9)};return vp(_0x6d61f2,_0x536968),_0x6d61f2;}}(_0x2790a9,_0x4d9af1);case'doctype':return function(_0x642352,_0x216380){if(_0x642352['schema']['allowDoctypes']){const _0x118b00={'type':'doctype'};return vp(_0x118b00,_0x216380),_0x118b00;}}(_0x2790a9,_0x4d9af1);case'element':return function(_0x4a0f1b,_0x1c6830){const _0x2eb869='string'==typeof _0x1c6830['tagName']?_0x1c6830['tagName']:'';_0x4a0f1b['stack']['push'](_0x2eb869);const _0x502301=wp(_0x4a0f1b,_0x1c6830['children']),_0x229762=function(_0x550d9f,_0x2720ac){const _0x12ebc3=_0x550d9f['stack'][_0x550d9f['stack']['length']-0x1],_0x29354b=_0x550d9f['schema']['attributes'],_0x2af214=_0x550d9f['schema']['required'],_0x3e07db=_0x29354b&&gp['call'](_0x29354b,_0x12ebc3)?_0x29354b[_0x12ebc3]:void 0x0,_0x361ec5=_0x29354b&&gp['call'](_0x29354b,'*')?_0x29354b['*']:void 0x0,_0x34eff3=_0x2720ac&&'object'==typeof _0x2720ac?_0x2720ac:{},_0x4153d3={};let _0x2398ea;for(_0x2398ea in _0x34eff3)if(gp['call'](_0x34eff3,_0x2398ea)){const _0x31233f=_0x34eff3[_0x2398ea];let _0x2ced9b=bp(_0x550d9f,_p(_0x3e07db,_0x2398ea),_0x2398ea,_0x31233f);null==_0x2ced9b&&(_0x2ced9b=bp(_0x550d9f,_p(_0x361ec5,_0x2398ea),_0x2398ea,_0x31233f)),null!=_0x2ced9b&&(_0x4153d3[_0x2398ea]=_0x2ced9b);}if(_0x2af214&&gp['call'](_0x2af214,_0x12ebc3)){const _0x4f2985=_0x2af214[_0x12ebc3];for(_0x2398ea in _0x4f2985)gp['call'](_0x4f2985,_0x2398ea)&&!gp['call'](_0x4153d3,_0x2398ea)&&(_0x4153d3[_0x2398ea]=_0x4f2985[_0x2398ea]);}return _0x4153d3;}(_0x4a0f1b,_0x1c6830['properties']);_0x4a0f1b['stack']['pop']();let _0x1e1349=!0x1;if(_0x2eb869&&'*'!==_0x2eb869&&(!_0x4a0f1b['schema']['tagNames']||_0x4a0f1b['schema']['tagNames']['includes'](_0x2eb869))&&(_0x1e1349=!0x0,_0x4a0f1b['schema']['ancestors']&&gp['call'](_0x4a0f1b['schema']['ancestors'],_0x2eb869))){const _0x2c3b5d=_0x4a0f1b['schema']['ancestors'][_0x2eb869];let _0x581dc9=-0x1;for(_0x1e1349=!0x1;++_0x581dc9<_0x2c3b5d['length'];)_0x4a0f1b['stack']['includes'](_0x2c3b5d[_0x581dc9])&&(_0x1e1349=!0x0);}if(!_0x1e1349)return _0x4a0f1b['schema']['strip']&&!_0x4a0f1b['schema']['strip']['includes'](_0x2eb869)?_0x502301:void 0x0;const _0x598540={'type':'element','tagName':_0x2eb869,'properties':_0x229762,'children':_0x502301};return vp(_0x598540,_0x1c6830),_0x598540;}(_0x2790a9,_0x4d9af1);case'root':return function(_0x4040f0,_0x5288bc){const _0x3a4961={'type':'root','children':wp(_0x4040f0,_0x5288bc['children'])};return vp(_0x3a4961,_0x5288bc),_0x3a4961;}(_0x2790a9,_0x4d9af1);case'text':return function(_0xfd028f,_0x47e5e9){const _0xe5a90={'type':'text','value':'string'==typeof _0x47e5e9['value']?_0x47e5e9['value']:''};return vp(_0xe5a90,_0x47e5e9),_0xe5a90;}(0x0,_0x4d9af1);}}}function wp(_0x4b92ae,_0x24a3b2){const _0x4b4d8a=[];if(Array['isArray'](_0x24a3b2)){const _0x5934d5=_0x24a3b2;let _0x12b97a=-0x1;for(;++_0x12b97a<_0x5934d5['length'];){const _0x234f82=Op(_0x4b92ae,_0x5934d5[_0x12b97a]);_0x234f82&&(Array['isArray'](_0x234f82)?_0x4b4d8a['push'](..._0x234f82):_0x4b4d8a['push'](_0x234f82));}}return _0x4b4d8a;}function bp(_0xc4f815,_0x5bcf5f,_0x5bf6ad,_0x4c4ae8){return _0x5bcf5f?Array['isArray'](_0x4c4ae8)?function(_0x6c64d7,_0x1fcc6a,_0x3cf671,_0x66f4f3){let _0x2e7a3f=-0x1;const _0x31a558=[];for(;++_0x2e7a3f<_0x66f4f3['length'];){const _0x1c59bd=yp(_0x6c64d7,_0x1fcc6a,_0x3cf671,_0x66f4f3[_0x2e7a3f]);'number'!=typeof _0x1c59bd&&'string'!=typeof _0x1c59bd||_0x31a558['push'](_0x1c59bd);}return _0x31a558;}(_0xc4f815,_0x5bcf5f,_0x5bf6ad,_0x4c4ae8):yp(_0xc4f815,_0x5bcf5f,_0x5bf6ad,_0x4c4ae8):void 0x0;}function yp(_0x3fe46a,_0x4c95df,_0x15f6a3,_0x3cd483){if(('boolean'==typeof _0x3cd483||'number'==typeof _0x3cd483||'string'==typeof _0x3cd483)&&function(_0x537116,_0x2c2f33,_0x1a7a22){const _0x132473=_0x537116['schema']['protocols']&&gp['call'](_0x537116['schema']['protocols'],_0x2c2f33)?_0x537116['schema']['protocols'][_0x2c2f33]:void 0x0;if(!_0x132473||0x0===_0x132473['length'])return!0x0;const _0x55d9aa=String(_0x1a7a22),_0x567467=_0x55d9aa['indexOf'](':'),_0x2e9276=_0x55d9aa['indexOf']('?'),_0x16d5c2=_0x55d9aa['indexOf']('#'),_0x268269=_0x55d9aa['indexOf']('/');if(_0x567467<0x0||_0x268269>-0x1&&_0x567467>_0x268269||_0x2e9276>-0x1&&_0x567467>_0x2e9276||_0x16d5c2>-0x1&&_0x567467>_0x16d5c2)return!0x0;let _0xcbf5f6=-0x1;for(;++_0xcbf5f6<_0x132473['length'];){const _0x1fcd04=_0x132473[_0xcbf5f6];if(_0x567467===_0x1fcd04['length']&&_0x55d9aa['slice'](0x0,_0x1fcd04['length'])===_0x1fcd04)return!0x0;}return!0x1;}(_0x3fe46a,_0x15f6a3,_0x3cd483)){if('object'==typeof _0x4c95df&&_0x4c95df['length']>0x1){let _0xadf04c=!0x1,_0x1655f9=0x0;for(;++_0x1655f9<_0x4c95df['length'];){const _0x374337=_0x4c95df[_0x1655f9];if(_0x374337&&'object'==typeof _0x374337&&'flags'in _0x374337){if(_0x374337['test'](String(_0x3cd483))){_0xadf04c=!0x0;break;}}else{if(_0x374337===_0x3cd483){_0xadf04c=!0x0;break;}}}if(!_0xadf04c)return;}return _0x3fe46a['schema']['clobber']&&_0x3fe46a['schema']['clobberPrefix']&&_0x3fe46a['schema']['clobber']['includes'](_0x15f6a3)?_0x3fe46a['schema']['clobberPrefix']+_0x3cd483:_0x3cd483;}}function vp(_0x486b23,_0x5b5b58){const _0x480fbd=function(_0x32277d){const _0x53d7cd=dp(_0x32277d),_0x4aafef=up(_0x32277d);if(_0x53d7cd&&_0x4aafef)return{'start':_0x53d7cd,'end':_0x4aafef};}(_0x5b5b58);_0x5b5b58['data']&&(_0x486b23['data']=hp(_0x5b5b58['data'])),_0x480fbd&&(_0x486b23['position']=_0x480fbd);}function _p(_0x27de34,_0x3fd141){let _0x244c16,_0x3be4a1=-0x1;if(_0x27de34)for(;++_0x3be4a1<_0x27de34['length'];){const _0x2e32d0=_0x27de34[_0x3be4a1],_0x3eb000='string'==typeof _0x2e32d0?_0x2e32d0:_0x2e32d0[0x0];if(_0x3eb000===_0x3fd141)return _0x2e32d0;'data*'===_0x3eb000&&(_0x244c16=_0x2e32d0);}if(_0x3fd141['length']>0x4&&'data'===_0x3fd141['slice'](0x0,0x4)['toLowerCase']())return _0x244c16;}function Ep(_0x2216ef){return function(_0x5937f3){return function(_0xc9c684,_0xf4b99){let _0x56e70c={'type':'root','children':[]};const _0x171737=Op({'schema':_0xf4b99?{...pp,..._0xf4b99}:pp,'stack':[]},_0xc9c684);return _0x171737&&(Array['isArray'](_0x171737)?0x1===_0x171737['length']?_0x56e70c=_0x171737[0x0]:_0x56e70c['children']=_0x171737:_0x56e70c=_0x171737),_0x56e70c;}(_0x5937f3,_0x2216ef);};}const Tp=/* #__PURE__ -- @preserve */
_0x5b14e3();var Ap=class extends Tp{['_m2html'];constructor(){super();const _0x39ddc8=Object['entries'](_0x58a61b),_0x44bb57=_0x39ddc8['findIndex'](([_0x4a8a0f])=>'rehypeDomRaw'===_0x4a8a0f);if(-0x1===_0x44bb57)throw new _0x5b5a95('ai-response-parser-unable-to-set-up-parser');_0x39ddc8['splice'](_0x44bb57+0x1,0x0,['rehypeSanitize',Ep]),this['_m2html']=new _0x109837({'plugins':Object['fromEntries'](_0x39ddc8)});}['convertMarkdownToHTML'](_0x5af64d){const _0x4db80e=this['_m2html']['parse'](_0x5af64d);return this['parseAndNormalizeHTML'](_0x4db80e);}['parseAndNormalizeHTML'](_0x3f00d1){return this['_parseHTML'](_0x3f00d1);}['_parseHTML'](_0x2df977){const _0x495704=Dm('<dummy>'+_0x2df977['replace'](/<[^>]*?$/g,'')+'</dummy>');return Sp(_0x495704),_0x495704['children']=_0x495704['children'][0x0]['children'],_0x495704;}};function Sp(_0xf9916){for(const _0x2abff0 of _0xf9916['children'])im(_0x2abff0)?'pre'!==_0x2abff0['name']&&Sp(_0x2abff0):sm(_0x2abff0)&&(_0x2abff0['data']=_0x2abff0['data']['replace'](/^\t+/gm,'\x20')['replace'](/\n*/g,'')['replace'](/[ \t\r\f\v]+/g,'\x20'));}function Ip({changeGroups:_0x2dc03e,documentContextContent:_0xe66d3c,showDiff:_0x15e49e,trimUnchanged:_0x1bc1aa=!0x0}){return _0x2dc03e['map'](_0x45a321=>{if(!_0x45a321['editor']||'destroyed'===_0x45a321['editor']['state'])return null;if(!_0x411020(_0x45a321['editor'],_0x45a321['rootName']))return{'type':_0x45a321['changes'][0x0]['type'],'index':_0x45a321['index'],'content':new tm([]),'hasChanges':!0x1};const _0x414886=new tm([]),_0x5b9ab3=new tm([]),_0x1080b9=new Set();for(const _0x56cf3f of _0x45a321['changes'])'new'==_0x56cf3f['type']&&Um('data-id',null,_0x56cf3f['node'])['forEach'](_0x432890=>{_0x1080b9['add'](Fm(_0x432890,'data-id'));});for(const _0x33ac17 of _0x45a321['changes'])if('removed'!=_0x33ac17['type']?_0x5b9ab3['children']['push'](_0x33ac17['node']['cloneNode'](!0x0)):_0x15e49e||_0x1080b9['has'](_0x33ac17['id'])||_0x5b9ab3['children']['push'](_0x33ac17['node']['cloneNode'](!0x0)),'new'!=_0x33ac17['type']&&(_0x15e49e||'removed'!=_0x33ac17['type'])){const _0x3a81d6=Lm(_0x2241ab=>Fm(_0x2241ab,'data-id')==_0x33ac17['id'],_0xe66d3c['get'](_0x45a321['documentId']),!0x0);_0x3a81d6&&_0x414886['children']['push'](_0x3a81d6['cloneNode'](!0x0));}let _0x26512f,_0x36236d;try{({content:_0x26512f,hasChanges:_0x36236d}=kp(_0x45a321['editor'],_0x414886,_0x5b9ab3,_0x15e49e,_0x1bc1aa));}catch{return{'type':_0x45a321['changes'][0x0]['type'],'index':_0x45a321['index'],'content':new tm([]),'hasChanges':!0x1};}return{'type':_0x45a321['changes'][0x0]['type'],'index':_0x45a321['index'],'content':_0x26512f,'hasChanges':_0x36236d};})['filter'](_0x11073f=>null!==_0x11073f);}function kp(_0x27ec50,_0x30cad2,_0x21ddeb,_0x5dab28,_0x2f7f8b=!0x0){const _0x45c0a0=_0x27ec50['plugins']['get']('DocumentCompare'),_0x409402=Qm(_0x30cad2),_0x3fd9f0=Qm(_0x21ddeb),_0x13b5ba=_0x27ec50['data']['parse'](_0x409402,'$root'),_0x3e337b=_0x27ec50['model']['createPositionAt'](_0x13b5ba,0x0),_0x202fab=_0x45c0a0['getDiff'](_0x409402,_0x3fd9f0,{'anchor':_0x3e337b,'markDeletions':_0x5dab28,'targetEditor':_0x27ec50})['getOperations']();if(0x0==_0x202fab['length'])return{'content':_0x30cad2['cloneNode'](!0x0),'hasChanges':!0x1};if(_0x5dab28?function(_0x29426f,_0x53e507,_0x273df9){if(0x0==_0x29426f['length'])return;const _0x2ea5d3=_0x273df9['plugins']['get']('DocumentCompare'),_0x34c70e=_0x273df9['plugins']['get']('SuggestionsConversion');_0x273df9['model']['change'](_0xd83a7f=>{const _0x556b8a=new Set();for(let _0x1b224f=0x0;_0x1b224f<_0x29426f['length'];_0x1b224f++){const _0x8af9db=_0x29426f[_0x1b224f];if(_0x8af9db['baseVersion']=null,_0x8af9db['isDocumentOperation']=!0x1,_0x2ea5d3['isMarkedRemoveOperation'](_0x8af9db)){const _0x58557f=va(_0x8af9db['newRange'],_0x273df9['model']),_0x1b6cea='suggestion:deletion:'+_0x10825a()+':$aiSuggestion';_0x53e507['markers']['set'](_0x1b6cea,_0x58557f);}else switch(_0x8af9db['type']){case'rename':{if(_0x8af9db['oldName']==_0x8af9db['newName'])break;_0xd83a7f['batch']['addOperation'](_0x8af9db),_0x273df9['model']['applyOperation'](_0x8af9db);const _0x10e646='$elementName',_0x155c6e=_0x8af9db['position'],_0x5ca93f=_0x273df9['model']['createRange'](_0x155c6e,_0x273df9['model']['createPositionAt'](_0x155c6e['nodeAfter'],'end')),_0x32538a='suggestion:attribute:'+_0x10e646+':'+_0x10825a()+':$aiSuggestion';_0x53e507['markers']['set'](_0x32538a,_0x5ca93f);break;}case'addAttribute':case'removeAttribute':case'changeAttribute':{if(_0x8af9db['oldValue']==_0x8af9db['newValue'])break;_0xd83a7f['batch']['addOperation'](_0x8af9db),_0x273df9['model']['applyOperation'](_0x8af9db);const _0x16ae46=_0x8af9db['key'];if(!_0x34c70e['isRegisteredAttribute'](_0x16ae46))break;const _0x467c4b=va(_0x8af9db['range'],_0x273df9['model']),_0x5ba476='suggestion:attribute:'+_0x16ae46+':'+_0x10825a()+':$aiSuggestion';_0x53e507['markers']['set'](_0x5ba476,_0x467c4b);break;}case'insert':{if(_0xd83a7f['batch']['addOperation'](_0x8af9db),_0x273df9['model']['applyOperation'](_0x8af9db),xp(_0x53e507,_0x8af9db),_0x29426f[_0x1b224f+0x1]&&'move'==_0x29426f[_0x1b224f+0x1]['type'])break;const _0x33f2fc=_0x8af9db['position'],_0x1fbf8e=_0x8af9db['howMany'],_0x4a30f2=va(_0x273df9['model']['createRange'](_0x33f2fc,_0x33f2fc['getShiftedBy'](_0x1fbf8e)),_0x273df9['model']),_0x1f51bb='suggestion:insertion:'+_0x10825a()+':$aiSuggestion';_0x53e507['markers']['set'](_0x1f51bb,_0x4a30f2);break;}case'split':{_0xd83a7f['batch']['addOperation'](_0x8af9db),_0x273df9['model']['applyOperation'](_0x8af9db),xp(_0x53e507,_0x8af9db);const _0x5018f0=_0x8af9db['splitPosition'],_0x10269b=_0x8af9db['moveTargetPosition'],_0x15e0c6=_0x273df9['model']['createRange'](_0x5018f0,_0x10269b),_0x2626c5='suggestion:insertion:'+_0x10825a()+':$aiSuggestion';_0x53e507['markers']['set'](_0x2626c5,_0x15e0c6);break;}case'move':{_0xd83a7f['batch']['addOperation'](_0x8af9db),_0x273df9['model']['applyOperation'](_0x8af9db),xp(_0x53e507,_0x8af9db);const _0x1b965d=_0x8af9db['getMovedRangeStart'](),_0x4b531f=_0x8af9db['howMany'];for(let _0xbd92c8=0x0;_0xbd92c8<_0x4b531f;_0xbd92c8++){const _0x3b64c8=_0x1b965d['getShiftedBy'](_0xbd92c8)['nodeAfter'];_0x556b8a['add'](_0x3b64c8);}break;}case'remove':{const _0xe7c8a0=_0x8af9db['sourcePosition'],_0x146a58=_0x8af9db['howMany'],_0x303872=new tn(_0xe7c8a0,_0x146a58);_0xd83a7f['batch']['addOperation'](_0x303872),_0x273df9['model']['applyOperation'](_0x303872),xp(_0x53e507,_0x8af9db);break;}}}for(const _0x5d4733 of _0x556b8a){const _0x478a3b=_0x273df9['model']['createRangeOn'](_0x5d4733),_0x13631b='suggestion:formatBlock:$fakeWrap:'+_0x10825a()+':$aiSuggestion';_0x53e507['markers']['set'](_0x13631b,va(_0x478a3b,_0x273df9['model']));}});}(_0x202fab,_0x13b5ba,_0x27ec50):_0x27ec50['model']['change'](_0x225a35=>{for(const _0x168f67 of _0x202fab)if('remove'==_0x168f67['type']){const _0x1a5834=_0x168f67['sourcePosition'],_0x5342fa=_0x168f67['howMany'],_0x465773=new tn(_0x1a5834,_0x5342fa);_0x225a35['batch']['addOperation'](_0x465773),_0x27ec50['model']['applyOperation'](_0x465773),xp(_0x13b5ba,_0x168f67);}else{if('marker'==_0x168f67['type']){const _0x46a6fc=_0x168f67['name'],_0x1a1269=_0x168f67['newRange'];null!==_0x1a1269?_0x13b5ba['markers']['set'](_0x46a6fc,_0x1a1269):_0x13b5ba['markers']['delete'](_0x46a6fc);}else _0x168f67['baseVersion']=null,_0x168f67['isDocumentOperation']=!0x1,_0x225a35['batch']['addOperation'](_0x168f67),_0x27ec50['model']['applyOperation'](_0x168f67),xp(_0x13b5ba,_0x168f67);}}),_0x2f7f8b){const _0x15495b=Cp(_0x27ec50,_0x202fab,_0x13b5ba);Pp(_0x27ec50['model'],_0x15495b),function(_0x5ee933,_0xcb6f5b){const _0x79aeb4=_0xcb6f5b['getFirstRange']()['start'];let _0x33ba15=_0xcb6f5b['getFirstRange']()['end'];const _0x5d54ad=_0x79aeb4['root'];(_0x33ba15['textNode']||_0x33ba15['nodeAfter']&&_0x33ba15['nodeAfter']['is']('$text'))&&(_0x3c5016(_0x33ba15,'...'),Lp(_0x5d54ad,_0x33ba15,0x3),_0x33ba15=_0x33ba15['getShiftedBy'](0x3)),(_0x79aeb4['textNode']||_0x79aeb4['nodeBefore']&&_0x79aeb4['nodeBefore']['is']('$text'))&&(_0x3c5016(_0x79aeb4,'...'),Lp(_0x5d54ad,_0x79aeb4,0x3),_0x79aeb4['parent']==_0x33ba15['parent']&&(_0x33ba15=_0x33ba15['getShiftedBy'](0x3)));const _0x4e5e0f=_0x5ee933['createRange'](_0x5ee933['createPositionAt'](_0x5d54ad,0x0),_0x79aeb4),_0xaf24ca=_0x5ee933['createRange'](_0x33ba15,_0x5ee933['createPositionAt'](_0x5d54ad,'end')),_0x3c5eaf=[..._0x4e5e0f['getMinimalFlatRanges'](),..._0xaf24ca['getMinimalFlatRanges']()];_0x3c5eaf['reverse']();for(const _0x59f866 of _0x3c5eaf)_0xf6af56(_0x59f866),Np(_0x5d54ad,_0x59f866);}(_0x27ec50['model'],_0x15495b);}return{'content':Dm(_0x27ec50['data']['stringify'](_0x13b5ba,{'showSuggestionHighlights':!0x0})),'hasChanges':!0x0};}function xp(_0x4e0a9f,_0x56211f){for(const [_0x346a64,_0x5188da]of _0x4e0a9f['markers']){const _0x4c5bc8=_0x1a83e1['_createFromRanges'](_0x5188da['getTransformedByOperation'](_0x56211f));_0x4c5bc8['root']==_0x4e0a9f?_0x4e0a9f['markers']['set'](_0x346a64,_0x4c5bc8):_0x4e0a9f['markers']['delete'](_0x346a64);}}function Cp(_0x29476a,_0x410d5a,_0x4da4c2){const _0x1bea7b=_0x29476a['plugins']['get']('DocumentCompare');let _0x5379a5=_0x29476a['model']['createPositionAt'](_0x4da4c2,Number['POSITIVE_INFINITY']),_0x223897=_0x29476a['model']['createPositionAt'](_0x4da4c2,0x0);for(const _0x230591 of _0x410d5a){let _0xbf13e1,_0x77a859;if(_0x1bea7b['isMarkedRemoveOperation'](_0x230591))_0xbf13e1=_0x230591['newRange']['start'],_0x77a859=_0x230591['newRange']['end'];else switch(_0x5379a5=Rp(_0x5379a5,_0x230591),_0x223897=Rp(_0x223897,_0x230591),_0x230591['type']){case'rename':_0xbf13e1=_0x230591['position'],_0x77a859=_0xbf13e1['getShiftedBy'](0x1);break;case'addAttribute':case'removeAttribute':case'changeAttribute':_0xbf13e1=_0x230591['range']['start'],_0x77a859=_0x230591['range']['end'];break;case'insert':_0xbf13e1=_0x230591['position'],_0x77a859=_0xbf13e1['getShiftedBy'](_0x230591['howMany']);break;case'split':_0xbf13e1=_0x230591['splitPosition'],_0x77a859=_0x230591['moveTargetPosition'];break;case'merge':{const _0x4e2c02=_0x230591['targetPosition']['path']['slice'](0x0,-0x1);_0xbf13e1=_0x29476a['model']['createPositionFromPath'](_0x4da4c2,_0x4e2c02),_0x77a859=_0xbf13e1['getShiftedBy'](0x1);break;}case'move':case'remove':{const _0x4faf65=_0x230591['howMany'],_0x38d255=_0x230591['sourcePosition']['_getTransformedByInsertion'](_0x230591['targetPosition'],_0x4faf65),_0x58c01b=_0x230591['getMovedRangeStart']();'remove'==_0x230591['type']?(_0xbf13e1=_0x38d255,_0x77a859=_0x38d255):(_0xbf13e1=_0x58c01b,_0x77a859=_0x58c01b['getShiftedBy'](_0x4faf65));break;}}_0xbf13e1&&_0xbf13e1['isBefore'](_0x5379a5)&&(_0x5379a5=_0xbf13e1['clone'](),_0x5379a5['stickiness']='toNone'),_0x77a859&&_0x77a859['isAfter'](_0x223897)&&(_0x223897=_0x77a859['clone'](),_0x223897['stickiness']='toNone');}return _0x29476a['model']['createSelection'](_0x29476a['model']['createRange'](_0x5379a5,_0x223897));}function Rp(_0x1a508f,_0x171758){return'move'!=_0x171758['type']&&'remove'!=_0x171758['type']||_0x171758['sourceRange']['containsPosition'](_0x1a508f)&&((_0x1a508f=_0x171758['sourcePosition']['clone']())['stickiness']='toNone'),_0x1a508f['getTransformedByOperation'](_0x171758);}function Pp(_0x11a55f,_0x351805){Mp(_0x11a55f,_0x351805,'forward');const _0x16ea09=_0x351805['getFirstRange']();_0x351805['setTo']([]),_0x351805['setTo'](_0x16ea09,{'backward':!0x0}),Mp(_0x11a55f,_0x351805,'backward');}function Mp(_0x3b0c36,_0x5f5046,_0x49a90c){let _0x4d0074=0x14;for(;_0x4d0074;){_0x3b0c36['modifySelection'](_0x5f5046,{'unit':'word','direction':_0x49a90c}),_0x4d0074--;const _0x5c2ea3=_0x5f5046['focus']['forward'==_0x49a90c?'nodeBefore':'nodeAfter'];if(_0x5c2ea3&&_0x5c2ea3['is']('element')&&_0x3b0c36['schema']['isBlock'](_0x5c2ea3)&&_0x3b0c36['schema']['isObject'](_0x5c2ea3))break;}}function Np(_0x345aa4,_0x589772){for(const [_0x1100f2,_0x2ab325]of _0x345aa4['markers']){const _0x31a269=_0x2ab325['_getTransformedByDeletion'](_0x589772['start'],_0x589772['end']['offset']-_0x589772['start']['offset']);null!=_0x31a269?_0x345aa4['markers']['set'](_0x1100f2,_0x31a269):_0x345aa4['markers']['delete'](_0x1100f2);}}function Lp(_0x14cf20,_0x15c8ad,_0x4948b5){for(let [_0x402b73,_0x28c516]of _0x14cf20['markers'])_0x28c516=_0x28c516['_getTransformedByInsertion'](_0x15c8ad,_0x4948b5,!0x1)[0x0],_0x14cf20['markers']['set'](_0x402b73,_0x28c516);}const $p=/* #__PURE__ -- @preserve */
_0x3cd689();var Dp=class extends $p{['_connector'];['_config'];['_locale'];['_modelList']=[];['_modelsRequest']=null;constructor({connector:_0x14e8ea,config:_0x44fe08,locale:_0xe12626}){super(),this['_connector']=_0x14e8ea,this['_config']=_0x44fe08,this['_locale']=_0xe12626;}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 _0x59c3ea=await this['getAll']();let _0x2e50c5;return _0x2e50c5=this['_availableModels']?this['_filterModels'](_0x59c3ea,this['_availableModels']):_0x59c3ea['filter'](_0x387d5e=>_0x387d5e['recommended']),_0x2e50c5;}async['getModel'](_0x2dcf7b){const _0x58cad9=await this['getAll']();if(!_0x58cad9['length'])return null;if(_0x2dcf7b){const _0x356761=this['_getModelById'](_0x58cad9,_0x2dcf7b);if(_0x356761)return _0x356761;_0x43c457('ai-chat-model-id-unrecognized',{'modelId':_0x2dcf7b,'fallBackModelId':this['_defaultModelId']});}return this['getDefault']();}async['getDefault'](){const _0x47a25a=await this['getAvailableModels']();if(!_0x47a25a['length'])return null;if(this['_defaultModelId']){const _0x1d0af9=this['_getModelById'](_0x47a25a,this['_defaultModelId']);if(_0x1d0af9)return _0x1d0af9;_0x43c457('ai-chat-default-model-id-unrecognized',{'defaultModelId':this['_defaultModelId'],'fallBackModelId':_0x47a25a[0x0]['id']});}return _0x47a25a[0x0];}async['isAvailable'](_0x5e2c33){return(await this['getAvailableModels']())['some'](_0x53027d=>_0x53027d['name']===_0x5e2c33['name']&&_0x53027d['provider']===_0x5e2c33['provider']);}async['_retrieveModels'](){if(!this['_modelList']['length']){const _0x16f1f9=this['_locale']['uiLanguage']||'en',_0x5a0e83=await this['_connector']['getModels'](_0x16f1f9)['list']();this['_modelList']=_0x5a0e83['items']['map'](_0x41fa1=>Qp(_0x41fa1)?{..._0x41fa1,'name':ia(this['_locale'],'AI_MODEL_NAME_AUTO')}:_0x41fa1);}return[...this['_modelList']];}['_filterModels'](_0x23ed7a,_0x1db511){let _0x31cec6;if(_0x1db511){_0x31cec6=[];const _0x2688cd=new Set(),_0x2ce4b8='string'==typeof _0x1db511?[_0x1db511['toLocaleLowerCase']()]:_0x1db511['map'](_0x330cfc=>_0x330cfc['toLocaleLowerCase']());for(const _0x53834a of _0x2ce4b8)for(const _0xafdfe4 of _0x23ed7a)!_0x2688cd['has'](_0xafdfe4['id'])&&this['_isMatchingFilter'](_0xafdfe4,_0x53834a)&&(_0x31cec6['push'](_0xafdfe4),_0x2688cd['add'](_0xafdfe4['id']));}else _0x31cec6=_0x23ed7a;return _0x31cec6;}['_isMatchingFilter'](_0x558491,_0x5aa905){const _0x4298ab=_0x558491['id']['toLocaleLowerCase'](),_0x1587fd=_0x558491['name']['toLocaleLowerCase'](),_0x3082d3=_0x558491['provider']['toLocaleLowerCase']();return _0x4298ab===_0x5aa905||_0x1587fd===_0x5aa905||Qp(_0x558491)&&'auto'===_0x5aa905||_0x3082d3===_0x5aa905||_0x4298ab['startsWith'](_0x5aa905);}['_getModelById'](_0x5edc1c,_0x2f113a){return _0x5edc1c['find'](_0x26868e=>Qp(_0x26868e)&&'auto'===_0x2f113a?_0x26868e:_0x26868e['id']===_0x2f113a)||null;}};function Qp(_0x2129ef){return _0x2129ef['id']['startsWith']('agent');}function jp(_0x28dbb9,_0xbd6a2a){for(const _0x119156 of _0x28dbb9)'noop'!==_0x119156['type']&&(_0x119156['_aiSource']=_0xbd6a2a);}var Up=class extends _0x2de7b2{static get['pluginName'](){return'AIGateway';}static get['requires'](){return[tf];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['getAvailableModels'](){return new Dp({'connector':this['context']['plugins']['get']('AIConnector'),'config':this['context']['config']['get']('ai.models'),'locale':this['context']['locale']})['getAll']();}['apply'](_0x12a2e4,_0x4e1e19){if('completed'!==_0x12a2e4['status'])throw new _0x5b5a95('ai-gateway-apply-invalid-status',this,{'status':_0x12a2e4['status']});const _0x219869=_0x12a2e4['editor'],{applyMethod:_0xf50df5}=_0x4e1e19;if('suggest'===_0xf50df5&&!_0x219869['plugins']['has']('TrackChanges'))throw new _0x5b5a95('ai-no-track-changes',this);const _0x1e98eb='suggest'===_0xf50df5,_0x57e085=this['context']['plugins']['get'](tf),_0x186acf=_0x219869['model']['createPositionAt'](_0x219869['model']['document']['getRoot'](),0x0),_0x269481=_0x57e085['getDiff'](_0x12a2e4['contentRawOld'],_0x12a2e4['contentRawNew'],{'anchor':_0x186acf,'markDeletions':_0x1e98eb,'targetEditor':_0x219869}),_0x2ae2d5=_0x219869['model']['document']['history']['getOperations'](_0x12a2e4['documentVersion']),_0x29bec5={'document':_0x219869['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1},_0x515394=_0x2283bf(_0x269481['getOperations'](),_0x2ae2d5,_0x29bec5)['operationsA'];jp(_0x515394,_0x4e1e19['aiSource']??'api'),_0x219869['model']['change'](_0x46dcfc=>{_0x1e98eb?_0x219869['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x515394):_0x57e085['applyOperations'](_0x46dcfc,_0x515394);});}['mergeChangesIntoContent'](_0x15dc39,_0x4d6dae,_0x1dcc96){const _0x3c41e9=new Ap(),_0x180b20=new Ym();let _0x1eb155=_0x3c41e9['parseAndNormalizeHTML'](_0x4d6dae);for(const _0x38036c of _0x15dc39)try{const _0x522648=_0x3c41e9['parseAndNormalizeHTML'](_0x38036c['content']);_0x1eb155=_0x180b20['merge'](_0x522648,_0x1eb155,{'cutAfterUnstable':!0x1,'replaceRemovedWith':void 0x0})['parsedContent'];}catch(_0x575e88){throw new _0x5b5a95('ai-gateway-merge-failed',this,{..._0x38036c},_0x575e88);}return kp(_0x1dcc96,_0x3c41e9['parseAndNormalizeHTML'](_0x4d6dae),_0x1eb155,!0x1,!0x1)['content'];}},Vp=class{['_editor'];['_rootName'];['_channelId'];['_sessionId'];['_documentVersion'];['_contentRawOld'];['_contentRawNew'];['_error'];['_isAborted']=!0x1;constructor(_0x1f6e7e){this['_editor']=_0x1f6e7e['editor'],this['_rootName']=_0x1f6e7e['rootName'],this['_channelId']=_0x1f6e7e['channelId'],this['_sessionId']=_0x1f6e7e['sessionId'];}get['status'](){return this['_error']?'error':this['_isAborted']?'aborted':void 0x0!==this['_contentRawNew']?'completed':'initialized';}get['editor'](){return this['_editor'];}get['rootName'](){return this['_rootName'];}get['channelId'](){return this['_channelId'];}get['sessionId'](){return this['_sessionId'];}get['documentVersion'](){return this['_documentVersion'];}set['documentVersion'](_0x105445){this['_documentVersion']=_0x105445;}get['contentRawOld'](){return this['_contentRawOld'];}set['contentRawOld'](_0x2b294e){this['_contentRawOld']=_0x2b294e;}get['contentRawNew'](){return this['_contentRawNew'];}set['contentRawNew'](_0xe27eb0){this['_contentRawNew']=_0xe27eb0;}get['contentOld'](){return this['_dropDataIds'](this['_contentRawOld']||'');}get['contentNew'](){return this['_dropDataIds'](this['_contentRawNew']||'');}get['error'](){return this['_error'];}set['error'](_0x4439e4){this['_error']=_0x4439e4;}['abort'](){this['_isAborted']=!0x0;}['_dropDataIds'](_0x5ee764){return _0x5ee764['replace'](/ data-id="[a-z0-9]+"/g,'');}},Bp=class extends Vp{['_summary']='';get['summary'](){return this['_summary'];}set['summary'](_0x9dd0ae){this['_summary']=_0x9dd0ae;}},Fp=class extends _0x2de7b2{static get['pluginName'](){return'AIDocumentProcessingGateway';}static get['requires'](){return[ea,aa,Up];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['getAvailableModels'](){return this['context']['plugins']['get']('AIGateway')['getAvailableModels']();}async['processDocument'](_0x21372a,_0x402b1c){if(!_0x21372a)throw new _0x5b5a95('ai-documentprocessinggateway-missing-prompt',this);const _0x29cde8=await this['context']['plugins']['get'](aa)['getDocumentData']();if(!_0x29cde8[0x0])throw new _0x5b5a95('ai-documentprocessinggateway-missing-document',this);const _0x808575=new Bp({'editor':_0x29cde8[0x0]['editor'],'rootName':_0x29cde8[0x0]['rootName'],'channelId':this['context']['config']['get']('collaboration.channelId'),'sessionId':_0x29cde8[0x0]['sessionId']});if(_0x808575['contentRawOld']=_0x29cde8[0x0]['content'],_0x808575['documentVersion']=_0x29cde8[0x0]['version'],_0x402b1c?.['signal']?.['aborted'])return _0x808575['abort'](),_0x808575;const _0x54e775=this['context']['plugins']['get']('AIConnector')['processDocument']({'document':_0x808575['contentRawOld'],'prompt':_0x21372a,'model':_0x402b1c['model']});let _0x32d640;if(_0x402b1c?.['signal']){if(_0x402b1c['signal']['aborted'])return _0x54e775['abortController']['abort'](),_0x808575['abort'](),_0x808575;const _0x347d89=_0x402b1c['signal'],_0x2cf4d8=()=>_0x54e775['abortController']['abort']();_0x347d89['addEventListener']('abort',_0x2cf4d8),_0x32d640=()=>_0x347d89['removeEventListener']('abort',_0x2cf4d8);}try{const _0x263ff6=await _0x54e775['getResult']();if(!(_0x263ff6&&_0x263ff6['document']&&_0x263ff6['document']['length']>0x0))throw new _0x5b5a95('ai-documentprocessinggateway-empty-reply',this);_0x808575['contentRawNew']=_0x263ff6['document'],_0x808575['summary']=_0x263ff6['summary']||'';}catch(_0x21f472){_0x21f472 instanceof Error&&_0x21f472['message']['includes']('ai-request-aborted')?_0x808575['abort']():_0x808575['error']=_0x21f472 instanceof _0x5b5a95?_0x21f472:new _0x5b5a95('ai-documentprocessinggateway-run-failed',this,{},_0x21f472);}finally{_0x32d640&&_0x32d640();}return _0x808575;}['applyResult'](_0x57707b,_0x57586a){this['context']['plugins']['get']('AIGateway')['apply'](_0x57707b,_0x57586a);}};function Hp(_0x5f013c){return _0x5f013c instanceof Error&&('AbortError'===_0x5f013c['name']||('AICoreError'===_0x5f013c['name']?!0x0===_0x5f013c['isAbort']:_0x5f013c['message']['startsWith']('ai-request-aborted')));}var Zp=class extends Error{['code'];['severity'];['type'];['context'];['isAbort'];constructor(_0xf7a633){super(_0xf7a633['code'],_0xf7a633['cause']instanceof Error?{'cause':_0xf7a633['cause']}:void 0x0),this['name']='AICoreError',this['code']=_0xf7a633['code'],this['severity']=_0xf7a633['severity']??'error',this['type']=_0xf7a633['type']??'system',this['context']=_0xf7a633['context'],this['isAbort']=_0xf7a633['isAbort']??Hp(_0xf7a633['cause']);}},Gp=class extends _0x2de7b2{static get['pluginName'](){return'AIErrorSink';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['createReporter'](_0x7dc217){return new Xp(this,_0x7dc217);}},Xp=class{['_sink'];['_component'];constructor(_0x1d1a37,_0x3c69e7){this['_sink']=_0x1d1a37,this['_component']=_0x3c69e7;}['logError'](_0x158cd0,_0x2785fc={}){this['_emit'](_0x158cd0,_0x2785fc),this['_defaultLog'](_0x158cd0);}['reportError'](_0x47544f,_0x73a2e0={}){this['_emit'](_0x47544f,_0x73a2e0);}['_emit'](_0x3494ca,_0x3b91a1){Hp(_0x3494ca)||this['_sink']['fire']('error',{'error':_0x3494ca,'component':this['_component'],'context':_0x3b91a1['context']});}['_defaultLog'](_0x5984c0){if(!Hp(_0x5984c0)){if(_0x5984c0 instanceof Zp){if('user'===_0x5984c0['type']||'network'===_0x5984c0['type'])return;if('warning'===_0x5984c0['severity'])return void console['warn'](this['_component'],_0x5984c0);}console['error'](this['_component'],_0x5984c0);}}};const qp='ck-ai-button-primary',Wp='ck-ai-button-secondary',zp='ck-ai-button-tertiary';function Yp(_0x1a49fe,_0x54cabf){const _0x2c730e=new _0x47ddb0(_0x1a49fe),_0x414ce0=ia(_0x1a49fe,'AI_TABS_LABEL_MINIMIZE'),_0x57b4fe=ia(_0x1a49fe,'AI_TABS_LABEL_MAXIMIZE');return _0x2c730e['set']({'withText':!0x1,'icon':Rt,'tooltip':!0x0,'class':'ck-ai-tabs__resize\x20'+zp}),_0x2c730e['bind']('label')['to'](_0x54cabf,'isMaximized',_0x8301e3=>_0x8301e3?_0x414ce0:_0x57b4fe),_0x2c730e['bind']('icon')['to'](_0x54cabf,'isMaximized',_0x58ea44=>_0x58ea44?Pt:Rt),_0x2c730e['bind']('isOn')['to'](_0x54cabf,'isMaximized'),_0x2c730e['on']('execute',()=>{_0x54cabf['fire']('resizeTabs');}),_0x2c730e;}function Kp(_0x488048){const _0x4fa7e2=new _0x43f1f4(_0x488048);return _0x4fa7e2['attachToDom'](),_0x4fa7e2['bodyCollectionContainer']['classList']['add']('ck-ai-body'),_0x4fa7e2;}const Jp=/* #__PURE__ -- @preserve */
_0x5b14e3();var tg=class extends Jp{['id'];['interactionId'];['type'];['content']=new Map();['sources']=[];['parsedContent']=new Map();['parsedMergedContent']=new Map();['changeGroups']=[];['areActionsDisabled']=!0x1;['isFromHistory']=!0x1;['documentContextContent'];['_documentIdToSource']=new Map();['aiResponseParser'];['aiResponseApplier'];['locale'];['cachedSuggestionContentParts']={'withDiff':[],'withoutDiff':[]};constructor({type:_0x313d2f,isDone:_0x40d04c=!0x1,isComplete:_0x247a11,interactionId:_0x5ea4a1,areActionsDisabled:_0xe58a4e,isFromHistory:_0x9cb097=!0x1,documentContextContent:_0x21d369,locale:_0x4dc1ac,id:_0x33ffae,channelsToEditors:_0x5387cb}){super(),this['id']=_0x33ffae||_0x10825a(),this['interactionId']=_0x5ea4a1,this['type']=_0x313d2f,this['areActionsDisabled']=!!_0xe58a4e,this['isFromHistory']=_0x9cb097,this['locale']=_0x4dc1ac,this['aiResponseParser']=new Ap(),this['aiResponseApplier']=new Ym(),this['documentContextContent']=new Map(_0x21d369?.['map'](_0x3d9855=>[_0x3d9855['id'],Dm(_0x3d9855['content'])])||[]),this['_documentIdToSource']=new Map(_0x21d369?.['map'](_0x511414=>[_0x511414['id'],{'editor':_0x5387cb['get'](_0x511414['channelId']),'rootName':_0x511414['rootName']}])||[]),this['set']('isDone',_0x40d04c),this['set']('isComplete',_0x247a11??_0x40d04c),'text'===this['type']&&this['content']['set']('text','');}['appendContent'](_0x50982f,_0x1c07ca){const _0x169263='text'===this['type']?'text':_0x1c07ca;this['content']['has'](_0x169263)||this['content']['set'](_0x169263,''),this['content']['set'](_0x169263,this['content']['get'](_0x169263)+_0x50982f),this['onContentChange'](_0x169263);}['done'](_0x55a32b=!0x0){this['isComplete']=_0x55a32b,this['isDone']||(this['set']('isDone',!0x0),this['onContentChange']());}['destroy'](){this['stopListening']();}['setChangeGroupState'](_0x32cfa3,_0x331a43){this['changeGroups'][_0x32cfa3]['state']=_0x331a43,this['fire']('replyChangeGroupStateUpdated',{'reply':this,'index':_0x32cfa3,'state':_0x331a43});}['getContentParts']({showDiff:_0x2c544b,groupIndex:_0x5b936d}){const _0x1f686e=this['_getCachedContentParts'](_0x2c544b,_0x5b936d);if(_0x1f686e)return _0x1f686e;let _0x3d2f5c=[];if(void 0x0===_0x5b936d)_0x3d2f5c=this['changeGroups'];else{const _0x1ac619=this['changeGroups']['find'](({index:_0x3e40e5})=>_0x3e40e5===_0x5b936d);if(!_0x1ac619)throw new _0x5b5a95('ai-reply-get-content-parts-group-not-found',null,{'aiReply':this,'groupIndex':_0x5b936d});_0x3d2f5c=[_0x1ac619];}const _0x72b858=Ip({'showDiff':_0x2c544b,'changeGroups':_0x3d2f5c,'documentContextContent':this['documentContextContent']});return this['_setCachedContentParts'](_0x2c544b,_0x72b858),_0x72b858;}['_getCachedContentParts'](_0x24d9e7,_0x10937f){const _0xb7ea93=_0x24d9e7?'withDiff':'withoutDiff';if(!this['cachedSuggestionContentParts'][_0xb7ea93]['length'])return null;const _0x2b2027=this['cachedSuggestionContentParts'][_0xb7ea93];if(void 0x0===_0x10937f)return _0x2b2027['length']>0x0&&_0x2b2027['length']!==this['changeGroups']['length']?(this['_setCachedContentParts'](_0x24d9e7,null),null):Jr(_0x2b2027);{const _0x306369=_0x2b2027['find'](({index:_0x5042fe})=>_0x5042fe===_0x10937f);if(_0x306369)return[Jr(_0x306369)];}return null;}['_setCachedContentParts'](_0x64d5ed,_0x471f85){const _0xa3f5d1=_0x64d5ed?'withDiff':'withoutDiff';_0x471f85?_0x471f85['forEach'](_0x2908ff=>{const _0x294920=this['cachedSuggestionContentParts'][_0xa3f5d1],_0x42f173=_0x294920['find'](({index:_0x2a59fe})=>_0x2a59fe===_0x2908ff['index']);if(_0x42f173){const _0x4f25c5=_0x294920['indexOf'](_0x42f173);_0x294920['splice'](_0x4f25c5,0x1,_0x2908ff);}else _0x294920['push'](_0x2908ff);}):this['cachedSuggestionContentParts'][_0xa3f5d1]['length']=0x0;}['onContentChange'](_0x5a414e){if('modification'===this['type']){if(_0x5a414e)this['parsedContent']['set'](_0x5a414e,this['aiResponseParser']['parseAndNormalizeHTML'](this['content']['get'](_0x5a414e)));else{for(const [_0x3458b6,_0x8766f8]of this['content'])this['parsedContent']['set'](_0x3458b6,this['aiResponseParser']['parseAndNormalizeHTML'](_0x8766f8));}const _0x4e58ad=this['changeGroups'];for(const _0x1fdfbd of this['content']['keys']())this['updateChangeGroups'](_0x1fdfbd);const _0x3f9d73=this['_getDifferentChangeGroups'](_0x4e58ad,this['changeGroups']);(_0x3f9d73['length']||this['isDone'])&&(this['fire']('replyContentUpdated',this,_0x3f9d73),this['cachedSuggestionContentParts']['withDiff']['length']=this['cachedSuggestionContentParts']['withoutDiff']['length']=0x0);}else this['parsedContent']['set']('text',this['aiResponseParser']['convertMarkdownToHTML'](this['content']['get']('text'))),this['fire']('replyContentUpdated',this);}['_getDifferentChangeGroups'](_0x52c649,_0x4c400d){const _0x31dd25=[];for(const _0x4f22da of _0x4c400d){const _0x3fddaa=_0x52c649[_0x4f22da['index']];_0x3fddaa?_0x3fddaa['changes']['length']!==_0x4f22da['changes']['length']?_0x31dd25['push'](_0x4f22da):_0x3fddaa['changes']['forEach']((_0x1a8905,_0x18b0c5)=>{const _0x1adbba=_0x4f22da['changes'][_0x18b0c5];_0x1a8905['id']!==_0x1adbba['id']&&_0x31dd25['push'](_0x4f22da);}):_0x31dd25['push'](_0x4f22da);}return _0x31dd25;}['updateChangeGroups'](_0x4c3b10){const _0x4ca513=this['documentContextContent']['get'](_0x4c3b10),_0x39e659=this['parsedContent']['get'](_0x4c3b10);if(!_0x4ca513||!_0x39e659)return;const _0x39a704=new em('p',{},[new em('span',{'style':'color:\x20#808080;\x20font-style:\x20italic'},[new Wf(ia(this['locale'],'AI_SUGGESTION_CONTENT_PART_REMOVED'))])]),_0xfed582=this['aiResponseApplier']['merge'](_0x39e659,_0x4ca513['cloneNode'](!0x0),{'cutAfterUnstable':!this['isDone']||!this['isComplete'],'replaceRemovedWith':_0x39a704});this['parsedMergedContent']['set'](_0x4c3b10,_0xfed582['parsedContent']);let _0xba66cd=[];if($m(_0x34c361=>{const _0x3d4358=Fm(_0x34c361,'data-id');if(!_0x3d4358||!_0x394a6f(_0x3d4358))return!0x1;const _0x2a5886=[_0x34c361,...Gm(_0x34c361)]['at'](-0x2);if(_0x34c361!=_0x2a5886){const _0x10a42f=Fm(_0x2a5886,'data-id');_0x394a6f(_0x10a42f)||(_0xba66cd['push']({'node':_0x2a5886,'id':_0x10a42f,'type':'modified'}),_0xfed582['modifiedNodeIds']['push'](_0x10a42f));}else _0xfed582['modifiedNodeIds']['includes'](_0x3d4358)?_0xba66cd['push']({'node':_0x34c361,'type':'modified','id':_0x3d4358}):_0xfed582['newNodeIds']['includes'](_0x3d4358)?_0xba66cd['push']({'node':_0x34c361,'type':'new','id':_0x3d4358,'anchorId':Fm(_0x34c361['previousSibling'],'data-id')}):_0xba66cd['push']({'node':_0x34c361,'type':'removed','id':_0x3d4358});return!0x0;},this['parsedMergedContent']['get'](_0x4c3b10)),_0xba66cd=_0xba66cd['filter'](({node:_0x32e509})=>[...Gm(_0x32e509),_0x32e509]['every'](_0x3c52dd=>!Fm(_0x3c52dd,'data-unstable'))),this['changeGroups']=this['changeGroups']['filter'](_0x497364=>_0x497364['documentId']!==_0x4c3b10),0x0==_0xba66cd['length'])return;const _0x5a73bb=[[_0xba66cd[0x0]]];for(let _0x62aa19=0x1;_0x62aa19<_0xba66cd['length'];_0x62aa19++){const _0x565807=_0x5a73bb[_0x5a73bb['length']-0x1],_0x565d38=_0x565807[_0x565807['length']-0x1];_0xba66cd[_0x62aa19]['node']['previousSibling']==_0x565d38['node']&&'modified'!=_0xba66cd[_0x62aa19]['type']&&'modified'!=_0x565d38['type']?_0x565807['push'](_0xba66cd[_0x62aa19]):_0x5a73bb['push']([_0xba66cd[_0x62aa19]]);}for(const _0x1a6704 of _0x5a73bb){const _0x45d6b5=_0x1a6704[0x0],_0x452770=_0x1a6704[_0x1a6704['length']-0x1],_0x54caf4=_0x35e2c2(_0x45d6b5['node']['previousSibling']);_0x54caf4&&_0x1a6704['unshift'](_0x54caf4);const _0x1c3a78=_0x35e2c2(_0x452770['node']['nextSibling']);_0x1c3a78&&_0x1a6704['push'](_0x1c3a78);}Um('data-wrapped-id',null,this['parsedMergedContent']['get'](_0x4c3b10))['forEach'](_0x437d59=>{Hm(_0x437d59,'data-wrapped-id',null);});const _0x2e1b5d=new Map();Um('data-unwrapped-id',null,this['parsedMergedContent']['get'](_0x4c3b10))['forEach'](_0x12f088=>{const _0x2a72e7=Fm(_0x12f088,'data-unwrapped-id'),_0x221bd1=Fm(_0x12f088,'data-id');_0x2e1b5d['set'](_0x221bd1,_0x2a72e7),Hm(_0x12f088,'data-id',_0x2a72e7),Hm(_0x12f088,'data-unwrapped-id',null);});for(const _0x4fe4e2 of _0xba66cd){const _0x5110e3=_0x2e1b5d['get'](_0x4fe4e2['id']);_0x5110e3&&(_0x4fe4e2['id']=_0x5110e3);}this['changeGroups']['push'](..._0x5a73bb['map']((_0x455512,_0x1afb8e)=>({'changes':_0x455512,'state':'pending','index':_0x1afb8e,'editor':this['_documentIdToSource']['get'](_0x4c3b10)['editor'],'rootName':this['_documentIdToSource']['get'](_0x4c3b10)['rootName'],'documentId':_0x4c3b10})));const _0x3ac2e2=Array['from'](this['documentContextContent']['keys']());function _0x394a6f(_0x35ee9c){return _0xfed582['modifiedNodeIds']['includes'](_0x35ee9c)||_0xfed582['newNodeIds']['includes'](_0x35ee9c)||_0xfed582['removedNodeIds']['includes'](_0x35ee9c);}function _0x35e2c2(_0x469e16){if(_0x469e16&&Fm(_0x469e16,'data-id')&&!Fm(_0x469e16,'data-unstable')){const _0x164990=Fm(_0x469e16,'data-id');if(!_0x394a6f(_0x164990))return{'node':_0x469e16,'type':'context','id':_0x164990};}return null;}this['changeGroups']['sort']((_0x207bb5,_0x493768)=>_0x3ac2e2['indexOf'](_0x207bb5['documentId'])-_0x3ac2e2['indexOf'](_0x493768['documentId'])),this['changeGroups']['forEach']((_0x196da7,_0x5cd2d6)=>{_0x196da7['index']=_0x5cd2d6;});}};const eg=/* #__PURE__ -- @preserve */
_0x3cd689(),ig=['interactionCreated','interactionStarted','interactionStopped','interactionFinished','interactionDestroyed','replyCreated','replyContentUpdated','replyChangeGroupStateUpdated','setConversationTitle','webSearchStarted','webSearchFinished','reasoningStarted','reasoningFinished','toolDataReceived','error'];var sg=class extends eg{['id'];['replies']=[];['currentReply'];['messageId'];['actionCallId'];['currentRequest'];['connector'];['isStopped']=!0x1;['isDestroyed']=!0x1;['locale'];['_isReasoning']=!0x1;['_isWebSearching']=!0x1;['_channelsToEditors'];constructor({connector:_0x2c913d,locale:_0x77e863,channelsToEditors:_0xcde1d5}){super(),this['id']=_0x10825a(),this['connector']=_0x2c913d,this['isStopped']=!0x0,this['locale']=_0x77e863,this['_channelsToEditors']=_0xcde1d5||new Map();}async['start'](){await this['_run']();}async['resume'](_0x19a378){await this['_run'](_0x19a378);}async['_run'](_0x3bb867){const _0x225662=[];let _0x28d163,_0x5c7b74,_0x303321,_0x5093cc=!0x1;this['isStopped']=!0x1;try{this['currentRequest']=_0x3bb867||await this['sendRequest'](),this['fire']('interactionStarted',this);const _0x79e47d=await this['currentRequest']['getStream']();for await(const _0x45233d of _0x79e47d){if(this['isStopped'])return;if('error'==_0x45233d['event'])return void this['fire']('error',{'error':new _0x5b5a95('ai-chat-interaction-error',this)});switch(_0x45233d['event']){case'message-metadata':this['messageId']=_0x45233d['data']['messageId'];break;case'action-metadata':this['actionCallId']=_0x45233d['data']['callId'];break;case'conversation-title':this['setConversationTitle'](_0x45233d['data']['conversationTitle'],!0x0);break;case'source':_0x225662['push'](_0x45233d['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'](),_0x28d163='modification-delta'==_0x45233d['event']?'modification':'text',_0x5c7b74='modification-delta'==_0x45233d['event']?_0x45233d['data']['id']:void 0x0,this['currentReply']&&this['currentReply']['type']!=_0x28d163&&(this['currentReply']['done'](),this['currentReply']=void 0x0),this['currentReply']||(this['currentReply']=this['createReply']({'type':_0x28d163,'interactionId':this['id'],'id':_0x5c7b74,'channelsToEditors':this['_channelsToEditors'],...'modification-delta'==_0x45233d['event']&&{'documentId':_0x45233d['data']['documentId']}}),'modification'==_0x28d163&&(this['currentReply']['sources']=_0x225662['splice'](0x0))),this['currentReply']['appendContent'](_0x45233d['data']['textDelta'],_0x45233d['data']['documentId']);break;case'mcp-tool-result':_0x303321=JSON['parse'](_0x45233d['data']['result']),this['_handleToolResultData']({'toolName':_0x45233d['data']['toolName'],'data':_0x303321['data'],'attributes':_0x303321['attributes']});break;case'mcp-tool-notification':this['_handleToolNotificationData']({'toolName':_0x45233d['data']['toolName'],'data':_0x45233d['data']['data']});}}_0x5093cc=!0x0;}finally{this['isStopped']||(this['currentReply']&&_0x225662['length']>0x0&&(this['currentReply']['sources']=_0x225662['splice'](0x0)),this['_finalizeInteraction'](_0x5093cc),this['fire']('interactionFinished',this));}}['stop'](){this['isStopped']||(this['_finalizeInteraction'](),this['fire']('interactionStopped',this));}['getReply'](_0x2b0223){return this['replies']['find'](_0x1b9211=>_0x1b9211['id']===_0x2b0223);}['destroy'](){this['isDestroyed']||(this['stop'](),this['replies']['forEach'](_0x2f0a9b=>_0x2f0a9b['destroy']()),this['replies']=[],this['isDestroyed']=!0x0,this['fire']('interactionDestroyed',this),this['stopListening']());}['createReply'](_0x12222c){const _0x4ee7c2=this['getDocumentContext'](),_0x30b217=new tg({'locale':this['locale'],'documentContextContent':_0x4ee7c2?.['documents'],..._0x12222c});return this['replies']['push'](_0x30b217),_0x30b217['delegate'](...ig)['to'](this),this['fire']('replyCreated',_0x30b217),_0x30b217;}['setConversationTitle'](_0x56d623,_0x58ed09=!0x1){this['fire']('setConversationTitle',_0x56d623,_0x58ed09);}['resetWebSearchState'](){this['_isWebSearching']&&(this['_isWebSearching']=!0x1,this['fire']('webSearchFinished',this));}['resetReasoningState'](){this['_isReasoning']&&(this['_isReasoning']=!0x1,this['fire']('reasoningFinished',this));}['_handleToolResultData'](_0x10787c){this['fire']('toolDataReceived',{'type':'result','toolName':_0x10787c['toolName'],'data':structuredClone(_0x10787c['data']||{}),'attributes':structuredClone(_0x10787c['attributes']||{})},this);}['_handleToolNotificationData'](_0x151d4d){this['fire']('toolDataReceived',{'type':'notification','toolName':_0x151d4d['toolName'],'data':structuredClone(_0x151d4d['data'])},this);}['_finalizeInteraction'](_0x1ed5c0=!0x1){this['isStopped']=!0x0,this['currentRequest']&&this['currentRequest']['abortController']['abort'](),this['currentReply']&&this['currentReply']['done'](_0x1ed5c0),this['currentRequest']=this['currentReply']=void 0x0;}};const ng=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']]),rg=/* #__PURE__  -- @preserve */
_0x5b14e3(),og=['contextItemAdded','contextItemRemoved','contextItemLoadingEnded','contextSent','error','addContextOptionsChanged','sourceResourcesLoaded','resourceStateChanged','uploadProgressChanged'];var ag=class AIChatContext extends rg{['_connector'];['_config'];['_ownerId'];constructor({connector:_0x3be614,config:_0x2b6362,ownerId:_0x1593fb}){super(),this['_connector']=_0x3be614,this['_config']=_0x2b6362,this['_ownerId']=_0x1593fb;}['init'](){this['_pendingContextItems']=new Map(),this['_conversationContextItems']=new Map(),this['_ongoingUploads']=new Map(),this['_ongoingUploadOperations']=new Map(),this['_setAddContextOptionsDefaultState']();}['getPendingContextItems'](){return new Map(this['_pendingContextItems']);}async['populateFromMessage'](_0x44effe,_0x2314cd){const _0x597c77=new Map(),{contextItem:_0x5ccb48,hasUnmatched:_0x3ad80c}=await this['_populateDocumentContextItem'](_0x44effe,_0x2314cd);_0x5ccb48&&_0x597c77['set'](_0x5ccb48['id'],_0x5ccb48);for(const _0x4ff238 of _0x44effe){if('document'===_0x4ff238['type'])continue;const _0x52e5bd=await this['_createContextItemFromContent'](_0x4ff238);this['_addToConversationContextItem'](_0x52e5bd),_0x597c77['set'](_0x52e5bd['id'],_0x52e5bd);}return{'contextItems':_0x597c77,'hasUnmatched':_0x3ad80c};}async['_populateDocumentContextItem'](_0x38b8de,_0x3af56e){const _0x32be20=_0x38b8de['filter'](_0x408a11=>'document'===_0x408a11['type']);if(0x0===_0x32be20['length'])return{'hasUnmatched':!0x1};const _0x1dc4b5=_0x32be20['map'](_0x458912=>_0x458912['id']),_0xca2de3=await this['_connector']['fetchDocuments'](this['_ownerId'],_0x1dc4b5)['getDocuments'](),_0x52d123=new Map(_0xca2de3['map'](_0x51439f=>[_0x51439f['id'],_0x51439f])),_0x1fead5=[];let _0x452c75=!0x1;for(const _0x4ef8b6 of _0x32be20){const _0x18f74e=_0x52d123['get'](_0x4ef8b6['id']);_0x18f74e&&(this['_matchDocumentToRoot'](_0x18f74e,_0x3af56e)||(_0x452c75=!0x0),_0x1fead5['push']({'id':_0x18f74e['id'],'content':_0x18f74e['content'],'version':_0x18f74e['attributes']?.['version']??0x0,'sessionId':_0x18f74e['attributes']?.['sessionId']??null,'selection':[],'channelId':_0x18f74e['attributes']?.['channelId']??_0x3af56e[0x0]?.['config']['get']('collaboration.channelId')??'','rootName':_0x18f74e['attributes']?.['rootName']??_0x3af56e[0x0]?.['model']['document']['getRoots']()[0x0]['rootName']??''}));}const _0x32e3fc={'id':'current-document','uiId':'current-document','label':'Current\x20document','type':'document','hidden':this['_conversationContextItems']['has']('current-document'),'documents':_0x1fead5};return this['_addToConversationContextItem'](_0x32e3fc),this['toggleAddCurrentDocumentOptionVisibility'](),{'contextItem':_0x32e3fc,'hasUnmatched':_0x452c75};}['_matchDocumentToRoot'](_0x3ec265,_0x90d6a9){const _0x4cc030=_0x3ec265['attributes']?.['channelId'],_0x2ab455=_0x3ec265['attributes']?.['rootName'];if(_0x4cc030&&_0x2ab455){for(const _0x3bbbca of _0x90d6a9)if(_0x3bbbca['config']['get']('collaboration.channelId')===_0x4cc030){for(const _0x49044f of _0x3bbbca['model']['document']['getRoots']())if('$graveyard'!==_0x49044f['rootName']&&_0x49044f['rootName']===_0x2ab455)return{'editor':_0x3bbbca,'rootName':_0x49044f['rootName']};}}}async['_createContextItemFromContent'](_0x11fb4f){return'mcp-tool-context'===_0x11fb4f['type']?{'id':_0x11fb4f['id'],'uiId':_0x11fb4f['id'],'label':_0x11fb4f['data']?.['label']||_0x11fb4f['id'],'type':'mcp-tool-context','mcpServerName':_0x11fb4f['mcpServerName'],'toolName':_0x11fb4f['toolName'],'data':_0x11fb4f['data']||{}}:{'id':_0x11fb4f['id'],'uiId':_0x11fb4f['id'],'label':_0x11fb4f['attributes']?.['label']||_0x11fb4f['name']||_0x11fb4f['url']||_0x11fb4f['id'],'type':_0x11fb4f['type'],..._0x11fb4f?.['attributes']?.['resourceId']?{'resourceId':_0x11fb4f['attributes']?.['resourceId']}:{}};}['getSentContextItems'](){return new Map(this['_conversationContextItems']);}['removeFromContext'](_0x48c8ab){this['_pendingContextItems']['get'](_0x48c8ab)?.['isReadOnly']||this['_removeContextItem'](_0x48c8ab);}['clearPendingContextItems'](){if(0x0===this['_pendingContextItems']['size'])return;for(const _0x54279f of this['_pendingContextItems']['values']())this['_removeContextItem'](_0x54279f['uiId']);const _0x358cf8=this['_conversationContextItems']['get']('current-document')||this['_pendingContextItems']['get']('current-document');_0x358cf8&&this['_addContextItem']({..._0x358cf8,'isReadOnly':!0x0,'hidden':!0x0});}['addToConversationContext'](_0x5e114d){for(const _0x2d663e of _0x5e114d['values']())this['_addToConversationContextItem'](_0x2d663e);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'](_0xbe5137){return Array['from'](_0xbe5137['values']())['flatMap'](_0x28d582=>this['_mapContextItemToRequestData'](_0x28d582));}async['addFilesToContext'](_0x1b9758,_0x945a81,_0x102ad4='file'){const _0x490e69='files-'+_0x10825a();this['_startUploadOperation'](_0x490e69);try{await Promise['all'](_0x1b9758['map'](async _0x5f4011=>{const _0x58be8d='file-'+_0x10825a(),_0x17162b=Io(_0x5f4011['name']),_0x4e0637='file'===_0x102ad4&&_0x5f4011['type']['startsWith']('image/')?'image':_0x102ad4;try{this['_addContextItem']({'type':_0x4e0637,'label':_0x945a81?.['label']||_0x17162b,'uiId':_0x58be8d,'resourceId':_0x945a81?.['resourceId']},!0x0);const _0x282812=this['_connector']['uploadFile'](this['_ownerId'],_0x5f4011,_0x945a81);this['_ongoingUploads']['set'](_0x58be8d,_0x282812['abortController']);const {id:_0x17a3f0}=await _0x282812['getId']();this['_ongoingUploads']['delete'](_0x58be8d),this['_finishContextItemLoading']({'type':_0x4e0637,'id':_0x17a3f0,'label':_0x945a81?.['label']||_0x17162b,'uiId':_0x58be8d,'resourceId':_0x945a81?.['resourceId']},!0x1);}catch(_0x297eec){if(this['_ongoingUploads']['delete'](_0x58be8d),!Hp(_0x297eec)){const _0xa15f2d=new Zp({'code':ng['get'](_0x297eec['code'])||'ai-chat-file-upload-failed','cause':_0x297eec,'context':{'fileName':_0x17162b}});this['fire']('error',{'error':_0xa15f2d});}this['_removeContextItem'](_0x58be8d);}}));}finally{this['_finishUploadOperation'](_0x490e69);}}['addCurrentDocumentToContext'](_0x27dfba){if(this['isCurrentDocumentInContext']()||!this['_addContextOptionsState']['document']['enabled'])return;const _0x35f249={'type':'document','uiId':'current-document','label':_0x27dfba,'isReadOnly':this['_conversationContextItems']['has']('current-document'),'hidden':this['_conversationContextItems']['has']('current-document')};this['_addContextItem'](_0x35f249);}async['updateCurrentDocuments'](_0x5537a5){const _0x10aa5=this['_pendingContextItems']['get']('current-document');if(!_0x10aa5||!_0x5537a5['length']||_0x5537a5['every'](_0x3b0b55=>!_0x3b0b55['content']))return;_0x5537a5['length']>0x1&&_0x5537a5['some'](_0x333002=>!_0x333002['description'])&&_0x43c457('ai-chat-documents-missing-description');try{const _0x3f8ab0=await this['_connector']['uploadDocuments'](this['_ownerId'],_0x5537a5)['getIds']();if(_0x3f8ab0['length']!==_0x5537a5['length']||_0x3f8ab0['some'](_0x56c8d1=>!_0x56c8d1?.['id'])){const _0x37c788=new _0x5b5a95('ai-chat-document-upload-reply-mismatch',null);return void this['fire']('error',{'error':_0x37c788});}_0x10aa5['documents']=_0x5537a5['map']((_0x253a5d,_0x41efcb)=>{return{'id':_0x3f8ab0[_0x41efcb]['id'],'content':_0x253a5d['content'],'version':_0x253a5d['version'],'sessionId':_0x253a5d['sessionId'],'selection':(_0x276d26=_0x253a5d['selections'],_0x276d26?_0x276d26['map'](_0x31659a=>({'start':_0x31659a['start'],'end':_0x31659a['end']})):[]),'channelId':_0x253a5d['channelId'],'rootName':_0x253a5d['rootName']};var _0x276d26;});}catch(_0x4df2aa){const _0x149fed=new Zp({'code':'ai-chat-document-upload-failed','type':'network','cause':_0x4df2aa});this['fire']('error',{'error':_0x149fed});}}['addSelectionToContext'](_0x5bc63c){this['_addContextItem']({'type':'selection','label':_0x5bc63c,'uiId':'selection','content':_0x5bc63c});}['removeSelectionFromContext'](){this['_removeContextItem']('selection');}async['addUrlToContext'](_0x27b2cb,_0x5404c4){const _0x4fa8b9='url-'+_0x10825a();this['_startUploadOperation'](_0x4fa8b9);const _0xf289c0='url-'+_0x10825a();try{this['_addContextItem']({'type':'web-resource','label':_0x5404c4?.['label']||_0x27b2cb,'uiId':_0xf289c0,'resourceId':_0x5404c4?.['resourceId']},!0x0);const _0x4abb87=this['_connector']['uploadUrl'](this['_ownerId'],_0x27b2cb,_0x5404c4);this['_ongoingUploads']['set'](_0xf289c0,_0x4abb87['abortController']);const {id:_0x24f1a9}=await _0x4abb87['getId']();this['_ongoingUploads']['delete'](_0xf289c0),this['_finishContextItemLoading']({'type':'web-resource','id':_0x24f1a9,'label':_0x5404c4?.['label']||_0x27b2cb,'uiId':_0xf289c0,'resourceId':_0x5404c4?.['resourceId']},!0x1);}catch(_0x293bdc){this['_ongoingUploads']['delete'](_0xf289c0),Hp(_0x293bdc)||this['fire']('error',{'error':new _0x5b5a95('ai-chat-url-upload-failed',this,{'url':_0x27b2cb,'originalError':_0x293bdc}),'url':_0x27b2cb}),this['_removeContextItem'](_0xf289c0);}finally{this['_finishUploadOperation'](_0x4fa8b9);}}['addToolItemToContext'](_0x3e9c5a){_0x3e9c5a['id']=_0x3e9c5a['id']??_0x10825a()['substring'](0x0,0x15),this['_pendingContextItems']['set'](_0x3e9c5a['uiId'],_0x3e9c5a),this['fire']('contextItemAdded',{'contextItem':_0x3e9c5a,'isLoading':!0x1});}async['loadSourceResources'](_0x36bcad,_0x4e4cdd,_0x30bab7){const _0x3755bc=this['_addContextOptionsState']['sources']['find'](_0x5a9bb8=>_0x5a9bb8['id']===_0x36bcad);if(!_0x3755bc)return this['fire']('error',{'error':new _0x5b5a95('ai-chat-source-not-found',this,{'sourceId':_0x36bcad}),'sourceId':_0x36bcad}),[];try{const _0x4936e5=(await _0x3755bc['getResources'](_0x4e4cdd))['map'](_0x3a5c1a=>{const _0x21ece4=this['_isResourceInContext'](_0x3a5c1a['id']);return{..._0x3a5c1a,'isInContext':_0x21ece4};});return _0x3755bc['resources']=_0x4936e5,this['fire']('sourceResourcesLoaded',{'sourceId':_0x36bcad,'source':_0x3755bc,'resources':_0x4936e5,'uid':_0x30bab7}),_0x4936e5;}catch(_0x992b84){return this['fire']('error',{'error':new _0x5b5a95('ai-chat-source-resources-load-failed',this,{'sourceId':_0x36bcad,'originalError':_0x992b84}),'sourceId':_0x36bcad,'sourceLabel':_0x3755bc['label']}),[];}}async['addResourceToContext'](_0xf9880b,_0x394056){if(this['_isResourceInContext'](_0x394056['id']))return;let _0x22f7ba=_0x394056['data'];if(!_0x22f7ba&&_0xf9880b['getData'])try{_0x22f7ba=await _0xf9880b['getData'](_0x394056['id']);}catch(_0xcd5b57){return void this['fire']('error',{'error':new _0x5b5a95('ai-chat-resource-load-failed',this,{'resourceId':_0x394056['id'],'sourceId':_0xf9880b['id'],'originalError':_0xcd5b57}),'resourceId':_0x394056['id'],'sourceId':_0xf9880b['id']});}if(_0x22f7ba)switch(_0x394056['type']){case'web-resource':if('string'!=typeof _0x22f7ba)return void this['fire']('error',{'error':new _0x5b5a95('ai-chat-context-invalid-data',this,{'resourceId':_0x394056['id'],'sourceId':_0xf9880b['id'],'expectedType':'string','actualType':typeof _0x22f7ba}),'resourceId':_0x394056['id'],'sourceId':_0xf9880b['id']});await this['addUrlToContext'](_0x22f7ba,{'label':_0x394056['label'],'resourceId':_0x394056['id']});break;case'file':if(!(_0x22f7ba instanceof File))return void this['fire']('error',{'error':new _0x5b5a95('ai-chat-context-invalid-data',this,{'resourceId':_0x394056['id'],'sourceId':_0xf9880b['id'],'expectedType':'File','actualType':typeof _0x22f7ba}),'resourceId':_0x394056['id'],'sourceId':_0xf9880b['id']});await this['addFilesToContext']([_0x22f7ba],{'label':_0x394056['label'],'resourceId':_0x394056['id']});break;case'text':if('object'!=typeof _0x22f7ba||!('content'in _0x22f7ba)||!('type'in _0x22f7ba))return void this['fire']('error',{'error':new _0x5b5a95('ai-chat-context-invalid-data',this,{'resourceId':_0x394056['id'],'sourceId':_0xf9880b['id'],'expectedType':'object\x20with\x20content\x20and\x20type\x20properties','actualType':typeof _0x22f7ba}),'resourceId':_0x394056['id'],'sourceId':_0xf9880b['id']});_0x22f7ba=AIChatContext['_convertTextResourceToFile'](_0x22f7ba,_0x394056['label']),await this['addFilesToContext']([_0x22f7ba],{'label':_0x394056['label'],'resourceId':_0x394056['id']},'text');break;case'mcp-tool-context':break;default:this['fire']('error',{'error':new _0x5b5a95('ai-chat-context-unsupported-type',this,{'resourceId':_0x394056['id'],'sourceId':_0xf9880b['id'],'resourceType':_0x394056['type']}),'resourceId':_0x394056['id'],'sourceId':_0xf9880b['id']});}else this['fire']('error',{'error':new _0x5b5a95('ai-chat-resource-no-data',this,{'resourceId':_0x394056['id'],'sourceId':_0xf9880b['id']}),'resourceId':_0x394056['id'],'sourceId':_0xf9880b['id']});}['toggleAddCurrentDocumentOptionVisibility'](_0x3a60df){if(void 0x0!==_0x3a60df)this['_addContextOptionsState']['document']['isHidden']=!_0x3a60df;else{const _0x55f5e7=this['isCurrentDocumentInContext']()||this['isCurrentDocumentInConversation']();this['_addContextOptionsState']['document']['isHidden']=_0x55f5e7;}this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']});}static['_convertTextResourceToFile'](_0x22bd30,_0x4f7ab2){switch(_0x22bd30['type']){case'markdown':return new File([_0x22bd30['content']],_0x4f7ab2,{'type':'text/markdown'});case'html':return new File([_0x22bd30['content']],_0x4f7ab2,{'type':'text/html'});default:return new File([_0x22bd30['content']],_0x4f7ab2,{'type':'text/plain'});}}static['_mapContextItemToRequestData'](_0x27a498){switch(_0x27a498['type']){case'file':case'image':case'text':return[{'type':'file','id':_0x27a498['id']}];case'web-resource':return[{'type':'web-resource','id':_0x27a498['id']}];case'document':return _0x27a498['documents']?.['length']?_0x27a498['documents']['map'](_0x1a8bb2=>({'type':'document','id':_0x1a8bb2['id'],..._0x1a8bb2['selection']?.['length']&&{'selection':_0x1a8bb2['selection']}})):[];case'mcp-tool-context':{const _0x55057d=_0x27a498;return[{'type':'mcp-tool-context','mcpServerName':_0x55057d['mcpServerName'],'toolName':_0x55057d['toolName'],'data':{..._0x55057d['data'],'label':_0x55057d['label']||_0x55057d['data']?.['label']||_0x55057d['id']},'id':_0x55057d['id']}];}default:return[];}}['_addContextItem'](_0x1ed4e6,_0x5d6e98=!0x1){if(this['_pendingContextItems']['set'](_0x1ed4e6['uiId'],_0x1ed4e6),_0x1ed4e6['hidden']||this['fire']('contextItemAdded',{'contextItem':_0x1ed4e6,'isLoading':_0x5d6e98}),'current-document'===_0x1ed4e6['uiId']&&this['toggleAddCurrentDocumentOptionVisibility'](),_0x1ed4e6['resourceId']){const _0x15d413=this['_findSourceIdsByResourceId'](_0x1ed4e6['resourceId']);_0x15d413&&_0x15d413['forEach'](_0x3a2f56=>{this['_updateResourceInContextState'](_0x3a2f56,_0x1ed4e6['resourceId'],!0x0);});}}['_removeContextItem'](_0x3c5cfb){const _0x20efe5=this['_pendingContextItems']['get'](_0x3c5cfb),_0x13a982=this['_ongoingUploads']['get'](_0x3c5cfb);if(_0x13a982&&(_0x13a982['abort'](),this['_ongoingUploads']['delete'](_0x3c5cfb)),_0x20efe5?.['resourceId']){const _0x31e1df=this['_findSourceIdsByResourceId'](_0x20efe5['resourceId']);_0x31e1df&&_0x31e1df['forEach'](_0x519192=>{this['_updateResourceInContextState'](_0x519192,_0x20efe5['resourceId'],!0x1);});}this['_pendingContextItems']['delete'](_0x3c5cfb),this['fire']('contextItemRemoved',{'uiId':_0x3c5cfb,'type':_0x20efe5?.['type']}),'current-document'===_0x3c5cfb&&this['toggleAddCurrentDocumentOptionVisibility']();}['_finishContextItemLoading'](_0x3ae580,_0x3da940){if(this['_pendingContextItems']['has'](_0x3ae580['uiId'])&&(this['_pendingContextItems']['set'](_0x3ae580['uiId'],_0x3ae580),this['fire']('contextItemLoadingEnded',{'contextItem':_0x3ae580,'isLoading':_0x3da940}),_0x3ae580['resourceId'])){const _0x45b79c=this['_findSourceIdsByResourceId'](_0x3ae580['resourceId']);_0x45b79c&&_0x45b79c['forEach'](_0x420465=>{this['_updateResourceInContextState'](_0x420465,_0x3ae580['resourceId'],!0x0);});}}['_addToConversationContextItem'](_0x6bba4a){this['_conversationContextItems']['set'](_0x6bba4a['uiId'],_0x6bba4a);}['_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'](_0x4fd1d1=>({..._0x4fd1d1,'enabled':!0x0}))??[]},this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']});}['_getCustomSourcesInitialState'](){return this['_config']?.['sources']?.['map'](_0x1cbf83=>({..._0x1cbf83,'resources':[]}))??[];}['_isResourceInContext'](_0x4e1a5a){for(const _0x1eeb09 of this['_pendingContextItems']['values']())if(_0x1eeb09['resourceId']===_0x4e1a5a)return!0x0;for(const _0x1025a9 of this['_conversationContextItems']['values']())if(_0x1025a9['resourceId']===_0x4e1a5a)return!0x0;return!0x1;}['_findSourceIdsByResourceId'](_0x3b30c9){const _0x40f575=[];for(const _0x40cbaf of this['_addContextOptionsState']['sources'])_0x40cbaf['resources']['find'](_0x171911=>_0x171911['id']===_0x3b30c9)&&_0x40f575['push'](_0x40cbaf['id']);return 0x0===_0x40f575['length']?null:_0x40f575;}['_updateResourceInContextState'](_0x3c7e4d,_0x235a35,_0x5f1309){const _0x4ed575=this['_addContextOptionsState']['sources']['find'](_0x50c746=>_0x50c746['id']===_0x3c7e4d);if(!_0x4ed575)return;const _0x557403=_0x4ed575['resources']['find'](_0x101b61=>_0x101b61['id']===_0x235a35);_0x557403&&(_0x557403['isInContext']=_0x5f1309,this['fire']('resourceStateChanged',{'sourceId':_0x3c7e4d,'resourceId':_0x235a35,'isInContext':_0x5f1309}));}['_startUploadOperation'](_0xff3219){this['_ongoingUploadOperations']['set'](_0xff3219,!0x0),this['_ongoingUploadOperations']['size']&&this['fire']('uploadProgressChanged',{'isUploadInProgress':!0x0});}['_finishUploadOperation'](_0x369200){this['_ongoingUploadOperations']['delete'](_0x369200),0x0===this['_ongoingUploadOperations']['size']&&this['fire']('uploadProgressChanged',{'isUploadInProgress':!0x1});}};const cg=/* #__PURE__ -- @preserve */
_0x3cd689(),lg=['capabilitiesUpdated'];var hg=class extends cg{['_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'](_0x9da04){const _0xc06f26={};return _0x9da04&&_0x9da04['isWebSearchEnabled']&&(_0xc06f26['webSearch']={}),_0x9da04&&_0x9da04['isReasoningEnabled']&&(_0xc06f26['reasoning']={}),_0xc06f26;}['toggleWebSearch'](){this['setWebSearch'](!this['_isWebSearchEnabled']);}['toggleReasoning'](){this['setReasoning'](!this['_isReasoningEnabled']);}['setWebSearch'](_0x5551ed){_0x5551ed!==this['_isWebSearchEnabled']&&(this['_isWebSearchEnabled']=_0x5551ed,this['fire']('capabilitiesUpdated',this['getCapabilitiesConfig']()));}['setReasoning'](_0x1cc783){_0x1cc783!==this['_isReasoningEnabled']&&(this['_isReasoningEnabled']=_0x1cc783,this['fire']('capabilitiesUpdated',this['getCapabilitiesConfig']()));}},ug=class extends sg{['userMessage'];['conversationId'];['contextItems']=new Map();['capabilities'];['model'];['attributes'];constructor(_0x4ebb88){super(_0x4ebb88),this['conversationId']=_0x4ebb88['conversationId'],this['contextItems']=_0x4ebb88['contextItems'],this['capabilities']=_0x4ebb88['capabilities'],this['userMessage']=_0x4ebb88['userMessage'],this['model']=_0x4ebb88['model'],this['attributes']=_0x4ebb88['attributes'];}async['sendRequest'](){return this['connector']['queryAssistant']({'message':this['userMessage'],'conversationId':this['conversationId'],'parts':ag['mapContextItemsToRequestData'](this['contextItems']),'capabilities':hg['getCapabilitiesRequestData'](this['capabilities']),'model':this['model'],'attributes':this['attributes']});}['getDocumentContext'](){return this['contextItems']['get']('current-document');}};const dg=/* #__PURE__  -- @preserve */
_0x3cd689();var fg=class extends dg{['id'];['isStarted']=!0x1;['isFromHistory'];['interactions']=[];['currentInteraction'];['selectedModel'];['connector'];['options'];['_channelsToEditors'];['_getSessionId'];constructor(_0x4255a2){super(),this['options']=_0x4255a2,this['connector']=_0x4255a2['connector'],this['chatModels']=_0x4255a2['chatModels'],this['id']=_0x4255a2['conversationId'],this['isFromHistory']=_0x4255a2['isFromHistory'],this['_channelsToEditors']=_0x4255a2['channelsToEditors'],this['_getSessionId']=_0x4255a2['getSessionId'];}async['init'](_0x298ab3){try{this['chatContext']=new ag({'connector':this['connector'],'config':_0x298ab3,'ownerId':this['id']}),this['chatContext']['delegate'](...og)['to'](this),this['chatContext']['init'](),this['chatCapabilities']=new hg(),this['chatCapabilities']['delegate'](...lg)['to'](this),this['chatCapabilities']['init']();const _0x13af10=await this['chatModels']['getAvailableModels']();this['fire']('conversationInitialized',{'availableModels':_0x13af10});const _0x5a09f9=await this['chatModels']['getModel'](this['options']['selectedModelId']);_0x5a09f9&&await this['setModel'](_0x5a09f9);}catch(_0x212ca9){const _0x1a3b8f=new Zp({'code':'ai-chat-conversation-init-failed','cause':_0x212ca9,'type':'network'});this['fire']('error',{'error':_0x1a3b8f});}}async['start'](){if(this['isStarted'])throw new _0x5b5a95('ai-chat-conversation-already-started',null,{'conversation':this});if(!this['selectedModel'])throw new _0x5b5a95('ai-chat-conversation-start-no-model-selected',null,{'conversation':this});try{const {id:_0x6ce4e6}=await this['connector']['startConversation'](this['id'],this['options']['group'])['getConversation']();this['id']=_0x6ce4e6,this['isStarted']=!0x0,this['fire']('conversationStarted',{'conversationId':this['id'],'selectedModel':this['selectedModel']});}catch(_0x443dca){const _0x39d2ce=new Zp({'code':'ai-chat-conversation-start-failed','cause':_0x443dca,'type':'network','context':{'conversationId':this['id']}});throw this['fire']('error',{'error':_0x39d2ce}),_0x39d2ce;}}async['load'](_0x62d842){try{const _0x205d48=await this['connector']['fetchConversation'](_0x62d842)['getConversation'](),_0x12623c=await this['connector']['fetchConversationMessages'](_0x62d842)['getMessages'](),_0xd8ffc9=_0x12623c[0x0]['model'];this['isStarted']=!0x0,this['id']=_0x205d48['id'],'title'in _0x205d48?this['fire']('setConversationTitle',_0x205d48['title'],!this['isFromHistory']):this['fire']('setConversationTitle','',!this['isFromHistory']);const _0x113f45=(await this['chatModels']['getAll']())['find'](_0x3eb5cd=>_0x3eb5cd['id']['toLowerCase']()===_0xd8ffc9['toLowerCase']());this['selectedModel']=_0x113f45,this['fire']('modelSelected',{'selectedModel':_0x113f45,'isDisabled':!0x0});const {streamingMessageId:_0x23f9f8}=await this['_processMessagesToInteractions'](_0x12623c,_0xd8ffc9);return _0x23f9f8&&this['currentInteraction']?this['_resumeStream'](_0x23f9f8):this['currentInteraction']=void 0x0,this;}catch(_0x2b5b58){const _0x2b860a=new Zp({'code':'ai-chat-conversation-init-from-id-failed','cause':_0x2b5b58,'type':'network','context':{'conversationId':_0x62d842}});throw this['fire']('error',{'error':_0x2b860a}),_0x2b860a;}}async['_processMessagesToInteractions'](_0x41517f,_0x319a61){let _0xf1b50f,_0x3c08fe,_0x40a58a=!0x1;for(const _0x43f3ee of _0x41517f)if('user'===_0x43f3ee['role']){const {contextItems:_0x460c53,hasUnmatched:_0x4ec456}=await this['_extractContextItems'](_0x43f3ee);_0x40a58a=_0x4ec456;const _0x21e4ad={'isReasoningEnabled':Object['hasOwn'](_0x43f3ee['capabilities'],'reasoning'),'isWebSearchEnabled':Object['hasOwn'](_0x43f3ee['capabilities'],'webSearch')};_0xf1b50f=this['createInteraction']({'userMessage':_0x43f3ee['prompt'],'contextItems':_0x460c53,'capabilities':_0x21e4ad,'modelId':_0x319a61,'attributes':_0x43f3ee['attributes'],'channelsToEditors':this['_channelsToEditors']}),this['currentInteraction']=_0xf1b50f,_0x3c08fe=void 0x0,this['chatContext']['addToConversationContext'](this['currentInteraction']['contextItems']);}else{if('assistant'===_0x43f3ee['role']&&_0xf1b50f){if('streaming'===_0x43f3ee['status']){_0x3c08fe=_0x43f3ee['id'];continue;}if('error'===_0x43f3ee['status'])continue;const _0x2a3af3=[];for(const _0x25579d of _0x43f3ee['content'])switch(_0x25579d['type']){case'text':case'modification':{const _0x386bf0=_0xf1b50f['getDocumentContext'](),_0x484ebc=this['_hasSessionMismatch'](_0x386bf0)||_0x40a58a;_0xf1b50f['currentReply']?.['type']!==_0x25579d['type']&&(_0xf1b50f['currentReply']=_0xf1b50f['createReply']({'type':_0x25579d['type'],'isDone':!0x0,'interactionId':_0xf1b50f['id'],'areActionsDisabled':_0x484ebc,'isFromHistory':!0x0,'channelsToEditors':this['_channelsToEditors']}),_0x2a3af3['length']>0x0&&(_0xf1b50f['currentReply']['sources']=_0x2a3af3['splice'](0x0))),_0xf1b50f['currentReply']['appendContent'](_0x25579d['content'],_0x25579d['documentId']);break;}case'url':_0x2a3af3['push'](_0x25579d);break;case'mcp-tool-result':{const {data:_0x51ec2f,attributes:_0x141079}=JSON['parse'](_0x25579d['content']);_0xf1b50f['_handleToolResultData']({'toolName':_0x25579d['toolName'],'data':_0x51ec2f,'attributes':_0x141079});break;}}'cancelled'===_0x43f3ee['status']&&this['fire']('error',{'interactionId':_0xf1b50f['id'],'error':new _0x5b5a95('ai-request-aborted',this)});}}return{'streamingMessageId':_0x3c08fe};}async['_resumeStream'](_0x13044d){if(this['currentInteraction'])try{const _0x53ac78=this['connector']['resumeStream'](this['id'],_0x13044d);await this['currentInteraction']['resume'](_0x53ac78);}catch(_0x4805f3){_0x4805f3 instanceof _0x5b5a95&&this['fire']('error',{'interactionId':this['currentInteraction']?.['id'],'error':_0x4805f3});}finally{this['currentInteraction']?.['stop'](),this['currentInteraction']=void 0x0;}}async['_extractContextItems'](_0xb70e5){return _0xb70e5['content']?this['chatContext']['populateFromMessage'](_0xb70e5['content'],Array['from'](this['_channelsToEditors']['values']())):{'contextItems':new Map(),'hasUnmatched':!0x1};}async['handleUserInteraction']({userMessage:_0x441761,attributes:_0x3b9c27}){if(!this['isStarted'])throw new _0x5b5a95('ai-chat-handle-user-conversation-not-initialized',null,{'conversation':this});if(this['currentInteraction'])throw new _0x5b5a95('ai-chat-handle-user-interaction-already-in-progress',null,{'conversation':this});try{const _0x4fc807=new Map(this['getPendingContextItems']()),_0x23c08f=this['chatCapabilities']['getCapabilitiesConfig'](),_0x2af3f1=this['selectedModel']['id'];this['currentInteraction']=this['createInteraction']({'userMessage':_0x441761,'contextItems':_0x4fc807,'capabilities':_0x23c08f,'modelId':_0x2af3f1,'attributes':_0x3b9c27,'channelsToEditors':this['_channelsToEditors']}),await this['currentInteraction']['start'](),this['chatContext']['addToConversationContext'](this['currentInteraction']['contextItems']);}catch(_0x2d5aff){if(_0x2d5aff instanceof _0x5b5a95)this['fire']('error',{'interactionId':this['currentInteraction']?this['currentInteraction']['id']:void 0x0,'error':_0x2d5aff});else{const _0x5090a1=ng['get'](_0x2d5aff['code'])||'ai-chat-handle-user-interaction-start-failed';this['fire']('error',{'interactionId':this['currentInteraction']?this['currentInteraction']['id']:void 0x0,'error':new _0x5b5a95(_0x5090a1,null,{'error':_0x2d5aff})});}}finally{this['currentInteraction']?.['stop'](),this['currentInteraction']=void 0x0;}}['createInteraction']({userMessage:_0xe0959b,contextItems:_0xd3d3b,capabilities:_0x5ad99e,modelId:_0x5b968e,attributes:_0x1e210c,channelsToEditors:_0x534a5b}){const _0x295342=new ug({'userMessage':_0xe0959b,'contextItems':_0xd3d3b,'capabilities':_0x5ad99e,'conversationId':this['id'],'connector':this['connector'],'locale':this['options']['locale'],'model':_0x5b968e,'attributes':_0x1e210c,'channelsToEditors':_0x534a5b});return _0x295342['delegate'](...ig)['to'](this),this['interactions']['push'](_0x295342),this['fire']('interactionCreated',_0x295342),_0x295342;}['getInteraction'](_0x323df2){return this['interactions']['find'](_0x26d6e6=>_0x26d6e6['id']===_0x323df2);}['removeInteraction'](_0x5c3f6c){const _0x160545=this['getInteraction'](_0x5c3f6c);_0x160545&&(_0x160545['destroy'](),this['interactions']['splice'](this['interactions']['indexOf'](_0x160545),0x1));}get['lastInteraction'](){return this['interactions'][this['interactions']['length']-0x1];}['cancelLastInteractionStream'](){const _0x4b390f=this['lastInteraction'];_0x4b390f?.['conversationId']&&_0x4b390f['messageId']&&this['connector']['cancelStream'](_0x4b390f['conversationId'],_0x4b390f['messageId'])['execute']()['catch'](()=>{});}['addCurrentDocumentToContext'](_0x1d4033){this['chatContext']['addCurrentDocumentToContext'](_0x1d4033);}async['updateCurrentDocumentsInContext'](_0x7d2b44){await this['chatContext']['updateCurrentDocuments'](_0x7d2b44);}['toggleAddCurrentDocumentOptionVisibility'](_0x258a77){this['chatContext']['toggleAddCurrentDocumentOptionVisibility'](_0x258a77);}['_hasSessionMismatch'](_0x40cecc){return!!_0x40cecc&&_0x40cecc['documents']['some'](_0x4644ec=>{const _0x52083c=this['_channelsToEditors']['get'](_0x4644ec['channelId']);return!_0x52083c||_0x4644ec['sessionId']!==this['_getSessionId'](_0x52083c);});}['addSelectionToContext'](_0x168458){this['chatContext']['addSelectionToContext'](_0x168458);}['removeSelectionFromContext'](){this['chatContext']['removeSelectionFromContext']();}['addFilesToContext'](_0x5d4823){this['chatContext']['addFilesToContext'](_0x5d4823);}['addUrlToContext'](_0xd3ec2f){this['chatContext']['addUrlToContext'](_0xd3ec2f);}['addToolItemToContext'](_0x416468){this['chatContext']['addToolItemToContext'](_0x416468);}['addResourceToContext'](_0x30339d,_0x414ff6){this['chatContext']['addResourceToContext'](_0x30339d,_0x414ff6);}['loadSourceResources'](_0x341764,_0x59df5e,_0x32877e){return this['chatContext']['loadSourceResources'](_0x341764,_0x59df5e,_0x32877e);}['removeFromContext'](_0x4ab79f){this['chatContext']['removeFromContext'](_0x4ab79f);}['setWebSearch'](_0x47c544){this['chatCapabilities']['setWebSearch'](_0x47c544);}['toggleWebSearch'](){this['chatCapabilities']['toggleWebSearch']();}['setReasoning'](_0x17595c){this['chatCapabilities']['setReasoning'](_0x17595c);}['toggleReasoning'](){this['chatCapabilities']['toggleReasoning']();}['isCurrentDocumentInContext'](){return this['chatContext']['isCurrentDocumentInContext']();}['isCurrentDocumentInConversation'](){return this['chatContext']['isCurrentDocumentInConversation']();}['isSelectionInContext'](){return this['chatContext']['isSelectionInContext']();}['getPendingContextItems'](){return this['chatContext']['getPendingContextItems']();}async['setModel'](_0x5dacc4){_0x5dacc4?!0x1===await this['chatModels']['isAvailable'](_0x5dacc4)&&(_0x43c457('ai-chat-conversation-set-model-not-available',{'conversation':this,'model':_0x5dacc4}),_0x5dacc4=(await this['chatModels']['getAvailableModels']())[0x0]):(_0x43c457('ai-chat-conversation-set-model-null',{'conversation':this}),_0x5dacc4=(await this['chatModels']['getAvailableModels']())[0x0]),_0x5dacc4['id']!==this['selectedModel']?.['id']&&(this['selectedModel']=_0x5dacc4,this['chatCapabilities']['reset'](),this['fire']('modelSelected',{'selectedModel':_0x5dacc4}));}};function mg({documentSuggestions:_0x13049b,transform:_0x469226,documentCompare:_0x2ad9a9,documentCompareOptions:_0xa188b3}){const _0x4bf4df=new Map();for(const [_0x562830,{groups:_0x4445f1,documentContext:_0x32e1a8,documentContent:_0x48074c,editor:_0xbf1e92}]of _0x13049b){const _0x261a36=_0x32e1a8['content'],_0x1fd8e8=_0x32e1a8['version'],_0x513500=_0x48074c['cloneNode'](!0x0);for(const {changes:_0x40f18d}of _0x4445f1){const _0x23fbe6=_0x40f18d['filter'](_0x14cc42=>'new'!=_0x14cc42['type'])['map'](_0x514daa=>jm('data-id',_0x514daa['id'],_0x513500))['filter'](_0x10ed57=>null!==_0x10ed57),_0xd5df6a=_0x40f18d['filter'](_0x4d8096=>'removed'!=_0x4d8096['type'])['map'](_0x49448a=>_0x49448a['node']['cloneNode'](!0x0));let _0x70fc36=null;if(_0x23fbe6['length']){_0x70fc36=_0x23fbe6[0x0]['previousSibling'];for(let _0x14da53=0x0;_0x14da53<_0x23fbe6['length'];_0x14da53++)xm(_0x23fbe6[_0x14da53]);}if(_0xd5df6a['length']){_0x70fc36||(_0x40f18d[0x0]['anchorId']?_0x70fc36=jm('data-id',_0x40f18d[0x0]['anchorId'],_0x513500):(_0x70fc36=_0xd5df6a['shift'](),Mm(_0x513500,_0x70fc36)));for(let _0x18bcc7=0x0;_0x18bcc7<_0xd5df6a['length'];_0x18bcc7++)Pm(_0x70fc36,_0xd5df6a[_0x18bcc7]),_0x70fc36=_0xd5df6a[_0x18bcc7];}}const _0x5e4762=Qm(_0x513500),_0x380f6f=_0x2ad9a9['getDiff'](_0x261a36,_0x5e4762,{'targetEditor':_0xbf1e92,'anchor':_0x32e1a8['rootName'],..._0xa188b3})['getOperations']();if(_0x469226){const _0x1cd27e=_0xbf1e92['model']['document']['history']['getOperations'](_0x1fd8e8),_0xd23aaa={'document':_0xbf1e92['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1};_0x4bf4df['set'](_0x562830,_0x2283bf(_0x380f6f,_0x1cd27e,_0xd23aaa)['operationsA']);}else _0x4bf4df['set'](_0x562830,_0x380f6f);}return _0x4bf4df;}function pg({groups:_0x45d63f,documentContextContent:_0x49408c,documents:_0x5bdb82}){const _0x1d5fec=new Map();for(const _0x3228f9 of _0x45d63f){const {documentId:_0x1bda2c}=_0x3228f9,_0x55975e=_0x1d5fec['get'](_0x1bda2c);if(_0x55975e)_0x55975e['groups']['push'](_0x3228f9),_0x55975e['indexes']['push'](_0x3228f9['index']);else{const _0x34827f=_0x5bdb82['find'](_0x2a2b4e=>_0x2a2b4e['id']===_0x1bda2c),_0x69e5fb=_0x49408c['get'](_0x1bda2c);if(!_0x34827f||!_0x69e5fb)continue;_0x1d5fec['set'](_0x1bda2c,{'groups':[_0x3228f9],'documentContext':_0x34827f,'documentContent':_0x69e5fb,'editor':_0x3228f9['editor'],'indexes':[_0x3228f9['index']]});}}return _0x1d5fec;}function gg(_0x1b3c55,_0x20b81c){const _0x4a3019=_0x1b3c55['files']['length']>0x0&&_0x1b3c55['files']['every'](_0x58e43c=>_0x58e43c['type']['startsWith']('image/')),_0x38b1b7=_0x1b3c55['plainText']['trim']()['length']>0x0;if(_0x1b3c55['files']['length']>0x0&&_0x20b81c['filesEnabled']&&(!_0x4a3019||!_0x38b1b7)){const _0x47e3c8=_0x1b3c55['files']['filter'](_0x50a876=>_0x50a876['name']);return _0x47e3c8['length']>0x0?{'type':'file','files':_0x47e3c8}:null;}if(_0x20b81c['urlsEnabled']){const _0x5a5845=function(_0x368fe9){const _0x569d00=_0x368fe9['trim']();if(/\s/['test'](_0x569d00))return null;try{const _0x418b87=new URL(_0x569d00);return'http:'!==_0x418b87['protocol']&&'https:'!==_0x418b87['protocol']?null:_0x418b87['toString']();}catch{return null;}}(_0x1b3c55['plainText']);if(_0x5a5845)return{'type':'url','url':_0x5a5845};}const _0x341b87=_0x1b3c55['forceTextAttachment']?0x1:_0x20b81c['longTextThreshold']??0x1/0x0;if(_0x1b3c55['plainText']['length']>=Math['max'](_0x341b87,0x1)&&_0x20b81c['filesEnabled']){const _0x3e1410=_0x20b81c['pastedTextLabel']+'.txt';return{'type':'text','files':[new File([_0x1b3c55['plainText']],_0x3e1410,{'type':'text/plain'})]};}return null;}var Og=class extends _0x2de7b2{['activeConversation'];['_aiEditing'];['_aiConnector'];['_aiChatUi'];['_aiChatModels'];['_hasAIChatBalloon']=!0x1;['_activeBalloon'];['_reporter'];['_batchToChanges']=new Map();['_currentPreviewedChangeGroup']=null;['_bodyCollection'];['_channelsToEditors']=new Map();static get['requires'](){return[ea,Gp,tf];}static get['pluginName'](){return'AIChatController';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['set']('isConversationReady',!0x1),this['_bodyCollection']=Kp(this['context']['locale']),this['_aiConnector']=this['context']['plugins']['get']('AIConnector'),this['_aiChatUi']=this['context']['plugins']['get']('AIChatUI'),this['_aiEditing']=this['context']['plugins']['get']('AIEditing'),this['_reporter']=this['context']['plugins']['get'](Gp)['createReporter']('aichat'),this['_aiChatModels']=new Dp({'connector':this['_aiConnector'],'config':this['context']['config']['get']('ai.models'),'locale':this['context']['locale']});const _0x21dbb2=this['context']['plugins']['get']('AITabs');this['listenTo'](this['_aiChatUi'],'startConversation',()=>{this['_startConversationSafely']();}),this['listenTo'](this['_aiChatUi'],'sendUserMessage',(_0x313db2,_0x5a7d65)=>{this['_handleUIUserMessage']({'message':_0x5a7d65});}),this['listenTo'](_0x21dbb2['view'],'change:activeTab',(_0x11ec09,_0xe45de9,_0x194961)=>{'chat'!==_0x194961&&this['removeSelectionFromChatContext']();}),this['listenTo'](this['_aiChatUi'],'abortPromptStream',async()=>{await this['_stopLastInteraction'](),await this['_flushLastInteractionUI'](),this['removeSelectionFromChatContext'](),this['activeConversation']?.['cancelLastInteractionStream']();}),this['listenTo'](this['_aiChatUi'],'addDocumentToContext',()=>{this['addCurrentDocumentToChatContext']();}),this['listenTo'](this['_aiChatUi'],'addFileToContext',(_0x2e5391,_0xd5acb9)=>{this['activeConversation']?.['addFilesToContext'](Array['from'](_0xd5acb9));}),this['listenTo'](this['_aiChatUi'],'addUrlToContext',(_0x4701f2,_0x169631)=>{this['activeConversation']?.['addUrlToContext'](_0x169631);}),this['listenTo'](this['_aiChatUi'],'promptInputPaste',(_0x4a93a8,_0x634c4)=>{const _0x1ff4a4=this['activeConversation'];if(!_0x1ff4a4)return;_0x634c4['hasDirectory']&&(_0x634c4['preventDefault'](),this['_aiChatUi']['addFeedItemError']({'errorMessage':ia(this['context']['locale'],'AI_CHAT_CONTEXT_FOLDER_NOT_SUPPORTED'),'id':'folder-error-'+_0x10825a()}));const _0x12f771=gg(_0x634c4,{'pastedTextLabel':ia(this['context']['locale'],'AI_CHAT_CONTEXT_PASTED_TEXT_NAME'),'longTextThreshold':this['context']['config']['get']('ai.chat.context.paste.textThreshold'),'filesEnabled':!0x1!==this['context']['config']['get']('ai.chat.context.files.enabled'),'urlsEnabled':!0x1!==this['context']['config']['get']('ai.chat.context.urls.enabled')});_0x12f771&&(_0x634c4['preventDefault'](),'url'===_0x12f771['type']?_0x1ff4a4['addUrlToContext'](_0x12f771['url']):_0x1ff4a4['chatContext']['addFilesToContext'](_0x12f771['files'],void 0x0,_0x12f771['type']));}),this['listenTo'](this['_aiChatUi'],'executeCustomItemCallback',(_0x437f58,_0xfa9276)=>{_0xfa9276['callback'](this['context']);}),this['listenTo'](this['_aiChatUi'],'addResourceToContext',(_0xbcd0c,_0x31c8fb)=>{this['activeConversation']?.['addResourceToContext'](_0x31c8fb['source'],_0x31c8fb['resource']);}),this['listenTo'](this['_aiChatUi'],'removeContextItem',(_0x3d44a1,_0x10de2f)=>{this['_removeFromContext'](_0x10de2f);}),this['listenTo'](this['_aiChatUi'],'loadSourceResources',(_0x513aad,_0x284695)=>{this['activeConversation']?.['loadSourceResources'](_0x284695['sourceId'],_0x284695['query'],_0x284695['uid']);}),this['listenTo'](this['_aiChatUi'],'toggleWebSearch',()=>{this['_toggleWebSearch']();}),this['listenTo'](this['_aiChatUi'],'toggleReasoning',()=>{this['_toggleReasoning']();}),this['listenTo'](this['_aiChatUi'],'selectModel',(_0x1664c9,_0x3e39e4)=>{this['activeConversation']?.['setModel'](_0x3e39e4);}),this['listenTo'](this['_aiChatUi'],'like',(_0x5c2d4e,{replyId:_0x2f8c5c})=>{console['log']('Liked\x20response',_0x2f8c5c);}),this['listenTo'](this['_aiChatUi'],'dislike',(_0x193690,{replyId:_0x18d3b4})=>{console['log']('Disliked\x20response',_0x18d3b4);}),this['listenTo'](this['_aiChatUi'],'insertSuggestion',(_0x2e21cc,_0x406a00)=>{this['_insertSuggestion'](_0x406a00);}),this['listenTo'](this['_aiChatUi'],'showChangeInText',(_0x2845cc,{replyId:_0xd3a2b5,partIndex:_0x36bc46})=>{this['_aiChatBalloonShowDiff']=this['_aiChatUi']['showDiff'],this['_openBalloonFor'](_0xd3a2b5,_0x36bc46);}),this['listenTo'](this['_aiChatUi'],'mouseOverSuggestion',(_0x351e74,{replyId:_0x30b77b,partIndex:_0xa74201})=>{const _0x2e6c18=this['_getDocumentRangeForReplyChanges'](_0x30b77b,_0xa74201);if(!_0x2e6c18)return;const {reply:_0x56e75e}=this['getInteractionAndReplyById'](_0x30b77b);'$graveyard'!=_0x2e6c18['range']['root']['rootName']&&this['_aiEditing']['showFakeVisualSelection']({'editor':_0x56e75e['changeGroups'][_0xa74201]['editor'],'ranges':[_0x2e6c18['range']],'id':'change-area','priority':0xa});}),this['listenTo'](this['_aiChatUi'],'mouseLeaveSuggestion',()=>{this['_aiEditing']['hideFakeVisualSelection']('change-area');}),this['listenTo'](this['_aiChatUi'],'applySuggestion',(_0x41c2ac,_0x4898da)=>{this['_aiEditing']['hideFakeVisualSelection']('change-area'),this['_applySuggestion'](_0x4898da);}),this['listenTo'](this['_aiChatUi'],'toggleSuggestionDisplayMode',async(_0x530543,{replyId:_0x311262,showDiff:_0xad46f8})=>{const {interaction:_0x27f0e3,reply:_0x5a0ed7}=this['getInteractionAndReplyById'](_0x311262),_0x268808=_0x5a0ed7['getContentParts']({'showDiff':_0xad46f8});await this['_aiChatUi']['updateFeedItemAIReplySuggestionContent']({'id':_0x27f0e3['id']+':'+_0x5a0ed7['id'],'parts':_0x268808});}),this['listenTo'](this['_aiChatUi'],'rejectSuggestion',(_0x5d1b91,{replyId:_0x130d97,partIndex:_0x289b0a})=>{this['_rejectSuggestion']({'replyId':_0x130d97,'partIndex':_0x289b0a}),this['_aiEditing']['hideFakeVisualSelection']('change-area');}),this['set']('_aiChatBalloonShowDiff',!0x1),this['on']('interactionCreated',(_0x111ffa,_0x2ce834)=>{this['_aiChatUi']['addFeedItemUserMessage'](_0x2ce834);}),this['on']('replyCreated',(_0x540265,_0x5d19b4)=>{this['_addFeedItemReply'](_0x5d19b4);});}['afterInit'](){this['context']instanceof _0x181fa1?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x20a5f1,_0x434aeb)=>{_0x434aeb['on']('ready',()=>{this['_integrateEditor'](_0x434aeb);});}),this['_initConversation']();}async['_initConversation'](){const _0x55f8d5=this['context']['config']['get']('ai.chat.initialConversation');let _0x4b5b44=_0x55f8d5;('lastCreated'!=_0x55f8d5||(_0x4b5b44=await this['_getLastCreatedConversationId'](),_0x4b5b44))&&('new'==_0x4b5b44?await this['_startConversationSafely']():await this['loadConversation'](_0x4b5b44));}async['destroy'](){return await this['_stopLastInteraction'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}async['loadConversation'](_0x21a317){this['_closeActiveBalloon'](),this['context']['plugins']['get'](Yo)['view']['activateTab']('chat'),this['_aiChatUi']['setFeedItemRenderingStrategy']('static'),this['_aiChatUi']['toggleLoadingSkeleton'](!0x0),this['activeConversation']&&this['stopListening'](this['activeConversation']),await this['_stopLastInteraction']();try{this['_aiChatUi']['emptyConversationTitle'](),await this['_aiConnector']['fetchConversation'](_0x21a317)['getConversation'](),await this['_startConversationSafely']({'id':_0x21a317}),await this['activeConversation']['load'](_0x21a317),this['_aiChatUi']['enableControls'](),this['activeConversation']['isCurrentDocumentInConversation']()&&this['addCurrentDocumentToChatContext']();}catch(_0xec2cf8){this['_aiChatUi']['resetConversationTitle'](),this['_aiChatUi']['addFeedItemError']({'errorMessage':ia(this['context']['locale'],'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION'),'id':_0x21a317}),this['_reporter']['logError'](new _0x5b5a95('ai-chat-conversation-not-found',this,void 0x0,_0xec2cf8),{'context':{'operation':'load-conversation'}});}finally{this['_aiChatUi']['startAutoScroll']({'smooth':!0x1}),this['_aiChatUi']['setFeedItemRenderingStrategy']('streaming'),this['_aiChatUi']['toggleLoadingSkeleton'](!0x1);}}['registerToolDataCallback'](_0x5019c4){let _0x1c21a4=null,_0x45329f=null;this['on']('toolDataReceived',(_0x469e19,_0x6dc26d,_0xe82b2c)=>{_0xe82b2c['id']!==_0x1c21a4&&(_0x1c21a4=_0xe82b2c['id'],_0x45329f=this['_getAIChatFeedAPI'](_0xe82b2c)),_0x5019c4(_0x6dc26d,_0x45329f);});}['addCurrentDocumentToChatContext'](){sa(this['context'])['length']&&this['activeConversation']?.['addCurrentDocumentToContext'](ia(this['context']['locale'],'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'));}async['addSelectionToChatContext'](_0x1d65a7){const _0x552bf1=this['_aiEditing']['getSelectionText'](_0x1d65a7);this['activeConversation']?.['addSelectionToContext'](_0x552bf1),this['addCurrentDocumentToChatContext']();}['removeSelectionFromChatContext'](){this['activeConversation']?.['removeSelectionFromContext']();}['focusPromptInput'](){this['_aiChatUi']['focusPromptInput']();}async['startConversation'](_0x4a40a4){await this['_startConversationSafely']({'modelId':_0x4a40a4?.['modelId']});}async['sendMessage'](_0x4bc6e2){await this['_handleUIUserMessage'](_0x4bc6e2);}['getGroupId'](){const _0x300c94=this['context']['config']['get']('collaboration.channelId');if(!_0x300c94)throw new _0x5b5a95('ai-missing-channel-id',this);return _0x300c94;}['_handleRemovedConversation'](_0x5a590c){this['activeConversation']['id']===_0x5a590c&&this['_startConversationSafely']();}['_prepareDocumentSuggestions'](_0x45915d){const {reply:_0x1e8146,interaction:_0x491be7}=this['getInteractionAndReplyById'](_0x45915d['replyId']),_0x13759f=void 0x0!==_0x45915d['partIndex']?[_0x1e8146['changeGroups'][_0x45915d['partIndex']]]:_0x1e8146['changeGroups']['filter'](_0x35c966=>'pending'==_0x35c966['state']);return _0x13759f['map'](_0x15419e=>_0x1e8146['changeGroups']['indexOf'](_0x15419e))['forEach'](_0x2a119a=>{const _0x4054c2=this['_getDocumentRangeForReplyChanges'](_0x45915d['replyId'],_0x2a119a);_0x4054c2&&'$graveyard'!=_0x4054c2['range']['root']['rootName']?(_0x1e8146['setChangeGroupState'](_0x2a119a,'accepted'),void 0x0!==_0x45915d['partIndex']&&this['_scrollToSuggestionRange'](_0x4054c2['range'],!0x1,_0x4054c2['targetEditor'])):_0x1e8146['setChangeGroupState'](_0x2a119a,'outdated');}),pg({'groups':_0x13759f['filter'](_0xaa5a85=>'accepted'===_0xaa5a85['state']),'documentContextContent':_0x1e8146['documentContextContent'],'documents':_0x491be7['getDocumentContext']()?.['documents']??[]});}['_insertSuggestion'](_0x269003){const _0x4bddfa=this['context']['plugins']['get'](tf),{reply:_0x4913ac,interaction:_0x4084a2}=this['getInteractionAndReplyById'](_0x269003['replyId']),_0x130a0d=this['_prepareDocumentSuggestions'](_0x269003),_0x33e609=mg({'documentSuggestions':_0x130a0d,'transform':!0x0,'documentCompare':_0x4bddfa,'documentCompareOptions':{'markDeletions':!0x0}});for(const [_0x49556e,_0x56e315]of _0x33e609){const {editor:_0x58cc31,indexes:_0x1cce35}=_0x130a0d['get'](_0x49556e);if(!_0x58cc31['plugins']['has']('TrackChanges')){_0x43c457('ai-no-track-changes',{'editor':_0x58cc31});continue;}let _0x5028e7;jp(_0x56e315,'chat'),_0x58cc31['model']['change'](_0x2eaa60=>{_0x5028e7=_0x2eaa60['batch'],_0x58cc31['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x56e315),this['_aiEditing']['hideFakeVisualSelection']('change-area');}),this['_batchToChanges']['set'](_0x5028e7,{'interactionId':_0x4084a2['id'],'replyId':_0x4913ac['id'],'indexes':_0x1cce35});}this['_updateRatings'](_0x4913ac);}['_applySuggestion'](_0x1e9424){const _0x1a502b=this['context']['plugins']['get'](tf),{reply:_0x27181f,interaction:_0x331b8c}=this['getInteractionAndReplyById'](_0x1e9424['replyId']),_0x369ee6=this['_prepareDocumentSuggestions'](_0x1e9424),_0x17b257=mg({'documentSuggestions':_0x369ee6,'transform':!0x0,'documentCompare':_0x1a502b,'documentCompareOptions':{'markDeletions':!0x1}});for(const [_0x3d44b6,_0x2d897d]of _0x17b257){const {editor:_0x49ce4f,indexes:_0x292cc6}=_0x369ee6['get'](_0x3d44b6);let _0x4a8adf;jp(_0x2d897d,'chat');try{_0x49ce4f['model']['change'](_0x5dfdd8=>{_0x4a8adf=_0x5dfdd8['batch'],_0x1a502b['applyOperations'](_0x5dfdd8,_0x2d897d);}),this['_batchToChanges']['set'](_0x4a8adf,{'interactionId':_0x331b8c['id'],'replyId':_0x27181f['id'],'indexes':_0x292cc6});}catch(_0x2ae3a6){throw this['_reporter']['logError'](new Zp({'code':'ai-applying-suggestion-failed','type':'runtime','cause':_0x2ae3a6})),_0x2ae3a6;}}this['_updateRatings'](_0x27181f);}['_rejectSuggestion'](_0x5a53a0){const {reply:_0x5c60f8}=this['getInteractionAndReplyById'](_0x5a53a0['replyId']);_0x5c60f8['setChangeGroupState'](_0x5a53a0['partIndex'],'rejected');}['_openBalloonFor'](_0x28a480,_0x50e801){if(!this['_hasAIChatBalloon'])return;const {reply:_0x36315a}=this['getInteractionAndReplyById'](_0x28a480),_0x3276cc=_0x36315a['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff']});if(!_0x3276cc['length'])return;let _0x24fef9,_0x551504;if(void 0x0!==_0x50e801?(_0x551504=_0x3276cc['find'](_0x1a3e29=>_0x1a3e29['index']==_0x50e801),_0x24fef9=_0x551504?.['index']):(_0x551504=_0x3276cc[0x0],_0x24fef9=_0x551504['index']),!_0x551504)return void _0x36315a['setChangeGroupState'](_0x50e801??0x0,'outdated');if(this['_currentPreviewedChangeGroup']?.['replyId']==_0x28a480&&this['_currentPreviewedChangeGroup']?.['partIndex']==_0x24fef9)return;const _0x407379=this['_getUserPresentableContentPartDocumentRange'](_0x28a480,_0x36315a,_0x551504),_0x5708b9=_0x36315a['changeGroups']['find'](_0x25cb62=>_0x25cb62['index']==_0x24fef9)['editor'],_0xa3fe15=_0x5708b9['plugins']['get']('AIChatBalloon');if(this['_activeBalloon']&&this['_activeBalloon']!==_0xa3fe15&&this['_activeBalloon']['close'](),!_0x407379)return _0xa3fe15['close'](),void(this['_activeBalloon']=void 0x0);this['_activeBalloon']=_0xa3fe15,this['_currentPreviewedChangeGroup']={'replyId':_0x28a480,'partIndex':_0x24fef9},this['_scrollToSuggestionRange'](_0x407379,!0x0,_0x5708b9);const _0x27429c=this['_getPresentableSiblingContentPartIndex'](_0x28a480,_0x24fef9,'next');_0xa3fe15['clearContent'](),_0xa3fe15['updateContent']({'part':_0x551504,'renderingStrategy':'static'}),_0xa3fe15['open']({'index':_0x24fef9,'title':ia(this['context']['locale'],'AI_BALLOON_HEADER_TITLE',(_0x24fef9+0x1)['toString']()),'showRotator':null!==_0x27429c,'ranges':[_0x407379],'areActionsDisabled':_0x36315a['areActionsDisabled'],'targetEditor':_0x5708b9}),_0xa3fe15['setState']('pending'),this['_aiChatUi']['scrollFeedToSuggestion'](_0x28a480,_0x24fef9),this['_aiChatUi']['setFeedItemAIReplySuggestionPartActive']({'id':_0x28a480,'index':_0x24fef9,'isActive':!0x0});}['_closeActiveBalloon'](){this['_activeBalloon']?.['close'](),this['_activeBalloon']=void 0x0,this['_currentPreviewedChangeGroup']=null;}['_getPresentableSiblingContentPartIndex'](_0x32cbc8,_0x5d8928,_0x3df8c4){const {reply:_0x6a9042}=this['getInteractionAndReplyById'](_0x32cbc8),_0x2121a1=_0x6a9042['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff']});if(0x1==_0x2121a1['length'])return null;const _0x3b6efd='next'==_0x3df8c4?0x1:-0x1;function _0x13f813(_0x31ff8a){const _0x33cd94=(_0x31ff8a+_0x3b6efd+_0x2121a1['length'])%_0x2121a1['length'];return{'siblingIndex':_0x33cd94,'siblingPart':_0x2121a1[_0x33cd94]};}const _0x35350c=_0x2121a1['findIndex'](_0x2cc798=>_0x2cc798['index']==_0x5d8928);let {siblingIndex:_0x9f856c,siblingPart:_0x4fbd71}=_0x13f813(_0x35350c);for(;!this['_getUserPresentableContentPartDocumentRange'](_0x32cbc8,_0x6a9042,_0x4fbd71);)if({siblingIndex:_0x9f856c,siblingPart:_0x4fbd71}=_0x13f813(_0x9f856c),_0x9f856c===_0x35350c)return null;return _0x4fbd71['index'];}['_getUserPresentableContentPartDocumentRange'](_0x212a05,_0x12fd52,_0x1aaf69){const _0xb19336=_0x12fd52['changeGroups'];if(!_0x1aaf69['hasChanges'])return null;const _0x5c38a4=_0xb19336['find'](_0x465676=>_0x465676['index']==_0x1aaf69['index']);if('pending'!==_0x5c38a4?.['state'])return null;if(!_0x5c38a4?.['editor']||'destroyed'===_0x5c38a4['editor']['state'])return _0x12fd52['setChangeGroupState'](_0x1aaf69['index'],'outdated'),null;const _0x36e746=this['_getDocumentRangeForReplyChanges'](_0x212a05,_0x1aaf69['index']);if(!_0x36e746)return _0x12fd52['setChangeGroupState'](_0x1aaf69['index'],'outdated'),null;const {range:_0x57bdeb,currentIndex:_0x28227c}=_0x36e746;return'$graveyard'==_0x57bdeb['root']['rootName']?(_0x12fd52['setChangeGroupState'](_0x28227c,'outdated'),null):_0x36e746['range'];}['_getDocumentRangeForReplyChanges'](_0x566d0c,_0x45a3a9){const {reply:_0x260b54,interaction:_0x166249}=this['getInteractionAndReplyById'](_0x566d0c),_0x4c2a8d=_0x260b54['changeGroups']['filter'](_0x346657=>'pending'==_0x346657['state']),_0x45eac5=_0x4c2a8d['map'](_0x2d0319=>_0x260b54['changeGroups']['indexOf'](_0x2d0319));void 0x0===_0x45a3a9&&(_0x45a3a9=_0x45eac5[0x0]);const _0x4dd429=_0x45eac5['indexOf'](_0x45a3a9);if(-0x1==_0x4dd429)return null;const _0x2af038=_0x4c2a8d[_0x4dd429],_0x36c53b=_0x2af038['editor'];if(!_0x36c53b||'destroyed'===_0x36c53b['state'])return null;if(!_0x411020(_0x36c53b,_0x2af038['rootName']))return null;const _0x1de0c8=_0x260b54['documentContextContent']['get'](_0x2af038['documentId']),_0x59b606=new tm([]),_0x1daf68=new tm([]);for(const _0x505c90 of _0x2af038['changes'])if('removed'!=_0x505c90['type']&&_0x1daf68['children']['push'](_0x505c90['node']['cloneNode'](!0x0)),'new'!=_0x505c90['type']){const _0x2fcbd0=Lm(_0x26c570=>Fm(_0x26c570,'data-id')==_0x505c90['id'],_0x1de0c8,!0x0);_0x59b606['children']['push'](_0x2fcbd0['cloneNode'](!0x0));}if(0x0==_0x59b606['children']['length']){if(_0x2af038['changes'][0x0]['anchorId']){const _0x3de756=jm('data-id',_0x2af038['changes'][0x0]['anchorId'],_0x1de0c8);_0x59b606['children']['unshift'](_0x3de756['cloneNode'](!0x0)),_0x1daf68['children']['unshift'](_0x3de756['cloneNode'](!0x0)),_0x3de756['nextSibling']&&(_0x59b606['children']['push'](_0x3de756['nextSibling']['cloneNode'](!0x0)),_0x1daf68['children']['push'](_0x3de756['nextSibling']['cloneNode'](!0x0)));}else{const _0xf64989=_0x1de0c8['children'][0x0];if(!_0xf64989)return null;_0x59b606['children']['push'](_0xf64989['cloneNode'](!0x0)),_0x1daf68['children']['push'](_0xf64989['cloneNode'](!0x0));}}const _0x1003c5=_0x166249['getDocumentContext'](),_0x3fe3f0=_0x1003c5['documents']['find'](_0x374a65=>_0x374a65['id']==_0x2af038['documentId'])['content'],_0x4cc2d6=_0x36c53b['model']['document']['getRoot'](_0x2af038['rootName']),_0x477038=_0x36c53b['data']['parse'](_0x3fe3f0,_0x4cc2d6),_0x255c0e=Qm(_0x59b606),_0x351993=_0x36c53b['data']['parse'](_0x255c0e,_0x4cc2d6),_0x449b6d=_0x36c53b['data']['parse'](_0x255c0e,_0x4cc2d6),_0x37d2d2=_0x36c53b['model']['createPositionAt'](_0x351993,0x0),_0x4570de=Qm(_0x1daf68),_0x578de5={'targetEditor':_0x36c53b,'anchor':_0x37d2d2,'markDeletions':!0x1};let _0xb43099;try{_0xb43099=_0x36c53b['plugins']['get'](tf)['getDiff'](_0x255c0e,_0x4570de,_0x578de5)['getOperations']();}catch(_0xd4a97a){return this['_reporter']['reportError'](new Zp({'code':'ai-chat-suggestion-diff-failed','type':'runtime','severity':'warning','cause':_0xd4a97a,'context':{'replyId':_0x566d0c,'partIndex':_0x45a3a9}})),null;}if(!_0xb43099['length'])return null;_0x36c53b['model']['change'](_0x2a1d4c=>{for(const _0x587d9f of _0xb43099)if('remove'==_0x587d9f['type']){const _0xfa8567=_0x587d9f['sourcePosition'],_0x1b53b8=_0x587d9f['howMany'],_0x3e4fe3=new tn(_0xfa8567,_0x1b53b8);_0x2a1d4c['batch']['addOperation'](_0x3e4fe3),_0x36c53b['model']['applyOperation'](_0x3e4fe3);}else'marker'!==_0x587d9f['type']&&(_0x587d9f['baseVersion']=null,_0x587d9f['isDocumentOperation']=!0x1,_0x2a1d4c['batch']['addOperation'](_0x587d9f),_0x36c53b['model']['applyOperation'](_0x587d9f));});const _0x556315=Cp(_0x36c53b,_0xb43099,_0x351993);Pp(_0x36c53b['model'],_0x556315);const _0x4eb269=_0x556315['getFirstRange']()['start']['path']['slice'](),_0x50576e=_0x556315['getFirstRange']()['end']['path']['slice'](),_0x4291f3=[];let _0x1e47fb=_0x351993,_0x1074e2=_0x449b6d;for(let _0x190636=0x0;_0x190636<_0x50576e['length'];_0x190636++){const _0x155934=_0x1e47fb['maxOffset']-_0x50576e[_0x190636];_0x4291f3[_0x190636]=_0x1074e2['maxOffset']-_0x155934,_0x1e47fb=_0x1e47fb['getChildAtOffset'](_0x50576e[_0x190636]),_0x1074e2=_0x1074e2['getChildAtOffset'](_0x4291f3[_0x190636]);}const _0x227498=_0x36c53b['model']['createRange'](_0x36c53b['model']['createPositionFromPath'](_0x449b6d,_0x4eb269),_0x36c53b['model']['createPositionFromPath'](_0x449b6d,_0x4291f3)),_0x2eea5a=_0x449b6d['getChild'](0x0)['getAttribute'](Kd),_0xc78357=Array['from'](_0x477038['getChildren']())['find'](_0x509f46=>_0x509f46['getAttribute'](Kd)==_0x2eea5a)['getPath'](),_0x29fe94=_0x227498['start']['path']['slice'](),_0xb62993=_0x227498['end']['path']['slice']();_0x29fe94[0x0]=_0xc78357[0x0]+_0x29fe94[0x0],_0xb62993[0x0]=_0xc78357[0x0]+_0xb62993[0x0];let _0x423dc9=_0x36c53b['model']['createRange'](_0x36c53b['model']['createPositionFromPath'](_0x36c53b['model']['document']['getRoot'](_0x2af038['rootName']),_0x29fe94),_0x36c53b['model']['createPositionFromPath'](_0x36c53b['model']['document']['getRoot'](_0x2af038['rootName']),_0xb62993));const _0x211e31=_0x1003c5['documents']['find'](_0x2701ea=>_0x2701ea['id']==_0x2af038['documentId'])['version'],_0x1a1b4a=_0x36c53b['model']['document']['history']['getOperations'](_0x211e31);for(const _0x504c8f of _0x1a1b4a)_0x423dc9=_0x1a83e1['_createFromRanges'](_0x423dc9['getTransformedByOperation'](_0x504c8f));return{'range':_0x423dc9,'currentIndex':_0x45a3a9,'targetEditor':_0x36c53b};}['_integrateEditorBalloon'](_0x3730c3){if(!_0x3730c3['plugins']['has']('AIChatBalloon'))return;const _0xa96858=_0x3730c3['plugins']['get']('AIChatBalloon');this['_hasAIChatBalloon']=!0x0,_0xa96858['bind']('showDiff')['to'](this,'_aiChatBalloonShowDiff'),this['listenTo'](_0xa96858,'toggleSuggestionDisplayMode',()=>{const {replyId:_0x593d46,partIndex:_0x13f9e9}=this['_currentPreviewedChangeGroup'];this['_aiChatBalloonShowDiff']=!this['_aiChatBalloonShowDiff'];const {reply:_0x255365}=this['getInteractionAndReplyById'](_0x593d46),_0x3621aa=_0x255365['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff'],'groupIndex':_0x13f9e9});_0xa96858['updateContent']({'part':_0x3621aa[0x0],'renderingStrategy':'static','keepErrors':!0x0});}),this['listenTo'](_0xa96858,'applySuggestion',()=>{const {replyId:_0x5c55da,partIndex:_0x5dc79d}=this['_currentPreviewedChangeGroup'];this['_applySuggestion']({'replyId':_0x5c55da,'partIndex':_0x5dc79d}),_0xa96858['setState']('accepted');}),this['listenTo'](_0xa96858,'insertSuggestion',()=>{const {replyId:_0x4777d6,partIndex:_0x2e2f81}=this['_currentPreviewedChangeGroup'];this['_insertSuggestion']({'replyId':_0x4777d6,'partIndex':_0x2e2f81}),_0xa96858['setState']('accepted');}),this['listenTo'](_0xa96858,'rejectSuggestion',()=>{const {replyId:_0x61c5b7,partIndex:_0x2dc6b2}=this['_currentPreviewedChangeGroup'];this['_rejectSuggestion']({'replyId':_0x61c5b7,'partIndex':_0x2dc6b2}),_0xa96858['setState']('rejected');}),this['listenTo'](_0xa96858,'showNext',()=>{const {replyId:_0x2b7ac8,partIndex:_0x44b74b}=this['_currentPreviewedChangeGroup'],_0x4b765f=this['_getPresentableSiblingContentPartIndex'](_0x2b7ac8,_0x44b74b,'next');null!==_0x4b765f&&this['_openBalloonFor'](_0x2b7ac8,_0x4b765f);}),this['listenTo'](_0xa96858,'showPrevious',()=>{const {replyId:_0x5b3b8a,partIndex:_0x246d34}=this['_currentPreviewedChangeGroup'],_0xa7146=this['_getPresentableSiblingContentPartIndex'](_0x5b3b8a,_0x246d34,'previous');null!==_0xa7146&&this['_openBalloonFor'](_0x5b3b8a,_0xa7146);}),this['listenTo'](_0xa96858,'dialogClosed',(_0x37a7e4,{id:_0x1d88d9})=>{if('aiChatBalloon'!==_0x1d88d9)return;const {replyId:_0xf09b9c,partIndex:_0xcc6815}=this['_currentPreviewedChangeGroup'];this['_currentPreviewedChangeGroup']=null,this['_aiChatUi']['setFeedItemAIReplySuggestionPartActive']({'id':_0xf09b9c,'index':_0xcc6815,'isActive':!0x1}),this['_activeBalloon']===_0xa96858&&(this['_activeBalloon']=void 0x0);});}['_integrateEditor'](_0x3e1436){if(this['_channelsToEditors']['set'](_0x3e1436['config']['get']('collaboration.channelId'),_0x3e1436),this['_integrateEditorBalloon'](_0x3e1436),this['addCurrentDocumentToChatContext'](),_0x3e1436['once']('destroy',()=>{this['_checkRemoveCurrentDocumentFromChatContext']();}),_0x3e1436['plugins']['has']('Undo')){const _0x574737=_0x3e1436['commands']['get']('undo'),_0x31118a=_0x3e1436['commands']['get']('redo');this['listenTo'](_0x574737,'revert',(_0x58e0d7,_0xfc7b6a,_0x4e172a)=>{const _0x257596=this['_batchToChanges']['get'](_0xfc7b6a);if(!_0x257596)return;const _0x3dc83d=this['activeConversation']['getInteraction'](_0x257596['interactionId']),_0x5cf3e2=_0x3dc83d?.['getReply'](_0x257596['replyId']);this['_batchToChanges']['delete'](_0xfc7b6a),_0x3dc83d&&_0x5cf3e2&&(_0x257596['indexes']['forEach'](_0x2e0485=>_0x5cf3e2['setChangeGroupState'](_0x2e0485,'pending')),this['_batchToChanges']['set'](_0x4e172a,_0x257596));}),this['listenTo'](_0x31118a,'revert',(_0x5f2e9f,_0x22dd27,_0x2925f2)=>{const _0xe9ce3b=this['_batchToChanges']['get'](_0x22dd27);if(!_0xe9ce3b)return;const _0x3f02bd=this['activeConversation']['getInteraction'](_0xe9ce3b['interactionId']),_0x32a892=_0x3f02bd?.['getReply'](_0xe9ce3b['replyId']);this['_batchToChanges']['delete'](_0x22dd27),_0x3f02bd&&_0x32a892&&(_0xe9ce3b['indexes']['forEach'](_0x4a431f=>_0x32a892['setChangeGroupState'](_0x4a431f,'accepted')),this['_batchToChanges']['set'](_0x2925f2,_0xe9ce3b));});}const _0x29b511=_0x3e1436['config']['get']('ai.chat.context');_0x29b511['alwaysAddSelection']&&_0x29b511['document']['enabled']&&this['listenTo'](_0x3e1436['model']['document']['selection'],'change:range',(_0x5c9749,_0x1115a4)=>{_0x1115a4['directChange']&&'chat'===_0x3e1436['plugins']['get']('AITabs')['view']['activeTab']&&(_0x3e1436['model']['hasContent'](_0x3e1436['model']['document']['selection'])?this['addSelectionToChatContext'](_0x3e1436):this['removeSelectionFromChatContext']());});}async['_getLastCreatedConversationId'](){const _0x8412f4=this['_aiConnector']['fetchConversations'](this['getGroupId'](),{'limit':0x1,'sortBy':'createdAt'});try{const _0x37a0cb=await _0x8412f4['getConversations']();return _0x37a0cb['length']?_0x37a0cb[0x0]['id']:'new';}catch(_0x18c16d){return this['_aiChatUi']['addFeedItemError']({'errorMessage':ia(this['context']['locale'],'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION'),'id':_0x10825a()}),this['_reporter']['logError'](new _0x5b5a95('ai-chat-conversation-init-failed',this,{'error':_0x18c16d})),this['_aiChatUi']['toggleLoadingSkeleton'](!0x1),this['_aiChatUi']['disableControls'](),null;}}async['_startConversationSafely'](_0xe81943={}){this['set']('isConversationReady',!0x1);try{await this['_handleStartConversation'](_0xe81943);}catch(_0x4bc987){this['_aiChatUi']['addFeedItemError']({'errorMessage':ia(this['context']['locale'],'AI_CHAT_UNABLE_TO_START_CONVERSATION'),'id':_0xe81943['id']||_0x10825a()}),this['_reporter']['logError'](_0x4bc987),this['activeConversation']=void 0x0,this['_aiChatUi']['disableControls']();}}async['_handleStartConversation']({id:_0x29af22,modelId:_0x5b3b47}={}){this['_closeActiveBalloon']();let _0x4b3c0f=_0x5b3b47;_0x4b3c0f||(_0x29af22||!this['activeConversation']?_0x4b3c0f=this['context']['config']['get']('ai.models.defaultModelId'):this['_aiChatUi']['isModelAvailable']&&(_0x4b3c0f=this['activeConversation']['selectedModel']['id'])),this['activeConversation']&&this['stopListening'](this['activeConversation']),await this['_stopLastInteraction']();const _0x4fd510=this['getGroupId'](),_0x514708=_0x29af22||_0x10825a();let _0x4a7ebe;this['activeConversation']=new fg({'connector':this['_aiConnector'],'chatModels':this['_aiChatModels'],'selectedModelId':_0x4b3c0f,'conversationId':_0x514708,'group':_0x4fd510,'locale':this['context']['locale'],'isFromHistory':!!_0x29af22,'channelsToEditors':this['_channelsToEditors'],'getSessionId':_0x29aa73=>this['_aiEditing']['getSessionId'](_0x29aa73)}),this['activeConversation']['delegate']('toolDataReceived','interactionCreated','interactionStarted','replyCreated')['to'](this),this['listenTo'](this['activeConversation'],'conversationInitialized',(_0x214071,_0x3bd49f)=>{this['_aiChatUi']['createConversation'](_0x3bd49f),this['_aiChatUi']['resetMessageInput'](),this['_aiChatUi']['clearPendingContextUI'](),this['_aiChatUi']['clearConversationContextUI'](),_0x29af22||(this['_aiChatUi']['resetConversationTitle'](),this['addCurrentDocumentToChatContext']());}),this['listenTo'](this['activeConversation'],'uploadProgressChanged',(_0x5f3e26,_0x1c8597)=>{this['_aiChatUi']['setIsUploadInProgress'](_0x1c8597['isUploadInProgress']);}),this['listenTo'](this['activeConversation'],'webSearchStarted',()=>{const _0x4bd0ec=this['_aiChatUi']['prepareLoadingMessage']({'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});this['_aiChatUi']['setLoadingMessage'](_0x4bd0ec);}),this['listenTo'](this['activeConversation'],'reasoningStarted',()=>{const _0x48ee72=this['_aiChatUi']['prepareLoadingMessage']({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});this['_aiChatUi']['setLoadingMessage'](_0x48ee72);}),this['listenTo'](this['activeConversation'],'webSearchFinished',(_0xc40f30,_0x591072)=>{this['_aiChatUi']['addFeedInteractionHeader'](_0x591072,{'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this['listenTo'](this['activeConversation'],'reasoningFinished',(_0x5922fd,_0x588810)=>{this['_aiChatUi']['addFeedInteractionHeader'](_0x588810,{'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});}),this['listenTo'](this['activeConversation'],'interactionStarted',()=>{this['_aiChatUi']['startInteraction']();}),this['listenTo'](this['activeConversation'],'interactionFinished',async()=>{this['_updateReplyContentThrottled']['flush'](),await this['_aiChatUi']['finishInteraction']();}),this['listenTo'](this['activeConversation'],'interactionDestroyed',(_0x35de38,_0x24b462)=>{this['_aiChatUi']['removeFeedInteraction'](_0x24b462['id']);}),this['listenTo'](this['activeConversation'],'setConversationTitle',(_0x4440ac,_0x1a52b8,_0x39c625)=>{this['_updateConversationTitle'](_0x1a52b8,_0x39c625);}),this['listenTo'](this['activeConversation'],'replyContentUpdated',async(_0x453a7f,_0x1781ce)=>{void 0x0!==_0x4a7ebe&&_0x4a7ebe!==_0x1781ce['id']&&this['_updateReplyContentThrottled']['flush'](),_0x4a7ebe=_0x1781ce['id'],_0x1781ce['isFromHistory']?await this['_updateReplyContent']({'reply':_0x1781ce}):await this['_updateReplyContentThrottled']({'reply':_0x1781ce});}),this['listenTo'](this['activeConversation'],'replyChangeGroupStateUpdated',(_0x624834,{reply:_0x4c41e5,index:_0xc31d2,state:_0x32c8db})=>{this['_aiChatUi']['updateFeedItemAIReplySuggestionPartState']({'id':_0x4c41e5['id'],'index':_0xc31d2,'state':_0x32c8db}),this['_currentPreviewedChangeGroup']?.['replyId']['includes'](_0x4c41e5['id'])&&this['_currentPreviewedChangeGroup']?.['partIndex']==_0xc31d2&&this['_activeBalloon']?.['setState'](_0x32c8db);}),this['listenTo'](this['activeConversation'],'contextItemAdded',(_0xe5a9a1,_0x91d829)=>{if(this['_aiChatUi']['addContextItem'](_0x91d829['contextItem'],_0x91d829['isLoading']),'selection'===_0x91d829['contextItem']['type']){const _0x311ef6=na(this['context']),_0x5dee96=[..._0x311ef6['model']['document']['selection']['getRanges']()];this['_aiEditing']['showFakeVisualSelection']({'editor':_0x311ef6,'ranges':_0x5dee96,'id':'context','priority':0x1});}}),this['listenTo'](this['activeConversation'],'contextItemRemoved',(_0x40c164,_0x19e333)=>{this['_aiChatUi']['removeContextItem'](_0x19e333['uiId']),'current-document'==_0x19e333['uiId']&&this['removeSelectionFromChatContext'](),'selection'===_0x19e333['type']&&this['_aiEditing']['hideFakeVisualSelection']('context');}),this['listenTo'](this['activeConversation'],'contextItemLoadingEnded',(_0x496877,_0x10040f)=>{this['_aiChatUi']['setContextItemLoading'](_0x10040f['contextItem']['uiId'],_0x10040f['isLoading']);}),this['listenTo'](this['activeConversation'],'contextSent',(_0x3fd8b1,_0x50c5da)=>{this['_aiChatUi']['setConversationContext'](_0x50c5da['contextItems']);}),this['listenTo'](this['activeConversation'],'addContextOptionsChanged',(_0x40d608,_0x4da906)=>{this['_aiChatUi']['setAddContextOptions'](_0x4da906['options']);}),this['listenTo'](this['activeConversation'],'sourceResourcesLoaded',(_0x8e0f11,_0x40850e)=>{this['_aiChatUi']['populateSourceResourceBalloon'](_0x40850e['sourceId'],_0x40850e['source'],_0x40850e['resources'],_0x40850e['uid']);}),this['listenTo'](this['activeConversation'],'resourceStateChanged',(_0x569af1,_0x2b47be)=>{this['_aiChatUi']['updateResourceState'](_0x2b47be['sourceId'],_0x2b47be['resourceId'],_0x2b47be['isInContext']);}),this['listenTo'](this['activeConversation'],'capabilitiesUpdated',(_0x184366,_0x3b0d7)=>{this['_aiChatUi']['updateCapabilities'](_0x3b0d7);}),this['listenTo'](this['activeConversation'],'modelSelected',async(_0x1431e5,_0x5c63f7)=>{try{const _0x195ab1=(await this['_aiChatModels']['getAll']())['find'](_0x23009e=>_0x23009e['id']===_0x5c63f7['selectedModel']?.['id'])||null;this['_aiChatUi']['setSelectedModel'](_0x195ab1,_0x5c63f7['isDisabled']);}catch(_0x1d823a){this['_reporter']['logError'](new Zp({'code':'ai-chat-models-unable-to-retrieve','type':'network','cause':_0x1d823a}),{'context':{'operation':'model-selected'}});}}),this['listenTo'](this['activeConversation'],'error',(_0x19df4c,{error:_0x59db51,interactionId:_0x525f5,fileName:_0x5cd2b2,url:_0x19956b,sourceId:_0x911570,sourceLabel:_0x20f597})=>{const _0x19e170=_0x525f5?_0x525f5+':'+_0x10825a():_0x10825a();this['_reporter']['reportError'](_0x59db51),_0x59db51['message']['startsWith']('ai-request-aborted')?this['_aiChatUi']['addFeedItemStaticMessage']({'staticMessage':ia(this['context']['locale'],'AI_CHAT_ABORTED_MESSAGE'),'id':_0x19e170}):_0x59db51['message']['startsWith']('ai-chat-conversation-init-failed')||_0x59db51['message']['startsWith']('ai-chat-conversation-start-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':ia(this['context']['locale'],'AI_CHAT_UNABLE_TO_START_CONVERSATION'),'id':_0x19e170}):_0x59db51['message']['startsWith']('ai-chat-file-upload-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':ia(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE',_0x5cd2b2),'id':_0x19e170}):_0x59db51['message']['startsWith']('ai-chat-url-upload-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':ia(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL',_0x19956b),'id':_0x19e170}):_0x59db51['message']['startsWith']('ai-chat-context-invalid-data')?this['_aiChatUi']['addFeedItemError']({'errorMessage':ia(this['context']['locale'],'AI_CHAT_CONTEXT_INVALID_DATA'),'id':_0x19e170}):_0x59db51['message']['startsWith']('ai-chat-context-unsupported-type')?this['_aiChatUi']['addFeedItemError']({'errorMessage':ia(this['context']['locale'],'AI_CHAT_CONTEXT_UNSUPPORTED_TYPE'),'id':_0x19e170}):_0x59db51['message']['startsWith']('ai-chat-source-resources-load-failed')?(_0x911570&&this['_aiChatUi']['closeSourceResourceBalloon'](_0x911570),this['_aiChatUi']['addFeedItemError']({'errorMessage':ia(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES',_0x20f597||'source'),'id':_0x19e170})):_0x59db51['message']['startsWith']('ai-chat-resource-load-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':ia(this['context']['locale'],'AI_CHAT_RESOURCE_LOAD_FAILED'),'id':_0x19e170}):_0x59db51['message']['startsWith']('ai-chat-invalid-request')?this['_aiChatUi']['addFeedItemError']({'errorMessage':ia(this['context']['locale'],'AI_CHAT_INVALID_REQUEST'),'id':_0x19e170}):_0x59db51['message']['startsWith']('ai-chat-context-unsupported-file-type')?this['_aiChatUi']['addFeedItemError']({'errorMessage':ia(this['context']['locale'],'AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE'),'id':_0x19e170}):_0x59db51['message']['startsWith']('ai-chat-context-file-too-large')?this['_aiChatUi']['addFeedItemError']({'errorMessage':ia(this['context']['locale'],'AI_CHAT_CONTEXT_FILE_TOO_LARGE'),'id':_0x19e170}):_0x59db51['message']['startsWith']('ai-chat-context-file-too-many-pages')?this['_aiChatUi']['addFeedItemError']({'errorMessage':ia(this['context']['locale'],'AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES'),'id':_0x19e170}):_0x59db51['message']['startsWith']('ai-chat-context-form-data-size-limits-exceeded')?this['_aiChatUi']['addFeedItemError']({'errorMessage':ia(this['context']['locale'],'AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED'),'id':_0x19e170}):this['_aiChatUi']['addFeedItemError']({'errorMessage':ia(this['context']['locale'],'AI_CHAT_GENERIC_ERROR'),'id':_0x19e170});}),await this['activeConversation']['init'](this['context']['config']['get']('ai.chat.context')),_0x29af22||(await this['activeConversation']['start'](),this['_aiChatUi']['enableControls']()),this['set']('isConversationReady',!0x0);}async['_handleUIUserMessage']({message:_0x2bf59c,attributes:_0x431d67}){if(!this['activeConversation'])throw new _0x5b5a95('ai-chat-controller-no-active-conversation');if(this['activeConversation']['isCurrentDocumentInContext']()){const _0x317f99=await this['_aiEditing']['getDocumentData']();await this['activeConversation']['updateCurrentDocumentsInContext'](_0x317f99);}this['activeConversation']['id']&&this['activeConversation']['isStarted']&&await this['activeConversation']['handleUserInteraction']({'userMessage':_0x2bf59c,'attributes':_0x431d67});}['_removeFromContext'](_0x231e01){this['activeConversation']?.['removeFromContext'](_0x231e01);}['_toggleWebSearch'](){this['activeConversation']?.['toggleWebSearch']();}['_toggleReasoning'](){this['activeConversation']?.['toggleReasoning']();}['getInteractionAndReplyById'](_0x13b278){const [_0x1a2298,_0x32b24f]=_0x13b278['split'](':'),_0x759322=this['activeConversation']['getInteraction'](_0x1a2298);return{'interaction':_0x759322,'reply':_0x759322['getReply'](_0x32b24f)};}['_scrollToSuggestionRange'](_0x8c5481,_0x53fa9f=!0x1,_0x313187){const _0x55288a={'target':_0x313187['editing']['view']['domConverter']['viewRangeToDom'](_0x313187['editing']['mapper']['toViewRange'](_0x8c5481)),'viewportOffset':{'top':0x96,'left':0x0,'bottom':0x32,'right':0x0},'ancestorOffset':0x14,'alignToTop':_0x53fa9f};_0x53fa9f&&(_0x55288a['alignToTop']=!0x0),_0x38fdd1(_0x55288a);}['_updateConversationTitle'](_0x445d31,_0x4c43c1=!0x1){this['_aiChatUi']['setConversationTitle'](_0x445d31||ia(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION'),_0x4c43c1);}['_addFeedItemReply'](_0x2e7fcb){'text'===_0x2e7fcb['type']?this['_aiChatUi']['addFeedItemAIReply'](_0x2e7fcb):this['_aiChatUi']['addFeedItemAISuggestion'](_0x2e7fcb);}async['_updateReplyContent']({reply:_0x3e49df,renderingStrategy:_0x591f0c}){const {id:_0x3a7d7c,interactionId:_0x438574,isDone:_0x316a97,type:_0x27a345,parsedContent:_0x32223d}=_0x3e49df,_0x348e6b=_0x438574+':'+_0x3a7d7c;if('modification'===_0x27a345){const _0x42d1a5=_0x3e49df['getContentParts']({'showDiff':this['_aiChatUi']['showDiff']});await this['_aiChatUi']['updateFeedItemAIReplySuggestionContent']({'id':_0x348e6b,'parts':_0x42d1a5,'isDone':_0x316a97,'skipLoadingEffects':_0x3e49df['isFromHistory']});}else'text'===_0x27a345&&await this['_aiChatUi']['updateFeedItemAIReplyContent']({'id':_0x348e6b,'parsedContent':_0x32223d['get']('text'),'renderingStrategy':_0x591f0c,'isDone':_0x316a97});_0x316a97&&_0x3e49df['sources']['length']>0x0&&this['_aiChatUi']['updateFeedItemAIReplySources'](_0x348e6b,_0x3e49df['sources']);}['_updateReplyContentThrottled']=wr(this['_updateReplyContent']['bind'](this),0xc8);async['_stopLastInteraction'](){const _0x565afd=this['activeConversation']?.['lastInteraction'];_0x565afd&&(_0x565afd['stop'](),this['_aiChatUi']['stopInteraction'](_0x565afd)),this['_updateReplyContentThrottled']['cancel']();}async['_flushLastInteractionUI'](){const _0x33887e=this['activeConversation']?.['lastInteraction'];if(_0x33887e){for await(const _0xd96554 of _0x33887e['replies'])this['_aiChatUi']['hasFeedItem'](_0xd96554['id'])||this['_addFeedItemReply'](_0xd96554),await this['_updateReplyContent']({'reply':_0xd96554,'renderingStrategy':'static'});}}['_updateRatings'](_0x447cf4){const _0x133ef2={'positiveCount':_0x447cf4['changeGroups']['filter'](_0x5a69df=>'accepted'===_0x5a69df['state'])['length'],'totalCount':_0x447cf4['changeGroups']['length'],'modificationId':_0x447cf4['id']},_0x1094f5=this['activeConversation']['getInteraction'](_0x447cf4['interactionId'])['messageId'];_0x1094f5&&this['_aiConnector']['upsertAIChatRating'](this['activeConversation']['id'],_0x1094f5,_0x133ef2);}['_getAIChatFeedAPI'](_0x11f01b){const _0x1171b4=this['_aiChatUi'],_0x4e9c0c=()=>{_0x11f01b['resetWebSearchState'](),_0x11f01b['resetReasoningState'](),_0x1171b4['clearLoadingMessage']();},_0x2080d2=()=>{_0x11f01b['currentReply']&&(_0x11f01b['currentReply']['done'](),_0x11f01b['currentReply']=void 0x0);};return{'insertTextReply':(_0x237a6e,_0x3c560d)=>{_0x2080d2(),_0x4e9c0c();const _0xc35a1f=_0x11f01b['currentReply']=_0x11f01b['createReply']({'type':'text','interactionId':_0x11f01b['id'],'id':_0x3c560d||_0x10825a(),'channelsToEditors':this['_channelsToEditors']});return _0xc35a1f['appendContent'](_0x237a6e),_0x2080d2(),_0xc35a1f;},'insertCustomElement':async(_0x5d6679,_0x17fccc)=>(_0x2080d2(),_0x4e9c0c(),_0x1171b4['addFeedItemCustomElement'](_0x5d6679,_0x17fccc||_0x10825a())),'setLoadingMessage':_0x3946b4=>{_0x1171b4['setLoadingMessage'](_0x3946b4);},'clearLoadingMessage':()=>{_0x1171b4['clearLoadingMessage']();}};}['_checkRemoveCurrentDocumentFromChatContext'](){sa(this['context'])['find'](_0x5bcfba=>'destroyed'!==_0x5bcfba['state'])||(this['activeConversation']?.['removeFromContext']('current-document'),this['activeConversation']?.['toggleAddCurrentDocumentOptionVisibility'](!0x1));}};const wg=['showChangeInText','insertSuggestion','applySuggestion','rejectSuggestion','mouseOverSuggestion','mouseLeaveSuggestion','toggleSuggestionDisplayMode','like','dislike'],bg=[...wg,'startConversation','sendUserMessage','promptInputPaste','abortPromptStream','addDocumentToContext','addFileToContext','addUrlToContext','executeCustomItemCallback','addResourceToContext','removeContextItem','loadSourceResources','toggleWebSearch','toggleReasoning','selectModel'];var yg,vg='undefined'==typeof document?void 0x0:document,_g=!!vg&&'content'in vg['createElement']('template'),Eg=!!vg&&vg['createRange']&&'createContextualFragment'in vg['createRange']();function Tg(_0x3d9845){return _0x3d9845=_0x3d9845['trim'](),_g?function(_0x8100e6){var _0x25205f=vg['createElement']('template');return _0x25205f['innerHTML']=_0x8100e6,_0x25205f['content']['childNodes'][0x0];}(_0x3d9845):Eg?function(_0x4c29af){return yg||(yg=vg['createRange']())['selectNode'](vg['body']),yg['createContextualFragment'](_0x4c29af)['childNodes'][0x0];}(_0x3d9845):function(_0x3537fb){var _0x279fb4=vg['createElement']('body');return _0x279fb4['innerHTML']=_0x3537fb,_0x279fb4['childNodes'][0x0];}(_0x3d9845);}function Ag(_0x4666e2,_0x5f0d1b){var _0x515790,_0x58e285,_0x43d454=_0x4666e2['nodeName'],_0x2d95a4=_0x5f0d1b['nodeName'];return _0x43d454===_0x2d95a4||(_0x515790=_0x43d454['charCodeAt'](0x0),_0x58e285=_0x2d95a4['charCodeAt'](0x0),_0x515790<=0x5a&&_0x58e285>=0x61?_0x43d454===_0x2d95a4['toUpperCase']():_0x58e285<=0x5a&&_0x515790>=0x61&&_0x2d95a4===_0x43d454['toUpperCase']());}function Sg(_0x46e0a5,_0x4ca612,_0x10f3af){_0x46e0a5[_0x10f3af]!==_0x4ca612[_0x10f3af]&&(_0x46e0a5[_0x10f3af]=_0x4ca612[_0x10f3af],_0x46e0a5[_0x10f3af]?_0x46e0a5['setAttribute'](_0x10f3af,''):_0x46e0a5['removeAttribute'](_0x10f3af));}var Ig={'OPTION':function(_0x4b182,_0x3316d8){var _0x5d027c=_0x4b182['parentNode'];if(_0x5d027c){var _0x4c9774=_0x5d027c['nodeName']['toUpperCase']();'OPTGROUP'===_0x4c9774&&(_0x4c9774=(_0x5d027c=_0x5d027c['parentNode'])&&_0x5d027c['nodeName']['toUpperCase']()),'SELECT'!==_0x4c9774||_0x5d027c['hasAttribute']('multiple')||(_0x4b182['hasAttribute']('selected')&&!_0x3316d8['selected']&&(_0x4b182['setAttribute']('selected','selected'),_0x4b182['removeAttribute']('selected')),_0x5d027c['selectedIndex']=-0x1);}Sg(_0x4b182,_0x3316d8,'selected');},'INPUT':function(_0x2fcb3,_0x5885c5){Sg(_0x2fcb3,_0x5885c5,'checked'),Sg(_0x2fcb3,_0x5885c5,'disabled'),_0x2fcb3['value']!==_0x5885c5['value']&&(_0x2fcb3['value']=_0x5885c5['value']),_0x5885c5['hasAttribute']('value')||_0x2fcb3['removeAttribute']('value');},'TEXTAREA':function(_0xb23d3e,_0x3c5832){var _0x349290=_0x3c5832['value'];_0xb23d3e['value']!==_0x349290&&(_0xb23d3e['value']=_0x349290);var _0x462cde=_0xb23d3e['firstChild'];if(_0x462cde){var _0x3f9919=_0x462cde['nodeValue'];if(_0x3f9919==_0x349290||!_0x349290&&_0x3f9919==_0xb23d3e['placeholder'])return;_0x462cde['nodeValue']=_0x349290;}},'SELECT':function(_0x1b1c81,_0x366445){if(!_0x366445['hasAttribute']('multiple')){for(var _0x47ce8c,_0x3acfe9,_0x1938b1=-0x1,_0x2aa420=0x0,_0x2693fa=_0x1b1c81['firstChild'];_0x2693fa;)if('OPTGROUP'===(_0x3acfe9=_0x2693fa['nodeName']&&_0x2693fa['nodeName']['toUpperCase']()))(_0x2693fa=(_0x47ce8c=_0x2693fa)['firstChild'])||(_0x2693fa=_0x47ce8c['nextSibling'],_0x47ce8c=null);else{if('OPTION'===_0x3acfe9){if(_0x2693fa['hasAttribute']('selected')){_0x1938b1=_0x2aa420;break;}_0x2aa420++;}!(_0x2693fa=_0x2693fa['nextSibling'])&&_0x47ce8c&&(_0x2693fa=_0x47ce8c['nextSibling'],_0x47ce8c=null);}_0x1b1c81['selectedIndex']=_0x1938b1;}}};function kg(){}function xg(_0x1f6b8e){if(_0x1f6b8e)return _0x1f6b8e['getAttribute']&&_0x1f6b8e['getAttribute']('id')||_0x1f6b8e['id'];}var Cg=function(_0x1d005f){return function(_0x40ec1a,_0x4a6be0,_0x3cc5eb){if(_0x3cc5eb||(_0x3cc5eb={}),'string'==typeof _0x4a6be0){if('#document'===_0x40ec1a['nodeName']||'HTML'===_0x40ec1a['nodeName']||'BODY'===_0x40ec1a['nodeName']){var _0x39f45b=_0x4a6be0;(_0x4a6be0=vg['createElement']('html'))['innerHTML']=_0x39f45b;}else _0x4a6be0=Tg(_0x4a6be0);}else 0xb===_0x4a6be0['nodeType']&&(_0x4a6be0=_0x4a6be0['firstElementChild']);var _0x1be529=_0x3cc5eb['getNodeKey']||xg,_0x7cd1c5=_0x3cc5eb['onBeforeNodeAdded']||kg,_0x5131dd=_0x3cc5eb['onNodeAdded']||kg,_0x5dd396=_0x3cc5eb['onBeforeElUpdated']||kg,_0x391a06=_0x3cc5eb['onElUpdated']||kg,_0x58086d=_0x3cc5eb['onBeforeNodeDiscarded']||kg,_0x10d173=_0x3cc5eb['onNodeDiscarded']||kg,_0x35dcad=_0x3cc5eb['onBeforeElChildrenUpdated']||kg,_0x406645=_0x3cc5eb['skipFromChildren']||kg,_0xccc752=_0x3cc5eb['addChild']||function(_0x379fa5,_0x4ea6b0){return _0x379fa5['appendChild'](_0x4ea6b0);},_0x2475cd=!0x0===_0x3cc5eb['childrenOnly'],_0x5d6827=Object['create'](null),_0x2f2770=[];function _0x202ff0(_0x560dd9){_0x2f2770['push'](_0x560dd9);}function _0x1bed1b(_0x49ce84,_0x402961){if(0x1===_0x49ce84['nodeType'])for(var _0x3bff02=_0x49ce84['firstChild'];_0x3bff02;){var _0x564ed6=void 0x0;_0x402961&&(_0x564ed6=_0x1be529(_0x3bff02))?_0x202ff0(_0x564ed6):(_0x10d173(_0x3bff02),_0x3bff02['firstChild']&&_0x1bed1b(_0x3bff02,_0x402961)),_0x3bff02=_0x3bff02['nextSibling'];}}function _0x4839c4(_0x2d7f3d,_0x4df6b1,_0x39425e){!0x1!==_0x58086d(_0x2d7f3d)&&(_0x4df6b1&&_0x4df6b1['removeChild'](_0x2d7f3d),_0x10d173(_0x2d7f3d),_0x1bed1b(_0x2d7f3d,_0x39425e));}function _0x3aa9df(_0x17dde6){if(0x1===_0x17dde6['nodeType']||0xb===_0x17dde6['nodeType'])for(var _0x11dbc1=_0x17dde6['firstChild'];_0x11dbc1;){var _0x155c94=_0x1be529(_0x11dbc1);_0x155c94&&(_0x5d6827[_0x155c94]=_0x11dbc1),_0x3aa9df(_0x11dbc1),_0x11dbc1=_0x11dbc1['nextSibling'];}}function _0x1439cf(_0x4ffbe8){_0x5131dd(_0x4ffbe8);for(var _0x434cf9=_0x4ffbe8['firstChild'];_0x434cf9;){var _0x4c1b65=_0x434cf9['nextSibling'],_0x34bcff=_0x1be529(_0x434cf9);if(_0x34bcff){var _0x2844e3=_0x5d6827[_0x34bcff];_0x2844e3&&Ag(_0x434cf9,_0x2844e3)?(_0x434cf9['parentNode']['replaceChild'](_0x2844e3,_0x434cf9),_0x5db071(_0x2844e3,_0x434cf9)):_0x1439cf(_0x434cf9);}else _0x1439cf(_0x434cf9);_0x434cf9=_0x4c1b65;}}function _0x5db071(_0x37635e,_0xe11e4e,_0x50bb27){var _0x2d62d7=_0x1be529(_0xe11e4e);if(_0x2d62d7&&delete _0x5d6827[_0x2d62d7],!_0x50bb27){var _0x4d15b8=_0x5dd396(_0x37635e,_0xe11e4e);if(!0x1===_0x4d15b8)return;if(_0x4d15b8 instanceof HTMLElement&&_0x3aa9df(_0x37635e=_0x4d15b8),_0x1d005f(_0x37635e,_0xe11e4e),_0x391a06(_0x37635e),!0x1===_0x35dcad(_0x37635e,_0xe11e4e))return;}'TEXTAREA'!==_0x37635e['nodeName']?function(_0x28de02,_0xbbba06){var _0x4e3d0b,_0x3d09b7,_0x206da0,_0x3e891d,_0x1e72ef,_0x4bf8eb=_0x406645(_0x28de02,_0xbbba06),_0x489195=_0xbbba06['firstChild'],_0x50a02b=_0x28de02['firstChild'];t:for(;_0x489195;){for(_0x3e891d=_0x489195['nextSibling'],_0x4e3d0b=_0x1be529(_0x489195);!_0x4bf8eb&&_0x50a02b;){if(_0x206da0=_0x50a02b['nextSibling'],_0x489195['isSameNode']&&_0x489195['isSameNode'](_0x50a02b)){_0x489195=_0x3e891d,_0x50a02b=_0x206da0;continue t;}_0x3d09b7=_0x1be529(_0x50a02b);var _0x217851=_0x50a02b['nodeType'],_0x12ab56=void 0x0;if(_0x217851===_0x489195['nodeType']&&(0x1===_0x217851?(_0x4e3d0b?_0x4e3d0b!==_0x3d09b7&&((_0x1e72ef=_0x5d6827[_0x4e3d0b])?_0x206da0===_0x1e72ef?_0x12ab56=!0x1:(_0x28de02['insertBefore'](_0x1e72ef,_0x50a02b),_0x3d09b7?_0x202ff0(_0x3d09b7):_0x4839c4(_0x50a02b,_0x28de02,!0x0),_0x3d09b7=_0x1be529(_0x50a02b=_0x1e72ef)):_0x12ab56=!0x1):_0x3d09b7&&(_0x12ab56=!0x1),(_0x12ab56=!0x1!==_0x12ab56&&Ag(_0x50a02b,_0x489195))&&_0x5db071(_0x50a02b,_0x489195)):0x3!==_0x217851&&0x8!=_0x217851||(_0x12ab56=!0x0,_0x50a02b['nodeValue']!==_0x489195['nodeValue']&&(_0x50a02b['nodeValue']=_0x489195['nodeValue']))),_0x12ab56){_0x489195=_0x3e891d,_0x50a02b=_0x206da0;continue t;}_0x3d09b7?_0x202ff0(_0x3d09b7):_0x4839c4(_0x50a02b,_0x28de02,!0x0),_0x50a02b=_0x206da0;}if(_0x4e3d0b&&(_0x1e72ef=_0x5d6827[_0x4e3d0b])&&Ag(_0x1e72ef,_0x489195))_0x4bf8eb||_0xccc752(_0x28de02,_0x1e72ef),_0x5db071(_0x1e72ef,_0x489195);else{var _0x4aa30b=_0x7cd1c5(_0x489195);!0x1!==_0x4aa30b&&(_0x4aa30b&&(_0x489195=_0x4aa30b),_0x489195['actualize']&&(_0x489195=_0x489195['actualize'](_0x28de02['ownerDocument']||vg)),_0xccc752(_0x28de02,_0x489195),_0x1439cf(_0x489195));}_0x489195=_0x3e891d,_0x50a02b=_0x206da0;}!function(_0x8ceb,_0x148139,_0x6caa27){for(;_0x148139;){var _0x65f10a=_0x148139['nextSibling'];(_0x6caa27=_0x1be529(_0x148139))?_0x202ff0(_0x6caa27):_0x4839c4(_0x148139,_0x8ceb,!0x0),_0x148139=_0x65f10a;}}(_0x28de02,_0x50a02b,_0x3d09b7);var _0x456d42=Ig[_0x28de02['nodeName']];_0x456d42&&_0x456d42(_0x28de02,_0xbbba06);}(_0x37635e,_0xe11e4e):Ig['TEXTAREA'](_0x37635e,_0xe11e4e);}_0x3aa9df(_0x40ec1a);var _0x51aeb7=_0x40ec1a,_0x1a93e4=_0x51aeb7['nodeType'],_0x14c959=_0x4a6be0['nodeType'];if(!_0x2475cd){if(0x1===_0x1a93e4)0x1===_0x14c959?Ag(_0x40ec1a,_0x4a6be0)||(_0x10d173(_0x40ec1a),_0x51aeb7=function(_0x142df1,_0x1dfa8c){for(var _0x204d5f=_0x142df1['firstChild'];_0x204d5f;){var _0x3e93ff=_0x204d5f['nextSibling'];_0x1dfa8c['appendChild'](_0x204d5f),_0x204d5f=_0x3e93ff;}return _0x1dfa8c;}(_0x40ec1a,function(_0x3341fb,_0x24edb0){return _0x24edb0&&'http://www.w3.org/1999/xhtml'!==_0x24edb0?vg['createElementNS'](_0x24edb0,_0x3341fb):vg['createElement'](_0x3341fb);}(_0x4a6be0['nodeName'],_0x4a6be0['namespaceURI']))):_0x51aeb7=_0x4a6be0;else{if(0x3===_0x1a93e4||0x8===_0x1a93e4){if(_0x14c959===_0x1a93e4)return _0x51aeb7['nodeValue']!==_0x4a6be0['nodeValue']&&(_0x51aeb7['nodeValue']=_0x4a6be0['nodeValue']),_0x51aeb7;_0x51aeb7=_0x4a6be0;}}}if(_0x51aeb7===_0x4a6be0)_0x10d173(_0x40ec1a);else{if(_0x4a6be0['isSameNode']&&_0x4a6be0['isSameNode'](_0x51aeb7))return;if(_0x5db071(_0x51aeb7,_0x4a6be0,_0x2475cd),_0x2f2770)for(var _0x4efccd=0x0,_0x857235=_0x2f2770['length'];_0x4efccd<_0x857235;_0x4efccd++){var _0x341ec0=_0x5d6827[_0x2f2770[_0x4efccd]];_0x341ec0&&_0x4839c4(_0x341ec0,_0x341ec0['parentNode'],!0x1);}}return!_0x2475cd&&_0x51aeb7!==_0x40ec1a&&_0x40ec1a['parentNode']&&(_0x51aeb7['actualize']&&(_0x51aeb7=_0x51aeb7['actualize'](_0x40ec1a['ownerDocument']||vg)),_0x40ec1a['parentNode']['replaceChild'](_0x51aeb7,_0x40ec1a)),_0x51aeb7;};}(function(_0x3d55e6,_0x1ce3c0){var _0xa9eff1,_0x9743dd,_0x5ad63e,_0x1b89aa,_0x5d2c53=_0x1ce3c0['attributes'];if(0xb!==_0x1ce3c0['nodeType']&&0xb!==_0x3d55e6['nodeType']){for(var _0x5615c7=_0x5d2c53['length']-0x1;_0x5615c7>=0x0;_0x5615c7--)_0x9743dd=(_0xa9eff1=_0x5d2c53[_0x5615c7])['name'],_0x5ad63e=_0xa9eff1['namespaceURI'],_0x1b89aa=_0xa9eff1['value'],_0x5ad63e?(_0x9743dd=_0xa9eff1['localName']||_0x9743dd,_0x3d55e6['getAttributeNS'](_0x5ad63e,_0x9743dd)!==_0x1b89aa&&('xmlns'===_0xa9eff1['prefix']&&(_0x9743dd=_0xa9eff1['name']),_0x3d55e6['setAttributeNS'](_0x5ad63e,_0x9743dd,_0x1b89aa))):_0x3d55e6['getAttribute'](_0x9743dd)!==_0x1b89aa&&_0x3d55e6['setAttribute'](_0x9743dd,_0x1b89aa);for(var _0x1efa83=_0x3d55e6['attributes'],_0x1759cd=_0x1efa83['length']-0x1;_0x1759cd>=0x0;_0x1759cd--)_0x9743dd=(_0xa9eff1=_0x1efa83[_0x1759cd])['name'],(_0x5ad63e=_0xa9eff1['namespaceURI'])?(_0x9743dd=_0xa9eff1['localName']||_0x9743dd,_0x1ce3c0['hasAttributeNS'](_0x5ad63e,_0x9743dd)||_0x3d55e6['removeAttributeNS'](_0x5ad63e,_0x9743dd)):_0x1ce3c0['hasAttribute'](_0x9743dd)||_0x3d55e6['removeAttribute'](_0x9743dd);}});function Rg(_0x429b02){const _0x361579=new AbortController();return{'promise':new Promise((_0x25abc5,_0x44a981)=>{const _0x24e63b=setTimeout(_0x25abc5,_0x429b02);_0x361579['signal']['addEventListener']('abort',()=>{clearTimeout(_0x24e63b),_0x44a981();});}),'abortController':_0x361579};}var Pg=class{['options'];['isStreaming']=!0x1;['document']=null;['nodesList']=[];['currentIndex']=0x0;['timeoutAbortController']=null;['lastUpdateTime']=0x0;constructor(_0x46a245){this['options']={'delay':_0x46a245?.['delay']??0xa,'textNodeStyle':_0x46a245?.['textNodeStyle']??'animation:\x20ck-html-streamer-fade-in\x20.3s'};}async['stream']({document:_0x38d1ad,targetElement:_0x50fd5a,abortSignal:_0xf77e11}){this['isStreaming']&&this['stop'](),_0xf77e11?.['addEventListener']('abort',this['stop']['bind'](this)),this['document']=am(_0x38d1ad,!0x0),this['nodesList']=this['getParsedDocumentNodeList'](),this['isStreaming']=!0x0,this['currentIndex']>this['nodesList']['length']&&(this['currentIndex']=this['nodesList']['length']);for(let _0x356909=0x0;_0x356909<this['currentIndex'];_0x356909++)this['nodesList'][_0x356909]['shouldBeStreamed']=!0x0;do{const _0x93edf2=Date['now'](),_0x57fa0d=this['nodesList'][this['currentIndex']],_0x4e3da2=_0x93edf2-this['lastUpdateTime'];if(_0x57fa0d){_0x57fa0d['shouldBeStreamed']=!0x0;let _0x3e83c8=_0x57fa0d['parent'];for(;_0x3e83c8;)_0x3e83c8['shouldBeStreamed']=!0x0,_0x3e83c8=_0x3e83c8['parent'];}if(_0x4e3da2<this['options']['delay'])try{const {promise:_0x4d33eb,abortController:_0x415cbe}=Rg(this['options']['delay']-_0x4e3da2);this['timeoutAbortController']=_0x415cbe,await _0x4d33eb;}catch(_0x3567f3){return;}Cg(_0x50fd5a,'<'+_0x50fd5a['tagName']+'>'+this['renderNode'](this['document'])+'</'+_0x50fd5a['tagName']+'>',{'childrenOnly':!0x0}),this['currentIndex']++,this['lastUpdateTime']=Date['now']();}while(this['currentIndex']<this['nodesList']['length']);this['currentIndex']=this['nodesList']['length'],this['isStreaming']=!0x1;}['reset'](){this['isStreaming']=!0x1,this['document']=null,this['nodesList']=[],this['currentIndex']=0x0,this['timeoutAbortController']=null;}['cleanUpAnimations']({targetElement:_0x4a47f2}){Array['from'](_0x4a47f2['querySelectorAll']('span[data-ck-html-streamer-word-chunk]'))['reverse']()['forEach'](_0xe381d6=>{_0xe381d6['replaceWith'](_0xe381d6['childNodes'][0x0]);});}['stop'](){this['isStreaming']=!0x1,this['timeoutAbortController']&&(this['timeoutAbortController']['abort'](),this['timeoutAbortController']=null);}['renderNode'](_0x121058){let _0x4a3719='';if(function(_0x53a42e){return rm(_0x53a42e);}(_0x121058)){for(const _0x34cba6 of _0x121058['children'])_0x4a3719+=this['renderNode'](_0x34cba6);}else{if(Lg(_0x121058)){if(!_0x121058['shouldBeStreamed'])return'';const _0x173fcb=_0x121058,_0x465f60=Object['entries'](_0x173fcb['attribs'])['map'](([_0x14e8d6,_0x3f9e27])=>_0x14e8d6+'=\x22'+_0x3f9e27+'\x22')['join']('\x20');_0x4a3719+='<'+_0x173fcb['tagName']+(_0x465f60?'\x20'+_0x465f60:'')+'>';for(const _0xd26534 of om(_0x2acbca=_0x173fcb)?_0x2acbca['children']:[])_0x4a3719+=this['renderNode'](_0xd26534);_0x4a3719+='</'+_0x173fcb['tagName']+'>';}else{if(!Ng(_0x121058))return'';if(!_0x121058['shouldBeStreamed'])return'';!function(_0x2fb3e7){return!(!_0x2fb3e7['parent']||!Lg(_0x2fb3e7['parent']))&&(!!Mg['includes'](_0x2fb3e7['parent']['tagName'])&&!Im(_0x2fb3e7)['match'](/^\s*[<>]\s*$/));}(_0x121058)?_0x4a3719+=Em(_0x121058):_0x4a3719+=Em(new em('span',{'data-ck-html-streamer-word-chunk':'','style':this['options']['textNodeStyle']},[_0x121058]));}}var _0x2acbca;return _0x4a3719;}['getParsedDocumentNodeList'](){const _0x37800d=[];return function(_0x32f6c8,_0x5cb082){const _0x3859b5=_0x1e698c=>{if(_0x5cb082(_0x1e698c),_0x1e698c instanceof Kf)for(let _0xe68b70=0x0;_0xe68b70<_0x1e698c['children']['length'];_0xe68b70++){const _0x4506b9=_0x1e698c['children'][_0xe68b70];_0x3859b5(_0x4506b9);}};for(let _0x9e0d24=0x0;_0x9e0d24<_0x32f6c8['children']['length'];_0x9e0d24++)_0x3859b5(_0x32f6c8['children'][_0x9e0d24]);}(this['document'],_0x4f3841=>{if(Ng(_0x4f3841)){const _0x266071=this['splitTextNodeIntoWordNodes'](_0x4f3841);_0x266071['length']&&_0x37800d['push'](..._0x266071);}_0x4f3841['isWordSplitSource']||_0x4f3841['isWordSplitResult']||_0x37800d['push'](_0x4f3841);}),_0x37800d;}['splitTextNodeIntoWordNodes'](_0x561e86){if(_0x561e86['isWordSplitSource']||_0x561e86['isWordSplitResult'])return[];const _0x4865e5=Im(_0x561e86)['match'](/(?:\s*\S+\s*)/g),_0x4ba295=[];if(_0x4865e5&&_0x4865e5['length']>0x1){for(const _0x1f6e75 of _0x4865e5){const _0x106077=new Wf(_0x1f6e75);_0x106077['isWordSplitResult']=!0x0,Nm(_0x561e86,_0x106077),_0x4ba295['push'](_0x106077);}_0x561e86['isWordSplitSource']=!0x0,xm(_0x561e86);}return _0x4ba295;}};const Mg=['p','li','td','th','span','h1','h2','h3','h4','h5','h6','b','strong','i','em','mark','del','ins','sup','sub','a','code','div'];function Ng(_0x3fff03){return sm(_0x3fff03);}function Lg(_0x3e221d){return im(_0x3e221d);}function $g(_0x3c09e6,_0x5f3652){_0x3c09e6['cleanUpAnimations']({'targetElement':_0x5f3652}),_0x5f3652['querySelectorAll']('[data-id]')['forEach'](_0x3a9edc=>{_0x3a9edc['removeAttribute']('data-id');});}var Dg=class extends _0x2df468{['options'];['content']='';['htmlStreamer'];['children'];constructor(_0xcd4691){super();const _0x493fd7=this['bindTemplate'];this['set']('isDone',!0x1),this['set']('isVisible',!0x0),this['htmlStreamer']=new Pg(),this['options']=_0xcd4691,this['children']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__item',_0x493fd7['if']('isDone','ck-ai-chat__feed__item_done'),_0x493fd7['if']('isVisible','ck-hidden',_0x5d3437=>!_0x5d3437),'ck-ai-chat__feed__text-item'],'data-cke-ai-id':this['options']['id']},'children':this['children']});}['markAsDone'](){$g(this['htmlStreamer'],this['element']),this['isDone']=!0x0;}async['streamIntoElement'](_0x3ae6a8,_0x465078,_0x472833){await this['htmlStreamer']['stream']({'document':_0x3ae6a8,'targetElement':_0x465078,'abortSignal':_0x472833});}},Qg=class extends _0x2df468{['showChangesToggleView'];constructor(_0x1796ec,_0x53994c){super(_0x1796ec),this['set']('isShowChangesToggleVisible',!0x0),this['showChangesToggleView']=new jg(_0x1796ec),this['showChangesToggleView']['set']({'class':'ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button\x20'+zp,'label':ia(_0x1796ec,'AI_SUGGESTION_BUTTON_SHOW_CHANGES'),'withText':!0x0}),this['showChangesToggleView']['isOn']=_0x53994c['showDiff'],this['showChangesToggleView']['bind']('isVisible')['to'](this,'isShowChangesToggleVisible'),this['showChangesToggleView']['bind']('icon')['to'](this['showChangesToggleView'],'isOn',_0x1d8a17=>_0x1d8a17?_0xcfe3a5:te),this['showChangesToggleView']['on']('execute',()=>{this['showChangesToggleView']['isOn']=!this['showChangesToggleView']['isOn'],this['fire']('toggleShowChanges',{'isOn':this['showChangesToggleView']['isOn']});});const _0xb27079=new _0x5902c2();_0xb27079['content']=_0x5a12df,this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__header',!0x1===_0x53994c['showHeader']?'ck-hidden':null]['filter'](Boolean)},'children':[_0xb27079,{'tag':'span','children':[ia(_0x1796ec,'AI_SUGGESTION_HEADER_TITLE')]},this['showChangesToggleView']]});}},jg=class extends _0x47ddb0{['render'](){super['render'](),this['children']['remove'](this['iconView']),this['children']['add'](this['iconView']);}};const Ug={'accepted':_0x344b72,'rejected':_0x4a8523,'outdated':_0x4a8523};var Vg=class extends _0x2df468{['stateIconView'];constructor(_0x124568){super(_0x124568);const _0x5e9290=this['bindTemplate'];this['set']('state','accepted'),this['set']('isVisible',!0x0),this['stateIconView']=new Bg(),this['stateIconView']['bind']('state')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__content-part-state',_0x5e9290['to']('state',_0x2f1e87=>'ck-ai-suggestion__content-part-state_'+_0x2f1e87),_0x5e9290['if']('isVisible','ck-hidden',_0x47dd1b=>!_0x47dd1b)]},'children':[{'tag':'span','attributes':{'class':['ck-ai-suggestion__content-part-state__label']},'children':[{'text':_0x5e9290['to']('state',_0x5a734f=>{switch(_0x5a734f){case'accepted':return ia(_0x124568,'AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED');case'rejected':return ia(_0x124568,'AI_SUGGESTION_CONTENT_PART_STATE_REJECTED');case'outdated':return ia(_0x124568,'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED');}})}]},this['stateIconView']]});}['setState'](_0x2e505a){this['state']=_0x2e505a;}},Bg=class extends _0x5902c2{constructor(){super(),this['set']('state','accepted'),this['content']=Ug[this['state']],this['on']('change:state',()=>{this['content']=Ug[this['state']];});}},Fg=class extends _0x2c86da{['_applyButton'];['_suggestButton'];constructor(_0x5940f3,_0x3b076b,_0x4eae52){super(_0x5940f3);const _0x2765f6=Boolean(_0x4eae52);this['set']('isEnabled',!_0x2765f6),this['set']('isVisible',!0x0),this['set']('isTrackChangesOn',!0x1),this['class']='ck-ai-suggestion-content-part-toolbar';const _0x3c4038=[];if(_0x2765f6){const _0x5d270c=new _0x47ddb0(_0x5940f3);_0x5d270c['set']({'label':ia(_0x5940f3,'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE'),'tooltip':!0x0,'withText':!0x1,'icon':wt}),_0x5d270c['extendTemplate']({'attributes':{'data-cke-tooltip-class':'ck-ai-suggestion-content-part-disabled-actions-tooltip'}}),_0x3c4038['push'](_0x5d270c);}else{_0x3b076b['includes']('applySuggestion')&&(this['_applyButton']=new _0x47ddb0(_0x5940f3),this['_applyButton']['set']({'label':ia(_0x5940f3,'AI_SUGGESTION_CONTENT_PART_APPLY'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x344b72}),this['_applyButton']['bind']('isEnabled')['to'](this),this['_applyButton']['bind']('isVisible')['to'](this,'isTrackChangesOn',_0x1871d2=>!_0x1871d2),this['_applyButton']['on']('execute',()=>{this['fire']('applySuggestion');}),_0x3c4038['push'](this['_applyButton'])),_0x3b076b['includes']('insertSuggestion')&&(this['_suggestButton']=new _0x47ddb0(_0x5940f3),this['_suggestButton']['set']({'label':ia(_0x5940f3,'AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x5f5030}),this['_suggestButton']['bind']('isEnabled')['to'](this),this['_suggestButton']['on']('execute',()=>{this['fire']('insertSuggestion');}),_0x3c4038['push'](this['_suggestButton']));const _0x524686=new _0x47ddb0(_0x5940f3);_0x524686['set']({'label':ia(_0x5940f3,'AI_SUGGESTION_CONTENT_PART_REJECT'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x4a8523}),_0x524686['bind']('isEnabled')['to'](this),_0x524686['on']('execute',()=>{this['fire']('rejectSuggestion');}),_0x3c4038['push'](_0x524686);}this['items']['addMany'](_0x3c4038);const _0x4819a3=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':[_0x4819a3['if']('isVisible','ck-hidden',_0x4b0938=>!_0x4b0938)]}});}['setButtonsVisibility']({showApplyButton:_0x207042,showSuggestButton:_0x505e9f}){this['_applyButton']&&(this['_applyButton']['isVisible']=_0x207042),this['_suggestButton']&&(this['_suggestButton']['isVisible']=_0x505e9f);}},Hg=class extends _0x2df468{['toolbarView'];['stateView'];['titleLabelView'];['children'];constructor(_0x1e6990,{part:_0x3ebdda,uiIndex:_0x31f9bc,availableActions:_0x5a8628,areActionsDisabled:_0x4725db}){super(_0x1e6990),this['set']('isEnabled',!0x0),this['set']('state','pending'),this['set']('isTrackChangesOn',!0x1),this['toolbarView']=new Fg(_0x1e6990,_0x5a8628,_0x4725db),this['toolbarView']['on']('rejectSuggestion',()=>{this['fire']('rejectSuggestion',{'index':_0x3ebdda['index']});}),this['toolbarView']['on']('insertSuggestion',()=>{this['fire']('insertSuggestion',{'index':_0x3ebdda['index']});}),this['toolbarView']['on']('applySuggestion',()=>{this['fire']('applySuggestion',{'index':_0x3ebdda['index']});}),this['toolbarView']['bind']('isEnabled','isTrackChangesOn')['to'](this),this['stateView']=new Vg(_0x1e6990),this['titleLabelView']=new Zg(_0x1e6990,_0x31f9bc),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',(_0x12417d,_0x2477a7,_0xda1268,_0x4cf315)=>{'pending'===_0x4cf315?this['children']['remove'](this['toolbarView']):this['children']['remove'](this['stateView']),'pending'===_0xda1268?this['children']['add'](this['toolbarView']):(this['stateView']['setState'](_0xda1268),this['children']['add'](this['stateView']));});}},Zg=class extends _0x2df468{constructor(_0x19ad99,_0x312540){super(_0x19ad99),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__body__content-part__title__label']},'children':[ia(_0x19ad99,'AI_SUGGESTION_CONTENT_PART_TITLE',_0x312540['toString']())]});}},Gg=class extends _0x2df468{['htmlStreamer'];constructor(_0x173dea){super(_0x173dea),this['htmlStreamer']=new Pg(),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content','ck-reset_all-excluded','ck-ai-suggestion-streamable-content']}});}async['update']({part:_0x18514c,renderingStrategy:_0x27d776,abortSignal:_0x4e8ba6}){const _0x360449=am(_0x18514c['content'],!0x0);for(const _0x553430 of Vm(_0x360449))xm(_0x553430);'streaming'===_0x27d776?await this['htmlStreamer']['stream']({'document':_0x360449,'targetElement':this['element'],'abortSignal':_0x4e8ba6}):Cg(this['element'],'<'+this['element']['tagName']+'>'+Qm(_0x360449)+'</'+this['element']['tagName']+'>',{'childrenOnly':!0x0});}['clear'](){this['htmlStreamer']['reset'](),this['element']['innerHTML']='',this['element']['scrollTop']=0x0;}['cleanUpStreamingArtifacts'](){$g(this['htmlStreamer'],this['element']);}},Xg=class extends _0x2df468{['_children'];['_headerView'];['_streamableContentView'];constructor(_0x4cd56a,{part:_0x50f3f8,uiIndex:_0x13e0fc,areActionsDisabled:_0x1343fb,availableActions:_0x19e580}){super(_0x4cd56a);const _0x4ade1b=this['bindTemplate'];this['set']('state','pending'),this['set']('isDone',!0x1),this['set']('isVisible',!0x1),this['set']('isActive',!0x1),this['set']('isEnabled',!0x1),this['set']('isTrackChangesOn',!0x1);const _0x2b25f2=()=>{this['isEnabled']=this['isDone']&&'pending'==this['state']&&!_0x1343fb;};this['on']('change:state',_0x2b25f2),this['on']('change:isDone',_0x2b25f2),_0x2b25f2(),this['_children']=this['createCollection'](),this['_headerView']=new Hg(_0x4cd56a,{'part':_0x50f3f8,'uiIndex':_0x13e0fc,'availableActions':_0x19e580,'areActionsDisabled':_0x1343fb}),this['_headerView']['bind']('isEnabled','state','isTrackChangesOn')['to'](this),this['_headerView']['delegate'](...wg)['to'](this),this['_streamableContentView']=new Gg(_0x4cd56a),this['_children']['addMany']([this['_headerView'],this['_streamableContentView']]),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__body__content-part',_0x4ade1b['to']('state',_0x48622b=>'ck-ai-suggestion__body__content-part_'+_0x48622b),_0x4ade1b['if']('isEnabled','ck-ai-suggestion__body__content-part_enabled'),_0x4ade1b['if']('isActive','ck-ai-suggestion__body__content-part_active'),_0x4ade1b['if']('isVisible','ck-hidden',_0x3305af=>!_0x3305af)]},'children':this['_children'],'on':{'mouseenter':_0x4ade1b['to'](()=>{this['isEnabled']&&this['fire']('mouseOverSuggestion',{'index':_0x50f3f8['index']});}),'mouseleave':_0x4ade1b['to'](()=>{this['isEnabled']&&this['fire']('mouseLeaveSuggestion',{'index':_0x50f3f8['index']});}),'click':_0x4ade1b['to'](_0x311b2c=>{const _0x225db2=_0x311b2c['target'];this['isEnabled']&&!this['_headerView']['toolbarView']['element']['contains'](_0x225db2)&&this['fire']('showChangeInText',{'index':_0x50f3f8['index']});})}});}async['updateContent']({part:_0x4590ba,showUnchangedParts:_0x24c977=!0x1,abortSignal:_0x1932e3}){this['partDefinition']=_0x4590ba,this['isVisible']=this['partDefinition']['hasChanges']||_0x24c977,this['isVisible']&&await this['_streamableContentView']['update']({'part':_0x4590ba,'renderingStrategy':'static','abortSignal':_0x1932e3});}['markAsDone'](){this['isDone']=!0x0;}},qg=class extends _0x2df468{constructor(_0x56a39f,_0x24043e){super(_0x56a39f),this['set']('isVisible',!0x0),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-skeleton',this['bindTemplate']['if']('isVisible','ck-hidden',_0x2e0a93=>!_0x2e0a93)]},'children':this['_createSkeletonItems'](_0x24043e)});}['_createSkeletonItems'](_0x383965){const _0x41dc72=['ck','ck-ai-skeleton__item'];return _0x383965['map'](_0x4e4a22=>{let _0x39fcdf='';switch(_0x4e4a22['attributes']['align']){case'right':_0x39fcdf='margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;';break;case'center':_0x39fcdf='margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;';break;case'left':_0x39fcdf='margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;';}return{'tag':_0x4e4a22['tag'],'attributes':{'class':[..._0x41dc72,_0x4e4a22['attributes']['class']?_0x4e4a22['attributes']['class']:''],'style':'width:\x20'+_0x4e4a22['attributes']['width']+';\x20height:\x20'+_0x4e4a22['attributes']['height']+';'+_0x39fcdf}};});}};const Wg={'aiSuggestionBody':[{'tag':'div','attributes':{'width':'50%','height':'24px','align':'left'}},{'tag':'div','attributes':{'width':'85%','height':'24px','align':'left'}},{'tag':'div','attributes':{'width':'100%','height':'24px','align':'left'}},{'tag':'div','attributes':{'width':'75%','height':'24px','align':'left'}},{'tag':'div','attributes':{'width':'100%','height':'24px','align':'left'}}],'aiFeed':[{'tag':'div','attributes':{'width':'100%','height':'72px','align':'right'}},{'tag':'div','attributes':{'width':'250px','height':'40px','align':'right'}},{'tag':'div','attributes':{'width':'100%','height':'88px','align':'right'}},{'tag':'div','attributes':{'width':'150px','height':'40px','align':'right'}},{'tag':'div','attributes':{'width':'100%','height':'140px','align':'right'}},{'tag':'div','attributes':{'width':'250px','height':'40px','align':'right'}},{'tag':'div','attributes':{'width':'100%','height':'88px','align':'right'}}],'aiHistory':zg(0x5,'100%','44px','right'),'aiChatResources':zg(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 zg(_0x2c6eaa,_0xa8016,_0x85830e,_0x41f54b){return new Array(_0x2c6eaa)['fill'](null)['map'](()=>({'tag':'div','attributes':{'width':_0xa8016,'height':_0x85830e,'align':_0x41f54b}}));}const Yg=/* #__PURE__ -- @preserve */
_0x3cd689();var Kg=class extends Yg{['queue']=[];['isProcessing']=!0x1;['_abortController'];async['enqueue'](_0x3798e1){const _0x193f4d=this['createTask'](_0x3798e1);return this['queue']['push'](_0x193f4d),this['_processQueue'](),_0x193f4d['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(_0x49b1a5=>{this['once']('_queueEmpty',()=>{_0x49b1a5();});}):Promise['resolve']();}async['_processQueue'](){if(!this['isProcessing']){this['_abortController']=new AbortController(),this['isProcessing']=!0x0;try{for(;this['queue']['length']&&this['isProcessing'];){const _0x39158d=this['queue']['shift']();try{await _0x39158d['callback'](this['_abortController']['signal']),_0x39158d['resolve']();}catch(_0x305caf){_0x39158d['reject'](_0x305caf);}}}finally{this['isProcessing']=!0x1,this['_abortController']=void 0x0;}this['fire']('_queueEmpty');}}['createTask'](_0x340da7){let _0x1dbbd3,_0x1e17af;const _0x151099=new Promise((_0x1fdd7b,_0x41fa53)=>{_0x1dbbd3=_0x1fdd7b,_0x1e17af=_0x41fa53;});return{'callback':_0x340da7,'resolve':_0x1dbbd3,'reject':_0x1e17af,'completePromise':_0x151099};}},Jg=class extends Dg{constructor(_0x31ecd2){super(_0x31ecd2),this['extendTemplate']({'attributes':{'class':['ck-ai-notification','warning'===_0x31ecd2['level']?'ck-ai-notification_warning':'ck-ai-notification_error']}});}['render'](){super['render'](),this['setContent'](this['options']['initialContent']),this['markAsDone']();}['setContent'](_0x4960a5){this['element']['innerHTML']=_0x4960a5;}};const tO=['applySuggestion','insertSuggestion'];var eO=class extends _0x2df468{['_applyChangesButton'];['_insertSuggestionsButton'];['children'];constructor(_0x384b50,_0x550c71=[...tO],_0x16cc15){super(_0x384b50);const _0x3bcb90=this['bindTemplate'],_0x2e537f=Boolean(_0x16cc15);if(this['set']('isEnabled',!_0x2e537f),this['set']('isVisible',!0x1),this['set']('isTrackChangesOn',!0x1),this['children']=this['createCollection'](),_0x2e537f){const _0x2082a4=new _0x47ddb0(_0x384b50);_0x2082a4['set']({'label':ia(_0x384b50,'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE'),'tooltip':!0x0,'withText':!0x1,'icon':wt}),_0x2082a4['extendTemplate']({'attributes':{'data-cke-tooltip-class':'ck-ai-suggestion-content-part-disabled-actions-tooltip'}});const _0x279519=new _0x2df468(_0x384b50);_0x279519['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-chat__feed__suggestion__actions__info'},'children':[{'tag':'p','children':[ia(_0x384b50,'AI_SUGGESTION_DISABLED_FEED_MESSAGE'),_0x2082a4]}]}),this['children']['add'](_0x279519);}else this['_applyChangesButton']=new _0x47ddb0(_0x384b50),this['_applyChangesButton']['set']({'label':ia(_0x384b50,'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL'),'withText':!0x0,'type':'button','isVisible':_0x550c71['includes']('applySuggestion'),'class':qp}),this['_insertSuggestionsButton']=new _0x47ddb0(_0x384b50),this['_insertSuggestionsButton']['set']({'label':ia(_0x384b50,'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL'),'withText':!0x0,'type':'button','isVisible':_0x550c71['includes']('insertSuggestion'),'class':Wp}),this['_insertSuggestionsButton']['on']('execute',()=>{this['fire']('insertSuggestion');}),this['_applyChangesButton']['on']('execute',()=>{this['fire']('applySuggestion');}),[this['_applyChangesButton'],this['_insertSuggestionsButton']]['forEach'](_0xefe90d=>{_0xefe90d['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',_0x3bcb90['if']('isVisible','ck-hidden',_0x1915d3=>!_0x1915d3)]},'children':this['children']}),this['on']('change:isTrackChangesOn',()=>{this['_applyChangesButton']&&(this['_applyChangesButton']['isVisible']=!this['isTrackChangesOn']);});}['updateVisibility'](_0x3e861b){this['isVisible']=_0x3e861b;}['_switchButtonLabelsPlurality'](_0x23cfdc){this['_applyChangesButton']&&this['_insertSuggestionsButton']&&(_0x23cfdc?(this['_applyChangesButton']['label']=ia(this['locale'],'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL'),this['_insertSuggestionsButton']['label']=ia(this['locale'],'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL')):(this['_applyChangesButton']['label']=ia(this['locale'],'AI_CHAT_SUGGESTION_ACTION_APPLY'),this['_insertSuggestionsButton']['label']=ia(this['locale'],'AI_CHAT_SUGGESTION_ACTION_SUGGEST')));}},iO=class extends _0x2df468{['children'];['balloonPanelView'];['bodyCollection'];constructor(_0x2b93de,_0x4113ac){super(_0x2b93de),this['bodyCollection']=_0x4113ac,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',_0x2e7a50=>!_0x2e7a50)]},'children':this['children']});const _0x20bc33=new _0x2df468(this['locale']),_0x259803=new _0x5902c2();_0x259803['content']=_0x1b8c93,_0x20bc33['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-sources__header']},'children':[_0x259803,{'tag':'span','children':[{'text':ia(this['locale'],'AI_CHAT_SOURCES_HEADER')}]}]}),this['children']['add'](_0x20bc33),this['_setupBalloonPanel'](_0x2b93de);}['addSource'](_0x37c5d4){this['children']['add'](new sO(this['locale'],_0x37c5d4,this['balloonPanelView']));}['_setupBalloonPanel'](_0x4b27d6){this['balloonPanelView']=new _0x13153c(_0x4b27d6),this['balloonPanelView']['extendTemplate']({'attributes':{'class':['ck-ai-web-source__tooltip-balloon']}}),this['bodyCollection']['add'](this['balloonPanelView']);}},sO=class extends _0x47ddb0{['balloonPanelView'];['source'];constructor(_0x47af6b,_0x53102b,_0x420eb8){super(_0x47af6b),this['source']=_0x53102b,this['balloonPanelView']=_0x420eb8,this['set']({'label':_0x53102b['title'],'class':['ck\x20ck-ai-web-source'],'withText':!0x0});const _0x3476b4=this['bindTemplate'];if(this['extendTemplate']({'on':{'click':_0x3476b4['to'](()=>{window['open'](_0x53102b['url'],'_blank');}),'mouseenter':_0x3476b4['to'](()=>{this['_showTooltip']();}),'mouseleave':_0x3476b4['to'](()=>{this['_hideTooltip']();})}}),_0x53102b['favicon']){const _0x2fe6b2=new _0x2df468(_0x47af6b);_0x2fe6b2['setTemplate']({'tag':'img','attributes':{'src':_0x53102b['favicon']||_0x1b8c93,'alt':_0x53102b['title'],'class':['ck-ai-web-source__image']}}),this['children']['add'](_0x2fe6b2);}else this['set']('icon',_0x1b8c93);}['_createTooltipContentView'](_0x2875bc,_0x1ba2e7){const _0x535b89=new _0x2df468(_0x2875bc),_0x36ef8f=[];let _0x1ca43b;_0x1ba2e7?.['favicon']?(_0x1ca43b=new _0x2df468(_0x2875bc),_0x1ca43b['setTemplate']({'tag':'img','attributes':{'src':_0x1ba2e7['favicon'],'alt':_0x1ba2e7['title'],'class':['ck-ai-web-source__tooltip-image']}})):(_0x1ca43b=new _0x5902c2(),_0x1ca43b['content']=_0x1b8c93,_0x1ca43b['extendTemplate']({'attributes':{'alt':_0x1ba2e7['title'],'class':['ck-ai-web-source__tooltip-image']}})),_0x36ef8f['push'](_0x1ca43b);const _0x302a7d=new _0x2df468(_0x2875bc);_0x302a7d['setTemplate']({'tag':'a','attributes':{'class':['ck-ai-web-source__tooltip-url'],'href':_0x1ba2e7['url']},'children':[{'text':new URL(_0x1ba2e7['url'])?.['hostname']}]}),_0x36ef8f['push'](_0x302a7d);const _0x522cdb=new _0x2df468(_0x2875bc);_0x522cdb['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-web-source__tooltip-row']},'children':_0x36ef8f});const _0x3f680f=new _0x2df468(_0x2875bc);return _0x3f680f['setTemplate']({'tag':'span','attributes':{'class':['ck-ai-web-source__tooltip-row','ck-ai-web-source__tooltip-title']},'children':[{'text':_0x1ba2e7['title']['length']>0x190?_0x1ba2e7['title']['substring'](0x0,0x190)+'...':_0x1ba2e7['title']}]}),_0x535b89['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-source__tooltip']},'children':[_0x522cdb,_0x3f680f]}),_0x535b89;}['_showTooltip'](){this['_updateTooltipContent'](),this['balloonPanelView']['pin']({'target':this['element'],'positions':[_0x13153c['defaultPositions']['northArrowSouth'],_0x13153c['defaultPositions']['northArrowSouthWest'],_0x13153c['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 _0x56e19c=this['_createTooltipContentView'](this['locale'],this['source']);this['balloonPanelView']['content']['add'](_0x56e19c);}},nO=class extends _0x2df468{['_actionsView'];['_sourcesView'];['_children'];['_skeletonView'];['_showSkeletonDebounced']=Or(()=>{this['_skeletonView']['isVisible']=!0x0,this['_skeletonShownAt']=Date['now']();},0x3e8);['_skeletonShownAt']=null;['_areActionsDisabled'];['_showUnchangedParts'];['_updateContentPartsPromiseQueue'];['_emptyPartsWarningView'];['_availableActions'];['_cachedContentParts']=[];constructor(_0x38c64c,_0x309d75){super(_0x38c64c);const {areActionsDisabled:_0x54d65c,showUnchangedParts:_0x4528cd,availableActions:_0x15bc15}=_0x309d75;this['_areActionsDisabled']=_0x54d65c,this['_showUnchangedParts']=_0x4528cd,this['_availableActions']=_0x15bc15,this['set']('hasPendingParts',!0x1),this['set']('isTrackChangesOn',!0x1),this['_children']=this['createCollection'](),this['_skeletonView']=new qg(_0x38c64c,Wg['aiSuggestionBody']),this['_skeletonView']['isVisible']=!0x0,this['_skeletonShownAt']=Date['now'](),this['_children']['add'](this['_skeletonView']),this['_updateContentPartsPromiseQueue']=new Kg(),this['_emptyPartsWarningView']=new Jg({'id':'empty-parts-warning','initialContent':ia(_0x38c64c,'AI_SUGGESTION_EMPTY_PART_WARNING'),'level':'warning'}),this['_emptyPartsWarningView']['isVisible']=!0x1,this['_actionsView']=new eO(_0x38c64c,_0x309d75['availableActions'],this['_areActionsDisabled']),this['_actionsView']['bind']('isTrackChangesOn')['to'](this),this['_sourcesView']=new iO(this['locale'],_0x309d75['bodyCollection']),_0x309d75['areActionsDisabled']?this['_actionsView']['isEnabled']=!0x1:this['_actionsView']['bind']('isEnabled')['to'](this,'hasPendingParts'),this['_actionsView']['delegate'](...wg)['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__body']},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__body__content-parts']},'children':this['_children']},this['_emptyPartsWarningView'],this['_actionsView'],this['_sourcesView']]});}['destroy'](){this['_updateContentPartsPromiseQueue']['abort'](),this['_showSkeletonDebounced']['cancel'](),super['destroy']();}get['partsCount'](){return this['_contentPartViews']['length'];}get['_contentPartViews'](){return Array['from'](this['_children'])['filter'](_0x28ca66=>_0x28ca66 instanceof Xg);}async['updateContentParts']({parts:_0x47dcfd,abortSignal:_0x5c30dd,skipLoadingEffects:_0x11065e}){this['_cachedContentParts']['length']?_0x47dcfd['forEach'](_0x5ae8e8=>{const _0x537f77=this['_cachedContentParts']['findIndex'](_0x467068=>_0x467068['index']==_0x5ae8e8['index']);-0x1===_0x537f77?this['_cachedContentParts']['push'](_0x5ae8e8):this['_cachedContentParts'][_0x537f77]=_0x5ae8e8;}):this['_cachedContentParts']=_0x47dcfd;const _0x11e4af=this['_showUnchangedParts']?_0x47dcfd:_0x47dcfd['filter'](_0x55dd06=>_0x55dd06['hasChanges']);this['_actionsView']['_switchButtonLabelsPlurality'](_0x11e4af['length']>0x1),_0x11065e&&(this['_showSkeletonDebounced']['cancel'](),this['_skeletonView']['isVisible']=!0x1);for(const _0x193cea of _0x11e4af)this['_updateContentPartsPromiseQueue']['enqueue'](async _0x11db76=>{let _0x206d5a=this['getPartView'](_0x193cea['index']);if(!_0x206d5a){if(_0x206d5a=new Xg(this['locale'],{'part':_0x193cea,'uiIndex':this['_contentPartViews']['length']+0x1,'areActionsDisabled':this['_areActionsDisabled'],'availableActions':this['_availableActions']}),_0x206d5a['delegate'](...wg)['to'](this),_0x206d5a['bind']('isTrackChangesOn')['to'](this),!_0x11065e&&(this['_showSkeletonDebounced']['cancel'](),await this['_awaitMinimumSkeletonDisplayTime'](_0x11db76),_0x11db76['aborted']))return;this['_skeletonView']['isVisible']=!0x1,this['_children']['add'](_0x206d5a,this['_children']['length']-0x1),this['hasPendingParts']=!0x0,_0x11065e||this['_showSkeletonDebounced']();}await _0x206d5a['updateContent']({'part':_0x193cea,'showUnchangedParts':this['_showUnchangedParts'],'abortSignal':_0x11db76}),_0x206d5a['markAsDone']();});return _0x5c30dd?.['addEventListener']('abort',()=>{this['_updateContentPartsPromiseQueue']['abort'](),this['_showSkeletonDebounced']['cancel'](),this['_skeletonView']['isVisible']=!0x1;}),this['_updateContentPartsPromiseQueue']['queueEmptyPromise'];}['updatePartState'](_0x42b0be,_0x3f9e95){const _0x445ce0=this['getPartView'](_0x42b0be);_0x445ce0&&(_0x445ce0['state']=_0x3f9e95),this['hasPendingParts']='pending'==_0x3f9e95||this['_contentPartViews']['some'](_0x47bb68=>'pending'==_0x47bb68['state']);}['setPartActive'](_0x1fae16,_0x16e402){if(!0x1===_0x1fae16){for(const _0x4fb15d of this['_contentPartViews'])_0x4fb15d['isActive']=!0x1;}else{const _0x4e7ad5=this['getPartView'](_0x1fae16);_0x4e7ad5&&(_0x4e7ad5['isActive']=_0x16e402);}}['updateSources'](_0xf44259){_0xf44259['forEach'](_0x24a5d5=>this['_sourcesView']['addSource'](_0x24a5d5)),this['_sourcesView']['isVisible']=!0x0;}['getPartView'](_0x44b241){return this['_contentPartViews']['find'](_0x13fc0c=>_0x13fc0c['partDefinition']['index']==_0x44b241)??null;}['markAsDone'](){if(!this['_showUnchangedParts']){const _0x1ad040=!this['_cachedContentParts']['find'](({hasChanges:_0x246f88})=>_0x246f88),_0x3ed8ee=!!this['_cachedContentParts']['find'](({hasChanges:_0x30d841})=>!_0x30d841);this['_emptyPartsWarningView']['isVisible']=0x0==this['_contentPartViews']['length']||_0x3ed8ee,_0x1ad040?this['_emptyPartsWarningView']['setContent'](ia(this['locale'],'AI_SUGGESTION_NO_PARTS_WARNING')):this['_emptyPartsWarningView']['setContent'](ia(this['locale'],'AI_SUGGESTION_EMPTY_PART_WARNING'));}this['_contentPartViews']['forEach'](_0x84c708=>_0x84c708['markAsDone']()),this['_skeletonView']['isVisible']=!0x1,this['_showSkeletonDebounced']['cancel'](),this['_actionsView']['updateVisibility'](this['hasNonEmptyParts']);}async['_awaitMinimumSkeletonDisplayTime'](_0x207684){if(!this['_skeletonView']['isVisible']||null===this['_skeletonShownAt'])return;const _0x23b140=0x3e8-(Date['now']()-this['_skeletonShownAt']);if(this['_skeletonShownAt']=null,_0x23b140>0x0){const {promise:_0x391604,abortController:_0x15a8b5}=Rg(_0x23b140);_0x207684?.['addEventListener']('abort',()=>_0x15a8b5['abort']()),await _0x391604['catch'](()=>{});}}get['hasNonEmptyParts'](){return this['_contentPartViews']['filter'](_0x2ecfc1=>_0x2ecfc1['partDefinition']['hasChanges'])['length']>0x0;}},rO=class extends _0x2df468{['bodyView'];['children'];['headerView'];constructor(_0x22a9de,_0x205e6a,_0x4ba033){super(_0x22a9de);const {showDiff:_0x29425a,areActionsDisabled:_0x669cdd,showUnchangedParts:_0x35a569,availableActions:_0x24f613}=_0x205e6a;this['set']('isTrackChangesOn',!0x1),this['set']('areChangesVisible',!0x1),this['children']=this['createCollection'](),this['headerView']=new Qg(_0x22a9de,{'showDiff':_0x29425a}),this['headerView']['on']('toggleShowChanges',(_0x4dcd32,_0x4ad51b)=>{this['areChangesVisible']=_0x4ad51b['isOn'],this['fire']('toggleSuggestionDisplayMode',{'showDiff':_0x4ad51b['isOn']});}),this['children']['add'](this['headerView']),this['bodyView']=new nO(_0x22a9de,{'areActionsDisabled':_0x669cdd,'showUnchangedParts':!!_0x35a569,'availableActions':_0x24f613,'bodyCollection':_0x4ba033}),this['bodyView']['delegate'](...wg)['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'](_0x52715d){await this['bodyView']['updateContentParts'](_0x52715d);}['updateSources'](_0x47e9af){this['bodyView']['updateSources'](_0x47e9af);}['markAsDone'](){this['bodyView']['markAsDone'](),this['headerView']&&(this['headerView']['isShowChangesToggleVisible']=this['bodyView']['hasNonEmptyParts']);}},oO=class extends Dg{['containerView'];constructor(_0x3f45ac,_0x11a16f,_0x297241){super(_0x11a16f),this['set']('isTrackChangesOn',!0x1),this['containerView']=new rO(_0x3f45ac,{'showDiff':_0x11a16f['showDiff'],'areActionsDisabled':_0x11a16f['areActionsDisabled'],'availableActions':_0x11a16f['availableActions']},_0x297241),this['containerView']['on']('toggleSuggestionDisplayMode',(_0x3dbc58,_0x34d291)=>{this['fire']('toggleSuggestionDisplayMode',{'replyId':this['options']['id'],'showDiff':_0x34d291['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',(_0x380a01,{index:_0x10078f})=>{this['fire']('showChangeInText',{'replyId':this['options']['id'],'partIndex':_0x10078f});}),this['containerView']['on']('applySuggestion',(_0x30711a,{index:_0x197091}={})=>{this['fire']('applySuggestion',{'replyId':this['options']['id'],'partIndex':_0x197091});}),this['containerView']['on']('insertSuggestion',(_0x1ce61d,{index:_0x1ab2e6}={})=>{this['fire']('insertSuggestion',{'replyId':this['options']['id'],'partIndex':_0x1ab2e6});}),this['containerView']['on']('rejectSuggestion',(_0x403b2b,{index:_0x54e1de})=>{this['fire']('rejectSuggestion',{'replyId':this['options']['id'],'partIndex':_0x54e1de});}),this['containerView']['on']('mouseOverSuggestion',(_0xb90eee,{index:_0x525ed0})=>{this['fire']('mouseOverSuggestion',{'replyId':this['options']['id'],'partIndex':_0x525ed0});}),this['containerView']['on']('mouseLeaveSuggestion',(_0x3ff910,{index:_0x1ab067})=>{this['fire']('mouseLeaveSuggestion',{'replyId':this['options']['id'],'partIndex':_0x1ab067});}),this['children']['addMany']([this['containerView']]),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__ai-suggestion']}});}async['updateContent'](_0x3da820){await this['containerView']['updateContent'](_0x3da820);}['updatePartState'](_0x1d9863,_0x2eddb4){this['containerView']['bodyView']['updatePartState'](_0x1d9863,_0x2eddb4);}['setPartActive'](_0x38400e,_0x44437c){!0x1===_0x38400e?this['containerView']['bodyView']['setPartActive'](!0x1):this['containerView']['bodyView']['setPartActive'](_0x38400e,_0x44437c);}['updateSources'](_0x1c0816){this['containerView']['updateSources'](_0x1c0816);}['getPartView'](_0x104c17){return this['containerView']['bodyView']['getPartView'](_0x104c17);}['markAsDone'](){super['markAsDone'](),this['containerView']['markAsDone']();}},aO=class extends Dg{['replyContainer'];['_bodyCollection'];constructor(_0x1e28cc,_0x5519e2,_0x38e757){super(_0x5519e2),this['_bodyCollection']=_0x38e757,this['locale']=_0x1e28cc,this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__ai-reply']}}),this['replyContainer']=new _0x2df468(),this['replyContainer']['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-ai-chat__feed__ai-reply-container','ck-ai-chat-content']}}),this['children']['add'](this['replyContainer']);}async['render'](){super['render'](),this['options']['initialContent']&&(await this['updateContent']({'parsedContent':Dm(this['options']['initialContent']),'renderingStrategy':'static'}),this['markAsDone']());}async['updateContent']({parsedContent:_0x2cc9cc,renderingStrategy:_0x5d2887,abortSignal:_0x36d67d}){'streaming'===_0x5d2887?await this['streamIntoElement'](_0x2cc9cc,this['replyContainer']['element'],_0x36d67d):this['replyContainer']['element']['innerHTML']=Em(_0x2cc9cc);}['updateSources'](_0x13dce4){const _0x3e86ea=new iO(this['locale'],this['_bodyCollection']);_0x3e86ea['children']['addMany'](_0x13dce4['map'](_0x21b54c=>new sO(this['locale'],_0x21b54c,_0x3e86ea['balloonPanelView']))),_0x3e86ea['isVisible']=!0x0,this['children']['add'](_0x3e86ea);}},cO=class extends _0x5812ef{constructor(_0x452fc6=void 0x0){super();const _0x5ce0f6=_0x452fc6?'ck-ai-spinner_'+_0x452fc6:'';this['extendTemplate']({'tag':'span','attributes':{'class':['ck-ai-spinner',_0x5ce0f6]}});}};const lO={'file':it,'image':pt,'document':_0x5a12df,'web-resource':vt,'text':it,'selection':Jt,'mcp-tool-context':_0x5a12df},hO='ck-ai-chat-context-chip',uO='ck-ai-chat-context-chip_wide',dO='ck-ai-chat-context-chip_document',fO='ck-ai-chat-context-chip__label',mO='ck-ai-chat-context-chip__type-icon',pO='ck-ai-chat-context-controls__chip-tooltip',gO='n';var OO=class extends _0x47ddb0{constructor(_0x4b49db,_0x18995c,_0x213754,_0x51f2ab,_0x2eee3d=!0x1){super(_0x4b49db),this['_isAnimationOnEnterEnabled']=_0x51f2ab,this['_initializeProperties'](_0x18995c,_0x213754,_0x2eee3d),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'](_0x461aa4,_0x4e03fa,_0x269fb2){this['set']('label',_0x461aa4['label']),this['set']('tooltip',!0x0),this['set']('itemType',_0x461aa4['type']),this['set']('id',_0x461aa4['uiId']),this['set']('readonly',_0x4e03fa),this['set']('isLoading',_0x269fb2);}['_setupTemplate'](){const _0x1c2d7c=this['_createIconView'](),_0xe69727=this['_createRemoveButton'](),_0x2853a0=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':this['_createTemplateAttributes'](_0x2853a0),'children':this['_createTemplateChildren'](_0x1c2d7c,_0xe69727,_0x2853a0)});}['_createTemplateAttributes'](_0x4faf09){return{'class':[hO,_0x4faf09['if']('itemType',dO,_0x3d64c7=>'document'==_0x3d64c7),_0x4faf09['if']('itemType',uO,_0x1d24fb=>'selection'==_0x1d24fb)],'data-cke-tooltip-text':_0x4faf09['to']('label',wO),'data-cke-tooltip-position':gO,'data-cke-tooltip-class':pO};}['_createTemplateChildren'](_0x5b66f8,_0xd893f0,_0xf0afc5){const _0x523fea=this['_createLabelElement'](_0xf0afc5),_0x2cce2c=this['_createLoaderIcon']();return this['readonly']?[_0x5b66f8,_0x523fea]:[_0x5b66f8,_0x2cce2c,_0x523fea,_0xd893f0];}['_createLabelElement'](_0x544b52){return{'tag':'span','attributes':{'class':fO},'children':[{'text':_0x544b52['to']('label')}]};}['_createRemoveButton'](){const _0x484f86=new _0x47ddb0(this['locale']);return _0x484f86['set']({'label':ia(this['locale'],'AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT'),'icon':_0x3f4fa1}),this['_setupRemoveButtonEvent'](_0x484f86),_0x484f86;}['_setupRemoveButtonEvent'](_0x350ceb){_0x350ceb['on']('execute',()=>{this['fire']('removeContextItemChip',this['id']);});}['_createIconView'](){const _0x55885c=this['bindTemplate'],_0x2eb3c7=new _0x5902c2();return _0x2eb3c7['content']=lO[this['itemType']],_0x2eb3c7['extendTemplate']({'attributes':{'class':[mO,_0x55885c['if']('isLoading','ck-hidden',_0x128c8f=>_0x128c8f)]}}),_0x2eb3c7;}['_handleAnimationEndOnce'](_0x327481,_0x19c625){if(!_0x327481)return;const _0x2c53f7=()=>{_0x19c625(),_0x327481['removeEventListener']('animationend',_0x2c53f7),_0x327481['removeEventListener']('webkitAnimationEnd',_0x2c53f7);};_0x327481['addEventListener']('animationend',_0x2c53f7),_0x327481['addEventListener']('webkitAnimationEnd',_0x2c53f7);}['_createLoaderIcon'](){const _0x42a387=new cO('small');return _0x42a387['bind']('isVisible')['to'](this,'isLoading',_0x23c423=>_0x23c423),_0x42a387;}};function wO(_0xffa2e3){if(!_0xffa2e3)return _0xffa2e3;if(_0xffa2e3['length']<=0x78)return _0xffa2e3;const _0x13133a=_0xffa2e3['slice'](0x0,0x78),_0x5a5b09=_0x13133a['lastIndexOf']('\x20');return(_0x5a5b09>0x0?_0x13133a['slice'](0x0,_0x5a5b09):_0x13133a)+'…';}const bO={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},yO='300px';var vO=class{['_locale'];['_config'];['_visibleChips'];['_overflowChips'];['_showMoreButtonView']=null;['_showMoreBalloonPanelView']=null;['_containerElement']=null;['_bodyCollection'];['_parentView']=null;['_intersectionObserver']=null;['_pendingCalculation']=!0x1;constructor(_0x13f9fb,_0x1a70c1,_0x2e7b87,_0xdb7494,_0x36ce45){this['_locale']=_0x13f9fb,this['_visibleChips']=_0x1a70c1,this['_config']={...bO,..._0x2e7b87,'cssClasses':{'controlsButton':'','calculationContainer':'ck-calculation-container',..._0x2e7b87['cssClasses']}},this['_overflowChips']=new _0x23ea50(),this['_bodyCollection']=_0xdb7494,this['_parentView']=_0x36ce45||null;}['setContainerElement'](_0x3d9f39){this['_intersectionObserver']&&(this['_intersectionObserver']['disconnect'](),this['_intersectionObserver']=null),this['_containerElement']=_0x3d9f39,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 _0x1f5d49=[...this['_visibleChips'],...this['_overflowChips']],_0x59cd17=this['_createCalculationContainer'](),_0x52ddf9=this['_calculateOverflowInContainer'](_0x59cd17,_0x1f5d49),_0x23eff9=_0x59cd17['_ancestorsToRestore'];_0x23eff9&&this['_restoreAncestorVisibility'](_0x23eff9),_0x59cd17['remove'](),this['_applyOverflowResults'](_0x1f5d49,_0x52ddf9);}['_createShowMoreButton'](){this['_showMoreButtonView']=this['_createShowMoreButtonView'](),this['_showMoreBalloonPanelView']=this['_createShowMoreBalloonPanelView'](),this['_showMoreButtonView']['render'](),this['_containerElement']['appendChild'](this['_showMoreButtonView']['element']),this['_showMoreButtonView']['on']('execute',()=>{this['_handleShowMoreButtonClick']();}),_0xc0d273({'emitter':this['_showMoreBalloonPanelView'],'contextElements':[this['_showMoreBalloonPanelView']['element'],this['_showMoreButtonView']['element']],'callback':()=>this['hideBalloonPanel'](),'activator':()=>this['_showMoreButtonView']['isOn']});}['_createShowMoreButtonView'](){const _0x58f624=new _0x47ddb0(this['_locale']);_0x58f624['set']({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x58b4c9=[this['_config']['cssClasses']['showMoreButton']];return this['_config']['cssClasses']['controlsButton']&&_0x58b4c9['push'](this['_config']['cssClasses']['controlsButton']),_0x58f624['extendTemplate']({'attributes':{'class':_0x58b4c9}}),_0x58f624;}['_createShowMoreBalloonPanelView'](){const _0x2310eb=new _0x13153c(this['_locale']);return _0x2310eb['extendTemplate']({'attributes':{'class':this['_config']['cssClasses']['showMoreBalloon']}}),this['_bodyCollection']['add'](_0x2310eb),_0x2310eb;}['_updateBalloonContent'](){if(this['_showMoreBalloonPanelView']&&(this['_showMoreBalloonPanelView']['content']['clear'](),this['_overflowChips']['length']>0x0)){this['_overflowChips']['forEach'](_0x3541dd=>{_0x3541dd['disableAnimationOnEnter']();});const _0x359754=new _0x2df468(this['_locale']);_0x359754['setTemplate']({'tag':'div','attributes':{'class':this['_config']['cssClasses']['overflowContainer']},'children':this['_overflowChips']}),this['_showMoreBalloonPanelView']['content']['add'](_0x359754);}}['_handleShowMoreButtonClick'](){this['_showMoreButtonView']['isOn']?this['hideBalloonPanel']():this['showBalloonPanel']();}['_updateShowMoreButtonVisibility'](){const _0x576281=this['_overflowChips']['length']>0x0;this['_showMoreButtonView']?.['element']&&(this['_showMoreButtonView']['element']['style']['display']=_0x576281?'':'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'](_0x309074){const _0x5a3b8c=this['_containerElement']?.['tagName']['toLowerCase']()||'div',_0x4b3112=this['_containerElement']?.['classList'];if(_0x4b3112){const _0x15bd01=_0x4b3112[0x0]||'',_0x5a3f7f=_0x309074['querySelector']('.'+_0x15bd01),_0x4ba8e8=_0x309074['querySelector'](_0x5a3b8c);return _0x5a3f7f||_0x4ba8e8||_0x309074;}return _0x309074['querySelector'](_0x5a3b8c)||_0x309074;}['_calculateContainerWidth'](){const _0x67953b=this['_parentView']?.['element']||this['_containerElement'];if(!_0x67953b)return yO;const _0x4c0f08=window['getComputedStyle'](_0x67953b)['width'];if('auto'===_0x4c0f08||'0px'===_0x4c0f08||!_0x4c0f08){const _0x29fe19=_0x67953b['parentElement'];if(_0x29fe19){const _0x78e953=window['getComputedStyle'](_0x29fe19);return'auto'!==_0x78e953['width']?_0x78e953['width']:yO;}return yO;}return _0x4c0f08;}['_applyCalculationStyles'](_0x2871c3,_0x179871){this['_config']['cssClasses']['calculationContainer']&&_0x2871c3['classList']['add'](this['_config']['cssClasses']['calculationContainer']),_0x2871c3['style']['width']=_0x179871,_0x2871c3['style']['position']='absolute',_0x2871c3['style']['top']='-9999px',_0x2871c3['style']['left']='-9999px',_0x2871c3['style']['opacity']='0',_0x2871c3['style']['pointerEvents']='none',_0x2871c3['style']['zIndex']='-1',_0x2871c3['style']['visibility']='visible\x20!important',_0x2871c3['style']['display']='block\x20!important',_0x2871c3['style']['boxSizing']='border-box';}['_restoreAncestorVisibility'](_0x1f98e0){_0x1f98e0['forEach'](({element:_0x2e4b5a,originalDisplay:_0x43bc44,originalVisibility:_0x2aa4d9})=>{_0x2e4b5a['style']['display']=_0x43bc44,_0x2e4b5a['style']['visibility']=_0x2aa4d9;});}['_makeAncestorsVisible'](_0x1b835f){const _0x3c57ac=[];let _0x434709=_0x1b835f;for(;_0x434709&&_0x434709!==document['body'];){const _0x2d21e8=window['getComputedStyle'](_0x434709);'none'!==_0x2d21e8['display']&&'hidden'!==_0x2d21e8['visibility']||(_0x3c57ac['push']({'element':_0x434709,'originalDisplay':_0x434709['style']['display'],'originalVisibility':_0x434709['style']['visibility']}),_0x434709['style']['display']='block',_0x434709['style']['visibility']='visible'),_0x434709=_0x434709['parentElement'];}return _0x3c57ac;}['_createContainerElements'](){let _0x599f5f,_0x4467f0;return this['_parentView']?.['element']?(_0x599f5f=this['_parentView']['element']['cloneNode'](!0x0),_0x4467f0=this['_findTargetContainer'](_0x599f5f)):(_0x599f5f=document['createElement']('div'),_0x4467f0=_0x599f5f),{'calculationContainer':_0x599f5f,'targetContainer':_0x4467f0};}['_createCalculationContainer'](){const {calculationContainer:_0x3e04f6,targetContainer:_0x128eec}=this['_createContainerElements'](),_0x3728bd=this['_calculateContainerWidth']();this['_applyCalculationStyles'](_0x3e04f6,_0x3728bd);const _0x155898=(this['_parentView']?.['element']||this['_containerElement'])?.['parentElement'];_0x155898?_0x155898['appendChild'](_0x3e04f6):document['body']['appendChild'](_0x3e04f6),_0x3e04f6['_targetContainer']=_0x128eec;const _0x18b1c8=this['_makeAncestorsVisible'](_0x155898||null);return _0x3e04f6['offsetWidth'],_0x3e04f6['_ancestorsToRestore']=_0x18b1c8,_0x3e04f6;}['_calculateOverflowInContainer'](_0x5e0415,_0x4e1233){const _0x336d4d=_0x5e0415['_targetContainer']||_0x5e0415,_0x7bbd42=[],{rowCount:_0x787f98}=this['_renderChipsAndCountRows'](_0x336d4d,_0x4e1233);if(_0x787f98<=this['_config']['maxVisibleRows'])return _0x7bbd42;const _0x2045bb=_0x4e1233['slice']();for(;_0x2045bb['length']>0x0;){if(this['_testButtonFit'](_0x5e0415,_0x336d4d,_0x2045bb)){const _0x35a48c=_0x4e1233['filter'](_0x40dab0=>!_0x2045bb['includes'](_0x40dab0));_0x7bbd42['push'](..._0x35a48c);break;}if(!_0x2045bb['pop']())break;}return _0x7bbd42;}['_renderChipsAndCountRows'](_0x1ae230,_0x288633){_0x1ae230['innerHTML']='',_0x288633['forEach'](_0x2b1030=>{if(_0x2b1030['element']){const _0x3c99db=_0x2b1030['element']['cloneNode'](!0x0);_0x1ae230['appendChild'](_0x3c99db);}}),_0x1ae230['offsetWidth'];const _0x28fae8=_0x1ae230['children'],_0x3f6e6d=[];return Array['from'](_0x28fae8)['forEach'](_0x5dc3bd=>{const _0x2fd3e6=_0x5dc3bd['getBoundingClientRect']()['top'];_0x3f6e6d['some'](_0x13c993=>Math['abs'](_0x13c993-_0x2fd3e6)<this['_config']['rowDetectionTolerance'])||_0x3f6e6d['push'](_0x2fd3e6);}),{'rowCount':_0x3f6e6d['length']};}['_createMockButton'](){const _0x20ba51=document['createElement']('button');return _0x20ba51['className']=this['_config']['cssClasses']['showMoreButton'],this['_config']['cssClasses']['controlsButton']&&_0x20ba51['classList']['add'](this['_config']['cssClasses']['controlsButton']),_0x20ba51['textContent']='+\x201',_0x20ba51;}['_testButtonFit'](_0x12751c,_0x384fa3,_0x4b1b63){this['_renderChipsAndCountRows'](_0x384fa3,_0x4b1b63);const _0x2b4da3=this['_createMockButton']();_0x12751c['appendChild'](_0x2b4da3),_0x12751c['offsetWidth'];const _0x39f0dc=[..._0x384fa3['children'],_0x2b4da3],_0x9094ca=[];_0x39f0dc['forEach'](_0xbd14fb=>{const _0x19750a=_0xbd14fb['getBoundingClientRect']()['top'];_0x9094ca['some'](_0x4cf942=>Math['abs'](_0x4cf942-_0x19750a)<this['_config']['rowDetectionTolerance'])||_0x9094ca['push'](_0x19750a);});const _0x3f7665=_0x9094ca['length'];return _0x2b4da3['remove'](),_0x3f7665<=this['_config']['maxVisibleRows'];}['_distributeChips'](_0x558574,_0x578569){this['_visibleChips']['clear'](),this['_overflowChips']['clear'](),_0x558574['forEach'](_0x374539=>{_0x578569['includes'](_0x374539)?this['_overflowChips']['add'](_0x374539):this['_visibleChips']['add'](_0x374539);});}['_updateOverflowUI'](_0xffafb2){if(_0xffafb2>0x0&&!this['_showMoreButtonView']&&this['_createShowMoreButton'](),_0xffafb2>0x0&&this['_showMoreButtonView']){const _0x383b30=''+this['_config']['showMoreLabelPrefix']+(_0xffafb2<0x63?_0xffafb2:'99');this['_showMoreButtonView']['label']=_0x383b30;}this['_updateBalloonContent'](),this['_updateShowMoreButtonVisibility'](),this['_repinBalloonPanel']();}['_applyOverflowResults'](_0x56bf9f,_0x542bc9){this['_distributeChips'](_0x56bf9f,_0x542bc9),this['_updateOverflowUI'](_0x542bc9['length']);}['_setupVisibilityObserver'](){this['_containerElement']&&'undefined'!=typeof IntersectionObserver&&(this['_intersectionObserver']=new IntersectionObserver(_0x4b0f9d=>{_0x4b0f9d[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 _0x5bd51f=this['_containerElement']['getBoundingClientRect']();if(0x0===_0x5bd51f['width']||0x0===_0x5bd51f['height'])return!0x1;const _0x1def99=window['innerHeight']||document['documentElement']['clientHeight'],_0x798b26=window['innerWidth']||document['documentElement']['clientWidth'];return _0x5bd51f['bottom']>=-0xc8&&_0x5bd51f['top']<=_0x1def99+0xc8&&_0x5bd51f['right']>=-0xc8&&_0x5bd51f['left']<=_0x798b26+0xc8;}};const _O='ck-ai-chat__feed__context-chips',EO='ck-ai-chat-context-chips-wrapper',TO='ck-ai-chat-context-chips-wrapper-balloon',AO='ck-ai-chat-controls-button',SO='ck-ai-chat-controls_context_show-more-button',IO='ck-ai-chat-context-controls__show-more-balloon-panel';var kO=class extends _0x2df468{['_contextChips']=this['createCollection']();['_overflowManager'];['_bodyCollection'];constructor(_0x28f4f3,_0x4407b3,_0x29ef7b){super(_0x28f4f3),this['_bodyCollection']=_0x29ef7b,this['_createContextChips'](_0x4407b3);const _0x2c8bb9={'cssClasses':{'showMoreButton':SO+'\x20'+zp,'showMoreBalloon':IO,'overflowContainer':TO,'controlsButton':AO}};this['_overflowManager']=new vO(_0x28f4f3,this['_contextChips'],_0x2c8bb9,this['_bodyCollection'],this),this['setTemplate']({'tag':'div','attributes':{'class':[_O,'ck','ck-reset_all']},'children':[{'tag':'div','attributes':{'class':EO},'children':this['_contextChips']}]});}['render'](){super['render']();const _0x33c145=this['element']['querySelector']('.'+EO);_0x33c145&&(this['_overflowManager']['setContainerElement'](_0x33c145),this['_overflowManager']['reorganizeChips']());}['destroy'](){super['destroy'](),this['_overflowManager']['destroy']();}['_createContextChips'](_0x3e73e6){for(const _0x3ecfd5 of _0x3e73e6){const _0x2bedfe=new OO(this['locale'],_0x3ecfd5,!0x0,!0x1);this['_contextChips']['add'](_0x2bedfe);}}},xO=class extends Dg{['_contextChipsView']=null;['_locale'];['_bodyCollection'];['_messageContentView'];constructor(_0x20f9be,_0x421352,_0x10b33e){super(_0x421352),this['_locale']=_0x20f9be,this['_bodyCollection']=_0x10b33e,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 kO(this['_locale'],this['options']['contextItems']['filter'](_0x14a6ff=>!_0x14a6ff['hidden']),this['_bodyCollection']),this['_contextChipsView']['extendTemplate']({'attributes':{'class':'ck-ai-chat__feed__context-chips'}}),this['children']['add'](this['_contextChipsView']));}['_createMessageContentView'](){this['_messageContentView']=new _0x2df468(this['_locale']),this['_messageContentView']['setTemplate']({'tag':'div','attributes':{'class':['ck-reset_all-excluded','ck-ai-chat__feed__message-content','ck-ai-chat-content']}}),this['children']['add'](this['_messageContentView']);}['render'](){super['render'](),this['_messageContentView']['element']['innerHTML']=this['options']['initialContent'],this['markAsDone']();}},CO=class extends Dg{['capabilities'];constructor(_0x16366e,_0x45af83){super(_0x45af83);const {isWebSearchEnabled:_0x5b6ffb,isReasoningEnabled:_0x590c2d}=_0x45af83['capabilities'],_0x4352f7=[];let _0x9e6e86='';_0x5b6ffb&&_0x590c2d?(_0x9e6e86=ia(_0x16366e,'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING'),_0x4352f7['push'](RO(_0x1b8c93)),_0x4352f7['push'](RO(_0x493aa4))):_0x5b6ffb?(_0x9e6e86=ia(_0x16366e,'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH'),_0x4352f7['push'](RO(_0x1b8c93))):_0x590c2d&&(_0x9e6e86=ia(_0x16366e,'AI_CHAT_FEED_REPLY_ITEM_USED_REASONING'),_0x4352f7['push'](RO(_0x493aa4))),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__interaction-header',_0x9e6e86?'':'ck-hidden']}});const _0x4f319c=new _0x2df468();_0x4f319c['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__interaction-header__capabilities']},'children':[..._0x4352f7,{'tag':'span','attributes':{'class':['ck-ai-chat__feed__interaction-header__capabilities__text']},'children':[_0x9e6e86]}]}),this['children']['add'](_0x4f319c),this['capabilities']=_0x45af83['capabilities'];}};function RO(_0x20803b){const _0x3c0540=new _0x5902c2();return _0x3c0540['content']=_0x20803b,_0x3c0540;}const PO=['wheel','touchstart','pointerdown','keydown'],MO=['ArrowUp','ArrowDown','PageUp','PageDown','Home','End','\x20'];var NO=class{['element'];['animationFrameId'];['isRunning'];['abortController'];['isUserPaused'];['scrollBehavior'];constructor(_0x36d361){this['element']=_0x36d361,this['animationFrameId']=null,this['isRunning']=!0x1,this['abortController']=new AbortController(),this['isUserPaused']=!0x1,this['scrollBehavior']='smooth';for(const _0x252eb6 of PO){const _0x1bc596='keydown'!==_0x252eb6;this['element']['addEventListener'](_0x252eb6,this['_onUserEvent']['bind'](this),{'passive':_0x1bc596,'signal':this['abortController']['signal']});}}['start']({smooth:_0x5d9932=!0x0}={}){this['isRunning']||(this['isRunning']=!0x0,this['isUserPaused']=!0x1,this['scrollBehavior']=_0x5d9932?'smooth':'auto',this['animationFrameId']=requestAnimationFrame(this['_rafUpdate']['bind'](this)));}['stop'](){requestAnimationFrame(()=>{this['_stop']();});}['destroy'](){this['_stop'](),this['abortController']['abort']();}['_stop'](){null!==this['animationFrameId']&&(cancelAnimationFrame(this['animationFrameId']),this['animationFrameId']=null),this['isRunning']&&(this['isRunning']=!0x1),this['isUserPaused']=!0x1;}['_onUserEvent'](_0x43afba){if(this['isRunning']){if('keydown'===_0x43afba['type']){const _0x1ddc52=_0x43afba['key'];if(!MO['includes'](_0x1ddc52))return;}_0x43afba instanceof WheelEvent?_0x43afba['deltaY']<0x0?this['isUserPaused']=!0x0:this['isUserPaused']=!this['_isAtBottom']():this['isUserPaused']=!0x0;}}['_isAtBottom'](){const {scrollTop:_0x451aa6,scrollHeight:_0x46685f,clientHeight:_0x2af9c1}=this['element'];return _0x46685f-_0x451aa6-_0x2af9c1<=0x5;}['_rafUpdate'](){this['isRunning']&&(this['isUserPaused']||this['element']['scrollTo']({'top':this['element']['scrollHeight'],'behavior':this['scrollBehavior']}),this['animationFrameId']=requestAnimationFrame(this['_rafUpdate']['bind'](this)));}},LO=class extends Dg{constructor(_0xd9b4d4){super(_0xd9b4d4),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']);}},$O=class extends _0x2df468{['children'];['scrollManager'];['_bodyCollection'];constructor(_0x3e8784,_0x199c2c){super(_0x3e8784),this['_bodyCollection']=_0x199c2c,this['set']('loadingMessage',''),this['set']('isLoadingSkeletonVisible',!0x1),this['set']('isTrackChangesOn',!0x1),this['children']=this['createCollection'](),this['children']['delegate'](...bg)['to'](this),this['_setupTemplate']();}['render'](){super['render'](),this['scrollManager']=new NO(this['element']);}['destroy'](){super['destroy'](),this['scrollManager']['destroy']();}['clear'](){this['children']['clear']();}['addItem'](_0xbbd046,_0x31ce31){let _0x4436fd;return'ai-reply'===_0xbbd046?_0x4436fd=new aO(this['locale'],_0x31ce31,this['_bodyCollection']):'ai-suggestion-reply'===_0xbbd046?(_0x4436fd=new oO(this['locale'],_0x31ce31,this['_bodyCollection']),_0x4436fd['bind']('isTrackChangesOn')['to'](this)):_0x4436fd='user-message'===_0xbbd046?new xO(this['locale'],_0x31ce31,this['_bodyCollection']):'interaction-header'===_0xbbd046?new CO(this['locale'],_0x31ce31):'custom-element'===_0xbbd046?new LO(_0x31ce31):new Jg(_0x31ce31),this['children']['add'](_0x4436fd),_0x4436fd;}async['updateReplyItem']({id:_0x434d68,parsedContent:_0x504273,renderingStrategy:_0x360591,abortSignal:_0x7fb87e}){const _0x27b899=this['getItemById'](_0x434d68);if(!(_0x27b899 instanceof aO))throw new _0x5b5a95('ai-chat-feed-view-item-not-a-reply-item',null,{'itemView':_0x27b899,'id':_0x434d68,'parsedContent':_0x504273});await _0x27b899['updateContent']({'parsedContent':_0x504273,'renderingStrategy':_0x360591,'abortSignal':_0x7fb87e});}async['updateWebSources'](_0x1812ec,_0x223583){const _0x33c54e=this['getItemById'](_0x1812ec);if(_0x33c54e instanceof oO)_0x33c54e['updateSources'](_0x223583);else{if(!(_0x33c54e instanceof aO))throw new _0x5b5a95('ai-chat-feed-view-item-not-a-suggestion-or-reply-item',null,{'itemView':_0x33c54e,'id':_0x1812ec,'sources':_0x223583});_0x33c54e['updateSources'](_0x223583);}}async['updateSuggestionItem']({id:_0x4040b9,parts:_0x3ee55e,abortSignal:_0x517925,skipLoadingEffects:_0x2554dc}){const _0x2049b0=this['getItemById'](_0x4040b9);if(!(_0x2049b0 instanceof oO))throw new _0x5b5a95('ai-chat-feed-view-item-not-a-suggestion-item',null,{'itemView':_0x2049b0,'id':_0x4040b9,'parts':_0x3ee55e});await _0x2049b0['updateContent']({'parts':_0x3ee55e,'abortSignal':_0x517925,'skipLoadingEffects':_0x2554dc});}['updateSuggestionPartState']({id:_0x4e5fad,index:_0x4b0f81,state:_0x1e0f7d}){const _0x56bbe8=this['getItemById'](_0x4e5fad);if(!(_0x56bbe8 instanceof oO))throw new _0x5b5a95('ai-chat-feed-view-item-not-a-suggestion-item',this,{'id':_0x4e5fad});_0x56bbe8['updatePartState'](_0x4b0f81,_0x1e0f7d);}['setSuggestionPartActive']({id:_0x2d4a55,index:_0x194420,isActive:_0x152744}){const _0x224752=this['getItemById'](_0x2d4a55);if(!(_0x224752 instanceof oO))throw new _0x5b5a95('ai-chat-feed-view-item-not-a-suggestion-item',this,{'id':_0x2d4a55});this['children']['filter'](_0x5f1bac=>_0x5f1bac instanceof oO)['forEach'](_0x1fa752=>{_0x1fa752['setPartActive'](!0x1);}),_0x224752['setPartActive'](_0x194420,_0x152744);}['markItemAsDone'](_0x49f6c5){this['getItemById'](_0x49f6c5)['markAsDone']();}['getItemIds'](){return this['children']['map'](_0x3adfac=>_0x3adfac['options']['id']);}['removeItem'](_0x56489b){this['children']['remove'](this['getItemById'](_0x56489b));}['hasItem'](_0x16c568){return!!this['children']['find'](_0x402305=>_0x402305['options']['id']['includes'](_0x16c568));}['scrollToSuggestion'](_0x582b45,_0x45a99b){const _0x10735e=this['getItemById'](_0x582b45);if(!(_0x10735e instanceof oO))return void _0x43c457('ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item',{'replyId':_0x582b45,'partIndex':_0x45a99b});const _0x50de84=_0x10735e['getPartView'](_0x45a99b);_0x50de84?_0x2bea5c(_0x50de84['element'],0x14,this['element']['parentElement'],!0x0,!0x0):_0x43c457('ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found',{'replyId':_0x582b45,'partIndex':_0x45a99b});}['_setupTemplate'](){this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed']},'children':this['_createTemplateChildren']()});}['_createTemplateChildren'](){const _0x2eaebc=this['_createSkeletonLoader']();return[this['_createFeedItems'](),_0x2eaebc,this['_createFeedLoader']()];}['_createSkeletonLoader'](){const _0x58a998=new qg(this['locale'],Wg['aiFeed']);return _0x58a998['bind']('isVisible')['to'](this,'isLoadingSkeletonVisible'),_0x58a998;}['_createFeedItems'](){const _0x100c0e=new _0x2df468(this['locale']);return _0x100c0e['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__items',this['bindTemplate']['if']('isLoadingSkeletonVisible','ck-hidden')]},'children':this['children']}),_0x100c0e;}['_createFeedLoader'](){const _0x114214=new _0x2df468(this['locale']);return _0x114214['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__loader',this['bindTemplate']['if']('loadingMessage','ck-hidden',_0x381a4a=>!_0x381a4a)]},'children':this['_createLoaderChildren']()}),_0x114214;}['_createLoaderChildren'](){const _0x4dc21c=new cO();return _0x4dc21c['isVisible']=!0x0,[_0x4dc21c,{'tag':'span','attributes':{'class':['ck','ck-ai-chat__loader-text']},'children':[{'text':this['bindTemplate']['to']('loadingMessage')}]}];}['getItemById'](_0x5ae0e3){const _0x5553be=this['children']['find'](_0x21bde9=>_0x21bde9['options']['id']['includes'](_0x5ae0e3));if(!_0x5553be)throw new _0x5b5a95('ai-chat-feed-view-item-not-found',this,{'id':_0x5ae0e3});return _0x5553be;}['setLoadingMessage'](_0x145e43){this['set']('loadingMessage',_0x145e43);}['toggleLoadingSkeleton'](_0x40fd60){this['set']('isLoadingSkeletonVisible',_0x40fd60);}['startAutoScroll'](_0x50e07e={}){this['scrollManager']['start'](_0x50e07e);}['stopAutoScroll'](){this['scrollManager']['stop']();}},DO=class extends _0x344603{['filter'](){let _0x22ebb4=0x0;for(const _0x3600ef of this['items'])_0x22ebb4+=_0x3600ef['items']['length'];return{'resultsCount':_0x22ebb4,'totalItemsCount':_0x22ebb4};}};function QO(_0x529eca){const _0x742ac4=[];let _0x5d579b=!0x1;for(const _0x4f4b00 of Array['from'](_0x529eca['items'])){if('file'!==_0x4f4b00['kind'])continue;if(_0x4f4b00['webkitGetAsEntry']()?.['isDirectory']){_0x5d579b=!0x0;continue;}const _0x4431d0=_0x4f4b00['getAsFile']();_0x4431d0&&_0x742ac4['push'](_0x4431d0);}return{'files':_0x742ac4,'hasDirectory':_0x5d579b};}const jO='ck-ai-chat__prompt-input_highlighted';var UO=class AIChatPromptInputView extends _0x5d61ba{['submitButtonView'];static ['MIN_ROWS']=0x1;static ['MAX_ROWS']=0xc;['_addContextButtonView'];['_queryViewResizeObserver'];constructor(_0x14885f,_0x11ebbf){super(_0x14885f,{'queryView':{'label':'','creator':_0x9a8cd9,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new DO(_0x14885f),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this['set']('isEmpty',!0x0),this['set']('isUploadInProgress',!0x1),this['_addContextButtonView']=_0x11ebbf,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',(_0x119365,_0x415ad4)=>!_0x119365&&!_0x415ad4),this['focusableChildren']['add'](this['submitButtonView']);}['render'](){super['render'](),this['queryView']['fieldWrapperChildren']['add'](this['submitButtonView']),this['keystrokes']['set']('enter',(_0x3b4bb4,_0x4c6744)=>{this['isUploadInProgress']||this['isEmpty']||_0x3b4bb4['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0x4c6744());}),this['queryView']['fieldView']['on']('update',()=>{this['isEmpty']=''===this['queryView']['fieldView']['element']['value']?.['trim']();}),this['queryView']['fieldView']['element']['addEventListener']('paste',_0x488fa9=>this['_handlePaste'](_0x488fa9)),this['element']['addEventListener']('drop',_0x5cc7a2=>this['_handleDrop'](_0x5cc7a2));}['_handlePaste'](_0x48df2f){const _0x2b96c9=_0x48df2f['clipboardData'];if(!_0x2b96c9)return;const {files:_0x37a3da,hasDirectory:_0x4f630d}=QO(_0x2b96c9),_0x2d04cb={'files':_0x37a3da,'plainText':_0x2b96c9['getData']('text/plain'),'hasDirectory':_0x4f630d,'forceTextAttachment':!0x1,'preventDefault':()=>_0x48df2f['preventDefault']()};this['fire']('promptInputPaste',_0x2d04cb);}['_handleDrop'](_0x5ca27f){const _0x50a1a9=_0x5ca27f['dataTransfer'];if(!_0x50a1a9)return;const _0x24e6bd={'files':[],'plainText':_0x50a1a9['getData']('text/uri-list')||_0x50a1a9['getData']('text/plain'),'hasDirectory':!0x1,'forceTextAttachment':!0x1,'preventDefault':()=>_0x5ca27f['preventDefault']()};this['fire']('promptInputPaste',_0x24e6bd);}['destroy'](){super['destroy'](),this['_queryViewResizeObserver']&&this['_queryViewResizeObserver']['destroy']();}['submit'](){const _0x2c7010=this['queryView']['fieldView']['element']['value']?.['trim']();if(!_0x2c7010)return this['queryView']['errorText']=ia(this['locale'],'AI_CHAT_PROMPT_EMPTY_ERROR'),void(this['queryView']['fieldView']['hasError']=!0x0);this['queryView']['fieldView']['hasError']=!0x1;const _0x7603bf=Io(_0x2c7010);this['fire']('sendUserMessage',_0x7603bf),this['queryView']['fieldView']['reset']();}['setPlaceholderText'](_0x37d27d){this['queryView']['fieldView']['set']('placeholder',_0x37d27d);}['focus'](_0x2556e7=!0x1){super['focus'](),_0x2556e7&&(this['element']['classList']['contains'](jO)||(this['element']['classList']['add'](jO),setTimeout(()=>{this['element']['classList']['remove'](jO);},0x320)));}['_createSubmitButton'](){const _0x127448=new _0x47ddb0(this['locale']);return _0x127448['set']({'icon':_0x961044,'label':ia(this['locale'],'AI_CHAT_LABEL_SUBMIT'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-chat__prompt-submit-button\x20'+qp,'isEnabled':!0x1}),_0x127448['on']('execute',()=>{this['submit']();}),_0x127448;}['setIsUploadInProgress'](_0x62e9d8){this['isUploadInProgress']=_0x62e9d8;}['_setUpAddContextButtonPositioning'](){const _0x519eb2=this['locale'],_0x43f48a=()=>{_0x22955f['window']['requestAnimationFrame'](()=>{if(_0x3c4a11(this['element'])){const _0x184a16=new _0x21a646(this['queryView']['fieldView']['element']),_0x1c2d5a=new _0x21a646(this['_addContextButtonView']['element']),_0x44a2d4=_0x184a16['width'],_0x439647='rtl'===_0x519eb2['uiLanguageDirection']?'right':'left';_0x184a16['excludeScrollbarsAndBorders']();const _0x1f3a49=_0x44a2d4-_0x184a16['width']+0x1;this['_addContextButtonView']['element']['style'][_0x439647]='calc('+(_0x44a2d4-_0x1c2d5a['width']-_0x1f3a49)+'px\x20-\x20var(--ck-spacing-tiny))';}});};this['queryView']['fieldView']['on']('update',_0x43f48a),this['on']('render',()=>{_0x43f48a(),this['_queryViewResizeObserver']=new _0x5c4e05(this['queryView']['fieldView']['element'],()=>{_0x43f48a();});});}},VO=class extends _0x2df468{constructor(_0x43f069){super(_0x43f069);const _0x267e61=new _0x5902c2();_0x267e61['content']=it,this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-controls__drop-overlay']},'children':[_0x267e61,{'tag':'span','attributes':{'class':['ck-ai-chat-controls__drop-overlay__label']},'children':[{'text':ia(_0x43f069,'AI_CHAT_DROP_ZONE_HINT')}]}]});}['attach'](_0x4f2571){let _0x380842=0x0;_0x4f2571['addEventListener']('dragenter',_0xafe841=>{_0xafe841['dataTransfer']&&(_0x380842++,0x1===_0x380842&&this['fire']('dragEnter'),_0x4f2571['classList']['add']('ck-ai-chat-controls_drag-over'));}),_0x4f2571['addEventListener']('dragover',_0x322634=>{_0x322634['dataTransfer']&&_0x322634['preventDefault']();}),_0x4f2571['addEventListener']('dragleave',()=>{--_0x380842<=0x0&&(_0x380842=0x0,_0x4f2571['classList']['remove']('ck-ai-chat-controls_drag-over'));}),_0x4f2571['addEventListener']('drop',_0x2da514=>{_0x2da514['preventDefault'](),_0x380842=0x0,_0x4f2571['classList']['remove']('ck-ai-chat-controls_drag-over'),this['_handleDrop'](_0x2da514);});}['_handleDrop'](_0x66fde2){const _0x4405f9=_0x66fde2['dataTransfer'];if(!_0x4405f9)return;const {files:_0x41b104,hasDirectory:_0x565779}=QO(_0x4405f9),_0x4ac6c3={'files':_0x41b104,'plainText':_0x4405f9['getData']('text/uri-list')||_0x4405f9['getData']('text/plain'),'hasDirectory':_0x565779,'forceTextAttachment':!0x0,'preventDefault':()=>{}};this['fire']('promptInputPaste',_0x4ac6c3);}};const BO='ck-ai-chat__prompt-capabilities',FO='ck-ai-chat-controls-button',HO='ck-ai-chat-controls-button--commands',ZO='ck-ai-chat-controls__model-selection',GO='ck-ai-chat-controls__model-selection__item-name',XO='ck-ai-chat-controls__model-selection__item-description',qO='ck-ai-chat-controls__model-selection__item-capabilities',WO='n';var zO=class extends _0x2df468{['_webSearchButton'];['_reasoningButton'];['_commandsButton'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_modelNameView'];constructor(_0x55cddc){super(_0x55cddc),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',_0x453924=>'selector'===_0x453924),this['_modelSelectionDropdown']['buttonView']['bind']('tooltip')['to'](this,'modelSelectorEnabled',_0x31bbb5=>_0x31bbb5?this['_modelSelectionDropdown']['buttonView']['label']:ia(this['locale'],'AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP')),this['_modelSelectionDropdown']['bind']('isEnabled')['to'](this,'modelSelectorEnabled',_0x4cd88d=>_0x4cd88d),this['_webSearchButton']['bind']('isOn')['to'](this,'webSearchActive',_0x4482b8=>_0x4482b8),this['_webSearchButton']['bind']('tooltip')['to'](this,'webSearchActive',_0x37565b=>ia(this['locale'],_0x37565b?'AI_CHAT_DISABLE_WEB_SEARCH':'AI_CHAT_ENABLE_WEB_SEARCH')),this['_reasoningButton']['bind']('isOn')['to'](this,'reasoningActive',_0x402079=>_0x402079),this['_reasoningButton']['bind']('tooltip')['to'](this,'reasoningActive',_0x174775=>ia(this['locale'],_0x174775?'AI_CHAT_DISABLE_REASONING':'AI_CHAT_ENABLE_REASONING')),this['setTemplate']({'tag':'div','attributes':{'class':[BO]},'children':[this['_modelSelectionDropdown'],this['_modelNameView'],this['_webSearchButton'],this['_reasoningButton'],this['_commandsButton']]}),this['_modelSelectionDropdownItems']=new _0x23ea50(),ts(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']);}['setModelList'](_0x3ebffe,_0x473cc5){if(_0x473cc5)this['set']('modelDisplayMode','hidden');else{const _0x2af7d7=0x1===_0x3ebffe['length'];this['set']('modelDisplayMode',_0x2af7d7?'name':'selector');}if(this['_modelSelectionDropdownItems']['clear'](),_0x3ebffe?.['length'])for(const _0x5eeb2b of _0x3ebffe){const _0x3b3361=new _0x30ba3c({'label':_0x5eeb2b['name'],'withText':!0x0,'role':'menuitemradio','id':_0x5eeb2b['id'],'model':_0x5eeb2b});_0x3b3361['bind']('isOn')['to'](this,'activeModelId',_0x2498c4=>_0x2498c4===_0x5eeb2b['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x3b3361,'labelView':new YO(this['locale'],_0x5eeb2b)});}}['setWebSearch'](_0x362872){this['set']('webSearchActive',_0x362872);}['setReasoning'](_0x1f9b74){this['set']('reasoningActive',_0x1f9b74);}['setModel'](_0x586a50){if(!_0x586a50)return;this['activeModelId']=_0x586a50['id'],this['activeModelName']=_0x586a50['name']||_0x586a50['id'],this['_modelSelectionDropdown']['buttonView']['set']('label',_0x586a50['name']),this['_modelSelectionDropdown']['buttonView']['set']('tooltip',_0x586a50['name']);const _0x4dff5e=_0x586a50['capabilities']['webSearch']?.['enabled']??!0x1;this['set']('webSearchActive',!0x1),this['_webSearchButton']['set']('isOn',!0x1),this['_webSearchButton']['set']('isEnabled',_0x4dff5e),this['_webSearchButton']['set']('isVisible',_0x4dff5e);const _0x465b9b=_0x586a50['capabilities']['reasoning']?.['enabled']??!0x1;this['set']('reasoningActive',!0x1),this['_reasoningButton']['set']('isOn',!0x1),this['_reasoningButton']['set']('isEnabled',_0x465b9b),this['_reasoningButton']['set']('isVisible',_0x465b9b);}['enableModelSelector'](){this['set']('modelSelectorEnabled',!0x0);}['disableModelSelector'](_0x5b3808){this['set']('modelSelectorEnabled',!0x1),_0x5b3808&&this['set']('modelDisplayMode','hidden');}['_createWebSearchButton'](){const _0x45722f=new _0x47ddb0();return _0x45722f['set']({'label':ia(this['locale'],'AI_CHAT_SEARCH_WEB'),'icon':_0x1b8c93,'class':FO+'\x20'+zp,'isToggleable':!0x0,'tooltipPosition':WO}),_0x45722f['on']('execute',()=>{this['fire']('toggleWebSearch');}),_0x45722f;}['_createReasoningButton'](){const _0x4ac220=new _0x47ddb0();return _0x4ac220['set']({'label':ia(this['locale'],'AI_CHAT_REASONING'),'icon':_0x493aa4,'class':FO+'\x20'+zp,'isToggleable':!0x0,'tooltipPosition':WO}),_0x4ac220['on']('execute',()=>{this['fire']('toggleReasoning');}),_0x4ac220;}['_createCommandsButton'](){const _0x3491bb=new _0x47ddb0();return _0x3491bb['set']({'label':ia(this['locale'],'AI_CHAT_COMMANDS'),'icon':_0x27ddac,'withText':!0x0,'class':FO+'\x20'+zp,'isToggleable':!0x0,'tooltip':ia(this['locale'],'AI_CHAT_COMMANDS'),'tooltipPosition':WO}),_0x3491bb['extendTemplate']({'attributes':{'class':[HO]}}),_0x3491bb['on']('execute',()=>{console['log']('Commands\x20are\x20not\x20implemented\x20yet.'),alert('Commands\x20are\x20not\x20implemented\x20yet.');}),_0x3491bb;}['_createModelSelectionDropdown'](){const _0x5b8643=_0x18eee9(this['locale']);return _0x5b8643['set']({'panelPosition':'ne','class':[ZO]}),_0x5b8643['buttonView']['set']({'label':ia(this['locale'],'AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP'),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':WO,'class':zp}),this['listenTo'](_0x5b8643,'execute',_0x373a24=>{this['fire']('selectModel',_0x373a24['source']['model']);}),_0x5b8643;}['_createModelNameView'](){const _0x5d366c=new KO(this['locale']);return _0x5d366c['bind']('text')['to'](this,'activeModelName',_0x38947f=>_0x38947f??''),_0x5d366c['bind']('isVisible')['to'](this,'modelDisplayMode',_0x2b41b9=>'name'===_0x2b41b9),_0x5d366c;}},YO=class extends _0x48935f{constructor(_0x48ab72,_0x5c2572){super();const _0x3dad0e=this['bindTemplate'],_0x13ac1e=this['createCollection']();this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x3dad0e['to']('style'),'id':_0x3dad0e['to']('id')},'children':[{'tag':'div','attributes':{'class':[GO]},'children':[{'text':_0x3dad0e['to']('text')}]},{'tag':'div','attributes':{'class':[XO]},'children':[{'tag':'span','children':[{'text':_0x5c2572['description']}]}]},{'tag':'div','attributes':{'class':[qO]},'children':_0x13ac1e}]}),_0x13ac1e['addMany'](this['_getCapabilityParts'](_0x48ab72,_0x1b8c93,'AI_CHAT_SEARCH_WEB',_0x5c2572['capabilities']['webSearch']?.['enabled']??!0x1)),_0x13ac1e['addMany'](this['_getCapabilityParts'](_0x48ab72,_0x493aa4,'AI_CHAT_REASONING',_0x5c2572['capabilities']['reasoning']?.['enabled']??!0x1));}['_getCapabilityParts'](_0x106530,_0x3b0a2f,_0x5597d0,_0x40437b){const _0x1f68d0=new _0x5902c2();_0x1f68d0['content']=_0x3b0a2f;const _0x4cc01a=new _0x2df468(_0x106530);_0x4cc01a['setTemplate']({'tag':'span','children':[{'text':ia(_0x106530,_0x5597d0)+':\x20'}]});const _0x3d24b2=new _0x2df468(_0x106530);return _0x3d24b2['setTemplate']({'tag':'span','children':[{'text':ia(_0x106530,_0x40437b?'AI_CHAT_CAPABILITIES_YES':'AI_CHAT_CAPABILITIES_NO')}]}),[_0x1f68d0,_0x4cc01a,_0x3d24b2];}},KO=class extends _0x2df468{constructor(_0x294365){super(_0x294365),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x4f4ea8=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-chat-controls__model-name',_0x4f4ea8['if']('isVisible','ck-hidden',_0x3a5cf8=>!_0x3a5cf8)]},'children':[{'text':_0x4f4ea8['to']('text')}]});}};const JO='ck-ai-chat-context-controls__url-form',tw='ck-ai-chat-context-controls__url-input-section';var ew=class extends _0x2df468{['focusTracker'];['keystrokes'];['_focusables'];['focusCycler'];['urlInputField'];['backButton'];['confirmButton'];constructor(_0x412cb1){super(_0x412cb1),this['focusTracker']=new _0x33fa41(),this['keystrokes']=new _0x491b26(),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 _0x1a2844({'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'](_0xa9d6f6=>{this['focusTracker']['add'](_0xa9d6f6['element']),this['keystrokes']['listenTo'](_0xa9d6f6['element']);}),_0x3e9784({'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'](_0x3ad747){this['urlInputField']['errorText']=_0x3ad747,this['_updateConfirmButtonState'](),this['fire']('refreshBalloon');}['clearError'](){this['urlInputField']['errorText']=null,this['_updateConfirmButtonState']();}['_createBackButton'](){const _0x450739=new _0x47ddb0(this['locale']);return _0x450739['set']({'icon':qt,'tooltip':ia(this['locale'],'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT'),'tooltipPosition':'n','class':['ck-button-icon\x20ck-button-back']}),this['on']('change:withBackButton',(_0x367521,_0x276190,_0x1f62f0)=>{_0x450739['set']({'class':['ck-button-icon\x20ck-button-back'+(_0x1f62f0?'':'\x20ck-hidden')]});}),_0x450739;}['_createUrlInputField'](){const _0xeee17b=new _0x339594(this['locale'],_0x53bfdf);return _0xeee17b['set']({'label':ia(this['locale'],'AI_CHAT_CONTEXT_URL_LABEL'),'class':'ck-labeled-field-view_empty'}),_0xeee17b['fieldView']['set']({'placeholder':ia(this['locale'],'AI_CHAT_CONTEXT_URL_PLACEHOLDER')}),_0xeee17b;}['_createConfirmButton'](){const _0x16eac8=new _0x47ddb0(this['locale']);return _0x16eac8['set']({'icon':_0x25572e,'tooltip':ia(this['locale'],'AI_CHAT_CONTEXT_URL_ADD_URL'),'tooltipPosition':'n','class':'ck-button-icon','type':'submit','isEnabled':!0x1}),_0x16eac8;}['_setupTemplate'](){const _0x4a69b3=new _0x1b3af3(this['locale'],{'label':ia(this['locale'],'AI_CHAT_CONTEXT_URL_ADD_URL'),'class':'ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url'});_0x4a69b3['children']['add'](this['backButton'],0x0),this['setTemplate']({'tag':'form','attributes':{'class':JO,'tabindex':'-1'},'children':[_0x4a69b3,{'tag':'div','attributes':{'class':tw},'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',_0x5acbe3=>{_0x5acbe3['stop'](),this['_handleSubmit']();});}['_setupKeystrokes'](){this['keystrokes']['set']('esc',(_0x5e3f46,_0x48ddc6)=>{this['clear'](),this['fire']('cancel'),_0x48ddc6();});}['_handleSubmit'](){const _0x39f944=this['getValue']()['trim']();_0x39f944?this['_isValidUrl'](_0x39f944)?(this['clearError'](),this['fire']('submitUrl',_0x39f944)):this['setError'](ia(this['locale'],'AI_CHAT_CONTEXT_URL_INVALID_ERROR')):this['setError'](ia(this['locale'],'AI_CHAT_CONTEXT_URL_EMPTY_ERROR'));}['_updateConfirmButtonState'](){const _0x2f1cf5=this['getValue']()['trim'](),_0x266287=!!this['urlInputField']['errorText'];this['confirmButton']['isEnabled']=_0x2f1cf5['length']>0x0&&!_0x266287;}['_isValidUrl'](_0x562232){try{return!!new URL(_0x562232);}catch{return!0x1;}}};const iw='ck-ai-chat-resources__item',sw='ck-ai-chat-resources__item--in-context',nw='ck-ai-chat-resources__item-title',rw='ck-ai-chat-resources__item__icon';var ow=class extends _0x1853ec{['resource'];['_titleView'];['_iconView'];constructor(_0x534c7e,_0x1030be){super(_0x534c7e),this['resource']=_0x1030be,this['set']('isInContext',!!_0x1030be['isInContext']),this['_titleView']=this['_createTitleView'](),this['_iconView']=this['_createIconView'](),this['_setupTemplate']();}['render'](){super['render']();}['getResourceIcon'](_0x3f7d74){if(_0x3f7d74['isInContext'])return _0x25572e;switch(_0x3f7d74['type']){case'document':return _0x5a12df;case'web-resource':return vt;case'file':case'text':return it;default:return _0x428131;}}['highlightText'](_0x1872fb){if(!_0x1872fb||''===_0x1872fb['trim']())return void this['_titleView']['highlightText'](null);const _0xba6859=new RegExp(ko(_0x1872fb),'gi');this['_titleView']['highlightText'](_0xba6859);}['updateResourceState'](_0x1aa2e2){this['resource']['isInContext']=_0x1aa2e2,this['isInContext']=_0x1aa2e2,this['_updateIcon']();}['_createTitleView'](){const _0x3df539=new _0x3f1b1e();return _0x3df539['text']=this['resource']['label'],_0x3df539['extendTemplate']({'tag':'span','attributes':{'class':[nw]}}),_0x3df539;}['_createIconView'](){const _0x59b97f=new _0x5902c2();return _0x59b97f['content']=this['getResourceIcon'](this['resource']),_0x59b97f;}['_setupTemplate'](){const _0xec452b=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':[iw,_0xec452b['if']('isVisible','ck-hidden',_0x450b87=>!_0x450b87),_0xec452b['if']('isInContext',sw)]},'children':[{'tag':'div','attributes':{'class':[rw]},'children':[this['_iconView']]},this['_titleView']],'on':{'click':_0xec452b['to']('execute')}});}['_updateIcon'](){this['_iconView']['content']=this['getResourceIcon'](this['resource']);}};const aw='ck-ai-chat-resources__list';var cw=class extends _0x344603{['_source'];constructor(_0x36631b,_0x11e909){super(_0x36631b),this['_source']=_0x11e909,this['extendTemplate']({'attributes':{'class':[aw]}});}['setResources'](_0x2e5aad,_0x4b98b0){this['items']['clear']();let _0x541dc7=_0x2e5aad;if(this['_source']['useDefaultFiltering']&&_0x4b98b0&&''!==_0x4b98b0['trim']()){const _0x23c67f=new RegExp(_0x4b98b0['replace'](/[.*+?^${}()|[\]\\]/g,'\x5c$&'),'gi');_0x541dc7=_0x2e5aad['filter'](_0x610807=>_0x23c67f['test'](_0x610807['label']));}for(const _0x26882d of _0x541dc7){const _0x1fbc30=new ow(this['locale'],_0x26882d);_0x1fbc30['on']('execute',()=>{this['_handleResourceSelection'](this['_source'],_0x26882d);}),this['items']['add'](_0x1fbc30);}this['_source']['useDefaultFiltering']&&this['highlightText'](_0x4b98b0);}['highlightText'](_0x3e9d54){this['_source']['useDefaultFiltering']&&this['items']['forEach'](_0x35feec=>{_0x35feec['highlightText'](_0x3e9d54);});}['updateResourceState'](_0x119185,_0x4c3d80){for(const _0x128aa7 of this['items']){const _0x362835=_0x128aa7;_0x362835['resource']['id']===_0x119185&&_0x362835['updateResourceState'](_0x4c3d80);}}['_handleResourceSelection'](_0x110c05,_0x1f562a){this['fire']('addResourceToContext',{'source':_0x110c05,'resource':_0x1f562a});}},lw=class extends _0x339594{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x4f74d1){const t=_0x4f74d1['t'],_0x547208={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x53bfdf,'label':ia(_0x4f74d1,'AI_CHAT_SEARCH_RESOURCES')};super(_0x4f74d1,_0x547208['creator']),this['label']=_0x547208['label'],this['_viewConfig']=_0x547208,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x4f74d1,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x53ecba){this['fire']('search',_0x53ecba);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x5902c2(),this['iconView']['content']=xt,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x3ccc6b,t){this['resetButtonView']=new _0x47ddb0(_0x3ccc6b),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x3f4fa1,'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',_0x494e3b=>!_0x494e3b),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);}},hw=class extends _0x2df468{['_searchView'];['_searchSection'];['_searchInputVisibleFrom'];['_resourcesListView'];['_skeletonLoader'];['_source'];['children'];['_latestLoadResourcesUid']=null;constructor(_0x11afdf,_0x13cb69){super(_0x11afdf),this['_source']=_0x13cb69['source'],this['_searchInputVisibleFrom']=_0x13cb69['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 _0xa445c9([this['_skeletonLoader'],this['_resourcesListView']]),this['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-chat-resources'},'children':this['children']});}['_createSearchView'](){return new lw(this['locale']);}['_createSearchSection'](){const _0x3307d5=new _0x2df468(this['locale']);return _0x3307d5['setTemplate']({'tag':'div','attributes':{'class':'ck\x20ck-search'},'children':[this['_searchView']]}),this['_searchView']['on']('search',(_0x34b795,_0x4adbd6)=>{this['loadResources'](_0x4adbd6),this['_source']['useDefaultFiltering']&&this['_resourcesListView']['highlightText'](_0x4adbd6);}),_0x3307d5;}['_createResourcesListView'](){const _0x5bff40=new cw(this['locale'],this['_source']);return _0x5bff40['delegate']('addResourceToContext')['to'](this),_0x5bff40['extendTemplate']({'attributes':{'class':this['bindTemplate']['if']('isLoading','ck-hidden')}}),_0x5bff40;}['_createSkeletonView'](){const _0x4ecd29=new qg(this['locale'],Wg['aiChatResources']);return _0x4ecd29['bind']('isVisible')['to'](this,'isLoading'),_0x4ecd29;}['render'](){super['render'](),this['loadResources']('');}['loadResources'](_0x5de231){const _0x5e94c3=_0x10825a();this['_latestLoadResourcesUid']=_0x5e94c3,this['fire']('loadSourceResources',{'sourceId':this['_source']['id'],'query':_0x5de231,'uid':_0x5e94c3}),this['isLoading']=!0x0;}['setResources'](_0x35e2f1,_0x2fbad2){if(_0x2fbad2&&_0x2fbad2!==this['_latestLoadResourcesUid'])return;const _0x5b014c=this['_source']['useDefaultFiltering']?this['_searchView']['getQuery']():'';this['_resourcesListView']['setResources'](_0x35e2f1,_0x5b014c),_0x35e2f1['length']>=this['_searchInputVisibleFrom']&&!this['children']['has'](this['_searchSection'])&&this['children']['add'](this['_searchSection'],0x0),requestAnimationFrame(()=>{this['isLoading']=!0x1;});}['updateResourceState'](_0xb7a0b9,_0x27b342){this['_resourcesListView']['updateResourceState'](_0xb7a0b9,_0x27b342);}};const uw='ck-ai-chat-context-controls__source-balloon-panel',dw='ck-button-icon\x20ck-button-back',fw='ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source';var mw=class{['_sourceResourceBalloons']=new Map();['_bodyCollection'];['_locale'];['_config'];constructor(_0x10bcb8,_0x2cc511,_0x5cad46){this['_locale']=_0x10bcb8,this['_bodyCollection']=_0x2cc511,this['_config']=_0x5cad46;}['showSourceResourcesBalloon']({source:_0x18c8f3,withBackButton:_0x4acbd4}){let _0x3f0c6b=this['_sourceResourceBalloons']['get'](_0x18c8f3['id']);_0x3f0c6b||(_0x3f0c6b=this['_createSourceResourceBalloonPanel'](),this['_sourceResourceBalloons']['set'](_0x18c8f3['id'],_0x3f0c6b),this['_setupSingleResourceBalloonClickOutsideHandler'](_0x3f0c6b)),this['_addSourceResourceContent']({'balloonPanel':_0x3f0c6b,'source':_0x18c8f3,'withBackButton':_0x4acbd4}),_0x3f0c6b['show']();const _0x4f6833=this['_config']['getTargetElement']();_0x4f6833&&_0x3f0c6b['pin']({'target':_0x4f6833,'limiter':this['_config']['getLimiterElement']()});}['populateSourceResourceBalloon'](_0x18db50,_0x1e0a4c,_0x38ce35){const _0x923898=this['_sourceResourceBalloons']['get'](_0x18db50);if(!_0x923898)return;const _0x1044a6=this['_getResourcesViewFromBalloon'](_0x923898);_0x1044a6&&(_0x1044a6['setResources'](_0x1e0a4c,_0x38ce35),_0x1044a6['once']('change:isLoading',()=>{_0x923898['pin']({'target':this['_config']['getTargetElement'](),'limiter':this['_config']['getLimiterElement']()});}));}['closeSourceResourceBalloon'](_0x2c186c){const _0x7b06ed=this['_sourceResourceBalloons']['get'](_0x2c186c);_0x7b06ed&&requestAnimationFrame(()=>{_0x7b06ed['hide'](),this['_sourceResourceBalloons']['delete'](_0x2c186c),this['_config']['onBalloonClosed']();});}['closeAll'](){for(const _0x328df2 of Array['from'](this['_sourceResourceBalloons']['keys']()))this['closeSourceResourceBalloon'](_0x328df2);}['isAnyResourceBalloonVisible'](){for(const _0x46044a of this['_sourceResourceBalloons']['values']())if(_0x46044a['isVisible'])return!0x0;return!0x1;}['updateResourceState'](_0xd40185,_0x1a3ab5,_0x5f07c1){const _0x5693b0=this['_sourceResourceBalloons']['get'](_0xd40185);if(!_0x5693b0||!_0x5693b0['isVisible'])return;const _0xf4c8e7=this['_config']['getTargetElement']();if(!_0xf4c8e7)return;_0x5693b0['pin']({'target':_0xf4c8e7,'limiter':this['_config']['getLimiterElement']()});const _0x402384=this['_getResourcesViewFromBalloon'](_0x5693b0);_0x402384&&_0x402384['updateResourceState'](_0x1a3ab5,_0x5f07c1);}['destroy'](){for(const _0x3fa838 of this['_sourceResourceBalloons']['values']())_0x3fa838['destroy']();this['_sourceResourceBalloons']['clear']();}['_createSourceResourceBalloonPanel'](){const _0x29fc35=new _0x13153c(this['_locale']);return _0x29fc35['extendTemplate']({'attributes':{'class':uw}}),this['_bodyCollection']['add'](_0x29fc35),_0x29fc35;}['_addSourceResourceContent']({balloonPanel:_0x349025,source:_0x4776d5,withBackButton:_0xcc70a7}){_0x349025['content']['clear']();const _0x290dc0=this['_createBalloonHeader']({'balloonPanel':_0x349025,'source':_0x4776d5,'withBackButton':_0xcc70a7});_0x349025['content']['add'](_0x290dc0);const _0x4d630c=this['_createBalloonResourcesView'](_0x4776d5);_0x349025['content']['add'](_0x4d630c);}['_createBalloonHeader']({balloonPanel:_0x8dd319,source:_0x2a46b9,withBackButton:_0x109f3e}){const _0x76eb78=new _0x1b3af3(this['_locale'],{'label':_0x2a46b9['label'],'class':fw});return _0x109f3e&&_0x76eb78['children']['add'](this['_createBackButton'](_0x8dd319),0x0),_0x76eb78;}['_createBackButton'](_0x2b5ffc){const _0xc04180=new _0x47ddb0(this['_locale']);return _0xc04180['set']({'icon':qt,'tooltip':ia(this['_locale'],'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT'),'tooltipPosition':'n','class':dw}),_0xc04180['on']('execute',()=>{_0x2b5ffc['hide'](),this['_config']['onBackToContext']();}),_0xc04180;}['_createBalloonResourcesView'](_0x5edc67){const _0x3339e7=new hw(this['_locale'],{'source':_0x5edc67,'searchInputVisibleFrom':this['_config']['searchInputVisibleFrom']});return _0x3339e7['on']('loadSourceResources',(_0x159d0e,_0x537b1e)=>{this['_config']['onLoadSourceResources'](_0x537b1e);}),_0x3339e7['on']('addResourceToContext',(_0x3452a9,_0x3cdbff)=>{this['_config']['onResourceSelected'](_0x3cdbff['source'],_0x3cdbff['resource']),this['closeSourceResourceBalloon'](_0x5edc67['id']);}),_0x3339e7;}['_getResourcesViewFromBalloon'](_0x630dd2){const _0x5602a7=_0x630dd2['content']['get'](0x1);return _0x5602a7 instanceof hw?_0x5602a7:null;}['_setupSingleResourceBalloonClickOutsideHandler'](_0xb98904){_0xc0d273({'emitter':_0xb98904,'contextElements':[_0xb98904['element']],'callback':()=>{_0xb98904['hide'](),this['_config']['onBalloonClosed']();},'activator':()=>_0xb98904['isVisible']});}};const pw=['addDocumentToContext','addFileToContext','addUrlToContext','addResourceToContext','removeContextItem','loadSourceResources','executeCustomItemCallback'],gw='ck-ai-chat-context-controls',Ow='ck-ai-chat-context-controls__pending-contexts',ww='ck-ai-chat-context-controls__add-context-balloon-panel',bw='ck-ai-chat-context-controls__add-context-button',yw='ck-ai-chat-context-controls__url-balloon-panel',vw='ck-ai-chat-context-controls__balloon-button',_w='ck-ai-chat-context-controls__balloon-button-source',Ew='ck-ai-chat-controls-button',Tw='ck-ai-chat-context-chips-wrapper-balloon',Aw='ck-ai-chat-controls_context_show-more-button',Sw='ck-ai-chat-context-controls__show-more-balloon-panel',Iw='ck-ai-chat',kw=[_0x13153c['defaultPositions']['northArrowSouthWest'],_0x13153c['defaultPositions']['northArrowSouth'],_0x13153c['defaultPositions']['northArrowSouthEast'],_0x13153c['defaultPositions']['southArrowNorthWest'],_0x13153c['defaultPositions']['southArrowNorth'],_0x13153c['defaultPositions']['southArrowNorthEast']];var xw=class extends _0x2df468{['addContextButtonView'];['_currentContextsChips']=this['createCollection']();['_conversationContextsChips']=this['createCollection']();['_overflowManager'];['_addContextBalloonPanelView'];['_urlBalloonPanelView'];['_urlInputView'];['_resourcesBalloonView'];['_addContextBalloonConfig'];['_hasExactlyOneSource']=!0x1;['bodyCollection'];constructor(_0x2a10f3,_0x42d07b){super(_0x2a10f3),this['bodyCollection']=_0x42d07b['bodyCollection'],this['_currentContextsChips']=this['createCollection'](),this['_conversationContextsChips']=this['createCollection'](),this['addContextButtonView']=this['_createAddContextButtonView'](_0x2a10f3),this['_addContextBalloonPanelView']=this['_createAddContextBalloonPanelView'](_0x2a10f3),this['_urlBalloonPanelView']=this['_createUrlBalloonPanelView'](_0x2a10f3),this['_resourcesBalloonView']=this['_createResourcesBalloonView'](_0x2a10f3,_0x42d07b);const _0x1ddb9c={'cssClasses':{'showMoreButton':Aw+'\x20'+zp,'showMoreBalloon':Sw,'overflowContainer':Tw,'controlsButton':Ew}};this['_overflowManager']=new vO(_0x2a10f3,this['_currentContextsChips'],_0x1ddb9c,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'](_0x3340c5,_0x541a2e){const _0x17fd47=this['_createContextButton'](_0x3340c5,'current',!0x0,_0x541a2e);this['_addContextToCollection'](_0x17fd47,this['_currentContextsChips']),this['_overflowManager']['reorganizeChips']();}['removeContextItem'](_0x1d7fc8){this['_removeContextFromCollection'](_0x1d7fc8,this['_currentContextsChips']),this['_removeContextFromCollection'](_0x1d7fc8,this['_overflowManager']['overflowChips']),this['_overflowManager']['reorganizeChips']();}['setContextItemLoading'](_0xfdb77c,_0x4cfc98){let _0x3b3123=this['_currentContextsChips']['find'](_0x5b1a89=>_0x5b1a89['id']===_0xfdb77c);_0x3b3123||(_0x3b3123=this['_overflowManager']['overflowChips']['find'](_0x3a8b3f=>_0x3a8b3f['id']===_0xfdb77c)),_0x3b3123&&(_0x3b3123['isLoading']=_0x4cfc98);}['setConversationContext'](_0x6645df){this['_conversationContextsChips']['clear']();for(const _0x2cfe65 of _0x6645df){const _0x356ee8=this['_createContextButton'](_0x2cfe65,'conversation',!0x1,!0x1);this['_addContextToCollection'](_0x356ee8,this['_conversationContextsChips']);}}['clearCurrentContextItems'](){this['_currentContextsChips']['clear'](),this['_overflowManager']['clear']();}['clearConversationContextItems'](){this['_conversationContextsChips']['clear']();}['updateResourceState'](_0x405e1b,_0x16d244,_0x11361a){this['_resourcesBalloonView']['updateResourceState'](_0x405e1b,_0x16d244,_0x11361a);}['hideAddContextBalloonPanel'](){this['_toggleAddContextBalloon'](!0x1);}['showAddContextBalloonPanel'](){this['_toggleAddContextBalloon'](!0x0);}['hideUrlBalloonPanel'](){this['_urlBalloonPanelView']['hide'](),this['addContextButtonView']['isOn']=!0x1,this['_urlInputView']&&this['_urlInputView']['clear']();}['showUrlBalloonPanel'](){this['_urlBalloonPanelView']['show'](),this['addContextButtonView']['isOn']=!0x0;}['hideAllBalloons'](){this['hideAddContextBalloonPanel'](),this['hideUrlBalloonPanel'](),this['_resourcesBalloonView']['closeAll']();}['_showSourceResourcesBalloon']({source:_0x951863,withBackButton:_0x37a834}){this['_resourcesBalloonView']['showSourceResourcesBalloon']({'source':_0x951863,'withBackButton':_0x37a834}),this['addContextButtonView']['isOn']=!0x0;}['populateSourceResourceBalloon'](_0x19fab0,_0x23c817,_0x1ce217,_0x50eb43){this['_resourcesBalloonView']['populateSourceResourceBalloon'](_0x19fab0,_0x1ce217,_0x50eb43);}['closeSourceResourceBalloon'](_0x412753){this['_resourcesBalloonView']['closeSourceResourceBalloon'](_0x412753),this['addContextButtonView']['isOn']=!0x1;}['setAddContextOptions'](_0x5c9009){this['_setBalloonPanelContent'](this['_addContextBalloonPanelView'],this['locale'],_0x5c9009),this['_setAddContextButtonEnabled'](_0x5c9009);}['_setAddContextButtonEnabled'](_0x452a17){const _0x3487b4=!_0x452a17['document']['isHidden']&&_0x452a17['document']['enabled'],_0x2a2b62=_0x452a17['urls']['enabled'],_0x39a024=_0x452a17['files']['enabled'],_0x27e9b9=_0x452a17['sources']['length']>0x0,_0x1b17cf=_0x452a17['customItems']&&_0x452a17['customItems']['length']>0x0;this['addContextButtonView']['isEnabled']=_0x3487b4||_0x2a2b62||_0x39a024||_0x27e9b9||_0x1b17cf;}['_setupTemplate'](){this['setTemplate']({'tag':'div','attributes':{'class':[gw,'ck-reset_all-excluded']},'children':[{'tag':'div','attributes':{'class':Ow},'children':this['_currentContextsChips']}]});}['_bindEventHandlers'](){this['addContextButtonView']['on']('execute',()=>{this['_handleAddContextButtonClick']();});}['_createAddContextButtonView'](_0x44a562){const _0x316e35=new _0x47ddb0(_0x44a562);return _0x316e35['set']({'label':ia(_0x44a562,'AI_CHAT_CONTEXT_ADD_CONTEXT'),'class':Ew+'\x20'+bw+'\x20'+zp,'icon':Vt,'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0x316e35;}['_createAddContextBalloonPanelView'](_0x29f411){return this['_createBaseBalloonPanel'](_0x29f411,ww);}['_createUrlBalloonPanelView'](_0x3b6560){const _0x1d8ccb=this['_createBaseBalloonPanel'](_0x3b6560,yw);return this['_addUrlContent'](_0x1d8ccb,_0x3b6560),_0x1d8ccb;}['_createResourcesBalloonView'](_0x1abd81,_0x1a4720){const _0x1e0f9c={'searchInputVisibleFrom':_0x1a4720['searchInputVisibleFrom'],'onBackToContext':()=>{this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':kw});},'onResourceSelected':(_0x565ff2,_0x48f9cb)=>{this['fire']('addResourceToContext',{'source':_0x565ff2,'resource':_0x48f9cb});},'onLoadSourceResources':_0x4dbb7e=>{this['fire']('loadSourceResources',_0x4dbb7e);},'onBalloonClosed':()=>{this['addContextButtonView']['isOn']=!0x1;},'getLimiterElement':()=>this['_getLimiterElement'](),'getTargetElement':()=>this['addContextButtonView']['element']};return new mw(_0x1abd81,_0x1a4720['bodyCollection'],_0x1e0f9c);}['_getLimiterElement'](){return this['element']?.['closest']('.'+Iw)||document['body'];}['_createBaseBalloonPanel'](_0xfd5173,_0x220867){const _0x568e4a=new _0x13153c(_0xfd5173);return _0x568e4a['extendTemplate']({'attributes':{'class':_0x220867}}),this['bodyCollection']['add'](_0x568e4a),_0x568e4a;}['_setBalloonPanelContent'](_0x317e03,_0x2912a0,_0x383590){if(_0x317e03['content']['clear'](),!_0x383590['document']['isHidden']&&_0x383590['document']['enabled']){const _0x2e5c77=this['_createBalloonButton'](_0x2912a0,{'label':ia(_0x2912a0,'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'),'icon':_0x5a12df});_0x2e5c77['on']('execute',()=>{this['fire']('addDocumentToContext'),this['hideAddContextBalloonPanel']();}),_0x317e03['content']['add'](_0x2e5c77);}if(_0x383590['urls']['enabled']){const _0x29a0b1=this['_createBalloonButton'](_0x2912a0,{'label':ia(_0x2912a0,'AI_CHAT_CONTEXT_URL_LABEL'),'icon':vt});_0x29a0b1['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['showUrlBalloonPanel'](),this['_urlBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':kw}),this['_urlInputView']['focus']();}),_0x317e03['content']['add'](_0x29a0b1);}if(_0x383590['files']['enabled']){const _0x535020=new _0x6cc67e(_0x2912a0);_0x535020['set']({'label':ia(_0x2912a0,'AI_CHAT_CONTEXT_FILE_LABEL'),'icon':_0x154408,'withText':!0x0,'tooltip':!0x0,'class':vw,'allowMultipleFiles':!0x0}),_0x535020['on']('execute',()=>{this['hideAddContextBalloonPanel']();}),_0x535020['on']('done',(_0x3d517a,_0x5ea500)=>{this['fire']('addFileToContext',_0x5ea500);}),_0x535020['tooltip']=!0x0,_0x317e03['content']['add'](_0x535020);}for(const _0x5e2fc9 of _0x383590['sources']){const _0xbc2054=this['_createBalloonButton'](_0x2912a0,{'label':_0x5e2fc9['label'],'icon':_0x5e2fc9['icon']||_0x428131,'type':'source'});_0x317e03['content']['add'](_0xbc2054),_0xbc2054['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['_showSourceResourcesBalloon']({'source':_0x5e2fc9,'withBackButton':!this['_hasExactlyOneSource']});});}for(const _0x3862d9 of _0x383590['customItems']||[]){const _0x1684af=this['_createBalloonButton'](_0x2912a0,{'label':_0x3862d9['label'],'icon':_0x3862d9['icon']||_0x428131,'type':'customItem'});_0x317e03['content']['add'](_0x1684af),_0x1684af['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['fire']('executeCustomItemCallback',_0x3862d9);});}this['_hasExactlyOneSource']=0x1===_0x317e03['content']['length'],this['_urlInputView']['withBackButton']=!this['_hasExactlyOneSource'];}['_addUrlContent'](_0x378fa9,_0x1091c6){this['_urlInputView']=new ew(_0x1091c6),this['_urlInputView']['on']('submitUrl',(_0x2dceca,_0x2210f2)=>{this['_handleUrlSubmit'](_0x2210f2);}),this['_urlInputView']['on']('cancel',()=>{this['hideUrlBalloonPanel'](),this['_hasExactlyOneSource']||(this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':kw}));}),this['_urlInputView']['on']('refreshBalloon',()=>{this['_urlBalloonPanelView']['isVisible']&&this['_urlBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':kw});}),_0x378fa9['content']['add'](this['_urlInputView']);}['_createBalloonButton'](_0x3117cf,_0x5866ea){const _0x43a256='source'===_0x5866ea['type']?new Cw(_0x3117cf):new _0x47ddb0(_0x3117cf);return _0x43a256['set']({'label':_0x5866ea['label'],'icon':_0x5866ea['icon'],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':vw}),_0x43a256;}['_setupAllBalloonClickOutsideHandlers'](){this['_setupAddContextBalloonClickOutsideHandler'](),this['_setupUrlBalloonClickOutsideHandler']();}['_setupUrlBalloonClickOutsideHandler'](){_0xc0d273({'emitter':this['_urlBalloonPanelView'],'contextElements':[this['_urlBalloonPanelView']['element']],'callback':()=>{this['hideUrlBalloonPanel']();},'activator':()=>this['_urlBalloonPanelView']['isVisible']});}['_toggleAddContextBalloon'](_0x2e1cd1){const _0x185457=this['_addContextBalloonConfig'];_0x185457['buttonView']['isOn']=_0x2e1cd1,_0x2e1cd1?_0x185457['balloonView']['show']():_0x185457['balloonView']['hide']();}['_setupAddContextBalloonClickOutsideHandler'](){const {balloonView:_0x4a2a30,buttonView:_0x56bfd1,hideMethod:_0x446ea4}=this['_addContextBalloonConfig'];_0xc0d273({'emitter':_0x4a2a30,'contextElements':[_0x4a2a30['element'],_0x56bfd1['element']],'callback':()=>{_0x446ea4();},'activator':()=>_0x56bfd1['isOn']&&!this['_urlBalloonPanelView']['isVisible']&&!this['_resourcesBalloonView']['isAnyResourceBalloonVisible']()});}['_createContextButton'](_0x15aaca,_0x182991,_0x5dc61b=!0x1,_0x48f68f=!0x1){const _0x2ea368='conversation'===_0x182991||!0x0===_0x15aaca['isReadOnly'],_0x1075e0=new OO(this['locale'],_0x15aaca,_0x2ea368,_0x5dc61b,_0x48f68f);return _0x2ea368||_0x1075e0['on']('removeContextItemChip',()=>{this['fire']('removeContextItem',_0x1075e0['id']);}),_0x1075e0;}['_addContextToCollection'](_0x59d225,_0x2eba67){_0x2eba67['add'](_0x59d225,0x0);}['_removeContextFromCollection'](_0x3f8158,_0x223328){const _0x43ff69=_0x223328['find'](_0x5b164b=>_0x5b164b['id']===_0x3f8158);_0x43ff69&&_0x223328['remove'](_0x43ff69);}['_handleAddContextButtonClick'](){this['addContextButtonView']['isOn']?this['hideAddContextBalloonPanel']():(this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':kw}),this['_hasExactlyOneSource']&&this['_addContextBalloonPanelView']['content']['get'](0x0)?.['fire']('execute'));}['_handleUrlSubmit'](_0x5924d2){this['_urlInputView']['clear'](),this['hideUrlBalloonPanel'](),this['fire']('addUrlToContext',_0x5924d2);}},Cw=class extends _0x47ddb0{['arrowView'];constructor(_0x415ac3){super(_0x415ac3),this['set']({'withText':!0x0,'role':'menuitem'}),this['arrowView']=this['_createArrowView'](),this['extendTemplate']({'attributes':{'class':[_w]}});}['render'](){super['render'](),this['children']['add'](this['arrowView']);}['_createArrowView'](){const _0x277aef=new _0x5902c2();return _0x277aef['content']=_0x3091fa,_0x277aef['extendTemplate']({'attributes':{'class':_w+'__arrow'}}),_0x277aef;}},Rw=class extends _0x2df468{['_cancelButtonView'];['_loaderView'];constructor(_0x2a99c0){super(_0x2a99c0),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 _0x3ded1e=new _0x47ddb0(this['locale']);return _0x3ded1e['set']({'label':ia(this['locale'],'AI_CHAT_STOP_GENERATING'),'withText':!0x0,'class':Wp+'\x20ck-ai-button-stop-generating','icon':_0x514a43}),_0x3ded1e['on']('execute',()=>{this['fire']('abortPromptStream');}),_0x3ded1e;}['_createLoaderView'](){const _0x648da1=new _0x2df468(this['locale']);return _0x648da1['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':ia(this['locale'],'AI_CHAT_IS_WRITING')}]}),_0x648da1;}},Pw=class extends _0x2df468{['_contextPanelView'];['_promptInputView'];['_dropZoneView'];['_promptCapabilitiesView'];['_loaderView'];['_modelUnavailableMessageView'];['_shouldRestorePromptInputFocus'];['_filesEnabled'];constructor(_0x4daa4f,_0x3c9e5d){super(_0x4daa4f),this['_filesEnabled']=_0x3c9e5d['filesEnabled'],this['_contextPanelView']=this['_createContextPanelView'](_0x4daa4f,{'bodyCollection':_0x3c9e5d['bodyCollection'],'searchInputVisibleFrom':_0x3c9e5d['contextResourcesSearchInputVisibleFrom']}),this['_promptInputView']=this['_createPromptInputView'](_0x4daa4f),this['_promptCapabilitiesView']=this['_createPromptCapabilitiesView'](_0x4daa4f),this['_loaderView']=this['_createLoaderView'](_0x4daa4f),this['_modelUnavailableMessageView']=this['_createModelUnavailableMessageView'](_0x4daa4f),this['_dropZoneView']=new VO(_0x4daa4f),this['_shouldRestorePromptInputFocus']=!0x1,this['_promptInputView']['delegate']('sendUserMessage','promptInputPaste')['to'](this),this['_dropZoneView']['delegate']('promptInputPaste')['to'](this),this['_dropZoneView']['on']('dragEnter',()=>this['_contextPanelView']['hideAllBalloons']()),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'](...pw)['to'](this),this['set']('isModelAvailable',!0x0),this['set']('isDisabled',!0x1);const _0x23ce06=this['bindTemplate'];this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-ai-chat-controls',_0x23ce06['if']('isDisabled','ck-ai-chat-controls-disabled')]},'children':[{'tag':'div','attributes':{'class':[_0x23ce06['if']('isLoading','ck-hidden',_0x35bc4d=>_0x35bc4d||!this['isModelAvailable']),_0x23ce06['if']('isModelAvailable','ck-hidden',_0x157fca=>!_0x157fca||this['isLoading'])]},'children':[this['_contextPanelView'],this['_promptInputView'],this['_promptCapabilitiesView']]},{'tag':'div','attributes':{'class':[_0x23ce06['if']('isLoading','ck-hidden',_0x5b8459=>!_0x5b8459)]},'children':[this['_loaderView']]},{'tag':'div','attributes':{'class':[_0x23ce06['if']('isModelAvailable','ck-hidden',_0x4409df=>_0x4409df)]},'children':[this['_modelUnavailableMessageView']]},this['_dropZoneView']]}),_0xc0d273({'emitter':this['_promptInputView'],'activator':()=>this['isLoading'],'contextElements':()=>[this['element']],'callback':()=>{this['_shouldRestorePromptInputFocus']=!0x1;}}),this['on']('change:isLoading',this['_handlePromptInputFocus'],{'priority':'low'});}['render'](){super['render'](),this['_filesEnabled']&&this['_dropZoneView']['attach'](this['element']);}['_createContextPanelView'](_0x276193,_0x52b317){return new xw(_0x276193,_0x52b317);}['_createPromptInputView'](_0x39ef6b){return new UO(_0x39ef6b,this['_contextPanelView']['addContextButtonView']);}['_createPromptCapabilitiesView'](_0x16fdd8){return new zO(_0x16fdd8);}['_createLoaderView'](_0x4d89f3){return new Rw(_0x4d89f3);}['_createModelUnavailableMessageView'](_0x6adb6f){const _0x685fcf=new Mw(_0x6adb6f);return _0x685fcf['delegate']('startConversation')['to'](this),_0x685fcf;}['_handlePromptInputFocus'](_0x51ba86,_0x26fcf2,_0x38e9b9){_0x38e9b9?this['_shouldRestorePromptInputFocus']=!0x0:this['_shouldRestorePromptInputFocus']&&this['_promptInputView']['focus']();}['addContextItem'](_0x2cda45,_0x33d2a3){this['_contextPanelView']['addContextItem'](_0x2cda45,_0x33d2a3);}['removeContextItem'](_0x174dbb){this['_contextPanelView']['removeContextItem'](_0x174dbb);}['setContextItemLoading'](_0x24d7a4,_0x26344e){this['_contextPanelView']['setContextItemLoading'](_0x24d7a4,_0x26344e);}['setIsUploadInProgress'](_0x485b6e){this['_promptInputView']['setIsUploadInProgress'](_0x485b6e);}['setConversationContext'](_0x5c3240){this['_contextPanelView']['setConversationContext'](_0x5c3240);}['clearPendingContextUI'](){this['_contextPanelView']['clearCurrentContextItems']();}['clearConversationContextUI'](){this['_contextPanelView']['clearConversationContextItems']();}['updateResourceState'](_0x275d40,_0x682555,_0x441cd3){this['_contextPanelView']['updateResourceState'](_0x275d40,_0x682555,_0x441cd3);}['setWebSearch'](_0x36d540){this['_promptCapabilitiesView']['setWebSearch'](_0x36d540);}['setReasoning'](_0x4772e5){this['_promptCapabilitiesView']['setReasoning'](_0x4772e5);}['resetMessageInput'](){this['_promptInputView']['reset']();}['setAddContextOptions'](_0x2bc3d6){this['_contextPanelView']['setAddContextOptions'](_0x2bc3d6);}['setInputPlaceholder'](_0x119096){this['_promptInputView']['setPlaceholderText'](_0x119096);}['setModelList'](_0x17e498,_0x404a87){this['_promptCapabilitiesView']['setModelList'](_0x17e498,_0x404a87);}['setModel'](_0x19ca0d){_0x19ca0d?(this['isModelAvailable']=!0x0,this['_promptCapabilitiesView']['setModel'](_0x19ca0d)):this['isModelAvailable']=!0x1;}['enableModelSelector'](){this['_promptCapabilitiesView']['enableModelSelector']();}['disableModelSelector'](_0x2ee30d){this['_promptCapabilitiesView']['disableModelSelector'](_0x2ee30d);}['populateSourceResourceBalloon'](_0x206523,_0x465f82,_0x34f49e,_0x438d31){this['_contextPanelView']['populateSourceResourceBalloon'](_0x206523,_0x465f82,_0x34f49e,_0x438d31);}['closeSourceResourceBalloon'](_0x6d5c13){this['_contextPanelView']['closeSourceResourceBalloon'](_0x6d5c13);}['focusPromptInput'](_0x5843fa=!0x1){this['_promptInputView']['focus'](_0x5843fa);}['setPromptInputValue'](_0x575bcc){this['_promptInputView']['queryView']['fieldView']['reset'](),this['_promptInputView']['queryView']['fieldView']['value']=_0x575bcc;}},Mw=class extends _0x2df468{constructor(_0x41bcc1){super(_0x41bcc1);const _0x11a0eb=new _0x47ddb0(_0x41bcc1);_0x11a0eb['set']({'label':ia(this['locale'],'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_BUTTON'),'withText':!0x0,'class':['ck-ai-chat-controls__start-new-chat-button'],'tooltip':''}),_0x11a0eb['delegate']('execute')['to'](this,'startConversation'),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-controls-model-unavailable-message']},'children':[{'tag':'p','children':[{'text':ia(this['locale'],'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_TEXT')+'\x20'},_0x11a0eb]}]});}},Nw=class extends _0x1b3af3{['resizeButton'];constructor(_0x334fe1,_0x44c002){super(_0x334fe1,{'label':_0x44c002['label'],'class':'ck-ai-header\x20'+_0x44c002['class'],'icon':_0x44c002['icon']}),this['set']('isMaximized',!0x1),_0x44c002['content']&&this['children']['add'](_0x44c002['content']),_0x44c002['showResizeButton']&&(this['resizeButton']=Yp(_0x334fe1,this),this['children']['add'](this['resizeButton']));}},Lw=class extends _0x2df468{constructor(_0x44d7e0){super(_0x44d7e0),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-disclaimer']},'children':[{'tag':'p','attributes':{'class':['ck','ck-ai-disclaimer__content']},'children':[{'text':ia(_0x44d7e0,'AI_DISCLAIMER_TEXT')}]}]});}};function $w(_0x1b5064,_0x25f798){const _0x220891=new _0x47ddb0(_0x1b5064);return _0x220891['set']({'label':ia(_0x1b5064,'AI_CHAT_LABEL_NEW_CHAT'),'withText':!0x0,'icon':Gt,'class':'ck-ai-chat__start-conversation\x20'+Wp}),_0x220891['on']('execute',()=>{_0x25f798['fire']('startConversation');}),_0x220891;}var Dw=class extends _0x2df468{['chatHeader'];['chatFeed'];['chatControls'];['chatDisclaimer'];['_bodyCollection'];constructor(_0x23b7bd,_0x3880fc){super(_0x23b7bd),this['_bodyCollection']=Kp(_0x23b7bd);const _0x4cdc0a=$w(_0x23b7bd,this);this['chatHeader']=new Nw(_0x23b7bd,{'label':ia(_0x23b7bd,'AI_CHAT_HEADING'),'icon':_0x21befc,'class':'ck-ai-header_chat','content':_0x4cdc0a,'showResizeButton':_0x3880fc['showResizeButton']}),this['chatHeader']['delegate']('resizeTabs')['to'](this),this['chatFeed']=new $O(_0x23b7bd,this['_bodyCollection']),this['chatFeed']['delegate'](...bg)['to'](this),this['chatControls']=new Pw(_0x23b7bd,{'bodyCollection':this['_bodyCollection'],'contextResourcesSearchInputVisibleFrom':_0x3880fc['contextResourcesSearchInputVisibleFrom'],'filesEnabled':_0x3880fc['filesEnabled']}),this['chatControls']['delegate'](...bg)['to'](this),this['chatDisclaimer']=new Lw(_0x23b7bd),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-chat','ck-rounded-corners'],'dir':_0x23b7bd['uiLanguageDirection']},'children':[this['chatHeader'],this['chatFeed'],this['chatControls'],this['chatDisclaimer']]});}['populateSourceResourceBalloon'](_0x380b09,_0x5646b8,_0x3d9d5f,_0x12ad7f){this['chatControls']['populateSourceResourceBalloon'](_0x380b09,_0x5646b8,_0x3d9d5f,_0x12ad7f);}['closeSourceResourceBalloon'](_0x16ea46){this['chatControls']['closeSourceResourceBalloon'](_0x16ea46);}['destroy'](){this['_bodyCollection']['detachFromDom'](),super['destroy']();}},Qw=class extends _0x2de7b2{static get['requires'](){return[Yo];}['_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(_0xfeeadb){super(_0xfeeadb);const _0x4b2944=this['context']['plugins']['get']('AITabs');this['set']('isBusy',!0x1),this['_promiseQueue']=new Kg(),this['_view']=new Dw(this['context']['locale'],{'showResizeButton':_0x4b2944['showResizeButton'],'contextResourcesSearchInputVisibleFrom':this['context']['config']['get']('ai.chat.context.searchInputVisibleFrom'),'filesEnabled':!0x1!==this['context']['config']['get']('ai.chat.context.files.enabled')}),this['_view']['delegate']('resizeTabs')['to'](_0x4b2944),this['_view']['delegate'](...bg)['to'](this),this['_view']['on']('toggleSuggestionDisplayMode',(_0x58b254,{showDiff:_0x43bbff})=>{this['showDiff']=_0x43bbff;}),this['disableControls'](),_0x4b2944['view']['addTab']({'id':'chat','buttonLabel':ia(this['context']['locale'],'AI_CHAT_HEADING'),'buttonIcon':_0x21befc,'order':0x0,'content':this['_view']}),this['_view']['chatHeader']['bind']('isMaximized')['to'](_0x4b2944['view'],'isMaximized',_0x491f8a=>_0x491f8a),this['_view']['chatControls']['bind']('isLoading')['to'](this,'isBusy',_0x18641f=>_0x18641f),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder']()),this['bind']('isModelAvailable')['to'](this['_view']['chatControls'],'isModelAvailable');}['destroy'](){super['destroy'](),this['_titleAnimationInterval']&&clearInterval(this['_titleAnimationInterval']);}['createConversation'](_0x22f1de){const _0x25d741=this['context']['config']['get']('ai.chat.welcomeMessage')??ia(this['context']['locale'],'AI_CHAT_WELCOME_MESSAGE');this['_view']['chatFeed']['clear'](),this['_view']['chatControls']['enableModelSelector'](),this['_view']['chatControls']['setModelList'](_0x22f1de['availableModels'],!this['context']['config']['get']('ai.models.showModelSelector')),this['addFeedItemStaticMessage']({'id':'conversation-start','staticMessage':_0x25d741}),this['fire']('conversationCreated');}async['addFeedItemStaticMessage']({id:_0x44fbb1,staticMessage:_0x4719ee}){return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-reply',{'id':_0x44fbb1,'initialContent':'<p>'+_0x4719ee+'</p>'});});}async['addFeedItemUserMessage'](_0x156fb0){const _0x5c2c54=_0x156fb0['attributes']?.['displayedPrompt']||_0x156fb0['userMessage'];return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('user-message',{'contextItems':Array['from'](_0x156fb0['contextItems']['values']()),'initialContent':'<p>'+_0x5c2c54+'</p>','id':_0x156fb0['id']});});}async['addFeedItemError']({errorMessage:_0x290a1a,id:_0x58d664}){return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('error-message',{'initialContent':'<p>'+_0x290a1a+'</p>','id':_0x58d664});});}async['addFeedItemAIReply'](_0xd79a30){return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-reply',{'id':_0xd79a30['interactionId']+':'+_0xd79a30['id']}),this['clearLoadingMessage']();});}async['addFeedItemAISuggestion'](_0x35d172){const _0x2deed4=sa(this['context']),_0x41020b=_0x2deed4['map'](_0x98a99d=>_0x98a99d['config']['get']('ai.availableReplyActions')||[...tO]);let _0xcce1d4=_0x41020b['reduce']((_0x4cbbc5,_0xc0ea70)=>_0x4cbbc5['filter'](_0x48dd72=>_0xc0ea70['includes'](_0x48dd72)),_0x41020b[0x0]||[...tO]);const _0x36a9b0=_0x2deed4['every'](_0x32a497=>_0x32a497['plugins']['has']('TrackChanges')),_0x4c11ab=_0x2deed4['map'](_0x346797=>_0x346797['commands']['get']('trackChanges'));return _0x36a9b0?this['_isTrackChangesCommandValueBound']||(this['_isTrackChangesCommandValueBound']=!0x0,this['_view']['chatFeed']['bind']('isTrackChangesOn')['toMany'](_0x4c11ab,'value',(..._0x11339b)=>_0x11339b['some'](_0x4645bd=>_0x4645bd))):_0xcce1d4=_0xcce1d4['filter'](_0x126c73=>'insertSuggestion'!=_0x126c73),this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-suggestion-reply',{'id':_0x35d172['interactionId']+':'+_0x35d172['id'],'areActionsDisabled':_0x35d172['areActionsDisabled'],'showDiff':this['showDiff'],'availableActions':_0xcce1d4}),this['clearLoadingMessage']();});}async['addFeedInteractionHeader'](_0x1a6373,_0x5d9b25){return this['_promiseQueue']['enqueue'](async()=>{const _0x205aec=this['_view']['chatFeed']['children']['last'];if(_0x205aec instanceof CO)return this['_view']['chatFeed']['children']['remove'](_0x205aec),void this['_view']['chatFeed']['addItem']('interaction-header',{'id':_0x1a6373['id'],'capabilities':{'isWebSearchEnabled':_0x205aec['capabilities']['isWebSearchEnabled']||_0x5d9b25['isWebSearchEnabled'],'isReasoningEnabled':_0x205aec['capabilities']['isReasoningEnabled']||_0x5d9b25['isReasoningEnabled']}});this['_view']['chatFeed']['addItem']('interaction-header',{'id':_0x1a6373['id'],'capabilities':_0x5d9b25});});}async['addFeedItemCustomElement'](_0x2f8800,_0x13ace8){let _0x3401f4;return await this['_promiseQueue']['enqueue'](async()=>{_0x3401f4=this['_view']['chatFeed']['addItem']('custom-element',{'content':_0x2f8800,'id':_0x13ace8});}),_0x3401f4;}['removeFeedItem'](_0x7092de){this['_view']['chatFeed']['removeItem'](_0x7092de);}['hasFeedItem'](_0x11d915){return this['_view']['chatFeed']['hasItem'](_0x11d915);}['updateFeedInteractionHeader'](_0x4df841){const _0x62a36b=this['_view']['chatFeed']['children']['find'](_0x3fed48=>_0x3fed48['options']['id']==_0x4df841['id']&&_0x3fed48 instanceof CO);_0x62a36b&&_0x62a36b['set']('isVisible',_0x4df841['isVisible']);}async['updateFeedItemAIReplyContent'](_0x36c612){const _0x28ad11=_0x36c612['renderingStrategy']||this['feedItemRenderingStrategy'];return this['_promiseQueue']['enqueue'](async _0x38a04c=>{await this['_view']['chatFeed']['updateReplyItem']({..._0x36c612,'abortSignal':_0x38a04c,'renderingStrategy':_0x28ad11}),_0x36c612['isDone']&&this['markFeedItemAsDone'](_0x36c612['id']);});}['updateFeedItemAIReplySources'](_0x2a73fe,_0x4ca225){this['_view']['chatFeed']['updateWebSources'](_0x2a73fe,_0x4ca225);}async['updateFeedItemAIReplySuggestionContent'](_0x10e62a){return this['_promiseQueue']['enqueue'](async _0xad2c9d=>{await this['_view']['chatFeed']['updateSuggestionItem']({..._0x10e62a,'abortSignal':_0xad2c9d}),_0x10e62a['isDone']&&this['markFeedItemAsDone'](_0x10e62a['id']);});}['updateFeedItemAIReplySuggestionPartState'](_0x22d897){this['_view']['chatFeed']['updateSuggestionPartState'](_0x22d897);}['setFeedItemAIReplySuggestionPartActive'](_0x163f15){this['_view']['chatFeed']['setSuggestionPartActive'](_0x163f15);}['markFeedItemAsDone'](_0x52f217){this['_view']['chatFeed']['markItemAsDone'](_0x52f217);}['removeFeedInteraction'](_0x39330d){this['_view']['chatFeed']['getItemIds']()['filter'](_0x51da72=>_0x51da72['startsWith'](_0x39330d))['forEach'](_0x54978a=>this['_view']['chatFeed']['removeItem'](_0x54978a));}['startInteraction'](){const _0x3962b2=this['prepareLoadingMessage']({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x1});this['setLoadingMessage'](_0x3962b2),this['_view']['chatControls']['disableModelSelector'](!this['context']['config']['get']('ai.models.showModelSelector')),this['isBusy']=!0x0,this['_view']['chatFeed']['startAutoScroll']();}['stopInteraction'](_0x2fb0b2){this['_promiseQueue']['abort'](),this['_view']['chatFeed']['getItemIds']()['filter'](_0x717933=>_0x717933['startsWith'](_0x2fb0b2['id']))['forEach'](_0xc25a89=>this['markFeedItemAsDone'](_0xc25a89)),this['isBusy']=!0x1,this['clearLoadingMessage'](),this['_view']['chatFeed']['stopAutoScroll']();}async['finishInteraction'](){return this['_promiseQueue']['queueEmptyPromise']['then'](()=>{this['isBusy']=!0x1,this['clearLoadingMessage'](),this['_view']['chatFeed']['stopAutoScroll']();});}['addContextItem'](_0x3d400b,_0x285eb1){this['_view']['chatControls']['addContextItem'](_0x3d400b,_0x285eb1);}['removeContextItem'](_0xa7e847){this['_view']['chatControls']['removeContextItem'](_0xa7e847);}['setContextItemLoading'](_0x1ae76a,_0x2d3dfc){this['_view']['chatControls']['setContextItemLoading'](_0x1ae76a,_0x2d3dfc);}['setIsUploadInProgress'](_0xcd64bc){this['_view']['chatControls']['setIsUploadInProgress'](_0xcd64bc);}['setConversationContext'](_0x46dae2){this['_view']['chatControls']['setConversationContext'](_0x46dae2);}['clearPendingContextUI'](){this['_view']['chatControls']['clearPendingContextUI']();}['clearConversationContextUI'](){this['_view']['chatControls']['clearConversationContextUI']();}['updateResourceState'](_0x19022a,_0x4ba3f5,_0x34732f){this['_view']['chatControls']['updateResourceState'](_0x19022a,_0x4ba3f5,_0x34732f);}['resetMessageInput'](){this['_view']['chatControls']['resetMessageInput'](),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder']());}['setAddContextOptions'](_0x2c28c0){this['_view']['chatControls']['setAddContextOptions'](_0x2c28c0);}['updateCapabilities'](_0x14ba56){this['_view']['chatControls']['setWebSearch'](_0x14ba56['isWebSearchEnabled']),this['_view']['chatControls']['setReasoning'](_0x14ba56['isReasoningEnabled']),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder'](_0x14ba56));}['setSelectedModel'](_0x1cd17e,_0x33a8ac){this['_view']['chatControls']['setModel'](_0x1cd17e),_0x33a8ac&&this['_view']['chatControls']['disableModelSelector'](!0x1);}['setFeedItemRenderingStrategy'](_0xa96dc7){this['feedItemRenderingStrategy']=_0xa96dc7;}['toggleLoadingSkeleton'](_0x4e58bc){this['_view']['chatFeed']['toggleLoadingSkeleton'](_0x4e58bc);}['resetConversationTitle'](){this['setConversationTitle'](ia(this['context']['locale'],'AI_CHAT_HEADING'));}['emptyConversationTitle'](){this['setConversationTitle']('');}['setConversationTitle'](_0xae94bf,_0x8cd2d5=!0x1){if(clearInterval(this['_titleAnimationInterval']),_0x8cd2d5&&!_0x190873()&&_0xae94bf['length'])return this['_view']['chatHeader']['label']='',void this['_animateConversationTitle'](_0xae94bf);this['_view']['chatHeader']['label']=_0xae94bf;}['setLoadingMessage'](_0x21d68e){this['_view']['chatFeed']['setLoadingMessage'](_0x21d68e);}['clearLoadingMessage'](){this['_view']['chatFeed']['setLoadingMessage']('');}['_animateConversationTitle'](_0x489f89){let _0x404f87=0x0;this['_titleAnimationInterval']=setInterval(()=>{this['_view']['chatHeader']['label']=this['_view']['chatHeader']['label']+_0x489f89[_0x404f87],_0x404f87++,_0x404f87===_0x489f89['length']&&clearInterval(this['_titleAnimationInterval']);},0x1e);}['prepareLoadingMessage'](_0x5a9a7d){return _0x5a9a7d['isWebSearchEnabled']&&_0x5a9a7d['isReasoningEnabled']?ia(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING'):_0x5a9a7d['isWebSearchEnabled']?ia(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH'):_0x5a9a7d['isReasoningEnabled']?ia(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_REASONING'):ia(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_REGULAR');}['_getInputPlaceholder'](_0x120a98){return _0x120a98?_0x120a98['isWebSearchEnabled']&&_0x120a98['isReasoningEnabled']?ia(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING'):_0x120a98['isWebSearchEnabled']?ia(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH'):_0x120a98['isReasoningEnabled']?ia(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING'):ia(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR'):ia(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR');}['populateSourceResourceBalloon'](_0x4245d5,_0x5754a7,_0x461341,_0x3d2451){this['_view']['populateSourceResourceBalloon'](_0x4245d5,_0x5754a7,_0x461341,_0x3d2451);}['closeSourceResourceBalloon'](_0x174fcd){this['_view']['closeSourceResourceBalloon'](_0x174fcd);}['setPromptInputValue'](_0x3ae1e7){this['_view']['chatControls']['setPromptInputValue'](_0x3ae1e7);}['focusPromptInput'](_0x1e87a6=!0x1){this['_view']['chatControls']['focusPromptInput'](_0x1e87a6);}['scrollFeedToSuggestion'](_0x3f65ef,_0xbd5796){this['_view']['chatFeed']['scrollToSuggestion'](_0x3f65ef,_0xbd5796);}['startAutoScroll'](_0x57fb8c={}){this['_view']['chatFeed']['startAutoScroll'](_0x57fb8c);}['disableControls'](){this['_view']['chatControls']['isDisabled']=!0x0;}['enableControls'](){this['_view']['chatControls']['isDisabled']=!0x1;}},jw=class extends _0x344603{['sections'];constructor(_0x11eb21,_0x24f9d6){super(_0x11eb21),this['sections']=_0x24f9d6,this['items']['addMany'](this['sections']),this['extendTemplate']({'attributes':{'class':['ck-ai-chat-history__sections']}});}['filter'](_0x3dcc91){let _0x3b0986=0x0,_0x1abfa4=0x0;for(const _0x36fa60 of this['sections']){const {resultsCount:_0x5a5ef8,totalItemsCount:_0x49fbc2}=_0x36fa60['filter'](_0x3dcc91);_0x3b0986+=_0x5a5ef8,_0x1abfa4+=_0x49fbc2;}return{'resultsCount':_0x3b0986,'totalItemsCount':_0x1abfa4};}},Uw=class extends _0x1853ec{['title'];['itemsViews'];['_itemsListView'];constructor(_0xd52b45,{title:_0x32b395,items:_0x526185}){super(_0xd52b45);const _0x347bad=this['bindTemplate'];this['set']('isVisible',!0x0),this['title']=_0x32b395,this['itemsViews']=_0x526185;const _0x2f05ea=new _0x2df468(_0xd52b45);_0x2f05ea['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-history__section-title']},'children':[this['title']]}),this['_itemsListView']=new _0x344603(_0xd52b45),this['_itemsListView']['items']['addMany'](this['itemsViews']),this['setTemplate']({'tag':'li','attributes':{'class':['ck-ai-chat-history__section',_0x347bad['if']('isVisible','ck-hidden',_0x9cfcba=>!_0x9cfcba)]},'children':[_0x2f05ea,this['_itemsListView']]});}['filter'](_0x27e367){const _0x3b2a79=this['itemsViews']['length'];let _0x3f69c2=0x0;for(const _0x2e3176 of this['itemsViews'])_0x27e367?(_0x2e3176['isVisible']=!!_0x2e3176['isMatching'](_0x27e367),_0x2e3176['highlightText'](_0x27e367)):(_0x2e3176['isVisible']=!0x0,_0x2e3176['highlightText'](null)),_0x2e3176['isVisible']&&_0x3f69c2++;return this['isVisible']=_0x3f69c2>0x0,{'resultsCount':_0x3f69c2,'totalItemsCount':_0x3b2a79};}['getItem'](_0x661f2f){return this['itemsViews']['find'](_0x167032=>_0x167032['id']===_0x661f2f);}['removeItem'](_0x13df03){const _0x22b06c=this['itemsViews']['indexOf'](_0x13df03);-0x1!==_0x22b06c&&(this['itemsViews']['splice'](_0x22b06c,0x1),this['_itemsListView']['items']['remove'](_0x13df03));}};const Vw=/* #__PURE__ -- @preserve */
wd(_0x1853ec);var Bw=class AIChatHistoryListItemView extends Vw{['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(_0x1c008f,_0x5abc81){super(_0x1c008f);const _0x3db69d=this['bindTemplate'];this['set']('isEdit',!0x1),this['set']('isVisible',!0x0),this['set']('pinned',!!_0x5abc81['pinned']),this['set']('loadingState',null),this['set']('title',_0x5abc81['title']),this['id']=_0x5abc81['id'];const {createdAt:_0x200f97,active:_0x2e6c8c=!0x1}=_0x5abc81;this['_titleView']=new _0x3f1b1e(),this['_titleView']['bind']('text')['to'](this,'title'),this['_titleView']['extendTemplate']({'attributes':{'class':['ck-ai-chat-history__item-title']}});const _0x54de94=this['_createCheckView'](),_0x16d7a8=this['_createPinButtonView'](_0x1c008f),_0x9aa636=this['_createMenuDropdownView'](),_0x4838ad=this['_createEditInputView'](_0x1c008f),_0x35b6ef=this['_createAcceptEditButtonView'](_0x1c008f,_0x4838ad),_0xaac0a6=this['_createCancelEditButtonView'](_0x1c008f);this['actions']=this['createCollection'](),this['mainContent']=this['createCollection'](),this['mainContent']['add'](this['_titleView']),this['actions']['add'](_0x16d7a8),this['actions']['add'](_0x9aa636),this['on']('change:isEdit',(_0x441107,_0x33ef13,_0x3c064c)=>{this['actions']['clear'](),this['mainContent']['clear'](),_0x3c064c?(this['actions']['add'](_0x35b6ef),this['actions']['add'](_0xaac0a6),this['mainContent']['add'](_0x4838ad),_0x4838ad['element']['value']=this['title']||'',_0x4838ad['element']['focus']()):(this['actions']['add'](_0x16d7a8),this['actions']['add'](_0x9aa636),this['mainContent']['add'](this['_titleView']));}),this['setTemplate']({'tag':'li','attributes':{'class':['ck-ai-chat-history__item',_0x2e6c8c?'ck-ai-chat-history__item--active':'',_0x3db69d['if']('isVisible','ck-hidden',_0x3e7f65=>!_0x3e7f65),_0x3db69d['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',_0x3db69d['if']('loadingState','ck-hidden',_0x32626e=>!!_0x32626e)]},'children':_0x2e6c8c?[_0x54de94]:[]},{'tag':'div','attributes':{'class':['ck-ai-loader',_0x3db69d['if']('loadingState','ck-hidden',_0xa36727=>!_0xa36727)]},'children':[this['_createSpinnerView']()]}]},{'tag':'div','attributes':{'class':['ck-ai-chat-history__item-row']},'children':[{'tag':'div','attributes':{'class':['ck-ai-chat-history__item-content']},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai-chat-history__item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai-chat-history__item-title-container',_0x3db69d['if']('loadingState','ck-hidden',_0x252448=>!!_0x252448)]},'children':this['mainContent']},{'tag':'div','attributes':{'class':['ck-ai-loader__text',_0x3db69d['if']('loadingState','ck-hidden',_0x367869=>!_0x367869)]},'children':[{'text':_0x3db69d['to']('loadingState',_0x328eff=>_0x328eff?ia(this['locale'],AIChatHistoryListItemView['LOADING_LABELS'][_0x328eff]):'')}]}]},{'tag':'span','attributes':{'class':['ck-ai-chat-history__item-date']},'children':[_0x200f97]}]},{'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'](_0x5f01a6){this['set']('title',_0x5f01a6);}['updateLoadingState'](_0x8e22b3,_0x45af84){this['set']('loadingState',_0x45af84?_0x8e22b3:null);}['_createCheckView'](){const _0x12222b=new _0x5902c2();return _0x12222b['set']({'content':_0x25572e}),_0x12222b;}['_createPinButtonView'](_0x4694ff){const _0x281832=new _0x47ddb0(_0x4694ff);return _0x281832['set']({'label':ia(_0x4694ff,'AI_CHAT_HISTORY_PIN_BUTTON'),'icon':Ht,'withText':!0x1,'tooltip':!0x0}),_0x281832['bind']('isOn')['to'](this,'pinned'),_0x281832['on']('execute',()=>{const _0x3ab677=!this['pinned'];this['fire']('setConversationPinned',{'id':this['id'],'pinned':_0x3ab677});}),_0x281832;}['_createMenuDropdownView'](){const _0x4606b5=_0x18eee9(this['locale']),_0x5ccfc5=_0x4606b5['panelView']['children'];_0x4606b5['buttonView']['set']({'label':ia(this['locale'],'AI_CHAT_HISTORY_SHOW_MORE_ITEMS'),'icon':_0x20275d}),_0x4606b5['panelPosition']='sw';const _0x34ca4e=new _0x47ddb0(this['locale']);_0x34ca4e['label']=ia(this['locale'],'AI_CHAT_HISTORY_EDIT_NAME'),_0x34ca4e['withText']=!0x0,_0x34ca4e['on']('execute',()=>{this['isEdit']=!0x0;});const _0x21e05d=new _0x47ddb0(this['locale']);_0x21e05d['label']=ia(this['locale'],'AI_CHAT_HISTORY_REMOVE'),_0x21e05d['withText']=!0x0,_0x21e05d['on']('execute',()=>{this['showConfirm'](ia(this['locale'],'AI_CHAT_HISTORY_REMOVE_CONFIRM'),this['element'])['then'](()=>{this['fire']('removeConversation',{'id':this['id']});});});const _0x1a7468=new _0x344603(this['locale']),_0x31eda5=new _0x1853ec(this['locale']);_0x31eda5['children']['add'](_0x34ca4e);const _0x850247=new _0x1853ec(this['locale']);return _0x850247['children']['add'](_0x21e05d),_0x1a7468['items']['addMany']([_0x31eda5,_0x850247]),_0x5ccfc5['add'](_0x1a7468),_0x4606b5;}['_createEditInputView'](_0x581921){const _0x2e62d8=new _0x14606d(_0x581921),_0x2e03fe=_0x2e62d8['bindTemplate'];return _0x2e62d8['extendTemplate']({'on':{'keydown':_0x2e03fe['to'](_0x2f3566=>{'Enter'==_0x2f3566['key']&&this['_commitEditInputValue'](_0x2e62d8);})}}),_0x2e62d8;}['_createAcceptEditButtonView'](_0xacd173,_0x19285b){const _0x1b81eb=new _0x47ddb0(_0xacd173);return _0x1b81eb['set']({'icon':_0x25572e,'withText':!0x1,'tooltip':ia(_0xacd173,'AI_CHAT_HISTORY_ACCEPT')}),_0x1b81eb['extendTemplate']({'attributes':{'class':['ck-confirm-view-submit']}}),_0x1b81eb['on']('execute',()=>{this['_commitEditInputValue'](_0x19285b);}),_0x1b81eb;}['_commitEditInputValue'](_0x56664e){const _0x15e522=_0x56664e['element']['value']||'';this['isEdit']=!0x1,this['fire']('editConversationTitle',{'id':this['id'],'title':_0x15e522});}['_createCancelEditButtonView'](_0x543743){const _0x46eddb=new _0x47ddb0(_0x543743);return _0x46eddb['set']({'icon':_0x3f4fa1,'withText':!0x1,'tooltip':ia(_0x543743,'AI_CHAT_HISTORY_CANCEL')}),_0x46eddb['extendTemplate']({'attributes':{'class':['ck-confirm-view-cancel']}}),_0x46eddb['on']('execute',()=>{this['isEdit']=!0x1,this['fire']('edit:cancel');}),_0x46eddb;}['_createSpinnerView'](){const _0x4edd3c=new cO('tiny');return _0x4edd3c['isVisible']=!0x0,_0x4edd3c;}['isMatching'](_0x353dcb){return'string'==typeof this['title']&&this['title']['match'](_0x353dcb)?{'title':!0x0}:null;}['highlightText'](_0x389420){this['_titleView']['highlightText'](_0x389420);}},Fw=class extends _0x2df468{['headerView'];['searchView'];['mainErrorView'];['skeletonView'];['emptyView'];['sectionsView'];constructor(_0x926dc,_0x54cb7c){super(_0x926dc),this['set']('hasItems',!0x1),this['set']('isLoading',!0x0),this['set']('errorMessage',''),this['set']('isSearchViewVisible',!0x1),this['set']('isEmptyViewVisible',!0x1),this['set']('isMainErrorViewVisible',!0x1);const _0x4535be=$w(_0x926dc,this);this['headerView']=new Nw(_0x926dc,{'label':ia(_0x926dc,'AI_CHAT_HISTORY_HEADING'),'icon':_0x531491,'class':'ck-ai-header_history','content':_0x4535be,'showResizeButton':_0x54cb7c}),this['headerView']['delegate']('resizeTabs')['to'](this),this['sectionsView']=new jw(_0x926dc,[]),this['sectionsView']['delegate'](...Hw)['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',_0x444e73=>!_0x444e73)]}}),this['on']('change:isLoading',()=>this['_updateViewVisibility']()),this['on']('change:hasItems',()=>this['_updateViewVisibility']()),this['on']('change:errorMessage',()=>this['_updateViewVisibility']()),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-chat-history','ck-rounded-corners'],'dir':'ltr'},'children':[this['headerView'],{'tag':'div','attributes':{'class':['ck-ai-chat-history__content']},'children':[this['skeletonView'],this['mainErrorView'],this['emptyView'],this['searchView']]}]});}['_updateViewVisibility'](){this['isSearchViewVisible']=!this['isLoading']&&this['hasItems'],this['isEmptyViewVisible']=!this['isLoading']&&!this['hasItems']&&!this['errorMessage'],this['isMainErrorViewVisible']=!this['isSearchViewVisible']&&!!this['errorMessage'];}['_createSearchView'](){const _0x30aa4b=new _0x2c9de8(this['locale'],{'filteredView':this['sectionsView'],'queryView':{'label':ia(this['locale'],'AI_CHAT_HISTORY_SEARCH_LABEL')},'infoView':{'text':{'notFound':{'primary':_0x372f97=>ia(this['locale'],'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY',_0x372f97),'secondary':ia(this['locale'],'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY')}}}}),_0x5eea03=this['_createErrorView']();return _0x5eea03['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('errorMessage','ck-hidden',_0x1a7ee4=>!_0x1a7ee4)]}}),_0x30aa4b['on']('render',()=>{_0x30aa4b['children']['add'](_0x5eea03,0x1);}),_0x30aa4b['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isSearchViewVisible','ck-hidden',_0x5552a8=>!_0x5552a8)]}}),_0x30aa4b;}['_createSkeletonView'](){const _0x288819=new qg(this['locale'],Wg['aiHistory']);return _0x288819['bind']('isVisible')['to'](this,'isLoading'),_0x288819;}['_createErrorView'](){const _0x437830=new _0x2df468(this['locale']),_0x5aba89=new _0x47ddb0(this['locale']);_0x5aba89['set']({'withText':!0x1,'icon':_0x3f4fa1,'class':'ck-ai-notification_error__dismiss-button'}),_0x5aba89['bind']('isVisible')['to'](this,'hasItems',_0x5c630a=>!!_0x5c630a),_0x5aba89['on']('execute',()=>{this['errorMessage']='';});const _0x4ee541=this['bindTemplate'];return _0x437830['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error']},'children':[{'tag':'p','children':[{'text':_0x4ee541['to']('errorMessage')}]},_0x5aba89]}),_0x437830;}['_createEmptyStateView'](){const _0x578d92=new _0x2df468(this['locale']);return _0x578d92['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-history__empty',this['bindTemplate']['if']('isEmptyViewVisible','ck-hidden',_0x59debd=>!_0x59debd)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-history__empty-message']},'children':[ia(this['locale'],'AI_CHAT_HISTORY_EMPTY_MESSAGE')]}]}),_0x578d92;}['_createListItemViews'](_0x5f35de,_0x25ada9){const _0x33bb52=[];for(const _0x35a1e0 of _0x5f35de){const _0x41e1c4=new Bw(_0x25ada9,_0x35a1e0);_0x41e1c4['delegate'](...Hw)['to'](this),_0x33bb52['push'](_0x41e1c4);}return _0x33bb52;}['updateHistoryItemsWithCategories'](_0x28f539){const _0x28cb60=this['locale']||'en',_0xe1a4bd=[];for(const _0x4f67e1 of _0x28f539){const _0x369be2=this['_createListItemViews'](_0x4f67e1['items'],_0x28cb60);_0xe1a4bd['push'](new Uw(_0x28cb60,{'title':_0x4f67e1['title'],'items':_0x369be2}));}this['sectionsView']['sections']=_0xe1a4bd,this['sectionsView']['items']['clear'](),this['sectionsView']['items']['addMany'](_0xe1a4bd),this['hasItems']=_0x28f539['some'](_0x5f251d=>_0x5f251d['items']['length']>0x0),this['_refreshSearch']();}['removeHistoryItem'](_0x42fccf){for(const _0x2be3a3 of this['sectionsView']['sections']){const _0x220da1=_0x2be3a3['getItem'](_0x42fccf);if(_0x220da1){if(_0x2be3a3['removeItem'](_0x220da1),0x0===_0x2be3a3['itemsViews']['length']){const _0x58b859=this['sectionsView']['sections']['indexOf'](_0x2be3a3);-0x1!==_0x58b859&&(this['sectionsView']['sections']['splice'](_0x58b859,0x1),this['sectionsView']['items']['remove'](_0x2be3a3));}this['hasItems']=this['sectionsView']['sections']['length']>0x0,this['_refreshSearch']();break;}}}['updateItemTitle'](_0x59e002,_0x355f31){for(const _0x465303 of this['sectionsView']['sections']){const _0x25d337=_0x465303['getItem'](_0x59e002);if(_0x25d337){_0x25d337['updateTitle'](_0x355f31);break;}}}['updateItemLoadingState'](_0x38fa57,_0x3bbf5f,_0x338312){for(const _0x1e6b67 of this['sectionsView']['sections']){const _0x1d8a66=_0x1e6b67['getItem'](_0x38fa57);if(_0x1d8a66){_0x1d8a66['updateLoadingState'](_0x3bbf5f,_0x338312);break;}}}['_refreshSearch'](){if(this['hasItems']){const _0x3573f0=this['searchView']['queryView']['fieldView']?.['element']?.['value']||'';this['searchView']['search'](_0x3573f0);}}};const Hw=['showConversationHistory','removeConversation','editConversationTitle','setConversationPinned','selectConversation','startConversation'];var Zw=class extends _0x2de7b2{static get['requires'](){return[Yo];}['_historyView'];static get['pluginName'](){return'AIChatHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3fc503){super(_0x3fc503);const _0x24aa07=this['context']['plugins']['get']('AITabs');this['_historyView']=new Fw(this['context']['locale'],_0x24aa07['showResizeButton']),this['_historyView']['delegate']('resizeTabs')['to'](_0x24aa07),this['_historyView']['delegate'](...Hw)['to'](this),this['_historyView']['headerView']['bind']('isMaximized')['to'](_0x24aa07['view'],'isMaximized',_0x1eb3bd=>_0x1eb3bd),_0x24aa07['view']['addTab']({'id':'history','buttonLabel':ia(this['context']['locale'],'AI_CHAT_HISTORY_HEADING'),'buttonIcon':_0x531491,'order':0x0,'content':this['_historyView']});}['removeHistoryItem'](_0xeb9bb0){this['_historyView']['removeHistoryItem'](_0xeb9bb0);}['updateItems'](_0x5d5626){this['_historyView']['updateHistoryItemsWithCategories'](_0x5d5626);}['updateItemTitle'](_0x2f089c,_0x33fc6d){this['_historyView']['updateItemTitle'](_0x2f089c,_0x33fc6d);}['updateItemLoadingState'](_0x568329,_0x1da989,_0x2aa7f0){this['_historyView']['updateItemLoadingState'](_0x568329,_0x1da989,_0x2aa7f0);}['setLoadingSkeleton'](_0x1aaef1){this['_historyView']['isLoading']=_0x1aaef1;}['showError'](_0x452988){this['_historyView']['errorMessage']=_0x452988;}['hideError'](){this['_historyView']['errorMessage']='';}};const Gw=/* #__PURE__ -- @preserve */
_0x5b14e3();var Xw=class extends Gw{['id'];['createdAt'];constructor({id:_0x54ee53,title:_0x28e189,createdAt:_0x1a17b4,updatedAt:_0x11a0af,pinned:_0x51a2e8}){super(),this['id']=_0x54ee53,this['createdAt']=new Date(_0x1a17b4),this['set']('title',_0x28e189),this['set']('updatedAt',_0x11a0af?new Date(_0x11a0af):null),this['set']('pinned',_0x51a2e8||!0x1);}['updateTitle'](_0x403e27){this['set']('title',_0x403e27),this['updatedAt']=new Date();}['updatePinned'](_0x12eb76){this['set']('pinned',_0x12eb76),this['updatedAt']=new Date();}};const qw=/* #__PURE__ -- @preserve */
_0x3cd689();var Ww=class extends qw{['items']=[];['connector'];['group'];constructor({connector:_0x305534,group:_0x2fad18}){super(),this['connector']=_0x305534,this['group']=_0x2fad18;}async['init'](){try{const _0x49f08f=await this['connector']['fetchConversations'](this['group'])['getConversations']();this['loadItems'](_0x49f08f);}catch(_0x102747){this['fire']('error',{'error':_0x102747,'operation':'init'});}}['addItem'](_0x412a1a){this['items']['push'](_0x412a1a);}async['removeItem'](_0x309b36){const _0x525266=this['items']['findIndex'](_0x6a8ac4=>_0x6a8ac4['id']===_0x309b36);if(-0x1===_0x525266)return!0x1;try{return await this['connector']['deleteConversation'](_0x309b36)['execute'](),this['items']['splice'](_0x525266,0x1),this['fire']('itemRemoved',{'itemId':_0x309b36}),!0x0;}catch(_0x3a756f){return this['fire']('error',{'error':_0x3a756f,'operation':'removeItem','itemId':_0x309b36}),!0x1;}}['getItem'](_0x3c79c3){return this['items']['find'](_0x1f144e=>_0x1f144e['id']===_0x3c79c3);}async['updateItemTitle'](_0x4609fe,_0x4c160d){const _0x43780b=this['getItem'](_0x4609fe);if(!_0x43780b)return!0x1;try{return await this['connector']['updateConversation'](_0x4609fe,{'title':_0x4c160d})['getResult'](),_0x43780b['updateTitle'](_0x4c160d),this['fire']('itemUpdated',{'itemId':_0x4609fe,'updates':{'title':_0x4c160d}}),!0x0;}catch(_0x5ad53c){return this['fire']('error',{'error':_0x5ad53c,'operation':'updateItemTitle','itemId':_0x4609fe}),!0x1;}}async['updateItemPinned'](_0x494c8b,_0x1a311a){const _0x1fc049=this['getItem'](_0x494c8b);if(!_0x1fc049)return!0x1;try{return await this['connector']['updateConversation'](_0x494c8b,{'pinned':_0x1a311a})['getResult'](),_0x1fc049['updatePinned'](_0x1a311a),this['fire']('itemUpdated',{'itemId':_0x494c8b,'updates':{'pinned':_0x1a311a}}),!0x0;}catch(_0x155b6a){return this['fire']('error',{'error':_0x155b6a,'operation':'updateItemPinned','itemId':_0x494c8b}),!0x1;}}['loadItems'](_0x4de158){try{this['items']=[],_0x4de158['map'](_0xf1a939=>{this['addItem'](new Xw(_0xf1a939));}),this['fire']('itemsLoaded',{'items':[...this['items']]});}catch(_0x284109){this['fire']('error',{'error':_0x284109,'operation':'loadItems'});}}['getItems'](_0x54362c={}){const _0x36a54c=void 0x0!==_0x54362c['pinned']&&_0x54362c['pinned'],_0x2762f3=_0x54362c['from']?new Date(_0x54362c['from']['getFullYear'](),_0x54362c['from']['getMonth'](),_0x54362c['from']['getDate']()):null,_0x3ce50d=_0x54362c['to']?new Date(_0x54362c['to']['getFullYear'](),_0x54362c['to']['getMonth'](),_0x54362c['to']['getDate']()):null;return this['items']['filter'](_0x5a593a=>{if(_0x5a593a['pinned']!==_0x36a54c)return!0x1;if(_0x3ce50d){const _0x500961=new Date(_0x5a593a['createdAt']['getFullYear'](),_0x5a593a['createdAt']['getMonth'](),_0x5a593a['createdAt']['getDate']());return _0x2762f3?_0x2762f3['getTime']()===_0x3ce50d['getTime']()?_0x500961['getTime']()===_0x2762f3['getTime']():_0x500961<_0x3ce50d&&_0x500961>=_0x2762f3:_0x500961<_0x3ce50d;}return!0x0;});}},zw=class extends _0x2de7b2{['_aiConnector'];['_reporter'];['_aiChatHistoryUi'];['_aiChatController'];static get['requires'](){return[ea,Gp,Og,Zw,Yo];}static get['pluginName'](){return'AIChatHistoryController';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_aiConnector']=this['context']['plugins']['get'](ea),this['_aiChatHistoryUi']=this['context']['plugins']['get'](Zw),this['_aiChatController']=this['context']['plugins']['get'](Og),this['_reporter']=this['context']['plugins']['get'](Gp)['createReporter']('aichathistory');const _0x225717=this['context']['plugins']['get'](Yo);try{const _0x561b8d=this['_aiChatController']['getGroupId']();this['history']=new Ww({'connector':this['_aiConnector'],'group':_0x561b8d}),this['listenTo'](this['_aiChatHistoryUi'],'removeConversation',(_0x499624,_0x280add)=>{this['_setItemLoading'](_0x280add['id'],'remove'),this['_handleRemove'](_0x280add['id']);}),this['listenTo'](this['_aiChatHistoryUi'],'editConversationTitle',(_0x5996a6,_0x12574f)=>{this['_setItemLoading'](_0x12574f['id'],'rename'),this['_handleEditTitle'](_0x12574f['id'],_0x12574f['title']);}),this['listenTo'](this['history'],'itemUpdated',(_0x5c2906,_0x1b8e2c)=>{void 0x0!==_0x1b8e2c['updates']['title']&&this['_aiChatHistoryUi']['updateItemTitle'](_0x1b8e2c['itemId'],_0x1b8e2c['updates']['title']),void 0x0!==_0x1b8e2c['updates']['pinned']&&this['_updateHistoryItemsUI'](),this['_clearItemLoading'](_0x1b8e2c['itemId']);}),this['listenTo'](this['history'],'itemRemoved',(_0xd84c15,_0x4e3c9f)=>{this['_aiChatController']['_handleRemovedConversation'](_0x4e3c9f['itemId']),this['_aiChatHistoryUi']['removeHistoryItem'](_0x4e3c9f['itemId']),this['_clearItemLoading'](_0x4e3c9f['itemId']);}),this['listenTo'](this['history'],'itemsLoaded',()=>{this['_updateHistoryItemsUI']();}),this['listenTo'](this['history'],'error',(_0x53c190,_0x57d754)=>{this['_handleHistoryErrorUI'](_0x57d754['error'],_0x57d754['operation'],_0x57d754['itemId']);}),this['listenTo'](this['_aiChatHistoryUi'],'selectConversation',(_0x1d8c7d,_0x4ed029)=>{this['_handleSelectConversation'](_0x4ed029['id']);}),this['listenTo'](this['_aiChatHistoryUi'],'setConversationPinned',(_0x39b6b4,_0x2e1fdc)=>{const _0x4a639e=_0x2e1fdc['pinned']?'pin':'unpin';this['_setItemLoading'](_0x2e1fdc['id'],_0x4a639e),this['_handleTogglePin'](_0x2e1fdc['id'],_0x2e1fdc['pinned']);}),this['listenTo'](this['_aiChatHistoryUi'],'startConversation',()=>{this['_aiChatController']['startConversation'](),_0x225717['view']['activateTab']('chat');}),this['listenTo'](this['_aiChatController'],'change:activeConversation',()=>{this['_updateHistoryItemsUI']();}),_0x225717['view']['on']('activateTab:history',()=>{this['_showConversationHistory']();});}catch(_0x3afa2e){this['_handleHistoryErrorUI'](_0x3afa2e,'init');}}async['_handleEditTitle'](_0x20a5f3,_0x39baad){await this['history']['updateItemTitle'](_0x20a5f3,_0x39baad);}async['_handleTogglePin'](_0x4457ed,_0x36b056){await this['history']['updateItemPinned'](_0x4457ed,_0x36b056);}async['_handleRemove'](_0x46e807){await this['history']['removeItem'](_0x46e807);}async['_handleSelectConversation'](_0x3ecfd4){await this['_aiChatController']['loadConversation'](_0x3ecfd4);}async['_showConversationHistory'](){this['_aiChatHistoryUi']['showError'](''),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x0),await this['history']['init'](),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x1);}['_updateHistoryItemsUI'](){const _0x3409cc=this['_aiChatController']['activeConversation']?.['id'],_0x3382b3=this['_getCategorizedItems']()['map'](_0x3588a7=>({'title':_0x3588a7['title'],'items':_0x3588a7['items']['map'](_0x2e31ac=>({'id':_0x2e31ac['id'],'title':_0x2e31ac['title']||ia(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION'),'createdAt':new Date(_0x2e31ac['createdAt'])['toLocaleDateString'](),'active':_0x2e31ac['id']===_0x3409cc,'pinned':_0x2e31ac['pinned']}))}));this['_aiChatHistoryUi']['updateItems'](_0x3382b3);}['_setItemLoading'](_0x345fd0,_0x4b26c3){this['_aiChatHistoryUi']['updateItemLoadingState'](_0x345fd0,_0x4b26c3,!0x0);}['_clearItemLoading'](_0x3ec29a){this['_aiChatHistoryUi']['updateItemLoadingState'](_0x3ec29a,null,!0x1);}['_handleHistoryErrorUI'](_0x44e1da,_0x30859c,_0x2e201c){const _0x3ef96a=this['_generateErrorMessage'](_0x30859c,_0x2e201c);this['_aiChatHistoryUi']['showError'](_0x3ef96a),this['_reporter']['reportError'](_0x44e1da,{'context':{'operation':_0x30859c}}),_0x2e201c&&this['_clearItemLoading'](_0x2e201c),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x1);}['_generateErrorMessage'](_0x575b32,_0x11c910){const _0x1a0b08=_0x11c910?this['history']['getItem'](_0x11c910):null,_0x46db81=_0x1a0b08?.['title']||ia(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION');switch(_0x575b32){case'updateItemTitle':return ia(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_UPDATE_TITLE',_0x46db81);case'updateItemPinned':{const _0xf326e6=ia(this['context']['locale'],_0x1a0b08?.['pinned']?'AI_CHAT_HISTORY_UNPIN_ACTION':'AI_CHAT_HISTORY_PIN_ACTION');return ia(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_UPDATE_PINNED',[_0xf326e6,_0x46db81]);}case'removeItem':return ia(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_REMOVE_ITEM',_0x46db81);case'init':case'loadItems':return ia(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_LOAD_ITEMS');default:return ia(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_GENERIC');}}['_getCategorizedItems'](){const _0xfe935b=new Date(),_0x4611c6=new Date(_0xfe935b['getFullYear'](),_0xfe935b['getMonth'](),_0xfe935b['getDate']()),_0x2d337e=new Date(_0x4611c6);_0x2d337e['setDate'](_0x2d337e['getDate']()-0x1);const _0x530ecc=new Date(_0x4611c6);_0x530ecc['setDate'](_0x530ecc['getDate']()-0xe);const _0x2729b1=this['history']['getItems']({'pinned':!0x0}),_0x948f75=this['history']['getItems']({'from':_0x4611c6,'to':_0x4611c6}),_0x3bc555=this['history']['getItems']({'from':_0x2d337e,'to':_0x2d337e}),_0x40be96=this['history']['getItems']({'from':_0x530ecc,'to':_0x2d337e}),_0x3fdf1d=this['history']['getItems']({'to':_0x530ecc}),_0x1a65af=[];return _0x2729b1['length']>0x0&&_0x1a65af['push']({'title':ia(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_PINNED'),'items':_0x2729b1}),_0x948f75['length']>0x0&&_0x1a65af['push']({'title':ia(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_TODAY'),'items':_0x948f75}),_0x3bc555['length']>0x0&&_0x1a65af['push']({'title':ia(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_YESTERDAY'),'items':_0x3bc555}),_0x40be96['length']>0x0&&_0x1a65af['push']({'title':ia(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS'),'items':_0x40be96}),_0x3fdf1d['length']>0x0&&_0x1a65af['push']({'title':ia(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_LATER'),'items':_0x3fdf1d}),_0x1a65af;}},Yw=class extends _0x2de7b2{static get['requires'](){return[zw,Zw];}static get['pluginName'](){return'AIChatHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}},Kw=class extends _0x2de7b2{static get['requires'](){return[Og,aa,Qw,Yw,Fp];}static get['pluginName'](){return'AIChat';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x55c91c){super(_0x55c91c),this['context']['config']['define']('ai.chat.context',{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[],'alwaysAddSelection':!0x1,'paste':{'textThreshold':0x5dc}}),this['context']['config']['define']('ai.chat.initialConversation','new');}},Jw=class extends _0x47ddb0{['id'];constructor(_0x564e0a,_0x5ad87b){super(_0x564e0a);const {id:_0x5cf498,type:_0xbe7886,icon:_0x547c8b}=_0x5ad87b;this['id']=_0x5cf498,this['set']({'label':_0x5ad87b['label'],'withText':!0x0,'class':'ck-ai-chat-shortcut'}),this['extendTemplate']({'attributes':{'data-cke-ai-shortcut-id':_0x5ad87b['id']}}),_0x547c8b?this['icon']=_0x547c8b:'chat'===_0xbe7886?this['icon']=_0x21befc:'review'===_0xbe7886?this['icon']=_0x43799c:'translate'===_0xbe7886&&(this['icon']=_0x9a63c0);}},tb=class extends _0x2df468{['listView'];constructor(_0x1a4cad,_0x5c6b40){super(_0x1a4cad),this['set']('isEnabled',!0x0);const _0x2c8c06=_0x5c6b40['map'](_0x178597=>{const _0x4ef6f8=new _0x1853ec(this['locale']),_0x403e8c=new Jw(this['locale'],_0x178597);return _0x403e8c['bind']('isEnabled')['to'](this),_0x4ef6f8['children']['add'](_0x403e8c),_0x403e8c['delegate']('execute')['to'](this),_0x4ef6f8;});this['listView']=new _0x344603(this['locale']),this['listView']['items']['addMany'](_0x2c8c06),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-shortcuts']},'children':[this['listView']]});}};const eb='chat-shortcuts';var ib=class extends _0x2de7b2{['_shortcuts'];['_shortcutsView'];['_aiChatUI'];['_listenedConversation'];static get['requires'](){return[Qw];}static get['pluginName'](){return'AIChatShortcuts';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_aiChatUI']=this['context']['plugins']['get'](Qw),this['_shortcuts']=this['context']['config']['get']('ai.chat.shortcuts')??[];const _0x2433d7=this['context']['plugins']['get']('AIChatController');this['_shortcuts']['length']&&(this['_validateShortcuts'](),this['_aiChatUI']['on']('conversationCreated',()=>{const _0x3160fa=_0x2433d7['activeConversation'];_0x3160fa['isFromHistory']||this['_injectShortcuts'](_0x3160fa);}),this['listenTo'](_0x2433d7,'interactionStarted',()=>{this['_removeShortcuts']();}));}['_validateShortcuts'](){const _0x2fe5a1=['chat','review','translate'];this['_shortcuts']['forEach'](_0x4a8e3a=>{let _0x1ac4d0=!0x0;if(_0x4a8e3a['id']&&_0x4a8e3a['label']&&_0x2fe5a1['includes'](_0x4a8e3a['type'])?'chat'===_0x4a8e3a['type']&&(_0x1ac4d0='string'==typeof _0x4a8e3a['prompt']):_0x1ac4d0=!0x1,!_0x1ac4d0)throw new _0x5b5a95('ai-chat-shortcuts-invalid-config',this['context'],{'shortcut':_0x4a8e3a});});}['_injectShortcuts'](_0x3b2ac9){this['_removeShortcuts'](),this['_shortcutsView']=new tb(this['context']['locale'],this['_shortcuts']),this['_shortcutsView']['render'](),this['_aiChatUI']['addFeedItemCustomElement'](this['_shortcutsView']['element'],eb),this['_shortcutsView']['on']('execute',_0x401827=>{const _0x4fc1b9=_0x401827['source']['id'];this['_executeShortcut'](_0x4fc1b9);}),this['_listenedConversation']=_0x3b2ac9,this['listenTo'](_0x3b2ac9,'uploadProgressChanged',(_0x32c66e,_0x168147)=>{this['_shortcutsView']['isEnabled']=!_0x168147['isUploadInProgress'];});}['_removeShortcuts'](){const _0x183413=this['context']['plugins']['get'](Qw);_0x183413['hasFeedItem'](eb)&&_0x183413['removeFeedItem'](eb),this['_listenedConversation']&&(this['stopListening'](this['_listenedConversation'],'uploadProgressChanged'),this['_listenedConversation']=void 0x0),this['_shortcutsView']?.['destroy']();}['_executeShortcut'](_0x237d68){const _0x5bb038=this['_shortcuts']['find'](_0x5122b9=>_0x5122b9['id']===_0x237d68),_0x50a731=_0x5bb038['type'];'chat'===_0x50a731?this['_runChatShortcut'](_0x5bb038):'review'===_0x50a731?_0x5bb038['commandId']?this['_runReviewShortcut'](_0x5bb038):this['_switchTab']('reviewMode'):'translate'===_0x50a731&&(_0x5bb038['language']?this['_runTranslateShortcut'](_0x5bb038):this['_switchTab']('translate'));}['_switchTab'](_0x5f4185){if(!this['context']['plugins']['has']('AITabs'))throw new _0x5b5a95('ai-chat-shortcuts-ai-tabs-not-found',this['context'],{'tabName':_0x5f4185});this['context']['plugins']['get']('AITabs')['view']['activateTab'](_0x5f4185);}async['_runChatShortcut']({prompt:_0x335571,draftMode:_0x2f13eb,useWebSearch:_0x4e2f77=!0x1,useReasoning:_0x5c2f92=!0x1,model:_0x2f2c95}){const _0x5a33ee=this['context']['plugins']['get']('AIChatController'),_0x17ef0d=_0x5a33ee['activeConversation'];let _0x4dfa50;_0x4dfa50=_0x2f2c95?await _0x17ef0d['chatModels']['getModel'](_0x2f2c95):await _0x17ef0d['chatModels']['getDefault'](),_0x4dfa50&&await _0x17ef0d['setModel'](_0x4dfa50),_0x17ef0d['setWebSearch'](_0x4e2f77),_0x17ef0d['setReasoning'](_0x5c2f92),_0x5a33ee['addCurrentDocumentToChatContext'](),_0x2f13eb?(this['_aiChatUI']['setPromptInputValue'](_0x335571),this['_aiChatUI']['focusPromptInput'](!0x0)):_0x5a33ee['sendMessage']({'message':_0x335571});}['_runReviewShortcut']({commandId:_0xf340ef,model:_0x4e7f75,prompt:_0x45c029,params:_0x1a0c6e}){if(!this['context']['plugins']['has']('AIReviewModeUI'))throw new _0x5b5a95('ai-chat-shortcuts-review-mode-not-found',this['context']);this['_switchTab']('reviewMode');const _0x32c483={'id':_0xf340ef,'isCustom':'custom'===_0xf340ef};_0x4e7f75&&_0x45c029&&(_0x32c483['args']={'model':_0x4e7f75,'prompt':_0x45c029}),_0x1a0c6e&&(_0x32c483['params']=_0x1a0c6e),this['context']['plugins']['get']('AIReviewModeUI')['fire']('runReviewCheck',_0x32c483);}['_runTranslateShortcut']({language:_0x1b1ee9}){if(!this['context']['plugins']['has']('AITranslateUI'))throw new _0x5b5a95('ai-chat-shortcuts-translate-not-found',this['context']);this['_switchTab']('translate'),this['context']['plugins']['get']('AITranslateUI')['fire']('runReviewCheck',{'id':_0x1b1ee9,'args':{'language':_0x1b1ee9}});}},sb=class extends _0x32be70{constructor(_0x18caf8){super(_0x18caf8);const _0x9e9ba=_0x18caf8['plugins']['get']('AITabs')['view'];this['bind']('value')['to'](_0x9e9ba,'isVisible'),this['isEnabled']=!0x0;}['execute'](){const _0x48e777=this['editor']['plugins']['get']('AITabs')['view'];_0x48e777['isVisible']=!_0x48e777['isVisible'];}},nb=class extends _0x36b920{static get['requires'](){return[Yo];}static get['pluginName'](){return'AIToggleButtonUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x20f1b0=this['editor'];_0x20f1b0['commands']['add']('toggleAi',new sb(_0x20f1b0)),_0x20f1b0['ui']['componentFactory']['add']('toggleAi',()=>{const _0xc034b2=this['_createAIUIButton'](_0x47ddb0);return _0xc034b2['set']({'tooltip':!0x0,'class':'ck-ai-toggle-button'}),_0xc034b2;}),_0x20f1b0['ui']['componentFactory']['add']('menuBar:toggleAi',()=>{const _0x26d82d=this['_createAIUIButton'](_0x3dd6ab);return _0x26d82d['set']({'role':'menuitemcheckbox'}),_0x26d82d;});}['_createAIUIButton'](_0x49b62d){const _0xdcddc7=this['editor'],_0x52942f=_0xdcddc7['commands']['get']('toggleAi'),_0x434305=new _0x49b62d(_0xdcddc7['locale']);return _0x434305['set']({'label':ia(_0xdcddc7['locale'],'AI_TOGGLE_BUTTON_LABEL'),'icon':_0x5056ad,'isToggleable':!0x0}),_0x434305['bind']('isEnabled')['to'](_0x52942f),_0x434305['bind']('isOn')['to'](_0x52942f,'value',_0x595b9b=>!!_0x595b9b),this['listenTo'](_0x434305,'execute',()=>{_0x52942f['execute']();}),_0x434305;}};const rb=['applySuggestion','insertSuggestion','showNext','showPrevious'];var ob=class extends _0x2df468{['_errorView'];constructor(_0x21d35c){super(_0x21d35c),this['set']('_errorMessage',''),this['set']('_isErrorVisible',!0x1);}['showBlockingError'](_0x8edc4a){this['showError'](_0x8edc4a);}['showError'](_0x36a6e4){this['_errorView']||(this['_errorView']=this['_createErrorView']()),this['_errorMessage']=_0x36a6e4,this['_isErrorVisible']=!0x0;}['hideError'](){this['_isErrorVisible']=!0x1;}['_createErrorView'](){const _0x2cd098=new _0x2df468(this['locale']),_0x4fdbb7=new _0x2df468(this['locale']);return _0x4fdbb7['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__error-text']},'children':[{'text':this['bindTemplate']['to']('_errorMessage')}]}),_0x2cd098['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__error','ck-ai-balloon-error',this['bindTemplate']['if']('_isErrorVisible','ck-hidden',_0x406d41=>!_0x406d41)]},'children':[_0x4fdbb7]}),_0x2cd098;}};const ab=0xa;var cb=class extends _0x2de7b2{static get['requires'](){return[aa];}static get['pluginName'](){return'AIBalloon';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['isOpen']=!0x1;['_currentConfig'];['_editor'];['_isUpdatingMarkers']=!0x1;['open'](_0x824932){const {id:_0x11bdfb}=this['_currentConfig']??{};this['_currentConfig']=_0x824932,this['_editor']=_0x824932['targetEditor'];const {id:_0x313775}=this['_currentConfig'];this['isOpen']&&_0x11bdfb===_0x313775?this['_updateDialog']():this['_showDialog']();}['close'](){const _0x2a0bc2=this['_editor'];if(!_0x2a0bc2)return;const _0x545159=_0x2a0bc2['plugins']['get']('Dialog');_0x545159['isOpen']&&this['_currentConfig']&&_0x545159['id']===this['_currentConfig']['id']&&_0x545159['hide']();}['_updateDialog'](){const _0x55e7fd=this['_editor']['plugins']['get']('Dialog'),{icon:_0x4f6df0,title:_0x3f81b9}=this['_currentConfig'];_0x55e7fd['view']?.['headerView']&&(_0x55e7fd['view']['headerView']['label']=_0x3f81b9,_0x55e7fd['view']['headerView']['iconView']&&_0x4f6df0&&(_0x55e7fd['view']['headerView']['iconView']['content']=_0x4f6df0)),this['_isUpdatingMarkers']=!0x0,this['_showFakeVisualSelection'](),this['_isUpdatingMarkers']=!0x1,_0x55e7fd['view']?.['updatePosition']();}['_showFakeVisualSelection'](){this['context']['plugins']['get'](aa)['showFakeVisualSelection']({'editor':this['_editor'],'ranges':this['_currentConfig']['ranges'],'id':'balloon','priority':0x64}),window['getSelection']()?.['removeAllRanges']();}['_hideFakeVisualSelection'](){this['context']['plugins']['get'](aa)['hideFakeVisualSelection']('balloon');}['_showDialog'](){const _0x4ace58=this['_editor']['plugins']['get']('Dialog'),{id:_0x1e2ad6,title:_0x5cc366,icon:_0x1d1b3e,class:_0x58310a,mainView:_0x1bdc51}=this['_currentConfig'];_0x1bdc51['delegate'](...rb)['to'](this),_0x4ace58['show']({'title':_0x5cc366,'icon':_0x1d1b3e,'hasCloseButton':!0x0,'id':_0x1e2ad6,'position':this['_calculateDialogPosition']['bind'](this),'getRootName':this['_getCurrentDomRootName']['bind'](this),'className':'ck-ai-balloon\x20'+(_0x58310a||''),'content':_0x1bdc51,'onShow':_0x24b8a2=>{this['_showFakeVisualSelection'](),this['_setupFakeVisualSelectionMarkerRemovalListener'](),_0x24b8a2['view']?.['updatePosition']();const _0x3573e8=this['_getSelectionElements']();_0x3573e8&&_0x3573e8[0x0]&&_0x38fdd1({'target':_0x3573e8[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),this['isOpen']=!0x0,_0x24b8a2['once']('hide',()=>{this['fire']('beforeDialogClosed',{'id':_0x1e2ad6});},{'priority':'high'});},'onHide':()=>{this['_hideFakeVisualSelection'](),this['_cleanupFakeVisualSelectionMarkerRemovalListener'](),this['fire']('dialogClosed',{'id':_0x1e2ad6}),this['isOpen']=!0x1;}});}['_calculateDialogPosition'](_0x3e25ed,_0x17f1b1,_0x3b7887){const _0x39a4b6=_0x17f1b1||_0x3b7887;if(!_0x39a4b6)return null;const _0x4b4130=this['_getSelectionElements']();if(!_0x4b4130||0x0===_0x4b4130['length'])return{'left':Math['round'](_0x39a4b6['left']+_0x39a4b6['width']/0x2-_0x3e25ed['width']/0x2),'top':Math['round'](_0x39a4b6['top']+_0x39a4b6['height']/0x2-_0x3e25ed['height']/0x2)};const _0x356d4f=Math['round'](_0x39a4b6['left']+_0x39a4b6['width']/0x2-_0x3e25ed['width']/0x2),_0x47b098=_0x4b4130['map'](_0x2346af=>new _0x21a646(_0x2346af)),_0x57235f=_0x3e25ed['height'];return{'left':_0x356d4f,'top':this['_calculateOptimalTopPosition'](_0x47b098,_0x57235f,_0x39a4b6)};}['_calculateOptimalTopPosition'](_0x30ff25,_0x584a2d,_0x22ed6e){const _0x57aecb=new _0x21a646(_0x22955f['window']),_0x1474d1=_0x30ff25['map'](_0x50b749=>_0x50b749['getVisible']())['filter'](_0x1f2d60=>_0x1f2d60),_0x50d172=_0x21a646['getBoundingRect'](_0x1474d1);if(!_0x50d172)return Math['round'](_0x22ed6e['top']+_0x22ed6e['height']/0x2);const _0x593111=_0x57aecb['getIntersection'](_0x50d172);if(!_0x593111)return Math['round'](_0x22ed6e['top']+_0x22ed6e['height']/0x2);const _0x57cc19=_0x22ed6e['getVisible'](),_0x18bac2=_0x57cc19&&_0x50d172['height']>_0x57cc19['height'],_0x50f961=_0x593111['top'],_0x23eea8=_0x593111['bottom'];if(_0x18bac2){const _0x2fec2e=_0x57aecb['top']+_0x57aecb['height']/0x2-_0x584a2d/0x2,_0xc867c7=_0x50f961-ab-_0x57aecb['top'],_0xc1ede6=_0x57aecb['bottom']-_0x23eea8-ab;return _0xc867c7>=_0x584a2d?Math['max'](ab,_0x50f961-_0x584a2d-ab):_0xc1ede6>=_0x584a2d?_0x23eea8+ab:Math['max'](ab,_0x2fec2e);}const _0x48f6dc=_0x50f961-_0x584a2d,_0x418e57=_0x57aecb['bottom']-_0x23eea8-ab,_0x36c2c8=_0x50f961-ab-_0x57aecb['top'];let _0x5ec448;return _0x5ec448=_0x418e57>=_0x584a2d?_0x23eea8+ab:_0x36c2c8>=_0x584a2d?_0x48f6dc-ab:_0x50f961+_0x50d172['height']/0x2-_0x584a2d/0x2,_0x5ec448;}['_setupFakeVisualSelectionMarkerRemovalListener'](){const _0x3e70c3=this['_editor'];this['listenTo'](_0x3e70c3['model']['document'],'change',()=>{if(!this['_isUpdatingMarkers']){for(const {name:_0x3312c9,data:{newRange:_0xcfb547}}of _0x3e70c3['model']['document']['differ']['getChangedMarkers']())if(_0x3312c9['startsWith']('ai-selection:')&&(_0xcfb547&&(_0xcfb547['start']['isEqual'](_0xcfb547['end'])||'$graveyard'==_0xcfb547['root']['rootName'])||null==_0xcfb547)){const _0x1dc446=ia(this['context']['locale'],'AI_BALLOON_SELECTION_REMOVED_ERROR');this['_currentConfig']['mainView']['showBlockingError'](_0x1dc446),this['fire']('selectionRemoved');}}});}['_cleanupFakeVisualSelectionMarkerRemovalListener'](){const _0x30d41c=this['_editor'];this['_currentConfig']['mainView']['hideError'](),this['stopListening'](_0x30d41c['model']['document']);}['_getSelectionElements'](){const _0x4a86d4=this['_editor'];return md(_0x4a86d4['editing'],[..._0x4a86d4['model']['markers']['getMarkersGroup']('ai-selection'),..._0x4a86d4['model']['markers']['getMarkersGroup']('ai-balloon-selection')]);}['_getCurrentDomRootName'](){const _0x4d84a1=this['_currentConfig']?.['ranges']?.[0x0]?.['root'];return _0x4d84a1&&_0x4d84a1['rootName']?_0x4d84a1['rootName']:null;}},lb=class extends _0x2c86da{['copyButton'];['likeButton'];['dislikeButton'];['showChangesButton'];['_config'];constructor(_0x2eb06a,_0x34192e={}){super(_0x2eb06a),this['set']('isEnabled',!0x0),this['set']('isShowChangesOn',!0x1),this['_config']={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x34192e};const _0x3af1b2=!(this['_config']['showCopy']||this['_config']['showChanges']||this['_config']['showLike']||this['_config']['showDislike']||this['_config']['customView']?.['length']);this['class']=_0x3af1b2?'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'](_0x2c30d){this['showChangesButton']['isEnabled']=_0x2c30d;}['_setupRatingButtons'](){this['likeButton']=new _0x47ddb0(this['locale']),this['likeButton']['set']({'icon':_0xc77be1,'label':ia(this['locale'],'AI_MINI_TOOLBAR_LIKE'),'class':zp,'tooltip':!0x0}),this['likeButton']['bind']('isEnabled')['to'](this),this['likeButton']['on']('execute',()=>{this['fire']('like');}),this['dislikeButton']=new _0x47ddb0(this['locale']),this['dislikeButton']['set']({'icon':_0x47a465,'label':ia(this['locale'],'AI_MINI_TOOLBAR_DISLIKE'),'class':zp,'tooltip':!0x0}),this['dislikeButton']['bind']('isEnabled')['to'](this),this['dislikeButton']['on']('execute',()=>{this['fire']('dislike');});}['_setupCopyButton'](){this['copyButton']=new _0x47ddb0(this['locale']),this['copyButton']['set']({'icon':_0x2aeb43,'label':ia(this['locale'],'AI_MINI_TOOLBAR_COPY'),'class':'ck-ai-mini-toolbar-copy-button\x20'+zp,'tooltip':!0x0}),this['copyButton']['bind']('isEnabled')['to'](this);const _0x578186=new _0x5902c2();_0x578186['set']({'content':_0x25572e}),_0x578186['extendTemplate']({'attributes':{'class':['ck-ai-mini-toolbar-copy-button__check-mark']}}),this['copyButton']['on']('execute',()=>{this['copyButton']['class']='ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied\x20'+zp,setTimeout(()=>{this['copyButton']['class']='ck-ai-mini-toolbar-copy-button\x20'+zp;},0x7d0);}),this['copyButton']['children']['add'](_0x578186);}['_setupShowChangesButton'](){this['showChangesButton']=new _0x47ddb0(this['locale']),this['showChangesButton']['set']({'icon':te,'label':ia(this['locale'],'AI_SUGGESTION_BUTTON_SHOW_CHANGES'),'withText':'full'==this['_config']['showChanges'],'tooltip':'full'!=this['_config']['showChanges'],'class':zp}),this['showChangesButton']['bind']('isOn')['to'](this,'isShowChangesOn'),this['showChangesButton']['bind']('isEnabled')['to'](this),this['showChangesButton']['bind']('icon')['to'](this,'isShowChangesOn',_0x4a574e=>_0x4a574e?_0xcfe3a5:te),this['showChangesButton']['on']('execute',()=>{this['fire']('toggleShowChanges');});}},hb=class extends ob{['children'];['nextButtonView'];['previousButtonView'];['focusCycler'];['_focusables'];['_focusTracker'];['_keystrokes'];['_config'];['_streamableContentView'];['_toolbarContainerView'];['_partToolbarView'];['_stateView'];['_miniToolbarView'];constructor(_0x49ee34,_0x3cccb2){super(_0x49ee34);const _0x44e7f7=this['bindTemplate'];this['set']('showDiff',!0x1),this['set']('_state','pending'),this['_focusTracker']=new _0x33fa41(),this['_keystrokes']=new _0x491b26(),this['_focusables']=this['createCollection'](),this['focusCycler']=new _0x1a2844({'focusables':this['_focusables'],'focusTracker':this['_focusTracker'],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['_config']=_0x3cccb2,this['nextButtonView']=this['_createNextButtonView'](),this['previousButtonView']=this['_createPreviousButtonView'](),this['_streamableContentView']=new Gg(_0x49ee34),this['_partToolbarView']=new Fg(_0x49ee34,_0x3cccb2['availableActions']),this['_partToolbarView']['delegate']('applySuggestion','insertSuggestion','rejectSuggestion')['to'](this),this['_togglePartToolbarButtonsVisibility'](_0x3cccb2),this['_stateView']=new Vg(_0x49ee34),this['_stateView']['isVisible']=!0x1,this['_miniToolbarView']=new lb(_0x49ee34,{'showChanges':'full'}),this['_miniToolbarView']['bind']('isShowChangesOn')['to'](this,'showDiff'),this['_miniToolbarView']['on']('toggleShowChanges',()=>{this['fire']('toggleSuggestionDisplayMode');}),this['_toolbarContainerView']=new ub(_0x49ee34,[this['_partToolbarView'],this['_stateView'],this['_miniToolbarView']]),this['children']=this['createCollection']([this['_streamableContentView'],this['_toolbarContainerView']]),this['on']('change:_state',(_0x2cfe43,_0x1a529e,_0x345a83,_0x2ef744)=>{let _0x3e9633,_0x72c1fa;'pending'===_0x2ef744?(_0x3e9633=this['_partToolbarView'],_0x72c1fa=this['_stateView']):(_0x3e9633=this['_stateView'],_0x72c1fa=this['_partToolbarView']),this['_stateView']['setState'](_0x345a83),_0x3e9633['isVisible']=!0x1,_0x72c1fa['isVisible']=!0x0;}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-balloon-main',_0x44e7f7['to']('_state',_0x454530=>'ck-ai-chat-balloon-main_state_'+_0x454530)]},'children':this['children']}),this['on']('change:isTrackChangesOn',()=>{this['_togglePartToolbarButtonsVisibility'](_0x3cccb2);});}['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'](_0x54210c){_0x54210c?.['keepErrors']||this['hideError'](),await this['_streamableContentView']['update'](_0x54210c);}['clearContent'](){this['_streamableContentView']['clear']();}['setState'](_0x59ec67){this['_state']=_0x59ec67;}['showError'](_0x1dc62d){super['showError'](_0x1dc62d),this['children']['has'](this['_errorView'])||this['children']['add'](this['_errorView'],0x0);}['hideError'](){this['_isErrorVisible']&&(super['hideError'](),this['togglePartToolbarEnabled'](!0x0));}['showBlockingError'](_0x1cc475){super['showBlockingError'](_0x1cc475),this['togglePartToolbarEnabled'](!0x1);}['toggleRotatorButtonsVisibility'](_0x188a42){this['nextButtonView']['isVisible']=this['previousButtonView']['isVisible']=_0x188a42;}['togglePartToolbarEnabled'](_0x3ed1c9){this['_partToolbarView']['isEnabled']=_0x3ed1c9;}['_togglePartToolbarButtonsVisibility']({showApplyButton:_0x26153a,showSuggestButton:_0x7c2287}){_0x26153a=_0x26153a&&!this['isTrackChangesOn']&&this['_config']['availableActions']['includes']('applySuggestion'),_0x7c2287=_0x7c2287&&this['_config']['availableActions']['includes']('insertSuggestion'),this['_partToolbarView']['setButtonsVisibility']({'showApplyButton':_0x26153a,'showSuggestButton':_0x7c2287});}['_createNextButtonView'](){const _0x1240e0=new _0x47ddb0(this['locale']);return _0x1240e0['set']({'icon':_0x53a652,'label':ia(this['locale'],'AI_BALLOON_NEXT_LABEL'),'isVisible':!0x0}),_0x1240e0['on']('execute',()=>{this['fire']('showNext');}),_0x1240e0;}['_createPreviousButtonView'](){const _0x3edd29=new _0x47ddb0(this['locale']);return _0x3edd29['set']({'icon':_0x156fe4,'label':ia(this['locale'],'AI_BALLOON_PREVIOUS_LABEL'),'isVisible':!0x0}),_0x3edd29['on']('execute',()=>{this['fire']('showPrevious');}),_0x3edd29;}},ub=class extends _0x2df468{constructor(_0x29517e,_0x2a0258){super(_0x29517e),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-balloon__toolbar-container']},'children':_0x2a0258});}},db=class extends _0x36b920{static get['requires'](){return[_0x5cd402,cb];}static get['pluginName'](){return'AIChatBalloon';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_chatBalloonView'];constructor(_0x39ac07){super(_0x39ac07),this['set']('showDiff',!0x1);}['open'](_0x56b35d){const _0x24f012=this['editor'];this['_chatBalloonView']||(this['_chatBalloonView']=this['_createChatBalloonView']()),_0x24f012['plugins']['get']('AIBalloon')['open']({..._0x56b35d,'id':'aiChatBalloon','class':'ck-ai-chat-balloon','mainView':this['_chatBalloonView']}),this['_toggleRotatorButtonsInDialogHeader'](_0x56b35d['showRotator']),this['_chatBalloonView']['togglePartToolbarEnabled'](!_0x56b35d['areActionsDisabled']),this['_restoreDefaultViewFocus']();}['close'](){this['editor']['plugins']['get']('AIBalloon')['close']();}['updateContent'](_0x4bb8e8){return this['_chatBalloonView']||(this['_chatBalloonView']=this['_createChatBalloonView']()),this['_chatBalloonView']['updateContent'](_0x4bb8e8);}['clearContent'](){this['_chatBalloonView']&&this['_chatBalloonView']['clearContent']();}['setState'](_0x1619bf){this['_chatBalloonView']&&this['_chatBalloonView']['setState'](_0x1619bf);}['_createChatBalloonView'](){const _0x767244=this['editor'],_0x15e249=_0x767244['plugins']['get']('AIBalloon'),_0x2505c4=_0x767244['commands']['get']('trackChanges');let _0x1b047c=_0x767244['config']['get']('ai.availableReplyActions')||[...tO];_0x767244['plugins']['has']('TrackChanges')||(_0x1b047c=_0x1b047c['filter'](_0x351259=>'insertSuggestion'!=_0x351259));const _0x505856=new hb(_0x767244['locale'],{'availableActions':_0x1b047c,'showApplyButton':!0x0,'showSuggestButton':!!_0x2505c4});return _0x505856['bind']('showDiff')['to'](this),_0x505856['delegate'](...wg)['to'](this),_0x505856['delegate']('showPrevious','showNext')['to'](this),_0x15e249['delegate']('dialogClosed')['to'](this),_0x505856['on']('applySuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x505856['on']('insertSuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x505856['on']('rejectSuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x2505c4&&_0x505856['bind']('isTrackChangesOn')['to'](_0x2505c4,'value'),_0x505856['render'](),_0x505856;}['_toggleRotatorButtonsInDialogHeader'](_0x2ce72b){const _0x5d926e=this['editor'],_0x2b7b73=_0x5d926e['plugins']['get']('Dialog')['view']['headerView']['children'];this['_chatBalloonView']['toggleRotatorButtonsVisibility'](_0x2ce72b),_0x2b7b73['has'](this['_chatBalloonView']['previousButtonView'])||(_0x2b7b73['addMany']([this['_chatBalloonView']['previousButtonView'],this['_chatBalloonView']['nextButtonView']],0x0),_0x5d926e['plugins']['get']('AIBalloon')['once']('beforeDialogClosed',()=>{_0x2b7b73['remove'](this['_chatBalloonView']['previousButtonView']),_0x2b7b73['remove'](this['_chatBalloonView']['nextButtonView']);}));}['_restoreDefaultViewFocus'](){this['_chatBalloonView']['focus']();}},fb=class extends _0x36b920{static get['requires'](){return[nb,db,Wa];}static get['pluginName'](){return'AIEditorIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};function mb(_0x553ecd){const {editor:_0x3ec818,action:_0x469a34,withText:_0x291727=!0x1,withIcon:_0x204f00=!0x0,isInDropdown:_0x447895=!0x0,shouldPreventFocus:_0x5f50b9=!0x1,actionButtons:_0x34e68b}=_0x553ecd;return()=>{const _0x5629ab=_0x3ec818['locale'],_0x4b26ff=new _0x47ddb0(_0x5629ab),_0x28d7dc=_0x4b26ff['bindTemplate'];_0x447895&&_0x4b26ff['extendTemplate']({'on':{'mouseenter':_0x28d7dc['to'](()=>{_0x5f50b9&&_0x5f50b9()||_0x4b26ff['focus']();})}}),_0x34e68b['push']({'buttonView':_0x4b26ff,'action':_0x469a34});const _0xc64b7d=_0x469a34['icon']??_0x469a34['parent']?.['icon'];return _0x4b26ff['set']({'label':_0x469a34['label'],'withText':_0x291727,'role':'menuitem','icon':_0x204f00?_0xc64b7d??_0x500889:void 0x0,'tooltip':!_0x291727,'class':'ck-ai-quick-actions-button','isEnabled':_0x469a34['isEnabled']}),_0x4b26ff['on']('execute',()=>{_0x3ec818['editing']['view']['focus'](),_0x3ec818['commands']['execute']('aiQuickAction',_0x469a34);}),_0x4b26ff;};}var pb=class extends _0x47de20{['arrowView'];constructor(_0x15e550,_0x677c9f){super(_0x15e550,_0x677c9f);const _0x4c4391=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',_0x29251b=>String(_0x29251b)),'data-cke-tooltip-disabled':_0x4c4391['to']('isOn')},'on':{'mouseenter':_0x4c4391['to']('mouseenter')}});}['render'](){super['render'](),this['children']['add'](this['arrowView']);}['_createArrowView'](){const _0x42c37d=new _0x5902c2();return _0x42c37d['content']=_0x3091fa,_0x42c37d['extendTemplate']({'attributes':{'class':'ck-dropdown-menu-list__nested-menu__button__arrow'}}),_0x42c37d;}},gb=class extends _0x344603{['_allListItems'];['_allSearchableItems'];constructor(_0x49a26a,_0x209dc1,_0x222f7a){super(_0x49a26a),this['_allListItems']=_0x209dc1,this['_allSearchableItems']=_0x222f7a;}['filter'](_0x424b90){if(!_0x424b90)return this['items']['clear'](),this['items']['addMany'](this['_allListItems']),this['_clearHighlight'](),{'resultsCount':this['_allListItems']['length'],'totalItemsCount':this['_allListItems']['length']};const _0x41606b=_0x424b90['source']['toLowerCase']()['trim'](),_0x95774e=this['_allSearchableItems']['filter'](_0x433b3c=>(_0x433b3c['groupLabel']?_0x433b3c['label']+'\x20('+_0x433b3c['groupLabel']+')':_0x433b3c['label'])['toLowerCase']()['includes'](_0x41606b));return this['items']['clear'](),this['items']['addMany'](_0x95774e['sort']((_0x3c4e5f,_0x209e08)=>{const _0x275a9e=_0x3c4e5f['groupLabel'],_0x39ac2e=_0x209e08['groupLabel'];return _0x275a9e||_0x39ac2e?_0x275a9e?0x1:-0x1:0x0;})['map'](_0x5df543=>_0x5df543['item'])),this['_highlightQuery'](_0x41606b,_0x95774e),{'resultsCount':_0x95774e['length'],'totalItemsCount':this['_allSearchableItems']['length']};}['_highlightQuery'](_0x385a57,_0x244325){if(!_0x385a57)return;const _0x2b155f=new RegExp(ko(_0x385a57),'gi');_0x244325['forEach'](_0x1e025f=>{_0x1e025f['highlightViews']&&_0x1e025f['highlightViews']['forEach'](_0x5292ba=>{'function'==typeof _0x5292ba['highlightText']&&_0x5292ba['highlightText'](_0x2b155f);});});}['_clearHighlight'](){this['_allSearchableItems']['forEach'](_0x11bedb=>{_0x11bedb['highlightViews']&&_0x11bedb['highlightViews']['forEach'](_0x1c5a31=>{'function'==typeof _0x1c5a31['highlightText']&&_0x1c5a31['highlightText'](null);});});}};const Ob='menu',wb='menuitem';var bb=class extends _0x2df468{['_bodyCollection'];['optionsListView'];['_searchTextView']=null;['_allSearchableItems']=[];['children'];['focusTracker'];['keystrokes'];['_focusables'];['focusCycler'];['_openNestedPanels']=new Set();['_hasSearch'];['_actionButtons'];constructor(_0x317bd6,_0xbb50d5,_0xd7357d,_0x559683,_0x4a9a6b=!0x1,_0x2185d2=[]){const _0x17fd81=_0x317bd6['locale'];super(_0x17fd81),this['_bodyCollection']=_0x559683,this['_hasSearch']=_0x4a9a6b,this['_actionButtons']=_0x2185d2;const _0x10ffb3=this['_createListItems'](_0x317bd6,_0xbb50d5,_0xd7357d);this['optionsListView']=new gb(_0x17fd81,_0x10ffb3,this['_allSearchableItems']),this['optionsListView']['role']=Ob,this['optionsListView']['items']['addMany'](_0x10ffb3),this['focusTracker']=new _0x33fa41(),this['keystrokes']=new _0x491b26(),_0x4a9a6b&&(this['_searchTextView']=this['_createSearchTextView']()),this['_focusables']=_0x10ffb3,this['focusCycler']=new _0x1a2844({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes']}),_0x4a9a6b&&this['_searchTextView']&&this['focusCycler']['chain'](this['_searchTextView']['focusCycler']);const _0x228911=_0x4a9a6b&&this['_searchTextView']?[this['_searchTextView']]:[this['optionsListView']];this['children']=new _0xa445c9(_0x228911),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions','ck-rounded-corners'],'dir':_0x17fd81['uiLanguageDirection']},'children':this['children']});}['_createSearchTextView'](){return new _0x2c9de8(this['locale'],{'filteredView':this['optionsListView'],'queryView':{'label':ia(this['locale'],'AI_QUICK_ACTIONS_SEARCH')},'class':'ck-ai-quick-actions-search','infoView':{'text':{'notFound':{'primary':ia(this['locale'],'AI_QUICK_ACTIONS_SEARCH_NOT_FOUND')}}}});}['_isSearchFocused'](){if(!this['_hasSearch']||!this['_searchTextView']||!this['_searchTextView']['queryView']['fieldView']['element'])return!0x1;const _0x575110=this['_searchTextView']['queryView']['fieldView']['element']['ownerDocument']?.['activeElement'];return this['_searchTextView']['queryView']['fieldView']['element']['contains'](_0x575110);}['_createListItems'](_0x4ab9c9,_0x4731ff,_0x332cbb){const _0x4ae84a=new _0xa445c9();return _0x4731ff['forEach'](_0x35f52e=>{if('actions'in _0x35f52e){const {listItem:_0x17ffca}=this['_createActionGroupButton'](_0x4ab9c9,_0x35f52e,_0x332cbb);_0x4ae84a['add'](_0x17ffca),_0x35f52e['actions']['forEach'](_0x4d7abe=>{const {listItem:_0x4e6c4b,highlightViews:_0xcd58ec}=this['_createSearchResultActionButton'](_0x4ab9c9,_0x4d7abe,_0x35f52e['label'],_0x35f52e['icon']);this['_allSearchableItems']['push']({'item':_0x4e6c4b,'label':_0x4d7abe['label'],'groupLabel':_0x35f52e['label'],'highlightViews':_0xcd58ec});});}else{const {listItem:_0xd09168}=this['_createActionButton'](_0x4ab9c9,_0x35f52e);_0x4ae84a['add'](_0xd09168);const _0x4441b0=_0xd09168['children']['first'];if(_0x4441b0){const {listItem:_0x21fbbd,highlightViews:_0x3d6b2a}=this['_createSearchResultActionButton'](_0x4ab9c9,_0x35f52e);this['_allSearchableItems']['push']({'item':_0x21fbbd,'label':_0x4441b0['label']||'','highlightViews':_0x3d6b2a});}}}),_0x4ae84a;}['_createActionButton'](_0x463c5a,_0x6a1d75,_0x3df544,_0x3bf2ad){const _0x977f24=new _0x1853ec(this['locale']);if(_0x3df544&&_0x3bf2ad){const _0x7e8b68=new _0x47ddb0(this['locale']),_0x29c470=_0x7e8b68['bindTemplate'],_0x2b76b1=new _0x3f1b1e();_0x2b76b1['text']=_0x6a1d75['label'];const _0x182003=new _0x3f1b1e();_0x182003['text']=_0x3df544;const _0x213fa1=new _0x5902c2();_0x213fa1['content']=_0x3bf2ad,_0x213fa1['extendTemplate']({'attributes':{'class':'ck-ai-quick-actions-button__group-icon'}});const _0x2c21f4=new _0x2df468(this['locale']);_0x2c21f4['setTemplate']({'tag':'span','attributes':{'class':'ck-ai-quick-actions-button_with-group__open-paren'},'children':[{'text':'\x20('}]});const _0x343ff3=new _0x2df468(this['locale']);return _0x343ff3['setTemplate']({'tag':'span','attributes':{'class':'ck-ai-quick-actions-button_with-group__close-paren'},'children':[{'text':')'}]}),_0x7e8b68['set']({'label':_0x6a1d75['label']+'\x20('+_0x3df544+')','withText':!0x0,'role':'menuitem','class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','tooltip':!0x1,'isEnabled':_0x6a1d75['isEnabled']}),_0x7e8b68['setTemplate']({'tag':'button','attributes':{'class':['ck','ck-button','ck-button_with-text','ck-ai-quick-actions-button','ck-ai-quick-actions-button_with-group',_0x29c470['if']('isEnabled','ck-disabled',_0x5f1596=>!_0x5f1596)],'type':'button','role':'menuitem','tabindex':'-1'},'children':[_0x2b76b1,_0x2c21f4,_0x213fa1,_0x182003,_0x343ff3],'on':{'mouseenter':_0x29c470['to'](()=>{this['_isSearchFocused']()||_0x7e8b68['focus']();}),'click':_0x29c470['to'](()=>{_0x7e8b68['fire']('execute');})}}),_0x7e8b68['on']('execute',()=>{_0x7e8b68['isEnabled']&&(_0x463c5a['editing']['view']['focus'](),_0x463c5a['commands']['execute']('aiQuickAction',_0x6a1d75));}),_0x977f24['children']['add'](_0x7e8b68),this['_actionButtons']['push']({'buttonView':_0x7e8b68,'action':_0x6a1d75}),{'listItem':_0x977f24,'highlightViews':[_0x2b76b1,_0x182003]};}{const _0x4fff61=new _0x5065b9(),_0x12e954=new _0x47ddb0(this['locale'],_0x4fff61),_0xa5e43a=_0x12e954['bindTemplate'],_0x5c0275=_0x6a1d75['icon']??_0x6a1d75['parent']?.['icon'],_0x341bf6=void 0x0!==_0x6a1d75['icon'];return _0x12e954['set']({'label':_0x6a1d75['label'],'withText':!0x0,'role':'menuitem','icon':_0x341bf6?_0x5c0275??_0x500889:void 0x0,'tooltip':!0x1,'class':'ck-ai-quick-actions-button','isEnabled':_0x6a1d75['isEnabled']}),_0x12e954['extendTemplate']({'on':{'mouseenter':_0xa5e43a['to'](()=>{this['_isSearchFocused']()||_0x12e954['focus']();})}}),_0x12e954['on']('execute',()=>{_0x463c5a['editing']['view']['focus'](),_0x463c5a['commands']['execute']('aiQuickAction',_0x6a1d75);}),_0x977f24['children']['add'](_0x12e954),this['_actionButtons']['push']({'buttonView':_0x12e954,'action':_0x6a1d75}),{'listItem':_0x977f24,'highlightViews':[_0x4fff61]};}}['_createSearchResultActionButton'](_0x255d4e,_0x27ed03,_0x2ad058,_0x405fa5){return _0x2ad058&&_0x405fa5?this['_createSearchResultGroupedActionButton'](_0x255d4e,_0x27ed03,_0x2ad058,_0x405fa5):this['_createSearchResultIndividualActionButton'](_0x255d4e,_0x27ed03);}['_createSearchResultGroupedActionButton'](_0x3b45d6,_0x5ca7a2,_0x25394b,_0xbba6c0){const _0x362bd6=new _0x1853ec(this['locale']),_0x33982e=new _0x47ddb0(this['locale']),_0x71b679=_0x33982e['bindTemplate'],{view:_0xa7af3,highlightView:_0x2ee965}=this['_createSearchResultGroupRow'](_0x25394b,_0xbba6c0),{view:_0x84f4cc,highlightView:_0x20af85}=this['_createSearchResultActionRow'](_0x5ca7a2['label']),_0x3a5d3b=this['_createSearchResultContentView'](_0xa7af3,_0x84f4cc);return _0x33982e['set']({'label':_0x5ca7a2['label'],'withText':!0x0,'role':'menuitem','class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','tooltip':!0x1,'isEnabled':_0x5ca7a2['isEnabled']}),_0x33982e['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',_0x71b679['if']('isEnabled','ck-disabled',_0x240033=>!_0x240033)],'type':'button','role':'menuitem','tabindex':'-1'},'children':[_0x3a5d3b],'on':{'mouseenter':_0x71b679['to'](()=>{this['_isSearchFocused']()||_0x33982e['focus']();}),'click':_0x71b679['to'](()=>{this['_handleSearchResultButtonClick'](_0x33982e);})}}),this['_setupActionButtonExecution'](_0x33982e,_0x3b45d6,_0x5ca7a2),_0x362bd6['children']['add'](_0x33982e),this['_actionButtons']['push']({'buttonView':_0x33982e,'action':_0x5ca7a2}),{'listItem':_0x362bd6,'highlightViews':[_0x2ee965,_0x20af85]};}['_createSearchResultIndividualActionButton'](_0x4f7fd3,_0x120684){const _0x3fbd20=new _0x1853ec(this['locale']),_0x1d59fd=new _0x5065b9(),_0x311763=new _0x47ddb0(this['locale'],_0x1d59fd),_0x237689=_0x311763['bindTemplate'];return _0x311763['set']({'label':_0x120684['label'],'withText':!0x0,'role':'menuitem','icon':void 0x0,'tooltip':!0x1,'class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','isEnabled':_0x120684['isEnabled']}),_0x311763['extendTemplate']({'on':{'mouseenter':_0x237689['to'](()=>{this['_isSearchFocused']()||_0x311763['focus']();})}}),this['_setupActionButtonExecution'](_0x311763,_0x4f7fd3,_0x120684),_0x3fbd20['children']['add'](_0x311763),this['_actionButtons']['push']({'buttonView':_0x311763,'action':_0x120684}),{'listItem':_0x3fbd20,'highlightViews':[_0x1d59fd]};}['_createSearchResultGroupRow'](_0x173e71,_0x469a36){const _0x3d042d=new _0x2df468(this['locale']),_0x2dd06e=new _0x5902c2();_0x2dd06e['content']=_0x469a36,_0x2dd06e['extendTemplate']({'attributes':{'class':'ck-ai-quick-actions-button__group-icon'}});const _0x5be53c=new _0x3f1b1e();return _0x5be53c['text']=_0x173e71,_0x3d042d['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__group-row'},'children':[_0x2dd06e,_0x5be53c]}),{'view':_0x3d042d,'highlightView':_0x5be53c};}['_createSearchResultActionRow'](_0x52fb2e){const _0x3b3ec0=new _0x2df468(this['locale']),_0x2c6652=new _0x3f1b1e();return _0x2c6652['text']=_0x52fb2e,_0x3b3ec0['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__action-row'},'children':[_0x2c6652]}),{'view':_0x3b3ec0,'highlightView':_0x2c6652};}['_createSearchResultContentView'](_0x1d5535,_0x42ac9){const _0x2a3547=new _0x2df468(this['locale']);return _0x2a3547['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__content'},'children':[_0x1d5535,_0x42ac9]}),_0x2a3547;}['_setupActionButtonExecution'](_0x2525f3,_0x2d01f0,_0x12fdbc){_0x2525f3['on']('execute',()=>{_0x2525f3['isEnabled']&&(_0x2d01f0['editing']['view']['focus'](),_0x2d01f0['commands']['execute']('aiQuickAction',_0x12fdbc));});}['_createActionGroupButton'](_0x5b62bb,_0x3acbc8,_0x581817){const _0x1b0242=new _0x1853ec(this['locale']),_0x29366e=new _0x5065b9(),_0x3de1db=new pb(this['locale'],_0x29366e),_0x1b3a52=_0x3de1db['bindTemplate'],_0x5d6bb2=this['_getPanelKeystroke'](_0x581817),_0x53d89d=this['_createGroupActionsList'](_0x5b62bb,_0x3acbc8['actions'],_0x581817);_0x3de1db['set']({'label':_0x3acbc8['label'],'withText':!0x0,'role':wb,'icon':_0x3acbc8['icon']??_0x500889,'isEnabled':_0x3acbc8['actions']['some'](_0x44fed9=>_0x44fed9['isEnabled'])}),_0x3de1db['extendTemplate']({'on':{'mouseenter':_0x1b3a52['to'](()=>{this['_isSearchFocused']()||_0x3de1db['focus']();})}});const _0x2497f5=new _0x13153c(this['locale']);return _0x2497f5['extendTemplate']({'attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions-group-panel','ck-dropdown-menu__nested-menu__panel']},'on':{'keydown':_0x1b3a52['to'](_0x649f56=>{this['_handlePanelKeydown'](_0x649f56,_0x5d6bb2,_0x3de1db,_0x2497f5);})}}),_0x3de1db['bind']('isOn')['to'](_0x2497f5,'isVisible'),this['_bodyCollection']['add'](_0x2497f5),_0x2497f5['content']['add'](_0x53d89d),this['_setupGroupMenuBehavior'](_0x3de1db,_0x2497f5),_0x1b0242['children']['add'](_0x3de1db),this['_actionButtons']['push']({'buttonView':_0x3de1db,'action':_0x3acbc8}),{'listItem':_0x1b0242,'highlightView':_0x29366e};}['_createGroupActionsList'](_0x46fd1f,_0x1c52cc,_0x29873a){const _0x4360f3=new _0x344603(this['locale']);return _0x4360f3['extendTemplate']({'attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions-group-list','ck-dropdown-menu-list']}}),_0x1c52cc['forEach'](_0x37dbc4=>{const _0x8a92e6=new _0x1853ec(this['locale']),_0x30a9ee=mb({'editor':_0x46fd1f,'action':_0x37dbc4,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this['_isSearchFocused'](),'actionButtons':this['_actionButtons']})();_0x8a92e6['children']['add'](_0x30a9ee),_0x29873a['focusTracker']['add'](_0x30a9ee),_0x4360f3['items']['add'](_0x8a92e6);}),_0x4360f3;}['_setupGroupMenuBehavior'](_0x503b49,_0x478517){const _0x59e69b=_0x503b49['bindTemplate'],_0x2ed2cd=this['_getButtonKeystroke'](_0x503b49);_0x503b49['extendTemplate']({'attributes':{'class':['ck-ai-quick-actions-group-button']},'on':{'mouseenter':_0x59e69b['to'](()=>{this['_showNestedPanel'](_0x478517,_0x503b49);}),'mouseleave':_0x59e69b['to'](_0x80f325=>{const _0x44c8f2=_0x80f325['relatedTarget'];this['_isMovingToNestedMenu'](_0x44c8f2,_0x478517)||this['_hideNestedPanel'](_0x478517);}),'keydown':_0x59e69b['to'](_0x2be501=>{_0x2be501['key']==_0x2ed2cd&&(this['_showNestedPanel'](_0x478517,_0x503b49),_0x478517['content']['get'](0x0)['focus']());})}}),_0x478517['on']('render',()=>{_0x478517['element']?.['addEventListener']('mouseleave',_0x5c7100=>{const _0xc9c9e1=_0x5c7100['relatedTarget'];_0x503b49['element']?.['contains'](_0xc9c9e1)||this['_isMovingToNestedMenu'](_0xc9c9e1,_0x478517)||this['_hideNestedPanel'](_0x478517);});});}['_showNestedPanel'](_0xf12bd9,_0x2937d8){this['_openNestedPanels']['forEach'](_0x11565b=>{_0x11565b!==_0xf12bd9&&_0x11565b['isVisible']&&_0x11565b['hide']();}),_0xf12bd9['show'](),_0xf12bd9['pin']({'positions':[_0x528af2['eastSouth']],'target':_0x2937d8['element'],'fitInViewport':!0x0}),this['_openNestedPanels']['add'](_0xf12bd9);}['_hideNestedPanel'](_0x34c8e7){_0x34c8e7['hide'](),this['_openNestedPanels']['delete'](_0x34c8e7);}['_hideAllNestedPanels'](){this['_openNestedPanels']['forEach'](_0x52a3fe=>_0x52a3fe['hide']()),this['_openNestedPanels']['clear']();}['_isMovingToNestedMenu'](_0x32a77a,_0x17a132){if(!_0x32a77a)return!0x1;if(_0x17a132['element']?.['contains'](_0x32a77a))return!0x0;const _0x5084cf=_0x32a77a;return _0x5084cf['closest']&&(null!==_0x5084cf['closest']('.ck-ai-quick-actions-group-panel')||null!==_0x5084cf['closest']('.ck-ai-quick-actions-group-list')||null!==_0x5084cf['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'](_0x34cf86){return'rtl'===_0x34cf86['locale']['uiLanguageDirection']?'ArrowRight':'ArrowLeft';}['_getButtonKeystroke'](_0x54d1ea){return'rtl'===_0x54d1ea['locale']['uiLanguageDirection']?'ArrowLeft':'ArrowRight';}['_handlePanelKeydown'](_0x396017,_0x3c4ed1,_0x507787,_0x434ae1){_0x396017['key']==_0x3c4ed1&&(_0x507787['focus'](),this['_hideNestedPanel'](_0x434ae1));}['_handleSearchResultButtonClick'](_0x24cc67){_0x24cc67['fire']('execute');}};function yb(_0x56899b){const {editor:_0x5b7d12,content:_0x2682a9,buttonDefinition:_0x3c1b8a,bodyCollection:_0x2c5e04,hasSearch:_0x33e6b0=!0x1,actionButtons:_0x1e9a31}=_0x56899b;return()=>{const _0x548372=_0x5b7d12['locale'],_0xcf0a93=_0x5b7d12['commands']['get']('aiQuickAction'),_0x4ef821=_0x18eee9(_0x548372);_0x4ef821['bind']('isEnabled')['to'](_0xcf0a93),_0x4ef821['buttonView']['set']({'icon':_0x3c1b8a['icon']??_0x500889,'label':_0x3c1b8a['label'],'tooltip':!0x0}),_0x4ef821['set']({'class':'ck-ai-quick-actions-dropdown'});const _0x5ec89d=new bb(_0x5b7d12,_0x2682a9,_0x4ef821,_0x2c5e04,_0x33e6b0,_0x1e9a31);return _0x4ef821['panelView']['children']['add'](_0x5ec89d),_0x33e6b0&&_0x4ef821['on']('change:isOpen',(_0x3f1572,_0x1a7371,_0x5f0f26)=>{if(_0x5f0f26){if(_0x5b7d12['plugins']['has']('AIEditing')){const _0x429829=_0x5b7d12['plugins']['get'](aa),_0x430582=_0x5b7d12['model']['document']['selection'],_0x1473ae=Array['from'](_0x430582['getRanges']());_0x1473ae['length']>0x0&&_0x429829['showFakeVisualSelection']({'editor':_0x5b7d12,'ranges':_0x1473ae,'id':'quick-action','priority':0x14});}}else _0x5b7d12['plugins']['has']('AIEditing')&&_0x5b7d12['plugins']['get'](aa)['hideFakeVisualSelection']('quick-action'),_0x5ec89d['resetSearch']();}),_0x4ef821;};}const vb='<task>Explain\x20the\x20selected\x20part\x20of\x20the\x20document\x20in\x20plain,\x20simple\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).-\x20Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><output>For\x20this\x20response:\x20reply\x20with\x20only\x20the\x20text\x20explanation,\x20nothing\x20else.</output><scope>These\x20instructions\x20apply\x20to\x20this\x20response\x20only.\x20In\x20follow-up\x20messages,\x20respond\x20normally\x20as\x20a\x20helpful\x20assistant,\x20that\x20can\x20make\x20document\x20modifications\x20with\x20no\x20restrictions.</scope>',_b='<task>Summarize\x20the\x20selected\x20part\x20of\x20the\x20document\x20in\x202–4\x20clear\x20sentences,\x20capturing\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><output>For\x20this\x20response:\x20reply\x20with\x20only\x20the\x20text\x20summary,\x20nothing\x20else.</output><scope>These\x20instructions\x20apply\x20to\x20this\x20response\x20only.\x20In\x20follow-up\x20messages,\x20respond\x20normally\x20as\x20a\x20helpful\x20assistant\x20that\x20can\x20make\x20document\x20modifications\x20with\x20no\x20restrictions.</scope>',Eb='<task>Extract\x20and\x20present\x20the\x20key\x20points\x20from\x20the\x20selected\x20part\x20of\x20the\x20document\x20as\x20a\x20concise\x20bulleted\x20list.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><output>For\x20this\x20response:\x20reply\x20with\x20only\x20the\x20text\x20key\x20points\x20list,\x20nothing\x20else.</output><scope>These\x20instructions\x20apply\x20to\x20this\x20response\x20only.\x20In\x20follow-up\x20messages,\x20respond\x20normally\x20as\x20a\x20helpful\x20assistant\x20that\x20can\x20make\x20document\x20modifications\x20with\x20no\x20restrictions.</scope>',Tb=/* #__PURE__ -- @preserve */
((()=>({'chat':'AIChat','action':'AIActions'}))());var Ab=class AIQuickActionsUI extends _0x36b920{['_actionButtons']=[];['_menuBarGroupViews']=[];['_reporter'];static get['requires'](){return[_0x11689e,ea,Gp];}static get['pluginName'](){return'AIQuickActionsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_reporter']=this['editor']['plugins']['get'](Gp)['createReporter']('aiquickactions');const _0x43e021=this['_getDefaultAndCustomActions']();this['_prepareQuickActionsDefinition'](_0x43e021),this['_initializeQuickActionsComponentsAndCommands'](),this['_initActionTypeQuickActions'](),this['_initChatTypeQuickActions']();}static['getDefaultQuickActions'](_0x6e3e27){return function(_0x1e97a0){const _0xf82177=new Intl['DisplayNames'](['en'],{'type':'language'})['of'](_0x1e97a0['uiLanguage'])||'English';return[{'id':'ask-ai','label':ia(_0x1e97a0,'AI_QUICK_ACTIONS_ASK_AI'),'type':'chat','icon':_0xf988b6},{'id':'chat-commands','label':ia(_0x1e97a0,'AI_QUICK_ACTIONS_CHAT_COMMANDS'),'icon':_0xf988b6,'actions':[{'id':'explain','label':ia(_0x1e97a0,'AI_QUICK_ACTIONS_EXPLAIN'),'displayedPrompt':ia(_0x1e97a0,'AI_QUICK_ACTIONS_EXPLAIN'),'prompt':vb['replace']('%0',_0xf82177),'type':'chat'},{'id':'summarize','label':ia(_0x1e97a0,'AI_QUICK_ACTIONS_SUMMARIZE'),'displayedPrompt':ia(_0x1e97a0,'AI_QUICK_ACTIONS_SUMMARIZE'),'prompt':_b['replace']('%0',_0xf82177),'type':'chat'},{'id':'highlight-key-points','label':ia(_0x1e97a0,'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS'),'displayedPrompt':ia(_0x1e97a0,'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS'),'prompt':Eb['replace']('%0',_0xf82177),'type':'chat'}]},{'id':'improve-writing','label':ia(_0x1e97a0,'AI_QUICK_ACTIONS_IMPROVE_WRITING'),'type':'action','icon':_0x42f5a8},{'id':'continue','label':ia(_0x1e97a0,'AI_QUICK_ACTIONS_CONTINUE_WRITING'),'type':'action','icon':_0x21e4f6},{'id':'fix-grammar','label':ia(_0x1e97a0,'AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING'),'type':'action','icon':_0x47a438},{'id':'adjust-length','label':ia(_0x1e97a0,'AI_QUICK_ACTIONS_ADJUST_LENGTH'),'icon':_0x53344e,'actions':[{'id':'make-shorter','label':ia(_0x1e97a0,'AI_QUICK_ACTIONS_MAKE_SHORTER'),'type':'action'},{'id':'make-longer','label':ia(_0x1e97a0,'AI_QUICK_ACTIONS_MAKE_LONGER'),'type':'action'}]},{'id':'change-tone','label':ia(_0x1e97a0,'AI_QUICK_ACTIONS_CHANGE_TONE'),'icon':_0x54b747,'actions':[{'id':'make-tone-casual','label':ia(_0x1e97a0,'AI_QUICK_ACTIONS_MORE_CASUAL'),'type':'action'},{'id':'make-tone-direct','label':ia(_0x1e97a0,'AI_QUICK_ACTIONS_MORE_DIRECT'),'type':'action'},{'id':'make-tone-friendly','label':ia(_0x1e97a0,'AI_QUICK_ACTIONS_MORE_FRIENDLY'),'type':'action'},{'id':'make-tone-confident','label':ia(_0x1e97a0,'AI_QUICK_ACTIONS_MORE_CONFIDENT'),'type':'action'},{'id':'make-tone-professional','label':ia(_0x1e97a0,'AI_QUICK_ACTIONS_MORE_PROFESSIONAL'),'type':'action'}]},{'id':'translate','label':ia(_0x1e97a0,'AI_QUICK_ACTIONS_TRANSLATE'),'icon':_0x9a63c0,'actions':[{'id':'translate-to-english','label':ia(_0x1e97a0,'AI_QUICK_ACTIONS_TRANSLATE_ENGLISH'),'type':'action','actionName':'translate','args':{'language':'english'}},{'id':'translate-to-chinese','label':ia(_0x1e97a0,'AI_QUICK_ACTIONS_TRANSLATE_CHINESE'),'type':'action','actionName':'translate','args':{'language':'chinese'}},{'id':'translate-to-spanish','label':ia(_0x1e97a0,'AI_QUICK_ACTIONS_TRANSLATE_SPANISH'),'type':'action','actionName':'translate','args':{'language':'spanish'}},{'id':'translate-to-german','label':ia(_0x1e97a0,'AI_QUICK_ACTIONS_TRANSLATE_GERMAN'),'type':'action','actionName':'translate','args':{'language':'german'}},{'id':'translate-to-french','label':ia(_0x1e97a0,'AI_QUICK_ACTIONS_TRANSLATE_FRENCH'),'type':'action','actionName':'translate','args':{'language':'french'}},{'id':'translate-to-japanese','label':ia(_0x1e97a0,'AI_QUICK_ACTIONS_TRANSLATE_JAPANESE'),'type':'action','actionName':'translate','args':{'language':'japanese'}},{'id':'translate-to-portuguese','label':ia(_0x1e97a0,'AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE'),'type':'action','actionName':'translate','args':{'language':'portuguese'}},{'id':'translate-to-korean','label':ia(_0x1e97a0,'AI_QUICK_ACTIONS_TRANSLATE_KOREAN'),'type':'action','actionName':'translate','args':{'language':'korean'}},{'id':'translate-to-italian','label':ia(_0x1e97a0,'AI_QUICK_ACTIONS_TRANSLATE_ITALIAN'),'type':'action','actionName':'translate','args':{'language':'italian'}},{'id':'translate-to-russian','label':ia(_0x1e97a0,'AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN'),'type':'action','actionName':'translate','args':{'language':'russian'}}]},{'id':'other','label':ia(_0x1e97a0,'AI_QUICK_ACTIONS_OTHER'),'icon':_0x307952,'actions':[]}];}(_0x6e3e27);}['_getDefaultAndCustomActions'](){const _0x37cb26=AIQuickActionsUI['getDefaultQuickActions'](this['editor']['locale']),_0x28f006=(this['editor']['config']['get']('ai.quickActions.extraCommands')||[])['map'](_0x55fca2=>({..._0x55fca2,'type':'chat'===_0x55fca2['type']?'chat':'action','icon':void 0x0}));return _0x37cb26['find'](_0x374682=>'other'===_0x374682['id'])['actions']['push'](..._0x28f006),_0x37cb26;}async['_initActionTypeQuickActions'](){try{const _0x51b060=new Dp({'connector':this['editor']['plugins']['get']('AIConnector'),'config':this['editor']['config']['get']('ai.models'),'locale':this['editor']['locale']}),_0x39e293=await _0x51b060['getAll'](),_0x4323be=(await _0x51b060['getDefault']())?.['id'];this['_assignDefaultModelToCustomActions'](_0x4323be),this['_enableButtonsByType']('action',_0x418a57=>!!_0x39e293['find'](_0x549903=>_0x549903['id']===_0x418a57['model'])||void 0x0===_0x418a57['model']);}catch(_0x300d10){const _0x491d75=new _0x5b5a95('ai-quick-actions-models-unable-to-retrieve',this,{'error':_0x300d10});this['_reporter']['logError'](_0x491d75);}}['_initChatTypeQuickActions'](){if(!this['editor']['plugins']['has']('AIChatController'))return;const _0x21d5b2=this['editor']['plugins']['get']('AIChatController');this['listenTo'](_0x21d5b2,'change:isConversationReady',(_0x16406e,_0x432f82,_0x1c8ce1)=>{_0x1c8ce1&&this['_enableButtonsByType']('chat',()=>!0x0);}),_0x21d5b2['isConversationReady']&&this['_enableButtonsByType']('chat',()=>!0x0);}['_enableButtonsByType'](_0x270932,_0x2603f8){this['_quickActionsDefinition']['forEach'](_0x2a93a3=>{'actions'in _0x2a93a3?_0x2a93a3['actions']['forEach'](_0xe07c56=>{_0xe07c56['type']===_0x270932&&(_0xe07c56['isEnabled']=_0x2603f8(_0xe07c56));}):_0x2a93a3['type']===_0x270932&&(_0x2a93a3['isEnabled']=_0x2603f8(_0x2a93a3));}),this['_actionButtons']['forEach'](_0x249c43=>{if(Sb(_0x249c43['action']))return;if(_0x249c43['action']['type']!==_0x270932)return;const _0x1c260d=_0x2603f8(_0x249c43['action']);if(_0x249c43['action']['isEnabled']=_0x1c260d,_0x249c43['buttonView']['isEnabled']=_0x1c260d,!_0x1c260d&&_0x249c43['action']['model']){const _0x5a1a52=new _0x5b5a95('ai-quick-actions-unavailable-model',this,{'actionId':_0x249c43['action']['id'],'modelId':_0x249c43['action']['model']});this['_reporter']['logError'](_0x5a1a52);}}),this['_actionButtons']['filter'](_0x549413=>Sb(_0x549413['action']))['forEach'](_0x418825=>{_0x418825['buttonView']['isEnabled']=_0x418825['action']['actions']['some'](_0x266a68=>_0x266a68['isEnabled']);}),this['_menuBarGroupViews']['forEach'](({view:_0x2adbc2,group:_0x27fb5a})=>{_0x2adbc2['isEnabled']=_0x27fb5a['actions']['some'](_0x6b7ebd=>_0x6b7ebd['isEnabled']);});}['_assignDefaultModelToCustomActions'](_0x45cbb1){this['_actionButtons']['forEach'](_0x38badc=>{Sb(_0x38badc['action'])||'action'===_0x38badc['action']['type']&&(_0x38badc['action']['model']||(_0x38badc['action']['model']=_0x45cbb1));});}['_initializeQuickActionsComponentsAndCommands'](){const _0x4aeceb=new _0x43f1f4(this['editor']['locale']);_0x4aeceb['attachToDom'](),this['_initializeQuickActionsDropdown'](_0x4aeceb),this['_initializeQuickActionsMenuBar'](),this['_initializeQuickActionsComponents'](_0x4aeceb);}['_initializeQuickActionsDropdown'](_0x353673){const _0x30f145=this['editor']['config']['get']('ai.quickActions.isSearchEnabled')??!0x0;this['editor']['ui']['componentFactory']['add']('aiQuickActions',yb({'editor':this['editor'],'content':this['_quickActionsDefinition'],'buttonDefinition':{'icon':_0x500889,'label':ia(this['editor']['locale'],'AI_QUICK_ACTIONS_HEADING')},'bodyCollection':_0x353673,'hasSearch':_0x30f145,'actionButtons':this['_actionButtons']}));}['_prepareQuickActionsDefinition'](_0x139371){this['_quickActionsDefinition']=_0x139371['map'](_0x4edc84=>{if('actions'in _0x4edc84){const _0x37428f=_0x4edc84;return{..._0x37428f,'actions':_0x37428f['actions']['map'](_0x5c9497=>{const {actions:_0x1e9f2a,..._0xab9e78}=_0x37428f;return{..._0x5c9497,'isEnabled':!0x1,'parent':_0xab9e78};})['filter'](_0x2eb03c=>this['_shouldIncludeAction'](_0x2eb03c))};}return{..._0x4edc84,'isEnabled':!0x1};})['filter'](_0x4aabf7=>'actions'in _0x4aabf7?_0x4aabf7['actions']['length']>0x0:this['_shouldIncludeAction'](_0x4aabf7));}['_shouldIncludeAction'](_0x2f2f12){const _0x59c882=this['editor']['config']['get']('ai.quickActions.removeCommands')||[];return this['editor']['plugins']['has'](Tb[_0x2f2f12['type']])&&!_0x59c882['includes'](_0x2f2f12['id'])&&!('chat'===_0x2f2f12['type']&&!0x1===this['editor']['config']['get']('ai.chat.context.document.enabled'));}['_initializeQuickActionsComponents'](_0x4ce243){this['_quickActionsDefinition']['forEach'](_0x560d91=>{if('actions'in _0x560d91){const _0x4d8266=yb({'editor':this['editor'],'content':_0x560d91['actions'],'buttonDefinition':_0x560d91,'bodyCollection':_0x4ce243,'actionButtons':this['_actionButtons']});this['editor']['ui']['componentFactory']['add'](_0x560d91['id'],_0x4d8266),_0x560d91['actions']['forEach'](_0x1e4958=>{const _0x166c34=mb({'editor':this['editor'],'action':_0x1e4958,'actionButtons':this['_actionButtons']});this['editor']['ui']['componentFactory']['add'](_0x1e4958['id'],_0x166c34);});}else{const _0x123473=mb({'editor':this['editor'],'action':_0x560d91,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1,'actionButtons':this['_actionButtons']});this['editor']['ui']['componentFactory']['add'](_0x560d91['id'],_0x123473);}});}['_initializeQuickActionsMenuBar'](){this['editor']['ui']['componentFactory']['add']('menuBar:aiQuickActions',_0x3a95a5=>{const _0x5295ee=this['editor']['commands']['get']('aiQuickAction'),_0x4a6408=new _0x4108b4(_0x3a95a5),_0x3ad542=ia(_0x3a95a5,'AI_QUICK_ACTIONS_HEADING');_0x4a6408['buttonView']['set']({'label':_0x3ad542,'icon':_0x500889});const _0x160646=new _0x14375b(_0x3a95a5);return _0x160646['set']({'ariaLabel':_0x3ad542,'role':'menu'}),this['_quickActionsDefinition']['forEach'](_0x3f3a20=>{if('actions'in _0x3f3a20){const _0x560722=_0x3f3a20,_0x195f21=new _0x2b149f(_0x3a95a5,_0x4a6408),_0x102be2=new _0x4108b4(_0x3a95a5),_0xfe4d09=new _0x14375b(_0x3a95a5);_0x102be2['buttonView']['set']({'label':_0x560722['label'],'icon':_0x560722['icon']}),_0x560722['actions']['forEach'](_0x36330c=>{const _0x156915=new _0x2b149f(_0x3a95a5,_0x102be2),_0x229b04=new _0x3dd6ab(_0x3a95a5);_0x229b04['set']({'label':_0x36330c['label'],'icon':_0x36330c['icon'],'role':'menuitem','isEnabled':_0x36330c['isEnabled']}),_0x229b04['on']('execute',()=>{this['_executeQuickAction'](_0x36330c);}),this['_actionButtons']['push']({'buttonView':_0x229b04,'action':_0x36330c}),_0x229b04['delegate']('execute')['to'](_0x102be2),_0x156915['children']['add'](_0x229b04),_0xfe4d09['items']['add'](_0x156915);}),_0x102be2['isEnabled']=_0x560722['actions']['some'](_0x197778=>_0x197778['isEnabled']),this['_menuBarGroupViews']['push']({'view':_0x102be2,'group':_0x560722}),_0x102be2['panelView']['children']['add'](_0xfe4d09),_0x195f21['children']['add'](_0x102be2),_0x160646['items']['add'](_0x195f21);}else{const _0x203646=_0x3f3a20,_0x8dcbd6=new _0x2b149f(_0x3a95a5,_0x4a6408),_0x593f5c=new _0x3dd6ab(_0x3a95a5);_0x593f5c['set']({'label':_0x203646['label'],'icon':_0x203646['icon'],'role':'menuitem','isEnabled':_0x203646['isEnabled']}),this['_actionButtons']['push']({'buttonView':_0x593f5c,'action':_0x203646}),_0x593f5c['on']('execute',()=>{this['_executeQuickAction'](_0x203646);}),_0x593f5c['delegate']('execute')['to'](_0x4a6408),_0x8dcbd6['children']['add'](_0x593f5c),_0x160646['items']['add'](_0x8dcbd6);}}),Object['values'](Tb)['some'](_0x4b984e=>this['editor']['plugins']['has'](_0x4b984e))?_0x4a6408['bind']('isEnabled')['to'](_0x5295ee):_0x4a6408['set']({'isEnabled':!0x1}),_0x4a6408['panelView']['children']['add'](_0x160646),_0x4a6408;});}['_executeQuickAction'](_0x4fc309){const _0x30209c=this['editor'];_0x30209c['editing']['view']['focus'](),_0x30209c['commands']['execute']('aiQuickAction',_0x4fc309);const _0x4842cd=_0x30209c['ui']['view']['menuBarView'];_0x4842cd&&_0x4842cd['close']&&_0x4842cd['close']();}};function Sb(_0x7f587a){return'actions'in _0x7f587a;}function Ib(_0x274cd5,_0x35d86f){const _0x415e83=_0x274cd5['plugins']['get']('AITabs')['view'];_0x415e83['isVisible']=!0x0,_0x415e83['activateTab'](_0x35d86f);}var kb=class extends _0x32be70{['execute'](_0x342357){switch(this['_expandSelectionIfCollapsed'](),_0x342357['type']){case'chat':if(!this['editor']['plugins']['has']('AIChat')){const _0x48c4f2=ia(this['editor']['locale'],'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIChat');throw new _0x5b5a95('ai-quick-actions-plugin-not-found',this['editor'],{'errorMessage':_0x48c4f2});}this['_handleAIChatAction'](_0x342357);break;case'action':if(!this['editor']['plugins']['has']('AIActions')){const _0x1e20af=ia(this['editor']['locale'],'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIActions');throw new _0x5b5a95('ai-quick-actions-plugin-not-found',this['editor'],{'errorMessage':_0x1e20af});}this['_handleAIActionsAction'](_0x342357);}}async['_handleAIChatAction'](_0x35affd){const _0x4c2346=this['editor']['plugins']['get']('AIChatController');if(Ib(this['editor'],'chat'),'ask-ai'===_0x35affd['id'])_0x4c2346['removeSelectionFromChatContext'](),_0x4c2346['addSelectionToChatContext'](this['editor']),_0x4c2346['focusPromptInput']();else await _0x4c2346['startConversation']({'modelId':_0x35affd['model']}),_0x4c2346['removeSelectionFromChatContext'](),_0x4c2346['addSelectionToChatContext'](this['editor']),_0x4c2346['focusPromptInput'](),await _0x4c2346['sendMessage']({'message':_0x35affd['prompt']||_0x35affd['displayedPrompt']||_0x35affd['label'],'attributes':{'quickActionData':{'id':_0x35affd['id']},'displayedPrompt':_0x35affd['displayedPrompt']}});}['_expandSelectionIfCollapsed'](){const _0xefcb2f=this['editor'],_0x566620=_0xefcb2f['model']['document']['selection'];if(!_0x566620['isCollapsed'])return;const _0x9a7234=_0x26105c(_0x566620['getSelectedBlocks']())||_0xefcb2f['model']['schema']['getLimitElement'](_0x566620);_0xefcb2f['model']['change'](_0x253507=>{_0x253507['setSelection'](_0x9a7234,'in');});}['_handleAIActionsActionLabel'](_0x386d41){return _0x386d41['parent']?.['label']&&'other'!==_0x386d41['parent']?.['id']?_0x386d41['parent']['label']+':\x20'+_0x386d41['label']:_0x386d41['label'];}async['_handleAIActionsAction'](_0x3224d4){const _0x5e09bd=this['editor']['plugins']['get']('AIActions'),_0x36a01e=_0x3224d4['prompt']?{'userMessage':_0x3224d4['prompt'],'model':_0x3224d4['model']}:{'actionName':_0x3224d4['actionName']||_0x3224d4['id'],'args':_0x3224d4['args']},_0x59e17b=this['_handleAIActionsActionLabel'](_0x3224d4);await _0x5e09bd['executeAction'](_0x36a01e,_0x59e17b,_0x3224d4['icon']);}},xb=class extends _0x36b920{static get['pluginName'](){return'AIQuickActionsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x57d824=this['editor'],_0xa8154f=new kb(this['editor']);if(_0x57d824['commands']['add']('aiQuickAction',_0xa8154f),_0x57d824['plugins']['has']('AIChat')){const _0x98ee87=this['editor']['plugins']['get']('AIChatController');_0x57d824['model']['document']['selection']['on']('change:range',(_0x46c86f,_0x454211)=>{_0x454211['directChange']&&_0x98ee87['removeSelectionFromChatContext']();});}}},Cb=class extends tg{['appendContent'](_0x3ca494,_0x310e1c='text'){'modification'===this['type']&&'text'===_0x310e1c&&(_0x310e1c=this['documentContextContent']['keys']()['next']()['value']),super['appendContent'](_0x3ca494,_0x310e1c);}['updateChangeGroups'](_0x80eb22){const _0x43a9a2=this['parsedContent']['get'](_0x80eb22)['cloneNode'](!0x0);if(this['parsedMergedContent']['set'](_0x80eb22,_0x43a9a2),this['changeGroups']=[],0x0==_0x43a9a2['childNodes']['length'])return;tp(this['documentContextContent']['get'](_0x80eb22),this['parsedMergedContent']['get'](_0x80eb22));const _0x20b200=Yd(this['documentContextContent']['get'](_0x80eb22)['children']['map'](_0x26bb9d=>({'node':_0x26bb9d,'id':Fm(_0x26bb9d,'data-id')})),_0x43a9a2['children']['map'](_0x54142e=>({'node':_0x54142e,'id':Fm(_0x54142e,'data-id')||_0x10825a()})),{'comparator':(_0xb2dbce,_0xaab5e2)=>_0xb2dbce['id']==_0xaab5e2['id'],'oneChangePerToken':!0x0});if(!this['isDone']||!this['isComplete']){for(;_0x20b200['length']&&_0x20b200[_0x20b200['length']-0x1]['removed'];)_0x20b200['pop']();}const _0x3b85bc=_0x20b200['map'](_0x379384=>{const _0x4ad3b0=_0x379384['added']?'new':_0x379384['removed']?'removed':'modified';return{'node':_0x379384['value'][0x0]['node'],'type':_0x4ad3b0,'id':_0x379384['value'][0x0]['id']};}),_0x48376d=this['_documentIdToSource']['get'](_0x80eb22);this['changeGroups']['push']({'changes':_0x3b85bc,'state':'pending','index':this['changeGroups']['length'],'editor':_0x48376d['editor'],'rootName':_0x48376d['rootName'],'documentId':_0x80eb22});}['_getDifferentChangeGroups'](_0x56ace3,_0x5c15a2){return _0x5c15a2;}},Rb=class extends sg{['content'];['version'];['editor'];['rootName'];['actionName'];['args'];['userMessage'];['model'];['hasError']=!0x1;['stoppedExplicitly']=!0x1;constructor(_0x34eda1){super(_0x34eda1),this['content']=_0x34eda1['content'],this['version']=_0x34eda1['version'],this['editor']=_0x34eda1['editor'],this['rootName']=_0x34eda1['rootName'],this['actionName']=_0x34eda1['actionName'],this['args']=_0x34eda1['args'],this['userMessage']=_0x34eda1['userMessage'],this['model']=_0x34eda1['model'],this['on']('interactionStopped',()=>{this['stoppedExplicitly']=!0x0;});}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':'document','documents':[{'id':this['id'],'content':this['content'],'version':this['version'],'rootName':this['rootName'],'sessionId':_0x10825a(),'channelId':this['editor']['config']['get']('collaboration.channelId')}],'label':'Current\x20document','uiId':'current-document'};}['createReply'](_0x595566){const _0x2aeb0a=this['editor']['config']['get']('collaboration.channelId'),_0x73edd3=new Cb({..._0x595566,'locale':this['locale'],'documentContextContent':[{'id':this['id'],'content':this['content'],'channelId':_0x2aeb0a,'rootName':this['rootName']}],'channelsToEditors':new Map([[_0x2aeb0a,this['editor']]])});return this['replies']['push'](_0x73edd3),_0x73edd3['delegate'](...ig)['to'](this),this['fire']('replyCreated',_0x73edd3),_0x73edd3;}},Pb=class extends _0x2c86da{constructor(_0x216fa1,_0x1023d4=!0x0,_0x47c70b=!0x0){super(_0x216fa1),this['set']('isEnabled',!0x1),_0x1023d4&&(this['applyButton']=this['_createButton'](ia(_0x216fa1,'AI_BALLOON_APPLY_BUTTON'),qp),this['applyButton']['bind']('isEnabled')['to'](this),this['items']['add'](this['applyButton'])),_0x47c70b&&(this['suggestButton']=this['_createButton'](ia(_0x216fa1,'AI_BALLOON_SUGGEST_BUTTON'),_0x1023d4?Wp:qp),this['suggestButton']['bind']('isEnabled')['to'](this),this['items']['add'](this['suggestButton'])),this['setButtonsVisibility']({'showApplyButton':_0x1023d4,'showSuggestButton':_0x47c70b}),this['extendTemplate']({'attributes':{'class':['ck-ai-balloon__toolbar']}});}['setButtonsVisibility']({showApplyButton:_0x306d93,showSuggestButton:_0x3fcc66}){this['applyButton']&&(this['applyButton']['isVisible']=_0x306d93),this['suggestButton']&&(this['suggestButton']['isVisible']=_0x3fcc66);}['_createButton'](_0x14331f,_0x1d21b2){const _0x385fe7=new _0x47ddb0(this['locale']);return _0x385fe7['set']({'label':_0x14331f,'class':_0x1d21b2,'isVisible':!0x0,'withText':!0x0}),_0x385fe7;}},Mb=class extends _0x2df468{constructor(_0x4e8102){super(_0x4e8102),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-balloon__disclaimer']},'children':[{'tag':'p','attributes':{'class':['ck','ck-ai-balloon__disclaimer-content']},'children':[{'text':ia(_0x4e8102,'AI_DISCLAIMER_TEXT')}]}]});}},Nb=class extends _0x2df468{constructor(_0x4e9409){super(_0x4e9409),this['set']('isVisible',!0x0);const _0x20512d=new cO('small');_0x20512d['isVisible']=!0x0;const _0x2ecca3=new _0x2df468(this['locale']);_0x2ecca3['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__loader-text']},'children':[ia(this['locale'],'AI_CHAT_IS_WRITING')]}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__loader',this['bindTemplate']['if']('isVisible','ck-hidden',_0x4ef35d=>!_0x4ef35d)]},'children':[_0x20512d,_0x2ecca3]});}},Lb=class extends ob{['focusCycler'];['_config'];['_contentWrapper'];['_streamableContentView'];['_toolbarView'];['_miniToolbarView'];['_loaderView'];['_disclaimerView'];['_focusTracker'];['_keystrokes'];['_dialogContent'];['_focusables'];['_scrollManager'];['_miniToolbarResizeObserver'];['_navigationPreviousButton'];['_navigationNextButton'];['_navigationTryAgainButton'];['_navigationCounter'];constructor(_0x2a1ec4,_0x18aacc){super(_0x2a1ec4),this['set']('isBusy',!0x1),this['set']('isTrackChangesOn',!0x1),this['set']('_isLoading',!0x1),this['set']('_hasError',!0x1),this['_config']=_0x18aacc,this['_focusTracker']=new _0x33fa41(),this['_keystrokes']=new _0x491b26(),this['_focusables']=this['createCollection'](),this['focusCycler']=new _0x1a2844({'focusables':this['_focusables'],'focusTracker':this['_focusTracker'],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['_dialogContent']=new _0xa445c9(),this['_addContentWrapper'](_0x18aacc),this['_addDisclaimerView'](),this['_addToolbar'](_0x18aacc),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'](_0x18aacc);}),this['on']('render',()=>{this['_setupMiniToolbarPositioning']();});}['render'](){super['render']();for(const _0x7bdc2e of this['_focusables'])this['_focusTracker']['add'](_0x7bdc2e['element']);this['_keystrokes']['listenTo'](this['element']),this['_initializeScrollManager']();}['destroy'](){super['destroy'](),this['_scrollManager']&&this['_scrollManager']['destroy'](),this['_miniToolbarResizeObserver']&&this['_miniToolbarResizeObserver']['destroy']();}['focus'](_0x3c438c){-0x1===_0x3c438c?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['setIsLoading'](_0x269143){this['_isLoading']=_0x269143;}['setErrorState'](){this['_hasError']=!0x0,this['_miniToolbarView']['toggleShowChangesEnabled'](!0x1);}['clearErrorState'](){this['_hasError']=!0x1,this['_miniToolbarView']['toggleShowChangesEnabled'](!0x0);}['showError'](_0x2a8482){super['showError'](_0x2a8482),this['_dialogContent']['has'](this['_errorView'])||this['_dialogContent']['add'](this['_errorView'],0x0);}['hideError'](){super['hideError'](),this['clearErrorState']();}['showBlockingError'](_0x49ee19){super['showBlockingError'](_0x49ee19),this['setErrorState']();}['addMiniToolbarItem'](_0x2c6391){this['_miniToolbarView']['items']['has'](_0x2c6391)||this['_miniToolbarView']['items']['add'](_0x2c6391);}['removeMiniToolbarItem'](_0x5bff54){this['_miniToolbarView']['items']['has'](_0x5bff54)&&this['_miniToolbarView']['items']['remove'](_0x5bff54);}['showLoader'](){this['_loaderView']&&(this['_isLoading']=!0x0);}['hideLoader'](){this['_loaderView']&&(this['_isLoading']=!0x1);}['_toggleToolbarButtonsVisibility']({showApplyButton:_0x2d3e61,showSuggestButton:_0x3acf92}){_0x2d3e61=_0x2d3e61&&!this['isTrackChangesOn']&&this['_config']['availableActions']['includes']('applySuggestion'),_0x3acf92=_0x3acf92&&this['_config']['availableActions']['includes']('insertSuggestion'),this['_toolbarView']['setButtonsVisibility']({'showApplyButton':_0x2d3e61,'showSuggestButton':_0x3acf92});}async['updateContent'](_0x4b0563){await this['_streamableContentView']['update'](_0x4b0563);}['finalizeContent'](){this['_streamableContentView']['cleanUpStreamingArtifacts']();}['clearContent'](){this['_streamableContentView']['clear']();}['_addContentWrapper'](_0xce7396){this['_contentWrapper']=new _0x2df468(this['locale']),this['_contentWrapper']['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-actions-balloon-content',this['bindTemplate']['if']('_isErrorVisible','ck-hidden')]},'children':[{'tag':'div','attributes':{'class':['ck-ai-actions-balloon-content-wrapper']},'children':[this['_createLoaderView'](),this['_createStreamableContentView']()]},this['_createMiniToolbar'](_0xce7396['miniToolbarConfig'])]}),this['_dialogContent']['add'](this['_contentWrapper']);}['_addDisclaimerView'](){this['_disclaimerView']=new Mb(this['locale']),this['_dialogContent']['add'](this['_disclaimerView']);}['_addToolbar']({showApplyButton:_0x179570,showSuggestButton:_0x577cca}){this['_toolbarView']=new Pb(this['locale'],_0x179570,_0x577cca),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',(_0x4381d4,_0x512978,_0x2a541b)=>!(_0x4381d4||_0x512978||_0x2a541b)),this['_toggleToolbarButtonsVisibility']({'showApplyButton':_0x179570,'showSuggestButton':_0x577cca}),this['_dialogContent']['add'](this['_toolbarView']);}['_createMiniToolbar'](_0x594e0c){return this['_miniToolbarView']=new lb(this['locale'],_0x594e0c),this['_miniToolbarView']['delegate'](...wg)['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',(_0x5ccfe1,_0x5a4191)=>!(_0x5ccfe1||_0x5a4191)),this['_miniToolbarView'];}['_createLoaderView'](){return this['_loaderView']=new Nb(this['locale']),this['_loaderView']['bind']('isVisible')['to'](this,'_isLoading'),this['_loaderView'];}['_createStreamableContentView'](){return this['_streamableContentView']=new Gg(this['locale']),this['_streamableContentView'];}['_setupMiniToolbarButtons'](){const _0x447e63=new _0x47ddb0(this['locale']),_0x4869a8=new _0x47ddb0(this['locale']),_0x136a07=new $b(this['locale']),_0xda3f7=new _0x47ddb0(this['locale']);_0x447e63['set']({'icon':zt,'label':ia(this['locale'],'AI_ACTIONS_TRY_AGAIN'),'tooltip':!0x0,'class':'ck-ai-custom-action-button\x20'+zp}),_0x4869a8['set']({'icon':qt,'tooltip':ia(this['locale'],'AI_ACTIONS_PREVIOUS_INTERACTION'),'class':'ck-ai-navigation-button\x20ck-ai-previous-button\x20'+zp}),_0xda3f7['set']({'icon':Nt,'tooltip':ia(this['locale'],'AI_ACTIONS_NEXT_INTERACTION'),'class':'ck-ai-navigation-button\x20ck-ai-next-button\x20'+zp}),_0x447e63['bind']('isEnabled')['to'](this,'isBusy',_0x1df45d=>!_0x1df45d),_0x447e63['on']('execute',()=>{this['fire']('tryAgain');}),_0x4869a8['bind']('isEnabled')['to'](this,'isBusy',_0x51a956=>!_0x51a956),_0x4869a8['on']('execute',()=>{this['fire']('showPrevious');}),_0xda3f7['bind']('isEnabled')['to'](this,'isBusy',_0x1adfc8=>!_0x1adfc8),_0xda3f7['on']('execute',()=>{this['fire']('showNext');}),this['_navigationPreviousButton']=_0x4869a8,this['_navigationCounter']=_0x136a07,this['_navigationNextButton']=_0xda3f7,this['_navigationTryAgainButton']=_0x447e63;}['updateMiniToolbarButtons'](_0x22d3ea,_0x157289){this['_navigationPreviousButton']||this['_setupMiniToolbarButtons']();const _0x28690e=_0x22d3ea>0x1;if(this['addMiniToolbarItem'](this['_navigationTryAgainButton']),_0x28690e){this['addMiniToolbarItem'](this['_navigationPreviousButton']),this['addMiniToolbarItem'](this['_navigationCounter']),this['addMiniToolbarItem'](this['_navigationNextButton']);const _0x53bce6=_0x22d3ea-_0x157289;this['_navigationCounter']['setInteractionCount'](_0x53bce6+'/'+_0x22d3ea),this['_navigationPreviousButton']['isEnabled']=_0x157289<_0x22d3ea-0x1,this['_navigationNextButton']['isEnabled']=_0x157289>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'](_0xd8c345){this['_isLoading']=_0xd8c345;}['resetShowChangesButton'](){this['_miniToolbarView']['isShowChangesOn']=!0x1;}['_setupMiniToolbarPositioning'](){const _0x142584=this['_streamableContentView']['element'],_0x24ebf2=this['_miniToolbarView']['element'],_0x3e6b89=()=>{_0x22955f['window']['requestAnimationFrame'](()=>{const _0x4d7a30=_0x142584['offsetWidth']-_0x142584['clientWidth'];_0x24ebf2['style']['right']='calc('+_0x4d7a30+'px\x20+\x20var(--ck-spacing-large))';});};_0x3e6b89(),this['_miniToolbarResizeObserver']=new _0x5c4e05(_0x142584,()=>{_0x3e6b89();});}['_initializeScrollManager'](){const _0x5668ec=this['_getScrollableElement']();_0x5668ec&&!this['_scrollManager']&&(this['_scrollManager']=new NO(_0x5668ec));}['_getScrollableElement'](){return this['_streamableContentView']['element'];}},$b=class extends _0x2df468{constructor(_0x2acea0){super(_0x2acea0);const _0x4abd14=this['bindTemplate'];this['set']('interactionCount','1/1'),this['setTemplate']({'tag':'span','attributes':{'class':['ck-ai-interaction-counter']},'children':[{'text':_0x4abd14['to']('interactionCount')}]});}['setInteractionCount'](_0x369a9e){this['set']('interactionCount',_0x369a9e);}},Db=class extends _0x36b920{static get['requires'](){return[ea,Gp,_0x5cd402,aa,cb,tf];}static get['pluginName'](){return'AIActions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_aiConnector'];['_interactions']=[];['_currentInteractionIndex']=0x0;['_interactionParams'];['_balloonShowDiff']=!0x1;['_promiseQueue'];get['_interaction'](){return this['_interactions'][this['_interactions']['length']-0x1];}['_actionsBalloonView'];['_reporter'];constructor(_0x37999f){super(_0x37999f),this['_aiConnector']=this['editor']['plugins']['get']('AIConnector'),this['_reporter']=this['editor']['plugins']['get'](Gp)['createReporter']('aiactions'),this['set']('isBusy',!0x1),this['_promiseQueue']=new Kg();}['stopInteraction'](){this['_stopInteraction']();}async['executeAction'](_0x197cd9,_0x3f897b,_0x211c1d){if(this['_stopInteraction'](),this['editor']['plugins']['has']('TableSelection')&&this['editor']['plugins']['get']('TableSelection')['getSelectedTableCells']()){const {modelFragment:_0x7801aa,anchorData:_0x38b8cc,root:_0xcafa3b}=this['_getExecuteDataInTable']();return this['_executeAction'](_0x197cd9,_0x7801aa,_0x38b8cc,_0xcafa3b,_0x3f897b,_0x211c1d);}const {modelFragment:_0x1d4d05,anchorData:_0x92f9a3,root:_0x27c56a}=this['_getExecuteDataRegular']();return this['_executeAction'](_0x197cd9,_0x1d4d05,_0x92f9a3,_0x27c56a,_0x3f897b,_0x211c1d);}async['destroy'](){return this['_stopInteraction'](),super['destroy']();}['_createActionsBalloonView'](){const _0x4b74a6=this['editor']['plugins']['has']('TrackChanges');let _0x4ee7a3=this['editor']['config']['get']('ai.availableReplyActions')||[...tO];_0x4b74a6||(_0x4ee7a3=_0x4ee7a3['filter'](_0x36e49c=>'insertSuggestion'!=_0x36e49c));const _0x18369a=this['editor']['commands']['get']('trackChanges'),_0x4314e9=new Lb(this['editor']['locale'],{'showApplyButton':!0x0,'showSuggestButton':_0x4b74a6,'miniToolbarConfig':{'showChanges':'icon'},'availableActions':_0x4ee7a3});return _0x4314e9['bind']('isBusy')['to'](this),_0x18369a&&_0x4314e9['bind']('isTrackChangesOn')['to'](_0x18369a,'value'),_0x4314e9['on']('tryAgain',()=>{this['_refreshInteraction']();}),_0x4314e9['on']('showPrevious',()=>{this['_navigateToPrevious']();}),_0x4314e9['on']('showNext',()=>{this['_navigateToNext']();}),_0x4314e9;}['_normalizeSelectionStart'](){const _0x5aeb18=this['editor']['model'],_0xe962b2=_0x5aeb18['document']['selection'],_0x175163=_0xe962b2['getFirstRange']();if(!_0x175163||_0x175163['isCollapsed'])return;const _0x53cb12=_0x26105c(_0xe962b2['getSelectedBlocks']());if(!_0x53cb12)return;const _0x43b9e2=_0x5aeb18['createPositionAt'](_0x53cb12,0x0);_0x43b9e2['isAfter'](_0x175163['start'])&&_0x5aeb18['change'](_0x357ee2=>{_0x357ee2['setSelection'](_0x357ee2['createRange'](_0x43b9e2,_0x175163['end']));});}['_getExecuteDataRegular'](){const _0x1cac16=this['editor']['model']['document']['selection'],_0x14345d=_0x1cac16['getFirstRange']()['start']['root'];if(_0x1cac16['isCollapsed']){const _0x2ff46c=_0x26105c(_0x1cac16['getSelectedBlocks']())||this['editor']['model']['schema']['getLimitElement'](_0x1cac16);this['editor']['model']['change'](_0x12ae3c=>{_0x12ae3c['setSelection'](_0x2ff46c,'in');});}this['_normalizeSelectionStart']();const _0x251977=_0x1cac16['getFirstRange'](),_0x1c9bce=this['_wrapWithCommonAncestors'](this['editor']['model']['getSelectedContent'](_0x1cac16),_0x251977['start'],_0x251977['end']);this['_copyMarkersToFragment'](_0x1c9bce,_0x1cac16,{'isTableSelection':!0x1});const _0x47a954=_0x1cac16['getFirstRange']()['start'],_0x3100b4=new Map();let _0x559644=_0x1c9bce;for(let _0x1667b6=0x0;_0x1667b6<_0x47a954['path']['length'];_0x1667b6++)_0x3100b4['set'](_0x559644,_0x47a954['path'][_0x1667b6]),_0x559644=_0x559644['getChild'](0x0);return{'modelFragment':_0x1c9bce,'anchorData':_0x3100b4,'root':_0x14345d};}['_getExecuteDataInTable'](){const _0x35d230=this['editor']['model']['document']['selection'],_0x37aa6f=this['editor']['plugins']['get']('TableSelection'),_0xa5b4e0=_0x35d230['getFirstRange']()['start']['root'],_0x59868c=_0x37aa6f['getSelectionAsFragment'](),_0x3d6c83=_0x35d230['getFirstRange']()['start']['parent']['parent'],_0x5e6ce9=this['editor']['model']['createRange'](this['editor']['model']['createPositionBefore'](_0x3d6c83),this['editor']['model']['createPositionAfter'](_0x3d6c83)),_0x1e2320=this['_wrapWithCommonAncestors'](_0x59868c,_0x5e6ce9['start'],_0x5e6ce9['end']);this['_copyMarkersToFragment'](_0x1e2320,_0x35d230,{'isTableSelection':!0x0});const _0x2a74af=_0x35d230['getFirstRange']()['start'],_0x281780=new Map();let _0x46a4b0=_0x1e2320;for(let _0x3c6144=0x0;_0x3c6144<_0x2a74af['path']['length'];_0x3c6144++)if(_0x281780['set'](_0x46a4b0,_0x2a74af['path'][_0x3c6144]),_0x3c6144<_0x2a74af['path']['length']-0x1)_0x46a4b0=_0x46a4b0['getChild'](0x0);else{let _0x42ad3e=_0x46a4b0['nextSibling'];for(;_0x42ad3e;)_0x281780['set'](_0x42ad3e,_0x2a74af['path'][_0x3c6144]),_0x42ad3e=_0x42ad3e['nextSibling'];}return{'modelFragment':_0x1e2320,'anchorData':_0x281780,'root':_0xa5b4e0};}async['_executeAction'](_0x598f43,_0x2a898a,_0x1cd454,_0x10ece4,_0x16c129,_0x45e58c){const _0xae7bd0=this['editor']['plugins']['get'](aa),_0x38f988=this['editor']['plugins']['get'](cb),_0x18e934=this['editor']['model']['document']['selection'],_0x30009e=await _0xae7bd0['modelToDataWithIds'](_0x2a898a,this['editor']),_0x489727=this['editor']['model']['document']['version'],_0x3201c5=[..._0x18e934['getRanges']()];return this['_actionsBalloonView']||(this['_actionsBalloonView']=this['_createActionsBalloonView']()),this['_clearInteractionHistory'](),this['_clearErrorState'](),this['_balloonShowDiff']=!0x1,this['_actionsBalloonView']['resetShowChangesButton'](),this['_actionsBalloonView']['clearContent'](),_0x38f988['open']({'targetEditor':this['editor'],'index':0x3e8*Math['random']()%0x3e8,'title':_0x16c129,'icon':_0x45e58c||_0x500889,'mainView':this['_actionsBalloonView'],'class':'ck-ai-actions-balloon','ranges':_0x3201c5,'id':'aiActionsBalloon'}),this['_setLoadingState'](),this['stopListening'](this['_actionsBalloonView']),this['stopListening'](_0x38f988),this['_interactionParams']={'action':_0x598f43,'content':_0x30009e,'version':_0x489727,'aiBalloon':_0x38f988,'modelFragment':_0x2a898a,'anchorData':_0x1cd454,'root':_0x10ece4},this['_setupApplyListeners'](),this['listenTo'](_0x38f988,'selectionRemoved',()=>{this['_stopInteraction'](),this['_actionsBalloonView']['disableMiniToolbarButtons']();}),this['listenTo'](_0x38f988,'dialogClosed',(_0x2daf2c,{id:_0xc747f5})=>{if('aiActionsBalloon'===_0xc747f5){for(const _0x343b07 of this['_interactions']){if(0x0===_0x343b07['replies']['length']||_0x343b07['stoppedExplicitly'])continue;const _0x5ec198=_0x343b07['replies'][_0x343b07['replies']['length']-0x1],_0x42f2e3=_0x5ec198['changeGroups'][0x0];_0x42f2e3&&'pending'===_0x42f2e3['state']&&_0x5ec198['setChangeGroupState'](0x0,'rejected');}this['_stopInteraction'](),this['_clearInteractionHistory'](),this['stopListening'](this['_actionsBalloonView']),this['stopListening'](_0x38f988);}}),this['_createInteraction'](_0x30009e,_0x489727,_0x38f988,_0x598f43);}['_setupApplyListeners'](){if(!this['_interactionParams'])return;const {modelFragment:_0x5364d1,anchorData:_0x18f9f8,root:_0xe3139}=this['_interactionParams'];this['listenTo'](this['_actionsBalloonView'],'applySuggestion',()=>{this['_applyChanges'](_0x5364d1,_0x18f9f8,_0xe3139,!0x1);}),this['listenTo'](this['_actionsBalloonView'],'insertSuggestion',()=>{this['_applyChanges'](_0x5364d1,_0x18f9f8,_0xe3139,!0x0);});}['_wrapWithCommonAncestors'](_0xe61243,_0x3b125d,_0x432a24){const _0x4a0fea=this['editor']['model']['createRange'](_0x3b125d,_0x432a24)['getCommonAncestor'](),_0x132b6f=_0x4a0fea['is']('documentFragment')?[]:_0x4a0fea['getAncestors']({'includeSelf':!0x0})['slice'](0x1);if(_0x132b6f['length']){const _0x47a82e=_0x132b6f['map'](_0x269494=>_0x269494['_clone'](!0x1));for(let _0x458baa=0x1;_0x458baa<_0x47a82e['length'];_0x458baa++)_0x47a82e[_0x458baa-0x1]['_appendChild'](_0x47a82e[_0x458baa]);return _0x47a82e[_0x47a82e['length']-0x1]['_appendChild'](_0xe61243),new _0x14f25f(_0x47a82e[0x0]);}return _0xe61243;}['_copyMarkersToFragment'](_0x252bc4,_0x152b33,_0x3e072a={'isTableSelection':!0x1}){const _0x341d7c=this['editor']['model'],_0x3ec783=Array['from'](_0x152b33['getRanges']()),_0x5e3395=_0x152b33['getFirstRange']()['start'];for(const _0x510052 of _0x341d7c['markers']){if(_0x510052['name']['startsWith']('ai-selection')||!_0x510052['affectsData'])continue;const _0x17ee7b=_0x510052['getRange']();if(!_0x3ec783['some'](_0x3b7689=>_0x3b7689['containsRange'](_0x17ee7b,!0x0)))continue;const _0x4d3e71=this['_regularCalculateMarkerPath'](_0x17ee7b['start'],_0x5e3395,_0x3e072a['isTableSelection']),_0x154c00=this['_regularCalculateMarkerPath'](_0x17ee7b['end'],_0x5e3395,_0x3e072a['isTableSelection']),_0x49d11c=_0x341d7c['createPositionFromPath'](_0x252bc4,_0x4d3e71),_0x24727a=_0x341d7c['createPositionFromPath'](_0x252bc4,_0x154c00);if(!_0x49d11c['isEqual'](_0x24727a)){const _0x1820a1=_0x341d7c['createRange'](_0x49d11c,_0x24727a);_0x252bc4['markers']['set'](_0x510052['name'],_0x1820a1);}}}['_regularCalculateMarkerPath'](_0x553081,_0x3e2967,_0x278834=!0x1){const _0x3c7f37=[..._0x553081['path']['slice']()];for(let _0x47b713=0x0;_0x47b713<Math['max'](_0x3e2967['path']['length'],_0x553081['path']['length']);_0x47b713++){const _0x410de9=_0x3e2967['path'][_0x47b713]||0x0,_0x58fea8=(_0x553081['path'][_0x47b713]||0x0)-_0x410de9;if(_0x3c7f37[_0x47b713]=_0x58fea8,0x0!==_0x58fea8&&!_0x278834)break;}return _0x3c7f37;}async['_createInteraction'](_0x5aa2ca,_0x140cfa,_0x597096,_0x2cdfb6){const _0x43647c=this['editor'],_0x1dd705=_0x43647c['model']['document']['selection']['getFirstRange']()['start']['root'];if(!_0x411020(_0x43647c,_0x1dd705['rootName']))return this['_actionsBalloonView']['showBlockingError'](ia(this['editor']['locale'],'AI_SUGGESTION_NO_PARTS_WARNING')),Promise['resolve']();this['_interactionParams']||(this['_interactionParams']={'action':_0x2cdfb6,'content':_0x5aa2ca,'version':_0x140cfa,'aiBalloon':_0x597096,'modelFragment':this['editor']['model']['getSelectedContent'](this['editor']['model']['document']['selection']),'anchorData':new Map(),'root':_0x1dd705});const _0x13a0bf=new Rb({'connector':this['_aiConnector'],'locale':_0x43647c['locale'],'content':_0x5aa2ca,'version':_0x140cfa,'editor':_0x43647c,'rootName':_0x1dd705['rootName'],..._0x2cdfb6});this['_interactions']['push'](_0x13a0bf);const _0x5b655d=(_0x7590a7,_0x49dd83=!0x1,_0x13d8d8='streaming')=>{const {isDone:_0x52521d}=_0x7590a7;return this['_promiseQueue']['enqueue'](async _0x3e9efa=>{try{const _0x5e26a4=Ip({'changeGroups':_0x7590a7['changeGroups'],'documentContextContent':_0x7590a7['documentContextContent'],'showDiff':_0x49dd83,'trimUnchanged':!0x1});_0x5e26a4['length']&&await this['_actionsBalloonView']['updateContent']({'part':_0x5e26a4[0x0],'renderingStrategy':_0x13d8d8,'abortSignal':_0x3e9efa}),_0x52521d&&this['_actionsBalloonView']['finalizeContent']();}catch(_0xad760d){if(Hp(_0xad760d))return;throw _0xad760d;}});};_0x13a0bf['on']('replyCreated',(_0x48f4f9,_0x19be99)=>{this['_actionsBalloonView']['hideLoader'](),this['_actionsBalloonView']['startAutoScroll'](),_0x5b655d(_0x19be99)['catch'](_0x34df47=>{this['_reporter']['logError'](_0x34df47,{'context':{'operation':'reply-create'}}),this['_setErrorState'](_0x13a0bf,_0x34df47);});}),_0x13a0bf['on']('replyContentUpdated',(_0x4fd3bf,_0x20f33c)=>{_0x5b655d(_0x20f33c)['catch'](_0xeb0486=>{this['_reporter']['logError'](_0xeb0486,{'context':{'operation':'reply-update'}}),this['_setErrorState'](_0x13a0bf,_0xeb0486);});}),_0x13a0bf['on']('interactionFinished',async()=>{try{await this['_clearLoadingState'](),this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),await this['_promiseQueue']['queueEmptyPromise'];}catch(_0x2d0e9d){this['_reporter']['logError'](_0x2d0e9d,{'context':{'operation':'interaction-finish'}}),this['_setErrorState'](_0x13a0bf,_0x2d0e9d);}finally{this['_actionsBalloonView']['stopAutoScroll']();}}),this['listenTo'](this['_actionsBalloonView'],'toggleSuggestionDisplayMode',async(_0x29f8ee,{showDiff:_0x149f43})=>{try{this['_balloonShowDiff']=_0x149f43;const _0x578147=this['_interaction']['replies'][this['_interaction']['replies']['length']-0x1];_0x578147&&await _0x5b655d(_0x578147,_0x149f43,'static');}catch(_0x2843c0){this['_reporter']['logError'](_0x2843c0,{'context':{'operation':'toggle-suggestion-display'}}),this['_setErrorState'](_0x13a0bf,_0x2843c0);}}),_0x13a0bf['on']('replyChangeGroupStateUpdated',()=>{const _0x33ff63={'positiveCount':_0x13a0bf['replies']['reduce']((_0x380f77,_0x2b3aff)=>_0x380f77+_0x2b3aff['changeGroups']['filter'](_0x4be8da=>'accepted'===_0x4be8da['state'])['length'],0x0),'totalCount':_0x13a0bf['replies']['reduce']((_0x21d6c7,_0x291ea7)=>_0x21d6c7+_0x291ea7['changeGroups']['length'],0x0)},_0x2961fc=_0x13a0bf['actionCallId'],_0x2806d7=_0x13a0bf['actionName'];_0x2806d7?this['_aiConnector']['upsertAIActionRating'](_0x2806d7,_0x2961fc,_0x33ff63):this['_aiConnector']['upsertCustomAIActionRating'](_0x2961fc,_0x33ff63);}),this['_setLoadingState']();try{const _0x23d2ea=await _0x13a0bf['start']();return this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),_0x23d2ea;}catch(_0x578a01){Hp(_0x578a01)||this['_actionsBalloonView']['hideLoader'](),this['_reporter']['logError'](_0x578a01,{'context':{'operation':'create-interaction'}}),this['_setErrorState'](_0x13a0bf,_0x578a01);}}['_applyChanges'](_0x119c3f,_0x4506e9,_0x307966,_0x3ab667){const _0x403e49=this['editor'];if(_0x3ab667&&!_0x403e49['plugins']['has']('TrackChanges'))throw new _0x5b5a95('ai-no-track-changes',null);const _0x14a52c=this['editor']['plugins']['get'](tf),_0x120e77=this['_interactions'][this['_interactions']['length']-0x1-this['_currentInteractionIndex']];if(!_0x120e77||!_0x120e77['replies']['length'])return;const _0x25139c=_0x120e77['replies'][_0x120e77['replies']['length']-0x1];_0x25139c['setChangeGroupState'](0x0,'accepted');const _0x40dc9c=mg({'documentSuggestions':pg({'groups':[_0x25139c['changeGroups'][0x0]],'documentContextContent':_0x25139c['documentContextContent'],'documents':_0x120e77['getDocumentContext']()['documents']}),'transform':!0x1,'documentCompare':_0x14a52c,'documentCompareOptions':{'anchor':_0x403e49['model']['createPositionAt'](_0x119c3f,0x0),'markDeletions':_0x3ab667}})['values']()['next']()['value']??[],_0x43260e=this['_filterOperationsOutsideRange'](_0x40dc9c,_0x4506e9);for(const _0x16fe58 of _0x43260e)this['_anchorOperation'](_0x4506e9,_0x16fe58,_0x307966);const _0x12c793=_0x120e77['getDocumentContext']()['documents'][0x0]['version'],_0x4d378e=_0x2283bf(_0x43260e,_0x403e49['model']['document']['history']['getOperations'](_0x12c793),{'document':_0x403e49['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1})['operationsA'];jp(_0x4d378e,'quickActions');try{_0x403e49['model']['change'](_0xc66303=>{_0xc66303['setSelection'](_0x403e49['model']['document']['selection']['focus']),_0x3ab667?_0x403e49['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x4d378e):_0x14a52c['applyOperations'](_0xc66303,_0x4d378e);});}catch(_0x3523d9){throw this['_reporter']['logError'](new Zp({'code':'ai-applying-suggestion-failed','type':'runtime','cause':_0x3523d9})),_0x3523d9;}this['editor']['plugins']['get']('AIBalloon')['close']();}['_filterOperationsOutsideRange'](_0x1f4378,_0x45f859){return _0x1f4378['filter'](_0x6e546=>{if('rename'==_0x6e546['type']){const _0x2e356b=_0x6e546['position']['nodeAfter'];return!_0x45f859['has'](_0x2e356b);}if(_0x6e546['type']['indexOf']('Attribute')>-0x1){const _0x55041a=_0x6e546['range']['start']['nodeAfter'];return!_0x45f859['has'](_0x55041a);}return!0x0;});}['_anchorOperation'](_0x1a3ba0,_0x18b6a4,_0x11004e){const _0x1f4aa6=_0x18b6a4['clone']();for(const _0x507dd8 in _0x18b6a4){const _0x3956c5=_0x18b6a4[_0x507dd8];_0x3956c5 instanceof _0x1a83e1?_0x18b6a4[_0x507dd8]=new _0x1a83e1(_0x345d15(_0x3956c5['start']),_0x345d15(_0x3956c5['end'])):_0x3956c5 instanceof _0x30903b&&(_0x18b6a4[_0x507dd8]=_0x345d15(_0x3956c5));}if(['insert','move','remove','reinsert','split','merge']['includes'](_0x1f4aa6['type'])){if(_0x1f4aa6['isDocumentOperation']=!0x1,_0x1f4aa6['baseVersion']=null,'remove'==_0x1f4aa6['type']){const _0x3caf67=_0x1f4aa6['sourcePosition'],_0x43d0a1=_0x1f4aa6['howMany'];new tn(_0x3caf67,_0x43d0a1)['_execute']();}else _0x1f4aa6['_execute']();}function _0x345d15(_0x4b3211){if('$graveyard'==_0x4b3211['root']['rootName'])return _0x4b3211;const _0x5d4a1f=[];let _0x2adc73=_0x4b3211['root'];for(let _0x50ba63=0x0;_0x50ba63<_0x4b3211['path']['length'];_0x50ba63++){const _0x80dec=_0x1a3ba0['get'](_0x2adc73)||0x0;_0x5d4a1f[_0x50ba63]=_0x4b3211['path'][_0x50ba63]+_0x80dec,_0x2adc73=_0x2adc73['getChildAtOffset'](_0x4b3211['path'][_0x50ba63]);}return new _0x30903b(_0x11004e,_0x5d4a1f,_0x4b3211['stickiness']);}}['_refreshInteraction'](){if(!this['_interactionParams'])return;this['_interactions']['length']>0x0&&this['_stopInteraction'](),this['_currentInteractionIndex']=0x0,this['_balloonShowDiff']=!0x1;const {action:_0x1de6c6,content:_0x433d1e,version:_0x488af3,aiBalloon:_0x5706cb}=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'](_0x433d1e,_0x488af3,_0x5706cb,_0x1de6c6)['catch'](_0x52f2df=>{this['_reporter']['logError'](_0x52f2df,{'context':{'operation':'refresh-interaction'}});});}['_clearInteractionHistory'](){this['_interactions']=[],this['_interactionParams']=void 0x0,this['_currentInteractionIndex']=0x0,this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);}['_stopInteraction'](){this['_interaction']&&this['_interaction']['stop'](),this['_promiseQueue']['abort'](),this['isBusy']=!0x1,this['_interactionParams']&&this['_actionsBalloonView']['stopAutoScroll']();}['_navigateToPrevious'](){const _0x9ce063=this['_interactions']['length'];this['_currentInteractionIndex']<_0x9ce063-0x1&&this['_displayInteractionAtIndex'](this['_currentInteractionIndex']+0x1);}['_navigateToNext'](){this['_currentInteractionIndex']>0x0&&this['_displayInteractionAtIndex'](this['_currentInteractionIndex']-0x1);}async['_displayInteractionAtIndex'](_0x17efe2){if(!this['_interactionParams'])return;this['_currentInteractionIndex']=_0x17efe2;const _0x187c35=this['_interactions'][this['_interactions']['length']-0x1-this['_currentInteractionIndex']];if(!_0x187c35)return;if(_0x187c35['hasError'])return this['_setErrorState'](_0x187c35),void this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);if(!_0x187c35['replies']['length'])return;this['_actionsBalloonView']['hideError'](),this['_interactionParams']&&this['_clearErrorState']();const _0x4b7d3d=_0x187c35['replies'][_0x187c35['replies']['length']-0x1];if(_0x4b7d3d)try{const _0x37117d=Ip({'changeGroups':_0x4b7d3d['changeGroups'],'documentContextContent':_0x4b7d3d['documentContextContent'],'showDiff':this['_balloonShowDiff'],'trimUnchanged':!0x1});await new Promise(_0x48e6d2=>setTimeout(_0x48e6d2,0x32)),await this['_actionsBalloonView']['updateContent']({'part':_0x37117d[0x0],'renderingStrategy':'static','abortSignal':new AbortController()['signal']});}catch(_0x867e26){this['_reporter']['logError'](_0x867e26,{'context':{'operation':'navigation-update'}});}this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);}['_setLoadingState'](){this['_actionsBalloonView']['setIsLoading'](!0x0),this['isBusy']=!0x0;}async['_setErrorState'](_0x5578f5,_0x315ac1){if(void 0x0!==_0x315ac1&&Hp(_0x315ac1))return;const _0x467f44=ia(this['editor']['locale'],'AI_ACTIONS_GENERIC_ERROR');this['_actionsBalloonView']['showError'](_0x467f44),_0x5578f5['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);}},Qb=class extends _0x36b920{static get['requires'](){return[Ab,xb,Db];}static get['pluginName'](){return'AIQuickActions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2a8639){super(_0x2a8639),_0x2a8639['config']['define']('ai.quickActions',{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}},jb=class extends _0x2df468{['resultResponseView'];['acceptButtonView'];['dismissButtonView'];['infoButtonView'];['outdatedButtonView'];constructor(_0x1ef94f,_0x4fa356){super(_0x1ef94f),this['id']=_0x4fa356,this['set']('status','pending'),this['set']('changeId',_0x4fa356),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',(_0x174961,_0x4b5d82)=>{_0x4b5d82&&_0x4b5d82['target']&&'A'===_0x4b5d82['target']['tagName']&&_0x4b5d82['preventDefault'](),this['fire']('activateChange',{'id':_0x4fa356,'source':this,'uiInteraction':'click'});}),this['on']('mouseover',()=>{this['fire']('activateChange',{'id':_0x4fa356,'source':this,'uiInteraction':'hover'});}),this['on']('mouseout',()=>{this['fire']('deactivateChange',{'origin':'panel','id':_0x4fa356,'source':this});});}['setItemAsActive'](){this['isActive']=!0x0;}['setItemAsInactive'](){this['isActive']=!0x1;}['_createResultResponseView'](){const _0x379870=new _0x2df468(this['locale']);return _0x379870['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',_0x5587d4=>!_0x5587d4)]}}),_0x379870;}['_createAcceptButtonView'](){const _0x4b1bcb=new _0x47ddb0(this['locale']);return _0x4b1bcb['set']({'label':ia(this['locale'],'AI_REVIEW_MODE_ACCEPT_CHANGE'),'withText':!0x0}),_0x4b1bcb['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x35e2c9=>{this['fire']('acceptChange',{'id':this['changeId']}),_0x35e2c9['stopPropagation']();})},'attributes':{'class':[this['bindTemplate']['if']('status','ck-hidden',_0x2f60a3=>'pending'!==_0x2f60a3&&'accepted'!==_0x2f60a3),this['bindTemplate']['if']('status',Wp,_0x59fbdb=>'pending'===_0x59fbdb),this['bindTemplate']['if']('status',zp,_0x30dfb9=>'pending'!==_0x30dfb9),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-status-button',_0x40f065=>'accepted'===_0x40f065)]}}),this['on']('change:status',(_0x19e285,_0x289be7,_0x3b2627)=>{_0x4b1bcb['isEnabled']='pending'===_0x3b2627,'accepted'===_0x3b2627&&(_0x4b1bcb['label']=ia(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED'),_0x4b1bcb['icon']=_0x25572e);}),_0x4b1bcb;}['_createDismissButtonView'](){const _0x527d8f=new _0x47ddb0(this['locale']);return _0x527d8f['set']({'label':ia(this['locale'],'AI_REVIEW_MODE_DISMISS_CHANGE'),'withText':!0x0}),_0x527d8f['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x1bcc06=>{this['fire']('dismissChange',{'id':this['changeId']}),_0x1bcc06['stopPropagation']();})},'attributes':{'class':[zp,this['bindTemplate']['if']('status','ck-hidden',_0x59f823=>'pending'!==_0x59f823&&'rejected'!==_0x59f823),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-dismiss-button',_0x3ed30c=>'pending'===_0x3ed30c),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-status-button',_0x539a51=>'rejected'===_0x539a51)]}}),this['on']('change:status',(_0x24a1d7,_0x1f3627,_0x4730f6)=>{_0x527d8f['isEnabled']='pending'===_0x4730f6,'rejected'===_0x4730f6&&(_0x527d8f['label']=ia(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_REJECTED'),_0x527d8f['icon']=_0x3f4fa1);}),_0x527d8f;}['_createInfoButtonView'](){const _0x4f0820=new _0x47ddb0(this['locale']);return _0x4f0820['set']({'label':ia(this['locale'],'AI_REVIEW_MODE_LEARN_MORE'),'icon':wt,'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox','class':zp+'\x20ck-ai_review__check-run-result-info-button\x20ck-hidden'}),_0x4f0820['bind']('isOn')['to'](this,'isInfoToggleOn',_0x284d7f=>_0x284d7f),_0x4f0820['on']('execute',()=>{this['isInfoToggleOn']=!this['isInfoToggleOn'];}),_0x4f0820;}['_createOutdatedButtonView'](){const _0xa3588b=new _0x47ddb0(this['locale']);return _0xa3588b['set']({'label':ia(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_OUTDATED'),'icon':Qt,'withText':!0x0,'isEnabled':!0x1}),_0xa3588b['extendTemplate']({'attributes':{'class':[zp,'ck-ai_review__check-run-result-status-button',this['bindTemplate']['if']('status','ck-hidden',_0xfcde4e=>'outdated'!==_0xfcde4e)],'disabled':'disabled'}}),_0xa3588b;}},Ub=class extends _0x13153c{['resultItemView'];['_pinnedRectIndex']=void 0x0;['_pinnedTargetElement']=void 0x0;['_pinnedTargetChangeId']=void 0x0;constructor(_0x18b65c,_0x3ffcb0){super(_0x18b65c),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']()),_0x3ffcb0['add'](this);}['render'](){super['render'](),this['_setupClickOutsideHandler']();}['updateContent'](_0x31bec5){this['resultItemView']['changeId']=_0x31bec5['id'],this['resultItemView']['resultResponseView']['element']['innerHTML']=_0x31bec5['contentDiffed'];}['showBalloon'](_0x1e9b8f,_0x49796d,_0xbf4809,_0x145029,_0x3c3503,_0x340e4b){const _0x29f2fe=_0x49796d();if(!_0x29f2fe)return;this['updateContent'](_0x1e9b8f),this['show']();const _0x1bf764=Array['from'](_0x29f2fe['getClientRects']())['reverse'](),_0xa2e19f=this['_getPointedRectIndexFromEvent'](_0xbf4809,_0x1bf764),_0x2a8863=_0x1bf764[_0xa2e19f??0x0];'click'===_0x145029?(this['isDiffActive']=!0x0,this['pin']({'target':()=>this['_getBestRectPositionOnClick'](_0x49796d(),_0xa2e19f,_0x1e9b8f['id'],_0x3c3503,_0x340e4b)||_0x2a8863})):'hover'===_0x145029&&(this['isDiffActive']=!0x1,this['pin']({'target':()=>this['_getBestRectPositionOnHover'](_0x49796d(),_0xa2e19f,_0x1e9b8f['id'])||_0x2a8863}));}['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'](){_0xc0d273({'emitter':this,'activator':()=>this['isVisible'],'contextElements':()=>{const _0xc690e0=[this['element']];return this['_pinnedTargetElement']&&_0xc690e0['push'](this['_pinnedTargetElement']),_0xc690e0;},'callback':()=>{this['hide'](),this['unpin'](),this['deactivateChange'](),this['_pinnedTargetElement']=void 0x0,this['_pinnedRectIndex']=void 0x0,this['_pinnedTargetChangeId']=void 0x0;}});}['_createContentView'](){const _0x339342=new _0x2df468();return this['resultItemView']=new jb(this['locale'],''),this['resultItemView']['resultResponseView']['extendTemplate']({'attributes':{'class':['ck-content']}}),this['resultItemView']['delegate']('acceptChange','dismissChange')['to'](this),_0x339342['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']]}]}),_0x339342;}['_getBestRectPositionOnClick'](_0x14edc7,_0x473189,_0x3a4489,_0x29c1ac,_0x1eac91){if(!_0x14edc7)return null;const _0x276a06=this['position']['replace']('arrow_',''),_0x1becc5=Array['from'](_0x14edc7['getClientRects']());let _0x47a682,_0x2c6c19=_0x1becc5['reverse']();return void 0x0!==_0x473189&&this['_isPinnedRectVisible'](_0x2c6c19[_0x473189],_0x29c1ac,_0x1eac91)?(_0x47a682=_0x2c6c19[_0x473189],this['_pinnedRectIndex']=_0x473189):this['_isPinnedRectVisible'](_0x2c6c19[0x0],_0x29c1ac,_0x1eac91)&&void 0x0===_0x473189?_0x47a682=_0x2c6c19[0x0]:(_0x2c6c19='s'==_0x276a06[0x0]?[..._0x1becc5]['reverse']():_0x1becc5,_0x2c6c19['forEach'](_0x42c613=>{this['_isPinnedRectVisible'](_0x42c613,_0x29c1ac,_0x1eac91)&&(_0x47a682=_0x42c613);})),this['_pinnedTargetChangeId']=_0x3a4489,this['_pinnedTargetElement']=_0x14edc7,_0x47a682||_0x14edc7['getBoundingClientRect']();}['_getBestRectPositionOnHover'](_0x5225eb,_0x5038ef,_0x3f7510){if(!_0x5225eb)return null;const _0x4300e0=Array['from'](_0x5225eb['getClientRects']())['reverse']();return void 0x0===this['_pinnedRectIndex']&&void 0x0!==_0x5038ef&&this['_pinnedTargetChangeId']!==_0x3f7510?(this['_pinnedRectIndex']=_0x5038ef,this['_pinnedTargetElement']=_0x5225eb,this['_pinnedTargetChangeId']=_0x3f7510,_0x4300e0[_0x5038ef]):void 0x0!==this['_pinnedRectIndex']&&this['_pinnedTargetChangeId']===_0x3f7510?_0x5225eb!==this['_pinnedTargetElement']?Array['from'](this['_pinnedTargetElement']['getClientRects']())['reverse']()[this['_pinnedRectIndex']]:_0x4300e0[this['_pinnedRectIndex']]:void 0x0!==_0x5038ef&&this['_pinnedTargetChangeId']!==_0x3f7510?(this['_pinnedRectIndex']=_0x5038ef,this['_pinnedTargetElement']=_0x5225eb,this['_pinnedTargetChangeId']=_0x3f7510,_0x4300e0[_0x5038ef]):_0x5225eb['getBoundingClientRect']();}['_getPointedRectIndexFromEvent'](_0x3819ce,_0x42ad55){if(_0x3819ce)for(let _0x518385=0x0;_0x518385<_0x42ad55['length'];_0x518385++){const _0x1ac267=_0x42ad55[_0x518385];if(_0x3819ce['clientX']>=_0x1ac267['left']-0x3&&_0x3819ce['clientX']<=_0x1ac267['right']+0x3&&_0x3819ce['clientY']>=_0x1ac267['top']-0x3&&_0x3819ce['clientY']<=_0x1ac267['bottom']+0x3)return _0x518385;}}['_isPinnedRectVisible'](_0x5866ba,_0x27e167,_0x5ea8b0){const _0x21022f=new _0x21a646(_0x5866ba),_0x16b5e4=_0x27e167||document['documentElement'],_0x59051f=_0x21022f['getIntersection'](_0x3986c0(_0x5ea8b0)),_0x5e8447=new _0x21a646(_0x16b5e4)['getIntersection'](_0x21022f);return!!(_0x59051f&&_0x5e8447&&_0x21022f['width']>0x0);}};const Vb=['getReviewCheckList','runReviewCheck','abortReviewStream','toggleDiff','acceptAllChanges','leaveReviewCoreResultList','activateChange','deactivateChange','acceptChange','dismissChange','learnMore','finishReview','retryReview'];var Bb=class extends _0x2de7b2{['_mainView'];['_balloonSuggestionView'];['_bodyCollection'];static get['requires'](){return[Yo];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4a19f5){super(_0x4a19f5),this['_bodyCollection']=Kp(this['context']['locale']),this['_mainView']=this['createMainView'](),this['_mainView']['delegate'](...Vb)['to'](this),this['_balloonSuggestionView']=new Ub(this['context']['locale'],this['_bodyCollection']),this['_balloonSuggestionView']['delegate']('acceptChange','dismissChange','deactivateChange')['to'](this);}['init'](){const _0x379fcd=this['context']['plugins']['get']('AITabs');this['registerTab'](_0x379fcd);}['destroy'](){this['_bodyCollection']['detachFromDom'](),super['destroy']();}['setAvailableChecks'](_0x498df4){if(!this['_mainView']['reviewCheckListView']['hasChecks']()){const _0x43cb60=!this['context']['config']['get']('ai.models.showModelSelector');this['_mainView']['reviewCheckListView']['setChecks'](_0x498df4,_0x43cb60);}this['_mainView']['showReviewCheckListView']();}['showReviewCheckList'](){this['fire']('getReviewCheckList');}['showCheckRunResults'](_0x366153){_0x366153&&('error-general'!==_0x366153['status']?'error-chunk'!==_0x366153['status']?this['_mainView']['showReviewCheckResultsView']():this['showChunkErrorView']():this['showGeneralResultsErrorView']());}['showCheckRunResult'](_0x3183e7){this['_mainView']['addCheckRunResult'](_0x3183e7);}['showGeneralResultsErrorView'](){this['_mainView']['showGeneralResultsErrorView']();}['showGeneralReviewCoreErrorView'](_0x1beafa){this['_mainView']['showGeneralReviewCoreErrorView'](_0x1beafa??ia(this['context']['locale'],'AI_REVIEW_INITIALIZATION_ERROR_MESSAGE'));}['showChunkErrorView'](){this['_mainView']['showChunkErrorView']();}['setCheckResultTitle'](_0x1d7bb6,_0x352a5e){this['_mainView']['reviewCheckResultsView']['setTitle'](_0x1d7bb6,_0x352a5e);}['setActiveStateInResults'](_0x37afa7){this['_mainView']['reviewCheckResultsView']['getResults']()['forEach'](_0x39b5f4=>{_0x39b5f4['id']===_0x37afa7&&_0x39b5f4['setItemAsActive']();});}['resetActiveStateInResults'](){this['_mainView']['reviewCheckResultsView']['getResults']()['forEach'](_0x5588ba=>_0x5588ba['setItemAsInactive']());}['updateChangeState'](_0x196a1d,_0x161b5d){'accepted'===_0x161b5d||'rejected'===_0x161b5d||'outdated'===_0x161b5d?this['_mainView']['reviewCheckResultsView']['hideResult'](_0x196a1d,_0x161b5d):this['_mainView']['reviewCheckResultsView']['showResult'](_0x196a1d,_0x161b5d);}['showReviewCompletedView'](){this['_mainView']['showReviewCompletedView']();}['showActionsWhenResultIsReady'](){this['_mainView']['showActionsWhenResultIsReady']();}['showNoChangesView'](){this['_mainView']['showNoChangesView']();}['hideActionsWhenResultIsReady'](){this['_mainView']['hideActionsWhenResultIsReady']();}['showChangeBalloon'](_0x5331a6,_0x3e0a5b,_0x25a2e7,_0x48debf,_0x267c1f,_0x538b5f){this['_balloonSuggestionView']['showBalloon'](_0x5331a6,_0x3e0a5b,_0x25a2e7,_0x48debf,_0x267c1f,_0x538b5f);}['hideChangeBalloon'](){this['_balloonSuggestionView']['hideBalloon']();}['hideDiffInBalloon'](){this['_balloonSuggestionView']['hideDiffInBalloon']();}['showDiffInBalloon'](){this['_balloonSuggestionView']['showDiffInBalloon']();}['getChangeElement'](_0x3265b6){const _0x5787e9=this['_mainView']['reviewCheckResultsView']['getResults']()['find'](_0x235d17=>_0x235d17['id']===_0x3265b6);return _0x5787e9?_0x5787e9['element']:null;}['deactivateChange'](){this['_balloonSuggestionView']['deactivateChange']();}},Fb=class extends _0x2df468{constructor(_0xc62991){super(_0xc62991),this['set']('isVisible',!0x1),this['set']('errorMessage','');const _0x18aed8=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai_review__general-error-container',_0x18aed8['if']('isVisible','ck-hidden',_0x322046=>!_0x322046)]},'children':[{'tag':'p','attributes':{'class':'ck\x20ck-ai-notification\x20ck-ai-notification_error'},'children':[{'text':_0x18aed8['to']('errorMessage')}]}]});}},Hb=class extends _0x2df468{['reviewCoreHeader'];['generalErrorView'];['reviewCheckListView'];['reviewCheckResultsView'];['reviewCompletedView'];constructor(_0x20fd29,_0x44e494){super(_0x20fd29),this['reviewCoreHeader']=_0x44e494['header'],this['generalErrorView']=new Fb(_0x20fd29),this['reviewCheckListView']=_0x44e494['list'],this['reviewCheckListView']['delegate'](...Vb)['to'](this),this['reviewCheckResultsView']=_0x44e494['results'],this['reviewCheckResultsView']['delegate'](...Vb)['to'](this),this['reviewCompletedView']=_0x44e494['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'](_0xbe133c){this['reviewCheckResultsView']['addResult'](_0xbe133c),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'](_0x1a2245){this['generalErrorView']['set']('isVisible',!0x0),this['generalErrorView']['errorMessage']=_0x1a2245;}['showGeneralResultsErrorView'](){this['reviewCheckResultsView']['set']('isLoading',!0x1),this['showActionsWhenResultIsReady'](),this['reviewCheckResultsView']['showGeneralErrorMessage']();}['showChunkErrorView'](){this['reviewCheckResultsView']['set']('isLoading',!0x1),this['showActionsWhenResultIsReady'](),this['reviewCheckResultsView']['showChunkErrorMessage']();}},Zb=class extends _0x47ddb0{constructor(_0x2c6253,_0x36c3b6){super(_0x36c3b6),this['set']({'label':_0x2c6253,'withText':!0x0,'class':qp}),this['on']('execute',()=>{this['fire']('finishReview');});}},Gb=class extends _0x1853ec{['_resultViews'];['_resultsHeader'];['_resultsBody'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x34e3d2,_0x111aa8){super(_0x34e3d2),this['_contents']=_0x111aa8,this['_resultViews']=new _0xa445c9(),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](),this['_resultsHeader']=this['_createResultHeaderView'](),this['_resultsBody']=this['_createResultsBodyView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new Lw(_0x34e3d2),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 _0x562978=this['_createCombinedSkeletonLoader'](),_0x19f3c3=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x19f3c3['if']('isLoading','ck-ai_review__check-run_loading',_0x472c9c=>_0x472c9c),_0x19f3c3['if']('isResultReady','ck-ai_review__check-run_ready',_0x14cf57=>_0x14cf57),_0x19f3c3['if']('isVisible','ck-hidden',_0x48b576=>!_0x48b576)]},'children':[this['_resultsHeader'],this['_errorMessageView'],this['_resultsBody'],_0x562978,this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear'](),this['_resultsBody']['element']&&(this['_resultsBody']['element']['scrollTop']=0x0);}['getResults'](){return this['_resultViews'];}['addResult'](_0x27871f){const _0x531ca8=new jb(this['locale'],_0x27871f['id']);_0x531ca8['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x531ca8),_0x531ca8['resultResponseView']['element']['innerHTML']=_0x27871f['contentDiffed'];}['hideResult'](_0x32e337,_0x461fc1){if('pending'===_0x461fc1)return;const _0x33f410=this['_resultViews']['find'](_0x5c37b5=>_0x5c37b5['id']===_0x32e337);_0x33f410&&(_0x33f410['status']=_0x461fc1,_0x33f410['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x125a22,_0x14aa7b){if('pending'!==_0x14aa7b)return;const _0x43bb9d=this['_resultViews']['find'](_0x4349d5=>_0x4349d5['id']===_0x125a22);_0x43bb9d&&(_0x43bb9d['status']=_0x14aa7b,_0x43bb9d['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x233838,_0x34c26c){this['headerTitle']=_0x233838,this['headerSubtitle']=_0x34c26c||'';}['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 qg(this['locale'],Wg['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x57ce2e=new _0x2df468(this['locale']),_0x46c3e3=[];for(let _0xbebd10=0x0;_0xbebd10<0x10;_0xbebd10++){const _0x5abeab=this['_createSkeletonLoader']();_0x5abeab['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x46c3e3['push'](_0x5abeab);}return _0x57ce2e['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0xede62b=>!_0xede62b)]},'children':_0x46c3e3}),_0x57ce2e;}['_createResultsBodyView'](){const _0x1eb87a=new _0x2df468(this['locale']);return _0x1eb87a['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-container','ck-reset_all-excluded',this['bindTemplate']['if']('isLoading','ck-hidden',_0x262510=>_0x262510)]},'children':this['_resultViews']}),_0x1eb87a;}['_createErrorView'](){const _0x5c773e=new _0x2df468(this['locale']),_0x351471=new _0x47ddb0(this['locale']),t=this['locale']['t'];return _0x5c773e['delegate']('retryReview')['to'](this),_0x351471['set']({'label':t('Try\x20again'),'withText':!0x0,'class':Wp+'\x20ck-ai_review__check-run-error-retry-button'}),_0x351471['on']('execute',()=>{this['fire']('retryReview');}),_0x5c773e['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x40a074=>!_0x40a074),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x11fdf9=>'chunk'===_0x11fdf9)]},'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',_0x4429eb=>'chunk'===_0x4429eb)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x4c0529=>'general'!==_0x4c0529)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x3c03ac=>'chunk'!==_0x3c03ac)]},'children':[{'text':ia(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x351471]}),_0x5c773e;}['_createCancelButtonView'](){const _0x4708bf=new _0x47ddb0(this['locale']);return _0x4708bf['set']({'label':ia(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':[Wp+'\x20ck-ai-button-stop-generating'],'icon':_0x514a43}),_0x4708bf['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x4baecb=>_0x4baecb),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x4132a7=>_0x4132a7)]}}),_0x4708bf['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x4708bf;}['_createToggleDiffButtonView'](){const _0x4c3c08=new _0x47ddb0(this['locale']);_0x4c3c08['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x4c3c08['bind']('isEnabled')['to'](this,'isError',_0x3796b3=>!_0x3796b3),_0x4c3c08['extendTemplate']({'attributes':{'class':[Wp,'ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x52945e=>!_0x52945e),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x58136d=>_0x58136d)]}});const _0x20ccc7=ia(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x311929=ia(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x4c3c08['bind']('isOn')['to'](this,'isToggleDiffOn',_0xd667ef=>_0xd667ef),_0x4c3c08['bind']('icon')['to'](this,'isToggleDiffOn',_0x471b3b=>_0x471b3b?_0x2a03fd:tt),_0x4c3c08['bind']('label')['to'](this,'isToggleDiffOn',_0x5d2d65=>_0x5d2d65?_0x20ccc7:_0x311929),_0x4c3c08['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x4c3c08;}['_createAcceptAllButtonView'](){const _0x25dfa7=new _0x47ddb0(this['locale']);return _0x25dfa7['set']({'label':ia(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x25dfa7['bind']('isEnabled')['to'](this,'isError',_0x28911c=>!_0x28911c),_0x25dfa7['extendTemplate']({'attributes':{'class':[qp,'ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0xa9ce1=>!_0xa9ce1),this['bindTemplate']['if']('isCompleted','ck-hidden',_0xd493f2=>_0xd493f2)]}}),_0x25dfa7['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x25dfa7;}['_createExitReviewButtonView'](){const _0x26fc6e=new _0x47ddb0(this['locale']);return _0x26fc6e['set']({'label':ia(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x26fc6e['extendTemplate']({'attributes':{'class':[zp,'ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x10508c=>!_0x10508c),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3b5745=>_0x3b5745)]}}),_0x26fc6e['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x26fc6e;}['_createResultHeaderView'](){const _0x594e09=new _0x2df468(this['locale']),_0x4d7b7b=this['_createTitleView']();return _0x594e09['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x4fbed7=>_0x4fbed7)]},'children':[_0x4d7b7b,{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x41052c=>!_0x41052c)],'title':ia(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')},'children':[{'text':ia(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x594e09;}['_createTitleView'](){const _0x27bd20=new _0x2df468(this['locale']),_0xb74216=new cO();return _0xb74216['bind']('isVisible')['to'](this,'isResultReady',_0x330945=>!_0x330945),_0x27bd20['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x524d46=>_0x524d46)]},'children':[_0xb74216,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-subtitle']},'children':[{'text':this['bindTemplate']['to']('headerSubtitle')}]}]}]}),_0x27bd20;}['_createFinishReviewButtonView'](){const _0x390712=new Zb(ia(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x390712['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x545026=>!_0x545026)]}}),_0x390712['delegate']('finishReview')['to'](this),_0x390712;}},Xb=class extends _0x1853ec{['_resultsHeader'];['_finishReviewButtonView'];constructor(_0x46210e,_0xa67f45){super(_0x46210e),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](_0xa67f45['buttonText']),this['_resultsHeader']=this['_createResultHeaderView'](_0xa67f45['headerText']);const _0x2db7ed=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__review-completed',_0x2db7ed['if']('isVisible','ck-hidden',_0x1208c6=>!_0x1208c6)]},'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':_0xa67f45['emptyResultsText']}]}]}]});}['_createFinishReviewButtonView'](_0x3b9277){const _0x483433=new Zb(_0x3b9277,this['locale']);return _0x483433['delegate']('finishReview')['to'](this),_0x483433;}['_createResultHeaderView'](_0x309e5f){const _0x4303cd=new _0x2df468(this['locale']);return _0x4303cd['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__review-completed-header']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title'],'title':_0x309e5f},'children':[{'text':_0x309e5f}]},{'tag':'div','attributes':{'class':['ck-ai_review__review-completed-header-buttons']},'children':[this['_finishReviewButtonView']]}]}),_0x4303cd;}},qb=class extends _0x2df468{['_dropdownView'];['_defaultValue'];['_defaultLabel'];constructor(_0x5a2b76,_0x27a3d2){super(_0x5a2b76),this['_defaultValue']=_0x27a3d2['default']||(_0x27a3d2['data']['length']>0x0?_0x27a3d2['data'][0x0]['id']:''),this['_defaultLabel']=_0x27a3d2['data']['find'](_0x21129f=>_0x21129f['id']===this['_defaultValue'])?.['label']||'',this['set']('formValue',''),this['_dropdownView']=_0x18eee9(this['locale']);const _0x4dd52e=this['_prepareListOptions'](_0x27a3d2['data']);ts(this['_dropdownView'],_0x4dd52e,{'role':'menu','ariaLabel':_0x27a3d2['label']}),this['_dropdownView']['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0}),this['_dropdownView']['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x2a4002=>{_0x2a4002['stopPropagation']();})}}),this['listenTo'](this['_dropdownView'],'execute',_0x36e219=>{this['formValue']=_0x36e219['source']['model']['id'],this['_dropdownView']['buttonView']['label']=_0x36e219['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'](_0x5b8a59=[]){const _0x5cafbf=new _0x23ea50();this['resetToDefault']();for(const _0x4b2800 of _0x5b8a59){const _0x573afd=new _0x30ba3c({'label':_0x4b2800['label'],'withText':!0x0,'role':'menuitemradio','id':_0x4b2800['id'],'model':_0x4b2800});_0x573afd['bind']('isOn')['to'](this,'formValue',_0x37c8b7=>_0x37c8b7===_0x573afd['id']);const _0x534bd5={'type':'button','model':_0x573afd};_0x5cafbf['add'](_0x534bd5);}return _0x5cafbf;}},Wb=class extends _0x1853ec{['_formItem']=null;constructor(_0x286a65,_0x1d7098,_0x3d4286){if(super(_0x286a65),this['argsKey']=_0x1d7098?.['argsKey'],'dropdown'===_0x1d7098['formType'])this['_formItem']=new qb(this['locale'],_0x1d7098);this['set']('value',''),this['bind']('value')['to'](this['_formItem'],'formValue');const _0x31c800=new _0x375779(this['locale'],{'children':[this['_formItem']],'class':[_0x3d4286?'ck-form__row_with-submit':'']});_0x3d4286&&_0x31c800['children']['add'](_0x3d4286),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai_review__form-item','ck-reset_all']},'children':[_0x31c800]});}['resetToDefault'](){this['_formItem']['resetToDefault']();}},zb=class AIReviewCorePromptInputView extends _0x1a8ce3{['keystrokes'];static ['MIN_ROWS']=0x1;static ['MAX_ROWS']=0xc;constructor(_0x185dc7){super(_0x185dc7),this['set']('isEmpty',!0x0),this['keystrokes']=new _0x491b26(),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']);}},Yb=class extends _0x2df468{['focusTracker']=new _0x33fa41();['keystrokes']=new _0x491b26();['focusCycler'];['_focusables']=new _0xa445c9();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x2b935c,_0x53fc57,_0x2d310b=!0x1){super(_0x2b935c),this['_check']=_0x53fc57,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x53fc57['defaultModel']?_0x53fc57['defaultModel']['id']:'',this['_defaultLabel']=_0x53fc57['defaultModel']?_0x53fc57['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x339594(this['locale'],()=>new zb(_0x2b935c)),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 _0x23ea50(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x2d310b),ts(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x375779(this['locale'],{'children':[this['promptInputView']]}),new _0x375779(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x31e8e3,_0x11370b)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x11370b()):_0x11370b();}),this['focusCycler']=new _0x1a2844({'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'](_0x1b6788=>{this['_focusables']['add'](_0x1b6788),this['focusTracker']['add'](_0x1b6788['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 _0x11ae00 of this['_getFormValidators']()){const _0x265933=_0x11ae00();if(_0x265933)return this['promptInputView']['errorText']=_0x265933,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return ia(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x58463b=new _0x47ddb0(this['locale']),t=this['locale']['t'];return _0x58463b['set']({'label':t('Submit'),'withText':!0x0,'class':qp}),_0x58463b['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x58463b;}['_createCancelButtonView'](){const _0x31cd96=new _0x47ddb0(this['locale']),t=this['locale']['t'];return _0x31cd96['set']({'label':t('Cancel'),'withText':!0x0,'class':zp}),_0x31cd96['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x59e879=>{_0x59e879['stopPropagation']();})}}),_0x31cd96['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x31cd96;}['_setModelList'](_0x50469d){this['_modelSelectionDropdownItems']['clear']();const _0x5af1af=this['_check']['models'];if(_0x50469d)this['set']('modelDisplayMode','hidden');else{const _0x2a8682=0x1===_0x5af1af['length'];this['set']('modelDisplayMode',_0x2a8682?'name':'selector');}if(this['resetToDefault'](),_0x5af1af?.['length']){0x1===_0x5af1af['length']&&this['set']('activeModelName',_0x5af1af[0x0]['name']||_0x5af1af[0x0]['id']);for(const _0x3912aa of _0x5af1af){const _0x18b672=new _0x30ba3c({'label':_0x3912aa['name'],'withText':!0x0,'role':'menuitemradio','id':_0x3912aa['id'],'model':_0x3912aa});_0x18b672['bind']('isOn')['to'](this,'modelId',_0x2ea72d=>_0x2ea72d===_0x3912aa['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x18b672,'labelView':new Jb(this['locale'],_0x3912aa)});}}}['_createModelSelectionDropdown'](){const _0x2245c3=_0x18eee9(this['locale']);return _0x2245c3['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x2245c3['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0,'class':zp}),_0x2245c3['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x3b1614=>'selector'===_0x3b1614),this['listenTo'](_0x2245c3,'execute',_0x346e57=>{this['modelId']=_0x346e57['source']['model']['id'],_0x2245c3['buttonView']['label']=_0x346e57['source']['label'];}),_0x2245c3;}['_createModelNameView'](){const _0x464e7e=new Kb(this['locale']);return _0x464e7e['bind']('text')['to'](this,'activeModelName',_0xbed904=>_0xbed904??''),_0x464e7e['bind']('isVisible')['to'](this,'modelDisplayMode',_0x23c0ca=>'name'===_0x23c0ca),_0x464e7e;}['_createActionsFooterView'](){const _0x13c432=new _0x2df468(this['locale']);return _0x13c432['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']]}]}),_0x13c432;}},Kb=class extends _0x2df468{constructor(_0x5d80b8){super(_0x5d80b8),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x41d2be=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x41d2be['if']('isVisible','ck-hidden',_0x91f332=>!_0x91f332)]},'children':[{'text':_0x41d2be['to']('text')}]});}},Jb=class extends _0x48935f{constructor(_0x5185cb,_0x27edf1){super();const _0x1da07b=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x1da07b['to']('style'),'id':_0x1da07b['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x1da07b['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x27edf1['description']||'']}]}]});}},ty=class extends _0x1853ec{['_formItemsCollection']=new _0xa445c9();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x3e5787,_0x333faa,_0x1f7b49,_0x592b2a=!0x1){super(_0x3e5787),this['_hideModels']=_0x592b2a,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x333faa['isParameterized']);const _0x34e16f=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',_0x546e18=>_0x546e18),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x5c5f89=>_0x5c5f89)],'style':{'--ck-ai-review-check-list-item-index':_0x1f7b49}},'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':_0x333faa['title']}]},_0x34e16f]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x333faa['description']?[{'text':_0x333faa['description']}]:[]}]}]},..._0x333faa['isParameterized']?[this['_createParameterizedView'](_0x333faa)]:[],...'custom'===_0x333faa['id']?[this['_createCustomView'](_0x333faa,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x333faa['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x333faa['id'],'args':_0x333faa['useArgs']?_0x333faa['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0xc0d273({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0xe9626b=>{_0xe9626b['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x57a8b6=new _0x5902c2();return _0x57a8b6['content']=_0x422d2f,_0x57a8b6['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x57a8b6;}['_createParameterizedView'](_0x27e746){const _0x2967ae=new _0x2df468(),_0x334ae7=this['_createFormView'](_0x27e746);return _0x2967ae['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x346902=>!_0x346902)]},'children':[_0x334ae7]}),_0x2967ae;}['_createFormView'](_0x79956b){const _0x597fab=new _0x2df468(),_0x3a05d4=Array['isArray'](_0x79956b['options'])?_0x79956b['options']:[],_0xe194fc=new _0x47ddb0(this['locale']),t=this['locale']['t'];_0xe194fc['set']({'label':t('Submit'),'withText':!0x0,'class':qp}),_0xe194fc['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0xe2d329=>{_0xe2d329['stopPropagation']();})}}),_0xe194fc['on']('execute',()=>{const _0x2a1164=[],_0xaa22d6={};this['_formItemsCollection']['forEach'](_0x247a6f=>{_0x2a1164['push'](_0x247a6f['value']),_0x79956b['useArgs']&&_0x79956b['options']&&(_0xaa22d6[_0x247a6f['argsKey']]=_0x247a6f['value']);}),this['fire']('runReviewCheck',{'id':_0x79956b['id'],'params':_0x2a1164['length']?_0x2a1164:void 0x0,'args':Object['keys'](_0xaa22d6)['length']?_0xaa22d6:void 0x0});});const _0x450795=_0x3a05d4['length'];return _0x3a05d4['forEach']((_0x1c7967,_0xc19b34)=>{const _0x1d25a4=_0xc19b34===_0x450795-0x1;this['_formItemsCollection']['add'](new Wb(this['locale'],_0x1c7967,_0x1d25a4?_0xe194fc:null));}),_0x597fab['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x597fab;}['_createCustomView'](_0x336b5c,_0x428ffc=!0x1){return this['_customCheckView']=new Yb(this['locale'],_0x336b5c,_0x428ffc),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',_0x37eb24=>!_0x37eb24)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x3c0a91,_0x35df20,_0x225ad8)=>{_0x225ad8||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}},ey=class extends _0x1853ec{['_checkViews'];constructor(_0x1e227e){super(_0x1e227e),this['_checkViews']=new _0xa445c9(),this['_setupTemplate']();}['setChecks'](_0x1e7ea1,_0x204d7b=!0x1){this['_checkViews']['clear']();for(const [_0x5cbb2a,_0x50b7b4]of _0x1e7ea1['entries']()){const _0x3935a2=new ty(this['locale'],_0x50b7b4,_0x5cbb2a,_0x204d7b);_0x3935a2['delegate']('runReviewCheck')['to'](this),this['_checkViews']['add'](_0x3935a2);}}['hasChecks'](){return this['_checkViews']['length']>0x0;}['resetAllParameterizedChecks'](){for(const _0x13ad87 of this['_checkViews'])_0x13ad87 instanceof ty&&_0x13ad87['resetToDefault']();}['_setupTemplate'](){const _0x26db3d=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list',_0x26db3d['if']('isVisible','ck-hidden',_0x1f5a89=>!_0x1f5a89)]},'children':this['_checkViews']});}},iy=class extends Bb{static get['pluginName'](){return'AIReviewModeUI';}['createMainView'](){const _0x2e75e1=this['context']['plugins']['get']('AITabs'),_0x291ecd=this['context']['locale'],_0x3e8170=new Nw(_0x291ecd,{'label':ia(_0x291ecd,'AI_REVIEW_MODE'),'icon':_0x43799c,'class':'ck-ai-header_review','showResizeButton':_0x2e75e1['showResizeButton']});return _0x3e8170['delegate']('resizeTabs')['to'](_0x2e75e1),_0x3e8170['bind']('isMaximized')['to'](_0x2e75e1['view'],'isMaximized',_0x3b6905=>_0x3b6905),new Hb(this['context']['locale'],{'header':_0x3e8170,'list':new ey(_0x291ecd),'results':new Gb(_0x291ecd,{'generalErrorText':ia(_0x291ecd,'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}),'completed':new Xb(_0x291ecd,{'headerText':ia(_0x291ecd,'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE'),'emptyResultsText':ia(_0x291ecd,'AI_REVIEW_MODE_EMPTY_RESULTS_TEXT'),'buttonText':ia(_0x291ecd,'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL')})});}['registerTab'](){const _0x500ab4=this['context']['plugins']['get']('AITabs');_0x500ab4['view']['on']('activateTab',(_0x1048dc,{newTab:_0x2b24aa,oldTab:_0xd20241})=>{'reviewMode'===_0x2b24aa?this['fire']('getReviewCheckList'):'reviewMode'===_0xd20241&&this['fire']('leaveReview');}),_0x500ab4['view']['addTab']({'id':'reviewMode','buttonLabel':ia(this['context']['locale'],'AI_REVIEW_MODE'),'buttonIcon':_0x43799c,'order':0x0,'content':this['_mainView']});}};const sy='review-',ny=['softBreak'],ry=['htmlScript','htmlStyle','htmlCustomElement'];var oy=class extends _0x2de7b2{static get['requires'](){return[tf,aa];}static get['pluginName'](){return'AIReviewCoreEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_markers']=new Map();['_activeMarkers']=new Set();['_domEmitter'];['_eventEmitter'];['_reviewEditingAttachedEditors']=new WeakSet();['_boundEditables']=new WeakMap();constructor(_0x3520b3){super(_0x3520b3),this['_domEmitter']=new(_0x40568c())(),this['_eventEmitter']=new(_0x3cd689())();}get['emitter'](){return this['_eventEmitter'];}['afterInit'](){const _0x3c68b2=_0x10a066=>this['_scheduleAttachReviewEditingToEditor'](_0x10a066);if(this['_registerGlobalBalloonBlurHandler'](),this['context']instanceof _0x181fa1)return void _0x3c68b2(this['context']);const _0x5a6c1=this['context'];for(const _0x2afb53 of _0x5a6c1['editors'])_0x3c68b2(_0x2afb53);this['listenTo'](_0x5a6c1['editors'],'add',(_0x263979,_0x2879b2)=>{_0x3c68b2(_0x2879b2);}),this['listenTo'](_0x5a6c1['editors'],'remove',(_0x5d3be0,_0x3be1c1)=>{for(const [_0xfb9007,_0x2c7627]of this['_markers'])_0x2c7627['editor']===_0x3be1c1&&(this['_eventEmitter']['fire']('changeMarkerRemoved',{'markerId':_0xfb9007,'changeId':_0x2c7627['groupId']}),this['_markers']['delete'](_0xfb9007));});}['_scheduleAttachReviewEditingToEditor'](_0x827326){const _0xb5bb4a=()=>{'destroyed'!==_0x827326['state']&&_0x827326['conversion']&&this['_attachReviewEditingToEditor'](_0x827326);};if('ready'===_0x827326['state'])return void _0xb5bb4a();const _0x7ee0f=()=>{this['stopListening'](_0x827326,'ready',_0x7ee0f),_0xb5bb4a();};this['listenTo'](_0x827326,'ready',_0x7ee0f);}['_attachReviewEditingToEditor'](_0x50da99){this['_reviewEditingAttachedEditors']['has'](_0x50da99)||(_0x50da99['conversion']['for']('editingDowncast')['markerToElement']({'model':sy+'insert','view':(_0x20771d,{writer:_0x115182})=>{const _0x1ef85c=this['_markers']['get'](_0x20771d['markerName']),_0x5a03fa={'class':'ck-ai_review-marker_add'+(this['_activeMarkers']['has'](_0x1ef85c?.['id']||'')?'\x20ck-ai_review__change_active':''),'data-marker-id':_0x20771d['markerName']};return _0x115182['createUIElement']('span',_0x5a03fa,function(_0x781c7b){const _0x5c9efc=this['toDomElement'](_0x781c7b);return _0x5c9efc['innerHTML']=_0x1ef85c?.['content']?.['asString']||'',_0x5c9efc;});}}),_0x50da99['conversion']['for']('editingDowncast')['markerToHighlight']({'model':sy+'remove-only','view':_0x2cde32=>{const _0x2a8c52=this['_markers']['get'](_0x2cde32['markerName']),_0x28bb81=['ck-ai_review-marker_strikethrough'];return this['_activeMarkers']['has'](_0x2a8c52?.['id']||'')&&_0x28bb81['push']('ck-ai_review__change_active'),{'classes':_0x28bb81,'attributes':{'data-marker-id':_0x2cde32['markerName']}};}}),_0x50da99['conversion']['for']('editingDowncast')['markerToHighlight']({'model':sy+'remove-context','view':_0x104a4e=>{const _0x3f94af=this['_markers']['get'](_0x104a4e['markerName']),_0x57ac04=['ck-ai_review-marker_underline'];return this['_activeMarkers']['has'](_0x3f94af?.['id']||'')&&_0x57ac04['push']('ck-ai_review__change_active'),{'classes':_0x57ac04,'attributes':{'data-marker-id':_0x104a4e['markerName']}};}}),_0x50da99['conversion']['for']('editingDowncast')['markerToHighlight']({'model':sy+'remove-text','view':_0x3535fb=>{const _0x43a2c9=this['_markers']['get'](_0x3535fb['markerName']),_0x34ea85=['ck-ai_review-marker_hide'];return this['_activeMarkers']['has'](_0x43a2c9?.['id']||'')&&_0x34ea85['push']('ck-ai_review__change_active'),{'classes':_0x34ea85,'attributes':{'data-marker-id':_0x3535fb['markerName']}};}}),_0x50da99['conversion']['for']('dataDowncast')['markerToElement']({'model':sy+'suggestion-context','view':(_0x2bdfba,{writer:_0x528aca})=>_0x528aca['createRawElement']('span',{'class':'ck-ai_review-marker_context-'+(_0x2bdfba['isOpening']?'start':'end')})}),_0x50da99['conversion']['for']('downcast')['attributeToAttribute']({'model':Kd,'view':Jd}),this['_updateMouseMarkerInteractionListeners'](_0x50da99),this['listenTo'](_0x50da99,'addRoot',()=>this['_updateMouseMarkerInteractionListeners'](_0x50da99),{'priority':'lowest'}),this['listenTo'](_0x50da99,'detachRoot',()=>this['_updateMouseMarkerInteractionListeners'](_0x50da99),{'priority':'lowest'}),_0x50da99['model']['document']['registerPostFixer'](_0x1575fe=>this['_validateMarkers'](_0x50da99,_0x1575fe)),_0x50da99['model']['document']['on']('change',()=>this['_handleMarkerChanges'](_0x50da99)),this['_reviewEditingAttachedEditors']['add'](_0x50da99));}['_updateMouseMarkerInteractionListeners'](_0x146b26){let _0x55a45f=this['_boundEditables']['get'](_0x146b26);_0x55a45f||(_0x55a45f=new Map(),this['_boundEditables']['set'](_0x146b26,_0x55a45f));const _0x32cc39=new Set(_0x146b26['ui']['getEditableElementsNames']());for(const _0x4d2aba of _0x32cc39){if(_0x55a45f['has'](_0x4d2aba))continue;const _0x9f2008=_0x146b26['ui']['getEditableElement'](_0x4d2aba);_0x55a45f['set'](_0x4d2aba,_0x9f2008),this['_attachMouseMarkerInteractionListeners'](_0x9f2008);}for(const [_0x18e6f6,_0x3b670b]of _0x55a45f)_0x32cc39['has'](_0x18e6f6)||(_0x55a45f['delete'](_0x18e6f6),this['_domEmitter']['stopListening'](_0x3b670b));}['_attachMouseMarkerInteractionListeners'](_0x38e2d3){this['_domEmitter']['listenTo'](_0x38e2d3,'mouseup',(_0x112427,_0x1621ac)=>{const _0x117248=_0x1621ac['target'],_0x58f3f6=this['_findMarkerElement'](_0x117248);if(!_0x58f3f6)return;const _0x208d77=_0x58f3f6['getAttribute']('data-marker-id'),_0xa4908d=_0x208d77['split'](':')['pop']()?.['split']('_')[0x0];this['_eventEmitter']['fire']('changeMarkerClicked',{'markerId':_0x208d77,'changeId':_0xa4908d,'markerElement':()=>this['_findMarkerElementById'](_0x208d77),'domEvent':_0x1621ac});},{'usePassive':!0x0,'priority':'highest'}),this['_domEmitter']['listenTo'](_0x38e2d3,'mouseover',(_0x650f9f,_0x4dc0d5)=>{const _0x4db41e=_0x4dc0d5['target'],_0x2b4f50=_0x4dc0d5['relatedTarget'];let _0x7dbdc8=this['_findMarkerElement'](_0x4db41e);if(!_0x7dbdc8&&_0x2b4f50&&(_0x7dbdc8=this['_findMarkerElement'](_0x2b4f50)),!_0x7dbdc8)return;const _0x856ce4=_0x7dbdc8['getAttribute']('data-marker-id'),_0x2044ac=_0x856ce4['split'](':')['pop']()?.['split']('_')[0x0];this['_eventEmitter']['fire']('changeMarkerHovered',{'changeId':_0x2044ac,'markerElement':()=>this['_findMarkerElementById'](_0x856ce4),'domEvent':_0x4dc0d5});});}['_registerGlobalBalloonBlurHandler'](){this['_domEmitter']['listenTo'](document,'mouseover',Or((_0x4b033d,_0x335279)=>{const _0x1cb792=_0x335279['target'];this['_findMarkerElement'](_0x1cb792)||_0x1cb792['closest']('.ck-reset.ck-ai_review-balloon-panel-suggestion')||this['_eventEmitter']['fire']('changeMarkerBlurred');},0xc8));}['getDocumentData'](){const _0x3d6905=this['context']['plugins']['get']('AIEditing'),_0x1a6fbc=sa(this['context']);if(!_0x1a6fbc['length'])throw new _0x5b5a95('ai-get-editor-from-context-no-editor',this);const _0x210a7d=new Set(),_0x3d8c9d=[],_0x403a7c=new Map();for(const _0x2a1ad1 of _0x1a6fbc)for(const _0x44a001 of _0x2a1ad1['model']['document']['getRoots']()){if('$graveyard'===_0x44a001['rootName'])continue;const _0x204bf2=this['_buildDocumentDataSliceForRoot'](_0x2a1ad1,_0x44a001,_0x3d6905,_0x210a7d);_0x3d8c9d['push'](_0x204bf2['content']);for(const [_0x2b2a6b,_0x5a8b60]of _0x204bf2['elements'])_0x403a7c['set'](_0x2b2a6b,_0x5a8b60);}return{'elements':_0x403a7c,'content':_0x3d8c9d['join']('')};}['_buildDocumentDataSliceForRoot'](_0x2dae05,_0x3805c5,_0x42f1e8,_0x5ea81c){const _0x1a519c=_0x2dae05['model'],_0xf4db3=new _0x14f25f();for(const _0xea62f6 of _0x3805c5['getChildren']())_0xf4db3['_appendChild'](_0xea62f6['_clone'](!0x0));for(const _0x169f1d of _0x1a519c['markers']){const _0x5693ed=_0x169f1d['getRange']();_0x5693ed&&_0x5693ed['root']['rootName']===_0x3805c5['rootName']&&_0xf4db3['markers']['set'](_0x169f1d['name'],this['_changeRangeOwnerDocument'](_0x5693ed['clone'](),_0xf4db3));}const _0x297766=new Map(),_0x13f565=_0x1a519c['document']['version'],_0x2ef97e=new _0x8f8d66({'ignoreElementEnd':!0x0,'startPosition':_0x1a519c['createPositionAt'](_0xf4db3,0x0)});for(const {item:_0x2e93e5}of _0x2ef97e){if(_0x2e93e5['is']('element')&&_0x2e93e5['name']&&ry['includes'](_0x2e93e5['name'])){const _0x3929b3=this['_upsertDataId'](_0x2e93e5,()=>_0x42f1e8['_nextDataId'](_0x5ea81c));_0x5ea81c['add'](_0x3929b3);}if(!_0x2e93e5['is']('$textProxy'))continue;const _0x1fc84c=_0x2e93e5['parent'];if(!_0x1fc84c||!_0x1fc84c['is']('element'))continue;const _0x18a027=this['_upsertDataId'](_0x1fc84c,()=>_0x42f1e8['_nextDataId'](_0x5ea81c));_0x5ea81c['add'](_0x18a027);for(const _0x13646e of _0x1fc84c['getChildren']())_0x13646e['is']('element')&&(_0x13646e['name']&&ny['includes'](_0x13646e['name'])||_0x5ea81c['add'](this['_upsertDataId'](_0x13646e,()=>_0x42f1e8['_nextDataId'](_0x5ea81c))));let _0x3e5ea2=_0x1fc84c;for(;_0x3e5ea2['parent']&&!_0x3e5ea2['parent']['is']('documentFragment');)_0x3e5ea2=_0x3e5ea2['parent'],_0x3e5ea2['hasAttribute']('$elementId')&&_0x3e5ea2['_removeAttribute'](Kd);_0x297766['set'](_0x18a027,{'editor':_0x2dae05,'rootName':_0x3805c5['rootName'],'path':_0x1fc84c['getPath'](),'documentVersion':_0x13f565,'getContent':this['_createGetContentUsingDataIdFn'](_0x3e5ea2['_clone'](!0x0),_0x18a027,_0x2dae05['data'])}),_0x2ef97e['jumpTo'](_0x1a519c['createPositionAfter'](_0x1fc84c));}return{'content':_0x2dae05['data']['processor']['toData'](_0x2dae05['data']['toView'](_0xf4db3)),'elements':_0x297766};}['diffContent'](_0x41aa5c,_0x2a17c2,_0x36cb35,_0x25c614=!0x1){const {contentInitial:_0x1acdbc,contentNew:_0x5744fc}=this['_neutralizeChangesOnUnsupportedElements'](_0x2a17c2,_0x36cb35),_0x56cb00=[],_0x401d6c=_0x41aa5c['data']['parse'](_0x5744fc,'$documentFragment'),_0xa21be8=_0x41aa5c['data']['parse'](_0x1acdbc,'$documentFragment'),_0x2b018a=_0x41aa5c['model']['createPositionAt'](_0xa21be8,0x0);if(this['_haveSingleTopLevelElement'](_0x401d6c)){if(!this['_hasSameTopLevelElement'](_0xa21be8,_0x401d6c))return _0x56cb00;}else{const _0xd8f06f=_0x41aa5c['model']['schema'];if(!this['_haveOnlyInlineContent'](_0xa21be8,_0xd8f06f)||!this['_haveOnlyInlineContent'](_0x401d6c,_0xd8f06f))return _0x56cb00;}const _0x5cab40=this['context']['plugins']['get']('DocumentCompare')['getDiff'](_0x1acdbc,_0x5744fc,{'targetEditor':_0x41aa5c,'anchor':_0x2b018a,'markDeletions':!0x0})['getOperations']()['filter'](_0x2a29c4=>'insert'===_0x2a29c4['type']||'marker'===_0x2a29c4['type']&&_0x2a29c4['name']['startsWith']('$markedRemove')),_0x63ac0a=this['_groupAdjacentOperations'](_0x5cab40),_0x1d9365=[];if(_0x25c614){if(_0x63ac0a['length']){const _0x56bec5=_0x63ac0a[0x0]['operations'][0x0],_0x2cdea9='insert'===_0x56bec5['type']?_0x56bec5['position']:_0x56bec5['newRange']['start'],_0x577515=this['_getPositionLimitingRange'](_0x2cdea9,_0x41aa5c,'inside'),_0x1238b6=_0x577515?_0x401d6c['getChild'](0x0)['getChildren']():_0x401d6c['getChildren'](),_0x497d32=_0x577515||_0x41aa5c['model']['createRangeIn'](_0xa21be8),_0x49d212=[new _0x538fe9('$markedRemove:synthetic'+_0x10825a(),null,_0x497d32,_0x41aa5c['model']['document']['model']['markers'],!0x0,_0x41aa5c['model']['document']['version']+0x1),new _0x114814(_0x497d32['end'],_0x1238b6,_0x41aa5c['model']['document']['version']+0x2)];_0x1d9365['push']({'operations':_0x49d212,'operationsIsolated':_0x49d212,'groupOffset':0x0});}}else _0x1d9365['push'](..._0x63ac0a);let _0x212cd5=0x0;return _0x41aa5c['model']['change'](_0x12c67a=>{for(let _0x291ff6=0x0;_0x291ff6<_0x1d9365['length'];_0x291ff6++){const _0x1b9468=_0x1d9365[_0x291ff6],_0x486589=_0x12c67a['createDocumentFragment']();for(const _0x5428ee of _0xa21be8['getChildren']())_0x12c67a['append'](_0x5428ee['_clone'](!0x0),_0x486589);for(const _0xf2b492 of _0x1b9468['operationsIsolated'])if('insert'===_0xf2b492['type']){const _0x2370e6=_0xf2b492;_0x2370e6['baseVersion']=null,_0x2370e6['isDocumentOperation']=!0x1,this['_changeOperationOwnerDocument'](_0x2370e6,_0x486589),_0x12c67a['batch']['addOperation'](_0xf2b492),_0x41aa5c['model']['applyOperation'](_0xf2b492);const _0x118474='suggestion:insertion:id:authorId:'+_0x212cd5++,_0x467205=_0x41aa5c['model']['createRange'](_0x2370e6['position'],_0x2370e6['position']['getShiftedBy'](_0x2370e6['howMany']));_0x486589['markers']['set'](_0x118474,_0x467205);}else{if('marker'===_0xf2b492['type']&&_0xf2b492['name']['startsWith']('$markedRemove')){const _0x287b9b=_0xf2b492,_0x9f2698='suggestion:deletion:id:authorId:'+_0x212cd5++;this['_changeOperationOwnerDocument'](_0x287b9b,_0x486589),_0x486589['markers']['set'](_0x9f2698,_0x287b9b['newRange']);}}if(_0x25c614)_0x56cb00['push']({..._0x1b9468,'context':this['_createGetContentFn'](_0xa21be8,_0x41aa5c['data']),'content':this['_createGetContentFn'](_0xa21be8,_0x41aa5c['data'])});else{const _0x3c659f=this['_getChangeContext'](this['_changePositionOwnerDocument'](this['_getOperationStart'](_0x1b9468['operationsIsolated'][0x0]),_0x486589),this['_changePositionOwnerDocument'](this['_getOperationEnd'](_0x1b9468['operationsIsolated'][_0x1b9468['operationsIsolated']['length']-0x1]),_0x486589),_0x41aa5c);_0x486589['markers']['set'](sy+'suggestion-context',new _0x1a83e1(_0x3c659f['start'],_0x3c659f['end'])),_0x56cb00['push']({..._0x1b9468,'context':this['_createGetContextFn'](_0x486589,_0x41aa5c['data'],{'ellipsisBefore':_0x3c659f['hasContentBefore'],'ellipsisAfter':_0x3c659f['hasContentAfter']}),'content':this['_createGetContentFn'](_0x486589,_0x41aa5c['data'])});}}}),_0x56cb00;}['markChangePositionInEditorContent'](_0x1f6c96,_0x1afe46){if(!_0x1f6c96['length'])return;const _0x578303=_0x1f6c96[0x0]['parent']['id'],_0x27f72f=_0x1afe46['elements']['get'](_0x578303);if(!_0x27f72f)return void console['warn']('No\x20element\x20found\x20for\x20ID:\x20'+_0x578303);const _0x23c8cf=_0x27f72f['path'],_0x3aee62=_0x27f72f['editor'],_0x414f62=_0x3aee62['model']['document']['getRoot'](_0x27f72f['rootName']);if(!_0x414f62)return void console['warn']('No\x20model\x20root\x20found\x20for\x20name:\x20'+_0x27f72f['rootName']);const _0x5d611a=_0x3aee62['model']['document']['history']['getOperations'](_0x27f72f['documentVersion']),_0x1ce370=[];for(const _0x329628 of _0x1f6c96){const _0x55c08a=_0x329628['operationsIsolated']['map'](_0x2a1af2=>this['_translateOperationToEditorContent'](_0x2a1af2,_0x23c8cf,_0x414f62));if(!_0x55c08a||!_0x55c08a['length'])continue;const _0x29379d=_0x55c08a['every'](_0x57eb87=>'marker'===_0x57eb87['type']&&_0x57eb87['name']['startsWith']('$markedRemove')),_0x81a0bb=_0x2283bf(_0x55c08a,_0x5d611a,{'document':_0x3aee62['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1})['operationsA'];for(const _0x9d7d79 of _0x81a0bb)if('insert'===_0x9d7d79['type']){const _0x47b06b=_0x9d7d79,_0x1f208d=_0x47b06b['nodes'];_0x3aee62['model']['change'](_0x42363d=>{const _0x516ddb=_0x42363d['createDocumentFragment']();for(const _0x2a0b95 of _0x1f208d)_0x42363d['append'](_0x2a0b95['_clone'](!0x0),_0x516ddb);_0x1ce370['push']({'start':_0x47b06b['position'],'end':_0x47b06b['position'],'type':'insert','groupId':_0x329628['id'],'content':{'asString':this['_createGetContentFn'](_0x516ddb,_0x3aee62['data'])(),'asFragment':_0x516ddb}});});}else{if('marker'===_0x9d7d79['type']&&_0x9d7d79['name']['startsWith']('$markedRemove')){const _0x5d7ea4=_0x9d7d79;let _0xc9fb5b='remove-text';if(_0x29379d){const _0x284929=this['_findAdjacentContextDistance'](_0x5d7ea4['newRange']['start'],'backward',_0x3aee62['model']['schema']),_0x211eb7=this['_findAdjacentContextDistance'](_0x5d7ea4['newRange']['end'],'forward',_0x3aee62['model']['schema']);if(_0x284929||_0x211eb7){const _0x5d1744=_0x5d7ea4['newRange']['start']['getShiftedBy'](-_0x284929),_0x2f44b0=_0x5d7ea4['newRange']['end']['getShiftedBy'](_0x211eb7);_0x1ce370['push']({'start':_0x5d1744,'end':_0x2f44b0,'groupId':_0x329628['id'],'type':'remove-context'});}else _0xc9fb5b='remove-only';}_0x1ce370['push']({'start':_0x5d7ea4['newRange']['start'],'end':_0x5d7ea4['newRange']['end'],'groupId':_0x329628['id'],'type':_0xc9fb5b});}}}this['_insertMarkers'](_0x1ce370,_0x3aee62);}['clearAllMarkers'](){const _0x43355c=new Map();for(const _0x102d83 of this['_markers']['keys']()){const _0x58cb3d=this['_markers']['get'](_0x102d83);_0x58cb3d?.['editor']&&(_0x43355c['has'](_0x58cb3d['editor'])||_0x43355c['set'](_0x58cb3d['editor'],[]),_0x43355c['get'](_0x58cb3d['editor'])['push'](_0x102d83));}for(const [_0x3be667,_0x53e51d]of _0x43355c)_0x3be667['model']['change'](_0x180e42=>{for(const _0x32f244 of _0x53e51d)_0x3be667['model']['markers']['get'](_0x32f244)&&_0x180e42['removeMarker'](_0x32f244);});this['_markers']['clear'](),this['_activeMarkers']['clear']();}['switchToReadOnly'](){for(const _0x3222b4 of sa(this['context']))_0x3222b4['enableReadOnlyMode']('ai-review');}['switchToEdit'](){for(const _0x538827 of sa(this['context']))_0x538827['disableReadOnlyMode']('ai-review');}['applyChange'](_0x4f7cde,_0x53fc90=null){const _0x436680=_0x4f7cde['map'](_0x12ead4=>this['_getMarkersDataForGroup'](_0x12ead4))['flat'](),_0x16311b=new Map();for(const _0x2ee722 of _0x436680)_0x16311b['has'](_0x2ee722['editor'])||_0x16311b['set'](_0x2ee722['editor'],[]),_0x16311b['get'](_0x2ee722['editor'])['push'](_0x2ee722);for(const [_0x2f3aa3,_0x5765ba]of _0x16311b){const _0x4f828a=_0x2f3aa3['model'],_0x4136ec=_0x2f3aa3['plugins']['has']('TrackChangesEditing')?_0x2f3aa3['plugins']['get']('TrackChangesEditing'):null,_0x20092a=_0x53fc90&&_0x4136ec?new Set(_0x4136ec['getSuggestions']()['map'](_0xaccda2=>_0xaccda2['id'])):null;_0x4f828a['change'](_0x8ba4c7=>{const _0x2164d6=_0x8ba4c7['batch']['operations']['length'];for(const _0x2bd7a4 of _0x5765ba){const _0x4fe425=_0x2f3aa3['model']['markers']['get'](_0x2bd7a4['id']);if(_0x4fe425){if('insert'===_0x2bd7a4['type']){if(!_0x2bd7a4['content'])continue;_0x4f828a['insertContent'](_0x2bd7a4['content']['asFragment']||null,_0x4fe425['getRange']()['start']);}else'remove-text'!==_0x2bd7a4['type']&&'remove-only'!==_0x2bd7a4['type']||_0x4f828a['deleteContent'](_0x4f828a['createSelection'](_0x4fe425['getRange']()));_0x8ba4c7['removeMarker'](_0x2bd7a4['id']),this['_markers']['delete'](_0x2bd7a4['id']);}}if(_0x53fc90&&(jp(_0x8ba4c7['batch']['operations']['slice'](_0x2164d6),_0x53fc90),_0x4136ec)){for(const _0x13018f of _0x4136ec['getSuggestions']())_0x20092a['has'](_0x13018f['id'])||_0x13018f['setAttribute']('@ai',{'type':_0x53fc90});}});}}['rejectChange'](_0x24743e){const _0x2f8b46=this['_getMarkersDataForGroup'](_0x24743e),_0x23bafc=new Map();for(const _0x5dc09e of _0x2f8b46)_0x23bafc['has'](_0x5dc09e['editor'])||_0x23bafc['set'](_0x5dc09e['editor'],[]),_0x23bafc['get'](_0x5dc09e['editor'])['push'](_0x5dc09e);for(const [_0x8635b2,_0x1a167c]of _0x23bafc)_0x8635b2['model']['change'](_0x5acf6a=>{for(const _0x65f08d of _0x1a167c)_0x5acf6a['removeMarker'](_0x65f08d['id']),this['_markers']['delete'](_0x65f08d['id']);});}['getEditor'](){return na(this['context']);}['getEditors'](){return sa(this['context']);}['getEditorForChange'](_0x1d2daf){return this['_getMarkersDataForGroup'](_0x1d2daf)[0x0]?.['editor'];}['getMarkerElementForChange'](_0x5ee443){const _0x51f7a5=Array['from'](this['_markers']['values']())['filter'](_0x69bd2b=>_0x69bd2b['groupId']===_0x5ee443);if(!_0x51f7a5['length'])return null;const _0x3575e4=0x1===_0x51f7a5['length']?_0x51f7a5[0x0]:this['_sortMarkers'](_0x51f7a5)[0x0],_0x53c581=_0x3575e4['editor']['model']['markers']['get'](_0x3575e4['id']);return _0x53c581?{'modelRange':_0x53c581['getRange'](),'getElement':()=>this['_findMarkerElementById'](_0x3575e4['id'])}:null;}['getContentElementForChange'](_0x3f12d0){const _0x310ccd=Array['from'](this['_markers']['values']())['filter'](_0x55956c=>_0x55956c['groupId']===_0x3f12d0);if(!_0x310ccd['length'])return null;const _0x2a1939=0x1===_0x310ccd['length']?_0x310ccd[0x0]:this['_sortMarkers'](_0x310ccd)[0x0],_0x2445eb=_0x2a1939['editor'],_0x412548=_0x2445eb['model']['markers']['get'](_0x2a1939['id']);if(!_0x412548)return null;const _0xe196ea=_0x412548['getRange'](),_0x383c29=_0x2445eb['editing']['view']['getDomRoot'](_0xe196ea['root']['rootName'])||_0x2445eb['editing']['view']['getDomRoot']();if(!_0x383c29||!_0xe196ea)return null;let _0x35e95b=_0xe196ea['start']['parent'];for(;_0x35e95b['parent']&&!_0x35e95b['parent']['is']('rootElement');)_0x35e95b=_0x35e95b['parent'];if(!_0x35e95b||!_0x35e95b['name'])return null;const _0x30e653=_0x383c29['querySelector']('[data-marker-id=\x22'+_0x2a1939['id']+'\x22]');if(!_0x30e653)return null;let _0x4ad96a=null;_0x2445eb['model']['change'](_0x37a3fb=>{_0x4ad96a=_0x37a3fb['createDocumentFragment'](),_0x37a3fb['append'](_0x35e95b['_clone'](!0x0),_0x4ad96a);});const _0x1932bb=_0x2445eb['data']['toView'](_0x4ad96a)['getChild'](0x0);return _0x30e653['closest'](_0x1932bb['name']);}['reactivateMarkers'](_0x1c7880){const _0xbdf57=this['_getMarkersDataForGroup'](_0x1c7880);if(!_0xbdf57['length'])return;const _0x289be9=Array['from'](this['_activeMarkers'])['sort'](),_0x1a3812=Array['from'](new Set(_0xbdf57['map'](_0x5c4af7=>_0x5c4af7['id'])))['sort']();_0x289be9['join']('|')!==_0x1a3812['join']('|')&&(this['setAllMarkersAsInactive'](),this['setMarkersInElementAsActive'](_0x1c7880));}['setMarkersInElementAsActive'](_0x2a0e9c){const _0x3e2037=this['_getMarkersDataForGroup'](_0x2a0e9c);if(!_0x3e2037['length'])return;const _0xd3c87a=_0x3e2037[0x0]['editor'],_0x31bbda=new Set(_0x3e2037['map'](_0x5ad498=>_0x5ad498['id'])),_0x4fd378=Array['from'](_0x31bbda['values']())['map'](_0x24f6c6=>_0xd3c87a['model']['markers']['get'](_0x24f6c6))['filter'](_0x5bc928=>!!_0x5bc928);_0x31bbda['forEach'](_0x31d12d=>{this['_activeMarkers']['add'](_0x31d12d);}),_0xd3c87a['model']['change'](()=>{_0x4fd378['forEach'](_0x3ec059=>{_0xd3c87a['editing']['reconvertMarker'](_0x3ec059);});});}['setAllMarkersAsInactive'](){const _0x1cb0c9=Array['from'](this['_activeMarkers']);if(!_0x1cb0c9['length'])return;this['_activeMarkers']['clear']();const _0x59a121=new Map();for(const _0x1417e5 of _0x1cb0c9){const _0x3b191e=this['_markers']['get'](_0x1417e5);if(!_0x3b191e)continue;const _0xfdc5b5=_0x3b191e['editor'],_0xd95ff=_0xfdc5b5['model']['markers']['get'](_0x1417e5);_0xd95ff&&(_0x59a121['has'](_0xfdc5b5)||_0x59a121['set'](_0xfdc5b5,[]),_0x59a121['get'](_0xfdc5b5)['push'](_0xd95ff));}for(const [_0x5e76b7,_0x61c5c5]of _0x59a121)_0x5e76b7['model']['change'](()=>{_0x61c5c5['forEach'](_0x2d5290=>{_0x5e76b7['editing']['reconvertMarker'](_0x2d5290);});});}['_getPositionLimitingRange'](_0x33e51c,_0x23b060,_0x1ec50a='outside'){if(!_0x33e51c)return null;let _0x2aa948=_0x33e51c['parent'];for(;_0x2aa948&&_0x2aa948['parent']&&!_0x2aa948['parent']['is']('rootElement')&&!_0x23b060['model']['schema']['isLimit'](_0x2aa948)&&!_0x23b060['model']['schema']['isBlock'](_0x2aa948);)_0x2aa948=_0x2aa948['parent'];if(!_0x2aa948||!_0x2aa948['name']||_0x2aa948['is']('rootElement'))return null;let _0x5029ab=null;return _0x23b060['model']['change'](_0x128e0b=>{_0x5029ab='inside'===_0x1ec50a?_0x128e0b['createRangeIn'](_0x2aa948):_0x128e0b['createRangeOn'](_0x2aa948);}),_0x5029ab;}['_validateMarkers'](_0x4859af,_0x5cdfa2){const _0x48eb3a=Array['from'](this['_markers']['keys']()),_0x542c4d=new Map();for(const _0x11c318 of _0x48eb3a){const _0x39c0ee=_0x4859af['model']['markers']['get'](_0x11c318);if(!_0x39c0ee)continue;const _0x12d0fc=_0x39c0ee['getStart']()['root']['rootName']+':'+_0x39c0ee['getStart']()['path'][0x0];_0x542c4d['has'](_0x12d0fc)||_0x542c4d['set'](_0x12d0fc,[]),_0x542c4d['get'](_0x12d0fc)['push'](_0x39c0ee);}const _0x3c4a88=new Set();for(const _0x4dcc9f of _0x4859af['model']['document']['differ']['getChanges']()){let _0x3b35f4='',_0x1f1f61=null;if('insert'===_0x4dcc9f['type'])_0x1f1f61=new _0x1a83e1(_0x4dcc9f['position'],_0x4dcc9f['position']['getShiftedBy'](_0x4dcc9f['length'])),_0x3b35f4=_0x4dcc9f['position']['root']['rootName']+':'+_0x4dcc9f['position']['path'][0x0];else{if('remove'!==_0x4dcc9f['type'])continue;_0x1f1f61=new _0x1a83e1(_0x4dcc9f['position']),_0x3b35f4=_0x4dcc9f['position']['root']['rootName']+':'+_0x4dcc9f['position']['path'][0x0];}const _0x4845c5=_0x542c4d['get'](_0x3b35f4)||[];if(_0x4845c5['length']){for(const _0x1941e7 of _0x4845c5)if(_0x1f1f61['root']['rootName']===_0x1941e7['getRange']()['root']['rootName']&&('insert'!==_0x4dcc9f['type']||!_0x1f1f61['containsRange'](_0x1941e7['getRange']()))&&(_0x1f1f61['isIntersecting'](_0x1941e7['getRange']())||_0x1f1f61['start']['isTouching'](_0x1941e7['getRange']()['end'])||_0x1f1f61['end']['isTouching'](_0x1941e7['getRange']()['start']))){const _0xed5314=this['_parseMarkerName'](_0x1941e7['name']);Array['from'](this['_markers']['values']())['filter'](_0x3c2216=>_0x3c2216['groupId']===_0xed5314['groupId'])['forEach'](_0x2c9d78=>_0x3c4a88['add'](_0x2c9d78['id']));}}}if(_0x3c4a88['size']){for(const _0x55d0f1 of _0x3c4a88)_0x5cdfa2['removeMarker'](_0x55d0f1);return!0x0;}return!0x1;}['_handleMarkerChanges'](_0x11fefa){for(const {name:_0x39b730,data:_0x396ae8}of _0x11fefa['model']['document']['differ']['getChangedMarkers']()){if(!_0x39b730['startsWith'](sy))continue;const _0x5f5d6e=_0x396ae8['oldRange'],_0x3a1b22=_0x396ae8['newRange'],_0x475dba=_0x5f5d6e&&'$graveyard'===_0x5f5d6e['root']['rootName'],_0xcc07b2=_0x3a1b22&&'$graveyard'===_0x3a1b22['root']['rootName'];if(_0x475dba&&_0xcc07b2)continue;const _0x369a4f=this['_parseMarkerName'](_0x39b730);this['_markers']['get'](_0x39b730)&&(_0xcc07b2||!_0x3a1b22?this['_eventEmitter']['fire']('changeMarkerRemoved',{'markerId':_0x39b730,'changeId':_0x369a4f['groupId']}):_0x475dba&&_0x3a1b22&&this['_eventEmitter']['fire']('changeMarkerRestored',{'markerId':_0x39b730,'changeId':_0x369a4f['groupId']}));}}['_parseMarkerName'](_0x4206f5){const _0x2b1496=_0x4206f5['split'](':'),_0x596c86=(_0x2b1496[0x1]||'')['split']('_');return{'prefix':_0x2b1496[0x0],'groupId':_0x596c86[0x0],'suffix':_0x596c86[0x1]};}['_translateOperationToEditorContent'](_0x5b4e6e,_0x43a891,_0x538c84){if('insert'===_0x5b4e6e['type']){const _0x131ea9=_0x5b4e6e;return new _0x114814(this['_changePosition'](_0x43a891['concat'](_0x131ea9['position']['offset']),_0x538c84),_0x131ea9['nodes'],_0x131ea9['baseVersion']);}if('marker'===_0x5b4e6e['type']&&_0x5b4e6e['name']['startsWith']('$markedRemove')){const _0x13eec7=_0x5b4e6e;return new _0x538fe9(_0x13eec7['name'],_0x13eec7['oldRange'],this['_changeRange'](_0x13eec7['newRange'],_0x43a891['concat'](_0x13eec7['newRange']['start']['offset']),_0x43a891['concat'](_0x13eec7['newRange']['end']['offset']),_0x538c84),_0x13eec7['_markers'],_0x13eec7['affectsData'],_0x13eec7['baseVersion']);}return _0x5b4e6e;}['_groupAdjacentOperations'](_0x5a647){if(!_0x5a647['length'])return[];const _0x258799=[];let _0x2ae1eb=0x0,_0x5eebde=0x0,_0x44dc35=[];for(let _0x195188=0x0;_0x195188<=_0x5a647['length'];_0x195188++){const _0x3f70b5=_0x5a647[_0x195188],_0x383918=_0x5a647[_0x195188-0x1];!_0x3f70b5||_0x383918&&!this['_getOperationEnd'](_0x383918)['isTouching'](this['_getOperationStart'](_0x3f70b5))?(_0x258799['push']({'operations':_0x44dc35,'operationsIsolated':_0x44dc35['map'](_0xfb9ac9=>this['_shiftOperation'](_0xfb9ac9['clone'](),-_0x5eebde)),'groupOffset':_0x2ae1eb}),_0x44dc35=_0x3f70b5?[_0x3f70b5]:[],_0x5eebde+=_0x2ae1eb,_0x2ae1eb=0x0):_0x44dc35['push'](_0x3f70b5),_0x3f70b5&&'insert'===_0x3f70b5['type']&&(_0x2ae1eb+=_0x3f70b5['howMany']);}return _0x258799;}['_findAdjacentContextDistance'](_0x55a201,_0x2e77f9,_0x1bfe7c,_0x3d9f5c=0x1){const _0x835369=new _0x8f8d66({'startPosition':_0x55a201,'direction':_0x2e77f9});let _0x45aa8c=0x0;for(let _0x124791=0x0;_0x124791<_0x3d9f5c;_0x124791++){let _0x115f89=0x0,_0x3f9721=!0x1,_0x130b2c='forward'===_0x2e77f9?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x5f3910}of _0x835369)if(_0x5f3910['is']('$textProxy')){const _0x25480=_0x130b2c['exec'](_0x5f3910['data']);if(_0x25480&&_0x25480['length']){if(_0x115f89+='forward'===_0x2e77f9?_0x25480['index']+_0x25480[0x0]['length']:_0x5f3910['data']['length']-_0x25480['index'],_0x25480[0x0]['length']!==_0x5f3910['data']['length'])break;_0x3f9721=!0x0,_0x130b2c='forward'===_0x2e77f9?/^\w+/:/\w+$/;}else{if(_0x3f9721)break;_0x115f89+=_0x5f3910['offsetSize'];}}else{if(_0x5f3910['is']('element')){_0x1bfe7c['isInline'](_0x5f3910)&&!_0x3f9721&&(_0x115f89+=0x1);break;}}_0x45aa8c+=_0x115f89,_0x835369['jumpTo'](_0x55a201['getShiftedBy']('forward'===_0x2e77f9?_0x45aa8c:-_0x45aa8c));}return _0x45aa8c;}['_getChangeContext'](_0x3b5b08,_0x571fa6,_0x4260ca){const _0x591855=_0x4260ca['model']['schema'],_0x480ed6=this['_findAdjacentContextDistance'](_0x3b5b08,'backward',_0x591855,0x6),_0x5a10c8=this['_findAdjacentContextDistance'](_0x571fa6,'forward',_0x591855,0x6),_0x30ab06=_0x3b5b08['getShiftedBy'](-_0x480ed6),_0x48b878=_0x571fa6['getShiftedBy'](_0x5a10c8);return{'start':_0x30ab06,'end':_0x48b878,'hasContentBefore':!_0x30ab06['isAtStart'],'hasContentAfter':!_0x48b878['isAtEnd']};}['_insertMarkers'](_0x2f1db0,_0x35211d){const _0x1ebbf8=this['context']['plugins']['get']('AIEditing'),_0x2d2e6b=new Set();_0x35211d['model']['change'](_0x1201b5=>{for(const _0x268d43 of _0x2f1db0){const _0x38328a=''+sy+_0x268d43['type']+':'+_0x268d43['groupId']+'_'+_0x1ebbf8['_nextDataId'](_0x2d2e6b);this['_markers']['set'](_0x38328a,{'id':_0x38328a,'groupId':_0x268d43['groupId'],'type':_0x268d43['type'],'content':_0x268d43['content'],'editor':_0x35211d}),_0x1201b5['addMarker'](_0x38328a,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1201b5['createRange'](_0x268d43['start'],_0x268d43['end'])});}});}['_createGetContextFn'](_0x5ec6c7,_0x395af1,_0x363daf){let _0x53a09b='';return()=>{if(!_0x53a09b){const _0x2f1b47=_0x395af1['toView'](_0x5ec6c7,{'showSuggestionHighlights':!0x0});let _0x501051=_0x2f1b47['getChild'](0x0);if(_0x501051['is']('containerElement')||(_0x501051=_0x2f1b47),!_0x501051)return'';let _0x5eef58=!0x1;const _0x228d24=[];for(const _0x5c63ae of _0x501051['getChildren']())_0x5c63ae['is']('element','span')&&_0x5c63ae['hasClass']('ck-ai_review-marker_context-end')&&(_0x5eef58=!0x1),_0x5eef58&&_0x228d24['push'](_0x5c63ae),_0x5c63ae['is']('element','span')&&_0x5c63ae['hasClass']('ck-ai_review-marker_context-start')&&(_0x5eef58=!0x0);_0x501051['_removeChildren'](0x0,_0x501051['childCount']),_0x363daf?.['ellipsisBefore']&&_0x501051['_appendChild']('…'),_0x501051['_appendChild'](_0x228d24),_0x363daf?.['ellipsisAfter']&&_0x501051['_appendChild']('…');const _0x1259ce=_0x395af1['htmlProcessor']['domConverter']['viewToDom'](_0x2f1b47),_0x8f649=_0x395af1['htmlProcessor']['htmlWriter']['getHtml'](_0x1259ce);_0x53a09b=this['_removeUnsupportedElements'](_0x8f649);}return _0x53a09b;};}['_createGetContentFn'](_0x392607,_0xa1efd4){let _0x4c943b='';return()=>(_0x4c943b||(_0x4c943b=this['_removeUnsupportedElements'](_0xa1efd4['stringify'](_0x392607,{'showSuggestionHighlights':!0x0}))),_0x4c943b);}['_createGetContentUsingDataIdFn'](_0x243a8b,_0x3b0efc,_0x5e5047){let _0x260d7b='';return()=>{if(!_0x260d7b){const _0x2927a5=_0x5e5047['toView'](new _0x14f25f(_0x243a8b));_0x260d7b=_0x5e5047['htmlProcessor']['domConverter']['viewToDom'](_0x2927a5)['querySelector']('[data-id=\x22'+_0x3b0efc+'\x22]')?.['outerHTML']||'';}return _0x260d7b;};}['_removeUnsupportedElements'](_0x479c31){if(!_0x479c31)return'';const _0x4a7b07=Dm(_0x479c31,{'decodeEntities':!0x1}),_0x1f0e4d=Vm(_0x4a7b07);if(!_0x1f0e4d['length'])return _0x479c31;for(const _0x1f9c7c of _0x1f0e4d)xm(_0x1f9c7c);return Qm(_0x4a7b07,{'encodeEntities':!0x1});}['_neutralizeChangesOnUnsupportedElements'](_0x5643c3,_0x47cd21){const _0x5ee92f=Dm(_0x5643c3,{'decodeEntities':!0x1}),_0xc5bcc5=Dm(_0x47cd21,{'decodeEntities':!0x1}),_0x1e953b=Vm(_0x5ee92f),_0x4e6506=Vm(_0xc5bcc5);if(!_0x1e953b['length']&&!_0x4e6506['length'])return{'contentInitial':_0x5643c3,'contentNew':_0x47cd21};const _0xb24550=new Map();for(const _0x53fc85 of _0x1e953b)_0xb24550['set'](Fm(_0x53fc85,'data-id'),_0x53fc85);for(const _0x4000e4 of _0x4e6506){const _0x506259=Fm(_0x4000e4,'data-id'),_0x37851f=_0x506259?_0xb24550['get'](_0x506259):void 0x0;_0x37851f?Cm(_0x4000e4,am(_0x37851f,!0x0)):xm(_0x4000e4);}return{'contentInitial':Qm(_0x5ee92f,{'encodeEntities':!0x1}),'contentNew':Qm(_0xc5bcc5,{'encodeEntities':!0x1})};}['_findMarkerElement'](_0x406df8,_0x2d9756=0x5){let _0x318680=_0x406df8,_0x55b944=null;for(let _0x3ce936=0x0;_0x3ce936<_0x2d9756&&_0x318680;_0x3ce936++)if(_0x318680['className']){if((''+_0x318680['className'])['includes']('ck-ai_review-marker_')){if(!_0x318680['getAttribute']('data-marker-id'))break;_0x55b944=_0x318680;break;}_0x318680=_0x318680['parentElement'];}else _0x318680=_0x318680['parentElement'];return _0x55b944;}['_findMarkerElementById'](_0x464037){const _0x1d7d36=this['_markers']['get'](_0x464037);if(!_0x1d7d36)return null;const _0x233c53=_0x1d7d36['editor']['model']['markers']['get'](_0x464037);return _0x233c53?fd(_0x1d7d36['editor']['editing'],_0x233c53):null;}['_getMarkersDataForGroup'](_0x7bdcd1){return Array['from'](this['_markers']['values']())['filter'](_0x107a5b=>_0x107a5b['groupId']===_0x7bdcd1);}['_getOperationStart'](_0x5c68ba){return'insert'===_0x5c68ba['type']?_0x5c68ba['position']:_0x5c68ba['newRange']['start'];}['_getOperationEnd'](_0x30d5c1,_0x36720f=!0x1){return'insert'===_0x30d5c1['type']?_0x36720f?_0x30d5c1['position']:_0x30d5c1['position']['getShiftedBy'](_0x30d5c1['howMany']):_0x30d5c1['newRange']['end'];}['_shiftOperation'](_0x5d363d,_0x262735){return'insert'===_0x5d363d['type']?_0x5d363d['position']=_0x5d363d['position']['getShiftedBy'](_0x262735):'marker'===_0x5d363d['type']&&_0x5d363d['newRange']&&(_0x5d363d['newRange']=new _0x1a83e1(_0x5d363d['newRange']['start']['getShiftedBy'](_0x262735),_0x5d363d['newRange']['end']['getShiftedBy'](_0x262735))),_0x5d363d;}['_changeOperationOwnerDocument'](_0x3b71ad,_0x531303){'insert'===_0x3b71ad['type']?_0x3b71ad['position']=this['_changePositionOwnerDocument'](_0x3b71ad['position'],_0x531303):'marker'===_0x3b71ad['type']&&_0x3b71ad['newRange']&&(_0x3b71ad['newRange']=this['_changeRangeOwnerDocument'](_0x3b71ad['newRange'],_0x531303));}['_changePositionOwnerDocument'](_0x1da43c,_0x3b53eb){return new _0x30903b(_0x3b53eb,_0x1da43c['path']);}['_changeRangeOwnerDocument'](_0x5e6730,_0x1d1a70){return new _0x1a83e1(this['_changePositionOwnerDocument'](_0x5e6730['start'],_0x1d1a70),this['_changePositionOwnerDocument'](_0x5e6730['end'],_0x1d1a70));}['_changePosition'](_0x36647d,_0x46a70d){return new _0x30903b(_0x46a70d,[..._0x36647d]);}['_changeRange'](_0x5b623b,_0x36e48c,_0x34ec66,_0x4ab623){return new _0x1a83e1(this['_changePosition'](_0x36e48c,_0x4ab623),this['_changePosition'](_0x34ec66,_0x4ab623));}['_sortMarkers'](_0x178bd4){const _0x1fd714=_0x4ba17d=>{switch(_0x4ba17d){case'insert':return 0x0;case'remove-context':return 0x1;case'remove-only':return 0x2;case'remove-text':return 0x3;}};return _0x178bd4['sort']((_0x579aae,_0x12d1af)=>_0x1fd714(_0x579aae['type'])-_0x1fd714(_0x12d1af['type']));}['_hasSameTopLevelElement'](_0x4ecb9f,_0xe60563){const _0x46f995=_0x4ecb9f['getChild'](0x0),_0x2a20d1=_0xe60563['getChild'](0x0);return!(!_0x46f995||!_0x2a20d1)&&((!_0x46f995['is']('element')||!_0x2a20d1['is']('element')||_0x46f995['name']===_0x2a20d1['name'])&&!(_0x46f995['is']('element')&&!_0x2a20d1['is']('element')||!_0x46f995['is']('element')&&_0x2a20d1['is']('element')));}['_haveSingleTopLevelElement'](_0x310ad6){return 0x1===_0x310ad6['childCount'];}['_haveOnlyInlineContent'](_0x4c5a4b,_0xd3651b){for(const _0x7a1efe of _0x4c5a4b['getChildren']())if(_0x7a1efe['is']('element')&&!_0xd3651b['isInline'](_0x7a1efe))return!0x1;return!0x0;}['_upsertDataId'](_0xa2e276,_0x3aec11){let _0x302af3=_0xa2e276['getAttribute'](Kd);return _0x302af3||(_0x302af3=_0x3aec11(),_0xa2e276['_setAttribute'](Kd,_0x302af3)),_0x302af3;}};const ay=/* #__PURE__ -- @preserve */
_0x3cd689();var cy=class extends ay{['id'];['contentNew'];['contentInitial'];['documentVersion'];constructor({id:_0x16deb6,contentNew:_0x510afb,contentInitial:_0x3423b9,documentVersion:_0x1d8d53}){super(),this['id']=_0x16deb6,this['contentNew']=_0x510afb,this['contentInitial']=_0x3423b9,this['documentVersion']=_0x1d8d53;}};const ly=/* #__PURE__ -- @preserve */
_0x5b14e3();var hy=class extends ly{['id'];['parent'];['_data'];['_editorOperations']=[];constructor(_0x17abd6,_0x4f83f6,_0x2b981f){super(),this['id']=_0x17abd6,this['parent']=_0x2b981f,this['_data']=_0x4f83f6,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']['slice']();}get['operationsIsolated'](){return this['_data']['operationsIsolated']['slice']();}};const uy=/* #__PURE__ -- @preserve */
_0x5b14e3();var dy=class extends uy{['id']=_0x10825a();['callId'];['_results']=new Map();['_changes']=[];['_sourceCheck'];['_documentData'];['_aiConnector'];['_reviewParams'];['_reviewArgs'];['_activeRequest']=null;['_currentError'];['_wasAborted']=!0x1;constructor(_0x1e031f,_0x39d380,_0x2ed852,_0x356ca7,_0x212a8b){super(),this['_sourceCheck']=_0x39d380,this['_documentData']=_0x1e031f,this['_aiConnector']=_0x2ed852,this['_reviewParams']=_0x356ca7,this['_reviewArgs']=_0x212a8b,this['on']('change:status',(_0x40fc65,_0x5608af,_0x38e393)=>{'aborted'==_0x38e393&&(this['_wasAborted']=!0x0),this['fire']('reviewCheckRunUpdated',{'status':_0x38e393,'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'](_0x2e4218=>'pending'===_0x2e4218['status']);}get['currentError'](){return this['_currentError'];}get['results'](){return Array['from'](this['_results']['values']());}['updateDocumentData'](_0xc17e7b){this['_documentData']=_0xc17e7b;}async['start'](){this['status']='loading',this['_currentError']=void 0x0;try{this['_activeRequest']=this['_createApiRequest']();const _0x1e2438=await this['_activeRequest']['getStream']();this['status']='data';for await(const _0x5694d7 of _0x1e2438)'unmodified'!==_0x5694d7['data']['operation']&&('error'!==_0x5694d7['data']['operation']?'review-metadata'!==_0x5694d7['event']?this['_addReviewCheckResult'](_0x5694d7['data']['dataId'],_0x5694d7['data']['textDelta']):this['callId']=_0x5694d7['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(_0x2e718f){this['_currentError']=_0x2e718f,Hp(_0x2e718f)?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'](_0x40dd35,_0x3658a0){const _0x37a12f=this['_results']['get'](_0x40dd35);if(!_0x37a12f)return;if(0x0===_0x3658a0['length'])return;const _0x1c8ae3=[];_0x3658a0['forEach']((_0x3c7794,_0x380334)=>{const _0x9e9d42=new hy(_0x37a12f['id']+'-'+_0x380334,_0x3c7794,_0x37a12f);_0x9e9d42['on']('change:status',()=>{this['fire']('reviewCheckResultChangeStatusUpdated',{'change':_0x9e9d42,'status':_0x9e9d42['status']});}),_0x9e9d42['on']('change:isActivated',()=>{_0x9e9d42['isActivated']?this['fire']('reviewCheckResultActivated',{'change':_0x9e9d42}):this['fire']('reviewCheckResultDeactivated',{'change':_0x9e9d42});}),this['_changes']['push'](_0x9e9d42),_0x1c8ae3['push'](_0x9e9d42);}),this['fire']('reviewCheckResultReady',{'changes':_0x1c8ae3,'result':_0x37a12f,'source':this});}['abort'](){this['_activeRequest']&&(this['_activeRequest']['abortController']['abort'](),this['_activeRequest']=null,this['status']='aborted');}['isChangeActive'](_0x1dd757){const _0x3a5121=this['_changes']['find'](_0x528022=>_0x528022['id']===_0x1dd757);return!(!_0x3a5121||'pending'!==_0x3a5121['status']);}['isAnyChangeActivated'](){return this['_changes']['some'](_0x4c6e9d=>!0x0===_0x4c6e9d['isActivated']);}['getActiveChanges'](){return this['_changes']['filter'](_0x1bae30=>'pending'===_0x1bae30['status']);}['getChangeById'](_0x112aba){return this['_changes']['find'](_0x592337=>_0x592337['id']===_0x112aba);}['markAllChangesAsAccepted'](){for(const _0x17c3f9 of this['_changes'])'pending'===_0x17c3f9['status']&&(_0x17c3f9['status']='accepted');this['_checkIfFinished']();}['markChangeAsAccepted'](_0x2b6dd3){const _0xba1c21=this['_changes']['find'](_0x32f8ec=>_0x32f8ec['id']===_0x2b6dd3);_0xba1c21&&'pending'===_0xba1c21['status']&&(_0xba1c21['status']='accepted'),this['_checkIfFinished']();}['markChangeAsRejected'](_0x46bb12){const _0x2d0d0a=this['_changes']['find'](_0x309361=>_0x309361['id']===_0x46bb12);_0x2d0d0a&&'pending'===_0x2d0d0a['status']&&(_0x2d0d0a['status']='rejected'),this['_checkIfFinished']();}['markChangeAsOutdated'](_0x5dedfc){const _0x5790b2=this['_changes']['find'](_0xdae323=>_0xdae323['id']===_0x5dedfc);_0x5790b2&&'pending'===_0x5790b2['status']&&(_0x5790b2['status']='outdated'),this['_checkIfFinished']();}['markChangeAsPending'](_0x360f7b){const _0x12b010=this['_changes']['find'](_0x280ff6=>_0x280ff6['id']===_0x360f7b);_0x12b010&&'outdated'===_0x12b010['status']&&(_0x12b010['status']='pending'),this['_checkIfFinished']();}['activateChange'](_0x463233){this['_changes']['filter'](_0x99ac36=>_0x99ac36['isActivated']&&_0x99ac36['id']!==_0x463233)['forEach'](_0x207cec=>{_0x207cec['isActivated']=!0x1;});const _0x51975b=this['_changes']['find'](_0x43a1f5=>_0x43a1f5['id']===_0x463233);_0x51975b&&'pending'===_0x51975b['status']&&(_0x51975b['isActivated']=!0x0);}['deactivateChange'](){this['_changes']['filter'](_0x20aaf8=>_0x20aaf8['isActivated'])['forEach'](_0x16502f=>{_0x16502f['isActivated']=!0x1;});}['forceReadyState'](){this['status']='ready';}async['sendRating'](_0x17dec3){if('initialized'===this['status']||'loading'===this['status']||'data'===this['status']||this['_wasAborted'])return;if(!this['callId']||0x0===this['_changes']['length'])return;let _0x501f22;if(_0x17dec3){const _0x1ec59d=this['_changes']['find'](_0x131a38=>_0x131a38['id']===_0x17dec3);if(_0x1ec59d&&_0x1ec59d['isRated'])return;_0x1ec59d&&(_0x501f22=_0x1ec59d['parent']['id'],_0x1ec59d['isRated']=!0x0);}const _0x2a8606={'positiveCount':this['_changes']['filter'](_0x41eb0b=>'accepted'===_0x41eb0b['status'])['length'],'totalCount':this['_changes']['length']};this['_sendRatingRequest'](_0x2a8606,this['callId'],_0x501f22);}['_addReviewCheckResult'](_0x2c479d,_0x564e29){const _0x52012f=this['_documentData']['elements']['get'](_0x2c479d);if(!_0x52012f)return;const _0x347d64=_0x52012f['getContent']();if(_0x347d64===_0x564e29)return;const _0x45f8cc=new cy({'id':_0x2c479d,'contentInitial':_0x347d64,'contentNew':_0x564e29,'documentVersion':_0x52012f['documentVersion']});this['_results']['set'](_0x45f8cc['id'],_0x45f8cc),this['fire']('reviewCheckResultAdded',{'result':_0x45f8cc,'source':this,'editor':_0x52012f['editor']});}['_checkIfFinished'](){'finished'===this['status']&&this['_changes']['filter'](_0x52fd21=>'pending'===_0x52fd21['status'])['length']>0x0&&(this['status']='ready'),'ready'===this['status']&&0x0===this['_changes']['filter'](_0x3efbf5=>'pending'===_0x3efbf5['status'])['length']&&(this['status']='finished');}},fy=class extends dy{get['subTitle'](){if(!this['_reviewParams']||0x0===this['_reviewParams']['length'])return'';const _0xf7690b=[];if(this['_reviewParams']['length']>0x0&&this['_sourceCheck']['options'])for(let _0x3270ac=0x0;_0x3270ac<this['_reviewParams']['length'];_0x3270ac++){if(!this['_reviewParams'][_0x3270ac]||!this['_sourceCheck']['options'][_0x3270ac])continue;const _0x3d5aa2=this['_sourceCheck']['options'][_0x3270ac]['data']?.['find'](_0x5ae8c7=>_0x5ae8c7['id']===this['_reviewParams'][_0x3270ac]);_0x3d5aa2&&_0xf7690b['push'](_0x3d5aa2['label']);}return _0xf7690b['join'](',\x20');}get['reviewName'](){return this['_composeReviewName']();}['_createApiRequest'](){return this['_aiConnector']['callSystemReview']({'reviewName':this['_composeReviewName'](),'content':this['_documentData']['content'],'args':this['_reviewArgs']});}['_sendRatingRequest'](_0xb797be,_0x5c0216,_0x4e31cc){return this['_aiConnector']['upsertAIReviewRating'](this['reviewName'],_0x5c0216,_0xb797be,_0x4e31cc);}['_composeReviewName'](){return!this['_reviewParams']||0x0===this['_reviewParams']['length']||this['_sourceCheck']['useArgs']?this['_sourceCheck']['apiId']:[this['_sourceCheck']['apiId'],...this['_reviewParams']]['join']('-');}},my=class extends _0x2de7b2{['_aiConnector'];['_aiReviewCoreUi'];['_aiReviewCoreEditing'];['_availableReviewChecks'];['_reporter'];['_currentReviewCheckRun'];['_changeActivationSource']=null;static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_initRequiredPlugins'](),this['_initAvailableReviewChecks'](),this['_initUIListeners']();}async['_initAvailableReviewChecks'](){this['_availableReviewChecks']=await this['_getReviewChecks'](),this['_aiReviewCoreUi']['setAvailableChecks'](this['_availableReviewChecks']);}['_initUIListeners'](){this['listenTo'](this['_aiReviewCoreUi'],'getReviewCheckList',()=>{this['_availableReviewChecks']&&this['_aiReviewCoreUi']['setAvailableChecks'](this['_availableReviewChecks']);}),this['listenTo'](this['_aiReviewCoreUi'],'runReviewCheck',(_0x298ae0,_0x2f89e7)=>this['runCheck'](_0x2f89e7)),this['listenTo'](this['_aiReviewCoreUi'],'leaveReview',()=>{this['_onReviewRunLeave']();}),this['listenTo'](this['_aiReviewCoreUi'],'leaveReviewCoreResultList',()=>{this['_onReviewRunLeave'](!0x0);}),this['listenTo'](this['_aiReviewCoreUi'],'abortReviewStream',()=>this['abort']()),this['listenTo'](this['_aiReviewCoreUi'],'finishReview',()=>{this['_onReviewRunLeave'](!0x0);}),this['listenTo'](this['_aiReviewCoreUi'],'acceptAllChanges',()=>{if(!this['_currentReviewCheckRun'])return;const _0x15a164=this['_currentReviewCheckRun']['getActiveChanges']();if(!_0x15a164['length'])return;this['_aiReviewCoreEditing']['applyChange'](_0x15a164['map'](_0xc01a93=>_0xc01a93['id']),this['_aiSource']);const _0x50cb89=this['_currentReviewCheckRun'];_0x50cb89['markAllChangesAsAccepted'](),_0x50cb89['sendRating']();}),this['listenTo'](this['_aiReviewCoreUi'],'acceptChange',(_0x456262,_0x1467f6)=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['isChangeActive'](_0x1467f6['id'])&&(this['_aiReviewCoreEditing']['applyChange']([_0x1467f6['id']],this['_aiSource']),this['_currentReviewCheckRun']['markChangeAsAccepted'](_0x1467f6['id']),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_currentReviewCheckRun']['sendRating'](_0x1467f6['id']));}),this['listenTo'](this['_aiReviewCoreUi'],'dismissChange',(_0xdd41ff,_0x13bffb)=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['isChangeActive'](_0x13bffb['id'])&&(this['_aiReviewCoreEditing']['rejectChange'](_0x13bffb['id']),this['_currentReviewCheckRun']['markChangeAsRejected'](_0x13bffb['id']),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_currentReviewCheckRun']['sendRating'](_0x13bffb['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',(_0x521953,_0x4fbc71)=>{this['_onActivateChange'](_0x4fbc71);}),this['listenTo'](this['_aiReviewCoreUi'],'deactivateChange',(_0x2149a6,_0x3f4f74)=>{this['_onDeactivateChange'](_0x3f4f74);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerClicked',(_0x35fe5d,_0x4d2a22)=>{this['_onChangeMarkerClicked'](_0x35fe5d,_0x4d2a22);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerHovered',(_0x5be2b6,_0x3f3bf3)=>{this['_onChangeMarkerHovered'](_0x5be2b6,_0x3f3bf3);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerBlurred',()=>{this['_onChangeMarkerBlurred']();}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerRemoved',(_0x340c16,_0x445a24)=>{this['_onChangeMarkerRemoved'](_0x340c16,_0x445a24);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerRestored',(_0x1ac6f7,_0x4bf66c)=>{this['_onChangeMarkerRestored'](_0x1ac6f7,_0x4bf66c);});}async['runCheck'](_0x318903){if(!this['_availableReviewChecks'])return;const _0x5cef2e=this['_availableReviewChecks']['find'](_0x256b3e=>_0x256b3e['id']===_0x318903['id']);if(_0x5cef2e){this['_onReviewCheckRun'](_0x318903),this['_aiReviewCoreEditing']['switchToReadOnly'](),this['_currentReviewCheckRun']=this['_createReviewCheckRun'](_0x318903,_0x5cef2e),this['_aiReviewCoreUi']['setCheckResultTitle'](this['_currentReviewCheckRun']['title'],this['_currentReviewCheckRun']['subTitle']),this['_currentReviewCheckRun']['on']('reviewCheckRunUpdated',(_0x24fd43,_0xb41b8b)=>{switch(_0xb41b8b['status']){case'data':case'loading':this['_aiReviewCoreUi']['showCheckRunResults'](_0xb41b8b);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 _0x5b5a95('ai-review-mode-check-run-general-error',this,void 0x0,this['_currentReviewCheckRun']?.['currentError']));break;case'error-chunk':this['_aiReviewCoreUi']['showChunkErrorView'](),this['_logError'](new _0x5b5a95('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'!==_0xb41b8b['status']&&'error-chunk'!==_0xb41b8b['status']&&'error-general'!==_0xb41b8b['status']||this['_currentReviewCheckRun']?.['sendRating']();}),this['_currentReviewCheckRun']['on']('reviewCheckResultAdded',(_0x203c63,_0x1aecfc)=>{if(!this['_currentReviewCheckRun'])throw new _0x5b5a95('ai-review-mode-no-current-check-run',this);const _0x428c7a=this['_diffContent'](_0x1aecfc['editor'],_0x1aecfc['result']['contentInitial'],_0x1aecfc['result']['contentNew']);_0x1aecfc['source']['addResultChanges'](_0x1aecfc['result']['id'],_0x428c7a);}),this['_currentReviewCheckRun']['on']('reviewCheckResultReady',(_0x458cd4,_0x4d62c3)=>{for(const _0x529fec of _0x4d62c3['changes'])this['_aiReviewCoreUi']['showCheckRunResult'](_0x529fec);this['_markChangePositionInEditorContent'](_0x4d62c3['changes'],_0x4d62c3['source']['documentData']);}),this['_currentReviewCheckRun']['on']('reviewCheckResultChangeStatusUpdated',(_0x12512d,_0x3300e4)=>{this['_aiReviewCoreUi']['updateChangeState'](_0x3300e4['change']['id'],_0x3300e4['status']);}),this['_currentReviewCheckRun']['on']('reviewCheckResultActivated',(_0x33d338,_0x55c8bb)=>{this['_onReviewCheckResultActivated'](_0x55c8bb);}),this['_currentReviewCheckRun']['on']('reviewCheckResultDeactivated',()=>{this['_onReviewCheckResultDeactivated']();});try{await this['_currentReviewCheckRun']['start']();}catch(_0x1d0528){if(Hp(_0x1d0528))return;_0x1d0528 instanceof _0x5b5a95?this['_logError'](_0x1d0528):this['_logError'](new _0x5b5a95('ai-review-mode-check-run-failed',this,void 0x0,_0x1d0528));}}else this['_logError'](new _0x5b5a95('ai-review-mode-source-check-not-found',this,{'checkId':_0x318903['id']}));}['abort'](){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['abort']();}['getAvailableChecks'](){return(this['_availableReviewChecks']??[])['slice']();}['getCurrentCheckRun'](){return this['_currentReviewCheckRun'];}['_createReviewCheckRun'](_0xae5e18,_0x5198c8){return new fy(this['_aiReviewCoreEditing']['getDocumentData'](),_0x5198c8,this['_aiConnector'],_0xae5e18['params'],_0xae5e18['args']);}['_onChangeMarkerRemoved'](_0x29c85b,_0x3f4181){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['markChangeAsOutdated'](_0x3f4181['changeId']);}['_onChangeMarkerRestored'](_0x4010cb,_0x30d9b8){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['markChangeAsPending'](_0x30d9b8['changeId']);}['_onCheckRunFinished'](){this['_aiReviewCoreUi']['showReviewCompletedView']();}['_initRequiredPlugins'](){this['_aiConnector']=this['context']['plugins']['get']('AIConnector'),this['_reporter']=this['context']['plugins']['get'](Gp)['createReporter']('aireview');}['_onReviewRunLeave'](_0x5ff970=!0x1){this['_currentReviewCheckRun']&&(this['_currentReviewCheckRun']['hasModifications']||this['_currentReviewCheckRun']['sendRating'](),this['_currentReviewCheckRun']['stopListening'](),this['_currentReviewCheckRun']['abort'](),this['_currentReviewCheckRun']=void 0x0),_0x5ff970&&this['_aiReviewCoreUi']['showReviewCheckList'](),this['_aiReviewCoreEditing']['clearAllMarkers'](),this['_aiReviewCoreEditing']['switchToEdit'](),this['_changeActivationSource']=null;for(const _0x2ec6ba of this['_aiReviewCoreEditing']['getEditors']())_0x2ec6ba['editing']['view']['change'](_0x5eceaa=>{for(const _0x294ab4 of _0x2ec6ba['editing']['view']['document']['getRoots']())_0x5eceaa['removeClass']('ck-ai_review-diff',_0x294ab4),_0x5eceaa['removeClass']('ck-ai_review-highlights',_0x294ab4),_0x5eceaa['removeClass']('ck-ai-translate-mode-content',_0x294ab4);});}['_logError'](_0x22cc4e){this['_reporter']['logError'](_0x22cc4e),'ai-review-mode-models-unable-to-retrieve'===function(_0x3504){return _0x3504 instanceof Zp?_0x3504['code']:_0x3504 instanceof Error?_0x3504['message']['match'](/^\S+/)?.[0x0]:void 0x0;}(_0x22cc4e)?this['_aiReviewCoreUi']['showGeneralReviewCoreErrorView']():this['_aiReviewCoreUi']['showGeneralResultsErrorView']();}['_scrollToChange'](_0x3c5df4){if('content'===this['_changeActivationSource']){const _0x2b6da0=this['_aiReviewCoreUi']['getChangeElement'](_0x3c5df4);_0x2b6da0&&_0x2bea5c(_0x2b6da0['closest']('.ck-ai_review__check-run-result')||_0x2b6da0);}else{if('panel'===this['_changeActivationSource']){const _0x175201=this['_getChangeContentElement'](_0x3c5df4);if(!_0x175201)return;_0x38fdd1({'target':_0x175201,'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0});}}}},py=class extends dy{['_prompt'];['_model'];constructor(_0x5b3dcb,_0x304e25,_0x5d2412,_0x95a3b7,_0x11baa5){super(_0x5d2412,_0x95a3b7,_0x11baa5),this['_prompt']=_0x5b3dcb,this['_model']=_0x304e25;}get['subTitle'](){return this['_prompt'];}['_createApiRequest'](){return this['_aiConnector']['callCustomReview']({'content':this['_documentData']['content'],'prompt':this['_prompt'],'model':this['_model']});}['_sendRatingRequest'](_0x1cbacd,_0x2886af,_0x40171b){return this['_aiConnector']['upsertCustomAIReviewRating'](_0x2886af,_0x1cbacd,_0x40171b);}},gy=class{['id'];['commandId'];['title'];['description'];['isParameterized'];['useArgs'];['options'];['args'];get['apiId'](){return this['commandId'];}constructor(_0x477c10){this['id']=_0x477c10['id'],this['commandId']=_0x477c10['commandId'],this['title']=_0x477c10['title'],this['description']=_0x477c10['description'],this['isParameterized']=_0x477c10['isParameterized'],this['useArgs']=_0x477c10['useArgs'],this['options']=_0x477c10['options'],this['args']=_0x477c10['args'];}},Oy=class extends gy{['isExtra']=!0x0;['prompt'];['model'];['_defaultModel']=null;constructor(_0x3c7410,_0x339019,_0x4ff55e){super(_0x3c7410),this['prompt']=_0x3c7410['prompt'],this['model']=_0x3c7410['model'],this['model']?this['_defaultModel']=_0x339019['find'](_0x5ee60d=>_0x5ee60d['id']===this['model'])||null:this['_defaultModel']=_0x4ff55e;}get['defaultModel'](){return this['_defaultModel'];}},wy=class extends py{get['subTitle'](){return'';}set['prompt'](_0x131c1f){this['_prompt']=_0x131c1f;}set['model'](_0x30d174){this['_model']=_0x30d174;}},by=class extends _0x2de7b2{static get['requires'](){return[ea,Gp];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_cache'];['_reporter'];['init'](){this['_reporter']=this['context']['plugins']['get'](Gp)['createReporter']('aireview');}['getChecksList'](){return this['_cache']||(this['_cache']=this['_loadChecksList']()),this['_cache'];}};const yy=[{'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'}]}]}],vy=/* #__PURE__ -- @preserve */
_0x5b14e3();var _y=class extends vy{['_checks']=[];['setupChecks'](_0x41a999){this['_checks']=_0x41a999['map'](_0x451ede=>new gy(_0x451ede));}get['checks'](){return this['_checks']['slice']();}['getCheckById'](_0x5c978a){return this['checks']['find'](_0x195f5f=>_0x195f5f['id']===_0x5c978a);}['removeCheckById'](_0x161a2f){this['_checks']=this['_checks']['filter'](_0x4508ba=>_0x4508ba['id']!==_0x161a2f);}},Ey=class extends gy{['_models']=[];['_defaultModel']=null;constructor(_0x5a158e,_0x1226f0,_0x141f81){super(_0x5a158e),this['_models']=_0x1226f0,this['_defaultModel']=_0x141f81;}get['models'](){return this['_models']['slice']();}get['defaultModel'](){return this['_defaultModel'];}},Ty=class extends _y{['_allModels']=[];['_recommendedModels']=[];['_defaultModel']=null;constructor(_0x1aba90,_0x1e6e60,_0x200c11){super(),this['_allModels']=_0x1aba90,this['_recommendedModels']=_0x1e6e60,this['_defaultModel']=_0x200c11;}get['allModels'](){return this['_allModels']['slice']();}['setupChecks'](_0x4d659d){this['_checks']=_0x4d659d['map'](_0x5472a5=>!0x0===_0x5472a5['isExtra']?new Oy(_0x5472a5,this['_allModels'],this['_defaultModel']):'custom'===_0x5472a5['id']?new Ey(_0x5472a5,this['_recommendedModels'],this['_defaultModel']):new gy(_0x5472a5));}},Ay=class extends by{static get['pluginName'](){return'AIReviewModeCheckRegistry';}['_modelsLoadError']=null;constructor(_0xc591ee){super(_0xc591ee),this['context']['config']['define']('ai.review.extraCommands',[]);}get['modelsLoadError'](){return this['_modelsLoadError'];}['getExtraChecks'](){return this['context']['config']['get']('ai.review.extraCommands')['map'](_0x25bbad=>({'id':_0x25bbad['id'],'commandId':_0x25bbad['id'],'title':_0x25bbad['label'],'description':_0x25bbad['description'],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x25bbad['prompt'],'model':_0x25bbad['model']}));}async['_loadChecksList'](){const _0x5ba110=[...yy,...this['getExtraChecks']()]['map'](_0x454dbf=>_0x454dbf['isExtra']?_0x454dbf:this['_translateReviewCheck'](_0x454dbf)),_0x17b177=await this['_getModels'](),_0xcfef73=new Ty(_0x17b177['all'],_0x17b177['recommended'],_0x17b177['default']);return _0xcfef73['setupChecks'](_0x5ba110),_0xcfef73;}async['_getModels'](){const _0x184c46=this['context']['plugins']['get']('AIConnector');try{const _0x271c0c=new Dp({'connector':_0x184c46,'config':this['context']['config']['get']('ai.models'),'locale':this['context']['locale']}),_0x2ca5bd={'all':await _0x271c0c['getAll'](),'recommended':await _0x271c0c['getAvailableModels'](),'default':await _0x271c0c['getDefault']()};return this['_modelsLoadError']=null,_0x2ca5bd;}catch(_0x47d58b){return this['_modelsLoadError']=new _0x5b5a95('ai-review-mode-models-unable-to-retrieve',this,void 0x0,_0x47d58b),this['_reporter']['logError'](this['_modelsLoadError'],{'context':{'operation':'load-review-models'}}),{'all':[],'recommended':[],'default':null};}}['_translateReviewCheck'](_0x393d78){const _0x485291='AI_REVIEW_CHECK_'+_0x393d78['commandId']['toUpperCase']()['replaceAll']('-','_'),_0x2199c4={..._0x393d78,'title':this['_translate'](_0x485291+'_TITLE',_0x393d78['title']),'description':this['_translate'](_0x485291+'_DESCRIPTION',_0x393d78['description'])};return _0x393d78['options']&&(_0x2199c4['options']=_0x393d78['options']['map'](_0x2c201c=>({..._0x2c201c,'label':this['_translate'](_0x485291+'_OPTIONS_LABEL',_0x2c201c['label']||''),'data':_0x2c201c['data']?_0x2c201c['data']['map'](_0xc1973f=>({..._0xc1973f,'label':this['_translate'](_0x485291+'_OPTIONS_DATA_'+_0xc1973f['id']['toUpperCase'](),_0xc1973f['label'])})):void 0x0}))),_0x2199c4;}['_translate'](_0x1f1664,_0x1d32d5){const _0x2592e6=ia(this['context']['locale'],_0x1f1664);return _0x2592e6===_0x1f1664?_0x1d32d5:_0x2592e6;}},Sy=class extends my{static get['pluginName'](){return'AIReviewModeController';}static get['requires'](){return[Gp,Ay];}get['_aiSource'](){return'review';}['_isDiffOn']=!0x1;['_usesAvailableCommandsConfig'];constructor(_0x184ad4){super(_0x184ad4),this['_usesAvailableCommandsConfig']=Boolean(this['context']['config']['get']('ai.review.availableCommands')),this['context']['config']['define']('ai.review.availableCommands',yy['map'](_0x419800=>_0x419800['id']));}['init'](){super['init'](),this['listenTo'](this['_aiReviewCoreUi'],'toggleDiff',(_0xf4d9d0,_0x45bf4c)=>{this['_isDiffOn']=_0x45bf4c['on'],this['_onDiffChange'](this['_isDiffOn']);});}['_initRequiredPlugins'](){super['_initRequiredPlugins'](),this['_aiReviewCoreUi']=this['context']['plugins']['get']('AIReviewModeUI'),this['_aiReviewCoreEditing']=this['context']['plugins']['get']('AIReviewCoreEditing');}['_createReviewCheckRun'](_0x5a033d,_0x8e3981){if(_0x5a033d['isCustom'])return new py(_0x5a033d['args']['prompt'],_0x5a033d['args']['model'],this['_aiReviewCoreEditing']['getDocumentData'](),_0x8e3981,this['_aiConnector']);if(_0x8e3981['isExtra']){const _0x1db9d8=_0x8e3981;return new wy(_0x5a033d['args']?.['prompt']??_0x1db9d8['prompt'],_0x5a033d['args']?.['model']??_0x1db9d8['defaultModel']['id'],this['_aiReviewCoreEditing']['getDocumentData'](),_0x8e3981,this['_aiConnector']);}return new fy(this['_aiReviewCoreEditing']['getDocumentData'](),_0x8e3981,this['_aiConnector'],_0x5a033d['params'],_0x5a033d['args']);}['_onReviewCheckResultActivated'](_0x5e15b5){this['_aiReviewCoreUi']['setActiveStateInResults'](_0x5e15b5['change']['id']),this['_scrollToChange'](_0x5e15b5['change']['id']);const _0xe40197=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x5e15b5['change']['id']);if(!_0xe40197)return;const _0x4edea7=this['_aiReviewCoreEditing']['getEditorForChange'](_0x5e15b5['change']['id'])??this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x5e15b5['change'],()=>_0xe40197['getElement'](),void 0x0,'click',this['_getBalloonDomRoot'](_0x4edea7,_0xe40197['modelRange']['root']['rootName']),_0x4edea7?.['ui']?.['viewportOffset']),this['_aiReviewCoreEditing']['setMarkersInElementAsActive'](_0x5e15b5['change']['id']);}['_onReviewCheckResultDeactivated'](){this['_aiReviewCoreUi']['resetActiveStateInResults'](),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_aiReviewCoreEditing']['setAllMarkersAsInactive']();}['_onActivateChange'](_0x3380a5){this['_currentReviewCheckRun']&&'click'===_0x3380a5['uiInteraction']&&(this['_changeActivationSource']='panel',this['_currentReviewCheckRun']['activateChange'](_0x3380a5['id']));}['_onDeactivateChange'](_0x2381bf){this['_currentReviewCheckRun']&&'balloon'===_0x2381bf['origin']&&this['_currentReviewCheckRun']['deactivateChange']();}['_onChangeMarkerClicked'](_0x4bbd26,_0x4039a5){if(!this['_currentReviewCheckRun'])return;this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x4039a5['changeId']);const _0x30ddeb=this['_currentReviewCheckRun']['getChangeById'](_0x4039a5['changeId']);if(!_0x30ddeb)return;const _0x4a0c1d=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x4039a5['changeId']),_0x4594c9=this['_aiReviewCoreEditing']['getEditorForChange'](_0x4039a5['changeId'])??this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x30ddeb,_0x4039a5['markerElement'],_0x4039a5['domEvent'],'click',this['_getBalloonDomRoot'](_0x4594c9,_0x4a0c1d?.['modelRange']['root']['rootName']),_0x4594c9?.['ui']?.['viewportOffset']);}['_onChangeMarkerHovered'](_0x2ec879,_0x4bd12d){if(!this['_currentReviewCheckRun'])return;if(this['_currentReviewCheckRun']['isAnyChangeActivated']())return;const _0x25b150=this['_currentReviewCheckRun']['getChangeById'](_0x4bd12d['changeId']);if(!_0x25b150)return;const _0x1b4d91=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x4bd12d['changeId']),_0x22d579=this['_aiReviewCoreEditing']['getEditorForChange'](_0x4bd12d['changeId'])??this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x25b150,_0x4bd12d['markerElement'],_0x4bd12d['domEvent'],'hover',this['_getBalloonDomRoot'](_0x22d579,_0x1b4d91?.['modelRange']['root']['rootName']),_0x22d579?.['ui']?.['viewportOffset']);}['_onChangeMarkerBlurred'](){this['_currentReviewCheckRun']&&(this['_currentReviewCheckRun']['isAnyChangeActivated']()||this['_aiReviewCoreUi']['hideChangeBalloon']());}['_getChangeContentElement'](_0x367e02){const _0x1d30c2=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x367e02);return _0x1d30c2?_0x1d30c2['getElement']():null;}['_markChangePositionInEditorContent'](_0x5d58e6,_0x1f6989){this['_aiReviewCoreEditing']['markChangePositionInEditorContent'](_0x5d58e6,_0x1f6989);}['_diffContent'](_0x52d26f,_0xa0f4af,_0x12f1bd){return this['_aiReviewCoreEditing']['diffContent'](_0x52d26f,_0xa0f4af,_0x12f1bd,!0x1);}['_onReviewCheckRun'](){this['_onDiffChange'](this['_isDiffOn']);}['_onDiffChange'](_0x44083b){_0x44083b?this['_aiReviewCoreUi']['hideDiffInBalloon']():this['_aiReviewCoreUi']['showDiffInBalloon']();for(const _0x564304 of this['_aiReviewCoreEditing']['getEditors']())_0x564304['editing']['view']['change'](_0x4f9f69=>{for(const _0x43b232 of _0x564304['editing']['view']['document']['getRoots']()){for(const _0x1ffbfd of _0x43b232['getClassNames']())_0x1ffbfd['startsWith']('ck-ai_review-')&&_0x4f9f69['removeClass'](_0x1ffbfd,_0x43b232);_0x4f9f69['addClass'](_0x44083b?'ck-ai_review-diff':'ck-ai_review-highlights',_0x43b232);}});}['_getBalloonDomRoot'](_0x1ff9b0,_0xe044e6){const _0x3953c0=_0x1ff9b0['editing']['view'];if(_0xe044e6){const _0x1e4487=_0x3953c0['getDomRoot'](_0xe044e6);if(_0x1e4487)return _0x1e4487;}return _0x3953c0['getDomRoot']()??void 0x0;}async['_getReviewChecks'](){const _0x2e51f4=this['context']['plugins']['get']('AIReviewModeCheckRegistry'),_0x5f4d17=await _0x2e51f4['getChecksList']();_0x2e51f4['modelsLoadError']&&this['_logError'](_0x2e51f4['modelsLoadError']);let _0x3ae285=_0x5f4d17['checks'];const _0x4687cb=this['context']['config']['get']('ai.review.availableCommands');return this['_logWarningForNonExistentChecks'](_0x4687cb,_0x3ae285),this['_usesAvailableCommandsConfig']&&(_0x3ae285=_0x4687cb['map'](_0x160771=>_0x3ae285['find'](_0x5e9576=>_0x5e9576['id']===_0x160771))['filter'](_0x508d78=>!!_0x508d78)),this['_filterChecksWithMissingModel'](_0x3ae285);}['_logWarningForNonExistentChecks'](_0x3972fb,_0x223387){const _0x10f1e6=_0x3972fb['filter'](_0x1edbd2=>!_0x223387['some'](_0x5b77f9=>_0x5b77f9['id']===_0x1edbd2));_0x10f1e6['length']&&this['_reporter']['logError'](new Zp({'code':'ai-review-mode-non-existent-commands-used','severity':'warning','context':{'commandIds':_0x10f1e6['join'](',\x20')}}));}['_filterChecksWithMissingModel'](_0x21b60d){const _0x5a8e5c=[];return _0x21b60d['forEach'](_0x4e50f7=>{(_0x4e50f7 instanceof Oy&&!_0x4e50f7['defaultModel']||_0x4e50f7 instanceof Ey&&!_0x4e50f7['models']['length'])&&_0x5a8e5c['push'](_0x4e50f7['id']);}),_0x5a8e5c['length']&&_0x5a8e5c['forEach'](_0xaef45a=>{_0x21b60d=_0x21b60d['filter'](_0x59e6a2=>_0x59e6a2['id']!==_0xaef45a),this['_reporter']['logError'](new Zp({'code':'ai-review-mode-command-unavailable-due-to-missing-model','context':{'commandId':_0xaef45a}}));}),_0x21b60d;}};function Iy(_0x272cb7,_0x3c0fb0,_0x38ac6f,_0x2ffc76){return _0x272cb7 instanceof _0x5b5a95?_0x272cb7:new _0x5b5a95(_0x3c0fb0,_0x38ac6f,_0x2ffc76,_0x272cb7);}var ky=class extends Vp{['_affectedBlocks']=[];get['affectedBlocks'](){return this['_affectedBlocks']['slice']();}set['affectedBlocks'](_0x3e6cab){this['_affectedBlocks']=_0x3e6cab;}},xy=class extends _0x2de7b2{static get['pluginName'](){return'AIReviewGateway';}static get['requires'](){return[oy,Ay,ea,aa,Up];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['getAllCommands'](){return(await this['context']['plugins']['get']('AIReviewModeCheckRegistry')['getChecksList']())['checks']['map'](_0x16f874=>{const _0x54463e={'id':_0x16f874['id'],'title':_0x16f874['title'],'description':_0x16f874['description']};return'custom'!==_0x16f874['id']&&_0x16f874['options']?.['length']&&(_0x54463e['parameters']=_0x16f874['options'][0x0]['data']['map'](_0x868113=>({..._0x868113}))),_0x54463e;});}async['getAvailableModels'](){return this['context']['plugins']['get']('AIGateway')['getAvailableModels']();}async['runReview'](_0x300683,_0x373e71){return await this['_runReviewCheck'](_0x300683,()=>this['_createReviewCheckRun'](_0x300683,_0x373e71?.['parameterId']),_0x373e71?.['signal']);}async['runCustomReview'](_0x3f83cc,_0x24d922){return await this['_runReviewCheck']('custom',()=>this['_createCustomReviewCheckRun']('custom',_0x3f83cc,_0x24d922?.['model']),_0x24d922?.['signal']);}['applyReview'](_0x4d9802,_0xfe782a){this['context']['plugins']['get']('AIGateway')['apply'](_0x4d9802,{'applyMethod':_0xfe782a,'aiSource':'review'});}async['_runReviewCheck'](_0x5415d7,_0xcf4666,_0x12840c){const _0x341916=na(this['context']),_0x1f64dd=new ky({'editor':_0x341916,'rootName':_0x341916['model']['document']['getRootNames']()[0x0],'channelId':this['context']['config']['get']('collaboration.channelId'),'sessionId':_0x341916['plugins']['get']('AIEditing')['getSessionId'](_0x341916)});let _0xdf0b3a,_0x4815a3;if(_0x12840c){if(_0x12840c['aborted'])return _0x1f64dd['abort'](),_0x1f64dd;const _0x2df146=()=>{_0x1f64dd['error']||(_0x1f64dd['abort'](),_0xdf0b3a&&_0xdf0b3a['abort']());};_0x12840c['addEventListener']('abort',_0x2df146),_0x4815a3=()=>_0x12840c['removeEventListener']('abort',_0x2df146);}try{_0xdf0b3a=await _0xcf4666(),_0x1f64dd['contentRawOld']=_0xdf0b3a['documentData']['content'],_0x1f64dd['documentVersion']=Array['from'](_0xdf0b3a['documentData']['elements'])['find'](([,_0x83dae1])=>_0x83dae1['rootName']===_0x1f64dd['rootName'])?.[0x1]['documentVersion']??0x1,_0xdf0b3a['on']('reviewCheckRunUpdated',(_0x12746d,_0x1210cb)=>{'aborted'===_0x1210cb['status']?_0x1f64dd['abort']():'error-general'!==_0x1210cb['status']&&'error-chunk'!==_0x1210cb['status']||(_0x1f64dd['error']=Iy(_0x1210cb['error'],'ai-reviewgateway-review-command-run-failed',this,{'checkId':_0x5415d7}));}),'aborted'!==_0x1f64dd['status']&&await _0xdf0b3a['start']();}catch(_0x104d7b){_0x1f64dd['error']=Iy(_0x104d7b,'ai-reviewgateway-review-command-run-failed',this,{'checkId':_0x5415d7});}finally{_0x4815a3&&_0x4815a3();}if(!_0xdf0b3a||'aborted'===_0x1f64dd['status']||'error'===_0x1f64dd['status'])return _0x1f64dd;_0x1f64dd['affectedBlocks']=_0xdf0b3a['results']['map'](_0x2333c6=>({'id':_0x2333c6['id'],'content':_0x2333c6['contentNew']}));try{_0x1f64dd['contentRawNew']=Qm(this['context']['plugins']['get']('AIGateway')['mergeChangesIntoContent'](_0x1f64dd['affectedBlocks'],_0x1f64dd['contentRawOld'],_0x1f64dd['editor']));}catch(_0x59f107){_0x1f64dd['error']=Iy(_0x59f107,'ai-reviewgateway-review-command-run-failed',this,{'checkId':_0x5415d7});}return _0x1f64dd;}async['_createReviewCheckRun'](_0x4bec50,_0x2851a5){const _0x4e23d4=(await this['context']['plugins']['get']('AIReviewModeCheckRegistry')['getChecksList']())['checks']['find'](_0x5db09c=>_0x5db09c['id']===_0x4bec50);if(!_0x4e23d4)throw new _0x5b5a95('ai-reviewgateway-unknown-command',this,{'checkId':_0x4bec50});if(_0x4e23d4 instanceof Ey)throw new _0x5b5a95('ai-reviewgateway-not-a-system-command',this,{'checkId':_0x4bec50});const _0x31dedc=this['context']['plugins']['get']('AIReviewCoreEditing')['getDocumentData'](),_0x449fb1=this['context']['plugins']['get']('AIConnector');if(_0x4e23d4 instanceof Oy){if(!_0x4e23d4['defaultModel']?.['id'])throw new _0x5b5a95('ai-reviewgateway-missing-custom-command-model',this,{'checkId':_0x4bec50});return new wy(_0x4e23d4['prompt'],_0x4e23d4['defaultModel']['id'],_0x31dedc,_0x4e23d4,_0x449fb1);}return new fy(_0x31dedc,_0x4e23d4,_0x449fb1,_0x2851a5?[_0x2851a5]:void 0x0);}async['_createCustomReviewCheckRun'](_0x645813,_0x31f177,_0x24869b){const _0xb57460=(await this['context']['plugins']['get']('AIReviewModeCheckRegistry')['getChecksList']())['checks']['find'](_0x2b2bc5=>_0x2b2bc5['id']===_0x645813);if(!_0xb57460)throw new _0x5b5a95('ai-reviewgateway-unknown-command',this,{'checkId':_0x645813});if(!(_0xb57460 instanceof Ey))throw new _0x5b5a95('ai-reviewgateway-not-a-custom-command',this,{'checkId':_0x645813});const _0x911645=_0x24869b??_0xb57460['defaultModel']?.['id'];if(!_0x31f177)throw new _0x5b5a95('ai-reviewgateway-missing-custom-command-prompt',this,{'checkId':_0x645813});if(!_0x911645)throw new _0x5b5a95('ai-reviewgateway-missing-custom-command-model',this,{'checkId':_0x645813});return new py(_0x31f177,_0x911645,this['context']['plugins']['get']('AIReviewCoreEditing')['getDocumentData'](),_0xb57460,this['context']['plugins']['get']('AIConnector'));}},Cy=class extends _0x2de7b2{static get['requires'](){return[Sy,iy,oy,xy];}static get['pluginName'](){return'AIReviewMode';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['startReview'](_0x3d6d6c,_0x4340b2){if(this['assertStartReviewPreconditions'](_0x3d6d6c)instanceof Ey)throw new _0x5b5a95('ai-reviewmode-not-a-system-command',this,{'commandId':_0x3d6d6c});Ib(this['context'],'reviewMode'),await this['context']['plugins']['get']('AIReviewModeController')['runCheck']({'id':_0x3d6d6c,'params':_0x4340b2?.['parameterId']?[_0x4340b2['parameterId']]:void 0x0});}async['startCustomReview'](_0xe82ad2,_0xdf8b8d){if(!_0xe82ad2)throw new _0x5b5a95('ai-reviewmode-missing-custom-command-prompt',this);const _0x2da3f3=yy['find'](_0x4744f9=>'custom'===_0x4744f9['commandId'])['id'],_0x2af3bf=this['assertStartReviewPreconditions'](_0x2da3f3),_0x4b1924=_0xdf8b8d?.['model']??_0x2af3bf['defaultModel']?.['id'];if(!_0x4b1924)throw new _0x5b5a95('ai-reviewmode-missing-custom-command-model',this);Ib(this['context'],'reviewMode'),await this['context']['plugins']['get']('AIReviewModeController')['runCheck']({'id':_0x2da3f3,'isCustom':!0x0,'args':{'prompt':_0xe82ad2,'model':_0x4b1924}});}['getAvailableCommands'](){return this['context']['plugins']['get']('AIReviewModeController')['getAvailableChecks']()['map'](_0x1cb5c2=>{const _0x2c7b50={'id':_0x1cb5c2['id'],'title':_0x1cb5c2['title'],'description':_0x1cb5c2['description']};return'custom'!==_0x1cb5c2['id']&&_0x1cb5c2['options']?.['length']&&(_0x2c7b50['parameters']=_0x1cb5c2['options'][0x0]['data']['map'](_0x246230=>({..._0x246230}))),_0x2c7b50;});}['assertStartReviewPreconditions'](_0x2e9061){const _0xb3c4cd=this['context']['plugins']['get']('AIReviewModeController');if(_0xb3c4cd['getCurrentCheckRun']())throw new _0x5b5a95('ai-reviewmode-review-already-running',this);const _0x252ece=_0xb3c4cd['getAvailableChecks']()['find'](_0x4c3177=>_0x4c3177['id']===_0x2e9061);if(!_0x252ece)throw new _0x5b5a95('ai-reviewmode-unknown-command',this,{'commandId':_0x2e9061});return _0x252ece;}},Ry=class extends fy{['_title'];constructor(_0x31354b,_0x3dc7ee,_0x3df6a2,_0x3f5527,_0x2b7d57,_0x3a33ba){super(_0x31354b,_0x3dc7ee,_0x3df6a2,_0x2b7d57,_0x3a33ba),this['_title']=_0x3f5527;}get['title'](){return this['_title'];}get['subTitle'](){return this['_sourceCheck']['title'];}},Py=class extends gy{get['apiId'](){return'translate';}},My=class extends _y{['setupChecks'](_0x35dcb7){this['_checks']=_0x35dcb7['map'](_0x30ee99=>new Py(_0x30ee99));}};const Ny=[{'label':'English','id':'english'},{'label':'Spanish','id':'spanish'},{'label':'French','id':'french'},{'label':'German','id':'german'},{'label':'Chinese\x20(Simplified)','id':'chinese'},{'label':'Japanese','id':'japanese'},{'label':'Russian','id':'russian'},{'label':'Portuguese','id':'portuguese'},{'label':'Korean','id':'korean'},{'label':'Italian','id':'italian'}];var Ly=class extends by{static get['pluginName'](){return'AITranslateCheckRegistry';}constructor(_0x5d618a){super(_0x5d618a),this['context']['config']['define']('ai.translate.languages',Ny);}async['_loadChecksList'](){const _0x5b4837=[],_0x118359=this['context']['config']['get']('ai.translate.languages')||[];for(const _0x1fcc7c of _0x118359)_0x5b4837['push']({'title':_0x1fcc7c['label'],'id':_0x1fcc7c['id'],'commandId':_0x1fcc7c['id'],'description':'','isParameterized':!0x1,'useArgs':!0x0,'args':{'language':_0x1fcc7c['id']}});const _0xc1bfc6=new My();return _0xc1bfc6['setupChecks'](this['_translateChecks'](_0x5b4837)),_0xc1bfc6;}['_translateChecks'](_0x37d35e){const _0x400c85=this['context']['locale'];return _0x37d35e['map'](_0x4d07dc=>{const _0x1444e2='AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_'+_0x4d07dc['title']['toUpperCase']()['replaceAll']('-','_'),_0x312eeb=ia(_0x400c85,_0x1444e2);return{..._0x4d07dc,'title':_0x312eeb===_0x1444e2?_0x4d07dc['title']:_0x312eeb};});}},$y=class extends my{static get['pluginName'](){return'AITranslateController';}static get['requires'](){return[Gp,Ly];}get['_aiSource'](){return'translate';}['_onCheckRunFinished'](){this['_onReviewRunLeave'](!0x0);}['_initRequiredPlugins'](){super['_initRequiredPlugins'](),this['_aiReviewCoreUi']=this['context']['plugins']['get']('AITranslateUI'),this['_aiReviewCoreEditing']=this['context']['plugins']['get']('AIReviewCoreEditing');}['_createReviewCheckRun'](_0x5f34ae,_0x95fc82){return new Ry(this['_aiReviewCoreEditing']['getDocumentData'](),_0x95fc82,this['_aiConnector'],ia(this['context']['locale'],'AI_REVIEW_CHECK_TRANSLATE_TITLE'),_0x5f34ae['params'],_0x5f34ae['args']);}['_onReviewCheckResultActivated'](_0x2f4fc4){this['_aiReviewCoreUi']['setActiveStateInResults'](_0x2f4fc4['change']['id']),this['_aiReviewCoreEditing']['setMarkersInElementAsActive'](_0x2f4fc4['change']['id']);}['_onReviewCheckResultDeactivated'](){this['_aiReviewCoreEditing']['setAllMarkersAsInactive'](),this['_aiReviewCoreUi']['resetActiveStateInResults']();}['_onActivateChange'](_0x208404){this['_currentReviewCheckRun']&&('hover'===_0x208404['uiInteraction']&&(this['_changeActivationSource']='panel',this['_currentReviewCheckRun']['activateChange'](_0x208404['id'])),'click'===_0x208404['uiInteraction']&&this['_scrollToChange'](_0x208404['id']));}['_onDeactivateChange'](_0x46ad7e){this['_currentReviewCheckRun']&&'panel'===_0x46ad7e['origin']&&this['_currentReviewCheckRun']['deactivateChange']();}['_onChangeMarkerClicked'](_0x57cb15,_0x450d66){this['_currentReviewCheckRun']&&(this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x450d66['changeId']),this['_scrollToChange'](_0x450d66['changeId']));}['_onChangeMarkerHovered'](_0x8d6307,_0x45e237){this['_currentReviewCheckRun']&&(this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x45e237['changeId']),this['_aiReviewCoreEditing']['reactivateMarkers'](_0x45e237['changeId']));}['_onChangeMarkerBlurred'](){this['_currentReviewCheckRun']&&'content'===this['_changeActivationSource']&&(this['_currentReviewCheckRun']['deactivateChange'](),this['_aiReviewCoreEditing']['setAllMarkersAsInactive']());}['_getChangeContentElement'](_0x38197a){return this['_aiReviewCoreEditing']['getContentElementForChange'](_0x38197a);}['_markChangePositionInEditorContent'](_0x221122,_0x1285d9){this['_aiReviewCoreEditing']['markChangePositionInEditorContent'](_0x221122,_0x1285d9);}['_diffContent'](_0x4cbef4,_0x5e89e8,_0x10ce77){return this['_aiReviewCoreEditing']['diffContent'](_0x4cbef4,_0x5e89e8,_0x10ce77,!0x0);}['_onReviewCheckRun'](){for(const _0x936e40 of this['_aiReviewCoreEditing']['getEditors']())_0x936e40['editing']['view']['change'](_0x310a91=>{for(const _0x241028 of _0x936e40['editing']['view']['document']['getRoots']())_0x310a91['addClass']('ck-ai-translate-mode-content',_0x241028);});}async['_getReviewChecks'](){return(await this['context']['plugins']['get']('AITranslateCheckRegistry')['getChecksList']())['checks'];}},Dy=class extends Gb{constructor(_0x1d8249,_0xecd1d6){super(_0x1d8249,_0xecd1d6),this['on']('set:isLoading',(_0x319ac8,_0xdde62b,_0x1d66c0)=>{_0x1d66c0&&(this['headerTitle']=ia(this['locale'],'AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE'));}),this['on']('set:isResultReady',(_0x554c42,_0x20771b,_0x242092)=>{_0x242092&&(this['headerTitle']=ia(this['locale'],'AI_TRANSLATE_CHECK_RESULTS_READY_TITLE'));});}['_createAcceptAllButtonView'](){const _0x78c77f=super['_createAcceptAllButtonView']();return _0x78c77f['set']('label',ia(this['locale'],'AI_TRANSLATE_ACCEPT_ALL')),_0x78c77f;}['_createExitReviewButtonView'](){const _0x4bff07=super['_createExitReviewButtonView']();return _0x4bff07['set']('label',ia(this['locale'],'AI_CHAT_HISTORY_CANCEL')),_0x4bff07;}},Qy=class extends ey{['_setupTemplate'](){const _0x4027da=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-translate__check-list-wrapper',_0x4027da['if']('isVisible','ck-hidden',_0x16ba79=>!_0x16ba79)]},'children':[{'tag':'div','attributes':{'class':['ck-ai-translate__check-list-header']},'children':[{'tag':'h2','children':[{'text':ia(this['locale'],'AI_TRANSLATE_CHECK_LIST_HEADER_TITLE')}]},{'tag':'p','children':[{'text':ia(this['locale'],'AI_TRANSLATE_CHECK_LIST_HEADER_DESCRIPTION')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list',_0x4027da['if']('isVisible','ck-hidden',_0xd98dbb=>!_0xd98dbb)]},'children':this['_checkViews']}]});}},jy=class extends Bb{static get['pluginName'](){return'AITranslateUI';}['createMainView'](){const _0x40270d=this['context']['plugins']['get']('AITabs'),_0x295c2d=this['context']['locale'],_0x157fb9=new Nw(_0x295c2d,{'label':ia(_0x295c2d,'AI_REVIEW_CHECK_TRANSLATE_TITLE'),'icon':_0x9a63c0,'class':'ck-ai-header_review-translate','showResizeButton':_0x40270d['showResizeButton']});_0x157fb9['delegate']('resizeTabs')['to'](_0x40270d),_0x157fb9['bind']('isMaximized')['to'](_0x40270d['view'],'isMaximized',_0x5cb91f=>_0x5cb91f);const _0x3e754b=new Hb(_0x295c2d,{'header':_0x157fb9,'list':new Qy(_0x295c2d),'results':new Dy(_0x295c2d,{'generalErrorText':ia(_0x295c2d,'AI_TRANSLATE_GENERAL_ERROR_MESSAGE')}),'completed':new Xb(_0x295c2d,{'headerText':ia(_0x295c2d,'AI_TRANSLATE_FINISH_HEADER_TITLE'),'emptyResultsText':ia(_0x295c2d,'AI_TRANSLATE_EMPTY_RESULTS_TEXT'),'buttonText':ia(_0x295c2d,'AI_TRANSLATE_FINISH_BUTTON_LABEL')})});return _0x3e754b['extendTemplate']({'attributes':{'class':'ck-ai-translate-mode'}}),_0x3e754b;}['registerTab'](){const _0xd4449=this['context']['plugins']['get']('AITabs');_0xd4449['view']['on']('activateTab',(_0x38faa7,{newTab:_0x5274cb,oldTab:_0x1954b0})=>{'translate'===_0x5274cb?this['fire']('getReviewCheckList'):'translate'===_0x1954b0&&this['fire']('leaveReview');}),_0xd4449['view']['addTab']({'id':'translate','buttonLabel':ia(this['context']['locale'],'AI_REVIEW_CHECK_TRANSLATE_TITLE'),'buttonIcon':_0x9a63c0,'order':0x0,'content':this['_mainView']});}},Uy=class extends Vp{['_affectedBlocks']=[];get['affectedBlocks'](){return this['_affectedBlocks'];}set['affectedBlocks'](_0x4a9079){this['_affectedBlocks']=_0x4a9079;}},Vy=class extends _0x2de7b2{static get['pluginName'](){return'AITranslateGateway';}static get['requires'](){return[oy,ea,aa,Up];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['runTranslate'](_0x55ed14,_0x2b62e2){return await this['_runTranslateCheck'](_0x55ed14,()=>this['_createTranslateCheckRun'](_0x55ed14),_0x2b62e2?.['signal']);}['applyTranslate'](_0xbb84f5,_0x4043a5){this['context']['plugins']['get']('AIGateway')['apply'](_0xbb84f5,_0x4043a5);}async['_runTranslateCheck'](_0x31ea7a,_0x2817b5,_0x2e3c7d){const _0x4f061d=na(this['context']),_0x1c9571=new Uy({'editor':_0x4f061d,'rootName':_0x4f061d['model']['document']['getRootNames']()[0x0],'channelId':this['context']['config']['get']('collaboration.channelId'),'sessionId':_0x4f061d['plugins']['get']('AIEditing')['getSessionId'](_0x4f061d)});let _0x1b0d5c,_0x414d55;if(_0x2e3c7d){if(_0x2e3c7d['aborted'])return _0x1c9571['abort'](),_0x1c9571;const _0x1d02c7=()=>{_0x1c9571['error']||(_0x1c9571['abort'](),_0x1b0d5c&&_0x1b0d5c['abort']());};_0x2e3c7d['addEventListener']('abort',_0x1d02c7),_0x414d55=()=>_0x2e3c7d['removeEventListener']('abort',_0x1d02c7);}try{_0x1b0d5c=await _0x2817b5(),_0x1c9571['contentRawOld']=_0x1b0d5c['documentData']['content'],_0x1c9571['documentVersion']=Array['from'](_0x1b0d5c['documentData']['elements'])['find'](([,_0x484c62])=>_0x484c62['rootName']===_0x1c9571['rootName'])?.[0x1]['documentVersion']??0x1,_0x1b0d5c['on']('reviewCheckRunUpdated',(_0x5cfa0b,_0x359673)=>{'aborted'===_0x359673['status']?_0x1c9571['abort']():'error-general'!==_0x359673['status']&&'error-chunk'!==_0x359673['status']||(_0x1c9571['error']=Iy(_0x359673['error'],'ai-translategateway-translation-run-failed',this,{'language':_0x31ea7a}));}),'aborted'!==_0x1c9571['status']&&await _0x1b0d5c['start']();}catch(_0x579d74){_0x1c9571['error']=Iy(_0x579d74,'ai-translategateway-translation-run-failed',this,{'language':_0x31ea7a});}finally{_0x414d55&&_0x414d55();}if(!_0x1b0d5c||'aborted'===_0x1c9571['status']||'error'===_0x1c9571['status'])return _0x1c9571;_0x1c9571['affectedBlocks']=_0x1b0d5c['results']['map'](_0x45f5c1=>({'id':_0x45f5c1['id'],'content':_0x45f5c1['contentNew']}));try{_0x1c9571['contentRawNew']=Qm(this['context']['plugins']['get']('AIGateway')['mergeChangesIntoContent'](_0x1c9571['affectedBlocks'],_0x1c9571['contentRawOld'],_0x1c9571['editor']));}catch(_0x4f2711){_0x1c9571['error']=Iy(_0x4f2711,'ai-translategateway-translation-run-failed',this,{'language':_0x31ea7a});}return _0x1c9571;}async['_createTranslateCheckRun'](_0x2b8ea9){const _0x798eec=this['context']['plugins']['get']('AIReviewCoreEditing')['getDocumentData'](),_0x564936=this['context']['plugins']['get']('AIConnector');return new Ry(_0x798eec,new Py({'id':_0x2b8ea9,'commandId':_0x2b8ea9,'title':_0x2b8ea9,'description':'','isParameterized':!0x1}),_0x564936,ia(this['context']['locale'],'AI_REVIEW_CHECK_TRANSLATE_TITLE'),void 0x0,{'language':_0x2b8ea9});}},By=class extends _0x2de7b2{static get['requires'](){return[$y,jy,oy,Vy];}static get['pluginName'](){return'AITranslate';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['startTranslate'](_0x127b70){const _0x232904=this['assertStartTranslatePreconditions'](_0x127b70);Ib(this['context'],'translate'),await this['context']['plugins']['get']('AITranslateController')['runCheck']({'id':_0x232904['id'],'args':_0x232904['useArgs']?_0x232904['args']:void 0x0});}['getAvailableLanguages'](){return this['context']['plugins']['get']('AITranslateController')['getAvailableChecks']()['map'](_0x3d7476=>({'id':_0x3d7476['id'],'label':_0x3d7476['title']}));}['assertStartTranslatePreconditions'](_0x173d69){const _0x568191=this['context']['plugins']['get']('AITranslateController');if(_0x568191['getCurrentCheckRun']())throw new _0x5b5a95('ai-translate-translation-already-running',this);const _0x44cb6a=_0x568191['getAvailableChecks']()['find'](_0x19eb04=>_0x19eb04['id']===_0x173d69);if(!_0x44cb6a)throw new _0x5b5a95('ai-translate-unknown-language',this,{'languageId':_0x173d69});return _0x44cb6a;}},Fy=class extends _0x32be70{['_transformCallback'];constructor(_0xb502f7,_0x2b0668){super(_0xb502f7),this['_transformCallback']=_0x2b0668;}['execute'](){const _0x478606=this['editor']['model'],_0x337b57=Array['from'](this['_getAffectedRanges']()),_0x549b84=Array['from'](_0x478606['document']['selection']['getRanges']());_0x478606['change'](_0x1c5b8c=>{for(const _0x1e137f of _0x337b57)this['_modifyContent'](_0x1e137f,_0x1c5b8c);_0x1c5b8c['setSelection'](_0x549b84);});}['refresh'](){for(const _0x40828d of this['_getAffectedRanges']())for(const _0x37e9a6 of _0x40828d)if(_0x37e9a6['item']['is']('$textProxy'))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['_getAffectedRanges'](){const _0x195b90=this['editor']['model'],_0x48c840=_0x195b90['document']['selection'];if(_0x48c840['isCollapsed']){const _0xca2233=this['_findAncestorTextBlock'](_0x48c840['getFirstPosition']()['parent']);return _0xca2233?[_0x195b90['createRangeIn'](_0xca2233)]:[];}return _0x48c840['getRanges']();}['_modifyContent'](_0x14310b,_0x5da47f){for(const _0x4b1d30 of this['_getElementsAllowingText'](_0x14310b)){const _0x48260f=this['_getElementTextContent'](_0x4b1d30),_0x7a2a06=this['_transformCallback'](_0x48260f);for(const _0x38ff1a of this['_getTextNodesRangeLimited'](_0x4b1d30,_0x14310b))this['_replaceTextNodeData'](_0x38ff1a,_0x7a2a06,_0x5da47f);}}['_findAncestorTextBlock'](_0x478ff2){const _0xf8d19=this['editor']['model']['schema'];if(_0x478ff2['is']('element')&&_0xf8d19['checkChild'](_0x478ff2,'$text'))return _0x478ff2;const _0x206db7=_0x478ff2['parent'];return!_0x206db7||_0xf8d19['isLimit'](_0x478ff2)?null:this['_findAncestorTextBlock'](_0x206db7);}*['_getElementsAllowingText'](_0x49e941){const _0x34da78=new Set();for(const {item:_0x4871ed}of _0x49e941['getWalker']()){const _0x42f52f=this['_findAncestorTextBlock'](_0x4871ed);_0x42f52f&&!_0x34da78['has'](_0x42f52f)&&(_0x34da78['add'](_0x42f52f),yield _0x42f52f);}}['_getElementTextContent'](_0x147cfb){return Array['from'](_0x147cfb['getChildren']())['reduce']((_0x3733ec,_0x3b7b6b)=>_0x3733ec+(_0x3b7b6b['is']('$text')?_0x3b7b6b['data']:'\x20'),'');}*['_getTextNodesRangeLimited'](_0x13d552,_0x426ddf){const _0x17de60=_0x426ddf['getIntersection'](this['editor']['model']['createRangeIn'](_0x13d552));if(_0x17de60){for(const _0x2d5b79 of _0x17de60['getItems']())_0x2d5b79['is']('$textProxy')&&_0x2d5b79['parent']==_0x13d552&&(yield _0x2d5b79);}}['_replaceTextNodeData'](_0x454911,_0x2ace17,_0xa7c839){const _0x4e23a4=_0x2ace17['substring'](_0x454911['startOffset'],_0x454911['endOffset']);if(_0x4e23a4===_0x454911['data'])return;const _0xa0d03c=_0x454911['getAttributes']();this['editor']['model']['insertContent'](_0xa7c839['createText'](_0x4e23a4,_0xa0d03c),_0xa7c839['createSelection'](_0xa7c839['createRangeOn'](_0x454911)));}};function Hy(_0x58fab4,_0x4fb2b9,..._0x41cf1b){const t=_0x58fab4['t'];switch(_0x4fb2b9){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',..._0x41cf1b);default:return _0x4fb2b9;}}var Zy=class extends _0x36b920{['_currentCommandIndex']=0x0;static get['pluginName'](){return'CaseChangeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2775de=this['editor'],_0x59e377=_0x2775de['locale']['contentLanguage'],_0x51ffae=function(_0x31dc26=[]){return'function'==typeof _0x31dc26?_0x31dc26:(_0x37a935,{wordIndex:_0x29386c})=>_0x29386c>0x0&&_0x31dc26['includes'](_0x37a935);}(_0x2775de['config']['get']('caseChange.titleCase.excludeWords')),_0x5e054d={'changeCaseUpper':new Fy(_0x2775de,_0x2c9ce8=>_0x2c9ce8['toLocaleUpperCase'](_0x59e377)),'changeCaseLower':new Fy(_0x2775de,_0x16560c=>_0x16560c['toLocaleLowerCase'](_0x59e377)),'changeCaseTitle':new Fy(_0x2775de,_0x266839=>function(_0x31b6bb,_0x101c36,_0x778803){return function(_0x4b3474,_0x43e24f){let _0x120475='',_0x8e415d=0x0,_0x49209c=0x0;for(const _0x1176be of _0x4b3474['matchAll'](/ +/g)){const _0x5ac4e3=_0x1176be['index'],_0x26529b=_0x4b3474['substring'](_0x8e415d,_0x5ac4e3);_0x26529b['length']&&(_0x120475+=_0x43e24f(_0x26529b,_0x8e415d,_0x49209c++)),_0x120475+=_0x1176be[0x0],_0x8e415d=_0x5ac4e3+_0x1176be[0x0]['length'];}const _0x1e43d8=_0x4b3474['substring'](_0x8e415d);return _0x1e43d8['length']&&(_0x120475+=_0x43e24f(_0x1e43d8,_0x8e415d,_0x49209c)),_0x120475;}(_0x31b6bb,(_0x5cd194,_0x32dc25,_0x3f25e5)=>{const _0x193e94=_0x5cd194['toLocaleLowerCase'](_0x778803);return _0x101c36(_0x193e94,{'charOffset':_0x32dc25,'wordIndex':_0x3f25e5,'blockText':_0x31b6bb})?_0x193e94:_0x193e94['replace'](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x29a481=>_0x29a481['toLocaleUpperCase'](_0x778803));});}(_0x266839,_0x51ffae,_0x59e377))};for(const [_0x4aff52,_0x569631]of Object['entries'](_0x5e054d))_0x2775de['commands']['add'](_0x4aff52,_0x569631),_0x569631['on']('execute',()=>{this['_announceCaseChangeOperation'](_0x4aff52);});this['listenTo'](_0x2775de['editing']['view']['document'],'selectionChange',()=>{this['_currentCommandIndex']=0x0;}),_0x2775de['keystrokes']['set']('shift+f3',(_0x66e53a,_0x1bf310)=>{const _0x5d812a=Gy(this['editor']['locale']),_0x50f7e1=_0x5d812a[this['_currentCommandIndex']%_0x5d812a['length']]['commandName'];_0x2775de['execute'](_0x50f7e1),this['_currentCommandIndex']++,_0x1bf310();});}['afterInit'](){!async function(_0x3f41e1){const _0x1f595c='EMDS3dsLoJY0nbe9cmlCrXyaZ8zpPqN6jxThf7gwBi2KFOVUWRAG14HQIkut5v',_0x4183cd=0x78fc0,_0x47bad5=window['Date']['now'](),_0x2e4290=_0x3f41e1['editor'],_0x40adb9=new window['Promise'](_0x22effa=>{_0x2e4290['once']('ready',_0x22effa);}),_0x45c68b={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x52041b=_0x2e4290['config']['get']('licenseKey');async function _0x489aa9(){let _0x39a6d2,_0x109467=null,_0x322307=null;try{return'GPL'==_0x52041b?'NotAllowed':(_0x39a6d2=_0xdfe078(),_0x39a6d2?(_0x39a6d2['usageEndpoint']&&(_0x322307=_0x120f0a(_0x39a6d2['usageEndpoint'],_0x39a6d2['jti'])),await _0x445cd7()?_0x50f85c()?_0x127758()?'Expired':_0x3fe738()?('evaluation'==_0x39a6d2['licenseType']&&(_0x109467=_0x189ce1('EvaluationLimit')),await _0x1dc275()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x127758(){const _0x41bc6c=['evaluation','trial']['includes'](_0x39a6d2['licenseType'])?_0x47bad5/0x3e8:0xe10*_0x4183cd;return _0x39a6d2['exp']<_0x41bc6c;}function _0x50f85c(){const _0x421d1f=_0x39a6d2['features'];return!!_0x421d1f&&(!!_0x421d1f['includes']('*')||(!!_0x421d1f['includes']('CC')||!!_0x421d1f['includes']('PP')));}function _0x3fe738(){const _0x3af40f=_0x39a6d2['licensedHosts'];if(!_0x3af40f||0x0==_0x3af40f['length'])return!0x0;const {hostname:_0x1dcb92}=new URL(window['location']['href']);if(_0x3af40f['includes'](_0x1dcb92))return!0x0;const _0x7d7852=_0x1dcb92['split']('.');return _0x3af40f['filter'](_0x4edb5b=>_0x4edb5b['includes']('*'))['map'](_0x3ce3b1=>_0x3ce3b1['split']('.'))['filter'](_0x5c4fbd=>_0x5c4fbd['length']<=_0x7d7852['length'])['map'](_0x54732=>Array(_0x7d7852['length']-_0x54732['length'])['fill']('*'===_0x54732[0x0]?'*':'')['concat'](_0x54732))['some'](_0x3d4459=>_0x7d7852['every']((_0x39629b,_0x3da1b8)=>_0x3d4459[_0x3da1b8]===_0x39629b||'*'===_0x3d4459[_0x3da1b8]));}function _0x1dc275(){return _0x109467&&_0x322307?new window['Promise']((_0x310927,_0x157443)=>{_0x109467['then'](_0x310927,_0x157443),_0x322307['then'](_0x45d477=>{'Valid'!=_0x45d477&&_0x310927(_0x45d477);},_0x157443);}):_0x109467||_0x322307||'Valid';}}function _0x120f0a(_0x28254b,_0x392961){return new window['Promise'](_0x753343=>{if(_0x53b3c1())return _0x753343('Valid');_0xc05f39(),_0x2e4290['decorate']('_sendUsageRequest');let _0x368148=!0x1;const _0x84573b=_0x10825a();function _0x57f662(_0x5e53c7){return!!_0x5e53c7&&('object'==typeof _0x5e53c7||'function'==typeof _0x5e53c7)&&'function'==typeof _0x5e53c7['then']&&'function'==typeof _0x5e53c7['catch'];}function _0x3a2f39(_0x458daf){_0x39da12(_0x458daf)['then'](_0x2f43fe=>_0x2f43fe&&'ok'==_0x2f43fe['status']?_0x33aa21(_0x10e660(_0x84573b+_0x392961))!=_0x2f43fe['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x2ca0d4=>(_0x4a6bdb(),_0x2ca0d4),()=>{const _0x2f1f99=_0x150b95();return null==_0x2f1f99?(_0x4a6bdb(),'Valid'):_0x47bad5-_0x2f1f99>0x240c8400?'UsageLimit':'Valid';})['then'](_0x753343)['catch'](()=>{_0x753343('UsageLimit');});const _0x31135f=0x36ee80;function _0x4a6bdb(){const _0x467fa4='llct-'+_0x33aa21(_0x10e660(_0x28254b)),_0x302e06=_0x197996(_0x33aa21(window['Math']['ceil'](_0x47bad5/_0x31135f)));window['localStorage']['setItem'](_0x467fa4,_0x302e06);}function _0x150b95(){const _0x5409b9='llct-'+_0x33aa21(_0x10e660(_0x28254b)),_0x3dddd8=window['localStorage']['getItem'](_0x5409b9);return _0x3dddd8?window['parseInt'](_0x197996(_0x3dddd8),0x10)*_0x31135f:null;}function _0x39da12(_0x538c63){return new window['Promise']((_0x1099cd,_0x325021)=>{_0x538c63['then'](_0x1099cd,_0x325021),window['setTimeout'](_0x325021,0x1d4c0);});}}_0x2e4290['on']('_sendUsageRequest',(_0x3aab4a,_0x24e7cb)=>{if(_0x24e7cb[0x0]!=_0x28254b)return _0x753343('UsageLimit');_0x24e7cb[0x1]={..._0x24e7cb[0x1],'requestId':_0x84573b};},{'priority':'high'}),_0x2e4290['on']('_sendUsageRequest',_0x23fd2e=>{_0x57f662(_0x23fd2e['return'])&&(_0x368148=!0x0,_0x3a2f39(_0x23fd2e['return']));},{'priority':'low'}),_0x40adb9['then'](()=>{_0x368148||_0x753343('UsageLimit');});});function _0x53b3c1(){return'auto'==_0x2e4290['editing']['view']['_overlayModeHint'];}function _0xc05f39(){_0x2e4290['editing']['view']['_overlayModeHint']='auto';}}function _0x189ce1(_0x3db4fa){const _0x317c8c=[new window['Promise'](_0x4ac1b4=>setTimeout(_0x4ac1b4,0x93ecc)),_0x40adb9['then'](()=>new window['Promise'](_0x3b5e3f=>{let _0x191768=0x0;_0x2e4290['model']['on']('applyOperation',(_0x1c6f6a,_0x4b374e)=>{_0x4b374e[0x0]['isDocumentOperation']&&_0x191768++,0x5e8==_0x191768&&(_0x3b5e3f(),_0x1c6f6a['off']());});}))];return window['Promise']['race'](_0x317c8c)['then'](()=>_0x3db4fa);}async function _0x448569(){await _0x40adb9,_0x2e4290['model']['change']=_0x2e816c,_0x2e4290['model']['enqueueChange']=_0x2e816c,_0x2e4290['enableReadOnlyMode']('model');}function _0x32d5e5(_0x1f01be){const _0x41d61c=_0x1008e6();_0x2e4290[_0x41d61c]='caseChangeLicenseKey'+_0x1f01be,'Valid'!=_0x1f01be&&_0x448569();}function _0x1008e6(){const _0x3d7940=window['String'](window['performance']['now']())['replace']('.','');let _0x163336='E';for(let _0x5d64f1=0x0;_0x5d64f1<_0x3d7940['length'];_0x5d64f1+=0x2){let _0xd1ebb2=window['parseInt'](_0x3d7940['substring'](_0x5d64f1,_0x5d64f1+0x2));_0xd1ebb2>=0x3e&&(_0xd1ebb2-=0x3e),_0x163336+=_0x1f595c[_0xd1ebb2];}return _0x163336;}function _0xdfe078(){const _0x10b0ed=_0x52041b['split']('.');if(0x3!=_0x10b0ed['length'])return null;return _0x118155(_0x10b0ed[0x1]);function _0x118155(_0x47dd6d){const _0x494d0c=_0x1c56b5(_0x47dd6d);return _0x494d0c&&_0x4df0d1()?_0x494d0c:null;function _0x4df0d1(){const _0xcba4e7=_0x494d0c['jti'],_0x22cee6=window['parseInt'](_0xcba4e7['substring'](_0xcba4e7['length']-0x8),0x10),_0x530c22={..._0x494d0c,'jti':_0xcba4e7['substring'](0x0,_0xcba4e7['length']-0x8)};return delete _0x530c22['vc'],_0x10e660(_0x530c22)==_0x22cee6;}}}async function _0x445cd7(){let _0x259f74=!0x0;try{const [_0x51c8b1,_0x2bd3cb,_0x1d2ef1]=_0x52041b['split']('.');return _0x549cdc(_0x51c8b1),await _0x1c5b4e(_0x51c8b1,_0x2bd3cb,_0x1d2ef1),_0x259f74;}catch{return!0x1;}function _0x549cdc(_0xeeb414){const _0xd20c4c=_0x1c56b5(_0xeeb414);_0xd20c4c&&'ES256'==_0xd20c4c['alg']||(_0x259f74=!0x1);}async function _0x1c5b4e(_0x215e56,_0x1d7150,_0x3214f0){const _0x3b538c=window['Uint8Array']['from'](_0x293614(_0x3214f0),_0x215849=>_0x215849['charCodeAt'](0x0)),_0x2d4657=new window['TextEncoder']()['encode'](_0x215e56+'.'+_0x1d7150),_0x51f88a=window['crypto']['subtle'];if(!_0x51f88a)return;const _0x49bbe8=await _0x51f88a['importKey']('jwk',_0x45c68b,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x51f88a['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x49bbe8,_0x3b538c,_0x2d4657)||(_0x259f74=!0x1);}}function _0x1c56b5(_0x59fedc){return _0x59fedc['startsWith']('ey')?JSON['parse'](_0x293614(_0x59fedc)):null;}function _0x293614(_0x366039){return window['atob'](_0x366039['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x10e660(_0x64e328){let _0x2d01f3=0x1505;function _0x32134e(_0x249f98){for(let _0x1f285d=0x0;_0x1f285d<_0x249f98['length'];_0x1f285d++){const _0x260446=_0x249f98['charCodeAt'](_0x1f285d);_0x2d01f3=(_0x2d01f3<<0x5)+_0x2d01f3+_0x260446,_0x2d01f3&=_0x2d01f3;}}function _0x33f543(_0x554a5b){Array['isArray'](_0x554a5b)?_0x554a5b['forEach'](_0x33f543):_0x554a5b&&'object'==typeof _0x554a5b?Object['entries'](_0x554a5b)['sort']()['forEach'](([_0x447424,_0xf80663])=>{_0x32134e(_0x447424),_0x33f543(_0xf80663);}):_0x32134e(window['String'](_0x554a5b));}return _0x33f543(_0x64e328),_0x2d01f3>>>0x0;}function _0x33aa21(_0x17abf9){return _0x17abf9['toString'](0x10)['padStart'](0x8,'0');}function _0x197996(_0x599aa3){return _0x599aa3['split']('')['reverse']()['join']('');}function _0x2e816c(){}_0x32d5e5(await _0x489aa9());}(this);}['_announceCaseChangeOperation'](_0x4df9ed){const {ui:_0xe38fc7,locale:_0x265b59}=this['editor'],_0x9b5fa6=Gy(_0x265b59)['find'](_0x3a0935=>_0x3a0935['commandName']===_0x4df9ed)['label']['toLowerCase']();_0xe38fc7['ariaLiveAnnouncer']['announce'](Hy(_0x265b59,'Changed\x20case\x20to\x20%0',_0x9b5fa6));}};function Gy(_0x1fd478){return[{'label':Hy(_0x1fd478,'UPPERCASE'),'commandName':'changeCaseUpper'},{'label':Hy(_0x1fd478,'lowercase'),'commandName':'changeCaseLower'},{'label':Hy(_0x1fd478,'Title\x20Case'),'commandName':'changeCaseTitle'}];}var Xy=class extends _0x36b920{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'CaseChangeUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x404aa7=this['editor'];this['_registerComponents'](),_0x404aa7['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':Hy(_0x404aa7['locale'],'Change\x20text\x20case'),'keystroke':'Shift+f3','mayRequireFn':!0x0}]}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x12948b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x500dc4;for(const _0x4ca08a in _0x12948b){const _0x3eae1f=_0x4ca08a,_0x594aef=_0x12948b[_0x3eae1f];if('caseChangeLicenseKeyValid'==_0x594aef||'caseChangeLicenseKeyInvalid'==_0x594aef||'caseChangeLicenseKeyExpired'==_0x594aef||'caseChangeLicenseKeyDomainLimit'==_0x594aef||'caseChangeLicenseKeyNotAllowed'==_0x594aef||'caseChangeLicenseKeyEvaluationLimit'==_0x594aef||'caseChangeLicenseKeyUsageLimit'==_0x594aef){delete _0x12948b[_0x3eae1f],_0x500dc4=_0x594aef,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'caseChangeLicenseKeyInvalid'==_0x500dc4&&_0x12948b['_showLicenseError']('invalid'),'caseChangeLicenseKeyExpired'==_0x500dc4&&_0x12948b['_showLicenseError']('expired'),'caseChangeLicenseKeyDomainLimit'==_0x500dc4&&_0x12948b['_showLicenseError']('domainLimit'),'caseChangeLicenseKeyNotAllowed'==_0x500dc4&&_0x12948b['_showLicenseError']('featureNotAllowed','CaseChange'),'caseChangeLicenseKeyEvaluationLimit'==_0x500dc4&&_0x12948b['_showLicenseError']('evaluationLimit'),'caseChangeLicenseKeyUsageLimit'==_0x500dc4&&_0x12948b['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_registerComponents'](){const _0x45ca67=this['editor'],{itemDefinitions:_0x4120f8,commands:_0x531a46}=this['_getListItemDefinitionsAndCommands']();_0x45ca67['ui']['componentFactory']['add']('caseChange',()=>this['_createDropdownView'](_0x4120f8,_0x531a46)),_0x45ca67['ui']['componentFactory']['add']('menuBar:caseChange',()=>this['_createMenuBarMenuView'](_0x4120f8,_0x531a46));}['_createMenuBarMenuView'](_0x31985a,_0x344e0b){const _0x2125a8=this['editor'],_0x59208c=_0x2125a8['locale'],_0x4945f7=new _0x4108b4(_0x59208c),_0x5591d7=new _0x14375b(_0x59208c);_0x5591d7['set']({'ariaLabel':Hy(_0x59208c,'Case\x20change'),'role':'menu'}),this['_setButtonProperties'](_0x4945f7['buttonView']),_0x4945f7['bind']('isEnabled')['toMany'](_0x344e0b,'isEnabled',(..._0x5a6c49)=>_0x5a6c49['some'](_0x408808=>_0x408808));for(const _0x473748 of _0x31985a){const _0x941cb4=new _0x2b149f(_0x59208c,_0x4945f7),_0x38abd5=new _0x3dd6ab(_0x59208c);_0x38abd5['delegate']('execute')['to'](_0x4945f7),_0x38abd5['bind'](...Object['keys'](_0x473748['model']))['to'](_0x473748['model']),_0x38abd5['on']('execute',()=>{_0x2125a8['execute'](_0x473748['model']['commandName']),_0x2125a8['editing']['view']['focus']();}),_0x941cb4['children']['add'](_0x38abd5),_0x5591d7['items']['add'](_0x941cb4);}return _0x4945f7['panelView']['children']['add'](_0x5591d7),_0x4945f7;}['_createDropdownView'](_0x1c6466,_0x363044){const _0x169e30=this['editor'],_0x28cebb=_0x18eee9(_0x169e30['locale']);return this['_setButtonProperties'](_0x28cebb['buttonView']),_0x28cebb['buttonView']['set']({'tooltip':!0x0}),_0x28cebb['extendTemplate']({'attributes':{'class':['ck-case-change-dropdown']}}),ts(_0x28cebb,_0x1c6466,{'ariaLabel':Hy(_0x169e30['locale'],'Case\x20change'),'role':'menu'}),_0x28cebb['bind']('isEnabled')['toMany'](_0x363044,'isEnabled',(..._0x2fd0aa)=>_0x2fd0aa['some'](_0xbe5274=>_0xbe5274)),this['listenTo'](_0x28cebb,'execute',_0x30fa08=>{_0x169e30['execute'](_0x30fa08['source']['commandName']),_0x169e30['editing']['view']['focus']();}),_0x28cebb;}['_setButtonProperties'](_0x5ef47e){const _0xb49f84=this['editor'];_0x5ef47e['set']({'label':Hy(_0xb49f84['locale'],'Case\x20change'),'icon':_0x3745e1,'keystroke':'Shift+F3'});}['_getListItemDefinitionsAndCommands'](){const _0x37d5e2=new _0x23ea50(),_0x32903c=[];for(const _0x5b9e81 of Gy(this['editor']['locale'])){const _0x545d26=this['editor']['commands']['get'](_0x5b9e81['commandName']),_0x2e102e=new _0x30ba3c({'commandName':_0x5b9e81['commandName'],'label':_0x5b9e81['label'],'role':'menuitemradio','withText':!0x0});_0x2e102e['bind']('isEnabled')['to'](_0x545d26,'isEnabled'),_0x37d5e2['add']({'type':'button','model':_0x2e102e}),_0x32903c['push'](_0x545d26);}return{'itemDefinitions':_0x37d5e2,'commands':_0x32903c};}},qy=class extends _0x36b920{static get['requires'](){return[Zy,Xy];}static get['pluginName'](){return'CaseChange';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};const Wy=/* #__PURE__ -- @preserve */
_0x5b14e3();var zy=class extends Wy{['model'];['view'];constructor(_0x224006,_0x1c1b31){super(),this['model']=_0x224006,this['model']['_isAttached']=!0x0,this['view']=_0x1c1b31,this['listenTo'](_0x1c1b31,'submitCommentThread',()=>this['submit']()),this['listenTo'](_0x1c1b31,'removeCommentThread',()=>this['remove']()),this['listenTo'](_0x1c1b31,'resolveCommentThread',()=>this['resolve']()),this['listenTo'](_0x1c1b31,'reopenCommentThread',()=>this['reopen']()),this['listenTo'](_0x1c1b31,'addComment',(_0x13e2fb,_0x4c10d1)=>this['addComment'](_0x4c10d1)),this['listenTo'](_0x1c1b31,'updateComment',(_0x5131e7,_0xc14c5b,_0x42f5dc)=>this['updateComment'](_0xc14c5b,_0x42f5dc)),this['listenTo'](_0x1c1b31,'removeComment',(_0x4dd2af,_0x117fe7)=>this['removeComment'](_0x117fe7));}['submit'](){this['model']['submit']();}['remove'](){this['model']['remove']();}['resolve'](){this['model']['isResolved']||this['model']['resolve']();}['reopen'](){this['model']['isResolved']&&this['model']['reopen']();}['addComment'](_0xf07ef7){this['model']['addComment']({'content':_0xf07ef7,'authorId':this['view']['_localUser']['id']});}['updateComment'](_0x45bee8,_0x4a697e){this['model']['getComment'](_0x45bee8)['update']({'content':_0x4a697e});}['removeComment'](_0x4c068c){this['model']['getComment'](_0x4c068c)['remove']();}['destroy'](){this['stopListening'](),this['model']['_isAttached']=!0x1;}};function Yy(_0x5b5306,_0x4b2073,_0x5efd52){const t=_0x5b5306['t'];switch(_0x4b2073){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'},_0x5efd52);case'COMMENT_THREAD_LABEL':return t({'string':'Comment\x20thread\x20by\x20%1.\x20%0\x20reply.','plural':'Comment\x20thread\x20by\x20%1.\x20%0\x20replies.','id':'COMMENT_THREAD_LABEL'},_0x5efd52);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'},_0x5efd52);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'},_0x5efd52);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x5efd52);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'},_0x5efd52);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'},_0x5efd52);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'},_0x5efd52);case'COMMENTS_ARCHIVE':return t({'string':'Comments\x20archive','id':'COMMENTS_ARCHIVE'});case'EMPTY_COMMENTS_ARCHIVE':return t({'string':'There\x20are\x20no\x20archived\x20comment\x20threads.','id':'EMPTY_COMMENTS_ARCHIVE'});case'COMMENTS_ARCHIVE_LIST_LABEL':return t({'string':'List\x20of\x20comments','id':'COMMENTS_ARCHIVE_LIST_LABEL'});case'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':return t({'string':'Keystrokes\x20for\x20interacting\x20with\x20annotation\x20threads\x20(e.g.\x20comments,\x20track\x20changes\x20suggestions)','id':'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'});case'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':return t({'string':'Move\x20focus\x20to\x20the\x20thread\x20when\x20the\x20selection\x20is\x20anchored\x20in\x20its\x20marker','id':'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'});case'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':return t({'string':'Exit\x20the\x20annotation\x20and\x20move\x20focus\x20back\x20to\x20the\x20edited\x20content','id':'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':return t({'string':'Browse\x20the\x20focused\x20annotation\x20thread\x20or\x20thread\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'});case'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':return t({'string':'Move\x20across\x20internals\x20of\x20the\x20annotation\x20thread','id':'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'});case'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':return t({'string':'Submit\x20the\x20reply\x20while\x20writing\x20a\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':return t({'string':'Move\x20to\x20the\x20previous\x20or\x20next\x20thread\x20in\x20the\x20annotations\x20sidebar\x20or\x20comments\x20archive','id':'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'});default:return'';}}var Ky=class extends _0x5e3221{['main'];['editable'];constructor(_0x2c386f,_0x10d25a){super(_0x2c386f);const _0x11a01a=_0x10825a();this['main']=this['createCollection'](),this['editable']=new _0x1fdd0b(_0x2c386f,_0x10d25a,void 0x0,{'label':()=>Yy(_0x2c386f,'Comment\x20editor')}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-reset','ck-editor','ck-rounded-corners','ck-comment__input'],'dir':_0x2c386f['uiLanguageDirection'],'lang':_0x2c386f['uiLanguage'],'aria-labelledby':'cke-editor__aria-label_'+_0x11a01a},'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']();}},Jy=class extends _0x394222{['view'];constructor(_0x4252ff){super(_0x4252ff),this['view']=new Ky(_0x4252ff['locale'],_0x4252ff['editing']['view']);}get['element'](){return this['view']['element'];}['init'](){const _0x418777=this['editor']['editing']['view'],_0x2023d9=this['view']['editable'];_0x2023d9['name']=_0x418777['document']['getRoot']()['rootName'],this['view']['render']();const _0x47a6fb=_0x2023d9['element'];this['setEditableElement'](_0x2023d9['name'],_0x47a6fb),this['view']['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x418777['attachDomRoot'](_0x47a6fb),this['fire']('ready');}['destroy'](){super['destroy'](),this['view']['destroy']();}};const tv=[_0x9e0489,_0x3f2624,_0x1062db,_0x452e52,_0x49f114,_0x108d92,_0x650fbc],ev=/* #__PURE__ -- @preserve */
_0x5b14e3(_0x181fa1);var iv=class CommentEditor extends ev{static ['defaultPlugins']=/* #__PURE__ -- @preserve */
((()=>tv)());constructor(_0x53c2b0={}){(_0x53c2b0=Object['assign']({},_0x53c2b0))['plugins']||(_0x53c2b0['plugins']=CommentEditor['defaultPlugins']),super(_0x53c2b0),this['ui']=new Jy(this),this['set']('placeholder',''),this['model']['document']['on']('change',()=>this['_updatePlaceholder'](),{'priority':'low'}),this['on']('change:placeholder',()=>this['_updatePlaceholder']()),this['model']['document']['createRoot'](),this['editing']['view']['_overlayModeHint']='auto',this['_sendUsageRequest']=()=>window['Promise']['resolve']({'status':'ok'});}['create'](){const _0x1bc794=this['config']['get']('initialData')||'';return this['initPlugins']()['then'](()=>this['ui']['init']())['then'](()=>this['data']['init'](_0x1bc794))['then'](()=>this['fire']('ready'));}['destroy'](){return super['destroy']()['then'](()=>this['ui']['destroy']());}['focus'](){this['model']['change'](_0x346b66=>{const _0x476803=this['model']['document']['getRoot'](),_0x346cc4=_0x476803&&_0x476803['getChild'](_0x476803['childCount']-0x1);_0x346b66['setSelection'](_0x346cc4,'end'),this['editing']['view']['focus']();});}['_updatePlaceholder'](){const _0x27ef13=this['editing']['view'],_0xcfd3ed=_0x27ef13['document']['getRoot'](),_0x507f82=_0xcfd3ed['getChild'](0x0);_0xcfd3ed['childCount']>0x1||!_0x507f82||'p'!=_0x507f82['name']?this['placeholderElement']&&this['placeholderElement']['placeholder']&&(_0x473f45(_0x27ef13,this['placeholderElement']),this['placeholderElement']=void 0x0):(this['placeholder']&&(_0x507f82['placeholder']=this['placeholder']),_0x774f95({'view':_0x27ef13,'element':_0x507f82,'keepOnFocus':!0x0}),this['placeholderElement']=_0x507f82);}},sv=class extends _0x2df468{['keystrokes'];['focusTracker'];['focusables'];['focusCycler'];['submitButtonView'];['cancelButtonView'];['_editorConfig'];constructor(_0x544b2e,_0x31038e={}){super(_0x544b2e),this['editor']=null,this['_editorConfig']=_0x31038e,this['set']('value',_0x31038e['initialData']||''),this['set']('disabledSubmit',!0x1),this['set']('showButtons',!0x0),this['set']('placeholder',Yy(_0x544b2e,'Reply...')),this['set']('submitLabel',Yy(_0x544b2e,'Reply')),this['submitButtonView']=this['_createSubmitButton'](),this['cancelButtonView']=this['_createCancelButton'](),this['focusables']=this['createCollection']([this['submitButtonView'],this['cancelButtonView']]),this['keystrokes']=new _0x491b26(),this['focusTracker']=new _0x33fa41(),this['focusCycler']=new _0x1a2844({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x1f8aed=>!_0x1f8aed['defaultPrevented']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-comment__input-wrapper']},'children':[{'tag':'div','attributes':{'class':['ck-comment__input-actions',this['bindTemplate']['if']('showButtons','ck-comment__input-actions--active')]},'children':[this['submitButtonView'],this['cancelButtonView']]}]}),this['keystrokes']['set']('Esc',(_0xc20615,_0x4d1ec1)=>{this['cancelButtonView']['fire']('execute'),_0x4d1ec1();}),this['keystrokes']['set']('Ctrl+Enter',(_0x441d75,_0x3c4032)=>{this['submitButtonView']['isEnabled']&&(this['submitButtonView']['fire']('execute'),_0x3c4032());}),this['on']('submit',(_0x3f51e4,_0x1b7e19)=>{_0x1b7e19['length']>0xfde8?(alert(Yy(_0x544b2e,'TOO_LONG_COMMENT_ALERT',[_0x1b7e19['length'],0xfde8])),_0x3f51e4['stop']()):this['editor']['setData']('');},{'priority':'high'});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['createEditor'](){return this['editor']||(this['editor']=new iv(this['_editorConfig']),this['_editorCreationPromise']=this['editor']['create']()['then'](()=>{if(this['_isDestroyed'])return;const _0x7a3e61=this['editor'];this['element']['insertBefore'](_0x7a3e61['ui']['element'],this['element']['firstChild']),_0x7a3e61['model']['document']['on']('change',()=>this['value']=_0x7a3e61['getData']()),_0x7a3e61['bind']('placeholder')['to'](this),this['focusables']['add'](_0x7a3e61['ui']['view'],0x0),this['fire']('editorReady',this['editor']);})),this['_editorCreationPromise'];}['focus'](_0x10ea15){-0x1===_0x10ea15?(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:_0x36876a}=this,_0x271d5e=new _0x47ddb0(_0x36876a);return _0x271d5e['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x271d5e['withText']=!0x0,_0x271d5e['bind']('label')['to'](this,'submitLabel'),_0x271d5e['on']('execute',()=>{this['fire']('submit',this['value']);}),_0x271d5e['bind']('isEnabled')['to'](this,'value',this,'disabledSubmit',(_0x2129f0,_0x443cc4)=>!_0x443cc4&&!!_0x2129f0['trim']()),_0x271d5e;}['_createCancelButton'](){const {locale:_0x50f31b}=this,_0x17f1d0=new _0x47ddb0(_0x50f31b);return _0x17f1d0['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x17f1d0['label']=Yy(_0x50f31b,'Cancel'),_0x17f1d0['withText']=!0x0,_0x17f1d0['on']('execute',()=>{this['editor']['setData'](''),this['fire']('cancel');}),_0x17f1d0;}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']),this['focusables']['forEach'](_0x218deb=>{this['focusTracker']['add'](_0x218deb['element']);}),this['focusables']['on']('change',(_0x19e6c9,_0x530bb0)=>{for(const _0x4a5c22 of Array['from'](_0x530bb0['added'])['reverse']())this['focusTracker']['add'](_0x4a5c22['element']);});}},nv=class extends _0x2df468{constructor(_0x21e96b,_0x5b5564,_0xa0cb50){super(_0x21e96b),this['commentInputView']=new sv(_0x21e96b,_0xa0cb50),this['focusCycler']=this['commentInputView']['focusCycler'],this['commentInputView']['bind']('showButtons')['to'](this['commentInputView']['focusTracker'],'isFocused',this['commentInputView'],'value',(_0x1579e4,_0x36634e)=>_0x1579e4||!!_0x36634e),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 ma(_0x21e96b,_0x5b5564),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'](_0x12d83e){this['commentInputView']['focus'](_0x12d83e);}['_focusOnNonInteractiveMouseDown'](){this['listenTo'](this['element'],'mousedown',(_0x436f23,_0x370891)=>{const {submitButtonView:_0x477690,cancelButtonView:_0x7ff6ee,editor:_0x5d5970}=this['commentInputView'];[_0x477690['element'],_0x7ff6ee['element'],_0x5d5970?_0x5d5970['editing']['view']['getDomRoot']():null]['filter'](_0xed4861=>_0xed4861)['some'](_0x28e8a1=>_0x28e8a1['contains'](_0x370891['target']))||(this['focus'](),_0x370891['preventDefault']());});}},rv=class extends _0x2df468{constructor(_0xb9ceb8){super(_0xb9ceb8);const _0x51ded1=this['bindTemplate'];this['set']('count',void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x51ded1['to']('count',_0x505567=>Yy(_0xb9ceb8,'NUMBER_OF_COMMENTS',_0x505567))}]});}},ov=class extends _0x2df468{['commentViews'];['resolvedCommentView'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];['_collapsedCommentsView'];constructor(_0x16e234,_0x4f27c8,_0x4f2b78){super(_0x16e234);const _0xe0f79e=this['bindTemplate'];this['set']('hasDirtyComment',!0x1),this['set']('length',_0x4f27c8['comments']['length']),this['set']('isActive',!0x1),this['_model']=_0x4f27c8,this['_config']=_0x4f2b78,this['commentViews']=this['createCollection'](),this['visibleViews']=this['createCollection'](),this['resolvedCommentView']=null,this['focusTracker']=new _0x33fa41(),this['keystrokes']=new _0x491b26(),this['focusCycler']=new _0x1a2844({'focusables':this['commentViews'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x2a98f4=>this['commentViews']['map'](_0x243c73=>_0x243c73['element'])['includes'](_0x2a98f4['target'])},'actions':{'focusPrevious':'arrowup','focusNext':'arrowdown'}}),this['_collapsedCommentsView']=new rv(_0x16e234),this['_collapsedCommentsView']['bind']('count')['to'](this,'length',_0x2b7bb8=>_0x2b7bb8-this['_config']['maxCommentsWhenCollapsed']);for(const _0x14e051 of _0x4f27c8['comments'])this['_handleNewCommentModel'](_0x14e051);this['_handleInfoComment'](),this['listenTo'](_0x4f27c8['comments'],'add',(_0x52ff6d,_0x2e5c7c)=>{const _0x49448d=this['_calculatePosition'](_0x2e5c7c);this['length']++,this['_handleNewCommentModel'](_0x2e5c7c,_0x49448d),this['refreshVisibleViews']();}),this['listenTo'](_0x4f27c8['comments'],'remove',(_0x42f301,_0x57176a)=>{this['length']--,this['_handleRemoveCommentModel'](_0x57176a),this['refreshVisibleViews']();}),this['listenTo'](_0x4f27c8,'commentUpdated',()=>this['refreshVisibleViews']()),this['listenTo'](_0x4f27c8,'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',_0xe0f79e['if']('length','ck-hidden',_0x396605=>!_0x396605)],'aria-label':Yy(_0x16e234,'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'](_0x60fd3a){-0x1===_0x60fd3a?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['destroy'](){this['_collapsedCommentsView']['destroy']();for(const _0x1222b7 of this['commentViews'])_0x1222b7['destroy']();super['destroy']();}['refreshVisibleViews'](){this['_shouldCollapse']?this['_rearrangeCollapse']():this['_rearrangeExpand']();}['_handleNewCommentModel'](_0x15ccea,_0x1acfab){const _0x2fcde6=new this['_config']['CommentView'](this['locale'],_0x15ccea,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig']});_0x2fcde6['viewUid']=_0x15ccea['id'],_0x2fcde6['delegate']('removeComment')['to'](this),_0x2fcde6['delegate']('updateComment')['to'](this),_0x2fcde6['delegate']('resolveCommentThread')['to'](this),_0x2fcde6['delegate']('editorReady')['to'](this),_0x2fcde6['delegate']('editorDestroyed')['to'](this),this['listenTo'](_0x2fcde6,'change:isEditMode',()=>this['_updateHasDirtyComment']()),this['commentViews']['add'](_0x2fcde6,_0x1acfab);}['_calculatePosition'](_0x571671){const _0x1c6c35=this['_model']['_findOptimalIndex'](_0x571671);return this['resolvedCommentView']?this['resolvedCommentView']['authoredAt']>_0x571671['authoredAt']?_0x1c6c35-0x1:_0x1c6c35:_0x1c6c35-0x1;}['_handleInfoComment'](){if(this['_model']['resolvedBy']&&this['_model']['resolvedAt']){const _0x37cf1a={'id':'resolved','author':this['_model']['resolvedBy'],'authoredAt':this['_model']['resolvedAt'],'content':Yy(this['locale'],'Marked\x20as\x20resolved'),'attributes':{}};this['resolvedCommentView']=new this['_config']['CommentView'](this['locale'],_0x37cf1a,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig'],'isSystemComment':!0x0}),this['commentViews']['add'](this['resolvedCommentView'],this['_model']['_findOptimalIndex'](_0x37cf1a));}else this['resolvedCommentView']&&(this['commentViews']['remove'](this['resolvedCommentView']),this['resolvedCommentView']['destroy'](),this['resolvedCommentView']=null);this['refreshVisibleViews']();}['_handleRemoveCommentModel'](_0x6ba1d3){const _0x36ebc1=this['commentViews']['remove'](_0x6ba1d3['id']);this['stopListening'](_0x36ebc1),_0x36ebc1['isEditMode']&&this['_updateHasDirtyComment'](),_0x36ebc1['destroy']();}['_updateHasDirtyComment'](){this['hasDirtyComment']=Array['from'](this['commentViews'])['some'](_0x2d2878=>_0x2d2878['isEditMode']);}['_rearrangeCollapse'](){const _0x5e29f1=function(_0xb53c02){const _0x2249e5=new _0x23ea50();for(const _0x37f922 of _0xb53c02)_0x2249e5['add'](_0x37f922);return _0x2249e5;}(this['commentViews']),_0x15f82b=this['_collapsedCommentsView']['count'];for(let _0x4723d3=0x1;_0x4723d3<=_0x15f82b;_0x4723d3++)_0x5e29f1['remove'](0x1);for(const _0x3160fc of _0x5e29f1)_0x3160fc['collapse']();_0x15f82b>0x0&&_0x5e29f1['add'](this['_collapsedCommentsView'],0x1),av(_0x2f7794(Array['from'](this['visibleViews']),Array['from'](_0x5e29f1)),this['visibleViews'],_0x5e29f1);}['_rearrangeExpand'](){av(_0x2f7794(Array['from'](this['visibleViews']),Array['from'](this['commentViews'])),this['visibleViews'],this['commentViews']);for(const _0x1adfb7 of this['visibleViews'])_0x1adfb7['expand']();}['_setupKeyboardNavigation'](){this['commentViews']['forEach'](_0x557491=>{this['focusTracker']['add'](_0x557491['element']),this['keystrokes']['listenTo'](_0x557491['element']);}),this['commentViews']['on']('change',(_0xf88a07,_0x2c2739)=>{for(const _0x1ca234 of _0x2c2739['removed'])this['focusTracker']['remove'](_0x1ca234['element']),this['keystrokes']['stopListening'](_0x1ca234['element']);for(const _0x140483 of Array['from'](_0x2c2739['added'])['reverse']())this['focusTracker']['add'](_0x140483['element']),this['keystrokes']['listenTo'](_0x140483['element']);});}};function av(_0x8be4a,_0x205633,_0x30cc91){let _0x1f7298=0x0;for(const _0x1424f3 of _0x8be4a)switch(_0x1424f3){case'insert':_0x205633['add'](_0x30cc91['get'](_0x1f7298),_0x1f7298),_0x1f7298++;break;case'delete':_0x205633['remove'](_0x1f7298);break;case'equal':_0x1f7298++;}}var cv=class extends _0x2df468{constructor(_0x339319){super(_0x339319);const _0x11c952=this['bindTemplate'];this['set']('contextValue',''),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-context__value'],'aria-label':_0x11c952['to']('contextValue',_0x417a85=>Yy(_0x339319,'THREAD_CONTEXT_LABEL',_0x417a85)),'tabindex':-0x1},'children':[{'text':_0x11c952['to']('contextValue')}]});}['focus'](){this['element']['focus']();}},lv=class extends _0x2df468{['_model'];['reopenButtonView'];['contextView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0x55bf54,_0x183940){super(_0x55bf54);const _0x2148f9=this['bindTemplate'];this['_model']=_0x183940,this['reopenButtonView']=this['_createReopenButton'](),this['contextView']=this['_createContextView'](),this['focusables']=this['createCollection']([this['contextView'],this['reopenButtonView']]),this['focusTracker']=new _0x33fa41(),this['keystrokes']=new _0x491b26(),this['focusCycler']=new _0x1a2844({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['bind']('hasContext')['to'](this['_model'],'context',_0x59b5a9=>!!_0x59b5a9),this['bind']('contextValue')['to'](this['_model'],'context',_0x34f09e=>_0x34f09e&&_0x34f09e['value']?this['_trimContextValue'](_0x34f09e['value']):Yy(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',_0x2148f9['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 _0x314f06=new _0x47ddb0(this['locale']);return _0x314f06['label']=Yy(this['locale'],'Reopen'),_0x314f06['tooltip']=Yy(this['locale'],'Reopen'),_0x314f06['icon']=_0x5b2650,_0x314f06['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x4ae553=>!_0x4ae553),_0x314f06['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x184a97,_0x373ad4)=>_0x184a97&&_0x373ad4),_0x314f06['on']('execute',()=>{this['fire']('reopenCommentThread',this['_model']['id']);}),_0x314f06;}['_trimContextValue'](_0x586b2b){if(_0x586b2b['length']<0x96)return _0x586b2b;const _0x272395=_0x586b2b['lastIndexOf']('\x20',0x93);return _0x586b2b['substring'](0x0,_0x272395>-0x1?_0x272395:0x93)+'...';}['_attachContextActions'](){const _0x1a4a54=this['element']['querySelector']('.ck-context'),_0x24d1be=_0x1a4a54['querySelector']('.ck-context__value');this['listenTo'](_0x1a4a54,'mouseenter',()=>{_0x24d1be['offsetWidth']<_0x24d1be['scrollWidth']&&_0x1a4a54['classList']['add']('overlay');}),this['listenTo'](_0x1a4a54,'mouseleave',()=>{_0x1a4a54['classList']['remove']('overlay');});}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']);for(const _0x45261b of this['focusables'])this['focusTracker']['add'](_0x45261b['element']),this['keystrokes']['listenTo'](_0x45261b['element']);}['_createContextView'](){const _0x235ee4=new cv(this['locale']);return _0x235ee4['bind']('contextValue')['to'](this),_0x235ee4;}},hv=class extends _0x2df468{['_model'];['_config'];['commentThreadHeaderView'];['commentThreadInputView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0x3bed62,_0x5c20b4,_0x544258,_0x102dc2){super(_0x3bed62),this['set']('isActive',!0x1),this['set']('isDirty',!0x1),this['_model']=_0x5c20b4,this['_localUser']=_0x544258,this['_config']=_0x102dc2,this['commentThreadHeaderView']=new lv(_0x3bed62,_0x5c20b4),this['commentThreadHeaderView']['delegate']('reopenCommentThread')['to'](this),this['ariaDescriptionView']=new ga(_0x3bed62,Yy(_0x3bed62,'COMMENT_THREAD_DESCRIPTION')),this['listenTo'](this,'reopenCommentThread',()=>{this['focus']();}),this['commentsListView']=new ov(_0x3bed62,_0x5c20b4,Object['assign']({'CommentView':this['_config']['CommentView']},_0x102dc2)),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',(_0x510f40,_0x15648e)=>_0x510f40||!!_0x15648e),this['bind']('isUnlinked')['to'](_0x5c20b4,'unlinkedAt',_0x242214=>!!_0x242214);let _0x1e74fe=null;const _0x59f2a5=()=>{const _0x138ec4=this['_model']['comments']['first']||null;_0x138ec4!==_0x1e74fe&&(_0x1e74fe&&this['stopListening'](_0x1e74fe,'change:content'),_0x1e74fe=_0x138ec4,_0x138ec4&&this['listenTo'](_0x138ec4,'change:content',_0x59f2a5));const _0x343750=_0x138ec4?_0x138ec4['author']['name']:this['_localUser']['name'],_0x44e2dd=_0x138ec4?new DOMParser()['parseFromString'](pd(_0x138ec4['content'],{'limit':this['_config']['maxCommentCharsWhenCollapsed']}),'text/html')['body']['textContent']:'',_0x239470=Yy(this['locale'],'COMMENT_THREAD_LABEL',[this['length'],_0x343750]);this['set']('ariaLabel',_0x44e2dd?_0x239470+'\x20'+_0x44e2dd:_0x239470);};this['listenTo'](this['_model']['comments'],'change',_0x59f2a5),_0x59f2a5(),this['focusables']=this['createCollection']([this['commentsListView'],this['commentThreadInputView']]),this['focusTracker']=new _0x33fa41(),this['keystrokes']=new _0x491b26(),this['focusCycler']=new _0x1a2844({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x49b8cc=>_0x49b8cc['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}});}['focus'](){this['element']['focus']();}['render'](){super['render'](),Rd(this,this['focusables']);}async['destroy'](){this['isDirty']=!0x1,this['commentsListView']['destroy'](),await this['commentThreadInputView']['destroy'](),super['destroy']();}['_createCommentThreadInputView'](){const _0x363eca=new nv(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x1f2128=_0x363eca['commentInputView'];return _0x363eca['bind']('showInput')['to'](this,'isActive',this['_model'],'isReadOnly',this['_model'],'canComment',this['_model'],'archivedAt',_0x1f2128,'value',(_0x23f15c,_0x498f6b,_0x38d1f0,_0x3e25d2,_0x1c9bef)=>!!_0x1c9bef||!!_0x3e25d2&&_0x38d1f0&&!_0x498f6b||_0x23f15c&&_0x38d1f0&&!_0x498f6b),_0x1f2128['bind']('placeholder')['to'](this,'length',this['_model'],'isResolvable',this['_model'],'isResolved',(_0x31bca3,_0x261296,_0x2d1f15)=>{let _0x297c32;return _0x297c32=_0x2d1f15&&_0x261296?'Reply\x20to\x20reopen\x20discussion...':_0x31bca3?'Reply...':'Write\x20a\x20comment...',Yy(this['locale'],_0x297c32);}),_0x1f2128['bind']('submitLabel')['to'](this,'length',_0x4eee36=>Yy(this['locale'],_0x4eee36?'Reply':'Comment')),_0x1f2128['on']('submit',(_0x3c325a,_0x1b78f1)=>{this['fire']('addComment',_0x1b78f1),this['_model']['isResolved']&&this['_model']['isResolvable']&&this['fire']('reopenCommentThread',this['_model']['id']),this['_model']['isSubmitted']||this['fire']('submitCommentThread');}),_0x1f2128['on']('cancel',()=>{this['focus']();}),_0x1f2128['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x1f2128['on']('cancel',_0x3f7e86=>{0x0==this['length']&&(this['fire']('removeCommentThread'),_0x3f7e86['stop']());}),this['on']('change:isActive',(_0x1337c6,_0x13f440,_0xdff6a2)=>{_0xdff6a2||this['length']||_0x1f2128['value']||this['fire']('removeCommentThread');}),_0x363eca;}};const uv=/* #__PURE__ -- @preserve */
wd(hv);var dv=class extends uv{['commentThreadChildren'];['containerElement'];['resolveButton'];['_boundFirstCommentView'];constructor(_0x562426,_0x15fe39,_0x3441be,_0x207bf6){super(_0x562426,_0x15fe39,_0x3441be,_0x207bf6),this['commentThreadChildren']=this['createCollection']([this['commentsListView'],this['commentThreadInputView'],this['ariaDescriptionView']]),this['set']('actionIndicator',null),this['containerElement']=null,this['_boundFirstCommentView']=null,this['locale']=_0x562426,this['resolveButton']=this['_createResolveButton'](),this['setTemplate'](this['getTemplate']()),this['on']('change:isActive',(_0x340179,_0x508d37,_0x24419e)=>{_0x24419e||this['_cancelAllConfirms']();}),this['listenTo'](this['_model'],'change:isReadOnly',(_0x27ea90,_0x246445,_0x4745b4)=>{_0x4745b4&&this['_cancelAllConfirms']();}),this['length']>0x0&&this['_bindFirstCommentView'](),this['listenTo'](this['commentsListView']['commentViews'],'add',()=>{this['_bindFirstCommentView']();});}['getTemplate'](){const _0x4e20b2=this['bindTemplate'];return{'tag':'div','attributes':{'class':['ck','ck-thread','ck-reset_all-excluded','ck-rounded-corners',_0x4e20b2['if']('isActive','ck-thread--active'),_0x4e20b2['if']('isUnlinked','ck-thread--unlinked'),_0x4e20b2['to']('actionIndicator',_0x4bed7f=>_0x4bed7f?'ck-thread--'+_0x4bed7f:'')],'data-thread-id':this['_model']['id'],'tabindex':0x0,'role':'listitem','aria-label':_0x4e20b2['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 _0x22fcfb of this['commentsListView']['commentViews'])_0x22fcfb['cancelConfirm']();}['_bindFirstCommentView'](){const {locale:_0x493993}=this,_0x305453=this['commentsListView']['commentViews']['get'](0x0);_0x305453===this['_boundFirstCommentView']||_0x305453['isSystemComment']||(this['_boundFirstCommentView']=_0x305453,this['unbind']('actionIndicator'),this['bind']('actionIndicator')['to'](_0x305453,'actionIndicator',_0x10b735=>'remove'===_0x10b735?'remove':null),_0x305453['placeholder']=Yy(_0x493993,'Write\x20a\x20comment...'),_0x305453['removeButton']['on']('execute',_0x15ddb1=>{_0x15ddb1['stop'](),this['showConfirm'](Yy(_0x493993,'Delete\x20comment\x20thread?'),this['containerElement'])['then'](()=>{this['fire']('removeCommentThread');});},{'priority':'high'}),this['on']('removeConfirm',()=>{_0x305453['focus']();}),_0x305453['actionBar']['add'](this['resolveButton'],0x0),_0x305453['focusables']['add'](this['resolveButton'],0x0));}['_createResolveButton'](){const _0x347edc=new Oa(this['locale']);return _0x347edc['label']=Yy(this['locale'],'Resolve'),_0x347edc['tooltip']=Yy(this['locale'],'Resolve'),_0x347edc['icon']=_0x25572e,_0x347edc['extendTemplate']({'attributes':{'class':'ck-comment--resolve'}}),_0x347edc['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x1d3f3b=>!_0x1d3f3b),_0x347edc['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x3d9aac,_0x32ce94)=>_0x3d9aac&&!_0x32ce94),_0x347edc['on']('execute',()=>{this['fire']('resolveCommentThread',this['_model']['id']);}),_0x347edc;}['_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']));}},fv=class extends _0x2df468{constructor(_0x51f90f){super(_0x51f90f),this['set']('content',''),this['setTemplate']({'tag':'div','attributes':{'class':['ck-content','ck-comment__content','ck-annotation__content']}});}['render'](){super['render'](),this['on']('change:content',(_0x302446,_0x198538,_0x1c7a1a)=>{this['element']['innerHTML']=_0x1c7a1a;}),this['element']['innerHTML']=this['content'];}},mv=class extends _0x2df468{['visibleView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];constructor(_0x5b6809,_0x421a76,_0x3ebe7d){super(_0x5b6809),this['_model']=_0x421a76,this['_config']=_0x3ebe7d,this['isSystemComment']=!!this['_config']['isSystemComment'],this['set']('isEditMode',!0x1),this['set']('isCollapsed',!0x0),this['bind']('ariaLabel')['to'](_0x421a76,'content',_0x421a76,'authoredAt',(_0x1e9f47,_0x75b8f9)=>Yy(_0x5b6809,'COMMENT_ARIA_LABEL',[_0x421a76['author']['name'],_0x3ebe7d['formatDateTime'](_0x75b8f9),new DOMParser()['parseFromString'](_0x1e9f47,'text/html')['body']['textContent'],_0x421a76['isExternal']?this['getExternalCommentNote']():''])),this['ariaDescriptionView']=new ga(_0x5b6809,Yy(_0x5b6809,'COMMENT_THREAD_DESCRIPTION')),this['visibleView']=this['createCollection'](),this['visibleView']['add'](this['_createCommentContentView']()),this['focusables']=new _0xa445c9(),this['focusTracker']=new _0x33fa41(),this['keystrokes']=new _0x491b26(),this['focusCycler']=new _0x1a2844({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x4830ba=>_0x4830ba['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']?Yy(this['locale'],'EXTERNAL_IMPORT_WORD_COMMENT'):Yy(this['locale'],'EXTERNAL_COMMENT');}['getUserViewNotificationText'](){return this['_model']['isExternal']?'importWord'===this['_model']['attributes']['@external']['source']?Yy(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator']['name']):Yy(this['locale'],'EXTERNAL_AVATAR',this['_model']['creator']['name']):null;}['_createCommentContentView'](){const _0x40b2cd=new fv(this['locale']);return _0x40b2cd['bind']('content')['to'](this['_model'],'content',this,'isCollapsed',(_0x194b63,_0x515adf)=>_0x515adf?pd(_0x194b63,{'limit':this['_config']['maxCommentCharsWhenCollapsed']}):_0x194b63),_0x40b2cd;}['_createCommentInputView'](){this['_config']['editorConfig']||(this['_config']['editorConfig']={}),this['_config']['editorConfig']['initialData']=this['_model']['content'];const _0x1e1442=new sv(this['locale'],this['_config']['editorConfig']);return _0x1e1442['value']=this['_model']['content'],_0x1e1442['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x1e1442['submitLabel']=Yy(this['locale'],'Save'),_0x1e1442['on']('submit',(_0x1653ac,_0x430af7)=>{this['fire']('updateComment',this['_model']['id'],_0x430af7),this['switchToDisplayMode'](),this['focus']();}),_0x1e1442['on']('cancel',()=>{this['switchToDisplayMode'](),this['focus']();}),_0x1e1442['once']('editorReady',()=>{_0x1e1442['focus']();}),_0x1e1442['createEditor'](),_0x1e1442['delegate']('editorReady')['to'](this),_0x1e1442['delegate']('editorDestroyed')['to'](this),_0x1e1442;}['_setupKeyboardNavigation'](){const _0xd89b3c=this['element'];this['keystrokes']['listenTo'](_0xd89b3c);for(const _0x5ba183 of this['focusables'])this['focusTracker']['add'](_0x5ba183['element']),this['keystrokes']['listenTo'](_0x5ba183['element']);this['focusables']['on']('change',(_0x5575c8,_0x1de899)=>{for(const _0x42b079 of _0x1de899['removed'])this['focusTracker']['remove'](_0x42b079['element']),this['keystrokes']['stopListening'](_0x42b079['element']);for(const _0x3b72e1 of _0x1de899['added'])this['focusTracker']['add'](_0x3b72e1['element']),this['keystrokes']['listenTo'](_0x3b72e1['element']);}),this['keystrokes']['set']('enter',(_0x5c4330,_0xa0bf00)=>{_0xd89b3c===_0x5c4330['target']&&(this['focusCycler']['focusFirst'](),_0xa0bf00());}),this['keystrokes']['set']('esc',(_0x99addf,_0x1fde60)=>{_0xd89b3c!==_0x99addf['target']&&(this['focus'](),_0x1fde60());});}};const pv=/* #__PURE__ -- @preserve */
wd(mv);var gv=class extends pv{['actionBar'];['userView'];constructor(_0x295684,_0x374bf4,_0x1d48fd){super(_0x295684,_0x374bf4,_0x1d48fd),this['set']('actionIndicator',null),this['set']('placeholder',Yy(_0x295684,'Reply...')),this['bind']('authoredAt')['to'](_0x374bf4),this['bind']('resolvedAt')['to'](_0x374bf4),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 ma(_0x295684,_0x374bf4['author'],this['getUserViewNotificationText']()),this['userView']['extendTemplate']({'attributes':{'class':['ck-comment__user','ck-annotation__user'],'aria-hidden':!0x0}}),this['listenTo'](_0x374bf4,'change:isRemovable',()=>this['cancelConfirm']()),this['setTemplate'](this['getTemplate']());}['getTemplate'](){const _0x173c7c=this['bindTemplate'],_0x51a75b=[{'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':_0x173c7c['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x173c7c['to']('authoredAt',_0x5b05c6=>this['_config']['formatDateTime'](_0x5b05c6))}]}]},{'tag':'div','attributes':{'class':['ck-comment__actions','ck-annotation__actions',_0x173c7c['if']('isEditMode','ck-comment__actions--hidden'),_0x173c7c['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']&&_0x51a75b['push']({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this['getExternalCommentNote']()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper'],'tabindex':-0x1,'aria-label':_0x173c7c['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id'],'role':'listitem'},'children':[{'tag':'div','attributes':{'class':['ck-comment','ck-annotation',_0x173c7c['if']('isEditMode','ck-comment--edit'),_0x173c7c['if']('isSystemComment','ck-comment--info'),_0x173c7c['to']('actionIndicator',_0x2e0db9=>_0x2e0db9?'ck-comment--'+_0x2e0db9:'')],'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':_0x51a75b}]}]};}['_createEditButton'](){const _0x47ae7f=new _0x47ddb0(this['locale']);return _0x47ae7f['label']=Yy(this['locale'],'Edit'),_0x47ae7f['icon']=Ft,_0x47ae7f['withText']=!0x0,_0x47ae7f['extendTemplate']({'attributes':{'class':'ck-comment--edit'}}),_0x47ae7f['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x4db99f=>!_0x4db99f),_0x47ae7f['bind']('isVisible')['to'](this['_model'],'isEditable'),_0x47ae7f['on']('execute',()=>this['switchToEditMode']()),_0x47ae7f;}['_createRemoveButton'](){const _0x3640ff=new _0x47ddb0(this['locale']);return _0x3640ff['label']=Yy(this['locale'],'Remove'),_0x3640ff['icon']=Yt,_0x3640ff['withText']=!0x0,_0x3640ff['extendTemplate']({'attributes':{'class':'ck-comment--remove'}}),_0x3640ff['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x406bd1=>!_0x406bd1),_0x3640ff['bind']('isVisible')['to'](this['_model'],'isRemovable'),_0x3640ff['on']('execute',()=>{this['showConfirm'](Yy(this['locale'],'Delete\x20comment?'),this['element'])['then'](()=>{this['fire']('removeComment',this['_model']['id']);});}),_0x3640ff;}['_createDropdown'](){const _0x1949d2=_0x18eee9(this['locale'],wa),_0x3c4653=_0x1949d2['panelView']['children'],_0x399b1c=new _0x344603(this['locale']),_0x26494d=_0x1949d2['bindTemplate'];_0x6eaad5(_0x1949d2,()=>this['items']['find'](_0xfe11c5=>_0xfe11c5['isVisible'])),_0x1949d2['extendTemplate']({'attributes':{'class':[_0x26494d['if']('isVisible','ck-hidden',_0x2f9984=>!_0x2f9984)]}});const _0x5d062f=(_0x91c4e9,_0x46ebc4=-0x1)=>{const _0x158d01=new _0x1853ec(this['locale']);_0x158d01['children']['add'](_0x91c4e9);const _0x480300=_0x46ebc4>-0x1?_0x46ebc4:_0x399b1c['items']['length'];_0x399b1c['items']['add'](_0x158d01,_0x480300);const _0x298971=Array['from'](this['items']);_0x1949d2['unbind']('isEnabled','isVisible'),_0x1949d2['bind']('isEnabled')['toMany'](_0x298971,'isEnabled',(..._0x528956)=>_0x528956['some'](_0x4bf355=>_0x4bf355)),_0x1949d2['bind']('isVisible')['toMany'](_0x298971,'isVisible',(..._0x1aac22)=>_0x1aac22['some'](_0x3a854f=>_0x3a854f));};_0x1949d2['panelPosition']='sw',_0x1949d2['buttonView']['set']({'label':Yy(this['locale'],'Show\x20more\x20items'),'icon':_0x32e887});for(const _0x1bbaf1 of this['items'])_0x5d062f(_0x1bbaf1);return _0x3c4653['add'](_0x399b1c),_0x1949d2['listenTo'](this['items'],'add',(_0x3a17a8,_0x372840,_0x3b038e)=>{_0x5d062f(_0x372840,_0x3b038e);}),_0x1949d2['listenTo'](this['items'],'remove',(_0x5bc5a5,_0x5ba40b,_0xd793d7)=>{_0x399b1c['items']['remove'](_0xd793d7);}),_0x1949d2;}['_attachActions'](_0x2c64b6,_0x54007e){const _0x3cc3d9=_0x2c64b6&&_0x2c64b6['element'];_0x3cc3d9&&(this['listenTo'](_0x3cc3d9,'mouseenter',()=>this['actionIndicator']=_0x54007e),this['listenTo'](_0x3cc3d9,'focus',()=>this['actionIndicator']=_0x54007e),this['listenTo'](_0x3cc3d9,'mouseleave',()=>this['actionIndicator']=null),this['listenTo'](_0x3cc3d9,'blur',()=>this['actionIndicator']=null));}['_createCommentInputView'](){const _0x1f44a3=super['_createCommentInputView']();return _0x1f44a3['bind']('placeholder')['to'](this),_0x1f44a3;}['render'](){super['render'](),this['_attachActions'](this['editButton'],'edit'),this['_attachActions'](this['removeButton'],'remove');}};function Ov(_0x46e83f){const _0x524f10=wr(_0x46e83f,0x1e),_0x36511d=new MutationObserver(_0x475a58=>{for(const _0x4710a4 of _0x475a58)('attributes'==_0x4710a4['type']&&'class'==_0x4710a4['attributeName']||'childList'==_0x4710a4['type']||'characterData'==_0x4710a4['type'])&&_0x524f10();});return{'attach'(_0x381d0a){_0x36511d['observe'](_0x381d0a,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x36511d['disconnect'](),_0x524f10['cancel']();}};}var wv=class extends _0x2df468{['focusTracker'];['id'];['keystrokes'];['content'];['mainView'];['_mutationObserver'];constructor(_0x4e076e,_0x4e465d){super(_0x4e076e),this['id']=_0x10825a(),this['focusTracker']=new _0x33fa41(),this['keystrokes']=new _0x491b26(),this['keystrokes']['set']('Esc',(_0x3c4a23,_0x3aba3d)=>this['fire']('Esc',_0x3aba3d)),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']=Ov(()=>this['_updateHeight']()),this['content']=this['createCollection'](),this['content']['delegate']('arrowup','arrowdown')['to'](this),this['content']['add'](_0x4e465d),this['mainView']=_0x4e465d;const _0x38cdb6=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-annotation-wrapper','ck-rounded-corners',_0x38cdb6['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 _0xaeca81=this['element']['clientHeight'];_0xaeca81&&(this['height']=_0xaeca81);}};const bv=/* #__PURE__ -- @preserve */
_0x5b14e3();var yv=class Annotation extends bv{['view'];['focusableElements'];['_type'];['_target'];constructor({view:_0x4c52b5,target:_0x339296,type:_0x381ecb,isVisible:_0x33b345=!0x0}){super(),this['view']=_0x4c52b5,this['view']['element']||this['view']['render'](),this['_type']=_0x381ecb,this['_target']=_0x339296,Annotation['_assertCorrectTarget'](this['_getNormalizedTarget']()),this['focusableElements']=new _0x23ea50([this['view']['element']],{'idProperty':'_id'}),this['focusableElements']['on']('add',(_0x4adeb7,_0x59e94e)=>{this['view']['focusTracker']['add'](_0x59e94e);}),this['focusableElements']['on']('remove',(_0x29ec18,_0x2cf1a6)=>{this['view']['focusTracker']['remove'](_0x2cf1a6);}),this['set']('isVisible',_0x33b345);}get['type'](){return'function'==typeof this['_type']?this['_type']():this['_type'];}get['innerView'](){return this['view']['mainView'];}get['target'](){const _0x447c16=this['_getNormalizedTarget']();return Annotation['_assertCorrectTarget'](_0x447c16),_0x447c16;}get['targetRect'](){const _0x5b8660=this['target'];if(null===_0x5b8660)return null;if(_0x5b8660 instanceof _0x21a646)return _0x5b8660;const _0x4d72f2=_0x5b8660['filter'](_0x1ccc79=>function(_0x1cbaf0){return!!_0x1cbaf0['offsetParent']||!!_0x1cbaf0['getClientRects']()['item'](0x0);}(_0x1ccc79));return 0x0===_0x4d72f2['length']?null:_0x21a646['getDomElementRects'](_0x4d72f2[0x0])[0x0];}get['isActive'](){return this['view']['isActive'];}set['isActive'](_0x1cf719){this['view']['isActive']=_0x1cf719,this['view']['mainView']['isActive']=_0x1cf719;}['updateTargetRect'](){this['view']['targetRect']=this['targetRect'];}['destroy'](){this['focusableElements']['stopListening'](),this['focusableElements']['clear'](),this['stopListening']();}['refreshVisibility'](){this['isVisible']=!!this['targetRect'];}static['_assertCorrectTarget'](_0x390886){if(!(null===_0x390886||_0x390886 instanceof _0x21a646||Array['isArray'](_0x390886)&&_0x390886['every'](_0xfb5458=>vv(_0xfb5458))))throw new _0x5b5a95('annotation-invalid-target',null,{'target':_0x390886});}['_getNormalizedTarget'](){const _0x1211a0='function'==typeof this['_target']?this['_target']():this['_target'];return vv(_0x1211a0)?[_0x1211a0]:_0x1211a0;}};function vv(_0x1fd17d){return null!==_0x1fd17d&&'object'==typeof _0x1fd17d&&'nodeType'in _0x1fd17d&&0x1===_0x1fd17d['nodeType'];}var _v=class extends _0x23ea50{['_innerViewToAnnotation'];['_viewToAnnotation'];['_focusTracker'];constructor(_0x4d0518=[]){super(),this['_innerViewToAnnotation']=new Map(),this['_viewToAnnotation']=new Map(),this['_focusTracker']=new _0x33fa41(),this['_focusTracker']['on']('change:isFocused',(_0x4930c6,_0x25410b,_0x1adcae)=>{_0x1adcae||this['fire']('blur');});for(const _0x1aabc2 of _0x4d0518)this['add'](_0x1aabc2);}get['isFocused'](){return this['_focusTracker']['isFocused'];}['add'](_0x3b6a2b){if(this['has'](_0x3b6a2b))throw new _0x5b5a95('annotationcollection-duplicated-item',null);this['_innerViewToAnnotation']['set'](_0x3b6a2b['innerView'],_0x3b6a2b),this['_viewToAnnotation']['set'](_0x3b6a2b['view'],_0x3b6a2b);for(const _0x53156d of _0x3b6a2b['focusableElements'])this['_focusTracker']['add'](_0x53156d);if(this['listenTo'](_0x3b6a2b['focusableElements'],'add',(_0x3426da,_0x1d5616)=>{this['_focusTracker']['add'](_0x1d5616);}),this['listenTo'](_0x3b6a2b['focusableElements'],'remove',(_0x1748d9,_0x42049d)=>{this['_focusTracker']['remove'](_0x42049d);}),this['listenTo'](_0x3b6a2b['view']['focusTracker'],'change:isFocused',(_0x148bd1,_0x448575,_0x51a00a)=>{_0x51a00a&&this['fire']('focus',_0x3b6a2b);}),_0x3b6a2b['updateTargetRect'](),this['_areCachedRectsStale']()){for(const _0x4acdf4 of this)_0x4acdf4['updateTargetRect']();}const _0x8ee85=this['_getOrderInContent'](_0x3b6a2b['view']['targetRect']);return super['add'](_0x3b6a2b,_0x8ee85);}['remove'](_0x5f5a1a){if(!this['has'](_0x5f5a1a))throw new _0x5b5a95('annotationcollection-not-existing-item',null);this['stopListening'](_0x5f5a1a['view']['focusTracker']),this['stopListening'](_0x5f5a1a['focusableElements']);for(const _0x710386 of _0x5f5a1a['focusableElements'])this['_focusTracker']['remove'](_0x710386);return this['_viewToAnnotation']['delete'](_0x5f5a1a['view']),this['_innerViewToAnnotation']['delete'](_0x5f5a1a['innerView']),super['remove'](_0x5f5a1a);}['getByInnerView'](_0x385276){return this['_innerViewToAnnotation']['get'](_0x385276);}['getByView'](_0x23876a){return this['_viewToAnnotation']['get'](_0x23876a);}['destroy'](){super['clear'](),this['stopListening'](),this['_innerViewToAnnotation']['clear'](),this['_viewToAnnotation']['clear'](),this['_focusTracker']['destroy']();}['refreshPositioning'](){for(const _0x21dd50 of this)_0x21dd50['updateTargetRect']();this['_sort']();}['_sort'](){const _0x514658=Array['from'](this)['sort']((_0x2c7fce,_0x5c3d2b)=>Tv(_0x2c7fce['view']['targetRect'],_0x5c3d2b['view']['targetRect']));for(let _0x2cecec=_0x514658['length']-0x1;_0x2cecec>0x0;_0x2cecec--){const _0x5a8798=_0x514658[_0x2cecec];_0x2cecec!==this['getIndex'](_0x5a8798)&&(this['remove'](_0x5a8798),this['add'](_0x5a8798));}}['_getOrderInContent'](_0x5506bc){let _0x5b8693=0x0;if(!_0x5506bc)return this['length'];for(const _0x3c4a7a of this){const _0xec7659=_0x3c4a7a['view']['targetRect'];if(_0xec7659){if(Tv(_0x5506bc,_0xec7659)<0x0)return _0x5b8693;_0x5b8693++;}}return _0x5b8693;}['_areCachedRectsStale'](){const _0x77cc7f=this['get'](0x0);if(!_0x77cc7f)return!0x1;const _0x5f4667=_0x77cc7f['view']['targetRect'],_0xed0c07=_0x77cc7f['targetRect'];return!(!_0x5f4667||!_0xed0c07)&&(_0x5f4667['top']!==_0xed0c07['top']||_0x5f4667['left']!==_0xed0c07['left']);}};function Ev({source:_0x283672,target:_0x1ba7ec,filter:_0x26440f}){for(const _0x1bbd8f of _0x283672)_0x26440f(_0x1bbd8f)&&_0x1ba7ec['add'](_0x1bbd8f);_0x1ba7ec['listenTo'](_0x283672,'add',(_0x4b8c7b,_0x1324dc)=>{_0x26440f(_0x1324dc)&&_0x1ba7ec['add'](_0x1324dc);}),_0x1ba7ec['listenTo'](_0x283672,'remove',(_0x401b7c,_0x47484d)=>{_0x1ba7ec['has'](_0x47484d)&&_0x1ba7ec['remove'](_0x47484d);});}function Tv(_0x91b063,_0x2b50e6){if(null===_0x91b063&&null===_0x2b50e6)return 0x0;if(null===_0x91b063)return-0x1;if(null===_0x2b50e6)return 0x1;const _0x1c256c=_0x91b063['top']-_0x2b50e6['top'];return 0x0==_0x1c256c?_0x91b063['left']-_0x2b50e6['left']:_0x1c256c;}var Av=class extends _0x2de7b2{['collection'];['_visibleAnnotations'];static get['pluginName'](){return'Annotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x36e481){if(super(_0x36e481),this['collection']=new _v(),this['_visibleAnnotations']=new _v(),this['set']('activeAnnotations',new Set()),this['_bindAnnotationsToVisibleAnnotations'](),_0x36e481 instanceof _0x181fa1){const _0x5a349d=_0x36e481['locale'];_0x36e481['accessibility']['addKeystrokeInfoGroup']({'id':'annotations','label':Yy(_0x5a349d,'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'),'keystrokes':[{'label':Yy(_0x5a349d,'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'),'keystroke':'Ctrl+Shift+E'},{'label':Yy(_0x5a349d,'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'),'keystroke':'Esc'},{'label':Yy(_0x5a349d,'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'),'keystroke':'Enter'},{'label':Yy(_0x5a349d,'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'),'keystroke':[['Tab'],['Shift+Tab']]},{'label':Yy(_0x5a349d,'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'),'keystroke':['Ctrl+Enter']},{'label':Yy(_0x5a349d,'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'),'keystroke':[['Arrowup'],['Arrowdown']]}]});}this['_setupEnterAnnotationKeystroke'](),this['_setupEscapeAnnotationHandling']();}['add'](_0x3ecf58){this['collection']['add'](_0x3ecf58);}['remove'](_0x26cd6f){this['collection']['remove'](_0x26cd6f),_0x26cd6f['destroy']();}['refreshVisibility'](){for(const _0x1736c4 of this['collection'])_0x1736c4['refreshVisibility']();}['refreshPositioning'](){this['_visibleAnnotations']['refreshPositioning']();}['getByInnerView'](_0x3f78c1){return this['collection']['getByInnerView'](_0x3f78c1);}['deactivateAll'](){this['fire']('_deactivateAllAnnotations');}['destroy'](){for(const _0x58deb0 of this['collection'])_0x58deb0['destroy']();this['_visibleAnnotations']['destroy'](),this['collection']['destroy'](),super['destroy']();}['activate'](_0x45ac52){this['fire']('_activateAnnotation',_0x45ac52);}['createAnnotation'](_0x27f54e){return new yv(_0x27f54e);}['createAnnotationView'](_0xba2944,_0x5eeaf4){return new wv(_0xba2944,_0x5eeaf4);}['_addActiveAnnotation'](_0x1a9526){const _0x5c2215=new Set(this['activeAnnotations']);_0x5c2215['add'](_0x1a9526),this['activeAnnotations']=_0x5c2215;}['_removeActiveAnnotation'](_0x16bcdc){const _0x3f9f7b=new Set(this['activeAnnotations']);_0x3f9f7b['delete'](_0x16bcdc),this['activeAnnotations']=_0x3f9f7b;}['_bindAnnotationsToVisibleAnnotations'](){const _0x508778=this['collection'],_0x55c165=this['_visibleAnnotations'];function _0x24a672(_0x2d7831){const _0x53cc40=_0x2d7831['source'];_0x53cc40['isVisible']&&!_0x55c165['has'](_0x53cc40)?_0x55c165['add'](_0x53cc40):!_0x53cc40['isVisible']&&_0x55c165['has'](_0x53cc40)&&_0x55c165['remove'](_0x53cc40),_0x53cc40['view']['focusTracker']['remove'](_0x53cc40['view']['element']),_0x53cc40['view']['focusTracker']['add'](_0x53cc40['view']['element']);}this['listenTo'](_0x508778,'add',(_0x50142b,_0x1b58b3)=>{_0x1b58b3['isVisible']&&_0x55c165['add'](_0x1b58b3),this['listenTo'](_0x1b58b3,'change:isVisible',_0x24a672);}),this['listenTo'](_0x508778,'remove',(_0x5924ac,_0x13ad0a)=>{_0x55c165['has'](_0x13ad0a)&&_0x55c165['remove'](_0x13ad0a),this['stopListening'](_0x13ad0a,'change:isVisible',_0x24a672);});}['_setupEnterAnnotationKeystroke'](){const _0x5793b5=_0x49f52f=>{_0x49f52f['on']('ready',()=>{_0x49f52f['keystrokes']['set'](Cd,(_0x497daa,_0x55c0ca)=>{const _0x2dd05c=_0x26105c(this['activeAnnotations']['values']());_0x2dd05c&&(_0x2dd05c['view']['focus'](),_0x55c0ca());});});};this['context']instanceof _0x181fa1?_0x5793b5(this['context']):this['context']['editors']&&this['context']['editors']['on']('add',(_0x242017,_0xaa7ca8)=>{_0x5793b5(_0xaa7ca8);});}['_setupEscapeAnnotationHandling'](){const _0x53c7f6=_0x3d9e5f=>{const _0x1f1604=_0x3d9e5f['source'],_0x1eb6ae=[];let _0x4e297c;if(Array['isArray'](_0x1f1604['target'])){_0x4e297c=_0x1f1604['target'][0x0],this['context']instanceof _0x181fa1?_0x1eb6ae['push'](this['context']):this['context']['editors']&&_0x1eb6ae['push'](...this['context']['editors']);for(const _0x5c761f of _0x1eb6ae)for(const _0x10e650 of _0x5c761f['editing']['view']['domRoots']['values']())if(_0x10e650['contains'](_0x4e297c))return void _0x5c761f['editing']['view']['focus']();_0x4e297c['focus']();}};this['listenTo'](this['collection'],'add',(_0x5d3cb0,_0x1bf9d7)=>{this['listenTo'](_0x1bf9d7,'escape',_0x53c7f6,{'priority':'low'});}),this['listenTo'](this['collection'],'remove',(_0x2a34b5,_0x5459b2)=>{this['stopListening'](_0x5459b2,'escape',_0x53c7f6);});}};const Sv=Symbol('noChannel'),Iv={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0},kv=/* #__PURE__ -- @preserve */
_0x5b14e3(),xv=/* #__PURE__ -- @preserve */
_0x5b14e3();var Cv=class extends _0x2de7b2{['_threads'];['_threadToController'];['_viewToController'];static get['requires'](){return[Av,_0x56f92e,ha];}static get['pluginName'](){return'CommentsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2a56f0){super(_0x2a56f0),this['_threads']=new Map(),this['_threadToController']=new Map(),this['_viewToController']=new Map(),this['set']('_readOnlyChannels',new Set()),this['set']('_permissions',new Map());const _0x29aa77=this['context']['config'];_0x29aa77['define']('comments.maxCommentsWhenCollapsed',0x2),_0x29aa77['define']('comments.maxThreadTotalWeight',0x1f4),_0x29aa77['define']('comments.maxCommentCharsWhenCollapsed',0x8c),_0x29aa77['define']('comments.CommentThreadView',dv),_0x29aa77['define']('comments.CommentView',gv),_0x29aa77['get']('comments.editorConfig')||console['warn']('Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.');}['init'](){const _0x53c8bd=this['context']['plugins']['get'](Av);this['set']('activeCommentThread',null),this['on']('addCommentThread',(_0x80e424,_0x3bfb79)=>this['_addCommentThread'](_0x3bfb79)),this['on']('submitCommentThread',(_0x332d91,_0x1b7e9a)=>this['_submitCommentThread'](_0x1b7e9a)),this['on']('resolveCommentThread',(_0x190f0a,_0x36ac43)=>this['_resolveCommentThread'](_0x36ac43)),this['on']('resolveCommentThread',(_0xd58697,_0x5afa94)=>this['_updateActiveAnnotation'](_0x5afa94),{'priority':'lowest'}),this['on']('reopenCommentThread',(_0x227dad,_0x5d060b)=>this['_reopenCommentThread'](_0x5d060b)),this['on']('reopenCommentThread',(_0x4e84c6,_0x304c36)=>this['_updateActiveAnnotation'](_0x304c36),{'priority':'lowest'}),this['on']('removeCommentThread',(_0x51b45e,_0x96c815)=>this['_removeCommentThread'](_0x96c815)),this['on']('updateCommentThread',(_0x5a1855,_0x1b46d6)=>this['_updateCommentThread'](_0x1b46d6)),this['on']('updateCommentThread',(_0x3c6a3a,_0x5e7d04)=>this['_updateActiveAnnotation'](_0x5e7d04),{'priority':'lowest'}),this['on']('addComment',(_0x1990da,_0x505ad5)=>this['_addComment'](_0x505ad5)),this['on']('updateComment',(_0x3356d7,_0x2ee4af)=>this['_updateComment'](_0x2ee4af)),this['on']('removeComment',(_0x395bdc,_0x3d750d)=>this['_removeComment'](_0x3d750d)),this['on']('addComment',(_0x173130,{threadId:_0x5d1ab4,isFromAdapter:_0x522c09})=>{if(_0x522c09)return;const _0x4bfba7=this['getCommentThread'](_0x5d1ab4),_0x2e3f25=_0x4bfba7&&this['_threadToController']['get'](_0x4bfba7);_0x2e3f25&&_0x2e3f25['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['listenTo'](_0x53c8bd,'change:activeAnnotations',(_0x49d4d5,_0x20e07b,_0x5ae73c)=>{const _0x19f35a=Array['from'](_0x5ae73c)['map'](_0x35c15a=>this['_viewToController']['get'](_0x35c15a['innerView']))['filter'](Boolean)[0x0];this['activeCommentThread']=_0x19f35a?_0x19f35a['model']:null;});}set['adapter'](_0x1b7a5b){if(this['_adapter'])throw new _0x5b5a95('commentsrepository-adapter-already-set');this['_adapter']=_0x1b7a5b;}get['adapter'](){return this['_adapter'];}['addCommentThread']({channelId:_0x1fdd13=Sv,threadId:_0x42c9c4=_0x10825a(),comments:_0x2a6117=[],unlinkedAt:_0x5cdc8b=null,resolvedAt:_0x1d7e4f=null,resolvedBy:_0x1be7ae=null,target:_0x11f591=null,context:_0x4cac5a=null,attributes:_0x13d21b={},isResolvable:_0x78a869=!0x0,isSubmitted:_0x209d4e=!0x1,isFromAdapter:_0x5f3ea7=!0x1}={}){return this['fire'](Mv('addCommentThread',_0x1fdd13),{'channelId':_0x1fdd13,'threadId':_0x42c9c4,'comments':_0x2a6117,'unlinkedAt':_0x5cdc8b,'resolvedAt':_0x1d7e4f,'resolvedBy':_0x1be7ae,'target':_0x11f591,'context':_0x4cac5a,'attributes':_0x13d21b,'isFromAdapter':_0x5f3ea7,'isResolvable':_0x78a869,'isSubmitted':_0x209d4e}),this['getCommentThread'](_0x42c9c4);}['openNewCommentThread']({channelId:_0x5c74e2=Sv,threadId:_0x1a9498=_0x10825a(),target:_0x5b2c62,context:_0x4ab334=null,isResolvable:_0x5b8cc7=!0x0}){if(this['_readOnlyChannels']['has'](_0x5c74e2)||this['_readOnlyChannels']['has'](void 0x0))return null;if(!_0x5b2c62)throw new _0x5b5a95('commentsrepository-missing-target');const _0x394dbd=this['addCommentThread']({'channelId':_0x5c74e2,'threadId':_0x1a9498,'target':_0x5b2c62,'context':_0x4ab334,'isResolvable':_0x5b8cc7});if(!_0x394dbd)return null;const _0x4de46b=this['_threadToController']['get'](_0x394dbd),_0x4ba957=_0x4de46b['view']['commentThreadInputView']['commentInputView'],_0x140750=this['context']['plugins']['get'](Av),_0x1120e3=_0x140750['getByInnerView'](_0x4de46b['view']);return _0x140750['activate'](_0x1120e3),_0x4ba957['once']('editorReady',()=>_0x4ba957['focus']()),_0x394dbd;}['hasCommentThread'](_0x489722){if('string'!=typeof _0x489722)throw new _0x5b5a95('commentsrepository-invalid-comment-thread-id');return this['_threads']['has'](_0x489722);}['updateCommentThread']({channelId:_0x537a89=Sv,threadId:_0x586f72,context:_0x2ad0ff,unlinkedAt:_0x2e4469,attributes:_0x3e97d0,isFromAdapter:_0x18439a=!0x1}){return this['fire'](Mv('updateCommentThread',_0x537a89),{'channelId':_0x537a89,'threadId':_0x586f72,'context':_0x2ad0ff,'unlinkedAt':_0x2e4469,'attributes':_0x3e97d0,'isFromAdapter':_0x18439a}),this['getCommentThread'](_0x586f72);}['getCommentThread'](_0x18c80e){if('string'!=typeof _0x18c80e)throw new _0x5b5a95('commentsrepository-invalid-comment-thread-id');return this['_threads']['get'](_0x18c80e);}['fetchCommentThread']({channelId:_0x5a1109,threadId:_0x16c970}={}){const _0x48716f=this['getCommentThread'](_0x16c970);if(_0x48716f)return Promise['resolve'](_0x48716f);if(!this['adapter'])return Promise['resolve'](void 0x0);if('function'!=typeof this['adapter']['getCommentThread'])throw new _0x5b5a95('commentsrepository-missing-thread-and-adapter-method',this['context']);return this['adapter']['getCommentThread']({'channelId':_0x5a1109,'threadId':_0x16c970})['then'](_0x581a5e=>this['hasCommentThread'](_0x16c970)?this['getCommentThread'](_0x16c970):_0x581a5e?this['addCommentThread'](Object['assign']({'isFromAdapter':!0x0,'channelId':_0x5a1109},_0x581a5e)):void 0x0)['catch'](_0x15662d=>{throw console['error'](_0x15662d),new _0x5b5a95('commentsrepository-fetch-comment-thread',this['context']);});}['getCommentThreads']({channelId:_0xb521db,skipNotAttached:_0x449fee=!0x1,skipEmpty:_0x4467d3=!0x1,toJSON:_0x1db09f=!0x1}={}){const _0x1fc68f=[];for(const _0x1cfd4e of this['_threads']['values']())_0xb521db&&_0x1cfd4e['channelId']!==_0xb521db||_0x449fee&&!_0x1cfd4e['isAttached']||_0x4467d3&&0x0===_0x1cfd4e['length']||_0x1fc68f['push'](_0x1cfd4e);return _0x1db09f?_0x1fc68f['map'](_0x5e5d6a=>_0x5e5d6a['toJSON']()):_0x1fc68f;}['getAnnotationForCommentThread'](_0x3e875a){const _0xe44afd=this['_threadToController']['get'](_0x3e875a);return _0xe44afd&&this['context']['plugins']['get'](Av)['getByInnerView'](_0xe44afd['view'])||null;}['getCommentThreadForAnnotation'](_0x25493e){const _0x159ee7=this['_viewToController']['get'](_0x25493e['innerView']);return _0x159ee7?_0x159ee7['model']:null;}['setActiveCommentThread'](_0x152d5f){const _0xcb4f0b=this['context']['plugins']['get'](Av);if(!_0x152d5f)return void(this['activeCommentThread']&&_0xcb4f0b['deactivateAll']());const _0x41e771=this['getCommentThread'](_0x152d5f);if(!_0x41e771)throw new _0x5b5a95('commentsrepository-active-missing-comment-thread',null,{'threadId':_0x152d5f});if(!this['_threadToController']['has'](_0x41e771))throw new _0x5b5a95('commentsrepository-active-not-attached',null,{'threadId':_0x152d5f});const _0x173e60=_0xcb4f0b['getByInnerView'](this['_threadToController']['get'](_0x41e771)['view']);_0xcb4f0b['activate'](_0x173e60);}['switchReadOnly'](_0x4d9a4d,_0x17ddc6){_0x4d9a4d?this['_readOnlyChannels']['add'](_0x17ddc6):this['_readOnlyChannels']['delete'](_0x17ddc6),this['fire']('change:_readOnlyChannels','_readOnlyChannels',this['_readOnlyChannels'],this['_readOnlyChannels']);}['isReadOnly'](_0x5a4f00){return this['_readOnlyChannels']['has'](_0x5a4f00)||this['_readOnlyChannels']['has'](void 0x0);}['createCommentThreadController'](_0x19138b,_0x536033){return new zy(_0x19138b,_0x536033);}['setPermissions'](_0x2df214,_0x4e4da6=Sv){this['_permissions']['set'](_0x4e4da6,_0x2df214),this['fire']('change:_permissions','_permissions',this['_permissions'],this['_permissions']);}['getPermissions'](_0x36ba04=Sv){return this['_permissions']['has'](_0x36ba04)?this['_permissions']['get'](_0x36ba04):Iv;}['_addCommentThread']({channelId:_0x46e29b,threadId:_0x19e58e,comments:_0xce0abf,unlinkedAt:_0x3589af,resolvedAt:_0x522e20,resolvedBy:_0x327090,target:_0x21536a,context:_0x18277b,attributes:_0xcd3619,isFromAdapter:_0x34d4d4,isResolvable:_0x24bea1,isSubmitted:_0x4e6577}){if('string'!=typeof _0x19e58e)throw new _0x5b5a95('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x19e58e});if(this['hasCommentThread'](_0x19e58e))throw new _0x5b5a95('commentsrepository-duplicated-comment-thread-id',null,{'threadId':_0x19e58e});const _0x2d16d0=new Rv(this,{'channelId':_0x46e29b,'id':_0x19e58e,'context':_0x18277b,'attributes':_0xcd3619,'unlinkedAt':_0x3589af,'resolvedAt':_0x522e20,'resolvedBy':_0x327090?this['context']['plugins']['get'](ha)['getUser'](_0x327090):null,'isResolvable':_0x24bea1,'isSubmitted':_0x4e6577||_0x34d4d4});this['_threads']['set'](_0x19e58e,_0x2d16d0);for(const _0x489864 of _0xce0abf)_0x2d16d0['_add'](this['_createNewComment']({'threadId':_0x19e58e,..._0x489864}));return _0x21536a&&_0x2d16d0['attachTo'](_0x21536a),_0x34d4d4||!_0x2d16d0['length']?Promise['resolve']():this['_submitCommentThread']({'channelId':_0x46e29b,'threadId':_0x19e58e});}['_submitCommentThread']({channelId:_0x52ed3c,threadId:_0x5b18aa}){if(!this['hasCommentThread'](_0x5b18aa))throw new _0x5b5a95('commentsrepository-missing-comment-thread',this);const _0x252791=this['getCommentThread'](_0x5b18aa);if(_0x252791['_isSubmitted']=!0x0,!this['adapter']||'function'!=typeof this['adapter']['addCommentThread'])return Promise['resolve']();const {id:_0x538e13,comments:_0x393e07,resolvedAt:_0x69cb79,resolvedBy:_0x3b5284,context:_0x3f2daf,attributes:_0x1516f8}=_0x252791,_0x164919=this['context']['plugins']['get']('PendingActions'),_0x2225c8=_0x164919['add'](Yy(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['addCommentThread']({'channelId':_0x52ed3c,'threadId':_0x538e13,'comments':_0x393e07['map'](_0x27db3a=>_0x27db3a['toJSON']()),'resolvedAt':_0x69cb79,'resolvedBy':_0x3b5284?_0x3b5284['id']:_0x3b5284,'context':_0x3f2daf,'attributes':_0x1516f8})['then'](({comments:_0x357754})=>{_0x164919['remove'](_0x2225c8);for(const _0x2d299a of _0x357754)this['_updateComment']({'channelId':_0x52ed3c,'threadId':_0x5b18aa,'commentId':_0x2d299a['commentId'],'createdAt':_0x2d299a['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x1ba70c=>{throw console['error'](_0x1ba70c),new _0x5b5a95('commentsrepository-add-comment-thread-internal-error',this);});}['_attachCommentThread']({threadId:_0xe101dc,target:_0x81114a}){const _0x291168=this['getCommentThread'](_0xe101dc);if(!_0x291168)throw new _0x5b5a95('commentsrepository-attach-missing-comment-thread',this);const _0x7dc00f=this['context']['plugins']['get']('PendingActions'),_0x4f00cc=this['context']['plugins']['get'](Av),_0x216e65=this['_createCommentThreadView'](_0x291168),_0x5b1fca=new zy(_0x291168,_0x216e65);let _0x4ec27b=null;_0x216e65['on']('change:isDirty',(_0x5b2fb4,_0x340094,_0x3cbc25)=>{_0x3cbc25?_0x4ec27b=_0x7dc00f['add'](Yy(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD')):_0x4ec27b&&(_0x7dc00f['remove'](_0x4ec27b),_0x4ec27b=null);}),this['_threadToController']['set'](_0x291168,_0x5b1fca),this['_viewToController']['set'](_0x216e65,_0x5b1fca);const _0x2f61db=new wv(this['context']['locale'],_0x216e65);_0x2f61db['bind']('length')['to'](_0x216e65),_0x2f61db['bind']('isDirty')['to'](_0x216e65,'isDirty',_0x216e65,'length',(_0x4f6411,_0x4c0867)=>_0x4f6411||!_0x4c0867),_0x2f61db['bind']('isActive')['to'](_0x216e65),_0x2f61db['type']='comment';const _0x365dad=new yv({'view':_0x2f61db,'target':_0x81114a,'type':'comment','isVisible':!_0x291168['archivedAt']&&!!('function'==typeof _0x81114a?_0x81114a():_0x81114a)});return _0x216e65['on']('escape',()=>{_0x365dad['fire']('escape');}),this['_bindAnnotationToEditors'](_0x216e65,_0x365dad),_0x4f00cc['add'](_0x365dad),_0x365dad;}['_bindAnnotationToEditors'](_0x402cb5,_0x3347b8){this['listenTo'](_0x402cb5,'editorReady',(_0x3791ea,_0x433bc9)=>{const _0x440509=_0x433bc9['ui']['view']['body']['bodyCollectionContainer'];_0x3347b8['focusableElements']['add'](_0x440509),this['context']instanceof _0x181fa1&&this['context']['ui']['focusTracker']['add'](_0x440509);},{'priority':'highest'}),this['listenTo'](_0x402cb5,'editorDestroyed',(_0xa104d4,_0x431b13)=>{const _0x581b2d=_0x431b13['ui']['view']['body']['bodyCollectionContainer'];_0x3347b8['focusableElements']['has'](_0x581b2d)&&_0x3347b8['focusableElements']['remove'](_0x581b2d),this['context']instanceof _0x181fa1&&this['context']['ui']['focusTracker']['remove'](_0x581b2d);});}['_unbindEditors'](_0x4ff65a){this['stopListening'](_0x4ff65a,'editorReady'),this['stopListening'](_0x4ff65a,'editorDestroyed');}['_createCommentThreadView'](_0xa40592){const _0x1b9a83=this['context']['plugins']['get'](ha),{config:_0x3b638f,locale:_0x2a52ed}=this['context'],_0xfa3c36=dd(_0x3b638f['get']('locale'),_0x2a52ed);return new(0x0,(_0x3b638f['get']('comments'))['CommentThreadView'])(_0x2a52ed,_0xa40592,_0x1b9a83['me'],{'editorConfig':{..._0x3b638f['get']('comments.editorConfig'),'licenseKey':this['context']['config']['get']('licenseKey')},'copyMarkers':_0x3b638f['get']('comments.copyMarkers'),'maxCommentsWhenCollapsed':_0x3b638f['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x3b638f['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x3b638f['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':_0xfa3c36,'CommentView':_0x3b638f['get']('comments')['CommentView']});}['_resolveCommentThread']({threadId:_0x4d23ac,channelId:_0x5ac687,resolvedAt:_0x5f4da6,resolvedBy:_0x2f2344,isFromAdapter:_0x46676f}){if(!this['hasCommentThread'](_0x4d23ac))throw new _0x5b5a95('commentsrepository-missing-comment-thread',null,{'threadId':_0x4d23ac});const _0x1478a2=this['getCommentThread'](_0x4d23ac);if(_0x1478a2['isResolved'])throw new _0x5b5a95('commentsrepository-resolved-comment-thread',null,{'threadId':_0x4d23ac});const _0x11792b=this['context']['plugins']['get'](ha);if(_0x1478a2['resolvedBy']=_0x11792b['getUser'](_0x2f2344),_0x1478a2['resolvedAt']=_0x5f4da6,_0x46676f||!this['adapter']||'function'!=typeof this['adapter']['resolveCommentThread'])return Promise['resolve']();const _0x515772=this['context']['plugins']['get']('PendingActions'),_0x130b5b=_0x515772['add'](Yy(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['resolveCommentThread']({'channelId':_0x5ac687,'threadId':_0x4d23ac})['then'](({resolvedAt:_0x112ad9,resolvedBy:_0xc81635})=>{_0x515772['remove'](_0x130b5b),_0x1478a2['resolvedBy']['id']!==_0xc81635&&(_0x1478a2['resolvedBy']=_0x11792b['getUser'](_0xc81635)),_0x1478a2['resolvedAt']=_0x112ad9;})['catch'](_0x13c262=>{throw console['error'](_0x13c262),new _0x5b5a95('commentsrepository-resolve-comment-thread-internal-error',this);});}['_reopenCommentThread']({threadId:_0x1f2936,channelId:_0x7e8c4d,isFromAdapter:_0x43b2c8}){if(!this['hasCommentThread'](_0x1f2936))throw new _0x5b5a95('commentsrepository-missing-comment-thread',null,{'threadId':_0x1f2936});const _0x3eee2a=this['getCommentThread'](_0x1f2936);if(!_0x3eee2a['isResolved'])throw new _0x5b5a95('commentsrepository-reopen-comment-thread',null,{'threadId':_0x1f2936});if(_0x3eee2a['resolvedBy']=null,_0x3eee2a['resolvedAt']=null,_0x43b2c8||!this['adapter']||'function'!=typeof this['adapter']['reopenCommentThread'])return Promise['resolve']();const _0x34e586=this['context']['plugins']['get']('PendingActions'),_0xcb3c9f=_0x34e586['add'](Yy(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['reopenCommentThread']({'channelId':_0x7e8c4d,'threadId':_0x1f2936})['then'](()=>_0x34e586['remove'](_0xcb3c9f))['catch'](_0x308032=>{throw console['error'](_0x308032),new _0x5b5a95('commentsrepository-reopen-comment-thread-internal-error',this);});}['_removeCommentThread']({threadId:_0xbd34e9,isFromAdapter:_0xbf2c51}){const _0x11910c=this['getCommentThread'](_0xbd34e9);if(!_0x11910c)throw new _0x5b5a95('commentsrepository-remove-missing-comment-thread',this);if(this['_detachCommentThread'](_0xbd34e9),this['_threads']['delete'](_0xbd34e9),!_0x11910c['isSubmitted']||_0xbf2c51||!this['adapter']||'function'!=typeof this['adapter']['removeCommentThread'])return Promise['resolve']();const _0x52d050=this['context']['plugins']['get']('PendingActions'),{channelId:_0x531e73}=_0x11910c,_0x3333a5=_0x52d050['add'](Yy(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeCommentThread']({'channelId':_0x531e73,'threadId':_0xbd34e9})['then'](()=>_0x52d050['remove'](_0x3333a5))['catch'](_0x5e8b73=>{throw console['error'](_0x5e8b73),new _0x5b5a95('commentsrepository-remove-comment-thread-internal-error',this);});}['_updateCommentThread']({threadId:_0x5ba0ae,unlinkedAt:_0x1d8c08,context:_0x16f3a3,attributes:_0x507988,isFromAdapter:_0x231e91}){if('string'!=typeof _0x5ba0ae)throw new _0x5b5a95('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x5ba0ae});if(!this['hasCommentThread'](_0x5ba0ae))throw new _0x5b5a95('commentsrepository-missing-comment-thread',null,{'threadId':_0x5ba0ae});const _0x1394d7=this['getCommentThread'](_0x5ba0ae);let _0x4fa157=!0x1;if(void 0x0!==_0x16f3a3&&_0x1394d7['context']!==_0x16f3a3&&(_0x1394d7['context']=_0x16f3a3,_0x4fa157=!0x0),void 0x0!==_0x1d8c08&&_0x1394d7['unlinkedAt']!==_0x1d8c08&&(_0x1394d7['unlinkedAt']=_0x1d8c08,_0x4fa157=!0x0),_0x507988&&!qr(_0x507988,_0x1394d7['attributes'])&&(_0x1394d7['attributes']=_0x507988,_0x4fa157=!0x0),!_0x4fa157)return Promise['resolve']();if(!_0x1394d7['isSubmitted']||_0x231e91||!this['adapter']||'function'!=typeof this['adapter']['updateCommentThread'])return Promise['resolve']();const _0x4c91aa=this['context']['plugins']['get']('PendingActions'),{channelId:_0x913813}=_0x1394d7,_0x349acd=_0x4c91aa['add'](Yy(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateCommentThread']({'channelId':_0x913813,'threadId':_0x5ba0ae,'context':_0x16f3a3,'unlinkedAt':_0x1d8c08,'attributes':_0x507988})['then'](()=>_0x4c91aa['remove'](_0x349acd))['catch'](_0x54e595=>{throw console['error'](_0x54e595),new _0x5b5a95('commentsrepository-update-comment-thread-internal-error',this);});}['_detachCommentThread'](_0x147ce8){const _0x54a5d8=this['context']['plugins']['get'](Av),_0xfb124b=this['getCommentThread'](_0x147ce8);if(_0xfb124b['_isAttached']=!0x1,this['_threadToController']['has'](_0xfb124b)){const _0x589707=this['_threadToController']['get'](_0xfb124b),_0x41f3c8=_0x589707['view'],_0x24c006=_0x54a5d8['getByInnerView'](_0x41f3c8);this['_threadToController']['delete'](_0xfb124b),this['_viewToController']['delete'](_0x41f3c8),_0x24c006&&_0x54a5d8['remove'](_0x24c006),_0x589707['destroy'](),_0x41f3c8['destroy']()['then'](()=>{this['_unbindEditors'](_0x41f3c8);});}}['_updateActiveAnnotation']({threadId:_0x2ce2e4,resolvedAt:_0x54a25f,unlinkedAt:_0x3a7140}){const _0x100987=!!_0x54a25f,_0x7fe97e=this['context']['plugins']['get'](Av),_0x499aa4=this['getCommentThread'](_0x2ce2e4);if(this['_threadToController']['has'](_0x499aa4)){const _0x19ca80=this['_threadToController']['get'](_0x499aa4)['view'],_0x403a69=_0x7fe97e['getByInnerView'](_0x19ca80);_0x403a69&&(_0x100987&&_0x7fe97e['_removeActiveAnnotation'](_0x403a69),_0x3a7140?_0x403a69['isVisible']=!0x1:_0x403a69['refreshVisibility']());}}['_getExternalAuthor'](_0x2c91e0){const _0x5961a1=this['context']['plugins']['get'](ha),_0x202cc3=bd('external:'+_0x2c91e0),_0xa80899=_0x5961a1['getUser'](_0x202cc3);return _0xa80899||_0x5961a1['addUser']({'id':_0x202cc3,'name':_0x2c91e0});}['_createNewComment']({threadId:_0x3654aa,commentId:_0x41b01b=_0x10825a(),content:_0x41d72c,authorId:_0x2cd515,createdAt:_0x3835a8,attributes:_0x1eec24}){if('string'!=typeof _0x41b01b)throw new _0x5b5a95('commentsrepository-invalid-commentid');if('string'!=typeof _0x2cd515)throw new _0x5b5a95('commentsrepository-invalid-comment-authorid');if('string'!=typeof _0x41d72c||!_0x41d72c['trim']())throw new _0x5b5a95('commentsrepository-invalid-comment-content');const _0x503b2b=this['context']['plugins']['get'](ha)['getUser'](_0x2cd515);if(!_0x503b2b)throw new _0x5b5a95('commentsrepository-add-comment-user-not-exists',null,{'authorId':_0x2cd515});let _0x5ab61=null,_0x50f824=_0x3835a8;return _0x1eec24?.['@external']&&(_0x5ab61=this['_getExternalAuthor'](_0x1eec24['@external']['authorName']),_0x50f824=new Date(_0x1eec24['@external']['createdAt'])),new Pv(this,{'threadId':_0x3654aa,'id':_0x41b01b,'author':_0x5ab61||_0x503b2b,'creator':_0x503b2b,'content':_0x41d72c,'createdAt':_0x3835a8,'authoredAt':_0x50f824,'attributes':_0x1eec24});}['_addComment'](_0xb53356){let {threadId:_0x61a3c4,content:_0x1489ce,attributes:_0x567aa8,isFromAdapter:_0x1afc55}=_0xb53356;const _0x46c2db=this['getCommentThread'](_0xb53356['threadId']);if(!_0x46c2db)throw new _0x5b5a95('commentsrepository-add-comment-to-missing-comment-thread',this);const _0x38821d=this['_createNewComment'](_0xb53356),{id:_0x540e24}=_0x38821d;if(_0x46c2db['_add'](_0x38821d),_0x1afc55||!this['adapter']||'function'!=typeof this['adapter']['addComment']||!_0x46c2db['isSubmitted'])return Promise['resolve']();const _0x4ffd24=this['context']['plugins']['get']('PendingActions'),{channelId:_0xea0e84}=_0x46c2db,_0x30e9e8=_0x4ffd24['add'](Yy(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return _0x567aa8||(_0x567aa8={}),this['adapter']['addComment']({'channelId':_0xea0e84,'threadId':_0x61a3c4,'commentId':_0x540e24,'content':_0x1489ce,'attributes':_0x567aa8})['then'](_0x49a330=>{_0x4ffd24['remove'](_0x30e9e8),_0x49a330&&this['_updateComment']({'channelId':_0xea0e84,'threadId':_0x61a3c4,'commentId':_0x540e24,'createdAt':_0x49a330['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x330d78=>{throw console['error'](_0x330d78),new _0x5b5a95('commentsrepository-add-comment-internal-error',this);});}['_updateComment']({threadId:_0x4785f6,commentId:_0x292f11,content:_0x3f8383,createdAt:_0x4e77a9,attributes:_0x2f2ab6,isFromAdapter:_0x1503b1}){if(void 0x0!==_0x3f8383&&('string'!=typeof _0x3f8383||!_0x3f8383['trim']()['length']))throw new _0x5b5a95('commentsrepository-update-comment-invalid-content');const _0x5a5058=this['getCommentThread'](_0x4785f6),_0x991838=_0x5a5058['getComment'](_0x292f11);if(!_0x991838)throw new _0x5b5a95('commentsrepository-update-missing-comment',this);let _0x2dfb3f=!0x1;if(_0x3f8383&&_0x3f8383!==_0x991838['content']&&(_0x991838['isEditable']||_0x1503b1)&&(_0x991838['content']=_0x3f8383,_0x2dfb3f=!0x0),_0x4e77a9&&_0x4e77a9!==_0x991838['createdAt']&&(_0x991838['createdAt']=_0x4e77a9,_0x991838['isExternal']||(_0x991838['authoredAt']=_0x4e77a9),_0x2dfb3f=!0x0),_0x2f2ab6&&!qr(_0x2f2ab6,_0x991838['attributes'])&&(_0x991838['attributes']=_0x2f2ab6,_0x2dfb3f=!0x0),!_0x2dfb3f)return Promise['resolve']();if(_0x5a5058['fire']('commentUpdated'),_0x1503b1||!this['adapter']||'function'!=typeof this['adapter']['updateComment'])return Promise['resolve']();const _0x472b81=this['context']['plugins']['get']('PendingActions'),{channelId:_0x268e54}=this['getCommentThread'](_0x991838['threadId']),_0xadf932=_0x472b81['add'](Yy(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateComment']({'channelId':_0x268e54,'threadId':_0x4785f6,'commentId':_0x292f11,'content':_0x3f8383,'attributes':_0x2f2ab6})['then'](()=>_0x472b81['remove'](_0xadf932))['catch'](_0x28f6d8=>{throw console['error'](_0x28f6d8),new _0x5b5a95('commentsrepository-update-comment-internal-error',this);});}['_removeComment']({threadId:_0x2ca47b,commentId:_0xf82003,isFromAdapter:_0x1fbe21}){const _0x322ec3=this['getCommentThread'](_0x2ca47b),_0x46b514=_0x322ec3['getComment'](_0xf82003);if(!_0x46b514)throw new _0x5b5a95('commentsrepository-remove-missing-comment',this);if(_0x322ec3['_remove'](_0x46b514),_0x1fbe21||!this['adapter']||'function'!=typeof this['adapter']['removeComment'])return Promise['resolve']();const _0x540b75=this['context']['plugins']['get']('PendingActions'),{channelId:_0x1854d7}=_0x322ec3,_0x3ceed0=_0x540b75['add'](Yy(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeComment']({'channelId':_0x1854d7,'threadId':_0x2ca47b,'commentId':_0xf82003})['then'](()=>_0x540b75['remove'](_0x3ceed0))['catch'](_0x474c17=>{throw console['error'](_0x474c17),new _0x5b5a95('commentsrepository-remove-comment-internal-error',this);});}},Rv=class extends kv{['channelId'];['id'];['_isAttached'];['_isSubmitted'];['comments'];['_repository'];constructor(_0x3fc4a6,_0x1262dd){super();const _0xb28726=_0x1262dd['isResolvable'];this['channelId']=_0x1262dd['channelId'],this['id']=_0x1262dd['id'],this['comments']=new _0x23ea50(),this['_repository']=_0x3fc4a6,this['_isAttached']=!0x1,this['_isSubmitted']=_0x1262dd['isSubmitted'],this['set']('_hasTargetInContent',!0x0),this['bind']('isReadOnly')['to'](_0x3fc4a6,'_permissions',_0x3fc4a6,'_readOnlyChannels',()=>_0x3fc4a6['isReadOnly'](this['channelId'])),this['bind']('isRemovable')['to'](_0x3fc4a6,'_permissions',()=>_0x3fc4a6['getPermissions'](this['channelId'])['admin']),this['bind']('canComment')['to'](_0x3fc4a6,'_permissions',()=>{const _0x357fc4=_0x3fc4a6['getPermissions'](this['channelId']);return _0x357fc4['write']||_0x357fc4['admin'];}),this['bind']('isResolvable')['to'](_0x3fc4a6,'_permissions',()=>_0xb28726&&_0x3fc4a6['getPermissions'](this['channelId'])['resolve']),this['set']('context',_0x1262dd['context']),this['bind']('archivedAt')['to'](this,'resolvedAt',this,'unlinkedAt',(_0xb08365,_0x3924b1)=>_0xb08365?_0x3924b1?_0xb08365<_0x3924b1?_0xb08365:_0x3924b1:_0xb08365:_0x3924b1),this['set']('unlinkedAt',_0x1262dd['unlinkedAt']||null),this['set']('resolvedAt',_0x1262dd['resolvedAt']||null),this['set']('resolvedBy',_0x1262dd['resolvedBy']||null),this['bind']('isResolved')['to'](this,'resolvedAt',_0x43bdca=>!!_0x43bdca),this['set']('attributes',_0x1262dd['attributes']||{});}get['weight'](){return Array['from'](this['comments'])['reduce']((_0x329239,_0xaf5d15)=>_0x329239+_0xaf5d15['weight'],0x0);}get['length'](){return this['comments']['length'];}get['isAttached'](){return this['_isAttached'];}get['isSubmitted'](){return this['_isSubmitted'];}['submit'](){const {channelId:_0x180b16,id:_0x584561}=this;this['_repository']['fire'](Mv('submitCommentThread',_0x180b16),{'channelId':_0x180b16,'threadId':_0x584561});}['setUnlinkedAt'](_0x4e6110){this['_update']({'unlinkedAt':_0x4e6110});}['resolve']({resolvedAt:_0x9891a6=new Date(),resolvedBy:_0x540965='',isFromAdapter:_0xf69b=!0x1}={}){const _0x5ccf19=this['_repository']['context']['plugins']['get'](ha)['me'],{channelId:_0xf3bc,id:_0x4b3f93}=this;this['_repository']['fire'](Mv('resolveCommentThread',_0xf3bc),{'channelId':_0xf3bc,'threadId':_0x4b3f93,'resolvedAt':_0x9891a6,'resolvedBy':_0x540965||_0x5ccf19['id'],'isFromAdapter':_0xf69b});}['reopen']({isFromAdapter:_0x1e2555=!0x1}={}){const {channelId:_0x2d49b7,id:_0x4dc2df}=this;this['_repository']['fire'](Mv('reopenCommentThread',_0x2d49b7),{'channelId':_0x2d49b7,'threadId':_0x4dc2df,'isFromAdapter':_0x1e2555});}['setContext'](_0xfacbfe){this['context']||this['_update']({'context':_0xfacbfe});}['setAttribute'](_0x52bc37,_0x269aa2){const _0x1b786a=Jr(this['attributes']);Ao(_0x1b786a,_0x52bc37,_0x269aa2),this['_update']({'attributes':_0x1b786a});}['removeAttribute'](_0x3c1e37){const _0xa0ffae=Jr(this['attributes']);fo(_0xa0ffae,_0x3c1e37),this['_update']({'attributes':_0xa0ffae});}['remove']({isFromAdapter:_0x2a5261=!0x1}={}){const {channelId:_0xb15da,id:_0x4a42c1}=this;this['_repository']['fire'](Mv('removeCommentThread',_0xb15da),{'channelId':_0xb15da,'threadId':_0x4a42c1,'isFromAdapter':_0x2a5261});}['attachTo'](_0x23566a){return this['_repository']['_attachCommentThread']({'threadId':this['id'],'target':_0x23566a});}['addComment'](_0x39aae8){const {channelId:_0xb02be1,id:_0x2da6df}=this;this['_repository']['fire'](Mv('addComment',_0xb02be1,_0x2da6df),Object['assign']({'channelId':_0xb02be1,'threadId':_0x2da6df},_0x39aae8));}['getComment'](_0x5a07ea){if('string'!=typeof _0x5a07ea)throw new _0x5b5a95('commentsrepository-get-comment-invalid-id',null,{'commentId':_0x5a07ea});return this['comments']['get'](_0x5a07ea);}['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'](_0xf2eb5f=>_0xf2eb5f['toJSON']()),'attributes':this['attributes']};}['_add'](_0x1a4d74){return this['listenTo'](_0x1a4d74,'change:authoredAt',()=>{const _0x3cbee8=this['_findOptimalIndex'](_0x1a4d74),_0x100c31=this['comments'];_0x3cbee8-0x1!=_0x100c31['getIndex'](_0x1a4d74)&&_0x3cbee8+0x1!=_0x100c31['getIndex'](_0x1a4d74)&&(this['_remove'](_0x1a4d74),this['_add'](_0x1a4d74));}),this['comments']['add'](_0x1a4d74,this['_findOptimalIndex'](_0x1a4d74));}['_update'](_0x5eced1){const {channelId:_0x49ee87,id:_0x45591a}=this;this['_repository']['fire'](Mv('updateCommentThread',_0x49ee87),{..._0x5eced1,'channelId':_0x49ee87,'threadId':_0x45591a});}['_remove'](_0x4ea17e){return this['stopListening'](_0x4ea17e),_0x4ea17e['destroy'](),this['comments']['remove'](_0x4ea17e);}['_findOptimalIndex'](_0x53a160){const _0x3b6b1e=this['comments']['find'](_0x310c46=>new Date(_0x310c46['authoredAt'])['getTime']()>new Date(_0x53a160['authoredAt'])['getTime']());return _0x3b6b1e?this['comments']['getIndex'](_0x3b6b1e):this['length'];}},Pv=class extends xv{['id'];['threadId'];['author'];['creator'];['createdAt'];['_repository'];constructor(_0x10d37f,_0x552f03){super();const _0x117e3a=_0x10d37f['context']['plugins']['get'](ha)['me'],_0x4b4e75=_0x10d37f['getCommentThread'](_0x552f03['threadId']),_0xd2d01c=0x0===_0x4b4e75['comments']['length'],_0x24cb35=_0x117e3a===_0x552f03['author'];this['id']=_0x552f03['id'],this['threadId']=_0x552f03['threadId'],this['author']=_0x552f03['author'],this['creator']=_0x552f03['creator'],this['set']('content',_0x552f03['content']),this['createdAt']=_0x552f03['createdAt']||new Date(),this['set']('authoredAt',_0x552f03['authoredAt']||new Date()),this['bind']('resolvedAt')['to'](_0x4b4e75,'resolvedAt'),this['set']('attributes',_0x552f03['attributes']||{}),this['bind']('isEditable')['to'](_0x10d37f,'_permissions',()=>{const _0x898621=_0x10d37f['getPermissions'](_0x4b4e75['channelId'])['write'],_0x1cd2cd=_0x10d37f['getPermissions'](_0x4b4e75['channelId'])['modifyAll'];return _0x24cb35&&_0x898621||!_0x24cb35&&_0x1cd2cd;}),this['bind']('isRemovable')['to'](_0x4b4e75,'isRemovable',_0x10d37f,'_permissions',_0x3d99d1=>{const _0x2a0036=_0x10d37f['getPermissions'](_0x4b4e75['channelId'])['write'],_0x46df83=_0x10d37f['getPermissions'](_0x4b4e75['channelId'])['modifyAll'];return _0x24cb35&&_0x2a0036||_0x3d99d1&&_0xd2d01c||!_0x24cb35&&_0x46df83&&!_0xd2d01c;}),this['bind']('isReadOnly')['to'](_0x4b4e75,'isReadOnly'),this['_repository']=_0x10d37f;}get['isExternal'](){return Boolean(this['attributes']&&this['attributes']['@external']);}get['weight'](){return Math['max'](function(_0x431ed9){const _0x39ae99=document['createElement']('div');return _0x39ae99['innerHTML']=_0x431ed9,_0x39ae99['textContent']['length'];}(this['content']),0xc8);}['update'](_0x1ec266){const {threadId:_0x38e714,id:_0x3cce33}=this;if(!this['_repository']['hasCommentThread'](_0x38e714))throw new _0x5b5a95('commentsrepository-update-comment-missing-comment-thread',this);const {channelId:_0x1bcc3d}=this['_repository']['getCommentThread'](_0x38e714);this['_repository']['fire'](Mv('updateComment',_0x1bcc3d,_0x38e714),{'channelId':_0x1bcc3d,'threadId':_0x38e714,'commentId':_0x3cce33,..._0x1ec266});}['setAttribute'](_0x3cb27c,_0x3ef341){const _0x5122b1=Jr(this['attributes']);Ao(_0x5122b1,_0x3cb27c,_0x3ef341),this['update']({'attributes':_0x5122b1});}['removeAttribute'](_0x5eed5a){const _0x34f647=Jr(this['attributes']);fo(_0x34f647,_0x5eed5a),this['update']({'attributes':_0x34f647});}['remove'](_0x2696a3={}){if(!_0x2696a3['isFromAdapter']&&!this['isRemovable'])return;const {threadId:_0x57939f,id:_0x2b6bc2}=this;if(!this['_repository']['hasCommentThread'](_0x57939f))throw new _0x5b5a95('commentsrepository-remove-comment-missing-comment-thread',this);const {channelId:_0x1a1c47}=this['_repository']['getCommentThread'](_0x57939f);this['_repository']['fire'](Mv('removeComment',_0x1a1c47,_0x57939f),{'channelId':_0x1a1c47,'threadId':_0x57939f,'commentId':_0x2b6bc2,..._0x2696a3});}['toJSON'](){return{'commentId':this['id'],'content':this['content'],'createdAt':this['createdAt'],'authorId':this['creator']['id'],'attributes':this['attributes']};}['destroy'](){this['stopListening']();}};function Mv(_0x3f2174,..._0x1384ec){for(const _0x5d627b of _0x1384ec)void 0x0!==_0x5d627b&&(_0x3f2174+=':'+String(_0x5d627b));return _0x3f2174;}var Nv=class extends _0x32be70{constructor(_0x2da4cf){super(_0x2da4cf),this['set']('hasContent',!0x1);}['refresh'](){const _0x9b5dfd=this['editor']['model']['document']['selection'];this['isEnabled']=!0x0,this['hasContent']=!0x1;for(const _0xbd6d9b of _0x9b5dfd['getRanges']())if(this['_hasContent'](_0xbd6d9b))return void(this['hasContent']=!0x0);}['execute']({threadId:_0x418adc=_0x10825a(),ranges:_0x186115,comment:_0x5ad3f2}={}){const _0x23ecd1=this['editor']['model'],_0x282527=_0x186115??Array['from'](_0x23ecd1['document']['selection']['getRanges']()),_0x575e0e=[];for(const _0x35d9b1 of _0x282527)this['_hasContent'](_0x35d9b1)&&_0x575e0e['push'](this['_trimToContent'](_0x35d9b1));if(!_0x575e0e['length'])throw new _0x5b5a95('addcommentthreadcommand-incorrect-ranges',null);_0x5ad3f2&&this['_createCommentThread'](_0x418adc,_0x5ad3f2),this['_createMarkersFromRanges'](_0x418adc,_0x575e0e,!!_0x5ad3f2);}['_createMarkersFromRanges'](_0x140c39,_0x1d5188,_0x15f261){this['editor']['model']['change'](_0xf380ea=>{for(const _0x492902 of _0x1d5188){const _0x423757='comment:'+_0x140c39+':'+_0x10825a()['substr'](0x1,0x5);_0xf380ea['addMarker'](_0x423757,{'range':_0x492902,'usingOperation':_0x15f261,'affectsData':_0x15f261});}});}['_createCommentThread'](_0x4df524,_0x4c17bc){const _0x53ad35=this['editor']['plugins']['get']('CommentsRepository'),_0x4023cb=this['editor']['config']['get']('collaboration.channelId'),_0x298c30=this['editor']['plugins']['get']('Users')['me'];if(!_0x298c30)throw new _0x5b5a95('addcommentthreadcommand-user-not-found',null);_0x53ad35['addCommentThread']({'threadId':_0x4df524,'channelId':_0x4023cb,'comments':[{'authorId':_0x298c30['id'],'content':_0x4c17bc,'createdAt':new Date(),'attributes':{}}]});}['_hasContent'](_0x250313){for(const _0x41b392 of _0x250313['getItems']())if(this['_itemIsContent'](_0x41b392))return!0x0;return!0x1;}['_itemIsContent'](_0x163d7c){return _0x163d7c['is']('$textProxy')||this['editor']['model']['schema']['isObject'](_0x163d7c)&&!_0x163d7c['is']('element','tableCell');}['_trimToContent'](_0x5e434b){const _0x302793=_0x1d495b=>!this['_itemIsContent'](_0x1d495b['item']),_0x1fdf85=_0x5e434b['start']['getLastMatchingPosition'](_0x302793),_0x20a621=_0x5e434b['end']['getLastMatchingPosition'](_0x302793,{'direction':'backward'});return this['editor']['model']['createRange'](_0x1fdf85,_0x20a621);}},Lv=class extends _0x36b920{['_dataCollectors'];['_editorAnnotations'];static get['requires'](){return[Av];}static get['pluginName'](){return'EditorAnnotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x57c32a){super(_0x57c32a),this['_dataCollectors']=new Set(),this['_editorAnnotations']=new Set();}['init'](){const _0xdb5dcf=this['editor'],_0x290085=_0xdb5dcf['model']['document']['selection'],_0x3caa53=Or(()=>this['refreshSelectedViews'](),0xa);_0x290085['on']('change:range',(_0x42c087,_0xf36e7)=>{_0xf36e7['directChange']&&(_0x3caa53['cancel'](),this['refreshSelectedViews']());}),this['listenTo'](_0xdb5dcf['editing']['view']['document'],'change:isFocused',(_0x3ceaeb,_0x2e306b,_0x170e08)=>{_0x170e08&&_0x3caa53();}),this['listenTo'](_0xdb5dcf['ui']['focusTracker'],'change:isFocused',(_0x5c1caa,_0x56acc1,_0x323301)=>{_0x323301||this['fire']('blur',{'isAnnotationTracked':_0x23464f=>this['_editorAnnotationsData']['has'](_0x23464f['innerView'])});}),this['listenTo'](this['editor']['ui'],'update',()=>this['fire']('uiUpdate'));}['registerAnnotation'](_0x276181){if(this['_editorAnnotations']['has'](_0x276181['view']))return;this['_editorAnnotations']['add'](_0x276181['view']),this['editor']['ui']['focusTracker']['add'](_0x276181['view']['element']);const _0x145688=this['editor']['plugins']['get'](Av);this['listenTo'](_0x145688['collection'],'remove',(_0x269d90,_0x304e4b)=>{this['editor']['ui']['focusTracker']['remove'](_0x304e4b['view']['element']),this['_editorAnnotations']['delete'](_0x304e4b['view']);});}['hasDomSelection'](){return this['editor']['editing']['view']['hasDomSelection'];}['addSourceCollector'](_0x28e8c3){if('function'!=typeof _0x28e8c3)throw new _0x5b5a95('editorannotations-invalid-source-callback');this['_dataCollectors']['add'](_0x28e8c3);}['refreshSelectedViews'](){this['fire']('refresh');}['getOrderedSelectedAnnotations']({activeAnnotation:_0x40e68e,annotations:_0x489efb}){const _0x32c755=[],_0x27570f=this['editor']['model']['document']['selection'],_0x20a8e6=Array['from'](_0x27570f['getRanges']());for(const [_0x3bea92,_0x2dfc32]of this['_editorAnnotationsData']){const _0x5cd92a=_0x4386f9(_0x2dfc32),_0x57a996=_0x489efb['getByInnerView'](_0x3bea92);_0x5cd92a&&_0x57a996&&_0x32c755['push']({'annotation':_0x57a996,'range':_0x5cd92a});}function _0x4386f9(_0x1dbfd0){for(const _0x1738cb of _0x1dbfd0)for(const _0x50c2d7 of _0x20a8e6)if(_0x1738cb['containsRange'](_0x50c2d7,!_0x27570f['isCollapsed']))return _0x1738cb;return null;}return _0x32c755['sort']((_0x5e0b6e,_0x1d1b16)=>{const _0x4d1525=_0x5e0b6e['range'],_0x21fd38=_0x1d1b16['range'];if(!_0x4d1525['isEqual'](_0x21fd38)){if(_0x4d1525['containsRange'](_0x21fd38,!0x0))return 0x1;if(_0x21fd38['containsRange'](_0x4d1525,!0x0))return-0x1;}return _0x5e0b6e['annotation']==_0x40e68e?-0x1:_0x1d1b16['annotation']==_0x40e68e?0x1:0x0;})['map'](_0x330769=>_0x330769['annotation']);}get['_editorAnnotationsData'](){const _0x2c781a=new Map();for(const _0x14e1c5 of Array['from'](this['_dataCollectors']))for(const [_0x3db81a,_0x2cf92a]of _0x14e1c5())_0x2c781a['set'](_0x3db81a,_0x2cf92a);return _0x2c781a;}},$v=class extends _0x36b920{['afterInit'](){const _0x23dc61=this['editor'];_0x23dc61['plugins']['has']('RestrictedEditingModeEditing')&&_0x23dc61['plugins']['get']('RestrictedEditingModeEditing')['enableCommand']('addCommentThread');}},Dv=class extends _0x36b920{constructor(_0x30653d){super(_0x30653d),this['editor']['config']['define']('importWord.formatting.comments','basic');}['afterInit'](){const _0x5e98fd=this['editor'],_0x47cf03=_0x5e98fd['commands']['get']('importWord'),_0xfa068c=_0x5e98fd['plugins']['get'](ha);_0x47cf03&&(_0x47cf03['on']('execute',(_0x4472f2,[,_0x15d278])=>{_0x15d278['collaboration_features']={'comments':!0x0,'user_id':_0xfa068c['me']['id']};},{'priority':_0x38a185['high']+0xa}),this['listenTo'](_0x47cf03,'dataInsert',this['_handleImportedData']));}['_handleImportedData'](_0x986660,_0x182a49){const {comment_threads:_0x373cbe}=_0x182a49;_0x373cbe&&_0x373cbe['forEach'](({thread_id:_0x399d72,comments:_0x33d50d,is_resolved:_0x4cd739})=>{const _0x2b23f9=new Date(),_0x2d5637=_0x33d50d['map'](({author:_0x2413ab,content:_0x33d4fe,created_at:_0x7dc8bd})=>({'content':_0x33d4fe,'authorId':this['editor']['plugins']['get'](ha)['me']['id'],'createdAt':_0x2b23f9,'attributes':{'@external':{'authorName':_0x2413ab,'createdAt':_0x7dc8bd?new Date(_0x7dc8bd):new Date(),'source':'importWord'}}})),_0x4b5851=this['editor']['config']['get']('collaboration.channelId');this['editor']['plugins']['get'](Cv)['addCommentThread']({'channelId':_0x4b5851,'threadId':_0x399d72,'comments':_0x2d5637,'resolvedAt':_0x4cd739?_0x2b23f9:null});});}},Qv=class extends _0x36b920{constructor(_0x4bb988){super(_0x4bb988),this['editor']['config']['define']('comments.copyMarkers','default');}static get['requires'](){return[_0x30963e,_0xa80fd9];}['afterInit'](){const _0x2ec8d9=this['editor']['plugins']['get']('ClipboardPipeline');this['_registerMarkerInClipboardPipeline'](),this['listenTo'](_0x2ec8d9,'contentInsertion',(_0x449e90,_0x75fbf6)=>this['_removeMarkersWithoutThreads'](_0x75fbf6['content']['markers']),{'priority':'highest'});}['_removeMarkersWithoutThreads'](_0x487ece){if(!this['editor']['plugins']['has']('CommentsRepository'))return _0x487ece;const _0x52c5ee=this['editor']['plugins']['get']('CommentsRepository');for(const _0x3a3eb6 of _0x487ece['keys']()){const [_0x472dcc,_0xf24d0b]=_0x3a3eb6['split'](':');'comment'!=_0x472dcc||_0x52c5ee['hasCommentThread'](_0xf24d0b)||_0x487ece['delete'](_0x3a3eb6);}return _0x487ece;}['_registerMarkerInClipboardPipeline'](){const _0x682932=this['editor']['plugins']['get']('ClipboardMarkersUtils'),_0x20ae70=this['_mapCommentsCopyConfigToRegisterConfiguration'](this['editor']['config']['get']('comments.copyMarkers'));_0x20ae70&&_0x682932['_registerMarkerToCopy']('comment',_0x20ae70);}['_mapCommentsCopyConfigToRegisterConfiguration'](_0x2f9c48){switch(_0x2f9c48){case'always':return{'allowedActions':'all','copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case'default':return{'allowedActions':['cut','dragstart'],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};default:return null;}}};function jv(_0x59f2a7){const _0x4b6d74=_0x59f2a7['split'](':');return{'group':_0x4b6d74[0x0],'id':_0x4b6d74[0x1],'part':_0x4b6d74[0x2]};}var Uv=class extends _0x36b920{['init'](){this['overrideMarkerConverters'](),this['overrideHorizontalRuleConverter'](),this['overrideImageInlineConverter'](),this['overrideMediaEmbedConverter']();}['overrideMarkerConverters'](){this['editor']['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'comment','view':(_0x4caf1a,_0x2d34fa)=>{if(!_0x2d34fa['options']['showCommentHighlights'])return null;if(_0x2d34fa['options']['ignoreResolvedComments']){const {id:_0x540273}=jv(_0x4caf1a['markerName']);if(this['editor']['plugins']['get'](Cv)['getCommentThread'](_0x540273)?.['isResolved']&&_0x4caf1a['item'])return _0x2d34fa['consumable']['consume'](_0x4caf1a['item'],'addMarker:'+_0x4caf1a['markerName']),_0x2d34fa['consumable']['consume'](_0x4caf1a['item'],'removeMarker:'+_0x4caf1a['markerName']),null;}return{'classes':['ck-comment-marker']};}}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x1b6105=>{_0x1b6105['on']('addMarker:comment',(_0x27c604,_0x410f1f,_0x4b18fe)=>{if(!_0x4b18fe['options']['showCommentHighlights'])return;const _0x109bb4=_0x410f1f['item'];if(!_0x109bb4)return;const _0x2278bf=_0x4b18fe['mapper']['toViewElement'](_0x109bb4);this['editor']['model']['schema']['isObject'](_0x109bb4)&&_0x2278bf&&!_0x2278bf['getCustomProperty']('widget')&&_0x2278bf['is']('containerElement')&&_0x3c4b67(_0x2278bf,_0x4b18fe['writer']);},{'priority':'high'});});}['overrideHorizontalRuleConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x3cbdd3,{writer:_0x14acc7,options:_0x15a587})=>{if(!_0x15a587['showCommentHighlights'])return null;const _0x1fa644=_0x14acc7['createContainerElement']('div'),_0x660385=_0x14acc7['createEmptyElement']('hr');return _0x14acc7['addClass']('ck-horizontal-line',_0x1fa644),_0x14acc7['insert'](_0x14acc7['createPositionAt'](_0x1fa644,0x0),_0x660385),_0x1fa644;},'converterPriority':'high'});}['overrideImageInlineConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'imageInline','view':(_0x37131a,{writer:_0x3b457a,options:_0x4bbf41})=>{if(!_0x4bbf41['showCommentHighlights'])return null;const _0xa05f5c=_0x3b457a['createContainerElement']('span'),_0x4f2e41=_0x3b457a['createEmptyElement']('img');return _0x3b457a['addClass']('image-inline',_0xa05f5c),_0x3b457a['insert'](_0x3b457a['createPositionAt'](_0xa05f5c,0x0),_0x4f2e41),_0xa05f5c;},'converterPriority':'high'});}['overrideMediaEmbedConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x139f68,{writer:_0x24d62b,options:_0x319efb})=>{if(_0x319efb['showCommentHighlights'])return _0x24d62b['createEmptyElement']('div');},'converterPriority':'high'}),this['editor']['data']['downcastDispatcher']['on']('attribute:url:media',(_0x5b53cd,_0x5cc574,_0x225b73)=>{_0x225b73['options']['showCommentHighlights']&&_0x5b53cd['stop']();},{'priority':'high'});}},Vv=class extends _0x36b920{static get['requires'](){return[Cv,Lv,ha,$v,Dv,Qv,Uv];}static get['pluginName'](){return'CommentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x537a7c){super(_0x537a7c),this['set']('isThreadsLoadingPaused',!0x0),_0x537a7c['data']['once']('ready',()=>this['isThreadsLoadingPaused']=!0x1),this['set']('activeMarker',null),this['on']('change:activeMarker',(_0xc5e7b6,_0x2d41ac,_0x4245c6,_0x58c34f)=>{const _0x302de8=_0x537a7c['plugins']['get'](Cv),_0x10b230=_0x4245c6?jv(_0x4245c6)['id']:null;_0x537a7c['model']['change'](()=>{if(_0x10b230){const _0x56e086=this['getAllMarkersForId'](_0x10b230);for(const _0x17c00f of _0x56e086)_0x537a7c['editing']['reconvertMarker'](_0x17c00f);}if(_0x58c34f){const {id:_0x40bef1}=jv(_0x58c34f),_0x3195d7=_0x302de8['getCommentThread'](_0x40bef1);if(_0x3195d7&&_0x3195d7['unlinkedAt'])return;if(_0x3195d7&&!_0x3195d7['isAttached'])return;const _0x179ba8=this['getAllMarkersForId'](_0x40bef1);for(const _0x2b2bc8 of _0x179ba8)_0x537a7c['editing']['reconvertMarker'](_0x2b2bc8);}}),_0x10b230&&this['scrollToThreadMarker'](_0x10b230);}),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x5f5a21=this['editor'],_0x5d4c06=_0x5f5a21['plugins']['get'](Cv),_0x24fb02=_0x5f5a21['config']['get']('collaboration.channelId'),_0x6e876f=_0x5d4c06['getCommentThreads']()['filter'](_0x3bdd8f=>_0x3bdd8f['channelId']!==_0x24fb02);_0x5f5a21['commands']['add']('addCommentThread',new Nv(_0x5f5a21)),this['listenTo'](_0x5f5a21,'change:isReadOnly',(_0x21a2a6,_0x46a56c,_0x1f601a)=>{_0x5d4c06['switchReadOnly'](_0x1f601a,_0x5f5a21['config']['get']('collaboration.channelId'));}),this['listenTo'](_0x5d4c06,Bv('addCommentThread',_0x24fb02),(_0x40d05a,{threadId:_0x5cdba7})=>{this['editor']['plugins']['get'](Cv)['getCommentThread'](_0x5cdba7)?.['unlinkedAt']&&this['_attachArchivedThread'](_0x5cdba7);}),this['listenTo'](_0x5d4c06,Bv('removeCommentThread',_0x24fb02),(_0x51383d,{threadId:_0x2a14e7})=>{_0x5f5a21['model']['enqueueChange']({'isUndoable':!0x1},_0x181af3=>{const _0x3be1b6=this['getAllMarkersForId'](_0x2a14e7);for(const _0x365f84 of _0x3be1b6)_0x181af3['removeMarker'](_0x365f84);});}),this['listenTo'](_0x5d4c06,Bv('resolveCommentThread',_0x24fb02),(_0x3efa4b,{threadId:_0xec2b47})=>{this['_reconvertMarkers'](_0xec2b47);const _0xf5cd86=this['editor']['plugins']['get'](Av);(this['editor']['editing']['view']['hasDomSelection']||_0xf5cd86['collection']['isFocused'])&&(this['editor']['plugins']['get'](Cv)['getCommentThread'](_0xec2b47)['unlinkedAt']||this['editor']['editing']['view']['focus']());},{'priority':'low'}),this['listenTo'](_0x5d4c06,Bv('reopenCommentThread',_0x24fb02),(_0x134722,{threadId:_0x4d5a3b})=>{this['_reconvertMarkers'](_0x4d5a3b);},{'priority':'low'}),this['listenTo'](_0x5d4c06,Bv('addComment',_0x24fb02),(_0xc5ae88,{threadId:_0x21917f,isFromAdapter:_0xa235a6})=>{const _0x2a5c47=this['getAllMarkersForId'](_0x21917f);!_0xa235a6&&0x0!=_0x2a5c47['length']&&_0x5d4c06['hasCommentThread'](_0x21917f)&&0x1===_0x5d4c06['getCommentThread'](_0x21917f)['length']&&_0x5f5a21['model']['enqueueChange']({'isUndoable':!0x1},_0x547cb7=>{for(const _0x2df185 of _0x2a5c47)_0x547cb7['updateMarker'](_0x2df185,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':'low'}),this['_initializeMarkerConverters'](),this['_handleMarkerAddAndRemove'](),this['_handleInitialThreads'](_0x6e876f);}['afterInit'](){!async function(_0x1eae98){const _0x1ebe4c='KpOBJGNSEgqCyfVF1kZ8lbnRjM7eIzAsDQHw9aThu6rcYi05UmPL4d3X2Wotvx',_0x314e6b=0x78fc0,_0x38ce33=window['Date']['now'](),_0xc05651=_0x1eae98['editor'],_0x2ef43d=new window['Promise'](_0x42d048=>{_0xc05651['once']('ready',_0x42d048);}),_0x16bc9f={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x3ff45b=_0xc05651['config']['get']('licenseKey');async function _0x1f345d(){let _0x4b1dbd,_0x84ca8e=null,_0x4026ad=null;try{return'GPL'==_0x3ff45b?'NotAllowed':(_0x4b1dbd=_0x5bf38e(),_0x4b1dbd?(_0x4b1dbd['usageEndpoint']&&(_0x4026ad=_0x30b6f7(_0x4b1dbd['usageEndpoint'],_0x4b1dbd['jti'])),await _0x1e6297()?_0x17ecc0()?_0x3db9d1()?'Expired':_0x1bd69a()?('evaluation'==_0x4b1dbd['licenseType']&&(_0x84ca8e=_0x32e3e0('EvaluationLimit')),await _0x10c9d6()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x3db9d1(){const _0x2573d6=['evaluation','trial']['includes'](_0x4b1dbd['licenseType'])?_0x38ce33/0x3e8:0xe10*_0x314e6b;return _0x4b1dbd['exp']<_0x2573d6;}function _0x17ecc0(){const _0x1db192=_0x4b1dbd['features'];if(!_0x1db192)return!0x1;if(_0x1db192['includes']('*'))return!0x0;if(_0x1db192['includes']('CMT'))return!0x0;if(_0x1db192['includes']('TRILIUM')&&_0x476735())return!0x0;if(_0x1db192['includes']('RCMT')){if(_0x7774bd())return!0x0;if(_0x2a2e59()||_0x10a6a9())return!0x0;}return!0x1;}function _0x1bd69a(){const _0x689d9a=_0x4b1dbd['licensedHosts'];if(!_0x689d9a||0x0==_0x689d9a['length'])return!0x0;const {hostname:_0x21c72f}=new URL(window['location']['href']);if(_0x689d9a['includes'](_0x21c72f))return!0x0;const _0x4ce680=_0x21c72f['split']('.');return _0x689d9a['filter'](_0x50534a=>_0x50534a['includes']('*'))['map'](_0x43fd86=>_0x43fd86['split']('.'))['filter'](_0x17df63=>_0x17df63['length']<=_0x4ce680['length'])['map'](_0x4c6525=>Array(_0x4ce680['length']-_0x4c6525['length'])['fill']('*'===_0x4c6525[0x0]?'*':'')['concat'](_0x4c6525))['some'](_0x569046=>_0x4ce680['every']((_0x3491df,_0x38bfd5)=>_0x569046[_0x38bfd5]===_0x3491df||'*'===_0x569046[_0x38bfd5]));}function _0x10c9d6(){return _0x84ca8e&&_0x4026ad?new window['Promise']((_0x5d47ff,_0x3805bc)=>{_0x84ca8e['then'](_0x5d47ff,_0x3805bc),_0x4026ad['then'](_0x39c466=>{'Valid'!=_0x39c466&&_0x5d47ff(_0x39c466);},_0x3805bc);}):_0x84ca8e||_0x4026ad||'Valid';}}function _0x30b6f7(_0x30c001,_0x37786d){return new window['Promise'](_0x3ce9a2=>{if(_0x4f41bd())return _0x3ce9a2('Valid');_0x4f7015(),_0xc05651['decorate']('_sendUsageRequest');let _0x1d9ccf=!0x1;const _0x4c60f8=_0x10825a();function _0x445764(_0x1c0899){return!!_0x1c0899&&('object'==typeof _0x1c0899||'function'==typeof _0x1c0899)&&'function'==typeof _0x1c0899['then']&&'function'==typeof _0x1c0899['catch'];}function _0x377f69(_0x92b6b4){_0x552ea4(_0x92b6b4)['then'](_0x2adb57=>_0x2adb57&&'ok'==_0x2adb57['status']?_0xe626bd(_0x374bb0(_0x4c60f8+_0x37786d))!=_0x2adb57['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x4fde31=>(_0x26bb81(),_0x4fde31),()=>{const _0x412473=_0x56b364();return null==_0x412473?(_0x26bb81(),'Valid'):_0x38ce33-_0x412473>0x240c8400?'UsageLimit':'Valid';})['then'](_0x3ce9a2)['catch'](()=>{_0x3ce9a2('UsageLimit');});const _0x27b1af=0x36ee80;function _0x26bb81(){const _0x5752ea='llct-'+_0xe626bd(_0x374bb0(_0x30c001)),_0x54916f=_0x38f369(_0xe626bd(window['Math']['ceil'](_0x38ce33/_0x27b1af)));window['localStorage']['setItem'](_0x5752ea,_0x54916f);}function _0x56b364(){const _0x36573e='llct-'+_0xe626bd(_0x374bb0(_0x30c001)),_0x4cdd3e=window['localStorage']['getItem'](_0x36573e);return _0x4cdd3e?window['parseInt'](_0x38f369(_0x4cdd3e),0x10)*_0x27b1af:null;}function _0x552ea4(_0x38ec2b){return new window['Promise']((_0x4a5689,_0x1cd20b)=>{_0x38ec2b['then'](_0x4a5689,_0x1cd20b),window['setTimeout'](_0x1cd20b,0x1d4c0);});}}_0xc05651['on']('_sendUsageRequest',(_0x429a52,_0x399adc)=>{if(_0x399adc[0x0]!=_0x30c001)return _0x3ce9a2('UsageLimit');_0x399adc[0x1]={..._0x399adc[0x1],'requestId':_0x4c60f8};},{'priority':'high'}),_0xc05651['on']('_sendUsageRequest',_0x145570=>{_0x445764(_0x145570['return'])&&(_0x1d9ccf=!0x0,_0x377f69(_0x145570['return']));},{'priority':'low'}),_0x2ef43d['then'](()=>{_0x1d9ccf||_0x3ce9a2('UsageLimit');});});function _0x4f41bd(){return'auto'==_0xc05651['editing']['view']['_overlayModeHint'];}function _0x4f7015(){_0xc05651['editing']['view']['_overlayModeHint']='auto';}}function _0x32e3e0(_0x5d9d13){const _0x1fa5ca=[new window['Promise'](_0x1a0a3a=>setTimeout(_0x1a0a3a,0x93ecc)),_0x2ef43d['then'](()=>new window['Promise'](_0x13cede=>{let _0x44f2f8=0x0;_0xc05651['model']['on']('applyOperation',(_0x190ddb,_0x5c61a1)=>{_0x5c61a1[0x0]['isDocumentOperation']&&_0x44f2f8++,0x5e8==_0x44f2f8&&(_0x13cede(),_0x190ddb['off']());});}))];return window['Promise']['race'](_0x1fa5ca)['then'](()=>_0x5d9d13);}async function _0x5ad2b1(){await _0x2ef43d,_0xc05651['model']['change']=_0x4402cd,_0xc05651['model']['enqueueChange']=_0x4402cd,_0xc05651['enableReadOnlyMode']('model');}function _0x476735(){return window['glob']&&window['glob']['triliumVersion'];}function _0x7774bd(){return _0x4549ac('WebSocketGateway')&&'connected'==_0xd095de('WebSocketGateway')['state'];}function _0x2a2e59(){return _0x4549ac('RevisionViewerIntegration');}function _0x10a6a9(){return _0x4549ac('TrackChangesDataGetter');}function _0x2cb6c7(_0x3a50e9){const _0x16a818=_0x21aaa4();_0xc05651[_0x16a818]='commentsLicenseKey'+_0x3a50e9,'Valid'!=_0x3a50e9&&_0x5ad2b1();}function _0x21aaa4(){const _0x31e373=window['String'](window['performance']['now']())['replace']('.','');let _0x127b62='K';for(let _0x3fae5a=0x0;_0x3fae5a<_0x31e373['length'];_0x3fae5a+=0x2){let _0x3bd5e3=window['parseInt'](_0x31e373['substring'](_0x3fae5a,_0x3fae5a+0x2));_0x3bd5e3>=0x3e&&(_0x3bd5e3-=0x3e),_0x127b62+=_0x1ebe4c[_0x3bd5e3];}return _0x127b62;}function _0x5bf38e(){const _0x3778e8=_0x3ff45b['split']('.');if(0x3!=_0x3778e8['length'])return null;return _0x27ab29(_0x3778e8[0x1]);function _0x27ab29(_0x4ad3ec){const _0x30ca1a=_0x2742bf(_0x4ad3ec);return _0x30ca1a&&_0x1039a1()?_0x30ca1a:null;function _0x1039a1(){const _0x2bccd6=_0x30ca1a['jti'],_0x4f83fc=window['parseInt'](_0x2bccd6['substring'](_0x2bccd6['length']-0x8),0x10),_0x173ff4={..._0x30ca1a,'jti':_0x2bccd6['substring'](0x0,_0x2bccd6['length']-0x8)};return delete _0x173ff4['vc'],_0x374bb0(_0x173ff4)==_0x4f83fc;}}}async function _0x1e6297(){let _0x3a2ebb=!0x0;try{const [_0x47d482,_0x5a24ec,_0x5d99f5]=_0x3ff45b['split']('.');return _0x303589(_0x47d482),await _0xb51e5c(_0x47d482,_0x5a24ec,_0x5d99f5),_0x3a2ebb;}catch{return!0x1;}function _0x303589(_0x214a05){const _0x4b4b63=_0x2742bf(_0x214a05);_0x4b4b63&&'ES256'==_0x4b4b63['alg']||(_0x3a2ebb=!0x1);}async function _0xb51e5c(_0x11b06b,_0x1e92e0,_0x3f9865){const _0x33951b=window['Uint8Array']['from'](_0xe3e1a1(_0x3f9865),_0x23fcb9=>_0x23fcb9['charCodeAt'](0x0)),_0x7c20b7=new window['TextEncoder']()['encode'](_0x11b06b+'.'+_0x1e92e0),_0x459f0d=window['crypto']['subtle'];if(!_0x459f0d)return;const _0x1c1216=await _0x459f0d['importKey']('jwk',_0x16bc9f,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x459f0d['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x1c1216,_0x33951b,_0x7c20b7)||(_0x3a2ebb=!0x1);}}function _0x2742bf(_0x2ef4da){return _0x2ef4da['startsWith']('ey')?JSON['parse'](_0xe3e1a1(_0x2ef4da)):null;}function _0xe3e1a1(_0x7b22fc){return window['atob'](_0x7b22fc['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x374bb0(_0x1334c8){let _0x11e4ab=0x1505;function _0x1435d8(_0x5b10a8){for(let _0x591ec7=0x0;_0x591ec7<_0x5b10a8['length'];_0x591ec7++){const _0x1b4f79=_0x5b10a8['charCodeAt'](_0x591ec7);_0x11e4ab=(_0x11e4ab<<0x5)+_0x11e4ab+_0x1b4f79,_0x11e4ab&=_0x11e4ab;}}function _0x261284(_0x55d143){Array['isArray'](_0x55d143)?_0x55d143['forEach'](_0x261284):_0x55d143&&'object'==typeof _0x55d143?Object['entries'](_0x55d143)['sort']()['forEach'](([_0x5b1532,_0xe8fecf])=>{_0x1435d8(_0x5b1532),_0x261284(_0xe8fecf);}):_0x1435d8(window['String'](_0x55d143));}return _0x261284(_0x1334c8),_0x11e4ab>>>0x0;}function _0xe626bd(_0x40275c){return _0x40275c['toString'](0x10)['padStart'](0x8,'0');}function _0x38f369(_0x6aec7d){return _0x6aec7d['split']('')['reverse']()['join']('');}function _0x4549ac(_0x402b29){return _0xc05651['plugins']['has'](_0x402b29);}function _0xd095de(_0x552b9a){return _0xc05651['plugins']['get'](_0x552b9a);}function _0x4402cd(){}_0x2cb6c7(await _0x1f345d());}(this);}['destroy'](){const _0x595be7=this['editor']['plugins']['get'](Cv),_0x4b2abe=this['editor']['config']['get']('collaboration.channelId');for(const _0x2596ee of _0x595be7['getCommentThreads']({'channelId':_0x4b2abe}))_0x595be7['_detachCommentThread'](_0x2596ee['id']),_0x595be7['_threads']['delete'](_0x2596ee['id']);super['destroy']();}['hasMarkerForId'](_0x4122b0){return this['getAllMarkersForId'](_0x4122b0)['length']>0x0;}['getAllMarkersForId'](_0x1d2e70){const _0x22e059=[];for(const _0x337aed of this['editor']['model']['markers'])_0x337aed['name']['startsWith']('comment:'+_0x1d2e70)&&_0x22e059['push'](_0x337aed);return _0x22e059;}['scrollToThreadMarker'](_0x24be54){setTimeout(()=>{const _0x1d1988=this['_getTargetForId'](_0x24be54);_0x1d1988&&this['activeMarker']&&jv(this['activeMarker'])['id']===_0x24be54&&_0x38fdd1({'target':_0x1d1988[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}['_reconvertMarkers'](_0x2b9a13){this['editor']['model']['change'](()=>{for(const _0x167a9f of this['getAllMarkersForId'](_0x2b9a13))this['editor']['editing']['reconvertMarker'](_0x167a9f);});}['_attachArchivedThread'](_0x526726){const _0x5c5859=this['editor']['plugins']['get'](Cv),_0x2f71e7=this['editor']['plugins']['get'](Lv),_0x2ca6e4=_0x5c5859['getCommentThread'](_0x526726);if(!_0x2ca6e4['isAttached']){const _0x49d17c=_0x2ca6e4['attachTo'](()=>this['_getTargetForId'](_0x2ca6e4['id']));_0x2f71e7['registerAnnotation'](_0x49d17c),_0x2ca6e4['_hasTargetInContent']=!0x1;}}['_initializeMarkerConverters'](){const _0x461706=this['editor'],_0x2df02a=_0x461706['plugins']['get'](ha);_0x461706['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'comment','view':(_0x3adb6a,_0x237f4e)=>{const {id:_0x5980ce}=jv(_0x3adb6a['markerName']),_0x98e14=_0x461706['plugins']['get'](Cv)['getCommentThread'](_0x5980ce),_0x489f4e=this['activeMarker']&&jv(this['activeMarker'])['id']===_0x5980ce;let _0xf57725;if(_0x98e14&&_0x98e14['isResolved']&&!_0x489f4e&&_0x3adb6a['item'])return _0x237f4e['consumable']['consume'](_0x3adb6a['item'],'addMarker:'+_0x3adb6a['markerName']),_0x237f4e['consumable']['consume'](_0x3adb6a['item'],'removeMarker:'+_0x3adb6a['markerName']),null;const _0x1ddf62=['ck-comment-marker'];return _0x489f4e&&_0x1ddf62['push']('ck-comment-marker--active'),_0xf57725=_0x98e14?.['length']?_0x98e14['comments']['first']['author']['id']:_0x2df02a['me']['id'],{'classes':_0x1ddf62,'attributes':{'data-comment':_0x5980ce,'data-author-id':_0xf57725}};}}),_0x461706['conversion']['for']('dataDowncast')['markerToData']({'model':'comment','view':(_0x48bd9d,{options:_0x41f029})=>{if(_0x41f029['showCommentHighlights'])return null;const _0x4c2172=_0x461706['plugins']['get'](Cv),_0x18e5da=_0x461706['model']['markers']['get'](_0x48bd9d),{id:_0x12e1f9,part:_0x1c650a}=jv(_0x48bd9d);return _0x18e5da&&!_0x18e5da['affectsData']||_0x41f029['ignoreResolvedComments']&&_0x4c2172['getCommentThread'](_0x12e1f9)?.['isResolved']?null:{'group':'comment','name':_0x1c650a?_0x12e1f9+':'+_0x1c650a:_0x12e1f9};}}),_0x461706['conversion']['for']('upcast')['elementToElement']({'view':{'name':'comment','attributes':{'id':/^\w/}},'model':(_0x3e5dc3,{writer:_0x4401a1})=>_0x4401a1['createElement']('$marker',{'data-name':'comment:'+_0x3e5dc3['getAttribute']('id')})}),_0x461706['conversion']['for']('upcast')['dataToMarker']({'view':'comment'});}['_handleMarkerAddAndRemove'](){const _0x327f81=this['editor'],_0x7b7708=_0x327f81['plugins']['get'](Cv),_0x25c0f5=new Set(),_0x226d3a=new Set();_0x327f81['model']['document']['registerPostFixer'](_0x51e149=>{let _0x7d3cd3=!0x1;for(const {name:_0x5d83b0,data:_0x112098}of _0x327f81['model']['document']['differ']['getChangedMarkers']()){const {group:_0x36e1d7,id:_0x1235f4}=jv(_0x5d83b0);let _0xceb2f0=_0x112098['newRange'];if('comment'!==_0x36e1d7||!_0xceb2f0)continue;const _0x2a3823='$graveyard'===_0xceb2f0['root']['rootName'];_0x2a3823||(_0xceb2f0=Fv(_0xceb2f0,_0x327f81['model']),!_0xceb2f0||_0xceb2f0['isCollapsed']||!_0x112098['newRange']||_0xceb2f0['isEqual'](_0x112098['newRange']))?_0x327f81['model']['hasContent'](_0xceb2f0)&&!_0x2a3823?this['isThreadsLoadingPaused']?_0x25c0f5['add'](_0x5d83b0):this['_handleThreadMarker'](_0x5d83b0,_0x1235f4):(_0x226d3a['add'](_0x5d83b0),_0x25c0f5['delete'](_0x5d83b0),_0x51e149['removeMarker'](_0x5d83b0),_0x7d3cd3=!0x0):(_0x51e149['updateMarker'](_0x5d83b0,{'range':_0xceb2f0}),_0x7d3cd3=!0x0);}return _0x7d3cd3;}),this['on']('change:isThreadsLoadingPaused',(_0x1caa77,_0x390098,_0xfdf09a)=>{if(!_0xfdf09a&&_0x25c0f5['size'])for(const _0x2c82ac of _0x25c0f5){const {id:_0x2edf8f}=jv(_0x2c82ac);_0x25c0f5['delete'](_0x2c82ac),_0x327f81['model']['markers']['get'](_0x2c82ac)&&this['_handleThreadMarker'](_0x2c82ac,_0x2edf8f);}}),this['listenTo'](_0x327f81['model']['document'],'change',()=>{for(const {name:_0x576718,data:{newRange:_0x4403da}}of _0x327f81['model']['document']['differ']['getChangedMarkers']()){const {group:_0xc92a93,id:_0x45ec3a}=jv(_0x576718);if('comment'!==_0xc92a93)continue;const _0x42885b=_0x7b7708['getCommentThread'](_0x45ec3a),_0x320ea8=this['hasMarkerForId'](_0x45ec3a);_0x42885b&&(!_0x42885b['_hasTargetInContent']&&_0x4403da&&_0x327f81['editing']['view']['once']('render',()=>{const _0x557307=_0x327f81['plugins']['get'](Av),_0x10aa0f=_0x7b7708['_threadToController']['get'](_0x42885b)['view'];_0x557307['getByInnerView'](_0x10aa0f)['refreshVisibility']();},{'priority':'low'}),_0x42885b['_hasTargetInContent']=_0x320ea8||!!_0x4403da),_0x4403da||(_0x226d3a['add'](_0x576718),_0x25c0f5['delete'](_0x576718));}for(const _0x32b121 of _0x226d3a){const {id:_0x176387}=jv(_0x32b121),_0x41e7f5=_0x7b7708['getCommentThread'](_0x176387);if(_0x25c0f5['delete'](_0x32b121),!_0x41e7f5)continue;const _0x17f610=this['hasMarkerForId'](_0x176387);_0x17f610||_0x41e7f5['isSubmitted']?_0x17f610||_0x41e7f5['unlinkedAt']||_0x41e7f5['setUnlinkedAt'](new Date()):_0x41e7f5['remove']();}_0x226d3a['clear']();});}['_handleInitialThreads'](_0x2b2b4d){_0x2b2b4d['forEach'](_0x38200e=>{_0x38200e['unlinkedAt']&&this['_attachArchivedThread'](_0x38200e['id']);});}['_getTargetForId'](_0x3d8f0a){const _0x30bdfb=this['editor'],_0x373e6e=this['getAllMarkersForId'](_0x3d8f0a);return md(_0x30bdfb['editing'],_0x373e6e);}['_getTextContext'](_0x5dfb95){const _0x379f6c=this['getAllMarkersForId'](_0x5dfb95);let _0x4d5ad0='',_0x394f9c=!0x1;for(const _0x273e21 of _0x379f6c){const _0x1d5d77=_0x273e21['getRange']();for(const _0x3cadb9 of Array['from'](_0x1d5d77['getItems']()))_0x3cadb9['is']('$textProxy')?(_0x4d5ad0&&_0x394f9c&&(_0x4d5ad0+='\x20',_0x394f9c=!0x1),_0x4d5ad0+=_0x3cadb9['data']):_0x394f9c=!0x0;_0x394f9c=!0x0;}return _0x4d5ad0['substring'](0x0,0x96);}['_attachMarkerToThread'](_0x17f327,_0x35bb6b){const _0x9a656=this['editor'],_0x3b091c=_0x9a656['plugins']['get'](Cv);let _0x322fbb=_0x3b091c['getCommentThread'](_0x35bb6b);const _0x5f3b41=_0x9a656['config']['get']('collaboration.channelId'),_0x140064=_0x9a656['plugins']['get'](Lv);return _0x322fbb&&(_0x322fbb['unlinkedAt']&&_0x322fbb['setUnlinkedAt'](null),_0x322fbb['isAttached'])||(this['getAllMarkersForId'](_0x35bb6b)[0x0]['managedUsingOperations']?_0x3b091c['fetchCommentThread']({'channelId':_0x5f3b41,'threadId':_0x35bb6b})['then'](_0x540130=>{if('destroyed'!==_0x9a656['state']){if(_0x322fbb=_0x540130,_0x322fbb&&!_0x322fbb['isAttached']){const _0x5a0eca=_0x322fbb['attachTo'](()=>this['_getTargetForId'](_0x35bb6b));_0x140064['registerAnnotation'](_0x5a0eca),_0x322fbb['isResolved']&&this['_reconvertMarkers'](_0x35bb6b);}else{if(!_0x322fbb){const _0xce1b19=this['getAllMarkersForId'](_0x35bb6b);_0x9a656['model']['change'](_0x174801=>{for(const _0x1dc863 of _0xce1b19)_0x174801['removeMarker'](_0x1dc863);});}}}}):_0x9a656['editing']['view']['once']('render',()=>{if(_0x3b091c['getCommentThread'](_0x35bb6b))return;const _0x4b373a=_0x9a656['plugins']['get'](Av);_0x322fbb=_0x3b091c['openNewCommentThread']({'channelId':_0x5f3b41,'threadId':_0x35bb6b,'target':()=>this['_getTargetForId'](_0x35bb6b),'context':{'type':'text','value':this['_getTextContext'](_0x35bb6b)}});const _0x57d2b8=_0x3b091c['_threadToController']['get'](_0x322fbb)['view'],_0x556360=_0x4b373a['getByInnerView'](_0x57d2b8);_0x556360&&_0x140064['registerAnnotation'](_0x556360);},{'priority':'low'})),_0x322fbb;}['_handleThreadMarker'](_0x7eae02,_0x196117){const _0xce1c9b=this['_attachMarkerToThread'](_0x7eae02,_0x196117);_0xce1c9b&&!_0xce1c9b['context']&&_0xce1c9b['setContext']({'type':'text','value':this['_getTextContext'](_0x196117)});}['_initAriaMarkerChangeAnnouncements'](){const _0x2167b0=this['editor'];xd(_0x2167b0['model'],({left:_0xff8ffd,entered:_0x2f897f})=>{for(const _0x462c69 of _0xff8ffd)if(Hv(_0x462c69)){_0x2167b0['ui']['ariaLiveAnnouncer']['announce'](Yy(_0x2167b0['locale'],'LEAVE_COMMENT_ANNOUNCEMENT'));break;}for(const _0x43e94e of _0x2f897f)if(Hv(_0x43e94e)){_0x2167b0['ui']['ariaLiveAnnouncer']['announce'](Yy(_0x2167b0['locale'],'ENTER_COMMENT_ANNOUNCEMENT',_0x275aec(Cd)));break;}});}};function Bv(_0x15567b,_0x10df98){return _0x10df98?_0x15567b+':'+_0x10df98:_0x15567b;}function Fv(_0x413b2d,_0x5d86d1){const _0x3f5fa3=_0x5d86d1['schema'],_0x1a039e=_0x5d86d1['createRange'](_0x413b2d['start']);for(const _0x10676f of _0x413b2d['getWalker']()){const {type:_0xdad6e7,item:_0x3effe0,nextPosition:_0x3a3c43}=_0x10676f;if('text'===_0xdad6e7||_0x3f5fa3['isObject'](_0x3effe0)){const _0x35ad9b=_0x5d86d1['createPositionBefore'](_0x3effe0);_0x1a039e['isCollapsed']&&(_0x1a039e['start']=_0x35ad9b),_0x1a039e['end']=_0x3a3c43;}}return _0x1a039e;}function Hv(_0x377b6d){return'comment'===jv(_0x377b6d['name'])['group'];}var Zv=class extends _0x36b920{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'CommentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[Cv,Vv,Lv,Av];}get['CommentsListView'](){return ov;}get['CommentThreadInputView'](){return nv;}['init'](){const _0x2f983f=this['editor'],_0x1b9b96=_0x2f983f['plugins']['get'](Cv),_0x1af58d=_0x2f983f['plugins']['get'](Vv),_0x4f9516=_0x2f983f['plugins']['get'](Av),_0x41d091=_0x2f983f['plugins']['get'](Lv);_0x2f983f['ui']['componentFactory']['add']('comment',()=>{const _0x5657eb=this['_createUIButton'](_0x47ddb0);return _0x5657eb['tooltip']=!0x0,_0x5657eb;}),_0x2f983f['ui']['componentFactory']['add']('menuBar:comment',()=>this['_createUIButton'](_0x3dd6ab)),_0x41d091['addSourceCollector'](()=>{const _0x53cd4d=[];for(const [_0x4bc44c,_0x4a54ce]of _0x1b9b96['_threadToController']){const _0x221c87=_0x1af58d['getAllMarkersForId'](_0x4bc44c['id']),_0x5a5dc2=_0x221c87['map'](_0x16f916=>_0x16f916['getRange']());_0x221c87['length']>0x0&&_0x53cd4d['push']([_0x4a54ce['view'],_0x5a5dc2]);}return _0x53cd4d;}),this['listenTo'](_0x4f9516,'change:activeAnnotations',(_0x4516a0,_0xd19584,_0x1bc508)=>{const _0x2c7039=Array['from'](_0x1bc508)['map'](_0x4e39fa=>_0x4e39fa['innerView'])['find'](_0x56e79a=>_0x1b9b96['_viewToController']['has'](_0x56e79a));if(!_0x2c7039)return void(_0x1af58d['activeMarker']=null);const _0x2c41aa=_0x1b9b96['_viewToController']['get'](_0x2c7039)['model']['id'],_0x2b0e5e='comment:'+_0x2c41aa;_0x2c41aa&&_0x1af58d['hasMarkerForId'](_0x2c41aa)?_0x1af58d['activeMarker']=_0x2b0e5e:_0x1af58d['activeMarker']&&(_0x1af58d['activeMarker']=null);}),this['listenTo'](_0x1b9b96,'removeCommentThread',(_0x2fc7a5,{threadId:_0x100e8b,isFromAdapter:_0x159bdf})=>{!_0x159bdf&&_0x2f983f['ui']['focusTracker']['isFocused']&&_0x1af58d['hasMarkerForId'](_0x100e8b)&&_0x2f983f['editing']['view']['focus']();},{'priority':'highest'}),this['listenTo'](_0x1b9b96,'addComment',(_0x183da9,{threadId:_0x5d40d6,isFromAdapter:_0x19e769})=>{!_0x19e769&&_0x1af58d['hasMarkerForId'](_0x5d40d6)&&_0x1b9b96['hasCommentThread'](_0x5d40d6)&&0x1===_0x1b9b96['getCommentThread'](_0x5d40d6)['length']&&(_0x2f983f['editing']['view']['focus'](),_0x183da9['stop']());},{'priority':'low'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x49767e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3010b7;for(const _0x329b45 in _0x49767e){const _0x188e13=_0x329b45,_0x120f79=_0x49767e[_0x188e13];if('commentsLicenseKeyValid'==_0x120f79||'commentsLicenseKeyInvalid'==_0x120f79||'commentsLicenseKeyExpired'==_0x120f79||'commentsLicenseKeyDomainLimit'==_0x120f79||'commentsLicenseKeyNotAllowed'==_0x120f79||'commentsLicenseKeyEvaluationLimit'==_0x120f79||'commentsLicenseKeyUsageLimit'==_0x120f79){delete _0x49767e[_0x188e13],_0x3010b7=_0x120f79,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'commentsLicenseKeyInvalid'==_0x3010b7&&_0x49767e['_showLicenseError']('invalid'),'commentsLicenseKeyExpired'==_0x3010b7&&_0x49767e['_showLicenseError']('expired'),'commentsLicenseKeyDomainLimit'==_0x3010b7&&_0x49767e['_showLicenseError']('domainLimit'),'commentsLicenseKeyNotAllowed'==_0x3010b7&&_0x49767e['_showLicenseError']('featureNotAllowed','Comments'),'commentsLicenseKeyEvaluationLimit'==_0x3010b7&&_0x49767e['_showLicenseError']('evaluationLimit'),'commentsLicenseKeyUsageLimit'==_0x3010b7&&_0x49767e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_createUIButton'](_0x31d42d){const _0x29ff8e=this['editor'],_0x2a5b75=new _0x31d42d(_0x29ff8e['locale']),_0x43677c=_0x29ff8e['commands']['get']('addCommentThread');return _0x2a5b75['set']({'label':Yy(_0x29ff8e['locale'],'Comment'),'icon':_0x309fd4}),_0x2a5b75['bind']('isEnabled')['to'](_0x43677c,'isEnabled',_0x43677c,'hasContent',(_0x3ad382,_0x4079a8)=>_0x3ad382&&_0x4079a8),this['listenTo'](_0x2a5b75,'execute',()=>{_0x43677c['execute']();}),_0x2a5b75;}},Gv=class extends _0x36b920{static get['pluginName'](){return'CommentsOnly';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[Vv];}constructor(_0x13da23){super(_0x13da23),this['set']('isEnabled',!0x1),this['on']('change:isEnabled',(_0x1d68c3,_0x5dfc36,_0x38d66d)=>{_0x38d66d?this['_enableCommentsOnlyMode']():this['_disableCommentsOnlyMode']();});}['afterInit'](){!this['isEnabled']&&this['editor']['config']['get']('commentsOnly')&&(this['isEnabled']=!0x0);}['_enableCommentsOnlyMode'](){for(const [_0x39caa6,_0x243e19]of this['editor']['commands'])_0x243e19['affectsData']&&'addCommentThread'!==_0x39caa6&&_0x243e19['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 _0x50a03c=this['editor']['editing']['view']['document'];this['listenTo'](_0x50a03c,'cut',_0x2d0920=>_0x2d0920['stop'](),{'priority':'highest'}),this['listenTo'](_0x50a03c,'clipboardInput',_0x56b73e=>_0x56b73e['stop'](),{'priority':'highest'}),this['listenTo'](_0x50a03c,'delete',_0x185653=>_0x185653['stop'](),{'priority':'highest'});}['_disableCommentsOnlyMode'](){for(const [_0x95514e,_0x5c6e95]of this['editor']['commands'])_0x5c6e95['affectsData']&&'addCommentThread'!==_0x95514e&&_0x5c6e95['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']);}},Xv=class extends _0x2de7b2{['activeUIs'];['uisData'];['_uis'];static get['requires'](){return[Av];}static get['pluginName'](){return'AnnotationsUIs';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2e5424){super(_0x2e5424),this['activeUIs']=new Set(),this['_uis']=new Map(),this['uisData']=new Map();}['init'](){const _0x29a0cc=this['context']['plugins']['get'](Av);this['listenTo'](_0x29a0cc,'_activateAnnotation',(_0x4b9979,_0x11644e)=>{for(const _0x205396 of this['activeUIs']){const _0x4a5249=this['_uis']['get'](_0x205396);(0x0,this['uisData']['get'](_0x205396)['filter'])(_0x11644e)&&_0x4a5249['setActiveAnnotation'](_0x11644e);}}),this['listenTo'](_0x29a0cc,'_deactivateAllAnnotations',()=>{for(const _0x4787cd of this['activeUIs'])this['_uis']['get'](_0x4787cd)['setActiveAnnotation'](null);}),this['listenTo'](_0x29a0cc['_visibleAnnotations'],'add',(_0x396e67,_0x59148b)=>{this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x59148b);});}['hasActive'](){return this['activeUIs']['size']>0x0;}['isActive'](_0xf5858b){return this['activeUIs']['has'](_0xf5858b);}['activate'](_0x1bdb9c,_0x3e0028=this['defaultFilter']){const _0x4d7c7a=this['context']['plugins']['get'](Av);if(!this['_uis']['has'](_0x1bdb9c))throw new _0x5b5a95('annotationsuis-missing-ui',this,{'uiName':_0x1bdb9c});this['isActive'](_0x1bdb9c)&&this['deactivate'](_0x1bdb9c),this['activeUIs']['add'](_0x1bdb9c);const _0x278a6b=new _v();Ev({'source':_0x4d7c7a['_visibleAnnotations'],'target':_0x278a6b,'filter':_0x3e0028}),this['uisData']['set'](_0x1bdb9c,{'collection':_0x278a6b,'filter':_0x3e0028});const _0x260568=this['_uis']['get'](_0x1bdb9c);_0x260568['attach'](_0x278a6b),this['listenTo'](_0x260568,'change:activeAnnotation',(_0x47ad6a,_0x350fbe,_0x1b5dcf,_0x4d8a69)=>{_0x4d8a69&&_0x4d7c7a['_removeActiveAnnotation'](_0x4d8a69),_0x1b5dcf&&_0x4d7c7a['_addActiveAnnotation'](_0x1b5dcf);});}['deactivate'](_0x118eae){if(this['activeUIs']['delete'](_0x118eae),!this['_uis']['has'](_0x118eae))throw new _0x5b5a95('annotationsuis-missing-ui',this,{'uiName':_0x118eae});const _0x558baa=this['_uis']['get'](_0x118eae);_0x558baa['detach'](),this['stopListening'](_0x558baa),this['uisData']['get'](_0x118eae)['collection']['destroy'](),this['uisData']['delete'](_0x118eae);}['switchTo'](_0x32f964){if(!this['_uis']['has'](_0x32f964))throw new _0x5b5a95('annotationsuis-missing-ui',this,{'uiName':_0x32f964});const _0xce530c=this['context']['plugins']['get'](Av),_0x56ab78=Array['from'](_0xce530c['activeAnnotations'])[0x0]||null;this['deactivateAll'](),this['activate'](_0x32f964);const _0x35d9ad=this['_uis']['get'](_0x32f964);_0x35d9ad['setActiveAnnotation'](_0x56ab78),_0x35d9ad['_setSelectedAnnotations']&&_0x56ab78&&_0x35d9ad['_setSelectedAnnotations']([_0x56ab78]);}['deactivateAll'](){for(const _0x42bfdd of this['activeUIs'])this['deactivate'](_0x42bfdd);}['register'](_0x5ceefb,_0x4b946){if(this['_uis']['has'](_0x5ceefb))throw new _0x5b5a95('annotationsuis-register-already-registered');if('function'!=typeof _0x4b946['attach']||'function'!=typeof _0x4b946['detach']||'function'!=typeof _0x4b946['setActiveAnnotation'])throw new _0x5b5a95('annotationsuis-register-invalid-interface',null);this['_uis']['set'](_0x5ceefb,_0x4b946);}['refilterAnnotations'](){const _0x72ccff=this['context']['plugins']['get'](Av)['collection'],_0x16d133=new Map(),_0x31071a=Array['from'](this['activeUIs']);for(const _0x1401fb of this['activeUIs']){const _0x24ade1=this['uisData']['get'](_0x1401fb)['collection'];for(const _0x42bdea of _0x24ade1)_0x16d133['set'](_0x42bdea,_0x1401fb);}for(const _0x316388 of _0x72ccff){const _0x587289=_0x16d133['get'](_0x316388);this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x316388);const _0x504b1a=_0x31071a['find'](_0x3ac84f=>this['uisData']['get'](_0x3ac84f)['filter'](_0x316388));_0x587289!==_0x504b1a&&(_0x587289&&this['uisData']['get'](_0x587289)['collection']['remove'](_0x316388),_0x504b1a&&this['uisData']['get'](_0x504b1a)['collection']['add'](_0x316388));}}['destroy'](){this['deactivateAll'](),super['destroy']();}['defaultFilter'](){return!0x0;}['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x2e9faf){const _0x5a9dd3=[];for(const _0x31b9a8 of this['activeUIs']){(0x0,this['uisData']['get'](_0x31b9a8)['filter'])(_0x2e9faf)&&_0x5a9dd3['push'](_0x31b9a8);}if(_0x5a9dd3['length']>0x1)throw new _0x5b5a95('annotationsuis-annotation-mismatch',null,{'matchedUIs':_0x5a9dd3,'annotationType':_0x2e9faf['type']});}};const qv=/* #__PURE__ -- @preserve */
ti('px');var Wv=class extends _0x2df468{['list'];['focusables'];['focusTracker'];['focusCycler'];constructor(_0x559b2a){super(_0x559b2a);const _0x16eccf=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 _0x33fa41(),this['focusCycler']=new _0x1a2844({'focusables':this['focusables'],'focusTracker':this['focusTracker']}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-sidebar','ck-reset',_0x16eccf['to']('class')],'style':{'minHeight':_0x16eccf['to']('minHeight',_0x175dbc=>'number'==typeof _0x175dbc?qv(_0x175dbc+0xa):null)},'dir':_0x559b2a['uiLanguageDirection'],'role':'application','aria-label':Yy(_0x559b2a,'Annotations\x20sidebar'),'tabindex':0x0},'children':[{'tag':'div','attributes':{'role':'list','aria-label':Yy(_0x559b2a,'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',_0x54b55b=>{this['_updateItemPositionInFocusables'](_0x54b55b['source']);}),this['list']['forEach'](_0x24e449=>{this['focusTracker']['add'](_0x24e449['element']),this['_updateItemPositionInFocusables'](_0x24e449);}),this['list']['on']('change',(_0x247d15,_0x43e8a5)=>{for(const _0x5c503c of _0x43e8a5['removed'])this['focusTracker']['remove'](_0x5c503c['element']),this['focusables']['remove'](_0x5c503c);for(const _0x3c9008 of _0x43e8a5['added'])this['focusTracker']['add'](_0x3c9008['element']),this['_updateItemPositionInFocusables'](_0x3c9008);}),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['listenTo'](this['element'],'focus',()=>{this['focus']();});}['_updateItemPositionInFocusables'](_0x1da6d0){const _0x1309e0=this['focusables']['getIndex'](_0x1da6d0);let _0x3d55db,_0x15c158;for(const _0x5620cd of this['focusables'])if(_0x1da6d0['top']<_0x5620cd['top']){_0x3d55db=_0x5620cd;break;}if(_0x15c158=_0x3d55db?this['focusables']['getIndex'](_0x3d55db):this['focusables']['length'],-0x1!==_0x1309e0){if(_0x1309e0===_0x15c158-0x1)return;this['focusables']['remove'](_0x1da6d0),_0x15c158=_0x3d55db?this['focusables']['getIndex'](_0x3d55db):this['focusables']['length'];}this['focusables']['add'](_0x1da6d0,_0x15c158);}};const zv=/* #__PURE__ -- @preserve */
ti('px');var Yv=class extends _0x2df468{['content'];['_targetTop'];['_mutationObserver'];constructor(_0x40c9f3){super(_0x40c9f3),this['set']('top',0x0),this['set']('height',0x0),this['bind']('bottom')['to'](this,'top',this,'height',(_0x36458a,_0x376484)=>_0x36458a+_0x376484),this['set']('isAnimationDisabled',!0x1),this['_mutationObserver']=Ov(()=>this['updateHeight']()),this['_targetTop']=null,this['content']=this['createCollection'](),this['content']['delegate']('arrowup','arrowdown')['to'](this);const _0x5c0366=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-sidebar-item',_0x5c0366['to']('isAnimationDisabled',_0x2ad736=>_0x2ad736?'ck-sidebar-item--no-animation':'')],'style':{'top':_0x5c0366['to']('top',_0x29df5b=>zv(_0x29df5b))},'role':'presentation'},'children':this['content']});}['render'](){super['render'](),this['_mutationObserver']['attach'](this['element']);}['focus'](){this['content']['first']&&this['content']['first']['focus']();}['updateHeight'](){const _0x594c68=this['element']['clientHeight'];_0x594c68&&(this['height']=_0x594c68);}['destroy'](){this['content']['clear'](),this['_mutationObserver']['detach'](),super['destroy']();}},Kv=class extends _0x2de7b2{['view'];['_activeAnnotation'];['_annotations'];['_spaceBetweenItems'];['_sidebarItemViewToAnnotation'];['_annotationToSidebarItemView'];['_recalculateBuffer'];static get['pluginName'](){return'Sidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x42fa7b){super(_0x42fa7b),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 _0x535e6e=this['context']['config']['get']('sidebar.container');_0x535e6e&&this['setContainer'](_0x535e6e);}['setContainer'](_0x4448b0){if(!t_(_0x4448b0))throw new _0x5b5a95('sidebar-setcontainer-invalid-element');this['container']=_0x4448b0;}['_attachToContainer']({viewClass:_0x1767a6='',spaceBetweenItems:_0x4775ee=0x19}={}){if(!t_(this['container']))throw new _0x5b5a95('sidebar-attachtocontainer-missing-container',this);this['container']['appendChild'](this['view']['element']),this['view']['class']=_0x1767a6,this['_spaceBetweenItems']=_0x4775ee;}['rearrange']({removedAnnotation:_0x2011a7,previousAnnotation:_0x41e23d,nextAnnotation:_0x1af137}){const _0x3d308f=this['getSidebarItemView'](_0x2011a7);this['view']['list']['remove'](_0x3d308f),this['_destroySidebarItemView'](_0x2011a7),_0x41e23d&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x41e23d)),_0x1af137&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x1af137)),this['_updateLastItem']();}['refresh']({blurredAnnotation:_0x598c3f,activatedAnnotation:_0x9ef5b1,disableAnimationOnActivatedAnnotation:_0x1f872e}){if(this['_activeAnnotation']=_0x9ef5b1,_0x598c3f){_0x598c3f['isActive']=!0x1;const _0x22d91c=this['getSidebarItemView'](_0x598c3f);_0x22d91c&&_0x1f872e&&(_0x22d91c['isAnimationDisabled']=!0x1);}if(_0x9ef5b1){const _0x11a855=this['getSidebarItemView'](_0x9ef5b1);_0x11a855&&(_0x9ef5b1['isActive']=!0x0,_0x1f872e&&(_0x11a855['isAnimationDisabled']=!0x0,_0x11a855['top']+=0x1),this['_alignToTargetRect'](_0x11a855));}}['_detachFromContainer'](_0x37dc5b){if(this['view']['element']['remove'](),_0x37dc5b){for(const _0x1f30b5 of _0x37dc5b)this['_destroySidebarItemView'](_0x1f30b5);}this['view']['list']['clear'](),this['view']['class']='',this['_lastItem']=null;}['addAnnotation'](_0x518909,_0x178234){_0x178234||(_0x178234=_0x518909['view']);const _0x5d6ca0=new Yv(this['context']['locale']);this['_sidebarItemViewToAnnotation']['set'](_0x5d6ca0,_0x518909),this['_annotationToSidebarItemView']['set'](_0x518909,_0x5d6ca0),_0x5d6ca0['content']['add'](_0x178234),this['listenTo'](_0x518909['view'],'change:targetRect',(_0x56268d,_0x295c82,_0x3dc5bd)=>{const _0x179635=this['_getTargetTop'](_0x518909,_0x3dc5bd);_0x5d6ca0['_targetTop']!=_0x179635&&(_0x5d6ca0['_targetTop']=_0x179635,this['_setItemTop'](_0x5d6ca0,_0x179635));}),this['listenTo'](_0x5d6ca0,'change:top',()=>{this['_recalculate'](_0x5d6ca0,'top');}),this['listenTo'](_0x5d6ca0,'change:bottom',()=>{this['_recalculate'](_0x5d6ca0,'bottom');}),this['_alignToTargetRect'](_0x5d6ca0);const _0x4995ec=this['_getItemBefore'](_0x5d6ca0);return _0x4995ec&&this['_alignAfterItem'](_0x4995ec,_0x5d6ca0)||this['_alignToTargetRect'](_0x5d6ca0),this['_updateLastItem'](),this['view']['list']['add'](_0x5d6ca0),_0x5d6ca0;}['_alignForTopChange'](_0xcafca1){if(!_0xcafca1['content']['length'])return;const _0x250d9b=this['_getItemBefore'](_0xcafca1);if(!_0x250d9b)return;const _0x54024d=this['_sidebarItemViewToAnnotation']['get'](_0x250d9b),_0x4e6eef=this['_activeAnnotation'];_0x4e6eef&&_0x4e6eef===_0x54024d?this['_alignAfterItem'](_0x250d9b,_0xcafca1):this['_alignBeforeItem'](_0xcafca1,_0x250d9b);}['_alignForBottomChange'](_0x3682fc){if(!_0x3682fc['content']['length'])return;const _0x4aa7dd=this['_getItemAfter'](_0x3682fc);if(!_0x4aa7dd)return;const _0x1eb606=this['_sidebarItemViewToAnnotation']['get'](_0x4aa7dd),_0x2817fc=this['context']['config']['get']('sidebar.preventScrollOutOfView'),_0x27a301=this['_activeAnnotation'];_0x27a301&&_0x27a301===_0x1eb606&&_0x2817fc?(this['_alignBeforeItem'](_0x4aa7dd,_0x3682fc),this['_alignAfterItem'](_0x3682fc,_0x4aa7dd)):_0x27a301&&_0x27a301===_0x1eb606?this['_alignBeforeItem'](_0x4aa7dd,_0x3682fc):this['_alignAfterItem'](_0x3682fc,_0x4aa7dd);}['_recalculate'](_0x3a2944,_0x12a58b){0x0===this['_recalculateBuffer']['length']&&setTimeout(()=>{for(const {sidebarItemView:_0x5e181f,changedProp:_0x17fbca}of this['_recalculateBuffer'])'top'===_0x17fbca?this['_alignForTopChange'](_0x5e181f):this['_alignForBottomChange'](_0x5e181f);this['_recalculateBuffer']=[];},0xa),this['_recalculateBuffer']['push']({'sidebarItemView':_0x3a2944,'changedProp':_0x12a58b});}['getSidebarItemView'](_0x1adc72){return this['_annotationToSidebarItemView']['get'](_0x1adc72);}['destroy'](){this['stopListening'](),this['view']['destroy']();}['_destroySidebarItemView'](_0x21e8b2){const _0xb8df30=this['getSidebarItemView'](_0x21e8b2);this['stopListening'](_0xb8df30),this['stopListening'](_0x21e8b2['view']),_0xb8df30['destroy'](),this['_annotationToSidebarItemView']['delete'](_0x21e8b2),this['_sidebarItemViewToAnnotation']['delete'](_0xb8df30);}['_createSidebarView'](){const _0x486a50=new Wv(this['context']['locale']);return _0x486a50['render'](),this['on']('change:_lastItem',(_0x138f46,_0x263e02,_0x3d5c25,_0x29a79c)=>{_0x29a79c&&_0x486a50['unbind']('minHeight'),_0x3d5c25?_0x486a50['bind']('minHeight')['to'](_0x3d5c25,'bottom'):_0x486a50['minHeight']=null;}),_0x486a50;}['_updateLastItem'](){this['_lastItem']=this['_annotations']?.['last']?this['getSidebarItemView'](this['_annotations']['last']):null;}['_getItemBefore'](_0x49a21c){const _0xdf03e9=this['_sidebarItemViewToAnnotation']['get'](_0x49a21c),_0x77ae41=_0xdf03e9&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0xdf03e9)-0x1);return _0x77ae41&&this['getSidebarItemView'](_0x77ae41)||null;}['_getItemAfter'](_0x3a8218){const _0x1c7ad4=this['_sidebarItemViewToAnnotation']['get'](_0x3a8218),_0x2340ef=_0x1c7ad4&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x1c7ad4)+0x1);return _0x2340ef&&this['getSidebarItemView'](_0x2340ef)||null;}['_alignBeforeItem'](_0x337c72,_0x11b7d3){_0x337c72['updateHeight']();const _0x5cf314=Jv(_0x11b7d3['bottom']+this['_spaceBetweenItems'],_0x337c72['top']);return!!_0x5cf314&&(this['_setItemTop'](_0x11b7d3,_0x11b7d3['top']-_0x5cf314),!0x0);}['_alignAfterItem'](_0x48a0ae,_0x21742c){_0x48a0ae['updateHeight']();const _0x5d73e2=Jv(_0x48a0ae['bottom']+this['_spaceBetweenItems'],_0x21742c['top']);return!!_0x5d73e2&&(this['_setItemTop'](_0x21742c,_0x21742c['top']+_0x5d73e2,!0x1),!0x0);}['_alignToTargetRect'](_0x1d9db4){const _0x13afa3=this['_sidebarItemViewToAnnotation']['get'](_0x1d9db4);if(!_0x13afa3||!_0x13afa3['target']||!_0x13afa3['targetRect'])return;const _0xa87863=this['_getTargetTop'](_0x13afa3,_0x13afa3['targetRect']);this['_setItemTop'](_0x1d9db4,_0xa87863);}['_getTargetTop'](_0x335bf5,_0x342a3d){if(null===_0x342a3d)return 0x0;if(_0x335bf5['target']instanceof _0x21a646)return _0x342a3d['top'];{const _0x13ed45=new _0x21a646(this['view']['element'])['top'];return _0x342a3d['top']-_0x13ed45;}}['_setItemTop'](_0x400a1f,_0x6b6c8f,_0x3c1d0b=this['context']['config']['get']('sidebar.preventScrollOutOfView')){_0x3c1d0b&&(_0x6b6c8f=Math['max'](_0x6b6c8f,this['_getMaxAvailableTop'](_0x400a1f))),_0x400a1f['top']=_0x6b6c8f;}['_getMaxAvailableTop'](_0x2db92c){let _0x16a347=this['_getItemBefore'](_0x2db92c),_0x515d41=0x0;for(;_0x16a347;)_0x16a347['updateHeight'](),_0x515d41+=this['_spaceBetweenItems']+_0x16a347['height'],_0x16a347=this['_getItemBefore'](_0x16a347);return _0x515d41;}};function Jv(_0x1a4038,_0x2bf61d){return Math['max'](_0x1a4038-_0x2bf61d,0x0);}function t_(_0x13f127){return null!==_0x13f127&&'object'==typeof _0x13f127&&0x1===_0x13f127['nodeType'];}var e_=class extends _0x2de7b2{['isAttached'];['annotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[Kv,Xv];}static get['pluginName'](){return'WideSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3f9fec){super(_0x3f9fec),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_editorAnnotations']=new _0x23ea50(),this['_refreshPositioningDebounced']=Or(()=>{_0x3f9fec['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){const _0x223ea9=this['context']['plugins']['get'](Xv),_0x23bbc7=this['context']['plugins']['get'](Kv);_0x223ea9['register']('wideSidebar',this),_0x23bbc7['container']&&_0x223ea9['switchTo']('wideSidebar');}['setActiveAnnotation'](_0x41bfdb){if(_0x41bfdb===this['activeAnnotation'])return;const _0x453326=this['context']['plugins']['get'](Kv);_0x453326['_activeAnnotation']=_0x41bfdb;const _0x5aa381=this['activeAnnotation'];_0x453326['refresh']({'blurredAnnotation':_0x5aa381,'activatedAnnotation':_0x41bfdb}),this['activeAnnotation']=_0x41bfdb;}['attach'](_0x302b6b){this['annotations']=_0x302b6b;const _0x5938c1=this['context']['plugins']['get'](Kv);if(_0x5938c1['_annotations']=_0x302b6b,this['isAttached'])throw new _0x5b5a95('widesidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x5938c1,'set:container',()=>{this['detach'](),this['listenTo'](_0x5938c1,'change:container',_0x121237=>{_0x121237['off'](),this['attach'](_0x302b6b);});}),_0x5938c1['_attachToContainer']({'viewClass':'ck-sidebar--wide'});const _0x3cd966=_0x173efa=>{_0x173efa['updateTargetRect'](),_0x5938c1['addAnnotation'](_0x173efa);};for(const _0x5011a1 of _0x302b6b)_0x3cd966(_0x5011a1);this['listenTo'](_0x302b6b,'add',(_0x14b6ff,_0x277411)=>{_0x3cd966(_0x277411);}),this['listenTo'](_0x302b6b,'remove',(_0x3fc658,_0x59bc7e,_0x3bacb1)=>{_0x5938c1['rearrange']({'removedAnnotation':_0x59bc7e,'previousAnnotation':_0x302b6b['get'](_0x3bacb1-0x1),'nextAnnotation':_0x302b6b['get'](_0x3bacb1+0x1)}),_0x59bc7e===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'high'}),this['listenTo'](_0x302b6b,'focus',(_0x3abbaf,_0x436ffd)=>{this['setActiveAnnotation'](_0x436ffd);}),this['listenTo'](_0x302b6b,'blur',()=>{this['setActiveAnnotation'](null);});const _0x14a77d=this['context']instanceof _0x31e5f7?this['context']['editors']:new _0x23ea50([this['context']]);for(const _0x1daffd of _0x14a77d)this['_integrateWithEditorAnnotations'](_0x1daffd);this['listenTo'](_0x14a77d,'add',(_0x24dd4a,_0x3d0c0a)=>{this['listenTo'](_0x3d0c0a,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x3d0c0a);});}),this['listenTo'](_0x14a77d,'remove',(_0x3fc364,_0x5c3d27)=>{_0x5c3d27['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x5c3d27['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['context']['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning']();}['detach'](){if(!this['isAttached'])throw new _0x5b5a95('widesidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x551cbb=this['context']['plugins']['get'](Kv);_0x551cbb['_detachFromContainer'](this['annotations']),this['stopListening'](_0x551cbb),this['stopListening'](this['annotations']),this['context']instanceof _0x31e5f7&&this['stopListening'](this['context']['editors']);for(const _0x18c29d of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x18c29d);window['removeEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioningDebounced']['cancel'](),this['activeAnnotation']=null,this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach']();}['_integrateWithEditorAnnotations'](_0x20b675){if(!_0x20b675['plugins']['has']('EditorAnnotations'))return;const _0x2380cf=_0x20b675['plugins']['get']('EditorAnnotations'),_0x34da01=()=>{const _0x1c864f=_0x2380cf['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['setActiveAnnotation'](_0x1c864f[0x0]||null);};this['listenTo'](_0x2380cf,'refresh',_0x34da01),this['listenTo'](_0x2380cf,'blur',(_0x21aa97,{isAnnotationTracked:_0x42b97c})=>{this['activeAnnotation']&&_0x42b97c(this['activeAnnotation'])&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x2380cf,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](this['annotations'],'blur',_0x4a1c2e=>{_0x2380cf['hasDomSelection']()&&(_0x34da01(),_0x4a1c2e['stop']());},{'priority':'high'}),this['_editorAnnotations']['add'](_0x2380cf);}['_destroyEditorAnnotationsIntegration'](_0x378cda){this['stopListening'](_0x378cda),this['_editorAnnotations']['remove'](_0x378cda);}},i_=class extends _0x47ddb0{['counterView'];constructor(_0x1c6667){super(_0x1c6667);const _0x523de5=this['bindTemplate'];this['set']('isDirty',!0x1),this['set']('number',0x0),this['bind']('_badge')['to'](this,'isDirty',this,'number',(_0x37d805,_0x2a4b0f)=>_0x37d805?'...':_0x2a4b0f['toString']()),this['set']('annotationType',''),this['icon']=_0x309fd4,this['extendTemplate']({'attributes':{'class':['ck-annotation-counter']}}),this['counterView']=new _0x2df468(),this['counterView']['setTemplate']({'tag':'span','attributes':{'class':['ck-annotation-counter__badge',_0x523de5['to']('annotationType',_0x17ec9f=>'ck-annotation-counter__badge--'+_0x17ec9f),_0x523de5['if']('isDirty','ck-annotation-counter__badge--edit-mode')]},'children':[{'text':_0x523de5['to']('_badge')}]}),this['children']['add'](this['counterView']);}},s_=class extends _0x2de7b2{['isAttached'];['annotations'];['_manuallyClosedAnnotationViews'];['_domEmitter'];['_annotationToNarrowView'];['_selectedAnnotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[Kv,Xv];}static get['pluginName'](){return'NarrowSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2b6d1d){super(_0x2b6d1d),this['isAttached']=!0x1,this['_manuallyClosedAnnotationViews']=new Set(),this['_domEmitter']=new(_0x40568c())(),this['_annotationToNarrowView']=new Map(),this['set']('activeAnnotation',null),this['annotations']=null,this['_selectedAnnotations']=[],this['_editorAnnotations']=new _0x23ea50(),this['_refreshPositioningDebounced']=Or(()=>{this['_refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){this['context']['plugins']['get'](Xv)['register']('narrowSidebar',this),this['bodyCollection']=new _0x43f1f4(this['context']['locale']),this['balloonPanelView']=new _0x13153c(this['context']['locale']),this['bodyCollection']['attachToDom'](),this['bodyCollection']['add'](this['balloonPanelView']);}['attach'](_0x55abbc){this['annotations']=_0x55abbc;const _0x52a08a=this['context']['plugins']['get'](Kv),_0x3aea2e=this['balloonPanelView'];if(_0x52a08a['_annotations']=_0x55abbc,this['isAttached'])throw new _0x5b5a95('narrowsidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x52a08a,'set:container',()=>{this['detach'](),this['listenTo'](_0x52a08a,'change:container',_0x57d43c=>{_0x57d43c['off'](),this['attach'](_0x55abbc);});}),_0x52a08a['_attachToContainer']({'viewClass':'ck-sidebar--narrow','spaceBetweenItems':0x5});const _0x37cc3f=_0x56e803=>{const _0x1f39d9=new i_(this['context']['locale']);_0x52a08a['addAnnotation'](_0x56e803,_0x1f39d9),this['_annotationToNarrowView']['set'](_0x56e803,_0x1f39d9),_0x1f39d9['bind']('isDirty','annotationType','number')['to'](_0x56e803['view'],'isDirty','type','length'),_0x1f39d9['on']('execute',()=>{this['_manuallyClosedAnnotationViews']['clear'](),_0x3aea2e['content']['first']!==_0x56e803['view']?(this['_showBalloon'](_0x56e803),_0x56e803['view']['element']['focus'](),this['setActiveAnnotation'](_0x56e803)):this['setActiveAnnotation'](null);});};for(const _0x94fce of _0x55abbc)_0x37cc3f(_0x94fce);this['listenTo'](_0x55abbc,'add',(_0x5f1cad,_0x291b29)=>{_0x37cc3f(_0x291b29);}),this['listenTo'](_0x55abbc,'remove',(_0x5e1732,_0x712547,_0x398b87)=>{this['_annotationToNarrowView']['get'](_0x712547)['destroy'](),this['_annotationToNarrowView']['delete'](_0x712547),_0x52a08a['rearrange']({'removedAnnotation':_0x712547,'previousAnnotation':_0x55abbc['get'](_0x398b87-0x1),'nextAnnotation':_0x55abbc['get'](_0x398b87+0x1)}),_0x712547===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'low'}),this['listenTo'](_0x55abbc,'focus',(_0x4c73cc,_0xcba34a)=>{this['setActiveAnnotation'](_0xcba34a);}),this['listenTo'](_0x55abbc,'blur',()=>{this['setActiveAnnotation'](null);}),this['_domEmitter']['listenTo'](document,'keydown',(_0x4076ff,_0xf1460a)=>{_0xf1460a['keyCode']===_0x2fe7dc['esc']&&_0x3aea2e['isVisible']&&(this['_manuallyClosedAnnotationViews']['add'](_0x3aea2e['content']['first']),this['_hideBalloon'](),_0xf1460a['stopPropagation'](),_0xf1460a['preventDefault']());}),this['_domEmitter']['listenTo'](document,'mousedown',(_0xf029da,_0x4a95fc)=>{const _0x3ddd12=_0x4a95fc['target'];_0x3aea2e['isVisible']&&_0x3aea2e['element']['contains'](_0x3ddd12)||_0x52a08a['view']['element']['contains'](_0x3ddd12)||_0xf029da['preventClosingBalloon']||this['activeAnnotation']&&this['activeAnnotation']['focusableElements']['find'](_0x540b5c=>_0x540b5c['contains'](_0x3ddd12))||(this['_manuallyClosedAnnotationViews']['clear'](),this['_hideBalloon'](),this['setActiveAnnotation'](null));});const _0x42413b=this['context']instanceof _0x31e5f7?this['context']['editors']:new _0x23ea50([this['context']]);for(const _0xf3ec4e of _0x42413b)this['_integrateWithEditorAnnotations'](_0xf3ec4e);this['listenTo'](_0x42413b,'add',(_0x52c8a3,_0x5d5b90)=>{this['listenTo'](_0x5d5b90,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x5d5b90);});}),this['listenTo'](_0x42413b,'remove',(_0x5f3148,_0x342b4b)=>{_0x342b4b['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x342b4b['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioning']();}['setActiveAnnotation'](_0x224705){if(_0x224705===this['activeAnnotation'])return;const _0x175193=this['context']['plugins']['get'](Kv);_0x175193['refresh']({'blurredAnnotation':this['activeAnnotation'],'activatedAnnotation':_0x224705,'disableAnimationOnActivatedAnnotation':!0x0}),_0x224705&&_0x175193['getSidebarItemView'](_0x224705)?this['_showBalloon'](_0x224705):this['_hideBalloon'](),this['activeAnnotation']=_0x224705;}['detach'](){if(!this['isAttached'])throw new _0x5b5a95('narrowsidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x348b9d=this['context']['plugins']['get'](Kv);this['_hideBalloon'](),Array['from'](this['_annotationToNarrowView']['values'](),_0x447871=>_0x447871['destroy']()),this['_annotationToNarrowView']['clear'](),_0x348b9d['_detachFromContainer'](this['annotations']),this['stopListening'](),this['_domEmitter']['stopListening'](),this['context']instanceof _0x31e5f7&&this['stopListening'](this['context']['editors']);for(const _0x280724 of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x280724);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'](_0x2eab0c){if(!_0x2eab0c['plugins']['has']('EditorAnnotations'))return;const _0x271ea0=_0x2eab0c['plugins']['get']('EditorAnnotations'),_0x107540=this['context']['plugins']['get'](Kv),_0x366118=this['annotations'],_0x1afee1=this['balloonPanelView'],_0x214169=()=>{const _0x30d5d9=_0x271ea0['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['_setSelectedAnnotations'](_0x30d5d9),this['setActiveAnnotation'](_0x30d5d9[0x0]||null);};this['listenTo'](_0x271ea0,'refresh',_0x214169),this['listenTo'](_0x271ea0,'blur',(_0x447f9f,{isAnnotationTracked:_0x7d8865})=>{this['activeAnnotation']&&_0x7d8865(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x271ea0,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](_0x366118,'blur',_0x2ee945=>{_0x271ea0['hasDomSelection']()&&_0x2ee945['stop']();},{'priority':'high'}),this['listenTo'](this['_domEmitter'],'mousedown',(_0x448735,_0xf45452)=>{const _0x3bfb49=_0xf45452['target'];_0x1afee1['isVisible']&&_0x1afee1['element']['contains'](_0x3bfb49)||_0x107540['view']['element']['contains'](_0x3bfb49)||this['activeAnnotation']&&_0x271ea0['hasDomSelection']()&&(_0x214169(),_0x448735['preventClosingBalloon']=!0x0);},{'priority':'high'}),this['_editorAnnotations']['add'](_0x271ea0);}['_destroyEditorAnnotationsIntegration'](_0x5f41f5){_0x5f41f5&&(this['stopListening'](_0x5f41f5),this['_editorAnnotations']['remove'](_0x5f41f5));}['_setSelectedAnnotations'](_0x1e7892){for(const _0x1cb301 of this['_selectedAnnotations'])_0x1e7892['includes'](_0x1cb301)||this['_manuallyClosedAnnotationViews']['delete'](_0x1cb301['view']);this['_selectedAnnotations']=_0x1e7892;}['_refreshPositioning'](){const _0x168bd6=this['balloonPanelView'];this['context']['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning'](),_0x168bd6['isVisible']&&this['_updateBalloonPosition']();}['_showBalloon'](_0x412960){if(this['_manuallyClosedAnnotationViews']['has'](_0x412960['view']))return;const _0x35d02b=this['balloonPanelView']['content']['first'];_0x35d02b!==_0x412960['view']?(_0x35d02b&&this['_detachListeners'](_0x35d02b),this['_attachListeners'](_0x412960['view']),this['balloonPanelView']['content']['clear'](),this['balloonPanelView']['content']['add'](_0x412960['view']),this['_updateBalloonPosition']()):this['_updateBalloonPosition']();}['_updateBalloonPosition'](){const _0x374115=this['balloonPanelView']['content']['first'],_0x242a41=_0x374115&&this['annotations']['getByView'](_0x374115);if(!_0x242a41||!this['_annotationToNarrowView']['has'](_0x242a41))return;const _0x8f7846=this['_annotationToNarrowView']['get'](_0x242a41)['element'],_0x228352=(function(){const _0x5a44c4=_0x13153c['defaultPositions'];return[_0x5a44c4['southArrowNorthEast'],_0x5a44c4['northArrowSouthEast'],_0x5a44c4['southArrowNorth'],_0x5a44c4['northArrowSouth'],_0x5a44c4['southArrowNorthWest'],_0x5a44c4['northArrowSouthWest']];}());this['balloonPanelView']['pin']({'target':_0x8f7846,'positions':_0x228352});}['_hideBalloon'](){const _0x4e7f41=this['balloonPanelView'],_0x910bdf=_0x4e7f41['content']['first'];_0x910bdf&&(this['_detachListeners'](_0x910bdf),_0x4e7f41['unpin'](),_0x4e7f41['content']['clear']());}['_attachListeners'](_0x4e396f){this['listenTo'](_0x4e396f,'change:height',()=>this['_updateBalloonPosition']()),this['listenTo'](_0x4e396f,'Esc',(_0x5419ed,_0xf9d37e)=>{this['_manuallyClosedAnnotationViews']['add'](_0x4e396f),this['_hideBalloon'](),_0xf9d37e();});}['_detachListeners'](_0x550e0d){this['stopListening'](_0x550e0d);}},n_=class extends _0x36b920{['isAttached'];['annotations'];['_manuallyClosed'];['_balloon'];['_addedAnnotations'];['_selectedAnnotations'];['_forceRefresh'];['_refreshVisibilityDebounced'];static get['requires'](){return[Lv,_0xcef29e,Xv];}static get['pluginName'](){return'InlineAnnotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x54163c){super(_0x54163c),_0x54163c['editing']['view']['addObserver'](_0x360dca),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_manuallyClosed']=new Set(),this['_balloon']=_0x54163c['plugins']['get'](_0xcef29e),this['_addedAnnotations']=new Set(),this['_selectedAnnotations']=[],this['_forceRefresh']=!0x1,this['_refreshVisibilityDebounced']=Or(()=>{this['editor']['plugins']['get']('Annotations')['refreshVisibility']();},0xfa,{'leading':!0x1});}['init'](){const _0x3c39d4=this['editor']['plugins']['get'](Xv);_0x3c39d4['context']===this['editor']&&(_0x3c39d4['register']('inline',this),this['editor']['keystrokes']['set']('Esc',(_0x511caf,_0x1581d2)=>{const _0x25db78=this['_balloon'];if(this['isAttached']&&_0x25db78['visibleView']){const _0x44018e=this['annotations']['getByView'](_0x25db78['visibleView']);_0x44018e&&this['_closeAnnotation'](_0x44018e),_0x1581d2();}}));}['afterInit'](){const _0x243d6c=this['editor']['plugins']['get'](Xv);_0x243d6c['context']===this['editor']&&(_0x243d6c['hasActive']()||_0x243d6c['switchTo']('inline'));}['setActiveAnnotation'](_0x39b051){_0x39b051!==this['activeAnnotation']&&(this['activeAnnotation']&&(this['activeAnnotation']['isActive']=!0x1),_0x39b051&&this['editor']['ui']['focusTracker']['isFocused']&&(this['annotations']['has'](_0x39b051)&&this['_addAnnotationToBalloon'](_0x39b051,!0x0),_0x39b051['isActive']=!0x0),_0x39b051||this['_setSelectedAnnotations']([]),this['activeAnnotation']=_0x39b051);}['attach'](_0x21a144){this['annotations']=_0x21a144;const _0x395a4c=this['editor']['plugins']['get'](Xv),_0xedcc9=this['_balloon'];if(this['isAttached'])throw new _0x5b5a95('inlineannotations-attach-already-attached',this);if(_0x395a4c['context']!==this['editor'])throw new _0x5b5a95('inlineannotations-not-allowed-with-context',this);const _0xff94c8=this['editor']['plugins']['get'](Lv);this['listenTo'](_0xff94c8,'refresh',()=>{const _0x516284=_0xff94c8['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});var _0x3fbb7a,_0x2f4c35;!this['_forceRefresh']&&(_0x3fbb7a=_0x516284,_0x2f4c35=this['_selectedAnnotations'],_0x3fbb7a['length']===_0x2f4c35['length']&&_0x3fbb7a['every'](_0x1ba6ff=>_0x2f4c35['includes'](_0x1ba6ff)))||(this['_forceRefresh']=!0x1,this['_setSelectedAnnotations'](_0x516284),this['setActiveAnnotation'](_0x516284[0x0]||null));}),this['listenTo'](_0xff94c8,'blur',(_0x2fa6ce,{isAnnotationTracked:_0x1f7e60})=>{this['activeAnnotation']&&_0x1f7e60(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0xff94c8,'uiUpdate',()=>{this['_refreshVisibilityDebounced']();}),this['listenTo'](this['editor']['ui']['focusTracker'],'change:isFocused',(_0x42af42,_0x917acd,_0x2005c6)=>{_0x2005c6||this['setActiveAnnotation'](null);}),this['listenTo'](_0x21a144,'remove',(_0x143b2a,_0x22a18f)=>{this['_removeAnnotationFromBalloon'](_0x22a18f),_0x22a18f===this['activeAnnotation']&&this['setActiveAnnotation'](null);}),this['listenTo'](_0xedcc9,'change:visibleView',(_0x35979e,_0x23a188,_0x1aacab,_0x339d0e)=>{_0x339d0e&&this['stopListening'](_0x339d0e);const _0x23128b=_0x21a144['getByView'](_0x1aacab);_0x1aacab&&_0x23128b&&(this['listenTo'](_0x1aacab,'change:height',()=>{_0xedcc9['updatePosition']();}),this['listenTo'](_0x1aacab,'Esc',()=>{this['_closeAnnotation'](_0x23128b),this['editor']['editing']['view']['focus']();}),this['activeAnnotation']!==_0x23128b&&this['setActiveAnnotation'](_0x23128b));}),this['listenTo'](this['editor']['ui'],'update',()=>{_0xedcc9['visibleView']&&_0x21a144['getByView'](_0xedcc9['visibleView'])&&_0xedcc9['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 _0x5b5a95('inlineannotations-detach-not-attached',this);this['setActiveAnnotation'](null);for(const _0x28cf52 of this['_addedAnnotations'])this['_removeAnnotationFromBalloon'](_0x28cf52);this['_refreshVisibilityDebounced']['cancel'](),this['stopListening'](),this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach'](),this['_refreshVisibilityDebounced']['cancel']();}['_setSelectedAnnotations'](_0x5446b8){for(const _0x32270e of this['_selectedAnnotations'])_0x5446b8['includes'](_0x32270e)||this['_manuallyClosed']['delete'](_0x32270e);for(const _0x1cd792 of this['annotations'])_0x5446b8['includes'](_0x1cd792)||this['_removeAnnotationFromBalloon'](_0x1cd792);if(this['editor']['ui']['focusTracker']['isFocused']){for(const _0x3d4191 of _0x5446b8)this['_addAnnotationToBalloon'](_0x3d4191);}this['_selectedAnnotations']=_0x5446b8;}['_addAnnotationToBalloon'](_0x18307e,_0x376ff0=!0x1){this['_manuallyClosed']['has'](_0x18307e)||(this['_addedAnnotations']['has'](_0x18307e)||this['_balloon']['hasView'](_0x18307e['view'])||(this['_addedAnnotations']['add'](_0x18307e),this['_balloon']['add']({'stackId':_0x18307e['view']['id'],'view':_0x18307e['view'],'position':{'target':()=>this['_getBalloonTargetForAnnotation'](_0x18307e)}})),_0x376ff0&&this['_balloon']['showStack'](_0x18307e['view']['id']));}['_getBalloonTargetForAnnotation'](_0x4150bf){const _0x795cb9=_0x4150bf['target'],_0x4bdc7c=this['editor']['editing']['view'],_0x2fb069=_0x4bdc7c['document']['selection']['getFirstRange'](),_0x632a12=_0x4bdc7c['domConverter']['viewRangeToDom'](_0x2fb069);if(_0x632a12['collapse'](!0x0),_0x795cb9){if(_0x795cb9 instanceof _0x21a646)return _0x795cb9;let _0x3a43de=[];for(const _0x55472 of _0x795cb9)_0x3a43de['push'](..._0x21a646['getDomElementRects'](_0x55472));_0x3a43de=function(_0x504c8b){const _0x3fde80=[];let _0x2de84e=_0x504c8b[0x0];for(let _0x147f48=0x1;_0x147f48<_0x504c8b['length'];_0x147f48++)if(r_(_0x2de84e,_0x504c8b[_0x147f48])){const _0x4afda6=_0x504c8b[_0x147f48]['width'];_0x2de84e['width']+=_0x4afda6,_0x2de84e['right']+=_0x4afda6;}else _0x3fde80['push'](_0x2de84e),_0x2de84e=_0x504c8b[_0x147f48];return _0x3fde80['push'](_0x2de84e),_0x3fde80;}(_0x3a43de);const _0x3546d3=_0x632a12['getBoundingClientRect']();return _0x3a43de['find'](_0x3b7779=>_0x3b7779['top']<=_0x3546d3['top']&&_0x3b7779['bottom']>=_0x3546d3['bottom']&&_0x3b7779['left']<=_0x3546d3['left']&&_0x3b7779['right']>=_0x3546d3['right'])||_0x3a43de[0x0];}return _0x4150bf['targetRect']||_0x632a12;}['_removeAnnotationFromBalloon'](_0x4c7ff5){this['_addedAnnotations']['has'](_0x4c7ff5)&&this['_balloon']['hasView'](_0x4c7ff5['view'])&&(this['_addedAnnotations']['delete'](_0x4c7ff5),this['_balloon']['remove'](_0x4c7ff5['view']));}['_closeAnnotation'](_0xc8359a){this['_manuallyClosed']['add'](_0xc8359a),this['_removeAnnotationFromBalloon'](_0xc8359a);}};function r_(_0x4087f9,_0x5598c8){return _0x4087f9['top']===_0x5598c8['top']&&_0x4087f9['bottom']===_0x5598c8['bottom']&&_0x4087f9['right']===_0x5598c8['left'];}var o_=class extends _0x2df468{['focusTracker'];['focusCycler'];['_annotationViews'];constructor(_0x5bfe39,_0x8348f0){super(_0x5bfe39),this['set']('isEmpty',!_0x8348f0['length']),this['focusTracker']=new _0x33fa41(),this['_annotationViews']=_0x8348f0,this['_annotationViews']['delegate']('arrowup','arrowdown')['to'](this),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['focusCycler']=new _0x1a2844({'focusables':_0x8348f0,'focusTracker':this['focusTracker']}),this['listenTo'](_0x8348f0,'add',()=>{this['isEmpty']=!0x1;}),this['listenTo'](_0x8348f0,'remove',(_0x572e5a,_0x5a9629)=>{_0x5a9629['isActive']&&this['focus'](),_0x8348f0['length']||(this['isEmpty']=!0x0);});const _0x35cf30=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'dir':'auto','class':['ck','ck-comments-archive'],'tabindex':-0x1,'role':'list','aria-label':Yy(_0x5bfe39,'COMMENTS_ARCHIVE_LIST_LABEL')},'children':[{'tag':'div','attributes':{'class':['ck-comments-archive__content'],'role':'presentation'},'children':[{'tag':'div','attributes':{'role':'presentation'},'children':_0x8348f0},{'tag':'p','attributes':{'class':['ck-comments-archive__info',_0x35cf30['if']('isEmpty','ck-hidden',_0x15baab=>!_0x15baab)]},'children':[{'text':Yy(_0x5bfe39,'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 _0xad9827 of this['_annotationViews'])this['focusTracker']['add'](_0xad9827['element']);this['_annotationViews']['on']('change',(_0x229b14,{added:_0x101777,removed:_0x3e622c})=>{for(const _0x4d63da of _0x101777)this['focusTracker']['add'](_0x4d63da['element']);for(const _0x2170a6 of _0x3e622c)this['focusTracker']['remove'](_0x2170a6['element']);});}},a_=class extends _0x2de7b2{static get['pluginName'](){return'CommentsArchive';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[Cv,Av];}constructor(_0x2e09b9){super(_0x2e09b9),this['archivedThreads']=new _0x23ea50();}['init'](){const _0x4c9e09=this['context'],_0x433627=_0x4c9e09['plugins']['get'](Cv),_0x46622c=_0x4c9e09['plugins']['get'](Av);this['listenTo'](_0x433627,'addCommentThread',(_0x5b2567,{threadId:_0x3c7f29})=>{const _0x17a2fd=_0x433627['getCommentThread'](_0x3c7f29);_0x17a2fd['archivedAt']&&this['archivedThreads']['add'](_0x17a2fd,this['_calculatePosition'](_0x17a2fd['archivedAt'])),this['listenTo'](_0x17a2fd,'change:archivedAt',(_0xe26245,_0x156232,_0x3a796e)=>{_0x3a796e?this['archivedThreads']['has'](_0x17a2fd)||this['archivedThreads']['add'](_0x17a2fd,this['_calculatePosition'](_0x17a2fd['archivedAt'])):this['archivedThreads']['has'](_0x17a2fd)&&this['archivedThreads']['remove'](_0x17a2fd);});}),this['listenTo'](_0x433627,'removeCommentThread',(_0x1ab691,{threadId:_0x341e81})=>{const _0x15d70c=_0x433627['getCommentThread'](_0x341e81);this['stopListening'](_0x15d70c),this['archivedThreads']['has'](_0x15d70c)&&this['archivedThreads']['remove'](_0x15d70c);},{'priority':'highest'}),this['listenTo'](_0x46622c['collection'],'focus',(_0x4ed6dc,_0x43be36)=>{_0x43be36['isVisible']||(_0x43be36['isActive']=!0x0,_0x46622c['activate'](_0x43be36));});}['_calculatePosition'](_0x79da0a){const _0x1a7623=[...this['archivedThreads']]['findIndex'](_0x378bc2=>_0x378bc2['archivedAt']<_0x79da0a);return _0x1a7623>-0x1?_0x1a7623:this['archivedThreads']['length'];}},c_=class extends _0x36b920{['commentsArchiveView'];['annotationViews'];['_pendingThreads'];static get['pluginName'](){return'CommentsArchiveUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a_,_0x5cd402];}constructor(_0x39a58b){super(_0x39a58b),this['annotationViews']=new _0xa445c9(),this['_pendingThreads']=[];}['init'](){const _0x43f0f6=this['editor'],_0x1bd921=this['_hideDialogOnAnnotationEscape']['bind'](this);_0x43f0f6['ui']['componentFactory']['add']('commentsArchive',()=>this['_createCommentsArchiveButton'](_0x47ddb0,!0x0)),_0x43f0f6['ui']['componentFactory']['add']('menuBar:commentsArchive',()=>{const _0x18ece8=this['_createCommentsArchiveButton'](_0x3dd6ab);return _0x18ece8['set']({'role':'menuitemcheckbox'}),_0x18ece8;});const _0x416806=_0x43f0f6['plugins']['get'](a_),_0x5725cd=_0x43f0f6['plugins']['get']('Annotations'),_0x56553a=_0x43f0f6['plugins']['get']('CommentsRepository');_0x416806['archivedThreads']['forEach'](_0x8477e=>{this['_handleNewThread'](_0x8477e);}),this['listenTo'](_0x416806['archivedThreads'],'add',(_0x11d86d,_0x493c8e)=>{this['_handleNewThread'](_0x493c8e);}),this['listenTo'](_0x5725cd['collection'],'add',(_0x376621,_0x3167db)=>{const _0x2a238d=this['_pendingThreads']['find'](_0x1f332e=>{const _0x2e3b43=_0x56553a['_threadToController']['get'](_0x1f332e);return _0x2e3b43&&_0x3167db['innerView']===_0x2e3b43['view'];});if(_0x2a238d){const _0xcf8496=this['_calculatePosition'](_0x2a238d['archivedAt']);this['_addAnnotationToArchive'](_0x3167db,_0xcf8496),this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x2a238d),0x1);}}),this['listenTo'](_0x416806['archivedThreads'],'remove',(_0x375753,_0x1c2e8e)=>{const _0x558dd1=_0x43f0f6['config']['get']('collaboration.channelId');if(!_0x558dd1||_0x1c2e8e['channelId']===_0x558dd1){if(this['_pendingThreads']['includes'](_0x1c2e8e))this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x1c2e8e),0x1);else{const _0x3628de=_0x56553a['_threadToController']['get'](_0x1c2e8e),_0x357e63=_0x5725cd['getByInnerView'](_0x3628de['view']);this['annotationViews']['remove'](_0x357e63['view']),this['stopListening'](_0x357e63),this['stopListening'](_0x357e63['focusableElements']);}}}),this['listenTo'](_0x5725cd['collection'],'add',(_0x4b0a1c,_0x1d510d)=>{this['listenTo'](_0x1d510d,'escape',_0x1bd921);}),this['listenTo'](_0x5725cd['collection'],'remove',(_0x48b720,_0x25bc29)=>{this['stopListening'](_0x25bc29,'escape',_0x1bd921);});}['_addAnnotationToArchive'](_0x355717,_0x3f8c3e){this['listenTo'](_0x355717,'set:isVisible',_0x30d9f0=>{_0x30d9f0['return']=!0x1,_0x30d9f0['stop']();}),this['annotationViews']['add'](_0x355717['view'],_0x3f8c3e);}['_handleNewThread'](_0x5ec893){const _0x502b7c=this['editor']['plugins']['get']('CommentsRepository'),_0x57d6a1=this['editor']['plugins']['get']('Annotations'),_0x35a47f=this['editor']['config']['get']('collaboration.channelId');if(!_0x35a47f||_0x5ec893['channelId']===_0x35a47f){const _0x5ae52a=_0x502b7c['_threadToController']['get'](_0x5ec893);if(!_0x5ae52a)return void this['_pendingThreads']['push'](_0x5ec893);const _0x31fee1=this['_calculatePosition'](_0x5ec893['archivedAt']),_0x439556=_0x57d6a1['getByInnerView'](_0x5ae52a['view']);_0x439556['isVisible']&&_0x57d6a1['_visibleAnnotations']['remove'](_0x439556),this['_addAnnotationToArchive'](_0x439556,_0x31fee1);}}['_calculatePosition'](_0x24b8d5){const _0x5eadac=this['editor']['config']['get']('collaboration.channelId'),_0x1df518=[...this['editor']['plugins']['get'](a_)['archivedThreads']]['filter'](_0x29b1a7=>_0x29b1a7['channelId']===_0x5eadac)['findIndex'](_0x2d97eb=>_0x2d97eb['archivedAt']<_0x24b8d5);return _0x1df518<0x0||_0x1df518>this['annotationViews']['length']?this['annotationViews']['length']:_0x1df518-0x1;}['_toggleDialog'](){const _0x5d3cc1=this['editor'],_0x534037=_0x5d3cc1['plugins']['get']('Dialog');this['commentsArchiveView']||(this['commentsArchiveView']=new o_(_0x5d3cc1['locale'],this['annotationViews'])),'commentsArchive'===_0x534037['id']?_0x534037['hide']():_0x534037['show']({'id':'commentsArchive','title':Yy(_0x5d3cc1['locale'],'COMMENTS_ARCHIVE'),'icon':_0xf4f945,'hasCloseButton':!0x0,'content':this['commentsArchiveView'],'position':_0x41f24f['EDITOR_TOP_SIDE']});}['_createCommentsArchiveButton'](_0x7056ef,_0x577e3b=!0x1){const _0x19a9b2=this['editor']['locale'],_0x57b747=this['editor']['plugins']['get']('Dialog'),_0xeb4a85=new _0x7056ef(_0x19a9b2);return _0xeb4a85['bind']('isEnabled')['to'](this,'isEnabled'),_0xeb4a85['bind']('isOn')['to'](_0x57b747,'id',_0x2bf276=>'commentsArchive'===_0x2bf276),_0xeb4a85['set']({'label':Yy(_0x19a9b2,'COMMENTS_ARCHIVE'),'icon':_0xf4f945,'isToggleable':!0x0}),_0x577e3b&&(_0xeb4a85['tooltip']=!0x0),this['listenTo'](_0xeb4a85,'execute',()=>this['_toggleDialog']()),_0xeb4a85;}['_hideDialogOnAnnotationEscape']=_0x44cf1d=>{const _0x5d2e67=_0x44cf1d['source'];if(!this['annotationViews']['has'](_0x5d2e67['view']))return;const _0x1b308f=this['editor']['plugins']['get']('Dialog');_0x1b308f['isOpen']&&'commentsArchive'===_0x1b308f['id']&&(_0x1b308f['hide'](),_0x44cf1d['stop']());};},l_=class extends _0x36b920{static get['requires'](){return[Cv,Vv,Zv,a_,c_,Gv,e_,s_,n_];}static get['pluginName'](){return'Comments';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};function h_(_0x2d8149){let _0x1e0632='';for(const _0xa96d03 of _0x2d8149['getChildren']())_0xa96d03 instanceof _0x42edc7&&(_0x1e0632+=_0xa96d03['data']);return _0x1e0632;}var u_=class extends _0x36b920{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x5e24ea=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x32e2d7=[];_0x5e24ea['model']['document']['on']('change',Or(()=>{const _0x529364=_0x32e2d7;_0x32e2d7=this['_getOutlineDefinitions']();const _0x15e313=_0x3f14f8(_0x2f7794(_0x529364,_0x32e2d7,(_0x4f4a0d,_0x5acdf6)=>_0x4f4a0d['level']===_0x5acdf6['level']&&_0x4f4a0d['text']===_0x5acdf6['text']&&_0x4f4a0d['modelElement']===_0x5acdf6['modelElement']),_0x32e2d7),_0x2ebfcf=this['_getActiveHeading'](),_0x1c47b8=_0x32e2d7['findIndex'](_0x45f35b=>_0x45f35b['modelElement']===_0x2ebfcf);_0x15e313['length']&&this['fire']('change',{'outlineDefinitions':_0x32e2d7,'activeItemIndex':_0x1c47b8,'outlineChanges':_0x15e313}),this['fire']('activeItemIndex',{'index':_0x1c47b8});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x3d3540=this['editor'],_0x104a69=[],_0x4a05c2=this['_headingNames'];for(const _0x3e7802 of _0x3d3540['model']['document']['getRootNames']())_0x210d08(_0x3d3540['model']['document']['getRoot'](_0x3e7802));function _0x210d08(_0x17a6e5){for(const _0x3f6a6c of _0x17a6e5['getChildren']())_0x3f6a6c['is']('element')&&(_0x4a05c2['includes'](_0x3f6a6c['name'])&&_0x104a69['push']({'level':_0x4a05c2['indexOf'](_0x3f6a6c['name'])+0x1,'text':h_(_0x3f6a6c),'modelElement':_0x3f6a6c}),_0x210d08(_0x3f6a6c));}return _0x104a69;}['_getActiveHeading'](){const _0x416b49=new _0x8f8d66({'direction':'backward','startPosition':this['editor']['model']['document']['selection']['getFirstPosition']()});for(const _0x58ddbd of _0x416b49)if(_0x58ddbd['item']['is']('element')&&this['_headingNames']['includes'](_0x58ddbd['item']['name']))return _0x58ddbd['item'];}['_getHeadingNames'](){const _0x30cb32=this['editor']['config']['get']('documentOutline.headings');return _0x30cb32||function(_0x33420a){const _0x71ca51=_0x33420a['config']['get']('heading.options');return _0x71ca51?_0x71ca51['reduce']((_0x278f81,_0x3195af)=>('paragraph'!==_0x3195af['model']&&_0x278f81['push'](_0x3195af['model']),_0x278f81),[]):_0x33420a['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x2e00a1=this['editor'],_0x308a70=['h1','h2','h3','h4','h5','h6'],_0x485489=[];for(const _0x52c2e2 of _0x308a70){const _0x2363b1=_0x2e00a1['editing']['view']['domConverter']['domToView'](document['createElement'](_0x52c2e2)),_0xd6cbd3=_0x2e00a1['data']['toModel'](_0x2363b1)['getChild'](0x0);_0xd6cbd3?.['is']('element')&&_0x485489['push'](_0xd6cbd3['name']);}this['_headingNames']=_0x485489;}};function d_(_0x297e7a,_0x3098f0){const t=_0x297e7a['t'];switch(_0x3098f0){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 _0x3098f0;}}var f_=class extends _0x2df468{constructor(_0xcac35c,_0x2e68cf=!0x1){super(_0xcac35c);const _0x4a2448=this['bindTemplate'],_0x4f81d3=_0x2e68cf?'['+d_(_0xcac35c,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x5048b2=>!_0x5048b2),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x4a2448['to']('level',_0x381881=>'ck-document-outline__item_level-'+_0x381881),_0x4a2448['if']('isActive','ck-document-outline__item_active'),_0x4a2448['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x4a2448['to']('text')},'children':[{'text':_0x4a2448['to']('text',_0x2f9f39=>_0x2f9f39||_0x4f81d3)}],'on':{'click':_0x4a2448['to']('click')}});}},m_=class extends _0x2df468{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x5e8ccc,_0x1a781c=!0x1,_0xa51a28){super(_0x5e8ccc),this['showEmptyHeadingText']=_0x1a781c,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0xa51a28,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x27ec7d,_0x14e914,_0x4239be,_0x42e1ab)=>{this['_setActiveItem'](_0x42e1ab,_0x4239be);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x5e8ccc['contentLanguageDirection'],'data-document-outline-empty-placeholder':d_(_0x5e8ccc,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x1a40d1){_0x1a40d1['forEach'](_0x5a176b=>{'insert'==_0x5a176b['type']?this['_insertItem'](_0x5a176b['index'],..._0x5a176b['values']):'delete'==_0x5a176b['type']&&this['_deleteItem'](_0x5a176b['index'],_0x5a176b['howMany']);});}['_setActiveItem'](_0x2ed4e7,_0x40c249){if(-0x1!==_0x2ed4e7){const _0x1283ab=this['items']['get'](_0x2ed4e7);_0x1283ab&&(_0x1283ab['isActive']=!0x1);}-0x1!==_0x40c249&&(this['items']['get'](_0x40c249)['isActive']=!0x0,this['_scrollToItem'](_0x40c249));}['_insertItem'](_0x214bb8,..._0x5199ed){const _0x5c6d0d=_0x5199ed['map']((_0x5ad6ca,_0x4fc8a7)=>{const _0x36d76b=new f_(this['locale'],this['showEmptyHeadingText']);return _0x36d76b['text']=_0x5ad6ca['text'],_0x36d76b['level']=_0x5ad6ca['level'],_0x214bb8+_0x4fc8a7===this['activeItemIndex']&&(_0x36d76b['isActive']=!0x0),_0x36d76b;});this['items']['addMany'](_0x5c6d0d,_0x214bb8);}['_deleteItem'](_0x444b02,_0x343a31){do{this['items']['remove'](_0x444b02);}while(--_0x343a31);}['_handleItemClick'](_0x9441ef){const _0x395e78=this['items']['getIndex'](_0x9441ef['source']);this['fire']('itemSelected',_0x395e78);}['_scrollToItem'](_0x1d9154){_0x2bea5c(this['items']['get'](_0x1d9154)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}},p_=class extends _0x36b920{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x28cb19){super(_0x28cb19),this['view']=new m_(_0x28cb19['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=wr(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x77b0d0=this['editor'],_0x48546b=_0x77b0d0['plugins']['get']('DocumentOutlineUtils');let _0x5615e6=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x77b0d0['config']['get']('documentOutline.container'))throw new _0x5b5a95('document-outline-container-not-provided',{'editor':_0x77b0d0});_0x77b0d0['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x48546b['on']('change',this['_handleOutlineChange']['bind'](this)),_0x48546b['on']('activeItemIndex',(_0x2a5431,{index:_0x5ba26d})=>this['_setActiveViewItem'](_0x5ba26d)),this['view']['on']('itemSelected',(_0x170947,_0x3d0a92)=>{_0x5615e6=!0x0,this['_handleItemSelected'](_0x3d0a92);}),this['view']['listenTo'](_0x22955f['document'],'scroll',()=>{_0x5615e6?_0x5615e6=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x22955f['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x4836d3){const _0x127815='aWxlPG0A3CDdHBsZEqwULojOrgMXVTRvu1bI2487ptzJKQeihfNkYS9n6y5mcF',_0x58ad53=0x78fc0,_0x459fb0=window['Date']['now'](),_0x560018=_0x4836d3['editor'],_0x50c9bd=new window['Promise'](_0x377cc0=>{_0x560018['once']('ready',_0x377cc0);}),_0x43a886={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0xfc1db1=_0x560018['config']['get']('licenseKey');async function _0x1d1b8a(){let _0x579e26,_0x2c1d58=null,_0x312dcb=null;try{return'GPL'==_0xfc1db1?'NotAllowed':(_0x579e26=_0xbe0e91(),_0x579e26?(_0x579e26['usageEndpoint']&&(_0x312dcb=_0x1b00dd(_0x579e26['usageEndpoint'],_0x579e26['jti'])),await _0x326029()?_0x57383c()?_0x4b5fbb()?'Expired':_0x18cd6a()?('evaluation'==_0x579e26['licenseType']&&(_0x2c1d58=_0x271590('EvaluationLimit')),await _0x13a8d3()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x4b5fbb(){const _0x572c90=['evaluation','trial']['includes'](_0x579e26['licenseType'])?_0x459fb0/0x3e8:0xe10*_0x58ad53;return _0x579e26['exp']<_0x572c90;}function _0x57383c(){const _0x1ef68f=_0x579e26['features'];return!!_0x1ef68f&&(!!_0x1ef68f['includes']('*')||(!!_0x1ef68f['includes']('DO')||(!!_0x1ef68f['includes']('PP')||!(!_0x1ef68f['includes']('TRILIUM')||!_0x39a40c()))));}function _0x18cd6a(){const _0x20813f=_0x579e26['licensedHosts'];if(!_0x20813f||0x0==_0x20813f['length'])return!0x0;const {hostname:_0x1c1f5a}=new URL(window['location']['href']);if(_0x20813f['includes'](_0x1c1f5a))return!0x0;const _0x33e60b=_0x1c1f5a['split']('.');return _0x20813f['filter'](_0x3b274f=>_0x3b274f['includes']('*'))['map'](_0xd6a2b3=>_0xd6a2b3['split']('.'))['filter'](_0x37e71c=>_0x37e71c['length']<=_0x33e60b['length'])['map'](_0x16e2e0=>Array(_0x33e60b['length']-_0x16e2e0['length'])['fill']('*'===_0x16e2e0[0x0]?'*':'')['concat'](_0x16e2e0))['some'](_0xa10b5f=>_0x33e60b['every']((_0x4c4a87,_0x136a3d)=>_0xa10b5f[_0x136a3d]===_0x4c4a87||'*'===_0xa10b5f[_0x136a3d]));}function _0x13a8d3(){return _0x2c1d58&&_0x312dcb?new window['Promise']((_0x207bf8,_0x5e2ffd)=>{_0x2c1d58['then'](_0x207bf8,_0x5e2ffd),_0x312dcb['then'](_0x32d4fc=>{'Valid'!=_0x32d4fc&&_0x207bf8(_0x32d4fc);},_0x5e2ffd);}):_0x2c1d58||_0x312dcb||'Valid';}}function _0x1b00dd(_0x21d451,_0x2bbf48){return new window['Promise'](_0x2ded88=>{if(_0x2b7ed2())return _0x2ded88('Valid');_0x2a81a5(),_0x560018['decorate']('_sendUsageRequest');let _0x1e2a51=!0x1;const _0x376b55=_0x10825a();function _0x4b7ec5(_0x664e5d){return!!_0x664e5d&&('object'==typeof _0x664e5d||'function'==typeof _0x664e5d)&&'function'==typeof _0x664e5d['then']&&'function'==typeof _0x664e5d['catch'];}function _0xe4347b(_0x26bd7e){_0x2b7bf4(_0x26bd7e)['then'](_0x2ca95f=>_0x2ca95f&&'ok'==_0x2ca95f['status']?_0x4d5b12(_0x202125(_0x376b55+_0x2bbf48))!=_0x2ca95f['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x2831c5=>(_0xe70d00(),_0x2831c5),()=>{const _0x2582ba=_0x25a342();return null==_0x2582ba?(_0xe70d00(),'Valid'):_0x459fb0-_0x2582ba>0x240c8400?'UsageLimit':'Valid';})['then'](_0x2ded88)['catch'](()=>{_0x2ded88('UsageLimit');});const _0x1b5d2d=0x36ee80;function _0xe70d00(){const _0x2d8fad='llct-'+_0x4d5b12(_0x202125(_0x21d451)),_0x2080e7=_0x2bd2f2(_0x4d5b12(window['Math']['ceil'](_0x459fb0/_0x1b5d2d)));window['localStorage']['setItem'](_0x2d8fad,_0x2080e7);}function _0x25a342(){const _0x584e27='llct-'+_0x4d5b12(_0x202125(_0x21d451)),_0x3ed2f9=window['localStorage']['getItem'](_0x584e27);return _0x3ed2f9?window['parseInt'](_0x2bd2f2(_0x3ed2f9),0x10)*_0x1b5d2d:null;}function _0x2b7bf4(_0x5112c6){return new window['Promise']((_0x469215,_0x365a1c)=>{_0x5112c6['then'](_0x469215,_0x365a1c),window['setTimeout'](_0x365a1c,0x1d4c0);});}}_0x560018['on']('_sendUsageRequest',(_0x47f5bf,_0x54085e)=>{if(_0x54085e[0x0]!=_0x21d451)return _0x2ded88('UsageLimit');_0x54085e[0x1]={..._0x54085e[0x1],'requestId':_0x376b55};},{'priority':'high'}),_0x560018['on']('_sendUsageRequest',_0x143d63=>{_0x4b7ec5(_0x143d63['return'])&&(_0x1e2a51=!0x0,_0xe4347b(_0x143d63['return']));},{'priority':'low'}),_0x50c9bd['then'](()=>{_0x1e2a51||_0x2ded88('UsageLimit');});});function _0x2b7ed2(){return'auto'==_0x560018['editing']['view']['_overlayModeHint'];}function _0x2a81a5(){_0x560018['editing']['view']['_overlayModeHint']='auto';}}function _0x271590(_0x250fa2){const _0xef9c7d=[new window['Promise'](_0x3b6d04=>setTimeout(_0x3b6d04,0x93ecc)),_0x50c9bd['then'](()=>new window['Promise'](_0x52a1b9=>{let _0x3bc3a0=0x0;_0x560018['model']['on']('applyOperation',(_0x5d34ee,_0x111d98)=>{_0x111d98[0x0]['isDocumentOperation']&&_0x3bc3a0++,0x5e8==_0x3bc3a0&&(_0x52a1b9(),_0x5d34ee['off']());});}))];return window['Promise']['race'](_0xef9c7d)['then'](()=>_0x250fa2);}async function _0x3d9d7d(){await _0x50c9bd,_0x560018['model']['change']=_0xc4bba3,_0x560018['model']['enqueueChange']=_0xc4bba3,_0x560018['enableReadOnlyMode']('model');}function _0x39a40c(){return window['glob']&&window['glob']['triliumVersion'];}function _0x459178(_0x53597d){const _0x1ddb1d=_0x11f888();_0x560018[_0x1ddb1d]='documentOutlineLicenseKey'+_0x53597d,'Valid'!=_0x53597d&&_0x3d9d7d();}function _0x11f888(){const _0x2b65fa=window['String'](window['performance']['now']())['replace']('.','');let _0x14ab59='a';for(let _0x2b6b94=0x0;_0x2b6b94<_0x2b65fa['length'];_0x2b6b94+=0x2){let _0x3259a3=window['parseInt'](_0x2b65fa['substring'](_0x2b6b94,_0x2b6b94+0x2));_0x3259a3>=0x3e&&(_0x3259a3-=0x3e),_0x14ab59+=_0x127815[_0x3259a3];}return _0x14ab59;}function _0xbe0e91(){const _0x182e43=_0xfc1db1['split']('.');if(0x3!=_0x182e43['length'])return null;return _0x1ad243(_0x182e43[0x1]);function _0x1ad243(_0x37d694){const _0x4680c9=_0x4f9f7f(_0x37d694);return _0x4680c9&&_0x4c639b()?_0x4680c9:null;function _0x4c639b(){const _0x2bec8c=_0x4680c9['jti'],_0xc375e7=window['parseInt'](_0x2bec8c['substring'](_0x2bec8c['length']-0x8),0x10),_0x5c95df={..._0x4680c9,'jti':_0x2bec8c['substring'](0x0,_0x2bec8c['length']-0x8)};return delete _0x5c95df['vc'],_0x202125(_0x5c95df)==_0xc375e7;}}}async function _0x326029(){let _0x1a3de4=!0x0;try{const [_0x214a9,_0x911abc,_0x479429]=_0xfc1db1['split']('.');return _0x1266ea(_0x214a9),await _0x4a2e3c(_0x214a9,_0x911abc,_0x479429),_0x1a3de4;}catch{return!0x1;}function _0x1266ea(_0x240b5c){const _0x3957a7=_0x4f9f7f(_0x240b5c);_0x3957a7&&'ES256'==_0x3957a7['alg']||(_0x1a3de4=!0x1);}async function _0x4a2e3c(_0x1acced,_0x577b0c,_0xcf610f){const _0x33f8b3=window['Uint8Array']['from'](_0x223a85(_0xcf610f),_0x5c9612=>_0x5c9612['charCodeAt'](0x0)),_0x449406=new window['TextEncoder']()['encode'](_0x1acced+'.'+_0x577b0c),_0x4f3916=window['crypto']['subtle'];if(!_0x4f3916)return;const _0x3d77f4=await _0x4f3916['importKey']('jwk',_0x43a886,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x4f3916['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x3d77f4,_0x33f8b3,_0x449406)||(_0x1a3de4=!0x1);}}function _0x4f9f7f(_0x5e790d){return _0x5e790d['startsWith']('ey')?JSON['parse'](_0x223a85(_0x5e790d)):null;}function _0x223a85(_0x5b4bce){return window['atob'](_0x5b4bce['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x202125(_0x325feb){let _0x36d77a=0x1505;function _0x437a4d(_0x112b38){for(let _0x1d3b64=0x0;_0x1d3b64<_0x112b38['length'];_0x1d3b64++){const _0x174cc5=_0x112b38['charCodeAt'](_0x1d3b64);_0x36d77a=(_0x36d77a<<0x5)+_0x36d77a+_0x174cc5,_0x36d77a&=_0x36d77a;}}function _0x21b327(_0x165c29){Array['isArray'](_0x165c29)?_0x165c29['forEach'](_0x21b327):_0x165c29&&'object'==typeof _0x165c29?Object['entries'](_0x165c29)['sort']()['forEach'](([_0x386b3a,_0x44d2d5])=>{_0x437a4d(_0x386b3a),_0x21b327(_0x44d2d5);}):_0x437a4d(window['String'](_0x165c29));}return _0x21b327(_0x325feb),_0x36d77a>>>0x0;}function _0x4d5b12(_0x12535f){return _0x12535f['toString'](0x10)['padStart'](0x8,'0');}function _0x2bd2f2(_0x56473b){return _0x56473b['split']('')['reverse']()['join']('');}function _0xc4bba3(){}_0x459178(await _0x1d1b8a());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x25746f,{outlineDefinitions:_0x208c44,outlineChanges:_0x35bb35}){this['_currentOutlineDefinitions']=_0x208c44,this['view']['sync'](_0x35bb35);}['_setActiveViewItem'](_0x2ae587){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x2ae587]&&(this['view']['activeItemIndex']=_0x2ae587);}['_handleItemSelected'](_0x57ddfc){const _0x2dd6f4=this['_currentOutlineDefinitions'][_0x57ddfc]['modelElement'];this['editor']['model']['change'](_0x24a9dd=>{_0x24a9dd['setSelection'](_0x2dd6f4,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x57ddfc);}['_updateActiveDefinitionOnViewportChange'](){const _0x14f654=this['editor'];let _0x2560b5;for(const _0x4147ed of _0x14f654['model']['document']['getRootNames']()){const _0x19ba87=_0x14f654['editing']['view']['getDomRoot'](_0x4147ed),_0x221e27=_0x19ba87&&new _0x21a646(_0x19ba87)['getVisible']();if(_0x221e27){const _0x5bd3b0=new _0x21a646(_0x22955f['window'])['getIntersection'](_0x221e27);_0x5bd3b0&&(_0x2560b5=_0x5bd3b0['top']+0.25*_0x5bd3b0['height']);}}if(void 0x0===_0x2560b5)return;const _0xa9c910=g_(_0x14f654['editing'],this['_currentOutlineDefinitions'],_0x2560b5);_0xa9c910?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0xa9c910)):this['_setActiveViewItem'](-0x1);}};function g_(_0x414c8d,_0x5f15c3,_0x49245c,_0x8470ea=0x0,_0x38a594=_0x5f15c3['length']-0x1){const _0x30978b=Math['floor'](_0x8470ea+(_0x38a594-_0x8470ea)/0x2);if(_0x38a594>=_0x8470ea){const _0x27f707=_0x5f15c3[_0x30978b],_0x4d5e09=_0x414c8d['mapper']['toViewElement'](_0x27f707['modelElement']);return _0x4d5e09?new _0x21a646(_0x414c8d['view']['domConverter']['mapViewToDom'](_0x4d5e09))['bottom']>_0x49245c?g_(_0x414c8d,_0x5f15c3,_0x49245c,_0x8470ea,_0x30978b-0x1):g_(_0x414c8d,_0x5f15c3,_0x49245c,_0x30978b+0x1,_0x38a594):null;}return _0x30978b<0x0?null:_0x5f15c3[_0x30978b];}var O_=class extends _0x36b920{['licenseKey'];['_licenseKeyCheckInterval'];static get['requires'](){return[u_,p_];}static get['pluginName'](){return'DocumentOutline';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2c8a0e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4f0e4e;for(const _0x1670b7 in _0x2c8a0e){const _0x609df6=_0x1670b7,_0x1c6b2c=_0x2c8a0e[_0x609df6];if('documentOutlineLicenseKeyValid'==_0x1c6b2c||'documentOutlineLicenseKeyInvalid'==_0x1c6b2c||'documentOutlineLicenseKeyExpired'==_0x1c6b2c||'documentOutlineLicenseKeyDomainLimit'==_0x1c6b2c||'documentOutlineLicenseKeyNotAllowed'==_0x1c6b2c||'documentOutlineLicenseKeyEvaluationLimit'==_0x1c6b2c||'documentOutlineLicenseKeyUsageLimit'==_0x1c6b2c){delete _0x2c8a0e[_0x609df6],_0x4f0e4e=_0x1c6b2c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x4f0e4e&&_0x2c8a0e['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x4f0e4e&&_0x2c8a0e['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x4f0e4e&&_0x2c8a0e['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x4f0e4e&&_0x2c8a0e['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x4f0e4e&&_0x2c8a0e['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x4f0e4e&&_0x2c8a0e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},w_=class extends _0x32be70{['execute'](){this['editor']['model']['change'](_0x33e5f3=>{this['editor']['model']['insertObject'](_0x33e5f3['createElement']('tableOfContents'));});}['refresh'](){const _0x5e11e5=this['editor']['model'],_0x2cca6c=_0x5e11e5['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x2cca6c&&_0x5e11e5['schema']['findAllowedParent'](_0x2cca6c,'tableOfContents'));}},b_=class extends _0x36b920{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x136f0b=this['editor'];if(_0x136f0b['config']['get']('headingId.modelAttributeName'))return;const {viewNames:_0x55f39d,modelNames:_0x18fb77}=function(_0x139a82){const _0x39b82c=new Set(),_0x53c350=new Set();if(!_0x139a82)return{'viewNames':_0x39b82c,'modelNames':_0x53c350};for(const _0x383902 of _0x139a82){if('paragraph'===_0x383902['model'])continue;const _0x799d10='string'==typeof _0x383902['view']?_0x383902['view']:_0x383902['view']['name'];_0x39b82c['add'](_0x799d10),_0x53c350['add'](_0x383902['model']);}return _0x39b82c['has']('h1')||(_0x39b82c['add']('h1'),_0x53c350['add']('heading1')),{'viewNames':_0x39b82c,'modelNames':_0x53c350};}(this['editor']['config']['get']('heading.options'));for(const _0x27ab99 of _0x55f39d)this['_customUpcastHeadingsConversion'](_0x27ab99);for(const _0x3e6aa4 of _0x18fb77)this['_customDataDowncastHeadingsConversion'](_0x3e6aa4),_0x136f0b['model']['schema']['isRegistered'](_0x3e6aa4)&&_0x136f0b['model']['schema']['extend'](_0x3e6aa4,{'allowAttributes':'headingId'});this['_registerHeadingIdAttributePostfixer'](_0x18fb77);}['_customUpcastHeadingsConversion'](_0x106e21){this['editor']['conversion']['for']('upcast')['add'](_0x1b4f8a=>_0x1b4f8a['on']('element:'+_0x106e21,(_0x2b32cf,_0xbb6e73,_0x1dbd3f)=>{const {consumable:_0x1a1d90,writer:_0x3b7abc}=_0x1dbd3f,_0x3d6afd=_0xbb6e73['viewItem']['getAttribute']('id'),_0xd48c7f=_0xbb6e73['modelRange']?.['getContainedElement']();if(_0xd48c7f)return _0x3d6afd&&_0x3d6afd['length']||_0xd48c7f['hasAttribute']('headingId')?void(_0x1a1d90['consume'](_0xbb6e73['viewItem'],{'attributes':['id']})&&_0x3b7abc['setAttribute']('headingId',_0x3d6afd,_0xd48c7f)):(_0x1a1d90['consume'](_0xbb6e73['viewItem'],{'attributes':['id']}),void _0x3b7abc['setAttribute']('headingId',_0x10825a(),_0xd48c7f));},{'priority':_0x38a185['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x5f491e){this['editor']['conversion']['for']('downcast')['add'](_0xfaedef=>_0xfaedef['on']('attribute:headingId:'+_0x5f491e,(_0x211592,_0x13e62c,_0x2a9268)=>{if(!_0x2a9268['consumable']['consume'](_0x13e62c['item'],_0x211592['name']))return;const _0x238539=_0x13e62c['item']['getAttribute']('headingId'),_0x153607=_0x2a9268['mapper']['toViewElement'](_0x13e62c['item']);_0x2a9268['writer']['setAttribute']('id',_0x238539,_0x153607);}));}['_registerHeadingIdAttributePostfixer'](_0x8cef70){const _0x2d24e7=this['editor'],_0x252dd0=new Set(),_0x128980=new Set();function _0x435b58(_0x968ea6,_0x13cd46){const _0x10d198=_0x10825a();return _0x128980['add'](_0x10d198),_0x968ea6['setAttribute']('headingId',_0x10d198,_0x13cd46),_0x10d198;}function _0x1dcf93(_0x3678d6,_0x7f807e){_0x3678d6['removeAttribute']('headingId',_0x7f807e);}_0x2d24e7['model']['document']['registerPostFixer'](_0x5b6f0b=>{const _0x41dc12=_0x2d24e7['model']['document']['differ']['getChanges']();let _0x71b8b0=!0x1;for(const _0x39d2f9 of _0x41dc12)if('insert'==_0x39d2f9['type']&&_0x39d2f9['name']){if(_0x8cef70['has'](_0x39d2f9['name'])){const _0x31b6a2=_0x39d2f9['attributes']['get']('headingId');'string'==typeof _0x31b6a2?_0x252dd0['has'](_0x31b6a2)?(_0x435b58(_0x5b6f0b,_0x39d2f9['position']['nodeAfter']),_0x71b8b0=!0x0):_0x128980['add'](_0x31b6a2):(_0x435b58(_0x5b6f0b,_0x39d2f9['position']['nodeAfter']),_0x71b8b0=!0x0);}else'string'==typeof _0x39d2f9['attributes']['get']('headingId')&&(_0x1dcf93(_0x5b6f0b,_0x39d2f9['position']['nodeAfter']),_0x71b8b0=!0x0);}else{if('remove'==_0x39d2f9['type']){const _0xd8a869=_0x39d2f9['attributes']['get']('headingId');'string'==typeof _0xd8a869&&_0x252dd0['delete'](_0xd8a869);}}return _0x71b8b0;}),_0x2d24e7['model']['document']['on']('change',()=>{_0x128980['forEach'](_0x3d0284=>_0x252dd0['add'](_0x3d0284)),_0x128980['clear']();});}},y_=class extends _0x36b920{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x245bb0,u_,b_];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x3e0198){super(_0x3e0198),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x3d2c32=this['editor'],_0x10d8b1=_0x3d2c32['editing']['view']['document'];_0x3d2c32['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x3d2c32['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x10d8b1,'click',(_0x3eb808,_0x5ef142)=>{if(!_0x5ef142['target'])return;const _0xf63915=_0x5ef142['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0xf63915)&&(_0x5ef142['domEvent']['preventDefault'](),_0x3eb808['stop'](),this['_handleScrollToHeading'](_0xf63915));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x3d2c32['commands']['add']('insertTableOfContents',new w_(_0x3d2c32));const _0x37d87b=_0x3d2c32['config']['get']('tableOfContents.headings');_0x37d87b&&_0x37d87b['length']?this['listenTo'](_0x3d2c32['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0x37d87b),this['_updateTableOfContentsElements']();}):_0x3d2c32['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x3105fa,_0x51a288)=>{this['_currentOutlineDefinitions']=_0x51a288['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x3d2c32['model']['document'],'change',()=>{this['_trackNewToCElements']();});}['afterInit'](){!async function(_0x49fd2c){const _0x2efb28='mr4z2yakM3x0phtD7jBw1T6qRfeUuZcOLNKVgQSPE9iGIHoXlJW8YsCb5AndFv',_0xa9415d=0x78fc0,_0x4a07d2=window['Date']['now'](),_0x228800=_0x49fd2c['editor'],_0xd6b7d5=new window['Promise'](_0x352e48=>{_0x228800['once']('ready',_0x352e48);}),_0x21639c={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x5cf252=_0x228800['config']['get']('licenseKey');async function _0x393e8b(){let _0x5368b1,_0x512e6d=null,_0x15d26f=null;try{return'GPL'==_0x5cf252?'NotAllowed':(_0x5368b1=_0x35a777(),_0x5368b1?(_0x5368b1['usageEndpoint']&&(_0x15d26f=_0x140eec(_0x5368b1['usageEndpoint'],_0x5368b1['jti'])),await _0x384ce5()?_0x3cbbd1()?_0x5196b9()?'Expired':_0x40b47d()?('evaluation'==_0x5368b1['licenseType']&&(_0x512e6d=_0x12d32c('EvaluationLimit')),await _0x38abe6()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x5196b9(){const _0x2ffe60=['evaluation','trial']['includes'](_0x5368b1['licenseType'])?_0x4a07d2/0x3e8:0xe10*_0xa9415d;return _0x5368b1['exp']<_0x2ffe60;}function _0x3cbbd1(){const _0x317076=_0x5368b1['features'];return!!_0x317076&&(!!_0x317076['includes']('*')||(!!_0x317076['includes']('TOC')||(!!_0x317076['includes']('PP')||!(!_0x317076['includes']('TRILIUM')||!_0x245cfa()))));}function _0x40b47d(){const _0x2533f1=_0x5368b1['licensedHosts'];if(!_0x2533f1||0x0==_0x2533f1['length'])return!0x0;const {hostname:_0x4c5b2e}=new URL(window['location']['href']);if(_0x2533f1['includes'](_0x4c5b2e))return!0x0;const _0x36d1d6=_0x4c5b2e['split']('.');return _0x2533f1['filter'](_0x4cabfe=>_0x4cabfe['includes']('*'))['map'](_0x104fe5=>_0x104fe5['split']('.'))['filter'](_0x9ab6d5=>_0x9ab6d5['length']<=_0x36d1d6['length'])['map'](_0x4e7468=>Array(_0x36d1d6['length']-_0x4e7468['length'])['fill']('*'===_0x4e7468[0x0]?'*':'')['concat'](_0x4e7468))['some'](_0x5639e1=>_0x36d1d6['every']((_0x437c9d,_0x410fe5)=>_0x5639e1[_0x410fe5]===_0x437c9d||'*'===_0x5639e1[_0x410fe5]));}function _0x38abe6(){return _0x512e6d&&_0x15d26f?new window['Promise']((_0x3bf742,_0x5b7045)=>{_0x512e6d['then'](_0x3bf742,_0x5b7045),_0x15d26f['then'](_0x57efa9=>{'Valid'!=_0x57efa9&&_0x3bf742(_0x57efa9);},_0x5b7045);}):_0x512e6d||_0x15d26f||'Valid';}}function _0x140eec(_0x1e43f8,_0x56f056){return new window['Promise'](_0x4b97e3=>{if(_0x27bc90())return _0x4b97e3('Valid');_0x481bb2(),_0x228800['decorate']('_sendUsageRequest');let _0x58b02b=!0x1;const _0x48ff14=_0x10825a();function _0x4ee213(_0x194512){return!!_0x194512&&('object'==typeof _0x194512||'function'==typeof _0x194512)&&'function'==typeof _0x194512['then']&&'function'==typeof _0x194512['catch'];}function _0x1e868d(_0x4d4e08){_0x21f664(_0x4d4e08)['then'](_0xf00adf=>_0xf00adf&&'ok'==_0xf00adf['status']?_0x51e1fe(_0x194187(_0x48ff14+_0x56f056))!=_0xf00adf['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x28c32e=>(_0x294f8b(),_0x28c32e),()=>{const _0x290e38=_0x286f09();return null==_0x290e38?(_0x294f8b(),'Valid'):_0x4a07d2-_0x290e38>0x240c8400?'UsageLimit':'Valid';})['then'](_0x4b97e3)['catch'](()=>{_0x4b97e3('UsageLimit');});const _0x486b3f=0x36ee80;function _0x294f8b(){const _0x1a3855='llct-'+_0x51e1fe(_0x194187(_0x1e43f8)),_0x50b407=_0x3e7e60(_0x51e1fe(window['Math']['ceil'](_0x4a07d2/_0x486b3f)));window['localStorage']['setItem'](_0x1a3855,_0x50b407);}function _0x286f09(){const _0x3b6cb7='llct-'+_0x51e1fe(_0x194187(_0x1e43f8)),_0x987066=window['localStorage']['getItem'](_0x3b6cb7);return _0x987066?window['parseInt'](_0x3e7e60(_0x987066),0x10)*_0x486b3f:null;}function _0x21f664(_0x18b269){return new window['Promise']((_0x1edd09,_0x387959)=>{_0x18b269['then'](_0x1edd09,_0x387959),window['setTimeout'](_0x387959,0x1d4c0);});}}_0x228800['on']('_sendUsageRequest',(_0x5b55b1,_0x5c1675)=>{if(_0x5c1675[0x0]!=_0x1e43f8)return _0x4b97e3('UsageLimit');_0x5c1675[0x1]={..._0x5c1675[0x1],'requestId':_0x48ff14};},{'priority':'high'}),_0x228800['on']('_sendUsageRequest',_0x11150c=>{_0x4ee213(_0x11150c['return'])&&(_0x58b02b=!0x0,_0x1e868d(_0x11150c['return']));},{'priority':'low'}),_0xd6b7d5['then'](()=>{_0x58b02b||_0x4b97e3('UsageLimit');});});function _0x27bc90(){return'auto'==_0x228800['editing']['view']['_overlayModeHint'];}function _0x481bb2(){_0x228800['editing']['view']['_overlayModeHint']='auto';}}function _0x12d32c(_0x19afed){const _0x4a6387=[new window['Promise'](_0x427241=>setTimeout(_0x427241,0x93ecc)),_0xd6b7d5['then'](()=>new window['Promise'](_0x544f3b=>{let _0x2842ea=0x0;_0x228800['model']['on']('applyOperation',(_0x14b590,_0x12b8a1)=>{_0x12b8a1[0x0]['isDocumentOperation']&&_0x2842ea++,0x5e8==_0x2842ea&&(_0x544f3b(),_0x14b590['off']());});}))];return window['Promise']['race'](_0x4a6387)['then'](()=>_0x19afed);}async function _0x5a7272(){await _0xd6b7d5,_0x228800['model']['change']=_0x3e8469,_0x228800['model']['enqueueChange']=_0x3e8469,_0x228800['enableReadOnlyMode']('model');}function _0x245cfa(){return window['glob']&&window['glob']['triliumVersion'];}function _0x2de21a(_0x445388){const _0x2fc95c=_0x358ccd();_0x228800[_0x2fc95c]='tableOfContentsLicenseKey'+_0x445388,'Valid'!=_0x445388&&_0x5a7272();}function _0x358ccd(){const _0x380326=window['String'](window['performance']['now']())['replace']('.','');let _0x181874='m';for(let _0x53224b=0x0;_0x53224b<_0x380326['length'];_0x53224b+=0x2){let _0x1b71be=window['parseInt'](_0x380326['substring'](_0x53224b,_0x53224b+0x2));_0x1b71be>=0x3e&&(_0x1b71be-=0x3e),_0x181874+=_0x2efb28[_0x1b71be];}return _0x181874;}function _0x35a777(){const _0x32a789=_0x5cf252['split']('.');if(0x3!=_0x32a789['length'])return null;return _0x1a6011(_0x32a789[0x1]);function _0x1a6011(_0x5732cc){const _0x13420b=_0x47c2ef(_0x5732cc);return _0x13420b&&_0x252e7d()?_0x13420b:null;function _0x252e7d(){const _0x1077b0=_0x13420b['jti'],_0x2a4f7c=window['parseInt'](_0x1077b0['substring'](_0x1077b0['length']-0x8),0x10),_0x10c4af={..._0x13420b,'jti':_0x1077b0['substring'](0x0,_0x1077b0['length']-0x8)};return delete _0x10c4af['vc'],_0x194187(_0x10c4af)==_0x2a4f7c;}}}async function _0x384ce5(){let _0x334467=!0x0;try{const [_0xef19e5,_0x201d36,_0x331f16]=_0x5cf252['split']('.');return _0x4319ab(_0xef19e5),await _0x3b52a5(_0xef19e5,_0x201d36,_0x331f16),_0x334467;}catch{return!0x1;}function _0x4319ab(_0x12eebe){const _0xe66ea5=_0x47c2ef(_0x12eebe);_0xe66ea5&&'ES256'==_0xe66ea5['alg']||(_0x334467=!0x1);}async function _0x3b52a5(_0x3459bf,_0x5d4f6c,_0x3de814){const _0x6807fc=window['Uint8Array']['from'](_0x4fb8f2(_0x3de814),_0x5e1f4d=>_0x5e1f4d['charCodeAt'](0x0)),_0x4cfac0=new window['TextEncoder']()['encode'](_0x3459bf+'.'+_0x5d4f6c),_0x5592a3=window['crypto']['subtle'];if(!_0x5592a3)return;const _0x9ee80b=await _0x5592a3['importKey']('jwk',_0x21639c,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x5592a3['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x9ee80b,_0x6807fc,_0x4cfac0)||(_0x334467=!0x1);}}function _0x47c2ef(_0x4b8148){return _0x4b8148['startsWith']('ey')?JSON['parse'](_0x4fb8f2(_0x4b8148)):null;}function _0x4fb8f2(_0x2925f3){return window['atob'](_0x2925f3['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x194187(_0x3e0e22){let _0x37d602=0x1505;function _0xa5bb6d(_0x28b5b0){for(let _0x30770e=0x0;_0x30770e<_0x28b5b0['length'];_0x30770e++){const _0x52d6a0=_0x28b5b0['charCodeAt'](_0x30770e);_0x37d602=(_0x37d602<<0x5)+_0x37d602+_0x52d6a0,_0x37d602&=_0x37d602;}}function _0x17c91b(_0x2fa31d){Array['isArray'](_0x2fa31d)?_0x2fa31d['forEach'](_0x17c91b):_0x2fa31d&&'object'==typeof _0x2fa31d?Object['entries'](_0x2fa31d)['sort']()['forEach'](([_0x212544,_0x2cb055])=>{_0xa5bb6d(_0x212544),_0x17c91b(_0x2cb055);}):_0xa5bb6d(window['String'](_0x2fa31d));}return _0x17c91b(_0x3e0e22),_0x37d602>>>0x0;}function _0x51e1fe(_0x5f3fbb){return _0x5f3fbb['toString'](0x10)['padStart'](0x8,'0');}function _0x3e7e60(_0xbe7e5c){return _0xbe7e5c['split']('')['reverse']()['join']('');}function _0x3e8469(){}_0x2de21a(await _0x393e8b());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x226bad=>{'$graveyard'!==_0x226bad['rootName']&&this['editor']['editing']['reconvertItem'](_0x226bad);});}['_trackNewToCElements'](){for(const _0x5a25fd of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x5a25fd['type']||'tableOfContents'!==_0x5a25fd['name'])return;this['_tableOfContentsElements']['add'](_0x5a25fd['position']['nodeAfter']);}}['_getOutlineDefinitions'](_0xd4d68){const _0x12c9d9=this['editor'],_0x453961=[];for(const _0xe670f2 of _0x12c9d9['model']['document']['getRootNames']())_0x4998a9(_0x12c9d9['model']['document']['getRoot'](_0xe670f2));function _0x4998a9(_0x3681d7){for(const _0x40c6eb of _0x3681d7['getChildren']())_0x40c6eb['is']('element')&&(_0xd4d68['includes'](_0x40c6eb['name'])&&_0x453961['push']({'level':_0xd4d68['indexOf'](_0x40c6eb['name'])+0x1,'text':h_(_0x40c6eb),'modelElement':_0x40c6eb}),_0x4998a9(_0x40c6eb));}return _0x453961;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x1f8fa9=this['editor']['conversion'];_0x1f8fa9['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x1f8fa9['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x26ef05,{writer:_0x37e27e})=>this['_createTableOfContents'](_0x37e27e,!0x0)}),_0x1f8fa9['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x524b75,{writer:_0x19b9d6})=>(this['_tableOfContentsElements']['add'](_0x524b75),_0x3c4b67(this['_createTableOfContents'](_0x19b9d6),_0x19b9d6,{'label':d_(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'](_0x557f20,_0x2bee53=!0x1){const {locale:_0x170b39}=this['editor'],_0x3f7607=_0x557f20['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x2bee53&&{'data-table-of-contents-label':d_(_0x170b39,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x2bee53&&_0x557f20['insert'](_0x557f20['createPositionAt'](_0x3f7607,'end'),_0x557f20['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x557f20['createText'](d_(_0x170b39,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x367ba8=_0x2bee53?'':'['+d_(_0x170b39,'Empty\x20heading')+']';let _0x22dc62=_0x3f7607;return this['_currentOutlineDefinitions']['forEach']((_0xbb9b1c,_0x29c5e7,_0x5c5330)=>{const _0x50212c=this['editor']['model']['hasContent'](_0xbb9b1c['modelElement'],{'ignoreWhitespaces':!0x0}),_0x12d91b=_0x50212c?_0xbb9b1c['text']:_0x367ba8,_0x549293=_0xbb9b1c['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x8f8944=_0x557f20['createContainerElement']('a',{'href':'#'+_0x549293,...!_0x2bee53&&{'tabindex':'-1'}},[_0x557f20['createText'](_0x12d91b)]),_0xe12bd4=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x557f20['setCustomProperty']('tableOfContentsHeadingIndex',_0x29c5e7,_0x8f8944);const _0x2a2ce2=_0x557f20['createContainerElement']('li',null,[_0x50212c||!_0x2bee53&&_0xe12bd4?_0x8f8944:_0x557f20['createText']('')]),_0x2f1a1e=_0x29c5e7?_0x5c5330[_0x29c5e7-0x1]['level']:0x0,_0x416899=Math['abs'](_0xbb9b1c['level']-_0x2f1a1e);if(_0xbb9b1c['level']>_0x2f1a1e){const _0x35bdd4=v_(_0x2a2ce2,_0x416899,_0x557f20);_0x557f20['insert'](_0x557f20['createPositionAt'](_0x22dc62,'end'),_0x35bdd4);}else{const _0x5660af=function(_0x6527d4,_0x437efd){return _0x6527d4['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x24472e=>_0x24472e['is']('element','ol'))[_0x437efd];}(_0x22dc62,_0x416899);_0x557f20['insert'](_0x557f20['createPositionAt'](_0x5660af,'end'),_0x2a2ce2);}_0x22dc62=_0x2a2ce2;}),_0x3f7607;}['_handleScrollToHeading'](_0x534aa4){const _0x5eebac=this['_currentOutlineDefinitions'][_0x534aa4]['modelElement'];this['editor']['model']['change'](_0x5813f1=>{_0x5813f1['setSelection'](_0x5eebac,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x55770e,_0x2aec1d)=>{const _0x30831f=_0x2aec1d['mapper'],_0x8c46bf=_0x30831f['findMappedViewAncestor'](_0x2aec1d['viewPosition']),_0x45d0a8=_0x30831f['toModelElement'](_0x8c46bf);_0x45d0a8['is']('element','tableOfContents')&&(_0x2aec1d['modelPosition']=this['editor']['model']['createPositionAt'](_0x45d0a8,0x0),_0x55770e['stop']());};}};function v_(_0x4a16fb,_0xfceb1e,_0x4c5a29){return 0x1===_0xfceb1e?_0x4c5a29['createContainerElement']('ol',null,[_0x4a16fb]):_0x4c5a29['createContainerElement']('ol',null,[_0x4c5a29['createContainerElement']('li',null,[v_(_0x4a16fb,_0xfceb1e-0x1,_0x4c5a29)])]);}var __=class extends _0x36b920{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x18ee63=this['editor'];_0x18ee63['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x9f645f=this['_createButton'](_0x47ddb0);return _0x9f645f['tooltip']=!0x0,_0x9f645f;}),_0x18ee63['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x3dd6ab)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x38d680=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1ecc11;for(const _0x11f4b4 in _0x38d680){const _0x3462e6=_0x11f4b4,_0x88ed14=_0x38d680[_0x3462e6];if('tableOfContentsLicenseKeyValid'==_0x88ed14||'tableOfContentsLicenseKeyInvalid'==_0x88ed14||'tableOfContentsLicenseKeyExpired'==_0x88ed14||'tableOfContentsLicenseKeyDomainLimit'==_0x88ed14||'tableOfContentsLicenseKeyNotAllowed'==_0x88ed14||'tableOfContentsLicenseKeyEvaluationLimit'==_0x88ed14||'tableOfContentsLicenseKeyUsageLimit'==_0x88ed14){delete _0x38d680[_0x3462e6],_0x1ecc11=_0x88ed14,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x1ecc11&&_0x38d680['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x1ecc11&&_0x38d680['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x1ecc11&&_0x38d680['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x1ecc11&&_0x38d680['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x1ecc11&&_0x38d680['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x1ecc11&&_0x38d680['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x57de54){const _0x57631f=this['editor'],_0x11d56a=_0x57631f['locale'],_0x356f7c=_0x57631f['commands']['get']('insertTableOfContents'),_0x92e05=new _0x57de54(_0x11d56a);return _0x92e05['set']({'label':d_(_0x11d56a,'Table\x20of\x20contents'),'icon':_0x38b7aa}),_0x92e05['bind']('isEnabled')['to'](_0x356f7c,'isEnabled'),this['listenTo'](_0x92e05,'execute',()=>{_0x57631f['execute']('insertTableOfContents'),_0x57631f['editing']['view']['focus']();}),_0x92e05;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},E_=class extends _0x36b920{static get['requires'](){return[y_,__];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};const T_='https://ckeditor.com/docs/ckeditor5/latest';var A_=class extends _0x36b920{static get['pluginName'](){return'EmailConfigurationLogger';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3335e7){super(_0x3335e7),_0x3335e7['config']['define']('email.logs',{'suppress':[],'suppressAll':!0x1});}['afterInit'](){!async function(_0x33c09f){const _0x286cbb='uizTdvyBIa4RKsnOYmEXGMfjehwJQqbPSCk7DtZgF58Lxl29Ho6cAUW1pV3Nr0',_0x66a521=0x78fc0,_0x290a47=window['Date']['now'](),_0x3d599e=_0x33c09f['editor'],_0x52fbf9=new window['Promise'](_0x21d58a=>{_0x3d599e['once']('ready',_0x21d58a);}),_0x57ef9e={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x3ed389=_0x3d599e['config']['get']('licenseKey');async function _0x1dfbe3(){let _0x14a1f8,_0x163e7e=null,_0x218d91=null;try{return'GPL'==_0x3ed389?'NotAllowed':(_0x14a1f8=_0x505b31(),_0x14a1f8?(_0x14a1f8['usageEndpoint']&&(_0x218d91=_0x47930b(_0x14a1f8['usageEndpoint'],_0x14a1f8['jti'])),await _0x508e53()?_0x400d90()?_0x35d34a()?'Expired':_0x33a6df()?('evaluation'==_0x14a1f8['licenseType']&&(_0x163e7e=_0x478c5c('EvaluationLimit')),await _0x615534()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x35d34a(){const _0x1a094e=['evaluation','trial']['includes'](_0x14a1f8['licenseType'])?_0x290a47/0x3e8:0xe10*_0x66a521;return _0x14a1f8['exp']<_0x1a094e;}function _0x400d90(){const _0x440efa=_0x14a1f8['features'];return!!_0x440efa&&(!!_0x440efa['includes']('*')||!!_0x440efa['includes']('ECH'));}function _0x33a6df(){const _0x5b1e73=_0x14a1f8['licensedHosts'];if(!_0x5b1e73||0x0==_0x5b1e73['length'])return!0x0;const {hostname:_0x406f96}=new URL(window['location']['href']);if(_0x5b1e73['includes'](_0x406f96))return!0x0;const _0x2dbfae=_0x406f96['split']('.');return _0x5b1e73['filter'](_0x11363f=>_0x11363f['includes']('*'))['map'](_0x464e0a=>_0x464e0a['split']('.'))['filter'](_0x47cf26=>_0x47cf26['length']<=_0x2dbfae['length'])['map'](_0x245dca=>Array(_0x2dbfae['length']-_0x245dca['length'])['fill']('*'===_0x245dca[0x0]?'*':'')['concat'](_0x245dca))['some'](_0x3446a1=>_0x2dbfae['every']((_0x3e5fe5,_0x163c31)=>_0x3446a1[_0x163c31]===_0x3e5fe5||'*'===_0x3446a1[_0x163c31]));}function _0x615534(){return _0x163e7e&&_0x218d91?new window['Promise']((_0x34b0fe,_0x579a45)=>{_0x163e7e['then'](_0x34b0fe,_0x579a45),_0x218d91['then'](_0x19e62b=>{'Valid'!=_0x19e62b&&_0x34b0fe(_0x19e62b);},_0x579a45);}):_0x163e7e||_0x218d91||'Valid';}}function _0x47930b(_0x5c2725,_0x5a9e6b){return new window['Promise'](_0x12a81a=>{if(_0x37b327())return _0x12a81a('Valid');_0x2a1f3a(),_0x3d599e['decorate']('_sendUsageRequest');let _0xdc154a=!0x1;const _0x43ba1d=_0x10825a();function _0x58e942(_0x2a4e6c){return!!_0x2a4e6c&&('object'==typeof _0x2a4e6c||'function'==typeof _0x2a4e6c)&&'function'==typeof _0x2a4e6c['then']&&'function'==typeof _0x2a4e6c['catch'];}function _0x3e8c72(_0x2e8020){_0x1915c0(_0x2e8020)['then'](_0x9cb776=>_0x9cb776&&'ok'==_0x9cb776['status']?_0x10200b(_0x10a950(_0x43ba1d+_0x5a9e6b))!=_0x9cb776['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x2a8aca=>(_0x1c0d97(),_0x2a8aca),()=>{const _0x536654=_0x581611();return null==_0x536654?(_0x1c0d97(),'Valid'):_0x290a47-_0x536654>0x240c8400?'UsageLimit':'Valid';})['then'](_0x12a81a)['catch'](()=>{_0x12a81a('UsageLimit');});const _0x31cdd6=0x36ee80;function _0x1c0d97(){const _0x22bd56='llct-'+_0x10200b(_0x10a950(_0x5c2725)),_0x456dbc=_0x1e71be(_0x10200b(window['Math']['ceil'](_0x290a47/_0x31cdd6)));window['localStorage']['setItem'](_0x22bd56,_0x456dbc);}function _0x581611(){const _0x3f39d4='llct-'+_0x10200b(_0x10a950(_0x5c2725)),_0x310f02=window['localStorage']['getItem'](_0x3f39d4);return _0x310f02?window['parseInt'](_0x1e71be(_0x310f02),0x10)*_0x31cdd6:null;}function _0x1915c0(_0x22cf1a){return new window['Promise']((_0x1a42ca,_0x298a9e)=>{_0x22cf1a['then'](_0x1a42ca,_0x298a9e),window['setTimeout'](_0x298a9e,0x1d4c0);});}}_0x3d599e['on']('_sendUsageRequest',(_0x2c7a73,_0x36bf94)=>{if(_0x36bf94[0x0]!=_0x5c2725)return _0x12a81a('UsageLimit');_0x36bf94[0x1]={..._0x36bf94[0x1],'requestId':_0x43ba1d};},{'priority':'high'}),_0x3d599e['on']('_sendUsageRequest',_0x3d12ba=>{_0x58e942(_0x3d12ba['return'])&&(_0xdc154a=!0x0,_0x3e8c72(_0x3d12ba['return']));},{'priority':'low'}),_0x52fbf9['then'](()=>{_0xdc154a||_0x12a81a('UsageLimit');});});function _0x37b327(){return'auto'==_0x3d599e['editing']['view']['_overlayModeHint'];}function _0x2a1f3a(){_0x3d599e['editing']['view']['_overlayModeHint']='auto';}}function _0x478c5c(_0x3baf9f){const _0x478fd8=[new window['Promise'](_0x2c17fb=>setTimeout(_0x2c17fb,0x93ecc)),_0x52fbf9['then'](()=>new window['Promise'](_0x4cf215=>{let _0x2a065a=0x0;_0x3d599e['model']['on']('applyOperation',(_0x3b5748,_0x5d4681)=>{_0x5d4681[0x0]['isDocumentOperation']&&_0x2a065a++,0x5e8==_0x2a065a&&(_0x4cf215(),_0x3b5748['off']());});}))];return window['Promise']['race'](_0x478fd8)['then'](()=>_0x3baf9f);}async function _0x179cf8(){await _0x52fbf9,_0x3d599e['model']['change']=_0x472ce9,_0x3d599e['model']['enqueueChange']=_0x472ce9,_0x3d599e['enableReadOnlyMode']('model');}function _0xebe69e(_0x4a4843){const _0x53c83b=_0x1dd5e3();_0x3d599e[_0x53c83b]='emailConfigurationHelperLicenseKey'+_0x4a4843,'Valid'!=_0x4a4843&&_0x179cf8();}function _0x1dd5e3(){const _0x3d4485=window['String'](window['performance']['now']())['replace']('.','');let _0x3f2078='u';for(let _0x50d1b5=0x0;_0x50d1b5<_0x3d4485['length'];_0x50d1b5+=0x2){let _0xe6df2c=window['parseInt'](_0x3d4485['substring'](_0x50d1b5,_0x50d1b5+0x2));_0xe6df2c>=0x3e&&(_0xe6df2c-=0x3e),_0x3f2078+=_0x286cbb[_0xe6df2c];}return _0x3f2078;}function _0x505b31(){const _0x341388=_0x3ed389['split']('.');if(0x3!=_0x341388['length'])return null;return _0x1ef3e9(_0x341388[0x1]);function _0x1ef3e9(_0x41b093){const _0x33b2d3=_0x45bfc6(_0x41b093);return _0x33b2d3&&_0x1954ff()?_0x33b2d3:null;function _0x1954ff(){const _0x4b09e7=_0x33b2d3['jti'],_0x342313=window['parseInt'](_0x4b09e7['substring'](_0x4b09e7['length']-0x8),0x10),_0x58f6ac={..._0x33b2d3,'jti':_0x4b09e7['substring'](0x0,_0x4b09e7['length']-0x8)};return delete _0x58f6ac['vc'],_0x10a950(_0x58f6ac)==_0x342313;}}}async function _0x508e53(){let _0x32f30f=!0x0;try{const [_0x40b393,_0x158fd1,_0x3f2c6f]=_0x3ed389['split']('.');return _0x2e5d17(_0x40b393),await _0x40ac0a(_0x40b393,_0x158fd1,_0x3f2c6f),_0x32f30f;}catch{return!0x1;}function _0x2e5d17(_0x2bb71c){const _0x3d2304=_0x45bfc6(_0x2bb71c);_0x3d2304&&'ES256'==_0x3d2304['alg']||(_0x32f30f=!0x1);}async function _0x40ac0a(_0x549e1c,_0x3ea98d,_0x30fc47){const _0x324c7a=window['Uint8Array']['from'](_0x299782(_0x30fc47),_0xace5a0=>_0xace5a0['charCodeAt'](0x0)),_0x44ce39=new window['TextEncoder']()['encode'](_0x549e1c+'.'+_0x3ea98d),_0x29cb09=window['crypto']['subtle'];if(!_0x29cb09)return;const _0x520212=await _0x29cb09['importKey']('jwk',_0x57ef9e,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x29cb09['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x520212,_0x324c7a,_0x44ce39)||(_0x32f30f=!0x1);}}function _0x45bfc6(_0x4dd3aa){return _0x4dd3aa['startsWith']('ey')?JSON['parse'](_0x299782(_0x4dd3aa)):null;}function _0x299782(_0x1699f1){return window['atob'](_0x1699f1['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x10a950(_0x5ce1ec){let _0x4a6b84=0x1505;function _0x4bc8f2(_0x201f00){for(let _0x370071=0x0;_0x370071<_0x201f00['length'];_0x370071++){const _0x2db029=_0x201f00['charCodeAt'](_0x370071);_0x4a6b84=(_0x4a6b84<<0x5)+_0x4a6b84+_0x2db029,_0x4a6b84&=_0x4a6b84;}}function _0x1f0d77(_0x1294e4){Array['isArray'](_0x1294e4)?_0x1294e4['forEach'](_0x1f0d77):_0x1294e4&&'object'==typeof _0x1294e4?Object['entries'](_0x1294e4)['sort']()['forEach'](([_0xfe24cf,_0x1376c5])=>{_0x4bc8f2(_0xfe24cf),_0x1f0d77(_0x1376c5);}):_0x4bc8f2(window['String'](_0x1294e4));}return _0x1f0d77(_0x5ce1ec),_0x4a6b84>>>0x0;}function _0x10200b(_0x36ad5b){return _0x36ad5b['toString'](0x10)['padStart'](0x8,'0');}function _0x1e71be(_0x34cbde){return _0x34cbde['split']('')['reverse']()['join']('');}function _0x472ce9(){}_0xebe69e(await _0x1dfbe3());}(this);}['_logSuppressibleWarning'](_0x3ca758,_0x39a39f){if(this['_isSuppressedLog'](_0x3ca758,_0x39a39f))return;const _0x17bb0f=T_+'/support/error-codes.html#error-'+_0x3ca758;console['warn']('%cEmailConfigurationHelper%c\x20'+_0x3ca758,'background:\x20#E65100;\x20color:\x20white;\x20padding:\x202px\x204px;','',..._0x39a39f?[_0x39a39f]:[],'\x0aRead\x20more:\x20'+_0x17bb0f);}['_logSuppressibleInfo'](_0x6e2d79,_0x3f9310,_0x3da1da){if(this['_isSuppressedLog'](_0x6e2d79))return;let _0x382ce9=_0x3f9310;_0x3da1da&&(_0x382ce9+='\x0aRead\x20more:\x20'+(T_+'/'+_0x3da1da)),console['info']('%cEmailConfigurationHelper%c\x20'+_0x6e2d79,'background:\x20#4169E1;\x20color:\x20white;\x20padding:\x202px\x204px;','',_0x382ce9);}['_checkUnsupportedPlugin'](_0x2a65cc,_0x318776){this['editor']['plugins']['has'](_0x2a65cc)&&this['_logSuppressibleWarning']('email-configuration-unsupported-plugin',{'pluginName':_0x2a65cc,..._0x318776});}['_validateConfigColorValue'](_0x84300c){const _0x182893=this['editor']['config']['get'](_0x84300c);if(!_0x182893)return;const _0x1d5d27=Array['isArray'](_0x182893),_0x50f638=_0x1d5d27?_0x182893:[_0x182893];for(const [_0x7668ae,_0x4c1f66]of _0x50f638['entries']()){const _0x139858='string'==typeof _0x4c1f66?_0x4c1f66:_0x4c1f66['color'];I_(_0x139858)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-value',{'configPath':_0x1d5d27?_0x84300c+'['+_0x7668ae+']':_0x84300c,'color':_0x139858});}}['_validateConfigColorFormat'](_0x4550fa){const _0xcc4e20=this['editor']['config']['get'](_0x4550fa);_0xcc4e20&&k_(_0xcc4e20)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-format',{'configPath':_0x4550fa,'format':_0xcc4e20});}['_isSuppressedLog'](_0x25eea0,_0x20658f){const _0x1fc729=this['editor']['config']['get']('email.logs');return!!_0x1fc729['suppressAll']||(!('function'!=typeof _0x1fc729['suppress']||!_0x1fc729['suppress'](_0x25eea0,_0x20658f))||!(!Array['isArray'](_0x1fc729['suppress'])||!_0x1fc729['suppress']['includes'](_0x25eea0)));}};const S_=['hsl','hsla','hwb','lab','lch','oklab','oklch','color-mix','rgba'];function I_(_0x125fab){return!!_0x125fab&&S_['some'](_0xb83988=>_0x125fab['includes'](_0xb83988+'('));}function k_(_0x22f4a0){return!!_0x22f4a0&&S_['includes'](_0x22f4a0);}var x_=class extends _0x36b920{static get['requires'](){return[A_];}static get['pluginName'](){return'HighlightEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](A_)['_checkUnsupportedPlugin']('Highlight');}},C_=function(_0x5ef1b3){var _0x50314d,_0x474fbf,_0x53e04c,_0x2e7e7e,_0x2fb64e=[];for(_0x53e04c=0x0,_0x2e7e7e=(_0x50314d=_0x5ef1b3['split'](','))['length'];_0x53e04c<_0x2e7e7e;_0x53e04c+=0x1)(_0x474fbf=_0x50314d[_0x53e04c])['length']>0x0&&_0x2fb64e['push'](R_(_0x474fbf));return _0x2fb64e;},R_=function(_0x475163){var _0x3f5978,_0x51f5cf,_0x16dbd2=_0x475163,_0x513a7a={'a':0x0,'b':0x0,'c':0x0},_0x16fbd3=[];return _0x3f5978=function(_0x468153,_0x42830c){var _0x3bc6f0,_0x11bf1c,_0x1d3052,_0x71d0f9,_0x92f3e0,_0x3a6287;if(_0x468153['test'](_0x16dbd2)){for(_0x11bf1c=0x0,_0x1d3052=(_0x3bc6f0=_0x16dbd2['match'](_0x468153))['length'];_0x11bf1c<_0x1d3052;_0x11bf1c+=0x1)_0x513a7a[_0x42830c]+=0x1,_0x71d0f9=_0x3bc6f0[_0x11bf1c],_0x92f3e0=_0x16dbd2['indexOf'](_0x71d0f9),_0x3a6287=_0x71d0f9['length'],_0x16fbd3['push']({'selector':_0x475163['substr'](_0x92f3e0,_0x3a6287),'type':_0x42830c,'index':_0x92f3e0,'length':_0x3a6287}),_0x16dbd2=_0x16dbd2['replace'](_0x71d0f9,Array(_0x3a6287+0x1)['join']('\x20'));}},_0x51f5cf=function(_0x2b7798){var _0xe676d0,_0x16194a,_0x146666,_0xdf0273;if(_0x2b7798['test'](_0x16dbd2)){for(_0x16194a=0x0,_0x146666=(_0xe676d0=_0x16dbd2['match'](_0x2b7798))['length'];_0x16194a<_0x146666;_0x16194a+=0x1)_0xdf0273=_0xe676d0[_0x16194a],_0x16dbd2=_0x16dbd2['replace'](_0xdf0273,Array(_0xdf0273['length']+0x1)['join']('A'));}},_0x51f5cf(/\\[0-9A-Fa-f]{6}\s?/g),_0x51f5cf(/\\[0-9A-Fa-f]{1,5}\s/g),_0x51f5cf(/\\./g),(function(){var _0x576fde,_0x3d67a4,_0x4be90b,_0x21f78e,_0xd57d3f=/{[^]*/gm;if(_0xd57d3f['test'](_0x16dbd2)){for(_0x3d67a4=0x0,_0x4be90b=(_0x576fde=_0x16dbd2['match'](_0xd57d3f))['length'];_0x3d67a4<_0x4be90b;_0x3d67a4+=0x1)_0x21f78e=_0x576fde[_0x3d67a4],_0x16dbd2=_0x16dbd2['replace'](_0x21f78e,Array(_0x21f78e['length']+0x1)['join']('\x20'));}}()),_0x3f5978(/(\[[^\]]+\])/g,'b'),_0x3f5978(/(#[^\#\s\+>~\.\[:\)]+)/g,'a'),_0x3f5978(/(\.[^\s\+>~\.\[:\)]+)/g,'b'),_0x3f5978(/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,'c'),_0x3f5978(/(:(?!not|global|local)[\w-]+\([^\)]*\))/gi,'b'),_0x3f5978(/(:(?!not|global|local)[^\s\+>~\.\[:]+)/g,'b'),_0x16dbd2=(_0x16dbd2=(_0x16dbd2=(_0x16dbd2=(_0x16dbd2=(_0x16dbd2=_0x16dbd2['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'),_0x3f5978(/([^\s\+>~\.\[:]+)/g,'c'),_0x16fbd3['sort'](function(_0xad9cc4,_0x4b57fb){return _0xad9cc4['index']-_0x4b57fb['index'];}),{'selector':_0x475163,'specificity':'0,'+_0x513a7a['a']['toString']()+','+_0x513a7a['b']['toString']()+','+_0x513a7a['c']['toString'](),'specificityArray':[0x0,_0x513a7a['a'],_0x513a7a['b'],_0x513a7a['c']],'parts':_0x16fbd3};};function P_(_0x285477){const _0x249d6f=[];let _0x13e4c0='',_0x11b180=0x0;for(;_0x11b180<_0x285477['length'];){const _0x155a1=_0x285477[_0x11b180];if('('===_0x155a1){const _0xcb5ed1=M_(_0x285477,_0x11b180+0x1);if(-0x1===_0xcb5ed1)return[];_0x13e4c0+=_0x285477['slice'](_0x11b180,_0xcb5ed1+0x1),_0x11b180=_0xcb5ed1+0x1;}else','!==_0x155a1||_0x13e4c0['endsWith']('\x5c')?(_0x13e4c0+=_0x155a1,_0x11b180++):(_0x249d6f['push'](_0x13e4c0['trim']()),_0x13e4c0='',_0x11b180++);}return _0x13e4c0['trim']()&&_0x249d6f['push'](_0x13e4c0['trim']()),_0x249d6f['filter'](Boolean);}function M_(_0xb57bb2,_0x4b837b){let _0x3fed63=0x1;for(let _0x255bd7=_0x4b837b;_0x255bd7<_0xb57bb2['length'];_0x255bd7++){const _0x15b3e6=_0xb57bb2[_0x255bd7];if('('===_0x15b3e6)_0x3fed63++;else{if(')'===_0x15b3e6&&(_0x3fed63--,0x0===_0x3fed63))return _0x255bd7;}}return-0x1;}function N_(_0x1c3d27){return _0x1c3d27['replace'](/!\s*important/i,'')['trim']();}function L_(_0xbad861){const _0x514428=new Map();for(const {stylesMap:_0x55dfcb,flatSelector:_0x533ebf}of _0xbad861){if(':root'!==_0x533ebf)continue;const _0x412c13=$_(_0x514428['get']['bind'](_0x514428),_0x55dfcb);for(const [_0x5c0af4,_0x2aa6ca]of _0x412c13)_0x514428['set'](_0x5c0af4,_0x2aa6ca);}return _0x514428;}function $_(_0x2b07b2,_0x3c2c7e){const _0x45503f=new Map(),_0x899cc7=_0x33d34a=>_0x45503f['has'](_0x33d34a)?_0x45503f['get'](_0x33d34a):_0x2b07b2(_0x33d34a);for(const [_0x3ae163,_0x3f895a]of _0x3c2c7e['getStylesEntries']())if(_0x3f895a&&_0x3ae163['startsWith']('--')){const _0x44d417=D_(_0x899cc7,_0x3f895a);_0x45503f['set'](_0x3ae163,_0x44d417),_0x3c2c7e['remove'](_0x3ae163);}for(const [_0x25caf9,_0x5b3762]of _0x3c2c7e['getStylesEntries']())if(_0x5b3762){const _0x167e18=D_(_0x899cc7,_0x5b3762);_0x3c2c7e['set'](_0x25caf9,_0x167e18);}return _0x45503f;}function D_(_0x57c5ab,_0x3e1d93){return function(_0x58f6bb,_0x29c237){let _0x13db19='',_0x1bb87a=0x0;for(;_0x1bb87a<_0x58f6bb['length'];){const _0xdb480b=_0x58f6bb['indexOf']('var(',_0x1bb87a);if(-0x1===_0xdb480b){_0x13db19+=_0x58f6bb['slice'](_0x1bb87a);break;}_0x13db19+=_0x58f6bb['slice'](_0x1bb87a,_0xdb480b);const _0x170945=_0xdb480b+0x4,_0x30ac3d=M_(_0x58f6bb,_0x170945);_0x13db19+=_0x29c237(_0x58f6bb['substring'](_0x170945,_0x30ac3d)),_0x1bb87a=_0x30ac3d+0x1;}return _0x13db19;}(_0x3e1d93,_0x2973f1=>{const [_0x519a60,_0x29de40]=P_(_0x2973f1),_0x36c0df=_0x57c5ab(_0x519a60);return void 0x0!==_0x36c0df?_0x36c0df:_0x29de40?D_(_0x57c5ab,_0x29de40):'var('+_0x519a60+')';});}async function Q_(_0xe5fc0a){const _0x4ec031=[await _0x31097e(_0xe5fc0a['stylesheets']),_0xe5fc0a['inlineCss']]['filter'](_0x195646=>_0x195646&&_0x195646['length'])['join']('\x0a'),_0x5b4a9e=await async function(_0x30d56e,_0x1c50fa){const _0x28dca5=new CSSStyleSheet();return await _0x28dca5['replace'](_0x1c50fa),j_(Array['from'](_0x28dca5['cssRules'])['filter'](_0xe65fe7=>_0xe65fe7 instanceof CSSStyleRule))['flatMap'](({selectorText:_0x272885,contentCssText:_0x4bac44})=>{const _0x2a1b93=P_(_0x272885),_0x21df25=new _0x4dde00(_0x30d56e)['setTo'](_0x4bac44);return _0x2a1b93['map'](_0x84ab1c=>{const _0x5dfa7e=function(_0x5f4c79){const _0x3f1547=':where(';let _0x308ee6=_0x5f4c79,_0x566a82=0x0;for(let _0x4477f4=0x0;_0x4477f4<0x64;_0x4477f4++){const _0x388868=_0x308ee6['indexOf'](_0x3f1547,_0x566a82);if(-0x1===_0x388868)break;let _0x1ce53b=0x0;for(let _0xcf90b4=0x0;_0xcf90b4<_0x388868;_0xcf90b4++)'('===_0x308ee6[_0xcf90b4]?_0x1ce53b++:')'===_0x308ee6[_0xcf90b4]&&_0x1ce53b--;if(_0x1ce53b>0x0){_0x566a82=_0x388868+0x7;continue;}let _0x55c2ea=-0x1;for(let _0x3d730e=_0x388868+0x7,_0x217a40=0x1;_0x3d730e<_0x308ee6['length'];_0x3d730e++)if('('===_0x308ee6[_0x3d730e]?_0x217a40++:')'===_0x308ee6[_0x3d730e]&&_0x217a40--,!_0x217a40){_0x55c2ea=_0x3d730e;break;}-0x1!==_0x55c2ea?(_0x308ee6=_0x308ee6['slice'](0x0,_0x388868)+_0x308ee6['slice'](_0x55c2ea+0x1),_0x566a82=_0x388868):_0x566a82=_0x388868+0x7;}return _0x308ee6['replace'](/\s+/g,'\x20')['trim']();}(_0x84ab1c);return{'stylesMap':_0x21df25,'flatSelector':_0x84ab1c,'specificity':_0x5dfa7e?C_(_0x5dfa7e)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0]};});})['sort']((_0xed9323,_0x31a386)=>function(_0x52a563,_0x50142f){var _0x3462f2,_0x251a6d,_0x342581;if('string'==typeof _0x52a563){if(-0x1!==_0x52a563['indexOf'](','))throw'Invalid\x20CSS\x20selector';_0x3462f2=R_(_0x52a563)['specificityArray'];}else{if(!Array['isArray'](_0x52a563))throw'Invalid\x20CSS\x20selector\x20or\x20specificity\x20array';if(0x4!==_0x52a563['filter'](function(_0x443a94){return'number'==typeof _0x443a94;})['length'])throw'Invalid\x20specificity\x20array';_0x3462f2=_0x52a563;}if('string'==typeof _0x50142f){if(-0x1!==_0x50142f['indexOf'](','))throw'Invalid\x20CSS\x20selector';_0x251a6d=R_(_0x50142f)['specificityArray'];}else{if(!Array['isArray'](_0x50142f))throw'Invalid\x20CSS\x20selector\x20or\x20specificity\x20array';if(0x4!==_0x50142f['filter'](function(_0x1386ac){return'number'==typeof _0x1386ac;})['length'])throw'Invalid\x20specificity\x20array';_0x251a6d=_0x50142f;}for(_0x342581=0x0;_0x342581<0x4;_0x342581+=0x1){if(_0x3462f2[_0x342581]<_0x251a6d[_0x342581])return-0x1;if(_0x3462f2[_0x342581]>_0x251a6d[_0x342581])return 0x1;}return 0x0;}(_0xed9323['specificity'],_0x31a386['specificity']));}(_0xe5fc0a['stylesProcessor'],_0x4ec031);return{'parsedCssRules':_0x5b4a9e,'rootCssVariables':L_(_0x5b4a9e)};}function j_(_0x241750,_0x551b06=''){return _0x241750['flatMap'](_0x3903bd=>{const {selectorText:_0x203b40,cssText:_0x4a51e7,cssRules:_0x2439ac}=_0x3903bd;if(!_0x203b40)return[];const _0xe74a13=_0x203b40['replace'](/&/g,_0x551b06);let _0x152ab7=_0x4a51e7['replace'](_0x203b40,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x2439ac||!_0x2439ac['length'])return[{'selectorText':_0xe74a13,'contentCssText':_0x152ab7}];for(const _0x19f26d of _0x2439ac)_0x152ab7=_0x152ab7['replace'](_0x19f26d['cssText'],'')['trim']();return[{'selectorText':_0xe74a13,'contentCssText':_0x152ab7},...j_(Array['from'](_0x2439ac),_0xe74a13)];});}function U_(_0x5bd575,_0x124e6){const _0x185774=new _0x4dde00(_0x5bd575);for(const _0x536996 of _0x124e6){let _0x365369=null;if(_0x365369='string'==typeof _0x536996?new _0x4dde00(_0x5bd575)['setTo'](_0x536996):_0x536996,_0x365369){for(const [_0x43de35,_0x24baaf]of _0x365369['getStylesEntries']())_0x185774['set'](_0x43de35,_0x24baaf);}}return _0x185774;}var V_=class extends _0x32be70{['_stylesProcessor'];constructor(_0x52ef47){super(_0x52ef47),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x11eb11(this['_stylesProcessor']),_0x186ec0(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x58bf36){const _0x42e0a3=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x4ac4a8}=this['editor']['locale'],{rootName:_0x2a7327='main',dataControllerDowncastOptions:_0xa9819f={},transformations:_0x36025f=_0x42e0a3['transformations']||[]}=_0x58bf36||{};this['isBusy']=!0x0,this['refresh']();const _0x1bd037=this['_getRootDataHTMLFragment'](_0x2a7327,_0xa9819f),_0x3af227=_0x1a6ae6(_0x1bd037['ownerDocument'],'div',{'dir':_0x4ac4a8,'class':'ck-content'},[_0x1bd037]);return this['_collectAndApplyStyles'](_0x36025f,_0x3af227)['then'](()=>{const _0x16ad8f=function(_0xb68cf0){const _0x1bc8de=_0xb68cf0['ownerDocument']['createDocumentFragment']();for(;_0xb68cf0['firstChild'];)_0x1bc8de['appendChild'](_0xb68cf0['firstChild']);return _0x1bc8de;}(_0x3af227),_0x1a1aad=_0x3af227['getAttribute']('style');if(_0x1a1aad)for(const _0x26f6c5 of _0x16ad8f['children']){const _0x57df89=_0x26f6c5['getAttribute']('style'),_0x2574a6=U_(this['_stylesProcessor'],[_0x1a1aad,_0x57df89]);_0x26f6c5['setAttribute']('style',B_(_0x2574a6));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x16ad8f);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x657ff6,_0x123c9c){const {data:_0x31d931,model:_0x2a998f}=this['editor'],_0x36c99a=_0x2a998f['document']['getRoot'](_0x657ff6),_0x2a2675=_0x31d931['toView'](_0x36c99a,_0x123c9c);return _0x31d931['htmlProcessor']['domConverter']['viewToDom'](_0x2a2675);}async['_collectAndApplyStyles'](_0x44ee69,_0x542371){const {stylesheets:_0x4bd527,inlineCss:_0x2c7fb1,stripCssClasses:_0x3d0d28}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x1dc9f6,rootCssVariables:_0x4ad53b}=await Q_({'stylesheets':_0x4bd527||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x2c7fb1}),_0x392a66=[];this['_processElementTree']({'transformations':_0x44ee69,'parsedCssRules':_0x1dc9f6,'element':_0x542371,'stripCssClasses':_0x3d0d28,'parentCSSVariablesLookup':_0x4ad53b['get']['bind'](_0x4ad53b),'runAfterDocumentTransformation':_0x51e1e0=>{_0x392a66['unshift'](_0x51e1e0);}});for(const _0x328ac1 of _0x392a66)_0x328ac1();}['_processElementTree']({element:_0x34b85f,parsedCssRules:_0x466737,parentCSSVariablesLookup:_0x1a83c3,runAfterDocumentTransformation:_0x51c969,stripCssClasses:_0x5a2834,transformations:_0x300749}){const {stylesMap:_0x4163c2,localCSSVariables:_0x341c5b}=function(_0x22f300){const _0x212cca=_0x22f300['element']['getAttribute']('style')||'',_0x5d674c=_0x22f300['parsedCssRules']['filter'](_0x483951=>_0x22f300['element']['matches'](_0x483951['flatSelector']))['map'](_0x65c527=>_0x65c527['stylesMap']),_0x50ba34=U_(_0x22f300['stylesProcessor'],[..._0x5d674c,_0x212cca]);return{'localCSSVariables':$_(_0x22f300['fallbackCSSVariablesLookup'],_0x50ba34),'stylesMap':_0x50ba34};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x1a83c3,'parsedCssRules':_0x466737,'element':_0x34b85f}),_0x281cae=[];for(const _0x413c3c of _0x300749){const _0x129509=_0x413c3c(_0x34b85f,_0x4163c2,{'runAfterDocumentTransformation':_0x51c969,'runAfterChildrenTransformation':_0x7d6333=>{_0x281cae['unshift'](_0x7d6333);}});_0x129509&&_0x129509 instanceof HTMLElement&&(_0x34b85f=_0x129509);}_0x4163c2['size']?_0x34b85f['setAttribute']('style',B_(_0x4163c2)):_0x34b85f['removeAttribute']('style');const _0x3ce064=_0x16bc49=>_0x341c5b['has'](_0x16bc49)?_0x341c5b['get'](_0x16bc49):_0x1a83c3(_0x16bc49);for(const _0x269552 of _0x34b85f['children'])_0x269552 instanceof HTMLElement&&this['_processElementTree']({'element':_0x269552,'parsedCssRules':_0x466737,'stripCssClasses':_0x5a2834,'transformations':_0x300749,'parentCSSVariablesLookup':_0x3ce064,'runAfterDocumentTransformation':_0x51c969});_0x5a2834&&_0x34b85f['removeAttribute']('class');for(const _0x2c29a0 of _0x281cae)_0x2c29a0();}};function B_(_0x3e63c9){return _0x3e63c9['getStylesEntries']()['map'](_0x3d0b43=>_0x3d0b43['join'](':'))['join'](';')+';';}var F_=class extends _0x36b920{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 V_(this['editor']));}['afterInit'](){!async function(_0x1a506c){const _0x540e73='DUA610emL4Q2kjVIvGMHgWT3uySnzPEw79oZJiCrbstcXKq85NhdfaFRxBlpOY',_0x3663ec=0x78fc0,_0x5d6468=window['Date']['now'](),_0x1fa07e=_0x1a506c['editor'],_0x1cec0a=new window['Promise'](_0x299bb2=>{_0x1fa07e['once']('ready',_0x299bb2);}),_0x5e45b6={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x475c92=_0x1fa07e['config']['get']('licenseKey');async function _0x4c009a(){let _0x4379c3,_0x9a7d50=null,_0x4bdaec=null;try{return'GPL'==_0x475c92?'NotAllowed':(_0x4379c3=_0x5c5262(),_0x4379c3?(_0x4379c3['usageEndpoint']&&(_0x4bdaec=_0x514a50(_0x4379c3['usageEndpoint'],_0x4379c3['jti'])),await _0x387b6e()?_0x526495()?_0x41c381()?'Expired':_0x9e786a()?('evaluation'==_0x4379c3['licenseType']&&(_0x9a7d50=_0x37142c('EvaluationLimit')),await _0x5bd4d7()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x41c381(){const _0x39ffda=['evaluation','trial']['includes'](_0x4379c3['licenseType'])?_0x5d6468/0x3e8:0xe10*_0x3663ec;return _0x4379c3['exp']<_0x39ffda;}function _0x526495(){const _0x5ce259=_0x4379c3['features'];return!!_0x5ce259&&(!!_0x5ce259['includes']('*')||!!_0x5ce259['includes']('EIS'));}function _0x9e786a(){const _0x36e513=_0x4379c3['licensedHosts'];if(!_0x36e513||0x0==_0x36e513['length'])return!0x0;const {hostname:_0x5a4f40}=new URL(window['location']['href']);if(_0x36e513['includes'](_0x5a4f40))return!0x0;const _0x4bb9db=_0x5a4f40['split']('.');return _0x36e513['filter'](_0x664048=>_0x664048['includes']('*'))['map'](_0x2aa1d6=>_0x2aa1d6['split']('.'))['filter'](_0x1a745b=>_0x1a745b['length']<=_0x4bb9db['length'])['map'](_0x521601=>Array(_0x4bb9db['length']-_0x521601['length'])['fill']('*'===_0x521601[0x0]?'*':'')['concat'](_0x521601))['some'](_0x5cbad1=>_0x4bb9db['every']((_0x560679,_0x172058)=>_0x5cbad1[_0x172058]===_0x560679||'*'===_0x5cbad1[_0x172058]));}function _0x5bd4d7(){return _0x9a7d50&&_0x4bdaec?new window['Promise']((_0x4a66e2,_0x47d043)=>{_0x9a7d50['then'](_0x4a66e2,_0x47d043),_0x4bdaec['then'](_0x131878=>{'Valid'!=_0x131878&&_0x4a66e2(_0x131878);},_0x47d043);}):_0x9a7d50||_0x4bdaec||'Valid';}}function _0x514a50(_0x5dbb72,_0x1e12d3){return new window['Promise'](_0xf4932f=>{if(_0x2fa2f8())return _0xf4932f('Valid');_0x1f5aeb(),_0x1fa07e['decorate']('_sendUsageRequest');let _0x1df307=!0x1;const _0x4bb805=_0x10825a();function _0x2cb958(_0x143936){return!!_0x143936&&('object'==typeof _0x143936||'function'==typeof _0x143936)&&'function'==typeof _0x143936['then']&&'function'==typeof _0x143936['catch'];}function _0x3e24d2(_0x544275){_0x5c2c50(_0x544275)['then'](_0x5ef649=>_0x5ef649&&'ok'==_0x5ef649['status']?_0x1ef03c(_0x106312(_0x4bb805+_0x1e12d3))!=_0x5ef649['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x13a04c=>(_0x277779(),_0x13a04c),()=>{const _0x3e305c=_0x345243();return null==_0x3e305c?(_0x277779(),'Valid'):_0x5d6468-_0x3e305c>0x240c8400?'UsageLimit':'Valid';})['then'](_0xf4932f)['catch'](()=>{_0xf4932f('UsageLimit');});const _0xb96689=0x36ee80;function _0x277779(){const _0x3041a4='llct-'+_0x1ef03c(_0x106312(_0x5dbb72)),_0x3be883=_0x1e6c95(_0x1ef03c(window['Math']['ceil'](_0x5d6468/_0xb96689)));window['localStorage']['setItem'](_0x3041a4,_0x3be883);}function _0x345243(){const _0x5203f2='llct-'+_0x1ef03c(_0x106312(_0x5dbb72)),_0x88c8d=window['localStorage']['getItem'](_0x5203f2);return _0x88c8d?window['parseInt'](_0x1e6c95(_0x88c8d),0x10)*_0xb96689:null;}function _0x5c2c50(_0x54269d){return new window['Promise']((_0xe2a260,_0xec4422)=>{_0x54269d['then'](_0xe2a260,_0xec4422),window['setTimeout'](_0xec4422,0x1d4c0);});}}_0x1fa07e['on']('_sendUsageRequest',(_0x3087d0,_0x31d62f)=>{if(_0x31d62f[0x0]!=_0x5dbb72)return _0xf4932f('UsageLimit');_0x31d62f[0x1]={..._0x31d62f[0x1],'requestId':_0x4bb805};},{'priority':'high'}),_0x1fa07e['on']('_sendUsageRequest',_0xc4f0ca=>{_0x2cb958(_0xc4f0ca['return'])&&(_0x1df307=!0x0,_0x3e24d2(_0xc4f0ca['return']));},{'priority':'low'}),_0x1cec0a['then'](()=>{_0x1df307||_0xf4932f('UsageLimit');});});function _0x2fa2f8(){return'auto'==_0x1fa07e['editing']['view']['_overlayModeHint'];}function _0x1f5aeb(){_0x1fa07e['editing']['view']['_overlayModeHint']='auto';}}function _0x37142c(_0x54154e){const _0x522304=[new window['Promise'](_0x25bfa0=>setTimeout(_0x25bfa0,0x93ecc)),_0x1cec0a['then'](()=>new window['Promise'](_0x22c095=>{let _0x750f3d=0x0;_0x1fa07e['model']['on']('applyOperation',(_0x428b11,_0x2ed06d)=>{_0x2ed06d[0x0]['isDocumentOperation']&&_0x750f3d++,0x5e8==_0x750f3d&&(_0x22c095(),_0x428b11['off']());});}))];return window['Promise']['race'](_0x522304)['then'](()=>_0x54154e);}async function _0x527795(){await _0x1cec0a;const _0x59a18e=_0x1fa07e['commands']['get']('exportInlineStyles');_0x59a18e&&_0x59a18e['on']('execute',_0x4ec145=>{_0x4ec145['stop']();},{'priority':'highest'}),_0x1fa07e['model']['change']=_0x3d784b,_0x1fa07e['model']['enqueueChange']=_0x3d784b,_0x1fa07e['enableReadOnlyMode']('model');}function _0x2ed7ec(_0x40be18){const _0x1e69ae=_0x497396();_0x1fa07e[_0x1e69ae]='exportInlineStylesLicenseKey'+_0x40be18,'Valid'!=_0x40be18&&_0x527795();}function _0x497396(){const _0x598c66=window['String'](window['performance']['now']())['replace']('.','');let _0x3c8d8f='D';for(let _0x2d1a84=0x0;_0x2d1a84<_0x598c66['length'];_0x2d1a84+=0x2){let _0x2a591d=window['parseInt'](_0x598c66['substring'](_0x2d1a84,_0x2d1a84+0x2));_0x2a591d>=0x3e&&(_0x2a591d-=0x3e),_0x3c8d8f+=_0x540e73[_0x2a591d];}return _0x3c8d8f;}function _0x5c5262(){const _0x3c7629=_0x475c92['split']('.');if(0x3!=_0x3c7629['length'])return null;return _0xda1002(_0x3c7629[0x1]);function _0xda1002(_0x478d56){const _0x3ce6eb=_0x37ce0f(_0x478d56);return _0x3ce6eb&&_0x305b33()?_0x3ce6eb:null;function _0x305b33(){const _0x179d0f=_0x3ce6eb['jti'],_0x45bd2c=window['parseInt'](_0x179d0f['substring'](_0x179d0f['length']-0x8),0x10),_0x3be54f={..._0x3ce6eb,'jti':_0x179d0f['substring'](0x0,_0x179d0f['length']-0x8)};return delete _0x3be54f['vc'],_0x106312(_0x3be54f)==_0x45bd2c;}}}async function _0x387b6e(){let _0x3f4fa4=!0x0;try{const [_0x1a9f3c,_0x21d0dd,_0x2f3a82]=_0x475c92['split']('.');return _0x11b579(_0x1a9f3c),await _0x153d06(_0x1a9f3c,_0x21d0dd,_0x2f3a82),_0x3f4fa4;}catch{return!0x1;}function _0x11b579(_0x424b31){const _0x2cb208=_0x37ce0f(_0x424b31);_0x2cb208&&'ES256'==_0x2cb208['alg']||(_0x3f4fa4=!0x1);}async function _0x153d06(_0x7736ed,_0x491395,_0x1f52ba){const _0x1cdc79=window['Uint8Array']['from'](_0x18a929(_0x1f52ba),_0x4d4f82=>_0x4d4f82['charCodeAt'](0x0)),_0x3fa405=new window['TextEncoder']()['encode'](_0x7736ed+'.'+_0x491395),_0x55c4e5=window['crypto']['subtle'];if(!_0x55c4e5)return;const _0x13cef7=await _0x55c4e5['importKey']('jwk',_0x5e45b6,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x55c4e5['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x13cef7,_0x1cdc79,_0x3fa405)||(_0x3f4fa4=!0x1);}}function _0x37ce0f(_0x58adec){return _0x58adec['startsWith']('ey')?JSON['parse'](_0x18a929(_0x58adec)):null;}function _0x18a929(_0x86a4a8){return window['atob'](_0x86a4a8['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x106312(_0x50b77b){let _0x255d8b=0x1505;function _0x2a40bf(_0x59629e){for(let _0x1be192=0x0;_0x1be192<_0x59629e['length'];_0x1be192++){const _0x38d50b=_0x59629e['charCodeAt'](_0x1be192);_0x255d8b=(_0x255d8b<<0x5)+_0x255d8b+_0x38d50b,_0x255d8b&=_0x255d8b;}}function _0x530ce5(_0x48aea7){Array['isArray'](_0x48aea7)?_0x48aea7['forEach'](_0x530ce5):_0x48aea7&&'object'==typeof _0x48aea7?Object['entries'](_0x48aea7)['sort']()['forEach'](([_0x2935f3,_0x306304])=>{_0x2a40bf(_0x2935f3),_0x530ce5(_0x306304);}):_0x2a40bf(window['String'](_0x48aea7));}return _0x530ce5(_0x50b77b),_0x255d8b>>>0x0;}function _0x1ef03c(_0x18eb0f){return _0x18eb0f['toString'](0x10)['padStart'](0x8,'0');}function _0x1e6c95(_0xa7b135){return _0xa7b135['split']('')['reverse']()['join']('');}function _0x3d784b(){}_0x2ed7ec(await _0x4c009a());}(this);}},H_=class extends _0x36b920{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'ExportInlineStyles';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[F_];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x159f9f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3aef43;for(const _0x31e64b in _0x159f9f){const _0x10cae0=_0x31e64b,_0x39d31c=_0x159f9f[_0x10cae0];if('exportInlineStylesLicenseKeyValid'==_0x39d31c||'exportInlineStylesLicenseKeyInvalid'==_0x39d31c||'exportInlineStylesLicenseKeyExpired'==_0x39d31c||'exportInlineStylesLicenseKeyDomainLimit'==_0x39d31c||'exportInlineStylesLicenseKeyNotAllowed'==_0x39d31c||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x39d31c||'exportInlineStylesLicenseKeyUsageLimit'==_0x39d31c){delete _0x159f9f[_0x10cae0],_0x3aef43=_0x39d31c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x3aef43&&_0x159f9f['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x3aef43&&_0x159f9f['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x3aef43&&_0x159f9f['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x3aef43&&_0x159f9f['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x3aef43&&_0x159f9f['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x3aef43&&_0x159f9f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function Z_(_0x56a420,_0x1eba4b){const _0x1cd182=_0x56a420['ownerDocument'],{table:_0x1f34f2,cell:_0x50aae6}=G_(_0x1cd182,'100%');_0x1eba4b['align']&&_0x50aae6['setAttribute']('align',N_(_0x1eba4b['align']));let _0x32886a=_0x50aae6;if(_0x1eba4b['width']){const {table:_0x327db5,cell:_0x451c67}=G_(_0x1cd182,N_(_0x1eba4b['width']));_0x50aae6['appendChild'](_0x327db5),_0x32886a=_0x451c67;}return _0x56a420['replaceWith'](_0x1f34f2),_0x56a420['removeAttribute']('align'),_0x56a420['removeAttribute']('width'),_0x32886a['appendChild'](_0x56a420),_0x32886a;}function G_(_0x1bd89f,_0x55d0c5){const _0x391849=_0x1bd89f['createElement']('table');_0x55d0c5&&(_0x391849['style']['width']=_0x55d0c5,_0x391849['setAttribute']('width',Y_(_0x55d0c5))),_0x391849['setAttribute']('cellpadding','0'),_0x391849['setAttribute']('cellspacing','0'),_0x391849['setAttribute']('border','0'),_0x391849['setAttribute']('role','presentation');const _0xc0fce0=_0x1bd89f['createElement']('tbody'),_0x4f3c1c=_0x1bd89f['createElement']('tr'),_0x46c574=_0x1bd89f['createElement']('td');return _0x391849['appendChild'](_0xc0fce0),_0xc0fce0['appendChild'](_0x4f3c1c),_0x4f3c1c['appendChild'](_0x46c574),{'table':_0x391849,'cell':_0x46c574};}function X_(_0x5aadad){const _0x4e9730=_0x5aadad['getAsString']('margin-left'),_0x5a6852=_0x5aadad['getAsString']('margin-right'),_0x9900e=_0x4e9730&&N_(_0x4e9730),_0x1b2cd6=_0x5a6852&&N_(_0x5a6852);return'auto'===_0x9900e&&'auto'===_0x1b2cd6?'center':'auto'===_0x9900e?'right':'auto'===_0x1b2cd6?'left':void 0x0;}function q_(_0x179925,_0x26c4b8){const _0x577727=_0x179925['ownerDocument']['createElement'](_0x26c4b8);for(const _0x36e52e of Array['from'](_0x179925['attributes']))_0x577727['setAttribute'](_0x36e52e['name'],_0x36e52e['value']);for(;_0x179925['firstChild'];)_0x577727['appendChild'](_0x179925['firstChild']);return _0x577727;}function W_(_0x5e1d8a){if('TABLE'!==_0x5e1d8a['tagName'])return!0x1;if('presentation'!==_0x5e1d8a['getAttribute']('role'))return!0x1;const _0x1c6249=z_(_0x5e1d8a);return null!==_0x1c6249&&_0x1c6249['hasAttribute']('align');}function z_(_0x1ab5a0){let _0xb2e42=_0x1ab5a0;0x1===_0x1ab5a0['children']['length']&&'TBODY'===_0x1ab5a0['children'][0x0]['tagName']&&(_0xb2e42=_0x1ab5a0['children'][0x0]);const _0x121a91=_0xb2e42['children'];if(0x1!==_0x121a91['length']||'TR'!==_0x121a91[0x0]['tagName'])return null;const _0x415f39=_0x121a91[0x0]['children'];return 0x1!==_0x415f39['length']||'TD'!==_0x415f39[0x0]['tagName']?null:_0x415f39[0x0];}function Y_(_0x593904){return function(_0x2895ec){return _0x2895ec['endsWith']('px')?_0x2895ec['slice'](0x0,-0x2):_0x2895ec;}(N_(_0x593904));}const K_=(_0x189f46,_0x54ac3b,{runAfterDocumentTransformation:_0x5cbc77,runAfterChildrenTransformation:_0x5e4184})=>{if('FIGURE'!==_0x189f46['tagName'])return;const _0x499653=_0x54ac3b['getAsString']('float');if(_0x499653){if(tE(_0x189f46))_0x5cbc77(()=>{J_(_0x189f46,{'align':_0x499653});});else{const {table:_0x366180,cell:_0x21965d}=G_(_0x189f46['ownerDocument']);_0x366180['setAttribute']('align',N_(_0x499653)),_0x366180['setAttribute']('style',function(_0x23ea4d){return _0x23ea4d['getStylesEntries']()['map'](_0x4f5f75=>_0x4f5f75['join'](':'))['join'](';')+';';}(_0x54ac3b)),_0x5e4184(()=>{for(const _0x321fc7 of Array['from'](_0x189f46['childNodes']))_0x21965d['appendChild'](_0x321fc7);}),_0x5cbc77(()=>{_0x189f46['replaceWith'](_0x366180);});}}else{const _0xc9d2ec=X_(_0x54ac3b),_0x229d6f=_0x54ac3b['getAsString']('width');if(!_0xc9d2ec&&!_0x229d6f)return;Z_(_0x189f46,{'align':_0xc9d2ec,'width':_0x229d6f}),_0x229d6f&&_0x54ac3b['set']('width','100%'),_0x54ac3b['remove']('margin-left'),_0x54ac3b['remove']('margin-right'),_0x54ac3b['remove']('min-width'),_0x54ac3b['remove']('max-width'),_0x5cbc77(()=>{if(!J_(_0x189f46)){const _0x38b48f=q_(_0x189f46,'div');_0x189f46['replaceWith'](_0x38b48f);}});}};function J_(_0x565e62,_0x287e27={}){const _0x2b4bbf=tE(_0x565e62);if(!_0x2b4bbf)return null;for(const _0x2759ac of['id','class']){const _0x59d12c=_0x565e62['getAttribute'](_0x2759ac);_0x59d12c&&_0x2b4bbf['setAttribute'](_0x2759ac,_0x59d12c);}for(const _0xe44bc8 of['display','float','width','height'])_0x2b4bbf['style']['removeProperty'](_0xe44bc8);const _0x5c11b9=_0x565e62['getAttribute']('style');if(_0x5c11b9){const _0x4d111a=_0x2b4bbf['getAttribute']('style')||'';_0x2b4bbf['setAttribute']('style',_0x5c11b9+_0x4d111a);}return _0x287e27['align']&&_0x2b4bbf['setAttribute']('align',N_(_0x287e27['align'])),'fixed'!==_0x2b4bbf['style']['tableLayout']||_0x2b4bbf['style']['width']||(_0x2b4bbf['style']['width']='100%',_0x2b4bbf['setAttribute']('width','100%')),_0x565e62['replaceWith'](_0x2b4bbf),_0x2b4bbf;}function tE(_0x4c2dec){const _0x53f985=Array['from'](_0x4c2dec['children']);return 0x1===_0x53f985['length']&&'TABLE'===_0x53f985[0x0]['tagName']?_0x53f985[0x0]:null;}var eE=class extends _0x36b920{static get['requires'](){return[A_];}static get['pluginName'](){return'ImageEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x4432c2,plugins:_0x261199}=this['editor'];_0x4432c2['get']('exportInlineStyles')?.['transformations']?.['includes'](K_)||_0x261199['get'](A_)['_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.'});}},iE=class extends _0x36b920{static get['requires'](){return[A_];}static get['pluginName'](){return'MathTypeEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](A_)['_checkUnsupportedPlugin']('MathType');}},sE=class extends _0x36b920{static get['requires'](){return[A_];}static get['pluginName'](){return'ExportInlineStylesEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x3d3c37=this['editor']['plugins']['get'](A_);this['editor']['plugins']['has']('ExportInlineStyles')||_0x3d3c37['_logSuppressibleWarning']('email-configuration-missing-export-inline-styles-plugin');}},nE=class extends _0x36b920{static get['requires'](){return[A_];}static get['pluginName'](){return'ListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x2f04b6=this['editor']['plugins']['get'](A_),_0x3e44e8=this['editor']['config']['get']('list');_0x3e44e8&&_0x3e44e8['properties']&&_0x3e44e8['properties']['reversed']&&_0x2f04b6['_logSuppressibleWarning']('email-configuration-unsupported-reversed-list'),_0x3e44e8&&_0x3e44e8['enableListItemMarkerFormatting']&&_0x2f04b6['_logSuppressibleWarning']('email-configuration-unsupported-list-item-marker-formatting');}},rE=class extends _0x36b920{static get['requires'](){return[A_];}static get['pluginName'](){return'TableEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['_checkRequiredTablePlugins'](),this['_checkTableConfig']();}['_checkRequiredTablePlugins'](){const {plugins:_0xf1fbca}=this['editor'],_0x523b4f=_0xf1fbca['get'](A_);_0xf1fbca['has']('Table')&&(_0xf1fbca['has']('PlainTableOutput')||_0x523b4f['_logSuppressibleWarning']('email-configuration-missing-plain-table-output-plugin'),_0xf1fbca['has']('TableLayout')||_0x523b4f['_logSuppressibleWarning']('email-configuration-missing-table-layout-plugin'));}['_checkTableConfig'](){const {config:_0x593233,plugins:_0x5676ac}=this['editor'];_0x593233['get']('table')&&_0x5676ac['has']('Table')&&(this['_checkTablePropertiesConfig']('tableCellProperties'),this['_checkTablePropertiesConfig']('tableProperties'));}['_checkTablePropertiesConfig'](_0x501f47){const _0x52bd88=this['editor']['plugins']['get'](A_);_0x52bd88['_validateConfigColorValue']('table.'+_0x501f47+'.borderColors'),_0x52bd88['_validateConfigColorValue']('table.'+_0x501f47+'.backgroundColors'),_0x52bd88['_validateConfigColorValue']('table.'+_0x501f47+'.defaultProperties.borderColor'),_0x52bd88['_validateConfigColorValue']('table.'+_0x501f47+'.defaultProperties'),_0x52bd88['_validateConfigColorFormat']('table.'+_0x501f47+'.colorPicker.format');}},oE=class extends _0x36b920{static get['requires'](){return[A_];}static get['pluginName'](){return'EmptyBlockEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x597321=this['editor']['plugins']['get'](A_);this['editor']['plugins']['has']('EmptyBlock')||_0x597321['_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');}},aE=class extends _0x36b920{static get['requires'](){return[A_];}static get['pluginName'](){return'FontEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x5584e6}=this['editor'];_0x5584e6['has']('FontColorEditing')&&this['_checkColorConfig']('fontColor'),_0x5584e6['has']('FontBackgroundColorEditing')&&this['_checkColorConfig']('fontBackgroundColor');}['_checkColorConfig'](_0x38310c){const _0x43d354=this['editor']['plugins']['get'](A_);this['editor']['config']['get'](_0x38310c)&&(_0x43d354['_validateConfigColorValue'](_0x38310c+'.colors'),_0x43d354['_validateConfigColorValue'](_0x38310c+'.documentColors'),_0x43d354['_validateConfigColorFormat'](_0x38310c+'.colorPicker.format'));}},cE=class extends _0x36b920{static get['requires'](){return[A_];}static get['pluginName'](){return'SourceEditingEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x123df9}=this['editor'],_0x3b2954=_0x123df9['get'](A_);_0x123df9['has']('SourceEditing')||_0x123df9['has']('SourceEditingEnhanced')||_0x3b2954['_logSuppressibleWarning']('email-configuration-missing-source-editing-plugin');}},lE=class extends _0x36b920{static get['requires'](){return[A_];}static get['pluginName'](){return'MarkdownEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](A_)['_checkUnsupportedPlugin']('Markdown');}},hE=class GeneralHtmlIntegrationSupport extends _0x36b920{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[A_];}static get['pluginName'](){return'GeneralHtmlIntegrationSupport';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x2a7b9d}=this['editor'];if(!_0x2a7b9d['has']('DataFilter'))return;const _0x2a1f2b=_0x2a7b9d['get']('DataFilter'),_0x59072c=_0x2a7b9d['get'](A_);for(const _0x32b14b of GeneralHtmlIntegrationSupport['UNSUPPORTED_ELEMENTS'])_0x2a1f2b['once']('register:'+_0x32b14b,(_0x482b87,_0x1be513)=>{_0x59072c['_logSuppressibleWarning']('email-unsupported-html-element',{'element':_0x1be513['view']});});}},uE=class extends _0x36b920{static get['requires'](){return[A_];}static get['pluginName'](){return'MergeFieldsEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x31bb5c=this['editor']['plugins']['get'](A_);this['editor']['plugins']['has']('MergeFields')||_0x31bb5c['_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');}},dE=class extends _0x36b920{static get['requires'](){return[A_];}static get['pluginName'](){return'TemplateEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x35522e=this['editor']['plugins']['get'](A_);this['editor']['plugins']['has']('Template')||_0x35522e['_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');}},fE=class extends _0x36b920{static get['requires'](){return[A_];}static get['pluginName'](){return'UploadEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](A_)['_checkUnsupportedPlugin']('Base64UploadAdapter');}},mE=class extends _0x36b920{static get['requires'](){return[A_];}static get['pluginName'](){return'MediaEmbedEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](A_)['_checkUnsupportedPlugin']('MediaEmbed');}},pE=class extends _0x36b920{static get['requires'](){return[A_];}static get['pluginName'](){return'TodoListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](A_)['_checkUnsupportedPlugin']('TodoList');}},gE=class extends _0x36b920{static get['requires'](){return[A_];}static get['pluginName'](){return'MultiLevelListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](A_)['_checkUnsupportedPlugin']('MultiLevelList',{'description':'The\x20multi-level\x20lists\x20are\x20rendered\x20incorrectly\x20in\x20Outlook\x202021.'});}},OE=class extends _0x36b920{static get['requires'](){return[A_];}static get['pluginName'](){return'LinkEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x3d7556,plugins:_0xc8105f}=this['editor'],_0x3982be=_0xc8105f['get'](A_);_0x3d7556['get']('exportInlineStyles')?.['transformations']?.['includes'](K_)||_0x3982be['_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.'});}},wE=class extends _0x36b920{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'EmailConfigurationHelper';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[x_,eE,iE,sE,nE,rE,oE,aE,cE,lE,hE,uE,dE,fE,mE,pE,gE,OE];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x20936d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x396be0;for(const _0x1a80ad in _0x20936d){const _0x492dbe=_0x1a80ad,_0x3c1e29=_0x20936d[_0x492dbe];if('emailConfigurationHelperLicenseKeyValid'==_0x3c1e29||'emailConfigurationHelperLicenseKeyInvalid'==_0x3c1e29||'emailConfigurationHelperLicenseKeyExpired'==_0x3c1e29||'emailConfigurationHelperLicenseKeyDomainLimit'==_0x3c1e29||'emailConfigurationHelperLicenseKeyNotAllowed'==_0x3c1e29||'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x3c1e29||'emailConfigurationHelperLicenseKeyUsageLimit'==_0x3c1e29){delete _0x20936d[_0x492dbe],_0x396be0=_0x3c1e29,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'emailConfigurationHelperLicenseKeyInvalid'==_0x396be0&&_0x20936d['_showLicenseError']('invalid'),'emailConfigurationHelperLicenseKeyExpired'==_0x396be0&&_0x20936d['_showLicenseError']('expired'),'emailConfigurationHelperLicenseKeyDomainLimit'==_0x396be0&&_0x20936d['_showLicenseError']('domainLimit'),'emailConfigurationHelperLicenseKeyNotAllowed'==_0x396be0&&_0x20936d['_showLicenseError']('featureNotAllowed','EmailConfigurationHelper'),'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x396be0&&_0x20936d['_showLicenseError']('evaluationLimit'),'emailConfigurationHelperLicenseKeyUsageLimit'==_0x396be0&&_0x20936d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};const bE=(_0x49c6f2,_0x2e43a2)=>{if(!['TABLE','IMG']['includes'](_0x49c6f2['tagName']))return;const _0x96ffaf=_0x2e43a2['getAsString']('float');if(_0x96ffaf){const _0x4e8a32=N_(_0x96ffaf);'left'!==_0x4e8a32&&'right'!==_0x4e8a32||_0x49c6f2['setAttribute']('align',_0x4e8a32);}},yE=(_0x5a0527,_0x2b4d4e)=>{if('TABLE'!==_0x5a0527['tagName']||_0x2b4d4e['has']('float'))return;const _0x4b9eaa=X_(_0x2b4d4e),_0x215bf0=_0x2b4d4e['getAsString']('width');_0x4b9eaa&&(Z_(_0x5a0527,{'align':_0x4b9eaa}),_0x215bf0?_0x5a0527['setAttribute']('width',Y_(_0x215bf0)):_0x2b4d4e['remove']('width'),_0x2b4d4e['remove']('margin-left'),_0x2b4d4e['remove']('margin-right'));},vE=(_0x15c7e4,_0xc8ea91)=>{if('IMG'!==_0x15c7e4['tagName'])return;const _0x4cdaf3=_0xc8ea91['getAsString']('width');_0x4cdaf3&&(_0x15c7e4['setAttribute']('width',Y_(_0x4cdaf3)),_0x15c7e4['setAttribute']('height','auto'));},_E=(_0x3010ab,_0x34dfbf,{runAfterDocumentTransformation:_0x5e3efe})=>{if('FIGCAPTION'!==_0x3010ab['tagName'])return;const _0x218dbf=_0x34dfbf['getAsString']('display'),_0x553e58=_0x34dfbf['getAsString']('caption-side');_0x34dfbf['remove']('caption-side'),_0x218dbf&&'table-caption'===N_(_0x218dbf)&&_0x34dfbf['remove']('display');const _0x16d6c6=_0x553e58&&'top'===N_(_0x553e58);_0x5e3efe(()=>{const _0x5d58e0=q_(_0x3010ab,'div'),_0xa63525=_0x3010ab['previousElementSibling'];_0x16d6c6&&_0xa63525&&'TABLE'===_0xa63525['tagName']?(_0xa63525['before'](_0x5d58e0),_0x3010ab['remove']()):_0x3010ab['replaceWith'](_0x5d58e0);});},EE=(_0x46d7d8,_0x15e9f6,{runAfterChildrenTransformation:_0x2069f2})=>{'TD'===_0x46d7d8['tagName']&&_0x2069f2(()=>{const _0x2167eb=Array['from'](_0x46d7d8['children']);if(0x0===_0x2167eb['length'])return;const _0x1e5d55=_0x2167eb['map'](TE),_0x32a908=_0x1e5d55[0x0];if(_0x32a908&&_0x1e5d55['every'](_0x1cbf99=>_0x1cbf99===_0x32a908)){_0x46d7d8['setAttribute']('align',_0x32a908);for(const _0x69b065 of _0x2167eb)if(W_(_0x69b065)){const _0x42da7d=z_(_0x69b065);_0x69b065['replaceWith'](...Array['from'](_0x42da7d['childNodes']));}else _0x69b065['style']['removeProperty']('text-align'),_0x69b065['style']['length']||_0x69b065['removeAttribute']('style');}});};function TE(_0x40deba){return W_(_0x40deba)?z_(_0x40deba)['getAttribute']('align'):_0x40deba['style']['textAlign']||void 0x0;}const AE=(_0x1e78e8,_0x5af210,{runAfterChildrenTransformation:_0x19e9b9})=>{'TABLE'===_0x1e78e8['tagName']&&_0x19e9b9(()=>{const _0x1c2b0d=function(_0x3d785f,_0x587996){for(const _0x220bb2 of _0x3d785f['children'])if(_0x220bb2['tagName']===_0x587996)return _0x220bb2;return null;}(_0x1e78e8,'COLGROUP');if(!_0x1c2b0d)return;const _0x47f53c=Array['from'](_0x1c2b0d['children'])['filter'](_0x2e04e4=>'COL'===_0x2e04e4['tagName']);if(_0x47f53c['some'](_0x3bc830=>kE(_0x3bc830,'span')))return;const _0x3fccc8=_0x47f53c['map'](IE);if(!_0x3fccc8['some'](Boolean))return;const _0x103f49=function(_0x5bfaef){const _0x5dec3c=[];for(const _0x279356 of _0x5bfaef['children'])if(['THEAD','TBODY','TFOOT']['includes'](_0x279356['tagName'])){for(const _0x1592f7 of _0x279356['children'])'TR'===_0x1592f7['tagName']&&_0x5dec3c['push'](_0x1592f7);}return _0x5dec3c;}(_0x1e78e8)['map'](SE);if(!_0x103f49['some'](_0x37bde9=>_0x37bde9['length']!==_0x3fccc8['length']||_0x37bde9['some'](_0x51264d=>function(_0x311f61){return kE(_0x311f61,'colspan')||kE(_0x311f61,'rowspan');}(_0x51264d)||function(_0x26ca5e){return Boolean(_0x26ca5e['style']['getPropertyValue']('width'))||Boolean(_0x26ca5e['getAttribute']('width'));}(_0x51264d)))){for(const _0x27e80b of _0x103f49)_0x27e80b['forEach']((_0x460e58,_0x42f65c)=>{const _0x54ac04=_0x3fccc8[_0x42f65c];_0x54ac04&&(_0x460e58['setAttribute']('width',Y_(_0x54ac04)),_0x460e58['style']['setProperty']('width',_0x54ac04));});}});};function SE(_0x4ab116){return Array['from'](_0x4ab116['children'])['filter'](_0x3e5ab2=>'TD'===_0x3e5ab2['tagName']||'TH'===_0x3e5ab2['tagName']);}function IE(_0x3f8dde){const _0x427cdf=_0x3f8dde['style']['getPropertyValue']('width');if(_0x427cdf)return _0x427cdf;const _0x385dcf=_0x3f8dde['getAttribute']('width');if(!_0x385dcf)return;const _0x279850=N_(_0x385dcf);return/^\d+(\.\d+)?$/['test'](_0x279850)?_0x279850+'px':_0x279850;}function kE(_0x65e841,_0xdb7400){const _0x165b0d=_0x65e841['getAttribute'](_0xdb7400);return null!==_0x165b0d&&'1'!==_0x165b0d;}function xE(_0x5ee00b={}){const _0x5380e1=[];return _0x5ee00b['useFigureToTableFallback']&&_0x5380e1['push'](K_,_E,EE),_0x5380e1['push'](bE,yE,vE,AE),_0x5380e1;}function CE(_0x4720c3,_0x398b42){const t=_0x4720c3['t'];switch(_0x398b42){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 _0x398b42;}}var RE=class extends _0x32be70{constructor(_0x1eb78f){super(_0x1eb78f),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x479f9f={}){const {editor:_0x5a82d8}=this,_0x1e7d5f=_0x479f9f['version']||_0x5a82d8['config']['get']('exportPdf.version'),_0x555571=_0x479f9f['converterUrl']||function(_0x520b42){return 0x2===_0x520b42?'https://pdf-converter.cke-cs.com/v2/convert/html-pdf':'https://pdf-converter.cke-cs.com/v1/convert/';}(_0x1e7d5f),_0x545cb1=_0x479f9f['dataCallback']||(_0x513f31=>_0x513f31['data']['get']()),_0x335686=_0x5a82d8['plugins']['get']('ExportPdf'),_0x45e859=_0x479f9f['token']||_0x335686['_token'];return this['isBusy']=!0x0,this['refresh'](),_0x31097e(_0x479f9f['stylesheets']||['EDITOR_STYLES'])['then'](async _0x4b9653=>{if(_0x5a82d8['ui']['ariaLiveAnnouncer']['announce'](CE(_0x5a82d8['locale'],'PDF\x20export\x20started')),_0x5a82d8['plugins']['has']('MergeFields')){_0x479f9f['converterOptions']||(_0x479f9f['converterOptions']={});const _0x393471=_0x5a82d8['plugins']['get']('MergeFieldsEditing'),_0x4d3ce5=_0x393471['previewMode'],{prefix:_0x4d6917,suffix:_0xd336c6}=_0x5a82d8['config']['get']('mergeFields'),_0x59cc6d='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x2a54a7={'prefix':_0x4d6917,'suffix':_0xd336c6,'data':{}};if('$labels'===_0x4d3ce5){for(const _0x228132 of _0x393471['getMergeFieldsIds']())'image'===_0x393471['getMergeFieldType'](_0x228132)?_0x2a54a7['data'][_0x228132]=_0x59cc6d:_0x2a54a7['data'][_0x228132]=_0x393471['wrapInAffixes'](_0x393471['getLabel'](_0x228132)||_0x228132);}else{const _0x53dff0='$defaultValues'===_0x4d3ce5?_0x393471['getDefaultValues']():_0x393471['getDataSetValues'](_0x4d3ce5,!0x0);for(const _0x3eb15c of Object['entries'](_0x53dff0)){const [_0x4be9b1,_0x532ba6]=_0x3eb15c;'image'===_0x393471['getMergeFieldType'](_0x4be9b1)?_0x2a54a7['data'][_0x4be9b1]=null!==_0x532ba6?_0x532ba6:_0x59cc6d:_0x2a54a7['data'][_0x4be9b1]=null!==_0x532ba6?_0x532ba6:_0x393471['getLabel'](_0x4be9b1)||_0x4be9b1;}}_0x479f9f['converterOptions']['merge_fields']=_0x2a54a7;}const _0x38ca45=0x2===_0x1e7d5f?function(_0x4a5381){const _0x286590=_0x4a5381?.['document']?.['margins'];return PE({'pageWidth':ME(_0x4a5381?.['document']?.['size']||'A4'),'marginLeft':_0x286590?.['left'],'marginRight':_0x286590?.['right']});}(_0x479f9f['converterOptions']):(_0x536379=_0x479f9f['converterOptions'],PE({'pageWidth':ME(_0x536379?.['format']||'A4'),'marginLeft':_0x536379?.['margin_left'],'marginRight':_0x536379?.['margin_right']}));var _0x536379;const _0x1f0059={'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'+_0x5a82d8['locale']['contentLanguageDirection']+'\x22\x20style=\x22'+_0x38ca45+'\x22>\x0a\x09\x09\x09\x09\x09\x09\x09\x09'+await _0x545cb1(_0x5a82d8)+'\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':_0x4b9653,[0x2===_0x1e7d5f?'config':'options']:_0x479f9f['converterOptions']},_0x3f1053={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/pdf',..._0x45e859?{'Authorization':_0x45e859['value']}:null,'x-cs-app-id':_0x479f9f['appID']||'cke5'},'body':JSON['stringify'](_0x1f0059)};return window['fetch'](_0x555571,_0x3f1053)['then'](_0x1f9ec6=>{if(0xc8!==_0x1f9ec6['status'])throw _0x1f9ec6;return _0x1f9ec6['blob']();})['then'](_0x44485b=>{_0x5a82d8['ui']['ariaLiveAnnouncer']['announce'](CE(_0x5a82d8['locale'],'PDF\x20export\x20successful'));const _0x2a7820='function'==typeof _0x479f9f['fileName']?_0x479f9f['fileName']():_0x479f9f['fileName'];this['_downloadFile'](_0x44485b,_0x2a7820||'document.pdf');});})['catch'](_0x284bab=>{const _0x361d8f=_0x5a82d8['plugins']['get']('Notification');throw _0x5a82d8['ui']['ariaLiveAnnouncer']['announce'](CE(_0x5a82d8['locale'],'PDF\x20export\x20failed'),{'politeness':'assertive'}),_0x361d8f['showWarning'](CE(_0x5a82d8['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.')),_0x284bab;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x344cf8,_0x40e806){const _0x2a1fcf=document['createElement']('a');_0x2a1fcf['href']=window['URL']['createObjectURL'](_0x344cf8),_0x2a1fcf['download']=_0x40e806,_0x2a1fcf['click'](),_0x2a1fcf['remove']();}};function PE({pageWidth:_0x2bc690,marginLeft:_0x1578ec,marginRight:_0x47181c}){return'width:calc('+[_0x2bc690,_0x1578ec,_0x47181c]['filter'](Boolean)['join']('\x20-\x20')+');';}function ME(_0xa541f){return'object'==typeof _0xa541f&&'width'in _0xa541f?_0xa541f['width']:{'letter':['21.6cm','27.9cm'],'legal':['21.6cm','35.6cm'],'tabloid':['27.9cm','43.2cm'],'ledger':['43.2cm','27.9cm'],'a0':['84.1cm','118.9cm'],'a1':['59.4cm','84.1cm'],'a2':['42.0cm','59.4cm'],'a3':['29.7cm','42.0cm'],'a4':['21.0cm','29.7cm'],'a5':['14.8cm','21.0cm'],'a6':['10.5cm','14.8cm']}[_0xa541f['toLowerCase']()][0x0];}var NE=class extends _0x36b920{static get['pluginName'](){return'ExportPdfUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x18bb1e=this['editor'];_0x18bb1e['ui']['componentFactory']['add']('exportPdf',()=>{const _0x27c43a=this['_createButton'](_0x47ddb0),_0x2608b3=_0x18bb1e['commands']['get']('exportPdf');return _0x27c43a['set']({'tooltip':!0x0}),_0x27c43a['bind']('isOn')['to'](_0x2608b3,'isBusy'),_0x27c43a;}),_0x18bb1e['ui']['componentFactory']['add']('menuBar:exportPdf',()=>this['_createButton'](_0x3dd6ab));}['_createButton'](_0x323dcb){const _0x1a3678=this['editor'],_0x3631e4=_0x1a3678['config']['get']('exportPdf'),_0x367342=_0x1a3678['commands']['get']('exportPdf'),_0x4d3e76=new _0x323dcb(_0x1a3678['locale']),_0x3e7f0b=new _0x5812ef();return _0x4d3e76['children']['add'](_0x3e7f0b),_0x3e7f0b['bind']('isVisible')['to'](_0x367342,'isBusy'),_0x4d3e76['iconView']['bind']('isVisible')['to'](_0x367342,'isBusy',_0x3adaef=>!_0x3adaef),_0x4d3e76['set']({'icon':_0x54f240}),_0x4d3e76['bind']('isEnabled')['to'](_0x367342,'isEnabled'),_0x4d3e76['bind']('label')['to'](_0x367342,'isBusy',_0x468ba4=>CE(_0x1a3678['locale'],_0x468ba4?'Exporting\x20PDF\x20document':'Export\x20to\x20PDF')),this['listenTo'](_0x4d3e76,'execute',()=>{_0x1a3678['execute']('exportPdf',_0x3631e4),_0x1a3678['editing']['view']['focus']();}),_0x4d3e76;}},LE=class extends _0x36b920{['_token'];static get['pluginName'](){return'ExportPdf';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x5ed504,_0x5bbd4b,NE];}['init'](){const {editor:_0x5d31c1}=this;_0x5d31c1['config']['define']('exportPdf.version',0x2),_0x5d31c1['commands']['add']('exportPdf',new RE(_0x5d31c1));const _0x37201f=_0x5d31c1['plugins']['get'](_0x5ed504),_0x396c85=_0x5d31c1['config']['get']('exportPdf');!0x1===_0x396c85['tokenUrl']?this['_token']=null:_0x396c85['tokenUrl']?_0x37201f['registerTokenUrl'](_0x396c85['tokenUrl'])['then'](_0x11e273=>{this['_token']=_0x11e273;}):this['_token']=_0x37201f['token'];}};function $E(_0x44cddd,_0x2eacf2={}){const _0x46bb6f=_0x44cddd['plugins']['has']('Users'),_0x338bd5=_0x44cddd['plugins']['has']('CommentsRepository'),_0x5e3b74=_0x44cddd['plugins']['has']('TrackChanges'),_0x21070e=_0x2eacf2;if(_0x46bb6f&&_0x338bd5){const _0x2e95a2=function(_0x588093){const _0x2f3a03={};if(!_0x588093['length'])return _0x2f3a03;for(const _0x49c9b8 of _0x588093)_0x49c9b8['comments']['map'](_0x8e8fe=>{void 0x0===_0x2f3a03[_0x49c9b8['id']]&&(_0x2f3a03[_0x49c9b8['id']]=[]),_0x2f3a03[_0x49c9b8['id']]['push']({'author':_0x8e8fe['author']['name'],'content':_0x8e8fe['content'],'created':_0x8e8fe['createdAt'],'is_resolved':_0x49c9b8['isResolved']});});return _0x2f3a03;}(_0x44cddd['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object['keys'](_0x2e95a2)['length']&&(_0x21070e['comments']=_0x2e95a2);}if(_0x46bb6f&&_0x5e3b74){const _0x5221e6=_0x44cddd['plugins']['get']('TrackChanges'),_0xf6f096=_0x44cddd['plugins']['get']('Users'),_0xf5a11f=function(_0x234ab2,_0x26baee){const _0x3f7797={};if(!_0x234ab2['length']||!_0x26baee['length'])return _0x3f7797;for(const {id:_0x56041a,createdAt:_0x4b5e00,authorId:_0x2b8465,attributes:_0x1cd8a6}of _0x234ab2){const _0x10bbce=_0x1cd8a6&&_0x1cd8a6['@external'];_0x3f7797[_0x56041a]={'author':_0x10bbce?_0x10bbce['authorName']:_0x26baee['get'](_0x2b8465)['name'],'created':_0x4b5e00};}return _0x3f7797;}(_0x5221e6['getSuggestions']({'toJSON':!0x0}),_0xf6f096['users']);Object['keys'](_0xf5a11f)['length']&&(_0x21070e['suggestions']=_0xf5a11f);}return(_0x21070e['suggestions']||_0x21070e['comments'])&&(_0x21070e['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']),_0x21070e;}function DE(_0x5911e4,_0x3e061c={}){const _0x4bf8d6=_0x5911e4['plugins']['has']('Users'),_0x1d40d7=_0x5911e4['plugins']['has']('CommentsRepository'),_0x259fc5=_0x5911e4['plugins']['has']('TrackChanges'),_0x37d65f=_0x5911e4['plugins']['has']('MergeFields'),_0x4cdf91=_0x5911e4['locale']['contentLanguage'],_0x2d6f56=_0x3e061c,_0x3b8eb0={};if(_0x2d6f56['document']=_0x2d6f56['document']||{},_0x2d6f56['document']['language']=_0x2d6f56['document']['language']||_0x4cdf91,_0x4bf8d6&&_0x1d40d7){const _0x12aaee=function(_0x4f30e5){const _0x47ead3=[];if(!_0x4f30e5['length'])return _0x47ead3;for(const _0x3ee557 of _0x4f30e5){const _0x44c5df=_0x3ee557['comments']['map'](_0x23967f=>({'author':_0x23967f['author']['name'],'content':_0x23967f['content'],'created_at':_0x23967f['createdAt']}));_0x47ead3['push']({'thread_id':_0x3ee557['id'],'is_resolved':_0x3ee557['isResolved'],'comments':_0x44c5df});}return _0x47ead3;}(_0x5911e4['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x12aaee['length']&&(_0x3b8eb0['comment_threads']=_0x12aaee);}if(_0x4bf8d6&&_0x259fc5){const _0x2c2542=_0x5911e4['plugins']['get']('TrackChanges'),_0x53af64=_0x5911e4['plugins']['get']('Users'),_0x43afa3=function(_0x52fd79,_0x524667){return _0x52fd79['length']&&_0x524667['length']?_0x52fd79['map'](({id:_0xefe82c,createdAt:_0x2a0866,authorId:_0x39c068,attributes:_0x4dda7})=>{const _0x59729c=_0x4dda7&&_0x4dda7['@external'];return{'id':_0xefe82c,'author':_0x59729c?_0x59729c['authorName']:_0x524667['get'](_0x39c068)['name'],'created_at':_0x2a0866};}):[];}(_0x2c2542['getSuggestions']({'toJSON':!0x0}),_0x53af64['users']);_0x43afa3['length']&&(_0x3b8eb0['suggestions']=_0x43afa3);}if(_0x37d65f){const _0x371c4b=_0x5911e4['plugins']['get']('MergeFieldsEditing'),_0x4f50c1=_0x371c4b['previewMode'],{prefix:_0x3ba348,suffix:_0x1385dd}=_0x5911e4['config']['get']('mergeFields');if(_0x2d6f56['merge_fields']={'prefix':_0x3ba348,'suffix':_0x1385dd},'$labels'!==_0x4f50c1){_0x2d6f56['merge_fields']['data']={};const _0x3aa528='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x2222a7='$defaultValues'===_0x4f50c1?_0x371c4b['getDefaultValues']():_0x371c4b['getDataSetValues'](_0x4f50c1,!0x0);for(const _0x4f759b of Object['entries'](_0x2222a7)){const [_0x5918e4,_0xc1ca44]=_0x4f759b;'image'===_0x371c4b['getMergeFieldType'](_0x5918e4)?_0x2d6f56['merge_fields']['data'][_0x5918e4]=null!==_0xc1ca44?_0xc1ca44:_0x3aa528:_0x2d6f56['merge_fields']['data'][_0x5918e4]=null!==_0xc1ca44?_0xc1ca44:_0x371c4b['getLabel'](_0x5918e4)||_0x5918e4;}}}return(_0x3b8eb0['comment_threads']||_0x3b8eb0['suggestions'])&&(_0x2d6f56['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'],_0x2d6f56['collaboration_features']=_0x3b8eb0),_0x2d6f56;}function QE(_0x4eb56c,_0x4dd2aa){const t=_0x4eb56c['t'];switch(_0x4dd2aa){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 _0x4dd2aa;}}const jE=['orientation','margin_top','margin_right','margin_bottom','margin_left','format','header','footer','comments','suggestions'];var UE=class extends _0x32be70{constructor(_0x5e1aee){super(_0x5e1aee),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x534952={}){const _0x273cf1=this['editor'],_0x367275=_0x534952['version']||0x2,_0x7c143b=0x1===_0x367275,_0x2d3732=_0x534952['converterUrl']||(_0x7c143b?'https://docx-converter.cke-cs.com/v1/convert':'https://docx-converter.cke-cs.com/v2/convert/html-docx'),_0x187b57=_0x534952['converterOptions']||{},_0x37a33f=_0x273cf1['plugins']['get']('ExportWord'),_0x1fc7c8=_0x534952['token']||_0x37a33f['_token'],_0xce38fd=!0x0===_0x187b57['auto_pagination'],_0x504dbb=_0x534952['dataCallback']||(_0xa04fc2=>_0xa04fc2['data']['get']({'pagination':_0xce38fd}));return 0x2===_0x367275&&function(_0x2b1d6d){for(const _0x4f8ab8 of jE)if(void 0x0!==_0x2b1d6d[_0x4f8ab8])return!0x0;return!0x1;}(_0x187b57)&&_0x43c457('export-word-v1-api-is-deprecated'),this['isBusy']=!0x0,this['refresh'](),_0x31097e(_0x534952['stylesheets']||['EDITOR_STYLES'])['then'](async _0x4b79a8=>{_0x273cf1['ui']['ariaLiveAnnouncer']['announce'](QE(_0x273cf1['locale'],'Word\x20document\x20export\x20started'));const _0x200ca9=await _0x504dbb(_0x273cf1),_0x2b1309={'html':'<div\x20class=\x22ck-content\x22\x20dir=\x22'+_0x273cf1['locale']['contentLanguageDirection']+'\x22>'+_0x200ca9+'</div>','css':_0x4b79a8,[_0x7c143b?'options':'config']:{..._0x187b57,..._0x7c143b?$E(_0x273cf1,_0x187b57):DE(_0x273cf1,_0x187b57)}},_0x3237b2={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/docx',..._0x1fc7c8?{'Authorization':_0x1fc7c8['value']}:null},'body':JSON['stringify'](_0x2b1309)};return window['fetch'](_0x2d3732,_0x3237b2)['then'](_0x5c73c4=>{if(0xc8!==_0x5c73c4['status'])throw _0x5c73c4;return _0x5c73c4['blob']();})['then'](_0x3bf89f=>{_0x273cf1['ui']['ariaLiveAnnouncer']['announce'](QE(_0x273cf1['locale'],'Word\x20document\x20export\x20successful'));const _0x1433e1='function'==typeof _0x534952['fileName']?_0x534952['fileName']():_0x534952['fileName'];this['_downloadFile'](_0x3bf89f,_0x1433e1||'document.docx');});})['catch'](_0x1ada9b=>{const _0x4cabc5=_0x273cf1['plugins']['get']('Notification');throw _0x273cf1['ui']['ariaLiveAnnouncer']['announce'](QE(_0x273cf1['locale'],'Word\x20document\x20export\x20failed'),{'politeness':'assertive'}),_0x4cabc5['showWarning'](QE(_0x273cf1['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.')),_0x1ada9b;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x1fe5a1,_0x3256f2){const _0x37f9aa=document['createElement']('a');_0x37f9aa['href']=window['URL']['createObjectURL'](_0x1fe5a1),_0x37f9aa['download']=_0x3256f2,_0x37f9aa['click'](),_0x37f9aa['remove']();}},VE=class extends _0x36b920{static get['pluginName'](){return'ExportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2ea84e=this['editor'];_0x2ea84e['ui']['componentFactory']['add']('exportWord',()=>{const _0x35570e=_0x2ea84e['commands']['get']('exportWord'),_0x12e922=this['_createButton'](_0x47ddb0);return _0x12e922['set']({'tooltip':!0x0}),_0x12e922['bind']('isOn')['to'](_0x35570e,'isBusy'),_0x12e922;}),_0x2ea84e['ui']['componentFactory']['add']('menuBar:exportWord',()=>this['_createButton'](_0x3dd6ab));}['_createButton'](_0x6afd81){const _0x52b940=this['editor'],_0x59715d=_0x52b940['config']['get']('exportWord')||{},_0x57e31b=_0x52b940['commands']['get']('exportWord'),_0x48ff1b=new _0x6afd81(_0x52b940['locale']),_0x58db1b=new _0x5812ef();return _0x48ff1b['children']['add'](_0x58db1b),_0x58db1b['bind']('isVisible')['to'](_0x57e31b,'isBusy'),_0x48ff1b['iconView']['bind']('isVisible')['to'](_0x57e31b,'isBusy',_0x1b91ff=>!_0x1b91ff),_0x48ff1b['set']({'icon':_0x1ef329}),_0x48ff1b['bind']('isEnabled')['to'](_0x57e31b,'isEnabled'),_0x48ff1b['bind']('label')['to'](_0x57e31b,'isBusy',_0x2763fb=>QE(_0x52b940['locale'],_0x2763fb?'Exporting\x20Word\x20document':'Export\x20to\x20Word')),this['listenTo'](_0x48ff1b,'execute',()=>{_0x52b940['execute']('exportWord',_0x59715d),_0x52b940['editing']['view']['focus']();}),_0x48ff1b;}},BE=class extends _0x36b920{['_token'];static get['pluginName'](){return'ExportWord';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x5ed504,_0x5bbd4b,VE];}['init'](){const _0x144581=this['editor'],_0x3b0176=_0x144581['config']['get']('exportWord')||{};_0x144581['commands']['add']('exportWord',new UE(_0x144581));const _0x59846d=_0x144581['plugins']['get'](_0x5ed504);!0x1===_0x3b0176['tokenUrl']?this['_token']=null:_0x3b0176['tokenUrl']?_0x59846d['registerTokenUrl'](_0x3b0176['tokenUrl'])['then'](_0x584ada=>{this['_token']=_0x584ada;}):this['_token']=_0x59846d['token'];}},FE=class{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x134799,_0x552b21){this['_model']=_0x134799,this['_elementName']=_0x552b21['elementName'],this['_getElementKey']=_0x552b21['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x5061bf){const _0x46d0a7=new Set(),_0x28eebe=new Map();for(const _0x3492a6 of _0x5061bf){if('insert'===_0x3492a6['type']&&'$text'!==_0x3492a6['name']&&_0x3492a6['position']['nodeAfter']){const _0x29e0d2=this['_model']['createRangeOn'](_0x3492a6['position']['nodeAfter']);for(const _0x239800 of _0x29e0d2['getItems']()){if(!_0x239800['is']('element',this['_elementName']))continue;const _0x4c807c=this['_getElementKey'](_0x239800);_0x28eebe['has'](_0x4c807c)||_0x28eebe['set'](_0x4c807c,[]),_0x28eebe['get'](_0x4c807c)['push'](_0x239800);}}if('remove'===_0x3492a6['type']&&_0x3492a6['name']===this['_elementName']){const _0x5d0dff=this['_getElementKey']({'getAttribute':_0x5581a2=>_0x3492a6['attributes']['get'](_0x5581a2)});_0x46d0a7['add'](_0x5d0dff);}}for(const [_0xf7270,_0x33f34e]of this['_trackedElements'])'$graveyard'===_0x33f34e['root']['rootName']&&_0x46d0a7['add'](_0xf7270);for(const _0x509702 of _0x46d0a7)this['_trackedElements']['delete'](_0x509702);for(const [_0x235e63,_0x538efe]of _0x28eebe)this['_trackedElements']['set'](_0x235e63,_0x538efe[_0x538efe['length']-0x1]);const _0x1b1c39=new Set();for(const [_0x742976,_0x1e8cc5]of _0x28eebe)_0x46d0a7['has'](_0x742976)&&(_0x1b1c39['add'](_0x1e8cc5[0x0]),_0x1e8cc5['length']>0x1?_0x28eebe['set'](_0x742976,_0x1e8cc5['slice'](0x1)):_0x28eebe['delete'](_0x742976),_0x46d0a7['delete'](_0x742976));return{'removed':Array['from'](_0x46d0a7),'inserted':Array['from'](_0x28eebe['values']())['flat'](),'moved':Array['from'](_0x1b1c39)};}},HE=class extends _0x36b920{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x20bd8a){super(_0x20bd8a),this['_footnoteDefsContainerTracker']=new FE(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new FE(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x4c2fc6=>_0x4c2fc6['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new FE(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x1e1eaf=>_0x1e1eaf['getAttribute']('footnoteId')});}['init'](){const {editor:_0x4571da}=this,{model:_0x2721ef,data:_0x221e33}=_0x4571da;_0x2721ef['document']['registerPostFixer'](_0x4a165b=>{const _0x322b8f=_0x2721ef['document']['differ']['getChanges']();let _0x3c7d92=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x4a165b,_0x322b8f)&&(_0x3c7d92=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x4a165b,_0x322b8f)&&(_0x3c7d92=!0x0),this['_handleFootnoteReferencesChanges'](_0x4a165b,_0x322b8f)&&(_0x3c7d92=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x4a165b)&&(_0x3c7d92=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x4a165b)&&(_0x3c7d92=!0x0),this['_sortFootnoteDefinitions'](_0x4a165b)&&(_0x3c7d92=!0x0),_0x3c7d92;}),this['listenTo'](_0x2721ef['document'],'change:data',()=>{_0x2721ef['enqueueChange']({'isUndoable':!0x1},_0x5a7355=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x5a7355);});},{'priority':'low'}),this['listenTo'](_0x221e33,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x1f88b2){return this['_footnotes']['find'](_0x1a56f6=>_0x1a56f6['id']===_0x1f88b2)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x13fdcf){this['_footnoteFormatter']=_0x13fdcf;}['_updateFootnotesCounters'](_0x333acd,_0x164275=0x0){let _0x267e7d=!0x1;for(let _0x5ce63f=_0x164275;_0x5ce63f<this['_footnotes']['length'];_0x5ce63f++)this['_updateFootnoteRefCounter'](_0x333acd,_0x5ce63f)&&(_0x267e7d=!0x0);return _0x267e7d;}['_insertEmptyFootnotesDefinitionsContainer'](_0xf1f2ee,_0x2edbf8){const _0x842af7=_0xf1f2ee['createElement']('footnotesDefinitions',{});return _0xf1f2ee['append'](_0x842af7,_0x2edbf8),this['_footnotesDefinitions']=_0x842af7,_0x842af7;}['_ensureFootnotesDefinitionsContainerExists'](_0x10097a){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x3cd61e=this['_footnotes'][0x0]['reference']['root'],_0x451428=this['_insertEmptyFootnotesDefinitionsContainer'](_0x10097a,_0x3cd61e);for(const _0x16c457 of this['_footnotes'])_0x16c457['definition']['parent']||_0x10097a['insert'](_0x16c457['definition'],_0x451428,'end');this['_updateFootnotesCounters'](_0x10097a);}['_handleFootnotesDefinitionsObjectChanges'](_0x378a0b,_0x1c33fc){let _0x3275a9=!0x1;const {inserted:_0x408b01,removed:_0x1f1460,moved:_0x2dda9c}=this['_footnoteDefsContainerTracker']['getChanges'](_0x1c33fc);if(_0x2dda9c['length']&&(this['_footnotesDefinitions']=_0x2dda9c[0x0]),_0x408b01['length']){if(_0x408b01['length']>0x1||this['_footnotesDefinitions']&&_0x408b01['some'](_0xdf7745=>_0xdf7745!==this['_footnotesDefinitions'])){const _0x2eff0b=_0x378a0b['createElement']('footnotesDefinitions',{}),_0xaa6a4f=[];this['_footnotesDefinitions']&&_0xaa6a4f['push'](this['_footnotesDefinitions']),_0xaa6a4f['push'](..._0x408b01),_0x378a0b['insert'](_0x2eff0b,_0xaa6a4f[0x0],'before');for(const _0xb5d08b of _0xaa6a4f)_0x378a0b['move'](_0x378a0b['createRangeIn'](_0xb5d08b),_0x378a0b['createPositionAt'](_0x2eff0b,'end')),_0x378a0b['remove'](_0xb5d08b);this['_footnotesDefinitions']=_0x2eff0b,this['_updateFootnotesCounters'](_0x378a0b),_0x3275a9=!0x0;}else this['_footnotesDefinitions']=_0x408b01[0x0];}if(_0x1f1460['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0xd1f2c2 of this['_footnotes'])_0x378a0b['remove'](_0xd1f2c2['reference']),_0x3275a9=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x3275a9;}['_handleFootnoteDefinitionsChanges'](_0x28e5c6,_0xb5d96d){let _0x4182f6=!0x1;const _0x4d515d=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x22851c,moved:_0x1a4d88}=this['_footnoteDefsTracker']['getChanges'](_0xb5d96d);for(const _0x4a8928 of[..._0x1a4d88,..._0x22851c]){const _0x166848=_0x4a8928['getAttribute']('footnoteId'),_0x5c99a6=this['getFootnote'](_0x166848);_0x5c99a6&&(_0x5c99a6['definition']=_0x4a8928),ZE(_0x28e5c6,_0x4d515d,_0x4a8928)&&(_0x4182f6=!0x0);}return _0x4182f6;}['_handleFootnoteReferencesChanges'](_0xbd7f46,_0xd8162d){let _0x4c1869=!0x1;const {removed:_0x190a81,inserted:_0x5b05f2,moved:_0xe7895e}=this['_footnoteRefsTracker']['getChanges'](_0xd8162d);for(const _0x83b27e of _0x190a81)this['_handleRemoveFootnoteReferenceById'](_0xbd7f46,_0x83b27e)&&(_0x4c1869=!0x0);for(const _0x501c6e of _0x5b05f2)this['_handleInsertedFootnoteReference'](_0xbd7f46,_0x501c6e)&&(_0x4c1869=!0x0);for(const _0x2ed960 of _0xe7895e)this['_handleMovedFootnoteReference'](_0xbd7f46,_0x2ed960)&&(_0x4c1869=!0x0);return _0x4c1869;}['_handleFootnotesDefinitionsObjectSync'](_0x24e34a){if(!this['_footnotesDefinitions'])return!0x1;let _0x2e9649=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x47042c=[];for(const _0x3b188c of this['_footnotesDefinitions']['getChildren']()){const _0x44ef24=_0x3b188c['getAttribute']('footnoteId');this['getFootnote'](_0x44ef24)||(_0x47042c['unshift'](_0x3b188c),_0x2e9649=!0x0);}for(const _0x10e81b of _0x47042c)_0x24e34a['remove'](_0x10e81b);}const _0x4821c0=new Set(),_0xa31622=[];for(const _0x59e36d of this['_footnotesDefinitions']['getChildren']()){const _0x219f2a=_0x59e36d['getAttribute']('footnoteId');_0x4821c0['has'](_0x219f2a)?(_0xa31622['unshift'](_0x59e36d),_0x2e9649=!0x0):_0x4821c0['add'](_0x219f2a);}for(const _0xe7102c of _0xa31622)_0x24e34a['remove'](_0xe7102c);return this['_footnotesDefinitions']['childCount']||(_0x24e34a['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x2e9649=!0x0),_0x2e9649;}['_handleInsertedFootnoteReference'](_0x5cebae,_0x5b5c4a){if(this['_footnotes']['find'](_0x215cfb=>_0x215cfb['reference']===_0x5b5c4a))return!0x1;let _0x13de01=!0x1;const _0x448482=_0x5b5c4a['getAttribute']('footnoteId'),_0x13e41c=this['_footnotes']['findIndex'](_0x3749cb=>_0x3749cb['id']===_0x448482);-0x1!==_0x13e41c&&(_0x5cebae['remove'](this['_footnotes'][_0x13e41c]['reference']),this['_footnotes']['splice'](_0x13e41c,0x1),_0x13de01=!0x0);let _0x13e00a=this['_footnotesDefinitions']?function(_0x168321,_0x433a6c){for(const _0x7e3fa8 of _0x168321['getChildren']())if(_0x7e3fa8['getAttribute']('footnoteId')===_0x433a6c)return _0x7e3fa8;return null;}(this['_footnotesDefinitions'],_0x448482):null;_0x13e00a||(_0x13e00a=_0x5cebae['createElement']('footnoteDefinition',{'footnoteId':_0x448482}),this['_footnotesDefinitions']&&(_0x5cebae['insert'](_0x13e00a,this['_footnotesDefinitions'],'end'),_0x13de01=!0x0));const _0x414622={'id':_0x448482,'reference':_0x5b5c4a,'definition':_0x13e00a},_0x8f31c3=GE(this['editor']['model'],this['_footnotes'],_0x5b5c4a);this['_footnotes']['splice'](_0x8f31c3,0x0,_0x414622);let _0x679506=_0x8f31c3;return-0x1!==_0x13e41c&&(_0x679506=Math['min'](_0x8f31c3,_0x13e41c)),this['_updateFootnotesCounters'](_0x5cebae,_0x679506)&&(_0x13de01=!0x0),_0x13de01;}['_handleRemoveFootnoteReferenceById'](_0x5a1aab,_0x45c591){const _0x2dfdf0=this['_footnotes']['findIndex'](_0x397cc1=>_0x397cc1['id']===_0x45c591);if(-0x1===_0x2dfdf0)return!0x1;let _0x39133=!0x1;const _0x1dcfe3=this['_footnotes'][_0x2dfdf0];return'$graveyard'!==_0x1dcfe3['definition']['root']['rootName']&&(_0x5a1aab['remove'](_0x1dcfe3['definition']),_0x39133=!0x0),this['_footnotes']['splice'](_0x2dfdf0,0x1),this['_updateFootnotesCounters'](_0x5a1aab,_0x2dfdf0)&&(_0x39133=!0x0),_0x39133;}['_handleMovedFootnoteReference'](_0x1bce33,_0x4d7b4e){const _0x4294cb=_0x4d7b4e['getAttribute']('footnoteId'),_0x16a757=this['_footnotes']['findIndex'](_0x27e347=>_0x27e347['id']===_0x4294cb),_0xc669fa=this['_footnotes'][_0x16a757];let _0x224bd2=!0x1;_0xc669fa['reference']=_0x4d7b4e,this['_footnotes']['splice'](_0x16a757,0x1);const _0x1df4a2=GE(this['editor']['model'],this['_footnotes'],_0x4d7b4e);return this['_footnotes']['splice'](_0x1df4a2,0x0,_0xc669fa),this['_updateFootnotesCounters'](_0x1bce33,Math['min'](_0x16a757,_0x1df4a2))&&(_0x224bd2=!0x0),_0x224bd2;}['_updateFootnoteRefCounter'](_0x27a9d5,_0x1f4d57){if(!this['_footnotesDefinitions'])return!0x1;const _0x1e64c0=this['_footnotes'][_0x1f4d57];let _0x329a96;return _0x329a96=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x1e64c0,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x1f4d57+0x1}):String(_0x1f4d57+0x1),_0x1e64c0['reference']['getAttribute']('footnoteCounter')!=_0x329a96&&(_0x27a9d5['setAttribute']('footnoteCounter',_0x329a96,_0x1e64c0['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x1a5a80){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x2f3542,_0x22ce6b){if(_0x2f3542['length']!==_0x22ce6b['length'])return!0x1;for(let _0x4fd97d=0x0;_0x4fd97d<_0x2f3542['length'];_0x4fd97d++)if(_0x2f3542[_0x4fd97d]!==_0x22ce6b[_0x4fd97d])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x2bc5f8=>_0x2bc5f8['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x5cfd05=>_0x5cfd05['getAttribute']('footnoteId'))))return!0x1;let _0x51fc12=!0x1;for(let _0x11d82b=0x0;_0x11d82b<this['_footnotes']['length'];_0x11d82b++){const _0x3fde0d=this['_footnotes'][_0x11d82b],_0x547e84=_0x1a5a80['createPositionBefore'](_0x3fde0d['definition']),_0x138371=_0x1a5a80['createPositionAt'](this['_footnotesDefinitions'],_0x11d82b);_0x547e84['isEqual'](_0x138371)||(_0x1a5a80['move'](_0x1a5a80['createRangeOn'](_0x3fde0d['definition']),_0x138371),_0x51fc12=!0x0);}return _0x51fc12;}['_ensureFootnotesReferencesHaveProperOrder'](_0x187461){if(!this['_footnotes']['length'])return!0x1;const {model:_0x86c2ea}=this['editor'];let _0x303d53=!0x1;for(let _0x39fd4a=0x0;_0x39fd4a<this['_footnotes']['length']-0x1;_0x39fd4a++){const _0x1b49b2=this['_footnotes'][_0x39fd4a],_0x1e33dd=this['_footnotes'][_0x39fd4a+0x1],_0x2378a6=_0x86c2ea['createPositionBefore'](_0x1b49b2['reference']),_0x2e0a0f=_0x86c2ea['createPositionBefore'](_0x1e33dd['reference']);'after'===_0x2378a6['compareWith'](_0x2e0a0f)&&(this['_handleMovedFootnoteReference'](_0x187461,_0x1b49b2['reference']),_0x39fd4a=-0x1,_0x303d53=!0x0);}return _0x303d53;}};function ZE(_0xf0cce9,_0x90fbb3,_0x41e5d6){if(_0x41e5d6['childCount'])return!0x1;const _0x49626e=_0x90fbb3?'paragraph':'footnoteInlineContent';return _0xf0cce9['insert'](_0xf0cce9['createElement'](_0x49626e),_0x41e5d6),!0x0;}function GE(_0x4e941f,_0x3e572b,_0x42ee20){if(0x0===_0x3e572b['length'])return 0x0;const _0x366656=_0x4e941f['createPositionBefore'](_0x42ee20);for(let _0x47fc15=0x0;_0x47fc15<_0x3e572b['length'];_0x47fc15++){const _0xfa8acd=_0x3e572b[_0x47fc15],_0x7f3169=_0x4e941f['createPositionBefore'](_0xfa8acd['reference']);if('before'===_0x366656['compareWith'](_0x7f3169))return _0x47fc15;}const _0xb8a14f=_0x42ee20['root'];let _0x6cfc82=-0x1;for(let _0x3f363e=_0x3e572b['length']-0x1;_0x3f363e>=0x0;_0x3f363e--)if(_0x3e572b[_0x3f363e]['reference']['root']===_0xb8a14f){_0x6cfc82=_0x3f363e;break;}if(-0x1!==_0x6cfc82)return _0x6cfc82+0x1;const _0x5f580f=_0x4e941f['document']['getRootNames'](),_0x45d4b3=_0x5f580f[_0x5f580f['indexOf'](_0xb8a14f['rootName'])+0x1];if(_0x45d4b3){for(let _0x510b57=0x0;_0x510b57<_0x3e572b['length'];_0x510b57++)if(_0x3e572b[_0x510b57]['reference']['root']['rootName']===_0x45d4b3)return _0x510b57;}return _0x3e572b['length'];}var XE=class extends _0x32be70{['refresh'](){const _0x478028=this['editor']['model']['document']['selection'],_0x2b705d=this['_getPositionToInsertFootnote'](_0x478028);this['isEnabled']=!!_0x2b705d;}['execute'](_0x4b9ebe){const {editor:_0x4e93d8}=this,{model:_0x5bb8c1}=_0x4e93d8,{selection:_0x4157f5}=_0x5bb8c1['document'],_0x255470=this['_getPositionToInsertFootnote'](_0x4157f5);if(!_0x255470)return;const _0x508dfa=_0x4e93d8['plugins']['get']('FootnotesEditing'),_0x1d8f40=_0x4b9ebe?.['footnoteId']??_0x10825a();!function(_0x234362){return'string'==typeof _0x234362&&_0x234362['length']>0x0&&!/\s/['test'](_0x234362)&&!/^\d/['test'](_0x234362);}(_0x1d8f40)?_0x43c457('insert-footnote-command-executed-with-invalid-id'):(_0x5bb8c1['change'](_0x41e43d=>{const _0x333dce=_0x41e43d['createElement']('footnoteRef',{'footnoteId':_0x1d8f40});_0x5bb8c1['insertObject'](_0x333dce,_0x255470,null);}),_0x508dfa['_moveSelectionToFootnoteDefinition'](_0x1d8f40));}['_getPositionToInsertFootnote'](_0xc95418){const {model:_0x541d84}=this['editor'],{schema:_0x22bccb}=_0x541d84,_0x576589=_0xc95418['getFirstRange']();for(const _0x4047e6 of _0x576589['getItems']())if(_0x22bccb['isBlock'](_0x4047e6)||_0x22bccb['isObject'](_0x4047e6))return null;const _0x111c3a=_0x576589['end'];return _0x22bccb['checkChild'](_0x111c3a,'footnoteRef')?_0x111c3a:null;}},qE=class extends _0x36b920{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[HE];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x31c3a1}=this;_0x31c3a1['config']['define']('footnotes.multiBlock',!0x0),_0x31c3a1['commands']['add']('insertFootnote',new XE(_0x31c3a1)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x22d2b5){const _0x97469e='unSbGpmijAwyrOzdZhCqT3YLFVtJlkDag1WMNxR4H67IB5QoX0289cUsvPEefK',_0x167c07=0x78fc0,_0x1339dc=window['Date']['now'](),_0x5950d1=_0x22d2b5['editor'],_0x5283e9=new window['Promise'](_0x2c9a80=>{_0x5950d1['once']('ready',_0x2c9a80);}),_0x17c7bd={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x2e3f10=_0x5950d1['config']['get']('licenseKey');async function _0x29beca(){let _0x421a37,_0x2e213e=null,_0x31de69=null;try{return'GPL'==_0x2e3f10?'NotAllowed':(_0x421a37=_0x181dd7(),_0x421a37?(_0x421a37['usageEndpoint']&&(_0x31de69=_0x25b7dc(_0x421a37['usageEndpoint'],_0x421a37['jti'])),await _0x27f175()?_0x1da3c0()?_0x5e90da()?'Expired':_0x5eeba4()?('evaluation'==_0x421a37['licenseType']&&(_0x2e213e=_0xb59d7c('EvaluationLimit')),await _0x350ce9()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x5e90da(){const _0x5db08e=['evaluation','trial']['includes'](_0x421a37['licenseType'])?_0x1339dc/0x3e8:0xe10*_0x167c07;return _0x421a37['exp']<_0x5db08e;}function _0x1da3c0(){const _0x216877=_0x421a37['features'];return!!_0x216877&&(!!_0x216877['includes']('*')||!!_0x216877['includes']('FOO'));}function _0x5eeba4(){const _0x21b494=_0x421a37['licensedHosts'];if(!_0x21b494||0x0==_0x21b494['length'])return!0x0;const {hostname:_0x97359c}=new URL(window['location']['href']);if(_0x21b494['includes'](_0x97359c))return!0x0;const _0x47de7f=_0x97359c['split']('.');return _0x21b494['filter'](_0xb1c369=>_0xb1c369['includes']('*'))['map'](_0x1e8dc7=>_0x1e8dc7['split']('.'))['filter'](_0x2dc7ca=>_0x2dc7ca['length']<=_0x47de7f['length'])['map'](_0x459bbc=>Array(_0x47de7f['length']-_0x459bbc['length'])['fill']('*'===_0x459bbc[0x0]?'*':'')['concat'](_0x459bbc))['some'](_0xb9f1e1=>_0x47de7f['every']((_0xa5886e,_0x50f347)=>_0xb9f1e1[_0x50f347]===_0xa5886e||'*'===_0xb9f1e1[_0x50f347]));}function _0x350ce9(){return _0x2e213e&&_0x31de69?new window['Promise']((_0x511ece,_0x38b442)=>{_0x2e213e['then'](_0x511ece,_0x38b442),_0x31de69['then'](_0x2ccc8a=>{'Valid'!=_0x2ccc8a&&_0x511ece(_0x2ccc8a);},_0x38b442);}):_0x2e213e||_0x31de69||'Valid';}}function _0x25b7dc(_0x2197c0,_0x4ecfb7){return new window['Promise'](_0x32823a=>{if(_0x365da8())return _0x32823a('Valid');_0x439941(),_0x5950d1['decorate']('_sendUsageRequest');let _0x49e9d7=!0x1;const _0x3b1c8d=_0x10825a();function _0x3b896e(_0x3c1873){return!!_0x3c1873&&('object'==typeof _0x3c1873||'function'==typeof _0x3c1873)&&'function'==typeof _0x3c1873['then']&&'function'==typeof _0x3c1873['catch'];}function _0x2f2c98(_0x4441d7){_0x2c8b1f(_0x4441d7)['then'](_0x8548a8=>_0x8548a8&&'ok'==_0x8548a8['status']?_0x4c4796(_0x3317e5(_0x3b1c8d+_0x4ecfb7))!=_0x8548a8['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x1b608b=>(_0x481934(),_0x1b608b),()=>{const _0x269c65=_0x3f3acf();return null==_0x269c65?(_0x481934(),'Valid'):_0x1339dc-_0x269c65>0x240c8400?'UsageLimit':'Valid';})['then'](_0x32823a)['catch'](()=>{_0x32823a('UsageLimit');});const _0x8afe6b=0x36ee80;function _0x481934(){const _0x2a0600='llct-'+_0x4c4796(_0x3317e5(_0x2197c0)),_0x115a90=_0x5c066d(_0x4c4796(window['Math']['ceil'](_0x1339dc/_0x8afe6b)));window['localStorage']['setItem'](_0x2a0600,_0x115a90);}function _0x3f3acf(){const _0x6ac497='llct-'+_0x4c4796(_0x3317e5(_0x2197c0)),_0x13baea=window['localStorage']['getItem'](_0x6ac497);return _0x13baea?window['parseInt'](_0x5c066d(_0x13baea),0x10)*_0x8afe6b:null;}function _0x2c8b1f(_0x15dda6){return new window['Promise']((_0x42e11b,_0x4ab17d)=>{_0x15dda6['then'](_0x42e11b,_0x4ab17d),window['setTimeout'](_0x4ab17d,0x1d4c0);});}}_0x5950d1['on']('_sendUsageRequest',(_0x59f5dc,_0x277874)=>{if(_0x277874[0x0]!=_0x2197c0)return _0x32823a('UsageLimit');_0x277874[0x1]={..._0x277874[0x1],'requestId':_0x3b1c8d};},{'priority':'high'}),_0x5950d1['on']('_sendUsageRequest',_0x51a56a=>{_0x3b896e(_0x51a56a['return'])&&(_0x49e9d7=!0x0,_0x2f2c98(_0x51a56a['return']));},{'priority':'low'}),_0x5283e9['then'](()=>{_0x49e9d7||_0x32823a('UsageLimit');});});function _0x365da8(){return'auto'==_0x5950d1['editing']['view']['_overlayModeHint'];}function _0x439941(){_0x5950d1['editing']['view']['_overlayModeHint']='auto';}}function _0xb59d7c(_0x5c7a65){const _0x4a4882=[new window['Promise'](_0x2387b8=>setTimeout(_0x2387b8,0x93ecc)),_0x5283e9['then'](()=>new window['Promise'](_0x1715cc=>{let _0x53bb44=0x0;_0x5950d1['model']['on']('applyOperation',(_0x35570a,_0x4f0917)=>{_0x4f0917[0x0]['isDocumentOperation']&&_0x53bb44++,0x5e8==_0x53bb44&&(_0x1715cc(),_0x35570a['off']());});}))];return window['Promise']['race'](_0x4a4882)['then'](()=>_0x5c7a65);}async function _0xb0d5d6(){await _0x5283e9,_0x5950d1['model']['change']=_0x3c67b2,_0x5950d1['model']['enqueueChange']=_0x3c67b2,_0x5950d1['enableReadOnlyMode']('model');}function _0x30f19f(_0x4d639d){const _0x56d22a=_0xaf085e();_0x5950d1[_0x56d22a]='footnotesLicenseKey'+_0x4d639d,'Valid'!=_0x4d639d&&_0xb0d5d6();}function _0xaf085e(){const _0x3acdc1=window['String'](window['performance']['now']())['replace']('.','');let _0x45bd18='u';for(let _0x15b5e5=0x0;_0x15b5e5<_0x3acdc1['length'];_0x15b5e5+=0x2){let _0x3576bc=window['parseInt'](_0x3acdc1['substring'](_0x15b5e5,_0x15b5e5+0x2));_0x3576bc>=0x3e&&(_0x3576bc-=0x3e),_0x45bd18+=_0x97469e[_0x3576bc];}return _0x45bd18;}function _0x181dd7(){const _0x3d67e1=_0x2e3f10['split']('.');if(0x3!=_0x3d67e1['length'])return null;return _0x22f1ac(_0x3d67e1[0x1]);function _0x22f1ac(_0x50d9f0){const _0x67bd46=_0x52e8fb(_0x50d9f0);return _0x67bd46&&_0x3a54cd()?_0x67bd46:null;function _0x3a54cd(){const _0x55ca54=_0x67bd46['jti'],_0x417a67=window['parseInt'](_0x55ca54['substring'](_0x55ca54['length']-0x8),0x10),_0x1e168f={..._0x67bd46,'jti':_0x55ca54['substring'](0x0,_0x55ca54['length']-0x8)};return delete _0x1e168f['vc'],_0x3317e5(_0x1e168f)==_0x417a67;}}}async function _0x27f175(){let _0x14619d=!0x0;try{const [_0x31d5b3,_0x243115,_0x1f3e2b]=_0x2e3f10['split']('.');return _0x274b26(_0x31d5b3),await _0x4bb8d1(_0x31d5b3,_0x243115,_0x1f3e2b),_0x14619d;}catch{return!0x1;}function _0x274b26(_0x2af79d){const _0x3ae948=_0x52e8fb(_0x2af79d);_0x3ae948&&'ES256'==_0x3ae948['alg']||(_0x14619d=!0x1);}async function _0x4bb8d1(_0x4899ad,_0x2bddc2,_0x305828){const _0x5ab13f=window['Uint8Array']['from'](_0x204da2(_0x305828),_0xafbd7b=>_0xafbd7b['charCodeAt'](0x0)),_0xdf353b=new window['TextEncoder']()['encode'](_0x4899ad+'.'+_0x2bddc2),_0x227f28=window['crypto']['subtle'];if(!_0x227f28)return;const _0x2e78ee=await _0x227f28['importKey']('jwk',_0x17c7bd,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x227f28['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x2e78ee,_0x5ab13f,_0xdf353b)||(_0x14619d=!0x1);}}function _0x52e8fb(_0x4e9f78){return _0x4e9f78['startsWith']('ey')?JSON['parse'](_0x204da2(_0x4e9f78)):null;}function _0x204da2(_0x59ea96){return window['atob'](_0x59ea96['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x3317e5(_0x56c9d0){let _0x3f0e42=0x1505;function _0x251fb9(_0x119a1e){for(let _0x40c7bc=0x0;_0x40c7bc<_0x119a1e['length'];_0x40c7bc++){const _0x557d3c=_0x119a1e['charCodeAt'](_0x40c7bc);_0x3f0e42=(_0x3f0e42<<0x5)+_0x3f0e42+_0x557d3c,_0x3f0e42&=_0x3f0e42;}}function _0x4c2b62(_0x3e6d11){Array['isArray'](_0x3e6d11)?_0x3e6d11['forEach'](_0x4c2b62):_0x3e6d11&&'object'==typeof _0x3e6d11?Object['entries'](_0x3e6d11)['sort']()['forEach'](([_0x64c1f3,_0x435e13])=>{_0x251fb9(_0x64c1f3),_0x4c2b62(_0x435e13);}):_0x251fb9(window['String'](_0x3e6d11));}return _0x4c2b62(_0x56c9d0),_0x3f0e42>>>0x0;}function _0x4c4796(_0x421c22){return _0x421c22['toString'](0x10)['padStart'](0x8,'0');}function _0x5c066d(_0x4abfbc){return _0x4abfbc['split']('')['reverse']()['join']('');}function _0x3c67b2(){}_0x30f19f(await _0x29beca());}(this);}['_moveSelectionToFootnoteDefinition'](_0x4fa6ed){const {plugins:_0x14ac1c,editing:_0x57f810,model:_0x313100}=this['editor'],_0x28e7d1=_0x14ac1c['get'](HE)['getFootnote'](_0x4fa6ed);return!!_0x28e7d1&&(_0x313100['change'](_0x339f4c=>{_0x339f4c['setSelection'](_0x339f4c['createPositionAt'](_0x28e7d1['definition'],'end'));}),_0x57f810['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x76344){const {plugins:_0x3617bf,editing:_0x28a1c3,model:_0x39f94a}=this['editor'],_0x4e7be9=_0x3617bf['get'](HE)['getFootnote'](_0x76344);return!!_0x4e7be9&&(_0x39f94a['change'](_0x298451=>{_0x298451['setSelection'](_0x4e7be9['reference'],'on');}),_0x28a1c3['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x5d50b2}=this['editor']['model'],_0x51f405=this['editor']['config']['get']('footnotes.multiBlock');_0x5d50b2['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x5d50b2['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x5d50b2['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x51f405?_0x5d50b2['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x5d50b2['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x5d50b2['addChildCheck'](_0x322c22=>{for(const _0x2348e6 of _0x322c22)if('footnoteDefinition'===_0x2348e6['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x1b421f}=this,{conversion:_0x5eb90b,editing:_0x4121d8}=_0x1b421f,{t:t}=_0x1b421f['locale'];_0x5eb90b['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x43488b,{writer:_0x29a390,consumable:_0x5a458f})=>{const _0x484e85=_0x43488b['getChild'](0x0);if(!_0x484e85||!_0x484e85['is']('element','a'))return null;const _0x46a865=_0x484e85['getAttribute']('href')||'';if(!_0x46a865['startsWith']('#'))return null;const _0x568ccd=_0x46a865['replace'](/^#/,'');if(!_0x568ccd)return null;_0x5a458f['consume'](_0x484e85,{'name':!0x0,'attributes':['href']});for(const {item:_0x16fb65}of _0x4121d8['view']['createRangeIn'](_0x484e85))_0x16fb65['is']('$textProxy')?_0x5a458f['consume'](_0x16fb65['textNode'],{'name':!0x0}):_0x16fb65['is']('element')&&_0x5a458f['consume'](_0x16fb65,{'name':!0x0});return _0x29a390['createElement']('footnoteRef',{'footnoteId':_0x568ccd});}}),_0x5eb90b['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2329c8,{writer:_0x5e910b})=>tT(_0x2329c8,_0x5e910b)}),_0x5eb90b['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x7515f1,{writer:_0x5678ad})=>{const _0x3e4989=_0x7515f1['getAttribute']('footnoteCounter');return _0x3c4b67(tT(_0x7515f1,_0x5678ad),_0x5678ad,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x3e4989)});}});}['_defineDefinitionsConverters'](){const {editor:_0x5b1c7c}=this,{t:t}=_0x5b1c7c['locale'],{conversion:_0x4ba703}=_0x5b1c7c;_0x4ba703['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x4ba703['for']('upcast')['add'](_0x12bf7e=>{_0x12bf7e['on']('element:ol',(_0x467bcd,_0x39f84d,_0x3583dc)=>{const _0x2fef56=_0x39f84d['viewItem'];if(!_0x2fef56['hasClass']('footnotes-list')||!_0x39f84d['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x3583dc['consumable']['consume'](_0x2fef56,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0xe7e3b,modelCursor:_0x5e20ab}=_0x3583dc['convertChildren'](_0x39f84d['viewItem'],_0x39f84d['modelCursor']);_0x39f84d['modelRange']=_0xe7e3b,_0x39f84d['modelCursor']=_0x5e20ab;}),_0x12bf7e['on']('element:hr',(_0x3405ac,_0x561a8b,_0x2f41d1)=>{const _0x24caea=_0x561a8b['viewItem'];_0x24caea['hasClass']('footnotes-divider')&&_0x561a8b['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2f41d1['consumable']['consume'](_0x24caea,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x4ba703['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5e671d,{writer:_0x23f6cf})=>JE(_0x23f6cf)}),_0x4ba703['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x542485,{writer:_0x1bf84f})=>{const _0x23c9fb=_0x3c4b67(JE(_0x1bf84f,{'data-footnotes-list-label':t('Footnotes')}),_0x1bf84f,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x1bf84f['setCustomProperty']('footnotesDefinitions',!0x0,_0x23c9fb),_0x23c9fb;}});}['_defineDefinitionConverters'](){const {editor:_0x3fcd69}=this,{conversion:_0x484cc3,locale:_0xcea028}=_0x3fcd69,_0x139733=_0x3fcd69['config']['get']('footnotes.multiBlock');_0x484cc3['for']('upcast')['add'](_0xa3fcfc=>{_0xa3fcfc['on']('element:li',(_0x558fcb,_0xa6bb62,_0x430614)=>{const _0x4e2a51=_0xa6bb62['viewItem'];if(!_0x4e2a51['hasClass']('footnote-definition')||!_0x4e2a51['getAttribute']('id'))return;const _0x76b6fd=_0x4e2a51['parent'];if(!_0x76b6fd['is']('element','ol')||!_0x76b6fd['hasClass']('footnotes-list'))return;if(!_0x430614['consumable']['test'](_0x4e2a51,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x1eb4c7=_0x430614['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x4e2a51['getAttribute']('id')});if(!_0x430614['safeInsert'](_0x1eb4c7,_0xa6bb62['modelCursor']))return;_0x430614['consumable']['consume'](_0x4e2a51,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x296136=Array['from'](_0x4e2a51['getChildren']())['find'](_0x44635c=>_0x44635c['is']('element')&&_0x44635c['hasClass']('footnote-content'));for(const _0x2a1acb of _0x4e2a51['getChildren']())_0x2a1acb['is']('element')&&(_0x430614['consumable']['consume'](_0x2a1acb,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x430614['consumable']['consume'](_0x2a1acb,{'name':!0x0,'classes':'footnote-content'}));if(_0x296136){if(_0x139733)_0x430614['convertChildren'](_0x296136,_0x1eb4c7);else{const _0x44359b=_0x430614['writer']['createElement']('footnoteInlineContent');_0x430614['writer']['insert'](_0x44359b,_0x1eb4c7),_0x430614['convertChildren'](_0x296136,_0x44359b);}}_0x430614['updateConversionResult'](_0x1eb4c7,_0xa6bb62);});}),_0x484cc3['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x58a4dc,{writer:_0x562b6f})=>eT(_0x58a4dc,_0x562b6f,_0xcea028,{'dataPipeline':!0x0})}),_0x484cc3['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x49cf0e,{writer:_0xe281f9})=>eT(_0x49cf0e,_0xe281f9,_0xcea028)});}['_defineBogusParagraphConverters'](){const {editor:_0x12089d}=this,{conversion:_0x35ba78}=_0x12089d;_0x12089d['config']['get']('footnotes.multiBlock')?(_0x35ba78['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':WE(),'converterPriority':'high'}),_0x35ba78['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':WE({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x12089d['model']['document'],'change:data',()=>{!function(_0x2b7d31,_0x5ab64d){const _0x4bd0a9=_0x2b7d31['document']['differ'],_0x476b0e=new Set();for(const _0x34a649 of _0x4bd0a9['getChanges']()){const _0x40588b='attribute'==_0x34a649['type']?_0x34a649['range']['start']['parent']:_0x34a649['position']['parent'];_0x40588b['is']('element','footnoteDefinition')&&_0x476b0e['add'](_0x40588b);}for(const _0x9757d4 of _0x476b0e['values']()){const _0x2e727c=Array['from'](_0x9757d4['getChildren']())['filter'](_0x3fb7b0=>YE(_0x3fb7b0,_0x5ab64d['mapper']));for(const _0x256861 of _0x2e727c)_0x5ab64d['reconvertItem'](_0x256861);}}(_0x12089d['model'],_0x12089d['editing']);})):(_0x35ba78['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':WE()}),_0x35ba78['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x24471b,{writer:_0x4f8db4})=>{const _0xb4be35=_0x4f8db4['createContainerElement']('span');return _0x4f8db4['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xb4be35),_0xb4be35;}}));}['_defineKeyboardHandlers'](){const {editor:_0x641fe8}=this,{editing:_0x5a2da7,t:t}=_0x641fe8,_0x30e074=_0x641fe8['model']['document']['selection'];_0x641fe8['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x641fe8['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x5a2da7['view']['document'],'enter',(_0x127c8e,_0x20198f)=>{const _0xca12ff=function(_0x26c53c){const _0x426674=_0x26c53c['getSelectedElement']();return _0x426674?.['is']('element','footnoteRef')?_0x426674:null;}(_0x30e074);if(_0xca12ff){const _0x5d7a16=_0xca12ff['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x5d7a16),_0x20198f['preventDefault'](),_0x127c8e['stop']();}},{'context':_0x1aa212});}['_defineClickHandlers'](){const {editor:_0x5407ed}=this,{editing:_0x3ddb72}=_0x5407ed;_0x5407ed['editing']['view']['addObserver'](_0x155bce),_0x5407ed['editing']['view']['addObserver'](_0xdccf5);let _0x52f3c2=!0x1;this['listenTo'](_0x3ddb72['view']['document'],'pointerdown',(_0x2f7295,_0x455cbe)=>{const {target:_0x11956c}=_0x455cbe,_0x2734ca=_0x3ddb72['view']['document']['selection'];_0x52f3c2=!!(_0x11956c?.['is']('element','a')&&_0x11956c['parent']?.['is']('element','sup')&&_0x11956c['parent']['hasClass']('footnote'))&&_0x2734ca['getSelectedElement']()===_0x11956c['parent'];},{'priority':'high'}),this['listenTo'](_0x3ddb72['view']['document'],'click',(_0x56bf37,_0x478434)=>{const {target:_0xa40c37}=_0x478434;if(!_0xa40c37?.['is']('element','a'))return;if(_0xa40c37['parent']?.['is']('element','sup')&&_0xa40c37['parent']['hasClass']('footnote')&&!_0x52f3c2)return void _0x478434['preventDefault']();let _0x21420b=_0xa40c37['getAttribute']('href');if(!_0x21420b?.['startsWith']('#'))return;_0x21420b=_0x21420b['slice'](0x1);let _0x106f1f=!0x1;(_0x21420b['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x21420b['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x21420b))&&(_0x106f1f=!0x0),_0x106f1f&&(_0x478434['preventDefault'](),_0x56bf37['stop']());},{'priority':'high','context':'$capture'});}};function WE({dataPipeline:_0x37c271}={}){return(_0x388219,{writer:_0x19c03d})=>{if(!zE(_0x388219))return null;if(!_0x37c271)return _0x19c03d['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x5136d4=_0x19c03d['createContainerElement']('p');return _0x19c03d['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5136d4),_0x5136d4;};}function zE(_0x5d2264){const {parent:_0x42be3b}=_0x5d2264;if(!_0x42be3b?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x42be3b['childCount'])return!0x1;for(const _0x2c57f7 of _0x5d2264['getAttributeKeys']())if(!_0x2c57f7['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x2c57f7)return!0x1;return!0x0;}function YE(_0x2523c8,_0x19affc){if(!_0x2523c8['is']('element','paragraph'))return!0x1;const _0x31942c=_0x19affc['toViewElement'](_0x2523c8);return!!_0x31942c&&zE(_0x2523c8)!==_0x31942c['is']('element','span');}function KE(_0xc37804){return _0x1aa212(_0xc37804)&&_0xc37804['is']('containerElement')&&!!_0xc37804['getCustomProperty']('footnotesDefinitions');}function JE(_0x57df81,_0x49717e={}){const _0x15327c=_0x57df81['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x82a309=_0x57df81['createContainerElement']('ol',{'class':'footnotes-list'},_0x57df81['createSlot']());return _0x57df81['createContainerElement']('div',{'class':'footnotes',..._0x49717e},[_0x15327c,_0x82a309]);}function tT(_0x200154,_0x1e9933){const _0x2128ab=_0x200154['getAttribute']('footnoteId'),_0x44a9f4=_0x200154['getAttribute']('footnoteCounter'),_0x56cfac=_0x1e9933['createUIElement']('a',{'href':'#'+_0x2128ab},function(_0x4aed6b){const _0x2fe103=this['toDomElement'](_0x4aed6b);return _0x2fe103['textContent']=_0x44a9f4,_0x2fe103;}),_0x2266a8=_0x1e9933['createContainerElement']('sup',{'id':'ref-'+_0x2128ab,'class':'footnote'},[_0x56cfac]);return _0x2266a8['getFillerOffset']=()=>null,_0x2266a8;}function eT(_0x2726a9,_0x48cc0e,_0x54b17f,{dataPipeline:_0x5c2189}={}){const {t:t}=_0x54b17f,_0xf15b7e=_0x2726a9['getAttribute']('footnoteId'),_0x519150=_0x48cc0e['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0xf15b7e},function(_0x1b8402){const _0x2ef8f6=this['toDomElement'](_0x1b8402);return _0x2ef8f6['innerText']='^',_0x2ef8f6;}),_0x30f8ea=_0x5c2189?_0x48cc0e['createContainerElement']('div',{'class':'footnote-content'}):_0x571c2e(_0x48cc0e['createEditableElement']('div',{'class':'footnote-content'}),_0x48cc0e,{'label':t('Footnote\x20content.')});return _0x48cc0e['insert'](_0x48cc0e['createPositionAt'](_0x30f8ea,0x0),_0x48cc0e['createSlot']()),_0x48cc0e['createContainerElement']('li',{'class':'footnote-definition','id':_0xf15b7e},[_0x519150,_0x30f8ea]);}var iT=class extends _0x36b920{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[qE,_0xa80fd9];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x3fa73b}=this,{plugins:_0x25b892,model:_0x52d98e}=_0x3fa73b,_0x1bf0d4=_0x25b892['get'](_0xa80fd9),_0x5199f8=_0x25b892['get'](HE);this['listenTo'](_0x1bf0d4,'outputTransformation',(_0x3311d3,_0x23a91f)=>{const _0x2ebe6b=nT(_0x52d98e['createRangeIn'](_0x23a91f['content']));if(!_0x2ebe6b['length'])return;const _0x272c70=_0x5199f8['getFootnotes'](),_0x5a71e3=_0x2ebe6b['reduce']((_0xbeb063,_0x5ecddc)=>{const _0xf1f1b8=_0x272c70['find'](_0x20d585=>_0x20d585['id']===_0x5ecddc);if(_0xf1f1b8){const _0x55fcf=_0x3fa73b['data']['toView'](_0xf1f1b8['definition'],{'isClipboardPipeline':!0x0}),_0x8c3346=_0x3fa73b['data']['htmlProcessor']['toData'](_0x55fcf);_0xbeb063[_0xf1f1b8['id']]=_0x8c3346;}return _0xbeb063;},Object['create'](null));_0x23a91f['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x5a71e3));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x5aa288}=this,{model:_0x19f3a9,plugins:_0x939cce}=_0x5aa288,{view:_0x21167a}=_0x5aa288['editing'],_0x38b44c=_0x939cce['get'](_0xa80fd9),_0x128fdb=_0x939cce['get'](HE),_0x485ffe=_0x5aa288['config']['get']('footnotes.multiBlock');let _0x4e17f2=null;this['listenTo'](_0x21167a['document'],'clipboardInput',(_0x10a904,_0x53f425)=>{const _0x237439=_0x53f425['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x4e17f2=_0x237439?JSON['parse'](_0x237439):null;}),this['listenTo'](_0x38b44c,'contentInsertion',(_0x3391b7,_0x525656)=>{const _0x50510b=_0x525656['sourceEditorId']===this['editor']['id'];_0x50510b&&'drop'===_0x525656['method']||_0x19f3a9['change'](_0x13030c=>{let _0x5c8640=_0x128fdb['getFootnotesDefinitionsObjectElement']();const _0x45cb37=!!_0x5c8640&&Array['from'](_0x19f3a9['document']['selection']['getSelectedBlocks']())['includes'](_0x5c8640);if(!_0x4e17f2&&function(_0x1040d9){for(const {item:_0x4e53f1}of _0x1040d9)if(_0x4e53f1['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x19f3a9['createRangeIn'](_0x525656['content']))&&(_0x4e17f2=function(_0x1baf6e,_0x3d8b0a){const _0x3656dc=sT(_0x1baf6e,_0x3d8b0a);if(!_0x3656dc)return null;const _0x5695a6=Object['create'](null);for(const _0x3477b4 of _0x3656dc['getChildren']())_0x3477b4['is']('element','footnoteDefinition')&&_0x3477b4['hasAttribute']('footnoteId')&&(_0x5695a6[_0x3477b4['getAttribute']('footnoteId')]=_0x1baf6e['cloneElement'](_0x3477b4,!0x0));return Object['keys'](_0x5695a6)['length']?_0x5695a6:null;}(_0x13030c,_0x525656['content'])),(_0x5c8640&&!_0x45cb37||!_0x5c8640&&!_0x4e17f2)&&function(_0x4100dd,_0x537417){const _0x3c65f0=[];for(const {item:_0x2dbeac}of _0x4100dd['createRangeIn'](_0x537417))_0x2dbeac['is']('element','footnotesDefinitions')&&_0x3c65f0['push'](_0x2dbeac);for(const _0x17ddf3 of _0x3c65f0)_0x4100dd['remove'](_0x17ddf3);}(_0x13030c,_0x525656['content']),!_0x4e17f2)return;const {selection:_0x313b02}=_0x19f3a9['document'],_0x668ea7=_0x313b02['getFirstRange']()['root'];_0x5c8640&&!_0x45cb37||(_0x5c8640=sT(_0x13030c,_0x525656['content']),_0x5c8640||=_0x128fdb['_insertEmptyFootnotesDefinitionsContainer'](_0x13030c,_0x668ea7));const _0x33c44f=Array['from'](_0x313b02['getRanges']())['flatMap'](nT),_0x1a1e42=function(_0x510c01,_0x220157,_0x3752a5){const _0x14ec62=Object['create'](null);for(const {item:_0x1e0421}of _0x510c01['createRangeIn'](_0x220157))if(_0x1e0421['is']('element','footnoteRef')){const _0x32bda7=_0x1e0421['getAttribute']('footnoteId');if(!_0x3752a5(_0x32bda7))continue;_0x14ec62[_0x32bda7]||(_0x14ec62[_0x32bda7]=_0x10825a()),_0x510c01['setAttribute']('footnoteId',_0x14ec62[_0x32bda7],_0x1e0421);}return _0x14ec62;}(_0x13030c,_0x525656['content'],_0x13d798=>!_0x50510b||!!_0x128fdb['getFootnote'](_0x13d798)&&!_0x33c44f['includes'](_0x13d798));for(const [_0x2d62dd,_0x2b8000]of Object['entries'](_0x4e17f2)){const _0x22c13e=_0x1a1e42[_0x2d62dd]||_0x2d62dd;let _0x5a14c3;if('string'!=typeof _0x2b8000)_0x5a14c3=_0x2b8000,_0x22c13e!==_0x2d62dd&&_0x13030c['setAttribute']('footnoteId',_0x22c13e,_0x5a14c3);else{_0x5a14c3=_0x13030c['createElement']('footnoteDefinition',{'footnoteId':_0x22c13e});const _0x3ab2bc=_0x5aa288['data']['htmlProcessor']['toView'](_0x2b8000);let _0x4d636f;if(_0x485ffe)_0x4d636f=_0x5aa288['data']['toModel'](_0x3ab2bc,_0x5a14c3);else{_0x4d636f=_0x13030c['createElement']('footnoteInlineContent');const _0x101e4d=_0x5aa288['data']['toModel'](_0x3ab2bc,_0x4d636f);_0x13030c['insert'](_0x101e4d,_0x4d636f);}_0x13030c['append'](_0x4d636f,_0x5a14c3);}_0x13030c['insert'](_0x5a14c3,_0x5c8640,'end');}_0x4e17f2=null;});});}};function sT(_0x1c21de,_0x5cfde0){for(const {item:_0x8f10d1}of _0x1c21de['createRangeIn'](_0x5cfde0))if(_0x8f10d1['is']('element','footnotesDefinitions'))return _0x8f10d1;return null;}function nT(_0x26642d){const _0x36f3d6=new Set();for(const {item:_0x4a1420}of _0x26642d)_0x4a1420['is']('element','footnoteRef')&&_0x36f3d6['add'](_0x4a1420['getAttribute']('footnoteId'));return Array['from'](_0x36f3d6);}var rT=class extends _0x36b920{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x18dd97}=this,{componentFactory:_0x246028}=_0x18dd97['ui'];_0x246028['add']('insertFootnote',oT(_0x18dd97,_0x47ddb0)),_0x246028['add']('menuBar:insertFootnote',oT(_0x18dd97,_0x3dd6ab)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3f5c0b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x438253;for(const _0x36d57e in _0x3f5c0b){const _0x20e513=_0x36d57e,_0x41fcf4=_0x3f5c0b[_0x20e513];if('footnotesLicenseKeyValid'==_0x41fcf4||'footnotesLicenseKeyInvalid'==_0x41fcf4||'footnotesLicenseKeyExpired'==_0x41fcf4||'footnotesLicenseKeyDomainLimit'==_0x41fcf4||'footnotesLicenseKeyNotAllowed'==_0x41fcf4||'footnotesLicenseKeyEvaluationLimit'==_0x41fcf4||'footnotesLicenseKeyUsageLimit'==_0x41fcf4){delete _0x3f5c0b[_0x20e513],_0x438253=_0x41fcf4,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x438253&&_0x3f5c0b['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x438253&&_0x3f5c0b['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x438253&&_0x3f5c0b['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x438253&&_0x3f5c0b['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x438253&&_0x3f5c0b['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x438253&&_0x3f5c0b['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function oT(_0x31341c,_0x3e7b0b){const _0x131900=_0x31341c['commands']['get']('insertFootnote');return _0x1ae71d=>{const {t:t}=_0x1ae71d,_0x5151a8=new _0x3e7b0b(_0x1ae71d),_0x42a4d9=_0x5151a8 instanceof _0x3dd6ab;return _0x5151a8['bind']('isEnabled')['to'](_0x131900,'isEnabled'),_0x5151a8['set']({'label':t(_0x42a4d9?'Footnote':'Insert\x20footnote'),'icon':st,'tooltip':!0x0}),_0x5151a8['on']('execute',()=>{_0x131900['execute'](),_0x31341c['editing']['view']['focus']();}),_0x5151a8;};}var aT=class extends _0x36b920{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[qE,iT,rT];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};const cT=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],lT=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),hT=[...cT,'arabic-indic','lower-alpha','upper-alpha'];var uT=class extends _0x32be70{['refresh'](){const {editor:_0x459241}=this,_0x59f146=_0x459241['plugins']['get'](HE)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x59f146,this['value']=_0x59f146?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x200972}){const {editor:_0x41533f}=this,_0x2ecdf1=_0x41533f['plugins']['get'](HE),_0x5c7e7c=_0x2ecdf1['getFootnotesDefinitionsObjectElement']();_0x5c7e7c&&hT['includes'](_0x200972)&&_0x41533f['model']['change'](_0xc6284d=>{_0xc6284d['setAttribute']('footnotesListStyle',_0x200972,_0x5c7e7c),_0x2ecdf1['_updateFootnotesCounters'](_0xc6284d);});}},dT=class extends _0x32be70{['refresh'](){const {editor:_0x56c3f4}=this,_0x321da5=_0x56c3f4['plugins']['get'](HE)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x321da5,this['value']=_0x321da5?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x29f180}){const {editor:_0x3d9dc4}=this,_0x43094e=_0x3d9dc4['plugins']['get'](HE),_0x3e4b38=_0x43094e['getFootnotesDefinitionsObjectElement']();_0x3e4b38&&Number['isInteger'](_0x29f180)&&_0x3d9dc4['model']['change'](_0x9be7e7=>{_0x9be7e7['setAttribute']('footnotesListStart',_0x29f180,_0x3e4b38),_0x43094e['_updateFootnotesCounters'](_0x9be7e7);});}};function fT({style:_0x56331d,digits:_0x3bd284,value:_0xf47fad}){const _0x1dfd5f=Math['floor'](_0xf47fad),_0x15de33=function(_0x30843b){switch(_0x30843b){case'lower-alpha':case'lower-latin':case'upper-alpha':case'upper-latin':return{'min':0x1,'max':0x1/0x0};case'lower-roman':case'upper-roman':return{'min':0x1,'max':0xf9f};default:return{'min':-0x1/0x0,'max':0x1/0x0};}}(_0x56331d);switch((_0x1dfd5f>_0x15de33['max']||_0x1dfd5f<_0x15de33['min'])&&(_0x56331d='decimal'),_0x56331d){case'decimal-leading-zero':return function(_0x32678e,_0x9bece9){return String(_0x32678e)['padStart'](_0x9bece9,'0');}(_0x1dfd5f,Math['max'](0x2,_0x3bd284));case'lower-alpha':case'lower-latin':return mT(_0x1dfd5f,!0x1);case'upper-alpha':case'upper-latin':return mT(_0x1dfd5f,!0x0);case'lower-roman':return gT(_0x1dfd5f,!0x1);case'upper-roman':return gT(_0x1dfd5f,!0x0);case'arabic-indic':return function(_0x34c51f){return String(_0x34c51f)['replace'](/\d/g,_0x39d244=>OT[Number(_0x39d244)]);}(_0x1dfd5f);default:return String(_0x1dfd5f);}}function mT(_0xabb48b,_0x541b16){let _0x4d9c86='',_0x131ed1=_0xabb48b;for(;_0x131ed1>0x0;){const _0x2cb94b=(_0x131ed1-0x1)%0x1a;_0x4d9c86=String['fromCharCode'](0x61+_0x2cb94b)+_0x4d9c86,_0x131ed1=Math['floor']((_0x131ed1-0x1)/0x1a);}return _0x541b16?_0x4d9c86['toUpperCase']():_0x4d9c86;}const pT=[{'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 gT(_0x2ebb2d,_0x5a51b5){let _0x2ee92d='',_0x456104=_0x2ebb2d;for(const {value:_0x2f2f20,numeral:_0x5b1cc1}of pT)for(;_0x456104>=_0x2f2f20;)_0x2ee92d+=_0x5b1cc1,_0x456104-=_0x2f2f20;return _0x5a51b5?_0x2ee92d:_0x2ee92d['toLowerCase']();}const OT=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];var wT=class extends _0x36b920{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[qE,HE];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x561277}=this;_0x561277['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x561277['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x561277['config']['define']('footnotes.footnotesProperties.listStyles',[...cT]),_0x561277['commands']['add']('footnotesStyle',new uT(_0x561277)),_0x561277['commands']['add']('footnotesStart',new dT(_0x561277)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x1fbb83}=this,{schema:_0x1e3211}=_0x1fbb83['model'];_0x1e3211['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x273ff8}=this,{conversion:_0x4dd4f4,model:_0x238443}=_0x273ff8,{schema:_0xdfb4e0}=_0x238443;_0x4dd4f4['for']('upcast')['add'](_0x5b52a3=>{_0x5b52a3['on']('element:ol',(_0x1fa1cb,_0x2c2a68,_0xd904a9)=>{const _0x344ff5=_0x2c2a68['viewItem'],_0x440806=_0x2c2a68['modelCursor']?.['parent'];_0x344ff5['hasClass']('footnotes-list')&&_0x440806?.['is']('element','footnotesDefinitions')&&(function(_0x48e67b,_0x4f5932,_0x34e809,_0x518694){if(!_0x518694['checkAttribute'](_0x4f5932,'footnotesListStart'))return;let _0x28190c=0x1;const _0x2d731e=_0x34e809['consumable']['consume'](_0x48e67b,{'attributes':'start'});if(_0x2d731e){const _0xab6eed=Number['parseInt'](_0x48e67b['getAttribute']('start'),0xa);Number['isNaN'](_0xab6eed)||(_0x28190c=_0xab6eed);}!_0x2d731e&&_0x4f5932['hasAttribute']('footnotesListStart')||_0x34e809['writer']['setAttribute']('footnotesListStart',_0x28190c,_0x4f5932);}(_0x344ff5,_0x440806,_0xd904a9,_0xdfb4e0),function(_0x1e476,_0x25d821,_0x590b62,_0x171989){if(!_0x171989['checkAttribute'](_0x25d821,'footnotesListStyle'))return;let _0x18e469='decimal',_0x10e669=!0x1;if(_0x590b62['consumable']['consume'](_0x1e476,{'attributes':'type'})){const _0x55d1a3={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x1e476['getAttribute']('type')];_0x55d1a3&&(_0x18e469=_0x55d1a3),_0x10e669=!0x0;}if(_0x590b62['consumable']['consume'](_0x1e476,{'styles':'list-style-type'})){const _0xb68933=bT(_0x1e476['getStyle']('list-style-type'));_0xb68933&&(_0x18e469=_0xb68933),_0x10e669=!0x0;}!_0x10e669&&_0x25d821['hasAttribute']('footnotesListStyle')||_0x590b62['writer']['setAttribute']('footnotesListStyle',_0x18e469,_0x25d821);}(_0x344ff5,_0x440806,_0xd904a9,_0xdfb4e0));});}),_0x4dd4f4['for']('downcast')['add'](_0x5c3d91=>{_0x5c3d91['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x5d0494,_0x10d994,_0x4f3138)=>{if(!_0x4f3138['consumable']['consume'](_0x10d994['item'],_0x5d0494['name']))return;const _0x30fbf6=yT(_0x10d994['item'],_0x4f3138['mapper']),{attributeNewValue:_0x4bf914}=_0x10d994;null==_0x4bf914||0x1===_0x4bf914?_0x4f3138['writer']['removeAttribute']('start',_0x30fbf6):_0x4f3138['writer']['setAttribute']('start',String(_0x4bf914),_0x30fbf6);}),_0x5c3d91['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x1de3d3,_0x3695a7,_0x1a7d32)=>{if(!_0x1a7d32['consumable']['consume'](_0x3695a7['item'],_0x1de3d3['name']))return;const _0x4e26ec=yT(_0x3695a7['item'],_0x1a7d32['mapper']),{attributeNewValue:_0x23a8f1}=_0x3695a7;_0x23a8f1&&'decimal'!==_0x23a8f1?_0x1a7d32['writer']['setStyle']('list-style-type',_0x23a8f1,_0x4e26ec):_0x1a7d32['writer']['removeStyle']('list-style-type',_0x4e26ec);});});}['_definePostfixer'](){const {editor:_0x36255d}=this,{model:_0x39b9a2}=_0x36255d,_0x4ec7b9=_0x36255d['plugins']['get'](HE),_0x250108=this['_getDefaultListStyle'](),_0x48b21=this['_getDefaultStartIndex']();_0x39b9a2['document']['registerPostFixer'](_0x54917d=>{const _0x258039=_0x39b9a2['document']['differ']['getChanges']();let _0x1ae1ed=!0x1;for(const _0x7cc1c5 of _0x258039){if('insert'!==_0x7cc1c5['type']||'$text'===_0x7cc1c5['name'])continue;const _0x3d3dcf=_0x39b9a2['createRangeOn'](_0x7cc1c5['position']['nodeAfter']);for(const _0x38b48c of _0x3d3dcf['getItems']())_0x38b48c['is']('element','footnotesDefinitions')&&(!_0x38b48c['hasAttribute']('footnotesListStart')&&_0x39b9a2['schema']['checkAttribute'](_0x38b48c,'footnotesListStart')&&(_0x54917d['setAttribute']('footnotesListStart',_0x48b21,_0x38b48c),_0x1ae1ed=!0x0),!_0x38b48c['hasAttribute']('footnotesListStyle')&&_0x39b9a2['schema']['checkAttribute'](_0x38b48c,'footnotesListStyle')&&(_0x54917d['setAttribute']('footnotesListStyle',_0x250108,_0x38b48c),_0x1ae1ed=!0x0));}return _0x1ae1ed&&_0x4ec7b9['_updateFootnotesCounters'](_0x54917d),_0x1ae1ed;});}['_defineFormatter'](){const {editor:_0x192f85}=this;_0x192f85['plugins']['get'](HE)['setFootnoteFormatter'](_0x5501d5=>this['_formatFootnoteListValue'](_0x5501d5));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x31df21,value:_0xb70bb1,digits:_0x480991}){const _0xd6af01=_0x31df21['getAttribute']('footnotesListStyle');return fT({'value':_0xb70bb1+(_0x31df21['getAttribute']('footnotesListStart')??0x1)-0x1,'style':_0xd6af01,'digits':_0x480991});}};function bT(_0x238453){if('string'==typeof _0x238453){const _0x28cee8=lT[_0x238453];if(_0x28cee8)return _0x28cee8;if(hT['includes'](_0x238453))return _0x238453;}return null;}function yT(_0x2302a0,_0x2d1513){const _0x2fa84c=_0x2d1513['toViewElement'](_0x2302a0);return Array['from'](_0x2fa84c['getChildren']())['find'](_0x8e3c8b=>_0x8e3c8b['is']('element','ol')&&_0x8e3c8b['hasClass']('footnotes-list'));}var vT=class extends _0x2df468{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x33fa41();['keystrokes']=new _0x491b26();['focusables']=new _0xa445c9();['focusCycler'];constructor(_0x1af86b,{styleButtonViews:_0x38689e,styleGridAriaLabel:_0x519907}){super(_0x1af86b),(this['focusCycler']=new _0x1a2844({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x38689e,_0x519907),[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 _0x21cf0e of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x21cf0e['element']);_0x5bf4b5({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x22955f['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 _0x177425=_0x557e80=>_0x557e80['stopPropagation']();this['keystrokes']['set']('arrowright',_0x177425),this['keystrokes']['set']('arrowleft',_0x177425),this['keystrokes']['set']('arrowup',_0x177425),this['keystrokes']['set']('arrowdown',_0x177425);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x3b9390,_0x336b61){const _0x5550bd=new _0x2df468(this['locale']);return _0x5550bd['children']=_0x5550bd['createCollection'](),_0x5550bd['children']['addMany'](_0x3b9390),_0x5550bd['setTemplate']({'tag':'div','attributes':{'aria-label':_0x336b61,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x5550bd['children']}),_0x5550bd['children']['delegate']('execute')['to'](this),_0x5550bd['focus']=function(){for(const _0x116ccb of this['children'])if(_0x116ccb instanceof _0x47ddb0&&_0x116ccb['isOn'])return void _0x116ccb['focus']();this['children']['first']['focus']();},_0x5550bd['focusTracker']=new _0x33fa41(),_0x5550bd['keystrokes']=new _0x491b26(),_0x5550bd['render'](),_0x5550bd['keystrokes']['listenTo'](_0x5550bd['element']),this['children']['add'](_0x5550bd),_0x5550bd;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x253381=this['_createStartIndexPropertyView'](),_0x54bd18=[_0x253381],_0x4614db=new _0x5452a8(this['locale'],_0x54bd18);return _0x4614db['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x4614db['buttonView']['bind']('isEnabled')['toMany'](_0x54bd18,'isEnabled',(..._0x3f86e5)=>_0x3f86e5['some'](_0x33b7c4=>_0x33b7c4)),_0x4614db['buttonView']['on']('change:isEnabled',(_0x21ca06,_0x1be38f,_0x199f0a)=>{_0x199f0a||(_0x4614db['isCollapsed']=!0x0);}),this['children']['add'](_0x4614db),[_0x253381,_0x4614db];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x2a6513=new _0x339594(this['locale'],_0x29eaa0);return _0x2a6513['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x2a6513['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2a6513['fieldView']['on']('input',()=>{const _0x65523f=_0x2a6513['fieldView']['element'],_0x5e51be=_0x65523f['valueAsNumber'];Number['isNaN'](_0x5e51be)?_0x2a6513['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x65523f['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x5e51be}):_0x2a6513['errorText']=t(_0x5e51be<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x2a6513;}},_T=class extends _0x36b920{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0xcef29e,_0x3abea8];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x35f71e}=this,{componentFactory:_0x2318a7}=_0x35f71e['ui'];_0x35f71e['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x2318a7['add']('footnotesStyle',function(_0x276f91){return _0x22b8f4=>{const {t:t}=_0x22b8f4,_0x34d1eb=_0x276f91['commands']['get']('footnotesStyle'),_0x5a8d44=_0x18eee9(_0x22b8f4),{buttonView:_0x3a9a2b}=_0x5a8d44;return _0x5a8d44['class']='ck-footnotes-styles-dropdown',_0x5a8d44['bind']('isEnabled')['to'](_0x34d1eb,'isEnabled'),_0x3a9a2b['set']({'label':t('Footnotes\x20style'),'icon':st,'tooltip':!0x0}),_0x5a8d44['once']('change:isOpen',()=>{const _0x3aaa6d=function({editor:_0x424989,dropdownView:_0x1c574e}){const {t:t}=_0x424989['locale'],_0x4eda9c=t('Footnotes\x20definitions\x20styles'),_0x30394c=function(_0x4193bc){const {t:t}=_0x4193bc['locale'],_0x1d27e9=_0x4193bc['config']['get']('footnotes.footnotesProperties.listStyles'),_0x1b7068=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':Et},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':Tt},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':St},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':kt},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':At},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':It},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_t}];return _0x1d27e9['map'](_0x417f1b=>{const _0x47b161=bT(_0x417f1b);return function(_0x53776f,_0x438dc3){const {locale:_0x12c949}=_0x53776f,{label:_0x3d5a95,icon:_0x2354f9,tooltip:_0x7ceafc,style:_0x5c1486}=_0x438dc3,_0x29a349=_0x53776f['commands']['get']('footnotesStyle'),_0x4e9e8e=new _0x47ddb0(_0x12c949);return _0x4e9e8e['set']({'label':_0x3d5a95,'icon':_0x2354f9,'tooltip':_0x7ceafc}),_0x4e9e8e['bind']('isOn')['to'](_0x29a349,'value',_0x929536=>_0x929536===_0x5c1486),_0x4e9e8e['bind']('isEnabled')['to'](_0x29a349,'isEnabled'),_0x4e9e8e['on']('execute',()=>{_0x53776f['execute']('footnotesStyle',{'value':_0x5c1486}),_0x53776f['editing']['view']['focus']();}),_0x4e9e8e;}(_0x4193bc,_0x1b7068['find'](_0x4e6e42=>_0x4e6e42['style']===_0x47b161));});}(_0x424989),_0x4d03fa=new vT(_0x424989['locale'],{'styleGridAriaLabel':_0x4eda9c,'styleButtonViews':_0x30394c}),_0x5bd30e=_0x424989['commands']['get']('footnotesStart');return _0x4d03fa['startIndexFieldView']['bind']('isEnabled')['to'](_0x5bd30e),_0x4d03fa['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x5bd30e),_0x4d03fa['on']('footnotesListStart',(_0xcba980,_0xc9b244)=>{_0x424989['execute']('footnotesStart',{'value':_0xc9b244['startIndex']});}),_0x4d03fa['delegate']('execute')['to'](_0x1c574e),_0x4d03fa;}({'editor':_0x276f91,'dropdownView':_0x5a8d44});_0x5a8d44['panelView']['children']['add'](_0x3aaa6d);}),_0x5a8d44;};}(_0x35f71e));}['afterInit'](){const {editor:_0x1cc45f}=this,{t:t}=_0x1cc45f['locale'],_0x50395f=_0x1cc45f['plugins']['get'](_0x3abea8),{defaultPositions:_0x2b7c7e}=_0x13153c;_0x50395f['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x1cc45f['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x47e0f0=>{let _0x250e50=_0x47e0f0['getFirstPosition']()?.['parent'];return _0x250e50?.['is']('$text')&&(_0x250e50=_0x250e50['parent']),_0x250e50?.['is']('element')?_0x250e50['findAncestor'](KE):null;},'positions':[_0x2b7c7e['southArrowNorth'],_0x2b7c7e['southArrowNorthMiddleWest'],_0x2b7c7e['southArrowNorthMiddleEast'],_0x2b7c7e['southArrowNorthWest'],_0x2b7c7e['southArrowNorthEast'],_0x2b7c7e['northArrowSouth'],_0x2b7c7e['northArrowSouthMiddleWest'],_0x2b7c7e['northArrowSouthMiddleEast'],_0x2b7c7e['northArrowSouthWest'],_0x2b7c7e['northArrowSouthEast'],_0x2b7c7e['viewportStickyNorth']]});}},ET=class extends _0x36b920{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[wT,_T];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};const TT='copyFormat',AT='pasteFormat',ST='ck-format-painter-active';var IT=class extends _0x32be70{constructor(_0x122b13){super(_0x122b13),this['value']=void 0x0,this['on']('change:isEnabled',(_0x55d133,_0x389fc4,_0x31d722)=>{_0x31d722||this['reset']();}),this['on']('change:value',()=>_0x122b13['commands']['get'](AT)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x10b4bf=this['editor']['model'],_0x52269e=_0x10b4bf['document']['selection'];return Object['fromEntries'](Array['from'](_0x52269e['getAttributes']())['filter'](([_0x1b484c])=>_0x10b4bf['schema']['getAttributeProperties'](_0x1b484c)['isFormatting']));}},kT=class extends _0x32be70{constructor(_0x1092b3){super(_0x1092b3),this['_removeFormatCommand']=new _0x1f69e0(_0x1092b3);}['execute'](_0x362e6f={}){const _0x5e6d9c=this['editor']['model'],_0x52ed4e=_0x5e6d9c['document']['selection'],_0x5bae0b=Array['from'](_0x52ed4e['getRanges']()),_0x17a846=_0x52ed4e['isCollapsed']?[this['_createRangeOnEntireWord'](_0x5e6d9c,_0x52ed4e)]:_0x5bae0b;_0x5e6d9c['change'](_0x20ae90=>{_0x20ae90['setSelection'](_0x17a846),this['_removeFormatCommand']['execute']();for(const _0x2e4a12 in _0x362e6f)for(const _0x59b01b of _0x5e6d9c['schema']['getValidRanges'](_0x17a846,_0x2e4a12))_0x20ae90['setAttribute'](_0x2e4a12,_0x362e6f[_0x2e4a12],_0x59b01b);_0x20ae90['setSelection'](_0x5bae0b);});}['_createRangeOnEntireWord'](_0x5661ae,_0x429d04){const _0x2db033=_0x5661ae['createSelection'](_0x429d04);_0x5661ae['modifySelection'](_0x2db033,{'unit':'word','direction':'backward'});const _0x5c01c4=_0x2db033['getFirstPosition']();_0x5661ae['modifySelection'](_0x2db033,{'unit':'word','direction':'forward'});const _0x564604=_0x2db033['getLastPosition']();return _0x5661ae['createRange'](_0x5c01c4,_0x564604);}},xT=class extends _0x36b920{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x320efb=this['editor'];_0x320efb['commands']['add'](TT,new IT(_0x320efb)),_0x320efb['commands']['add'](AT,new kT(_0x320efb)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1fa64a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3ff8c5;for(const _0x30e9aa in _0x1fa64a){const _0x5a7a27=_0x30e9aa,_0x31717d=_0x1fa64a[_0x5a7a27];if('formatPainterLicenseKeyValid'==_0x31717d||'formatPainterLicenseKeyInvalid'==_0x31717d||'formatPainterLicenseKeyExpired'==_0x31717d||'formatPainterLicenseKeyDomainLimit'==_0x31717d||'formatPainterLicenseKeyNotAllowed'==_0x31717d||'formatPainterLicenseKeyEvaluationLimit'==_0x31717d||'formatPainterLicenseKeyUsageLimit'==_0x31717d){delete _0x1fa64a[_0x5a7a27],_0x3ff8c5=_0x31717d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x3ff8c5&&_0x1fa64a['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x3ff8c5&&_0x1fa64a['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x3ff8c5&&_0x1fa64a['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x3ff8c5&&_0x1fa64a['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x3ff8c5&&_0x1fa64a['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyUsageLimit'==_0x3ff8c5&&_0x1fa64a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function CT(_0x37d11a,_0x4c853d){const t=_0x37d11a['t'];switch(_0x4c853d){case'Paint\x20formatting':return t('Paint\x20formatting');case'Copy\x20text\x20formatting':return t('Copy\x20text\x20formatting');case'Paste\x20text\x20formatting':return t('Paste\x20text\x20formatting');case'Continuous\x20painting':return t('Continuous\x20painting');case'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.':return t('Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.');case'Formatting\x20copied.':return t('Formatting\x20copied.');case'Pasted\x20formatting.':return t('Pasted\x20formatting.');case'Painting\x20cancelled.':return t('Painting\x20cancelled.');default:return _0x4c853d;}}const RT=/* #__PURE__ -- @preserve */
_0x40568c(_0x36b920);var PT=class extends RT{static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x13b964=this['editor'];_0x13b964['editing']['view']['addObserver'](_0xdccf5),_0x13b964['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':CT(_0x13b964['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':CT(_0x13b964['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x13b964['ui']['componentFactory']['add']('formatPainter',_0x2d1be3=>{const _0x261651=_0x18eee9(_0x2d1be3,_0x139493),_0x1f65b0=_0x13b964['commands']['get'](TT);_0x261651['buttonView']['set']({'label':CT(_0x13b964['locale'],'Paint\x20formatting'),'icon':Ut,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x261651['class']='ck-format-painter-dropdown',_0x1f65b0&&(_0x261651['bind']('isEnabled')['to'](_0x1f65b0,'isEnabled'),this['listenTo'](_0x1f65b0,'change:isEnabled',(_0x1f5ad4,_0x7f9712,_0x2ef1df)=>{_0x2ef1df||this['_finishPainting']();}),_0x261651['buttonView']['bind']('isOn')['to'](_0x1f65b0,'value',_0x547d5a=>!!_0x547d5a),this['listenTo'](_0x13b964,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x1f65b0,'change:value',(_0x62a8,_0x1958c9,_0x41a2a8)=>{this['_toggleSpecialCursor'](!!_0x41a2a8);}));const _0x162f7a=new _0x30ba3c({'withText':!0x0,'label':CT(_0x13b964['locale'],'Continuous\x20painting'),'tooltip':CT(_0x13b964['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});ts(_0x261651,new _0x23ea50([{'type':'switchbutton','model':_0x162f7a}]),{'role':'menu'});const _0x4e118b=()=>{this['_copyFormatting'](),this['listenTo'](_0x22955f['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x162f7a['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x261651,'execute',()=>{_0x162f7a['isOn']=!_0x162f7a['isOn'];}),this['listenTo'](_0x261651['buttonView'],'execute',()=>{_0x13b964['editing']['view']['focus'](),_0x261651['buttonView']['isOn']?this['_finishPainting']():_0x4e118b();}),_0x13b964['keystrokes']['set']('Ctrl+Alt+C',(_0x5ae907,_0x5f217a)=>{_0x4e118b(),_0x162f7a['isOn']=!0x0,_0x5f217a();},{'priority':'high'}),_0x13b964['keystrokes']['set']('Ctrl+Alt+V',(_0x366dae,_0x51cd95)=>{_0x261651['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x162f7a['isOn']||this['_finishPainting'](),_0x51cd95());},{'priority':'high'}),_0x13b964['keystrokes']['set']('Esc',(_0xf444bc,_0x50d14b)=>{_0x261651['buttonView']['isOn']&&(_0x162f7a['isOn']=!0x1,this['_finishPainting'](),_0x13b964['ui']['ariaLiveAnnouncer']['announce'](CT(_0x13b964['locale'],'Painting\x20cancelled.')),_0x50d14b());}),_0x261651;});}['afterInit'](){!async function(_0xeda33e){const _0x51477e='QiLRCSOsZ8pAvDdaPJUE3oxjKlzM2uXgrtGfeyh5cNFkmBw9I6WH0qnb4T17YV',_0xd8621c=0x78fc0,_0x1404e7=window['Date']['now'](),_0x241616=_0xeda33e['editor'],_0x5dd6c8=new window['Promise'](_0x25e18c=>{_0x241616['once']('ready',_0x25e18c);}),_0x9ed28b={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x27e841=_0x241616['config']['get']('licenseKey');async function _0x3a0ced(){let _0x40283c,_0x8355f2=null,_0x34253e=null;try{return'GPL'==_0x27e841?'NotAllowed':(_0x40283c=_0x16cdf7(),_0x40283c?(_0x40283c['usageEndpoint']&&(_0x34253e=_0x5ddaab(_0x40283c['usageEndpoint'],_0x40283c['jti'])),await _0x3b727c()?_0xd25dec()?_0x379aa7()?'Expired':_0x5baa68()?('evaluation'==_0x40283c['licenseType']&&(_0x8355f2=_0x3fa79e('EvaluationLimit')),await _0x4e325e()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x379aa7(){const _0x573828=['evaluation','trial']['includes'](_0x40283c['licenseType'])?_0x1404e7/0x3e8:0xe10*_0xd8621c;return _0x40283c['exp']<_0x573828;}function _0xd25dec(){const _0x360fb2=_0x40283c['features'];return!!_0x360fb2&&(!!_0x360fb2['includes']('*')||(!!_0x360fb2['includes']('FP')||(!!_0x360fb2['includes']('PP')||!(!_0x360fb2['includes']('TRILIUM')||!_0x12643b()))));}function _0x5baa68(){const _0x2ac638=_0x40283c['licensedHosts'];if(!_0x2ac638||0x0==_0x2ac638['length'])return!0x0;const {hostname:_0x2e111d}=new URL(window['location']['href']);if(_0x2ac638['includes'](_0x2e111d))return!0x0;const _0x23291d=_0x2e111d['split']('.');return _0x2ac638['filter'](_0x5bd157=>_0x5bd157['includes']('*'))['map'](_0x5d9976=>_0x5d9976['split']('.'))['filter'](_0x28dec6=>_0x28dec6['length']<=_0x23291d['length'])['map'](_0x52ca2f=>Array(_0x23291d['length']-_0x52ca2f['length'])['fill']('*'===_0x52ca2f[0x0]?'*':'')['concat'](_0x52ca2f))['some'](_0x3f295b=>_0x23291d['every']((_0x2f1af1,_0x3d95b9)=>_0x3f295b[_0x3d95b9]===_0x2f1af1||'*'===_0x3f295b[_0x3d95b9]));}function _0x4e325e(){return _0x8355f2&&_0x34253e?new window['Promise']((_0x5d67ba,_0x3f1e97)=>{_0x8355f2['then'](_0x5d67ba,_0x3f1e97),_0x34253e['then'](_0x1a46ab=>{'Valid'!=_0x1a46ab&&_0x5d67ba(_0x1a46ab);},_0x3f1e97);}):_0x8355f2||_0x34253e||'Valid';}}function _0x5ddaab(_0x931283,_0x170bde){return new window['Promise'](_0x37d712=>{if(_0x303f02())return _0x37d712('Valid');_0x2ce716(),_0x241616['decorate']('_sendUsageRequest');let _0x3eb039=!0x1;const _0x1a0e7e=_0x10825a();function _0x4350c3(_0x14dcaa){return!!_0x14dcaa&&('object'==typeof _0x14dcaa||'function'==typeof _0x14dcaa)&&'function'==typeof _0x14dcaa['then']&&'function'==typeof _0x14dcaa['catch'];}function _0x3cfab9(_0x58853e){_0x18c2a7(_0x58853e)['then'](_0x2ca6a1=>_0x2ca6a1&&'ok'==_0x2ca6a1['status']?_0x3d872a(_0x139b2f(_0x1a0e7e+_0x170bde))!=_0x2ca6a1['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x1f008f=>(_0x327d5b(),_0x1f008f),()=>{const _0x7bf6a=_0xc4ce1c();return null==_0x7bf6a?(_0x327d5b(),'Valid'):_0x1404e7-_0x7bf6a>0x240c8400?'UsageLimit':'Valid';})['then'](_0x37d712)['catch'](()=>{_0x37d712('UsageLimit');});const _0x5bc4a9=0x36ee80;function _0x327d5b(){const _0x15026e='llct-'+_0x3d872a(_0x139b2f(_0x931283)),_0x45775f=_0x4db0c3(_0x3d872a(window['Math']['ceil'](_0x1404e7/_0x5bc4a9)));window['localStorage']['setItem'](_0x15026e,_0x45775f);}function _0xc4ce1c(){const _0x49a08e='llct-'+_0x3d872a(_0x139b2f(_0x931283)),_0x375317=window['localStorage']['getItem'](_0x49a08e);return _0x375317?window['parseInt'](_0x4db0c3(_0x375317),0x10)*_0x5bc4a9:null;}function _0x18c2a7(_0x3ee7b3){return new window['Promise']((_0x3a8da2,_0x46d7ae)=>{_0x3ee7b3['then'](_0x3a8da2,_0x46d7ae),window['setTimeout'](_0x46d7ae,0x1d4c0);});}}_0x241616['on']('_sendUsageRequest',(_0x56bdda,_0x192e9d)=>{if(_0x192e9d[0x0]!=_0x931283)return _0x37d712('UsageLimit');_0x192e9d[0x1]={..._0x192e9d[0x1],'requestId':_0x1a0e7e};},{'priority':'high'}),_0x241616['on']('_sendUsageRequest',_0x51fdb9=>{_0x4350c3(_0x51fdb9['return'])&&(_0x3eb039=!0x0,_0x3cfab9(_0x51fdb9['return']));},{'priority':'low'}),_0x5dd6c8['then'](()=>{_0x3eb039||_0x37d712('UsageLimit');});});function _0x303f02(){return'auto'==_0x241616['editing']['view']['_overlayModeHint'];}function _0x2ce716(){_0x241616['editing']['view']['_overlayModeHint']='auto';}}function _0x3fa79e(_0x5208e2){const _0xccaadb=[new window['Promise'](_0x2596e1=>setTimeout(_0x2596e1,0x93ecc)),_0x5dd6c8['then'](()=>new window['Promise'](_0x27347e=>{let _0x78871=0x0;_0x241616['model']['on']('applyOperation',(_0x1afebc,_0x2498d4)=>{_0x2498d4[0x0]['isDocumentOperation']&&_0x78871++,0x5e8==_0x78871&&(_0x27347e(),_0x1afebc['off']());});}))];return window['Promise']['race'](_0xccaadb)['then'](()=>_0x5208e2);}async function _0x535767(){await _0x5dd6c8,_0x241616['model']['change']=_0x10068b,_0x241616['model']['enqueueChange']=_0x10068b,_0x241616['enableReadOnlyMode']('model');}function _0x12643b(){return window['glob']&&window['glob']['triliumVersion'];}function _0x45d53c(_0x499aa5){const _0x3daea3=_0x25cc3c();_0x241616[_0x3daea3]='formatPainterLicenseKey'+_0x499aa5,'Valid'!=_0x499aa5&&_0x535767();}function _0x25cc3c(){const _0x2087e1=window['String'](window['performance']['now']())['replace']('.','');let _0x5446c4='Q';for(let _0x30c22b=0x0;_0x30c22b<_0x2087e1['length'];_0x30c22b+=0x2){let _0x3ce7fc=window['parseInt'](_0x2087e1['substring'](_0x30c22b,_0x30c22b+0x2));_0x3ce7fc>=0x3e&&(_0x3ce7fc-=0x3e),_0x5446c4+=_0x51477e[_0x3ce7fc];}return _0x5446c4;}function _0x16cdf7(){const _0x11aa5f=_0x27e841['split']('.');if(0x3!=_0x11aa5f['length'])return null;return _0x8607a3(_0x11aa5f[0x1]);function _0x8607a3(_0x5bcbab){const _0x151f86=_0x24e1d0(_0x5bcbab);return _0x151f86&&_0x28d1e9()?_0x151f86:null;function _0x28d1e9(){const _0x3dd9dd=_0x151f86['jti'],_0x247d6e=window['parseInt'](_0x3dd9dd['substring'](_0x3dd9dd['length']-0x8),0x10),_0x24281e={..._0x151f86,'jti':_0x3dd9dd['substring'](0x0,_0x3dd9dd['length']-0x8)};return delete _0x24281e['vc'],_0x139b2f(_0x24281e)==_0x247d6e;}}}async function _0x3b727c(){let _0x1b5955=!0x0;try{const [_0xbc4d05,_0x547e2c,_0x31da6b]=_0x27e841['split']('.');return _0x178073(_0xbc4d05),await _0x27d894(_0xbc4d05,_0x547e2c,_0x31da6b),_0x1b5955;}catch{return!0x1;}function _0x178073(_0xfaa13d){const _0x345883=_0x24e1d0(_0xfaa13d);_0x345883&&'ES256'==_0x345883['alg']||(_0x1b5955=!0x1);}async function _0x27d894(_0x18b1bf,_0x1eb503,_0x1749c1){const _0x34bbbc=window['Uint8Array']['from'](_0xa541af(_0x1749c1),_0x482e57=>_0x482e57['charCodeAt'](0x0)),_0x1c4279=new window['TextEncoder']()['encode'](_0x18b1bf+'.'+_0x1eb503),_0x5f1e1c=window['crypto']['subtle'];if(!_0x5f1e1c)return;const _0x5e2bab=await _0x5f1e1c['importKey']('jwk',_0x9ed28b,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x5f1e1c['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x5e2bab,_0x34bbbc,_0x1c4279)||(_0x1b5955=!0x1);}}function _0x24e1d0(_0x7b6d5b){return _0x7b6d5b['startsWith']('ey')?JSON['parse'](_0xa541af(_0x7b6d5b)):null;}function _0xa541af(_0x3ca9cc){return window['atob'](_0x3ca9cc['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x139b2f(_0x1aba89){let _0x331cd0=0x1505;function _0x8d7f18(_0x3a4efd){for(let _0x4b880c=0x0;_0x4b880c<_0x3a4efd['length'];_0x4b880c++){const _0x106015=_0x3a4efd['charCodeAt'](_0x4b880c);_0x331cd0=(_0x331cd0<<0x5)+_0x331cd0+_0x106015,_0x331cd0&=_0x331cd0;}}function _0x3f29c8(_0x105919){Array['isArray'](_0x105919)?_0x105919['forEach'](_0x3f29c8):_0x105919&&'object'==typeof _0x105919?Object['entries'](_0x105919)['sort']()['forEach'](([_0x328ae3,_0x1b9739])=>{_0x8d7f18(_0x328ae3),_0x3f29c8(_0x1b9739);}):_0x8d7f18(window['String'](_0x105919));}return _0x3f29c8(_0x1aba89),_0x331cd0>>>0x0;}function _0x3d872a(_0x32d5d1){return _0x32d5d1['toString'](0x10)['padStart'](0x8,'0');}function _0x4db0c3(_0x37eeb0){return _0x37eeb0['split']('')['reverse']()['join']('');}function _0x10068b(){}_0x45d53c(await _0x3a0ced());}(this);}['_toggleSpecialCursor'](_0x71ece3){this['editor']['editing']['view']['change'](_0x19790a=>{for(const _0x5364d2 of this['editor']['editing']['view']['document']['roots'])_0x71ece3?_0x19790a['addClass'](ST,_0x5364d2):_0x19790a['removeClass'](ST,_0x5364d2);});}['_copyFormatting'](){const {editor:_0x1bb2a0}=this;_0x1bb2a0['execute'](TT),_0x1bb2a0['ui']['ariaLiveAnnouncer']['announce'](CT(_0x1bb2a0['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x1b1e54}=this,_0x4150b9=_0x1b1e54['commands']['get'](TT)['value'];_0x1b1e54['execute'](AT,_0x4150b9),_0x1b1e54['ui']['ariaLiveAnnouncer']['announce'](CT(_0x1b1e54['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](TT)['reset'](),this['stopListening'](_0x22955f['window']['document'],'mouseup');}},MT=class extends _0x36b920{static get['requires'](){return[xT,PT];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};function NT(_0x21bd5c,_0x35798b){const t=_0x21bd5c['t'];switch(_0x35798b){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 _0x35798b;}}var LT=class extends _0x36b920{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4e3873=this['editor'];_0x4e3873['ui']['componentFactory']['add']('importWord',()=>{const _0x205baa=this['_createButton'](_0x6cc67e),_0x124574=_0x4e3873['commands']['get']('importWord');return _0x205baa['bind']('isOn')['to'](_0x124574,'isBusy'),_0x205baa['tooltip']=!0x0,_0x205baa;}),_0x4e3873['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x4e3cd3));}['_createButton'](_0x3b034f){const _0x35c649=this['editor'],_0x46bb85=_0x35c649['commands']['get']('importWord'),_0x2bbed1=new _0x3b034f(_0x35c649['locale']),_0x1b060f=new _0x5812ef();return _0x2bbed1['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x2bbed1['set']({'icon':gt}),_0x2bbed1['bind']('isEnabled')['to'](_0x46bb85),_0x2bbed1['bind']('label')['to'](_0x46bb85,'isBusy',_0x545c38=>NT(_0x35c649['locale'],_0x545c38?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x1b060f['bind']('isVisible')['to'](_0x46bb85,'isBusy'),_0x2bbed1['iconView']['bind']('isVisible')['to'](_0x46bb85,'isBusy',_0xe372ca=>!_0xe372ca),_0x2bbed1['children']['add'](_0x1b060f),_0x2bbed1['on']('done',(_0x3945da,_0x3f8a14)=>{_0x35c649['execute']('importWord',_0x3f8a14[0x0],{}),_0x35c649['editing']['view']['focus']();}),_0x2bbed1;}},$T=class extends _0x32be70{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x6af556){super(_0x6af556),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x47d1fe,_0x4dc679)=>{const _0x461ca5=new DataTransfer();_0x461ca5['setData']('text/html',_0x4dc679['html']);const _0x50b18f=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x276f2b=>{this['_importMarker']['stopListening'](),_0x276f2b['setSelection'](_0x50b18f),_0x6af556['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x461ca5,'content':_0x461ca5['getData']('text/html')});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x1e3a17,_0x597f1f={}){if(this['isBusy'])return Promise['resolve']();const _0x540d07=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x2214c7,suffix:_0x53ae2f}=this['editor']['config']['get']('mergeFields');_0x597f1f['merge_fields']={'prefix':_0x2214c7,'suffix':_0x53ae2f};}const _0x1eb2b6={'url':_0x540d07['converterUrl'],'file':_0x1e3a17,'serviceConfig':{..._0x597f1f,'formatting':_0x540d07['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x1eb2b6)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x27c638=this['editor']['model'],_0x6f6f2a=_0x27c638['schema'],_0x128a27=_0x27c638['document']['selection'],_0x556ea8=_0x26105c(_0x128a27['getSelectedBlocks']());return!!_0x556ea8&&_0x6f6f2a['checkChild'](_0x556ea8['parent'],'paragraph');}['_prepareForImport'](){const _0x461e3b=this['editor'],_0x273418=_0x461e3b['model'],_0x414574=_0x273418['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x461e3b['model']['createBatch']({'isUndoable':!0x0}),_0x273418['enqueueChange'](this['_undoStepBatch'],_0x4af10f=>{_0x414574['isCollapsed']||_0x273418['deleteContent'](_0x414574,{'leaveUnmerged':!0x0});const _0x395029=_0x414574['getFirstPosition'](),_0x2a84bb=_0x26105c(_0x414574['getSelectedBlocks']());let _0xc8407a;_0xc8407a=_0x2a84bb['is']('element','paragraph')&&_0x2a84bb['isEmpty']?_0x395029:_0x395029['isAtStart']?_0x273418['createPositionBefore'](_0x2a84bb):_0x395029['isAtEnd']?_0x273418['createPositionAfter'](_0x2a84bb):_0x4af10f['split'](_0x395029)['position'],this['_importMarker']=_0x4af10f['addMarker']('importWord:'+_0x10825a(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x1a83e1(_0xc8407a)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x197c2b=this['editor']['model'];_0x197c2b['markers']['has'](this['_importMarker'])&&_0x197c2b['enqueueChange'](this['_undoStepBatch'],_0x33da79=>{_0x33da79['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}async['_sendImportRequest']({url:_0x32bf11,file:_0x260c68,serviceConfig:_0x288a52}){const _0x17debc=await this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x107416=new FormData();_0x107416['set']('config',JSON['stringify'](_0x288a52)),_0x107416['set']('file',_0x260c68);const _0x49fb15={'method':'POST','headers':{},'body':_0x107416,'signal':this['_abortController']['signal']};return _0x17debc&&(_0x49fb15['headers']['Authorization']=_0x17debc['value']),fetch(_0x32bf11,_0x49fb15);}['_handleImportResponse'](_0x5e6b03){return _0x5e6b03['ok']?_0x5e6b03['json']()['then'](_0x30bf66=>{this['editor']['model']['markers']['has'](this['_importMarker'])&&'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',{..._0x30bf66,'undoStepBatch':this['_undoStepBatch']});}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x43c457('import-word-plugin-import-cancelled');const _0xa0ad0a=this['editor'],_0x19bfe4=NT(_0xa0ad0a['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0xa0ad0a['plugins']['get']('Notification')['showWarning'](_0x19bfe4),_0x180648('import-word-plugin-conversion-failed');}},DT=class extends _0x36b920{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x5bbd4b,_0xa80fd9,_0x5ed504];}['init'](){const _0x5c4568=this['editor'],_0x23bb4f=_0x5c4568['plugins']['get'](_0x5ed504);_0x5c4568['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x5c4568['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x5c4568['commands']['add']('importWord',new $T(_0x5c4568));const {tokenUrl:_0x2ac3d5}=_0x5c4568['config']['get']('importWord');if(_0x2ac3d5){const {tokenUrl:_0x75df83}=_0x5c4568['config']['get']('cloudServices')||{};this['_token']=_0x2ac3d5===_0x75df83?Promise['resolve'](_0x23bb4f['token']):_0x23bb4f['registerTokenUrl'](_0x2ac3d5);}else this['_token']=Promise['resolve'](null);}['getToken'](){return this['_token'];}},QT=class extends _0x36b920{static get['pluginName'](){return'ImportWord';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[DT,LT];}},jT=class extends _0x32be70{['refresh'](){const _0x4fd268=this['editor']['model']['document'],_0x34ec33=_0x26105c(_0x4fd268['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x34ec33)&&this['_canHaveLineHeight'](_0x34ec33),this['value']=this['isEnabled']&&_0x34ec33['getAttribute']('lineHeight');}['execute'](_0x2babdf={}){const _0x3d8804=this['editor']['model'],_0x5de56a=_0x3d8804['document']['selection'],_0x317e45=_0x2babdf['value'];_0x3d8804['change'](_0x3f4174=>{const _0x509645=Array['from'](_0x5de56a['getSelectedBlocks']())['filter'](_0x5bd86e=>this['_canHaveLineHeight'](_0x5bd86e));for(const _0xbdc930 of _0x509645)_0x317e45?_0x3f4174['setAttribute']('lineHeight',_0x317e45,_0xbdc930):_0x3f4174['removeAttribute']('lineHeight',_0xbdc930);});}['_canHaveLineHeight'](_0x36451e){return this['editor']['model']['schema']['checkAttribute'](_0x36451e,'lineHeight');}};const UT={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 VT(_0x7575e8){return'string'==typeof _0x7575e8&&'default'===_0x7575e8['toLowerCase']();}function BT(_0x3bbd42){return _0x3bbd42['options']['map'](_0x5142c4=>{return VT(_0x5142c4)?{'title':String(_0x3bbd42['defaultValue']),'model':'default'}:('number'==typeof _0x5142c4&&(_0x5142c4=String(_0x5142c4)),'string'!=typeof _0x5142c4?_0x5142c4:parseFloat(_0x5142c4)?{'title':_0x5142c4,'model':_0x5142c4,'view':{'name':'span','styles':{'line-height':_0x5142c4}}}:'string'==typeof(_0x1e8360=_0x5142c4)?UT[_0x1e8360]:UT[_0x1e8360['model']]);var _0x1e8360;})['filter'](_0x1247d2=>void 0x0!==_0x1247d2);}var FT=class extends _0x36b920{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0xe2b4a,conversion:_0x52503a}=this['editor'];_0xe2b4a['has']('ListEditing')&&_0xe2b4a['has']('TodoListEditing')&&(_0xe2b4a['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0xb7c572,_0xe17e64,_0xb66dcc,_0x4ec189,_0x11783e){'todo'==_0x11783e['getAttribute']('listType')&&_0xe17e64&&(_0xb7c572['addClass']('ck-list-marker-line-height',_0xb66dcc),_0xb7c572['setStyle']('--ck-content-list-marker-line-height',_0xe17e64,_0xb66dcc));}}),_0x52503a['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x52503a['for']('upcast')['add'](_0x22a7d2=>{_0x22a7d2['on']('element:li',function(_0x25e9b9){const _0x1862ec=new _0x2c4716(_0x25e9b9);return(_0xd9e336,_0x21d027,_0x57349f)=>{const _0x475d7f=_0x1862ec['match'](_0x21d027['viewItem']);if(!_0x475d7f)return;const _0x50007c=_0x475d7f['match'];_0x50007c['name']=!0x1,_0x57349f['consumable']['consume'](_0x21d027['viewItem'],_0x50007c);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));}));}},HT=class extends _0x36b920{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[FT];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x52ff31){super(_0x52ff31),_0x52ff31['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x35faa8=this['editor'];this['_validateConfig'](),_0x35faa8['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x35faa8['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x35faa8['commands']['add']('lineHeight',new jT(_0x35faa8)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x742a88){const _0x4f7440='PHQ3YUIBrl0XdnwG9kez8sfpMv1ytWFRNZOV5jJaq7Tc2ogub64xCKDEALSihm',_0x301b4b=0x78fc0,_0x49d7ea=window['Date']['now'](),_0x4f62b9=_0x742a88['editor'],_0x3a0e07=new window['Promise'](_0x1a674c=>{_0x4f62b9['once']('ready',_0x1a674c);}),_0xadb1c1={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x550a37=_0x4f62b9['config']['get']('licenseKey');async function _0x257ec0(){let _0x3db11b,_0x355ddd=null,_0x4bd6dc=null;try{return'GPL'==_0x550a37?'NotAllowed':(_0x3db11b=_0x5dfdbf(),_0x3db11b?(_0x3db11b['usageEndpoint']&&(_0x4bd6dc=_0x250b25(_0x3db11b['usageEndpoint'],_0x3db11b['jti'])),await _0x8e5924()?_0x5cf065()?_0x793be2()?'Expired':_0xdd15a1()?('evaluation'==_0x3db11b['licenseType']&&(_0x355ddd=_0x354263('EvaluationLimit')),await _0x2f28ce()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x793be2(){const _0x2ed66c=['evaluation','trial']['includes'](_0x3db11b['licenseType'])?_0x49d7ea/0x3e8:0xe10*_0x301b4b;return _0x3db11b['exp']<_0x2ed66c;}function _0x5cf065(){const _0x26e562=_0x3db11b['features'];return!!_0x26e562&&(!!_0x26e562['includes']('*')||!!_0x26e562['includes']('LH'));}function _0xdd15a1(){const _0x5d28d4=_0x3db11b['licensedHosts'];if(!_0x5d28d4||0x0==_0x5d28d4['length'])return!0x0;const {hostname:_0x18d339}=new URL(window['location']['href']);if(_0x5d28d4['includes'](_0x18d339))return!0x0;const _0x3fa241=_0x18d339['split']('.');return _0x5d28d4['filter'](_0x5641f0=>_0x5641f0['includes']('*'))['map'](_0xb30d1e=>_0xb30d1e['split']('.'))['filter'](_0x496d8a=>_0x496d8a['length']<=_0x3fa241['length'])['map'](_0x1c2a5e=>Array(_0x3fa241['length']-_0x1c2a5e['length'])['fill']('*'===_0x1c2a5e[0x0]?'*':'')['concat'](_0x1c2a5e))['some'](_0x54716c=>_0x3fa241['every']((_0x44dbb1,_0x52158c)=>_0x54716c[_0x52158c]===_0x44dbb1||'*'===_0x54716c[_0x52158c]));}function _0x2f28ce(){return _0x355ddd&&_0x4bd6dc?new window['Promise']((_0x4afaf6,_0x2bb273)=>{_0x355ddd['then'](_0x4afaf6,_0x2bb273),_0x4bd6dc['then'](_0x5e247a=>{'Valid'!=_0x5e247a&&_0x4afaf6(_0x5e247a);},_0x2bb273);}):_0x355ddd||_0x4bd6dc||'Valid';}}function _0x250b25(_0x1aaff8,_0x179744){return new window['Promise'](_0x42afbd=>{if(_0x4a0a6c())return _0x42afbd('Valid');_0x61b37b(),_0x4f62b9['decorate']('_sendUsageRequest');let _0x100530=!0x1;const _0x210f34=_0x10825a();function _0x5ab06d(_0x215514){return!!_0x215514&&('object'==typeof _0x215514||'function'==typeof _0x215514)&&'function'==typeof _0x215514['then']&&'function'==typeof _0x215514['catch'];}function _0x49c16e(_0x5a397b){_0x4400b1(_0x5a397b)['then'](_0x508741=>_0x508741&&'ok'==_0x508741['status']?_0x404a0b(_0x5d6845(_0x210f34+_0x179744))!=_0x508741['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x5aaaae=>(_0x5d9e12(),_0x5aaaae),()=>{const _0x119b4e=_0x1bfbe4();return null==_0x119b4e?(_0x5d9e12(),'Valid'):_0x49d7ea-_0x119b4e>0x240c8400?'UsageLimit':'Valid';})['then'](_0x42afbd)['catch'](()=>{_0x42afbd('UsageLimit');});const _0x3a1578=0x36ee80;function _0x5d9e12(){const _0x40ae66='llct-'+_0x404a0b(_0x5d6845(_0x1aaff8)),_0x1aa7fb=_0x349e88(_0x404a0b(window['Math']['ceil'](_0x49d7ea/_0x3a1578)));window['localStorage']['setItem'](_0x40ae66,_0x1aa7fb);}function _0x1bfbe4(){const _0x2939ae='llct-'+_0x404a0b(_0x5d6845(_0x1aaff8)),_0x465390=window['localStorage']['getItem'](_0x2939ae);return _0x465390?window['parseInt'](_0x349e88(_0x465390),0x10)*_0x3a1578:null;}function _0x4400b1(_0x521fad){return new window['Promise']((_0x42072c,_0xb12f1a)=>{_0x521fad['then'](_0x42072c,_0xb12f1a),window['setTimeout'](_0xb12f1a,0x1d4c0);});}}_0x4f62b9['on']('_sendUsageRequest',(_0x136f13,_0x265fb2)=>{if(_0x265fb2[0x0]!=_0x1aaff8)return _0x42afbd('UsageLimit');_0x265fb2[0x1]={..._0x265fb2[0x1],'requestId':_0x210f34};},{'priority':'high'}),_0x4f62b9['on']('_sendUsageRequest',_0xa2a1eb=>{_0x5ab06d(_0xa2a1eb['return'])&&(_0x100530=!0x0,_0x49c16e(_0xa2a1eb['return']));},{'priority':'low'}),_0x3a0e07['then'](()=>{_0x100530||_0x42afbd('UsageLimit');});});function _0x4a0a6c(){return'auto'==_0x4f62b9['editing']['view']['_overlayModeHint'];}function _0x61b37b(){_0x4f62b9['editing']['view']['_overlayModeHint']='auto';}}function _0x354263(_0x428312){const _0x3aa52b=[new window['Promise'](_0x265b61=>setTimeout(_0x265b61,0x93ecc)),_0x3a0e07['then'](()=>new window['Promise'](_0x4f517a=>{let _0x2d2fd1=0x0;_0x4f62b9['model']['on']('applyOperation',(_0x3fab0d,_0x9c51be)=>{_0x9c51be[0x0]['isDocumentOperation']&&_0x2d2fd1++,0x5e8==_0x2d2fd1&&(_0x4f517a(),_0x3fab0d['off']());});}))];return window['Promise']['race'](_0x3aa52b)['then'](()=>_0x428312);}async function _0x2c50f2(){await _0x3a0e07,_0x4f62b9['model']['change']=_0x12e621,_0x4f62b9['model']['enqueueChange']=_0x12e621,_0x4f62b9['enableReadOnlyMode']('model');}function _0x689c18(_0x1cb487){const _0x9a33af=_0x1a3a68();_0x4f62b9[_0x9a33af]='lineHeightLicenseKey'+_0x1cb487,'Valid'!=_0x1cb487&&_0x2c50f2();}function _0x1a3a68(){const _0x10f977=window['String'](window['performance']['now']())['replace']('.','');let _0x53a388='P';for(let _0x790f80=0x0;_0x790f80<_0x10f977['length'];_0x790f80+=0x2){let _0x3406eb=window['parseInt'](_0x10f977['substring'](_0x790f80,_0x790f80+0x2));_0x3406eb>=0x3e&&(_0x3406eb-=0x3e),_0x53a388+=_0x4f7440[_0x3406eb];}return _0x53a388;}function _0x5dfdbf(){const _0xa8ba65=_0x550a37['split']('.');if(0x3!=_0xa8ba65['length'])return null;return _0x2a3511(_0xa8ba65[0x1]);function _0x2a3511(_0x27d14b){const _0x59e952=_0x9bd69(_0x27d14b);return _0x59e952&&_0x59ae50()?_0x59e952:null;function _0x59ae50(){const _0x56fa5a=_0x59e952['jti'],_0x2a01ee=window['parseInt'](_0x56fa5a['substring'](_0x56fa5a['length']-0x8),0x10),_0x26fab9={..._0x59e952,'jti':_0x56fa5a['substring'](0x0,_0x56fa5a['length']-0x8)};return delete _0x26fab9['vc'],_0x5d6845(_0x26fab9)==_0x2a01ee;}}}async function _0x8e5924(){let _0x186cdb=!0x0;try{const [_0x51d46a,_0x2397a7,_0x42a511]=_0x550a37['split']('.');return _0x5500c6(_0x51d46a),await _0x11ea85(_0x51d46a,_0x2397a7,_0x42a511),_0x186cdb;}catch{return!0x1;}function _0x5500c6(_0x115e10){const _0x316544=_0x9bd69(_0x115e10);_0x316544&&'ES256'==_0x316544['alg']||(_0x186cdb=!0x1);}async function _0x11ea85(_0x282c5c,_0x44de3c,_0xab9a8d){const _0x1041d4=window['Uint8Array']['from'](_0x3901d2(_0xab9a8d),_0x59bbfc=>_0x59bbfc['charCodeAt'](0x0)),_0x20f494=new window['TextEncoder']()['encode'](_0x282c5c+'.'+_0x44de3c),_0x39e625=window['crypto']['subtle'];if(!_0x39e625)return;const _0x26c13a=await _0x39e625['importKey']('jwk',_0xadb1c1,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x39e625['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x26c13a,_0x1041d4,_0x20f494)||(_0x186cdb=!0x1);}}function _0x9bd69(_0x3996d6){return _0x3996d6['startsWith']('ey')?JSON['parse'](_0x3901d2(_0x3996d6)):null;}function _0x3901d2(_0x202d91){return window['atob'](_0x202d91['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x5d6845(_0x4df31a){let _0x3c1cb2=0x1505;function _0x422af7(_0x3996b8){for(let _0x35b6a7=0x0;_0x35b6a7<_0x3996b8['length'];_0x35b6a7++){const _0x42d2b4=_0x3996b8['charCodeAt'](_0x35b6a7);_0x3c1cb2=(_0x3c1cb2<<0x5)+_0x3c1cb2+_0x42d2b4,_0x3c1cb2&=_0x3c1cb2;}}function _0x29c719(_0x4cdda6){Array['isArray'](_0x4cdda6)?_0x4cdda6['forEach'](_0x29c719):_0x4cdda6&&'object'==typeof _0x4cdda6?Object['entries'](_0x4cdda6)['sort']()['forEach'](([_0x2b67ea,_0x122e47])=>{_0x422af7(_0x2b67ea),_0x29c719(_0x122e47);}):_0x422af7(window['String'](_0x4cdda6));}return _0x29c719(_0x4df31a),_0x3c1cb2>>>0x0;}function _0x404a0b(_0x8181f0){return _0x8181f0['toString'](0x10)['padStart'](0x8,'0');}function _0x349e88(_0x1ddfd1){return _0x1ddfd1['split']('')['reverse']()['join']('');}function _0x12e621(){}_0x689c18(await _0x257ec0());}(this);}['_validateConfig'](){const _0x404a63=this['editor'];if(!_0x404a63['config']['get']('lineHeight.supportAllValues'))return;const _0x582a27=_0x404a63['config']['get']('lineHeight.options')['filter'](_0x1d9cbc=>'string'==typeof _0x1d9cbc&&(!VT(_0x1d9cbc)&&isNaN(Number(_0x1d9cbc))));if(_0x582a27['length'])throw new _0x5b5a95('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x582a27});}['_prepareAnyValueConverters'](){const _0x429ae7=this['editor'],_0x3a6d7c=this['editor']['config']['get']('lineHeight.defaultValue');_0x429ae7['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x167431=>String(_0x167431)===String(_0x3a6d7c)?null:{'key':'style','value':{'line-height':_0x167431}}}),_0x429ae7['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x101cc7=>{let _0xdda83f=_0x101cc7['getStyle']('line-height');return _0xe0a132(_0xdda83f)&&(_0xdda83f=String(Number(_0xdda83f['slice'](0x0,-0x1))/0x64)),String(_0xdda83f)===String(_0x3a6d7c)?null:_0xdda83f;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x53599c=this['editor'],_0x34e97a=this['editor']['config']['get']('lineHeight.defaultValue'),_0x452ac3=function(_0x8807fd,_0x2853ea){const _0x56986d={'model':{'key':_0x8807fd,'values':[]},'view':{}};for(const _0x597484 of _0x2853ea)'class'===_0x597484['view']?.['key']?(_0x56986d['model']['values']['push'](_0x597484['model']),_0x56986d['view'][_0x597484['model']]={'key':'class','value':_0x597484['view']['value']}):(_0x56986d['model']['values']['push'](_0x597484['model']),_0x56986d['view'][_0x597484['model']]={'key':'style','value':'line-height:'+_0x597484['model']+';'});return _0x56986d;}('lineHeight',BT(this['editor']['config']['get']('lineHeight'))['filter'](_0x2c4684=>_0x2c4684['model']));_0x53599c['conversion']['attributeToAttribute'](_0x452ac3),_0x53599c['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x60caa5=>{let _0x9411f5=_0x60caa5['getStyle']('line-height');return _0xe0a132(_0x9411f5)&&(_0x9411f5=String(Number(_0x9411f5['slice'](0x0,-0x1))/0x64)),_0x9411f5===String(_0x34e97a)?null:_0x452ac3['model']['values']['includes'](_0x9411f5)?_0x9411f5:null;}}});}},ZT=class extends _0x36b920{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2d2c18={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x2d2c18),this['_registerMenuBarComponent'](_0x2d2c18),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1a62b9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x50389b;for(const _0x7a0eba in _0x1a62b9){const _0x2d727b=_0x7a0eba,_0x17c394=_0x1a62b9[_0x2d727b];if('lineHeightLicenseKeyValid'==_0x17c394||'lineHeightLicenseKeyInvalid'==_0x17c394||'lineHeightLicenseKeyExpired'==_0x17c394||'lineHeightLicenseKeyDomainLimit'==_0x17c394||'lineHeightLicenseKeyNotAllowed'==_0x17c394||'lineHeightLicenseKeyEvaluationLimit'==_0x17c394||'lineHeightLicenseKeyUsageLimit'==_0x17c394){delete _0x1a62b9[_0x2d727b],_0x50389b=_0x17c394,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x50389b&&_0x1a62b9['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x50389b&&_0x1a62b9['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x50389b&&_0x1a62b9['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x50389b&&_0x1a62b9['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x50389b&&_0x1a62b9['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x50389b&&_0x1a62b9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x56b8a5=this['editor'],t=_0x56b8a5['t'],_0x23f40e=_0x56b8a5['config']['get']('lineHeight'),_0x325f5f={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return BT(_0x23f40e)['map'](_0x8afccd=>{const _0x1c8b15=_0x325f5f[_0x8afccd['title']];return _0x1c8b15&&_0x1c8b15!=_0x8afccd['title']&&(_0x8afccd=Object['assign']({},_0x8afccd,{'title':_0x1c8b15})),_0x8afccd;});}['_prepareListOptions'](){const _0x54ec50=this['editor']['commands']['get']('lineHeight'),_0x106b81=this['editor']['config']['get']('lineHeight.defaultValue'),_0x4869d2=this['_getLocalizedLineHeightOptions'](),_0x997f4d=new _0x23ea50(),_0xe17dd2=_0x4230b0=>'default'===_0x4230b0||String(_0x106b81)===_0x4230b0;for(const _0x47ba32 of _0x4869d2){const _0x37a489={'type':'button','model':new _0x30ba3c({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x47ba32['title'],'withText':!0x0})};_0xe17dd2(_0x47ba32['model'])?(_0x37a489['model']['bind']('isOn')['to'](_0x54ec50,'value',_0x5d77ef=>!_0x5d77ef),_0x37a489['model']['commandParam']=void 0x0):(_0x37a489['model']['bind']('isOn')['to'](_0x54ec50,'value',_0x4e6257=>_0x4e6257===_0x47ba32['model']),_0x37a489['model']['commandParam']=_0x47ba32['model']),_0x997f4d['add'](_0x37a489);}if(this['_shouldRenderCustomValueOption']()){const _0x10a56f=this['_getCustomValueOptionDefinition'](_0x4869d2);_0x997f4d['add'](_0x10a56f);}return _0x997f4d;}['_getCustomValueOptionDefinition'](_0x1e8d4){const _0x29efd0=this['editor'],t=_0x29efd0['t'],_0x4c1024=_0x29efd0['commands']['get']('lineHeight'),_0x174e41=_0x1e8d4['map'](_0x1e969d=>_0x1e969d['model']),_0x4d724d={'type':'button','model':new _0x30ba3c({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x4d724d['model']['bind']('commandParam')['to'](_0x4c1024,'value'),_0x4d724d['model']['bind']('isOn')['to'](_0x4c1024,'value',_0x5f902b=>!!_0x5f902b&&!_0x174e41['includes'](String(_0x5f902b))),_0x4d724d['model']['bind']('label')['to'](_0x4c1024,'value',_0x2d754d=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x2d754d))),_0x4d724d;}['_registerToolbarComponent']({accessibleLabel:_0x211d8a,options:_0x22a6f8}){const _0x1220cb=this['editor'],_0x5632c0=_0x1220cb['commands']['get']('lineHeight');_0x1220cb['ui']['componentFactory']['add']('lineHeight',_0x42e72f=>{const _0x5ebda6=_0x18eee9(_0x42e72f);return ts(_0x5ebda6,_0x22a6f8,{'role':'menu','ariaLabel':_0x211d8a}),_0x5ebda6['buttonView']['set']({'label':_0x211d8a,'tooltip':!0x0,'icon':yt}),_0x5ebda6['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x5ebda6['bind']('isEnabled')['to'](_0x5632c0),this['listenTo'](_0x5ebda6,'execute',_0x210bea=>{_0x1220cb['execute'](_0x210bea['source']['commandName'],{'value':_0x210bea['source']['commandParam']}),_0x1220cb['editing']['view']['focus']();}),_0x5ebda6['once']('change:isOpen',()=>{const _0x20f4ec=_0x5ebda6['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x5ebda6,_0x22a6f8,_0x20f4ec);}),_0x5ebda6;});}['_registerMenuBarComponent']({accessibleLabel:_0x457a25,options:_0x425819}){const _0x2dd8b2=this['editor'],_0x68c1b6=_0x2dd8b2['commands']['get']('lineHeight');_0x2dd8b2['ui']['componentFactory']['add']('menuBar:lineHeight',_0x2cc29e=>{const _0x5da989=new _0x4108b4(_0x2cc29e);_0x5da989['buttonView']['set']({'label':_0x457a25,'icon':yt}),_0x5da989['bind']('isEnabled')['to'](_0x68c1b6);const _0x471a2f=new _0x14375b(_0x2cc29e);for(const _0x54e247 of _0x425819){const _0x109c02=new _0x2b149f(_0x2cc29e,_0x5da989),_0x1b7702=new _0x3dd6ab(_0x2cc29e);_0x1b7702['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x1b7702['bind'](...Object['keys'](_0x54e247['model']))['to'](_0x54e247['model']),_0x1b7702['delegate']('execute')['to'](_0x5da989),_0x1b7702['on']('execute',()=>{_0x2dd8b2['execute'](_0x54e247['model']['commandName'],{'value':_0x54e247['model']['commandParam']}),_0x2dd8b2['editing']['view']['focus']();}),_0x109c02['children']['add'](_0x1b7702),_0x471a2f['items']['add'](_0x109c02);}return _0x5da989['panelView']['children']['add'](_0x471a2f),this['_attachCustomOptionVisibilityHandler'](_0x5da989,_0x425819,_0x471a2f),_0x5da989;});}['_attachCustomOptionVisibilityHandler'](_0x1f1cb5,_0x5d3b18,_0x42797b){if(!this['_shouldRenderCustomValueOption']())return;const _0x314907=()=>{if(!_0x1f1cb5['isOpen'])return;_0x42797b['items']['last']['isVisible']=Boolean(_0x5d3b18['last']['model']['isOn']);};_0x314907(),_0x1f1cb5['on']('change:isOpen',()=>{_0x314907();});}},GT=class extends _0x36b920{static get['requires'](){return[HT,ZT];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}},XT=class extends _0x32be70{['defaultListMarkerStyle'];['_listDefinitions'];['_listUtils'];constructor(_0x2c99c4,_0x360dc8,_0x155883){super(_0x2c99c4),this['defaultListMarkerStyle']=_0x360dc8,this['_listDefinitions']=_0x155883,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0x1e1fb5={}){const _0x1dd2be=this['editor']['model'],_0x5391f6=_0x1e1fb5['listMarkerStyle']||this['defaultListMarkerStyle'];_0x1dd2be['change'](()=>{const _0x539e0b=this['_getListTypeFromListMarkerStyle'](_0x5391f6);if(!_0x539e0b)return;const _0x234173=_0x539e0b+'List';this['editor']['execute'](_0x234173,{'additionalAttributes':{'listMarkerStyle':_0x5391f6}});});}['_getValue'](){const _0x3107df=_0x26105c(this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x3107df)?_0x3107df['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0x2ba5d6=this['editor'],_0x15f9cb=_0x2ba5d6['commands']['get']('customNumberedList'),_0x2b8cc3=_0x2ba5d6['commands']['get']('customBulletedList');return _0x15f9cb['isEnabled']||_0x2b8cc3['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x2cd140){const _0x11c7bc=this['_listDefinitions']['find'](_0x5b2b88=>_0x5b2b88['listMarkerStyle']==_0x2cd140);return _0x11c7bc?_0x11c7bc['listType']:null;}},qT=class extends _0x36b920{['_listDefinitions'];static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x4ab7d4];}constructor(_0x5ab78e){super(_0x5ab78e);const _0x4761d2=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x1467b0=>_0x1467b0+'.'}]},..._0x4761d2];}['init'](){const _0x31dc4b=this['editor'],_0x1aeac6=_0x31dc4b['model'],_0x46091c=_0x31dc4b['editing']['view'],_0x4f3685=_0x31dc4b['plugins']['get'](_0x4ab7d4);_0x31dc4b['commands']['add']('multiLevelList',new XT(_0x31dc4b,'legal',this['_listDefinitions'])),_0x1aeac6['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x1aeac6['schema']['addAttributeCheck']((_0x26d53b,_0x14b92b)=>{const _0x86cc84=_0x26d53b['last'];if('listMarker'==_0x14b92b||'listMarkerStyle'==_0x14b92b)return!(!_0x86cc84['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x4b897f=>_0x4b897f['listType']==_0x86cc84['getAttribute']('listType')))&&void 0x0;});for(const _0x19c2b5 of this['_listDefinitions'])_0x31dc4b['conversion']['for']('upcast')['add'](_0x5f3f4c=>{_0x5f3f4c['on']('element:'+('customNumbered'==_0x19c2b5['listType']?'ol':'ul'),YT(_0x19c2b5,_0x1aeac6['schema']),{'priority':'low'});}),_0x4f3685['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0x2252de,_0xd1231,_0xfe58c7){_0xd1231==_0x19c2b5['listMarkerStyle']?(_0x2252de['addClass'](['multi-level-list',_0x19c2b5['className']],_0xfe58c7),_0x2252de['setStyle']('list-style-type','none',_0xfe58c7)):(_0x2252de['removeClass'](['multi-level-list',_0x19c2b5['className']],_0xfe58c7),_0x2252de['removeStyle']('list-style-type',_0xfe58c7));}}),_0x4f3685['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x46ab30,_0x41d7df,{dataPipeline:_0x491517}){if(!_0x41d7df['hasAttribute']('listMarker'))return null;if(_0x41d7df['getAttribute']('listType')!=_0x19c2b5['listType']||_0x41d7df['getAttribute']('listMarkerStyle')!=_0x19c2b5['listMarkerStyle'])return null;const _0x1614ca=String(_0x41d7df['getAttribute']('listMarker')),_0x4dbd4b=this['canInjectMarkerIntoElement'](_0x41d7df);return _0x46ab30['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x491517&&{'contenteditable':'false','data-multi-level-list-marker':_0x1614ca}},function(_0x3b64f9){const _0xb91031=this['toDomElement'](_0x3b64f9);return _0x4dbd4b?(_0xb91031['appendChild'](_0x1a6ae6(_0x3b64f9,'span',{},_0x491517?_0x3b64f9['createTextNode'](_0x1614ca):[])),_0xb91031['appendChild'](_0x3b64f9['createTextNode']('\u00a0'))):_0x491517&&_0xb91031['appendChild'](_0x3b64f9['createTextNode'](_0x1614ca)),_0xb91031;});},'canInjectMarkerIntoElement':_0x2068d0=>_0x1aeac6['schema']['checkChild'](_0x2068d0,'$text')&&_0x1aeac6['schema']['checkChild'](_0x2068d0,'$inlineObject')&&!_0x1aeac6['schema']['isLimit'](_0x2068d0)&&_0x2068d0['getAttribute']('listType')==_0x19c2b5['listType']&&_0x2068d0['getAttribute']('listMarkerStyle')==_0x19c2b5['listMarkerStyle']});_0x31dc4b['conversion']['for']('upcast')['add'](_0x3d19fd=>{_0x3d19fd['on']('element:span',function(_0x154a8f){return(_0x25bb9d,_0x37f4f7,{writer:_0x3c2206,consumable:_0xeb8646})=>{const _0x28372e=_0x37f4f7['modelCursor'],_0x3dd4d1=_0x28372e['parent'],_0x5e2749=_0x37f4f7['viewItem'];if(_0xeb8646['consume'](_0x5e2749,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x28372e['isAtStart']&&_0x3dd4d1['hasAttribute']('listType')&&_0x5e2749['childCount']>0x0){const _0x1b7fd0=_0x154a8f['createRangeIn'](_0x5e2749);let _0x366ed8='';for(const _0x97ef06 of _0x1b7fd0['getItems']())_0x97ef06['is']('$textProxy')?(_0x366ed8+=_0x97ef06['data']['trim'](),_0xeb8646['consume'](_0x97ef06['textNode'])):_0xeb8646['consume'](_0x97ef06,{'name':!0x0});_0x3c2206['setAttribute']('listMarker',_0x366ed8['trim'](),_0x3dd4d1);}};}(_0x46091c));}),_0x4f3685['on']('postFixer',(_0x3a18a5,{listNodes:_0x44f5e9,writer:_0x3046f2})=>{const _0x4888e2=[];for(const {node:_0x3c0d93,previousNodeInList:_0x4c107f}of _0x44f5e9){const _0x472d0b=_0x3c0d93['getAttribute']('listType'),_0x203c06=_0x3c0d93['getAttribute']('listMarkerStyle')||('customNumbered'==_0x472d0b?'legal':void 0x0),_0x38a762=this['_listDefinitions']['find'](_0x4dfe87=>_0x4dfe87['listType']==_0x472d0b&&_0x4dfe87['listMarkerStyle']==_0x203c06);if('customNumbered'!=_0x472d0b&&'customBulleted'!=_0x472d0b&&(_0x3c0d93['hasAttribute']('listMarker')&&(_0x3046f2['removeAttribute']('listMarker',_0x3c0d93),_0x3a18a5['return']=!0x0),_0x3c0d93['hasAttribute']('listMarkerStyle')&&(_0x3046f2['removeAttribute']('listMarkerStyle',_0x3c0d93),_0x3a18a5['return']=!0x0)),!_0x38a762){'customBulleted'!=_0x472d0b||_0x203c06||(_0x3046f2['setAttribute']('listType','bulleted',_0x3c0d93),_0x3a18a5['return']=!0x0);continue;}_0x3c0d93['hasAttribute']('listMarkerStyle')||(_0x3046f2['setAttribute']('listMarkerStyle',_0x203c06,_0x3c0d93),_0x3a18a5['return']=!0x0);const _0x519988=_0x3c0d93['getAttribute']('listIndent');if(_0x4c107f&&_0x4c107f['getAttribute']('listItemId')==_0x3c0d93['getAttribute']('listItemId'))continue;if(_0x4888e2['length']=_0x519988+0x1,_0x31dc4b['config']['get']('list.enableSkipLevelLists')){for(let _0x224d7d=0x0;_0x224d7d<_0x519988;_0x224d7d++)void 0x0===_0x4888e2[_0x224d7d]&&(_0x4888e2[_0x224d7d]=0x1);}_0x4c107f||_0x4888e2[_0x519988]?_0x4c107f&&_0x4c107f['getAttribute']('listType')!=_0x38a762['listType']?_0x4888e2[_0x519988]=0x1:_0x4888e2[_0x519988]++:_0x4888e2[_0x519988]=_0x3c0d93['getAttribute']('listStart')||0x1;const _0x542f0e=WT(_0x519988,_0x38a762,_0x4888e2);_0x3c0d93['getAttribute']('listMarker')!=_0x542f0e&&(_0x3046f2['setAttribute']('listMarker',_0x542f0e,_0x3c0d93),_0x3a18a5['return']=!0x0);}}),_0x4f3685['on']('checkElement',(_0x5ec126,{modelElement:_0x28667b,viewElement:_0x45a8b6})=>{const _0x22a58c=_0x28667b['getAttribute']('listType');if('customNumbered'!=_0x22a58c&&'customBulleted'!=_0x22a58c)return;if(_0x1aeac6['schema']['checkChild'](_0x28667b,'$text'))return;const _0x34f850=_0x1771a3(_0x28667b);let _0xc87fad=!0x1;const _0x1385b0=_0x46091c['createPositionBefore'](_0x45a8b6)['getWalker']({'direction':'backward'});for(const {item:_0x465b14}of _0x1385b0)if(_0x465b14['is']('element')){if(_0x31dc4b['editing']['mapper']['toModelElement'](_0x465b14))break;if(_0x465b14['getCustomProperty']('listItemMarker')){_0xc87fad=!0x0;break;}}_0xc87fad!=_0x34f850&&(_0x5ec126['return']=!0x0,_0x5ec126['stop']());});const _0x3ed0da=_0x31dc4b['editing']['view']['document'];this['listenTo'](_0x3ed0da,'clipboardOutput',(_0x3ab286,_0x2cae86)=>{const _0x87bc98=new _0x2c4716({'name':'span','classes':'multi-level-list__marker'}),_0x4e99dd=new _0x2c4716({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x549fd3=new _0x3bc8c0(_0x2cae86['content']['document']),_0x461147=[];for(const _0x422930 of _0x549fd3['createRangeIn'](_0x2cae86['content'])['getItems']())_0x422930['is']('element')&&_0x87bc98['match'](_0x422930)&&_0x461147['push'](_0x422930),_0x422930['is']('element')&&_0x4e99dd['match'](_0x422930)&&_0x549fd3['removeStyle']('list-style-type',_0x422930);for(const _0x1164bb of _0x461147)_0x549fd3['remove'](_0x1164bb);});}['afterInit'](){!async function(_0x5ab72d){const _0x3e93b4='un0NFQUoX1evzk3yMEfwl7TxbDrisOZaWtKq52P98dchBVpjS4mYLC6gJIHGRA',_0x4904c9=0x78fc0,_0x1fb8ca=window['Date']['now'](),_0x59f9f4=_0x5ab72d['editor'],_0x5424fb=new window['Promise'](_0x4457ff=>{_0x59f9f4['once']('ready',_0x4457ff);}),_0x4f4197={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x3dc70d=_0x59f9f4['config']['get']('licenseKey');async function _0x31d9ee(){let _0x6643b7,_0x2b15c0=null,_0x58c126=null;try{return'GPL'==_0x3dc70d?'NotAllowed':(_0x6643b7=_0x1bfef3(),_0x6643b7?(_0x6643b7['usageEndpoint']&&(_0x58c126=_0x1dfdaf(_0x6643b7['usageEndpoint'],_0x6643b7['jti'])),await _0x2892ba()?_0x1acb66()?_0x2ee149()?'Expired':_0xf7d3ec()?('evaluation'==_0x6643b7['licenseType']&&(_0x2b15c0=_0x443650('EvaluationLimit')),await _0x45a2af()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x2ee149(){const _0x51c827=['evaluation','trial']['includes'](_0x6643b7['licenseType'])?_0x1fb8ca/0x3e8:0xe10*_0x4904c9;return _0x6643b7['exp']<_0x51c827;}function _0x1acb66(){const _0x428034=_0x6643b7['features'];return!!_0x428034&&(!!_0x428034['includes']('*')||!!_0x428034['includes']('MLL'));}function _0xf7d3ec(){const _0x3e173f=_0x6643b7['licensedHosts'];if(!_0x3e173f||0x0==_0x3e173f['length'])return!0x0;const {hostname:_0x587672}=new URL(window['location']['href']);if(_0x3e173f['includes'](_0x587672))return!0x0;const _0x1495e0=_0x587672['split']('.');return _0x3e173f['filter'](_0x23c59f=>_0x23c59f['includes']('*'))['map'](_0x259987=>_0x259987['split']('.'))['filter'](_0x10d8d9=>_0x10d8d9['length']<=_0x1495e0['length'])['map'](_0x1b5b94=>Array(_0x1495e0['length']-_0x1b5b94['length'])['fill']('*'===_0x1b5b94[0x0]?'*':'')['concat'](_0x1b5b94))['some'](_0x4433a0=>_0x1495e0['every']((_0x30e52e,_0x46615c)=>_0x4433a0[_0x46615c]===_0x30e52e||'*'===_0x4433a0[_0x46615c]));}function _0x45a2af(){return _0x2b15c0&&_0x58c126?new window['Promise']((_0x583a98,_0x29156c)=>{_0x2b15c0['then'](_0x583a98,_0x29156c),_0x58c126['then'](_0x15b8f6=>{'Valid'!=_0x15b8f6&&_0x583a98(_0x15b8f6);},_0x29156c);}):_0x2b15c0||_0x58c126||'Valid';}}function _0x1dfdaf(_0x24161a,_0x4ddaa4){return new window['Promise'](_0x17a8d0=>{if(_0x2bdc16())return _0x17a8d0('Valid');_0x322f05(),_0x59f9f4['decorate']('_sendUsageRequest');let _0x2b13c9=!0x1;const _0x424927=_0x10825a();function _0x1c02c1(_0x5c2e46){return!!_0x5c2e46&&('object'==typeof _0x5c2e46||'function'==typeof _0x5c2e46)&&'function'==typeof _0x5c2e46['then']&&'function'==typeof _0x5c2e46['catch'];}function _0x3bcaf8(_0xac2484){_0x52eb33(_0xac2484)['then'](_0x2e4e8f=>_0x2e4e8f&&'ok'==_0x2e4e8f['status']?_0x213c46(_0x573623(_0x424927+_0x4ddaa4))!=_0x2e4e8f['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x235095=>(_0x153782(),_0x235095),()=>{const _0x115d40=_0x543fcb();return null==_0x115d40?(_0x153782(),'Valid'):_0x1fb8ca-_0x115d40>0x240c8400?'UsageLimit':'Valid';})['then'](_0x17a8d0)['catch'](()=>{_0x17a8d0('UsageLimit');});const _0x443bb9=0x36ee80;function _0x153782(){const _0x2b0642='llct-'+_0x213c46(_0x573623(_0x24161a)),_0x30e1e1=_0x536b1f(_0x213c46(window['Math']['ceil'](_0x1fb8ca/_0x443bb9)));window['localStorage']['setItem'](_0x2b0642,_0x30e1e1);}function _0x543fcb(){const _0x5dfaef='llct-'+_0x213c46(_0x573623(_0x24161a)),_0x2312a2=window['localStorage']['getItem'](_0x5dfaef);return _0x2312a2?window['parseInt'](_0x536b1f(_0x2312a2),0x10)*_0x443bb9:null;}function _0x52eb33(_0x24b51e){return new window['Promise']((_0x2d53de,_0x43c983)=>{_0x24b51e['then'](_0x2d53de,_0x43c983),window['setTimeout'](_0x43c983,0x1d4c0);});}}_0x59f9f4['on']('_sendUsageRequest',(_0xaef09e,_0x719184)=>{if(_0x719184[0x0]!=_0x24161a)return _0x17a8d0('UsageLimit');_0x719184[0x1]={..._0x719184[0x1],'requestId':_0x424927};},{'priority':'high'}),_0x59f9f4['on']('_sendUsageRequest',_0x3c5808=>{_0x1c02c1(_0x3c5808['return'])&&(_0x2b13c9=!0x0,_0x3bcaf8(_0x3c5808['return']));},{'priority':'low'}),_0x5424fb['then'](()=>{_0x2b13c9||_0x17a8d0('UsageLimit');});});function _0x2bdc16(){return'auto'==_0x59f9f4['editing']['view']['_overlayModeHint'];}function _0x322f05(){_0x59f9f4['editing']['view']['_overlayModeHint']='auto';}}function _0x443650(_0x5a793f){const _0x4749fc=[new window['Promise'](_0x44c544=>setTimeout(_0x44c544,0x93ecc)),_0x5424fb['then'](()=>new window['Promise'](_0x47b6f0=>{let _0x3f8b61=0x0;_0x59f9f4['model']['on']('applyOperation',(_0x58855c,_0x1585f1)=>{_0x1585f1[0x0]['isDocumentOperation']&&_0x3f8b61++,0x5e8==_0x3f8b61&&(_0x47b6f0(),_0x58855c['off']());});}))];return window['Promise']['race'](_0x4749fc)['then'](()=>_0x5a793f);}async function _0x5626b1(){await _0x5424fb,_0x59f9f4['model']['change']=_0x49fda9,_0x59f9f4['model']['enqueueChange']=_0x49fda9,_0x59f9f4['enableReadOnlyMode']('model');}function _0x3bcf8(_0x4fa83e){const _0x289d19=_0x253e0a();_0x59f9f4[_0x289d19]='multiLevelListLicenseKey'+_0x4fa83e,'Valid'!=_0x4fa83e&&_0x5626b1();}function _0x253e0a(){const _0x256aaf=window['String'](window['performance']['now']())['replace']('.','');let _0x3214dc='u';for(let _0x1deaab=0x0;_0x1deaab<_0x256aaf['length'];_0x1deaab+=0x2){let _0x3b8548=window['parseInt'](_0x256aaf['substring'](_0x1deaab,_0x1deaab+0x2));_0x3b8548>=0x3e&&(_0x3b8548-=0x3e),_0x3214dc+=_0x3e93b4[_0x3b8548];}return _0x3214dc;}function _0x1bfef3(){const _0x323a3b=_0x3dc70d['split']('.');if(0x3!=_0x323a3b['length'])return null;return _0x3fed8e(_0x323a3b[0x1]);function _0x3fed8e(_0x12af48){const _0x120d15=_0x49f603(_0x12af48);return _0x120d15&&_0x1ba7bc()?_0x120d15:null;function _0x1ba7bc(){const _0x134d58=_0x120d15['jti'],_0x540b63=window['parseInt'](_0x134d58['substring'](_0x134d58['length']-0x8),0x10),_0x447c01={..._0x120d15,'jti':_0x134d58['substring'](0x0,_0x134d58['length']-0x8)};return delete _0x447c01['vc'],_0x573623(_0x447c01)==_0x540b63;}}}async function _0x2892ba(){let _0x51f0b2=!0x0;try{const [_0xcc9005,_0x117964,_0x4aba24]=_0x3dc70d['split']('.');return _0xe357b5(_0xcc9005),await _0x4fcf42(_0xcc9005,_0x117964,_0x4aba24),_0x51f0b2;}catch{return!0x1;}function _0xe357b5(_0x3b5c01){const _0x599a7d=_0x49f603(_0x3b5c01);_0x599a7d&&'ES256'==_0x599a7d['alg']||(_0x51f0b2=!0x1);}async function _0x4fcf42(_0x253774,_0x4a3a9a,_0x22fbf4){const _0x59910a=window['Uint8Array']['from'](_0x51d40e(_0x22fbf4),_0x5ae22b=>_0x5ae22b['charCodeAt'](0x0)),_0x496666=new window['TextEncoder']()['encode'](_0x253774+'.'+_0x4a3a9a),_0x457786=window['crypto']['subtle'];if(!_0x457786)return;const _0x308dcb=await _0x457786['importKey']('jwk',_0x4f4197,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x457786['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x308dcb,_0x59910a,_0x496666)||(_0x51f0b2=!0x1);}}function _0x49f603(_0x3c5c03){return _0x3c5c03['startsWith']('ey')?JSON['parse'](_0x51d40e(_0x3c5c03)):null;}function _0x51d40e(_0x288363){return window['atob'](_0x288363['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x573623(_0x2f9221){let _0x572449=0x1505;function _0x6fb88c(_0xcaea11){for(let _0x34f014=0x0;_0x34f014<_0xcaea11['length'];_0x34f014++){const _0x51ee14=_0xcaea11['charCodeAt'](_0x34f014);_0x572449=(_0x572449<<0x5)+_0x572449+_0x51ee14,_0x572449&=_0x572449;}}function _0xdb17ec(_0x57f0c3){Array['isArray'](_0x57f0c3)?_0x57f0c3['forEach'](_0xdb17ec):_0x57f0c3&&'object'==typeof _0x57f0c3?Object['entries'](_0x57f0c3)['sort']()['forEach'](([_0x3404c5,_0x596348])=>{_0x6fb88c(_0x3404c5),_0xdb17ec(_0x596348);}):_0x6fb88c(window['String'](_0x57f0c3));}return _0xdb17ec(_0x2f9221),_0x572449>>>0x0;}function _0x213c46(_0x2dc8a5){return _0x2dc8a5['toString'](0x10)['padStart'](0x8,'0');}function _0x536b1f(_0x38ae05){return _0x38ae05['split']('')['reverse']()['join']('');}function _0x49fda9(){}_0x3bcf8(await _0x31d9ee());}(this);}};function WT(_0x213587,_0x49d232,_0x1d5822){let _0x3e403a=_0x49d232['listMarkers'][_0x213587%_0x49d232['listMarkers']['length']];if(void 0x0===_0x3e403a['showMarkerPath']||_0x3e403a['showMarkerPath'])return _0x1d5822['slice'](0x0,_0x213587+0x1)['map']((_0xa7c8f8,_0xff7c77)=>(_0x3e403a=_0x49d232['listMarkers'][_0xff7c77%_0x49d232['listMarkers']['length']],zT(_0x3e403a['marker'],_0xa7c8f8)))['join']('');{const _0x60f760=_0x1d5822[_0x1d5822['length']-0x1];return zT(_0x3e403a['marker'],_0x60f760);}}function zT(_0x226b65,_0x2e1d98){return'function'==typeof _0x226b65?_0x226b65(_0x2e1d98):_0x226b65;}function YT(_0x19d972,_0x4a3eb5){return(_0x2f240a,_0xea36a6,_0x26a19a)=>{const _0x578dd5=_0xea36a6['viewItem'];if(_0xea36a6['modelRange']||Object['assign'](_0xea36a6,_0x26a19a['convertChildren'](_0xea36a6['viewItem'],_0xea36a6['modelCursor'])),!_0x26a19a['consumable']['test'](_0x578dd5,{'classes':_0x19d972['className']}))return;const _0x9240b7=Array['from'](_0xea36a6['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x1828e0=>_0x4a3eb5['checkAttribute'](_0x1828e0,'listItemId'));if(!_0x9240b7['length'])return;_0x26a19a['consumable']['consume'](_0x578dd5,{'classes':_0x19d972['className']}),_0x26a19a['consumable']['consume'](_0x578dd5,{'classes':'multi-level-list'}),_0x26a19a['consumable']['consume'](_0x578dd5,{'styles':'list-style-type'});const _0x31d13d=_0x9240b7[0x0]['getAttribute']('listIndent');for(const _0x1ec106 of _0x9240b7)_0x1ec106['getAttribute']('listIndent')==_0x31d13d&&(_0x26a19a['writer']['setAttribute']('listType',_0x19d972['listType'],_0x1ec106),_0x26a19a['writer']['setAttribute']('listMarkerStyle',_0x19d972['listMarkerStyle'],_0x1ec106));};}function KT(_0x1ab989,_0xc04471){const _0x26f902=_0x1ab989['t'],t=_0x1ab989['t'];switch(_0xc04471){case'Start\x20at':return _0x26f902('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x26f902('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x26f902('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x26f902('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 _0xc04471;}}var JT=class extends _0x2df468{['children'];['stylesView']=null;['additionalPropertiesCollapsibleView']=null;['startIndexFieldView']=null;['focusTracker']=new _0x33fa41();['keystrokes']=new _0x491b26();['focusables']=new _0xa445c9();['focusCycler'];constructor(_0x54eb74,{enabledProperties:_0xb5177f,styleButtonViews:_0x22acaf,styleGridAriaLabel:_0x5ae540}){super(_0x54eb74);const _0x20eed4=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new _0x1a2844({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0xb5177f['styles']?(this['stylesView']=this['_createStylesView'](_0x22acaf,_0x5ae540),this['children']['add'](this['stylesView'])):_0x20eed4['push']('ck-multi-level-list-properties_without-styles'),_0xb5177f['startIndex']&&(this['_addListPropertyViews'](_0xb5177f),_0x20eed4['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x20eed4},'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 _0x4fa0fd of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x4fa0fd['element']);_0x5bf4b5({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x22955f['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 _0x354162=_0x59f008=>_0x59f008['stopPropagation']();this['keystrokes']['set']('arrowright',_0x354162),this['keystrokes']['set']('arrowleft',_0x354162),this['keystrokes']['set']('arrowup',_0x354162),this['keystrokes']['set']('arrowdown',_0x354162);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0xb2d998,_0x27d001){const _0x4f4738=new _0x2df468(this['locale']);return _0x4f4738['children']=_0x4f4738['createCollection'](),_0x4f4738['children']['addMany'](_0xb2d998),_0x4f4738['setTemplate']({'tag':'div','attributes':{'aria-label':_0x27d001,'class':['ck','ck-multi-level-list-styles']},'children':_0x4f4738['children']}),_0x4f4738['children']['delegate']('execute')['to'](this),_0x4f4738['focus']=function(){this['children']['first']['focus']();},_0x4f4738['focusTracker']=new _0x33fa41(),_0x4f4738['keystrokes']=new _0x491b26(),_0x4f4738['render'](),_0x4f4738['keystrokes']['listenTo'](_0x4f4738['element']),_0x4f4738;}['_addListPropertyViews'](_0x22f932){const _0x2955f4=[];_0x22f932['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x2955f4['push'](this['startIndexFieldView'])),_0x22f932['styles']?(this['additionalPropertiesCollapsibleView']=new _0x5452a8(this['locale'],_0x2955f4),this['additionalPropertiesCollapsibleView']['set']({'label':KT(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x2955f4,'isEnabled',(..._0x55fd53)=>_0x55fd53['some'](_0x29252d=>_0x29252d)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x18162f,_0x3705f3,_0x399b8c)=>{_0x399b8c||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x2955f4);}['_createStartIndexField'](){const _0x1553e8=new _0x339594(this['locale'],_0x29eaa0);return _0x1553e8['set']({'label':KT(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x1553e8['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x1553e8['fieldView']['on']('input',()=>{const _0x1490f4=_0x1553e8['fieldView']['element'],_0x5e4a58=_0x1490f4['valueAsNumber'];Number['isNaN'](_0x5e4a58)?_0x1553e8['errorText']=KT(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x1490f4['checkValidity']()?this['fire']('listStart',{'startIndex':_0x5e4a58}):_0x1553e8['errorText']=KT(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x1553e8;}},tA=class extends _0x36b920{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x31a649=this['editor'];_0x31a649['ui']['componentFactory']['add']('multiLevelList',function({editor:_0x4f72af,parentCommandName:_0x1c1099,buttonLabel:_0x112782,buttonIcon:_0x269c72,styleGridAriaLabel:_0x450609,styleDefinitions:_0x306534}){const _0x47f0ff=_0x4f72af['commands']['get'](_0x1c1099),_0x420e69=_0x4f72af['config']['get']('list.properties')||{},_0x14a1d3=_0x4f72af['plugins']['has']('ListProperties'),_0x368ac6=_0x420e69['startIndex'];return _0x14a1d3&&_0x368ac6?_0x2d42ff=>{const _0x14b7aa=_0x18eee9(_0x2d42ff,_0x139493),_0x754936=_0x14b7aa['buttonView'];return _0x14b7aa['bind']('isEnabled')['to'](_0x47f0ff),_0x14b7aa['class']='ck-list-styles-dropdown',_0x754936['on']('execute',()=>{_0x4f72af['execute'](_0x1c1099),_0x4f72af['editing']['view']['focus']();}),_0x754936['set']({'label':_0x112782,'icon':_0x269c72,'tooltip':!0x0,'isToggleable':!0x0}),_0x754936['bind']('isOn')['to'](_0x47f0ff,'value',_0x315499=>!!_0x315499),_0x14b7aa['once']('change:isOpen',()=>{const _0x41e61e=function({editor:_0x53f1b3,dropdownView:_0x403659,styleDefinitions:_0x23be97,styleGridAriaLabel:_0x616e6d}){const _0x526234=_0x53f1b3['locale'],_0x5e5eb7=_0x53f1b3['config']['get']('list.properties'),_0x1d4d42=null;_0x5e5eb7['reversed']=!0x1,_0x23be97['length']||(_0x5e5eb7['styles']=!0x1);const _0x271019=new JT(_0x526234,{'styleGridAriaLabel':_0x616e6d,'enabledProperties':_0x5e5eb7,'styleButtonViews':_0x1d4d42});if(_0x5e5eb7['startIndex']){const _0x5dab2c=_0x53f1b3['commands']['get']('listStart');_0x271019['startIndexFieldView']['bind']('isEnabled')['to'](_0x5dab2c),_0x271019['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x5dab2c),_0x271019['on']('listStart',(_0x2a79c6,_0x2bef97)=>_0x53f1b3['execute']('listStart',_0x2bef97));}return _0x271019['delegate']('execute')['to'](_0x403659),_0x271019;}({'editor':_0x4f72af,'dropdownView':_0x14b7aa,'parentCommandName':_0x1c1099,'styleGridAriaLabel':_0x450609,'styleDefinitions':_0x306534});_0x14b7aa['panelView']['children']['add'](_0x41e61e);}),_0x14b7aa['on']('execute',()=>{_0x4f72af['editing']['view']['focus']();}),_0x14b7aa;}:_0x3553e8=>{const _0x395286=new _0x47ddb0(_0x3553e8);return _0x395286['set']({'label':_0x112782,'icon':_0x269c72,'tooltip':!0x0,'isToggleable':!0x0}),_0x395286['bind']('isOn')['to'](_0x47f0ff,'value',_0x54abd8=>!!_0x54abd8),_0x395286['on']('execute',()=>{_0x4f72af['execute'](_0x1c1099),_0x4f72af['editing']['view']['focus']();}),_0x395286;};}({'editor':_0x31a649,'parentCommandName':'multiLevelList','buttonLabel':KT(_0x31a649['locale'],'Multi-level\x20List'),'buttonIcon':Mt,'styleGridAriaLabel':KT(_0x31a649['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0x31a649['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x2c533b=_0x31a649['commands']['get']('multiLevelList'),_0x56194a=new _0x3dd6ab(_0x31a649['locale']);return _0x56194a['set']({'label':KT(_0x31a649['locale'],'Multi-level\x20List'),'icon':Mt}),_0x56194a['bind']('isEnabled')['to'](_0x2c533b),_0x56194a['bind']('isOn')['to'](_0x2c533b,'value',_0x1bb0da=>!!_0x1bb0da),_0x56194a['on']('execute',()=>{_0x31a649['execute']('multiLevelList'),_0x31a649['editing']['view']['focus']();}),_0x56194a;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3c4758=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2aadb8;for(const _0x4b3be0 in _0x3c4758){const _0x3332db=_0x4b3be0,_0x2c45b7=_0x3c4758[_0x3332db];if('multiLevelListLicenseKeyValid'==_0x2c45b7||'multiLevelListLicenseKeyInvalid'==_0x2c45b7||'multiLevelListLicenseKeyExpired'==_0x2c45b7||'multiLevelListLicenseKeyDomainLimit'==_0x2c45b7||'multiLevelListLicenseKeyNotAllowed'==_0x2c45b7||'multiLevelListLicenseKeyEvaluationLimit'==_0x2c45b7||'multiLevelListLicenseKeyUsageLimit'==_0x2c45b7){delete _0x3c4758[_0x3332db],_0x2aadb8=_0x2c45b7,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x2aadb8&&_0x3c4758['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x2aadb8&&_0x3c4758['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x2aadb8&&_0x3c4758['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x2aadb8&&_0x3c4758['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x2aadb8&&_0x3c4758['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x2aadb8&&_0x3c4758['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},eA=class extends _0x36b920{static get['pluginName'](){return'MultiLevelList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[qT,tA];}},iA=class extends _0x32be70{['refresh'](){const _0xaaed9e=this['editor']['model'],_0x27bc64=_0xaaed9e['schema']['checkChild'](_0xaaed9e['document']['selection']['focus'],'mergeField');this['isEnabled']=_0x27bc64;}['execute'](_0x3afd05){if(!_0x3afd05||'string'!=typeof _0x3afd05)return;const _0x1fe100=this['editor']['model'];_0x1fe100['change'](_0x3e4fc4=>{_0x1fe100['deleteContent'](_0x1fe100['document']['selection']);const _0x4bdde3=_0x3e4fc4['createElement']('mergeField',{'id':_0x3afd05});for(const [_0x2abaae,_0xa3913d]of _0x1fe100['document']['selection']['getAttributes']())_0x1fe100['schema']['checkAttribute'](_0x4bdde3,_0x2abaae)&&_0x3e4fc4['setAttribute'](_0x2abaae,_0xa3913d,_0x4bdde3);_0x1fe100['insertContent'](_0x4bdde3,_0x1fe100['document']['selection'],0x0,{'setSelection':'after'});});}},sA=class extends _0x32be70{['refresh'](){const _0x4a44b2=this['editor']['model'],_0x4912e6=_0x4a44b2['document']['selection'];this['isEnabled']=function(_0x252ec4,_0x10159e){let _0x5d4f57=_0x11d125(_0x252ec4,_0x10159e)['start']['parent'];return _0x5d4f57['isEmpty']&&!_0x10159e['schema']['isLimit'](_0x5d4f57)&&(_0x5d4f57=_0x5d4f57['parent']),_0x10159e['schema']['checkChild'](_0x5d4f57,'mergeFieldBlock');}(_0x4912e6,_0x4a44b2);}['execute'](_0x57e889,_0x3b52e3){if(!_0x57e889||'string'!=typeof _0x57e889)return;const _0x57a531=this['editor']['model'];_0x57a531['change'](_0x206ec0=>{const _0x2dca69=_0x206ec0['createElement']('mergeFieldBlock',{'id':_0x57e889});_0x57a531['insertObject'](_0x2dca69,_0x57a531['document']['selection'],null,{'setSelection':'on','findOptimalPosition':!0x1===_0x3b52e3?void 0x0:'auto'});});}},nA=class extends _0x32be70{constructor(_0x15a66){super(_0x15a66),this['bind']('isEnabled')['to'](this['editor']['commands']['get']('insertImage'));}['execute'](_0xd2d7fa,_0x131721){if(!_0xd2d7fa||'string'!=typeof _0xd2d7fa)return;const _0x12c5e1=this['editor']['plugins']['get']('MergeFieldsEditing'),_0x2bd0ee=_0x12c5e1['getMergeFieldWidth'](_0xd2d7fa),_0x38ed55=_0x12c5e1['getMergeFieldHeight'](_0xd2d7fa);this['editor']['execute']('insertImage',{'source':{'src':_0x12c5e1['wrapInAffixes'](_0xd2d7fa),'width':_0x2bd0ee,'height':_0x38ed55},'breakBlock':_0x131721&&_0x131721['breakBlock']});}},rA=class extends _0x32be70{constructor(_0x42ad82){super(_0x42ad82);const _0x31b29b=this['editor']['plugins']['get']('MergeFieldsEditing');this['bind']('value')['to'](_0x31b29b,'previewMode'),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x48d748){this['editor']['plugins']['get']('MergeFieldsEditing')['previewMode']=_0x48d748;}};const oA=/^[a-zA-Z0-9_.-]+$/;var aA=class extends _0x36b920{['availablePreviewModes'];['flattenedMergeFieldDefinitions']=[];['_mergeFieldElements'];['_mergeFieldPrefix'];['_mergeFieldSuffix'];['_mergeFieldRegExp'];['_shouldPreviewHtmlValues'];static get['requires'](){return[_0x5c2c32,_0x3fac71];}static get['pluginName'](){return'MergeFieldsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x43ac35){super(_0x43ac35),_0x43ac35['config']['define']('mergeFields.previewModes',['$labels','$defaultValues','$dataSets']),_0x43ac35['config']['define']('mergeFields.dataSets',[]),_0x43ac35['config']['define']('mergeFields.definitions',[]),_0x43ac35['config']['define']('mergeFields.prefix','{{'),_0x43ac35['config']['define']('mergeFields.suffix','}}'),_0x43ac35['config']['define']('mergeFields.previewHtmlValues',!0x1),_0x43ac35['config']['define']('mergeFields.sanitizeHtml',_0xb50a59=>(_0x43c457('merge-fields-provide-sanitize-function'),{'html':_0xb50a59,'hasChanged':!0x1})),this['_mergeFieldPrefix']=_0x43ac35['config']['get']('mergeFields.prefix'),this['_mergeFieldSuffix']=_0x43ac35['config']['get']('mergeFields.suffix'),this['_shouldPreviewHtmlValues']=_0x43ac35['config']['get']('mergeFields.previewHtmlValues'),this['flattenedMergeFieldDefinitions']=this['_getFlattenedMergeFieldDefinitions'](),this['_validateConfig']();const _0x13df77='\x5c'+this['_mergeFieldPrefix']['split']('')['join']('\x5c'),_0xfc4a47='\x5c'+this['_mergeFieldSuffix']['split']('')['join']('\x5c');this['_mergeFieldRegExp']=new RegExp('('+_0x13df77+'[^'+(_0x13df77+_0xfc4a47)+'\x20]+'+_0xfc4a47+')','g'),this['availablePreviewModes']=this['_getAvailablePreviewModes']();const _0x267da5=_0x43ac35['config']['get']('mergeFields.initialPreviewMode')||this['availablePreviewModes'][0x0];this['_validatePreviewMode'](_0x267da5),this['set']('previewMode',_0x267da5),this['_mergeFieldElements']=new Set();}['init'](){const _0x184e1c=this['editor'];_0x184e1c['commands']['add']('insertMergeField',new iA(_0x184e1c)),_0x184e1c['commands']['add']('insertMergeFieldBlock',new sA(_0x184e1c)),_0x184e1c['commands']['add']('insertMergeFieldImage',new nA(_0x184e1c)),_0x184e1c['commands']['add']('previewMergeFields',new rA(_0x184e1c)),this['_defineSchema'](),this['_defineConverters'](),this['_registerConversionPostFixer'](),this['listenTo'](this['editor']['editing']['view']['document'],'imageLoaded',this['_setupTooltipsTogglingForImageMergeField']),this['on']('change:previewMode',(_0x22cfdf,_0x666b4a,_0x483f9f)=>{this['_validatePreviewMode'](_0x483f9f),this['refreshMergeFields']();}),this['listenTo'](_0x184e1c['model']['document'],'change:data',()=>{this['_trackAddedMergeFields']();}),_0x184e1c['editing']['mapper']['on']('viewToModelPosition',_0x107457(_0x184e1c['model'],_0x1dbee8=>_0x1dbee8['hasClass']('ck-merge-field'))),_0x184e1c['editing']['mapper']['on']('viewToModelPosition',_0x107457(_0x184e1c['model'],_0x42e196=>_0x42e196['hasClass']('ck-merge-field-block'))),_0x184e1c['editing']['view']['domConverter']['registerInlineObjectMatcher']({'name':'span','classes':['ck-merge-field']});}['afterInit'](){this['_disableCommandOnMergeFields']('ckboxImageEdit'),this['_disableCommandOnMergeFields']('uploadcareImageEdit'),async function(_0x59aad6){const _0xed9ed6='cvqCYM8ia9TDP6n5dmrzbJtlj03FwLxIpEWSUG7ARu21KfQoXNyg4ZBeOhskHV',_0x1862ed=0x78fc0,_0x55b5bc=window['Date']['now'](),_0x11452b=_0x59aad6['editor'],_0x3b1728=new window['Promise'](_0x583696=>{_0x11452b['once']('ready',_0x583696);}),_0x20fdd8={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x4c0c25=_0x11452b['config']['get']('licenseKey');async function _0x5353ab(){let _0x17660a,_0x57bbd9=null,_0x523f2c=null;try{return'GPL'==_0x4c0c25?'NotAllowed':(_0x17660a=_0x5eb34c(),_0x17660a?(_0x17660a['usageEndpoint']&&(_0x523f2c=_0x168c25(_0x17660a['usageEndpoint'],_0x17660a['jti'])),await _0x463add()?_0x4b1c95()?_0x45a29a()?'Expired':_0x2d88ea()?('evaluation'==_0x17660a['licenseType']&&(_0x57bbd9=_0x3d450e('EvaluationLimit')),await _0x26b834()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x45a29a(){const _0x466b20=['evaluation','trial']['includes'](_0x17660a['licenseType'])?_0x55b5bc/0x3e8:0xe10*_0x1862ed;return _0x17660a['exp']<_0x466b20;}function _0x4b1c95(){const _0x44ba13=_0x17660a['features'];return!!_0x44ba13&&(!!_0x44ba13['includes']('*')||!!_0x44ba13['includes']('MF'));}function _0x2d88ea(){const _0x313c3c=_0x17660a['licensedHosts'];if(!_0x313c3c||0x0==_0x313c3c['length'])return!0x0;const {hostname:_0x33a78a}=new URL(window['location']['href']);if(_0x313c3c['includes'](_0x33a78a))return!0x0;const _0x3671d3=_0x33a78a['split']('.');return _0x313c3c['filter'](_0x403bb7=>_0x403bb7['includes']('*'))['map'](_0x42623f=>_0x42623f['split']('.'))['filter'](_0x270944=>_0x270944['length']<=_0x3671d3['length'])['map'](_0x4c4f47=>Array(_0x3671d3['length']-_0x4c4f47['length'])['fill']('*'===_0x4c4f47[0x0]?'*':'')['concat'](_0x4c4f47))['some'](_0x55c367=>_0x3671d3['every']((_0x4d2ae3,_0x45ce50)=>_0x55c367[_0x45ce50]===_0x4d2ae3||'*'===_0x55c367[_0x45ce50]));}function _0x26b834(){return _0x57bbd9&&_0x523f2c?new window['Promise']((_0x2350c2,_0x28ab78)=>{_0x57bbd9['then'](_0x2350c2,_0x28ab78),_0x523f2c['then'](_0x2c1299=>{'Valid'!=_0x2c1299&&_0x2350c2(_0x2c1299);},_0x28ab78);}):_0x57bbd9||_0x523f2c||'Valid';}}function _0x168c25(_0x32aed4,_0x1a2cbc){return new window['Promise'](_0x32f3a1=>{if(_0x520c43())return _0x32f3a1('Valid');_0x3f3010(),_0x11452b['decorate']('_sendUsageRequest');let _0x593148=!0x1;const _0x23d154=_0x10825a();function _0xa87c78(_0x1e5601){return!!_0x1e5601&&('object'==typeof _0x1e5601||'function'==typeof _0x1e5601)&&'function'==typeof _0x1e5601['then']&&'function'==typeof _0x1e5601['catch'];}function _0x45ab31(_0xa68830){_0x306d22(_0xa68830)['then'](_0x462568=>_0x462568&&'ok'==_0x462568['status']?_0x342048(_0x5d18af(_0x23d154+_0x1a2cbc))!=_0x462568['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x22c888=>(_0x586283(),_0x22c888),()=>{const _0x23fae5=_0x53f021();return null==_0x23fae5?(_0x586283(),'Valid'):_0x55b5bc-_0x23fae5>0x240c8400?'UsageLimit':'Valid';})['then'](_0x32f3a1)['catch'](()=>{_0x32f3a1('UsageLimit');});const _0x1afa63=0x36ee80;function _0x586283(){const _0x1f825b='llct-'+_0x342048(_0x5d18af(_0x32aed4)),_0x41b1c6=_0x5ee5b3(_0x342048(window['Math']['ceil'](_0x55b5bc/_0x1afa63)));window['localStorage']['setItem'](_0x1f825b,_0x41b1c6);}function _0x53f021(){const _0x2e490d='llct-'+_0x342048(_0x5d18af(_0x32aed4)),_0x24b5e1=window['localStorage']['getItem'](_0x2e490d);return _0x24b5e1?window['parseInt'](_0x5ee5b3(_0x24b5e1),0x10)*_0x1afa63:null;}function _0x306d22(_0x6374c1){return new window['Promise']((_0x5b40c0,_0x1327c8)=>{_0x6374c1['then'](_0x5b40c0,_0x1327c8),window['setTimeout'](_0x1327c8,0x1d4c0);});}}_0x11452b['on']('_sendUsageRequest',(_0x413fbf,_0x1ccf2b)=>{if(_0x1ccf2b[0x0]!=_0x32aed4)return _0x32f3a1('UsageLimit');_0x1ccf2b[0x1]={..._0x1ccf2b[0x1],'requestId':_0x23d154};},{'priority':'high'}),_0x11452b['on']('_sendUsageRequest',_0x1440e8=>{_0xa87c78(_0x1440e8['return'])&&(_0x593148=!0x0,_0x45ab31(_0x1440e8['return']));},{'priority':'low'}),_0x3b1728['then'](()=>{_0x593148||_0x32f3a1('UsageLimit');});});function _0x520c43(){return'auto'==_0x11452b['editing']['view']['_overlayModeHint'];}function _0x3f3010(){_0x11452b['editing']['view']['_overlayModeHint']='auto';}}function _0x3d450e(_0x5f3988){const _0x2ca1f1=[new window['Promise'](_0x5a71f6=>setTimeout(_0x5a71f6,0x93ecc)),_0x3b1728['then'](()=>new window['Promise'](_0x26f38d=>{let _0x52fe9e=0x0;_0x11452b['model']['on']('applyOperation',(_0x32a6fd,_0x1ef494)=>{_0x1ef494[0x0]['isDocumentOperation']&&_0x52fe9e++,0x5e8==_0x52fe9e&&(_0x26f38d(),_0x32a6fd['off']());});}))];return window['Promise']['race'](_0x2ca1f1)['then'](()=>_0x5f3988);}async function _0x43b7c1(){await _0x3b1728,_0x11452b['model']['change']=_0x44c101,_0x11452b['model']['enqueueChange']=_0x44c101,_0x11452b['enableReadOnlyMode']('model');}function _0x5a28c8(_0x574b37){const _0x4d1ee9=_0x56881f();_0x11452b[_0x4d1ee9]='mergeFieldsLicenseKey'+_0x574b37,'Valid'!=_0x574b37&&_0x43b7c1();}function _0x56881f(){const _0x2a1bcd=window['String'](window['performance']['now']())['replace']('.','');let _0x5d21cb='c';for(let _0x41c857=0x0;_0x41c857<_0x2a1bcd['length'];_0x41c857+=0x2){let _0x228dac=window['parseInt'](_0x2a1bcd['substring'](_0x41c857,_0x41c857+0x2));_0x228dac>=0x3e&&(_0x228dac-=0x3e),_0x5d21cb+=_0xed9ed6[_0x228dac];}return _0x5d21cb;}function _0x5eb34c(){const _0xd38272=_0x4c0c25['split']('.');if(0x3!=_0xd38272['length'])return null;return _0x51655e(_0xd38272[0x1]);function _0x51655e(_0x5e51ac){const _0x45c9c6=_0x248394(_0x5e51ac);return _0x45c9c6&&_0x4c5ed1()?_0x45c9c6:null;function _0x4c5ed1(){const _0x409ddd=_0x45c9c6['jti'],_0x560029=window['parseInt'](_0x409ddd['substring'](_0x409ddd['length']-0x8),0x10),_0x248419={..._0x45c9c6,'jti':_0x409ddd['substring'](0x0,_0x409ddd['length']-0x8)};return delete _0x248419['vc'],_0x5d18af(_0x248419)==_0x560029;}}}async function _0x463add(){let _0x3cf737=!0x0;try{const [_0x35a3b9,_0x3df81b,_0x4d081e]=_0x4c0c25['split']('.');return _0x4c6cc4(_0x35a3b9),await _0x175c52(_0x35a3b9,_0x3df81b,_0x4d081e),_0x3cf737;}catch{return!0x1;}function _0x4c6cc4(_0x34689e){const _0x1af019=_0x248394(_0x34689e);_0x1af019&&'ES256'==_0x1af019['alg']||(_0x3cf737=!0x1);}async function _0x175c52(_0x199920,_0x47f19e,_0x5cdd99){const _0x511421=window['Uint8Array']['from'](_0x367347(_0x5cdd99),_0xc76faa=>_0xc76faa['charCodeAt'](0x0)),_0x49de5e=new window['TextEncoder']()['encode'](_0x199920+'.'+_0x47f19e),_0x291487=window['crypto']['subtle'];if(!_0x291487)return;const _0x4eabc1=await _0x291487['importKey']('jwk',_0x20fdd8,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x291487['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x4eabc1,_0x511421,_0x49de5e)||(_0x3cf737=!0x1);}}function _0x248394(_0x54113c){return _0x54113c['startsWith']('ey')?JSON['parse'](_0x367347(_0x54113c)):null;}function _0x367347(_0x1533e7){return window['atob'](_0x1533e7['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x5d18af(_0x167659){let _0x1de5cb=0x1505;function _0x5e3c53(_0x3b6eb1){for(let _0x4a452f=0x0;_0x4a452f<_0x3b6eb1['length'];_0x4a452f++){const _0x1ed194=_0x3b6eb1['charCodeAt'](_0x4a452f);_0x1de5cb=(_0x1de5cb<<0x5)+_0x1de5cb+_0x1ed194,_0x1de5cb&=_0x1de5cb;}}function _0x149dac(_0x1d5403){Array['isArray'](_0x1d5403)?_0x1d5403['forEach'](_0x149dac):_0x1d5403&&'object'==typeof _0x1d5403?Object['entries'](_0x1d5403)['sort']()['forEach'](([_0x48a1d7,_0x567039])=>{_0x5e3c53(_0x48a1d7),_0x149dac(_0x567039);}):_0x5e3c53(window['String'](_0x1d5403));}return _0x149dac(_0x167659),_0x1de5cb>>>0x0;}function _0x342048(_0x33b919){return _0x33b919['toString'](0x10)['padStart'](0x8,'0');}function _0x5ee5b3(_0x486b5a){return _0x486b5a['split']('')['reverse']()['join']('');}function _0x44c101(){}_0x5a28c8(await _0x5353ab());}(this);}['isMergeField'](_0x2d94e9){return'mergeField'===_0x2d94e9['name']||'mergeFieldBlock'===_0x2d94e9['name']||!!('imageBlock'===_0x2d94e9['name']||'imageInline'===_0x2d94e9['name']&&_0x2d94e9['getAttribute']('src'))&&!!_0x2d94e9['getAttribute']('src')['match'](this['_mergeFieldRegExp']);}['getDefaultValues'](){const _0x4d8313={},_0x68ad35=this['getMergeFieldsIds']();for(const _0x5e4020 of _0x68ad35)_0x4d8313[_0x5e4020]=this['getMergeFieldDefaultValue'](_0x5e4020);return _0x4d8313;}['getDataSetValues'](_0x5cf8d4,_0x1bc10d=!0x1){const _0x20b6d1={},_0x114770=this['getMergeFieldsIds']();for(const _0x25eac2 of _0x114770){let _0xaf276e=this['getMergeFieldValue'](_0x25eac2,_0x5cf8d4);null===_0xaf276e&&_0x1bc10d&&(_0xaf276e=this['getMergeFieldDefaultValue'](_0x25eac2)),_0x20b6d1[_0x25eac2]=_0xaf276e;}return _0x20b6d1;}['getLabel'](_0x11e503){const _0xc27f60=this['getDefinition'](_0x11e503);return _0xc27f60&&_0xc27f60['label']?_0xc27f60['label']:null;}['getMergeFieldDefaultValue'](_0x737b3b){const _0x2a9abd=this['getDefinition'](_0x737b3b);if(!_0x2a9abd||void 0x0===_0x2a9abd['defaultValue'])return null;const _0xb455b2='function'==typeof _0x2a9abd['defaultValue']?_0x2a9abd['defaultValue'](this['editor']):_0x2a9abd['defaultValue'];return String(_0xb455b2);}['getMergeFieldValue'](_0x2eb6d5,_0x44695c){const _0x5c64f0=this['editor']['config']['get']('mergeFields.dataSets')['find'](_0xadea5f=>_0xadea5f['id']===_0x44695c);if(!_0x5c64f0)throw new _0x5b5a95('merge-fields-data-set-not-found',null);const _0x25d91f=_0x5c64f0['values'][_0x2eb6d5];if(void 0x0===_0x25d91f)return null;const _0x765308='function'==typeof _0x25d91f?_0x25d91f(this['editor']):_0x25d91f;return String(_0x765308);}['getMergeFieldType'](_0x15e36a){if('string'!=typeof _0x15e36a){const _0x55fa5f=_0x15e36a;return'mergeField'===_0x55fa5f['name']?'text':'mergeFieldBlock'===_0x55fa5f['name']?'block':'imageBlock'!==_0x55fa5f['name']&&'imageInline'!==_0x55fa5f['name']||!_0x55fa5f['getAttribute']('src')?null:_0x55fa5f['getAttribute']('src')['match'](this['_mergeFieldRegExp'])?'image':null;}const _0x4b7916=this['getDefinition'](_0x15e36a);return _0x4b7916&&_0x4b7916['type']?_0x4b7916['type']:'text';}['getMergeFieldHeight'](_0x5669e4){const _0x334984=this['getDefinition'](_0x5669e4);return _0x334984&&'block'===_0x334984['type']?_0x334984['height']||0x78:_0x334984&&'image'===_0x334984['type']?_0x334984['height']||0x190:null;}['getMergeFieldWidth'](_0x391bbb){const _0x12c49c=this['getDefinition'](_0x391bbb);return _0x12c49c&&'image'===_0x12c49c['type']?_0x12c49c['width']||0x190:null;}['getDocumentMergeFieldsIds'](){const _0x49f9ea=new Set();for(const _0x1b9018 of this['_mergeFieldElements'])'$graveyard'!==_0x1b9018['root']['rootName']&&('image'===this['getMergeFieldType'](_0x1b9018)?_0x49f9ea['add'](this['unwrapAffixes'](_0x1b9018['getAttribute']('src'))):_0x49f9ea['add'](_0x1b9018['getAttribute']('id')));return Array['from'](_0x49f9ea);}['getMergeFieldsIds'](){const _0x42bb27=this['flattenedMergeFieldDefinitions']['map'](_0x42fff5=>_0x42fff5['id']),_0x269f38=this['getDocumentMergeFieldsIds']();return Array['from'](new Set([..._0x42bb27,..._0x269f38]));}['getDefinition'](_0x108aa1){return this['flattenedMergeFieldDefinitions']['find'](_0x542dd6=>_0x542dd6['id']===_0x108aa1)||null;}['refreshMergeFields'](){this['_mergeFieldElements']['forEach'](_0x3e30f2=>{'$graveyard'!==_0x3e30f2['root']['rootName']&&this['editor']['editing']['reconvertItem'](_0x3e30f2);});}['wrapInAffixes'](_0x5eb7f5){return this['_mergeFieldPrefix']+_0x5eb7f5+this['_mergeFieldSuffix'];}['unwrapAffixes'](_0x54eff5){return _0x54eff5['slice'](this['_mergeFieldPrefix']['length'],_0x54eff5['length']-this['_mergeFieldSuffix']['length']);}['_getFlattenedMergeFieldDefinitions'](){const _0x20edb5=new Set(),_0x2fdaa7=this['editor'];return _0x2fdaa7['config']['get']('mergeFields.definitions')['reduce']((_0x170f91,_0x181a8f)=>{if('groupId'in _0x181a8f){if(_0x20edb5['has'](_0x181a8f['groupId']))throw new _0x5b5a95('merge-fields-duplicate-group-id',_0x2fdaa7,{'duplicateId':_0x181a8f['groupId']});_0x20edb5['add'](_0x181a8f['groupId']);}return'groupId'in _0x181a8f?function(_0x2bef31,_0x1fb848){for(const _0x2c87ec of _0x1fb848['definitions'])_0x2bef31=_0x2bef31['concat'](_0x2c87ec);return _0x2bef31;}['bind'](_0x2fdaa7)(_0x170f91,_0x181a8f):_0x170f91['concat'](_0x181a8f);},new Array());}['_validateConfig'](){const _0x5a137d=/^['"`!#%:;=@{}~$()*+/?[\\\]^|]+$/;if(!_0x5a137d['test'](this['_mergeFieldPrefix'])||!_0x5a137d['test'](this['_mergeFieldSuffix']))throw new _0x5b5a95('merge-fields-invalid-prefix-or-suffix',this,{'prefix':this['_mergeFieldPrefix'],'suffix':this['_mergeFieldSuffix']});if(this['_mergeFieldPrefix']['length']>0x8||this['_mergeFieldSuffix']['length']>0x8)throw new _0x5b5a95('merge-fields-prefix-or-suffix-too-long',this,{'prefix':this['_mergeFieldPrefix'],'suffix':this['_mergeFieldSuffix'],'limit':0x8});const _0xc78865=new Set();if(this['flattenedMergeFieldDefinitions']['map'](_0x549558=>{if(!oA['test'](_0x549558['id']))throw new _0x5b5a95('merge-fields-invalid-id',this,{'incorrectId':_0x549558['id']});if(_0xc78865['has'](_0x549558['id']))throw new _0x5b5a95('merge-fields-duplicate-merge-field-id',this,{'duplicateId':_0x549558['id']});_0xc78865['add'](_0x549558['id']);}),this['_mergeFieldPrefix']===this['_mergeFieldSuffix'])throw new _0x5b5a95('merge-fields-prefix-and-suffix-must-differ',this);const _0x27f59f=this['editor']['config']['get']('mergeFields.previewModes'),_0x1df3fe=['$labels','$defaultValues','$dataSets'];if(!_0x27f59f['length']||!_0x27f59f['every'](_0x4c5bd9=>_0x1df3fe['includes'](_0x4c5bd9)))throw new _0x5b5a95('merge-fields-invalid-preview-modes-configuration',this,{'invalidConfig':_0x27f59f});const _0x3bdc4e=new Set(),_0x3267d9=this['editor']['config']['get']('mergeFields.dataSets');for(const _0x5cc290 of _0x3267d9){if(_0x3bdc4e['has'](_0x5cc290['id']))throw new _0x5b5a95('merge-fields-duplicate-data-set-id',this,{'duplicateId':_0x5cc290['id']});_0x3bdc4e['add'](_0x5cc290['id']);}}['_getAvailablePreviewModes'](){const _0x24559d=this['editor']['config']['get']('mergeFields.previewModes'),_0x5d62a9=[];if(_0x24559d['includes']('$labels')&&_0x5d62a9['push']('$labels'),_0x24559d['includes']('$defaultValues')&&_0x5d62a9['push']('$defaultValues'),_0x24559d['includes']('$dataSets')){const _0x5208ef=this['editor']['config']['get']('mergeFields.dataSets');_0x5d62a9['push'](..._0x5208ef['map'](_0x481f5d=>_0x481f5d['id']));}return _0x5d62a9;}['_defineSchema'](){const _0x21c29f=this['editor']['model']['schema'];_0x21c29f['register']('mergeField',{'inheritAllFrom':'$inlineObject','allowAttributes':['id'],'allowWhere':'$text'}),_0x21c29f['register']('mergeFieldBlock',{'inheritAllFrom':'$blockObject','allowAttributes':['id']});}['_defineConverters'](){const _0x327ba0=this['editor']['conversion'];_0x327ba0['for']('upcast')['add'](_0x172fa2=>{_0x172fa2['on']('text',(_0x1ba94b,_0x52c6d5,_0x556933)=>{const {writer:_0x5110e5,safeInsert:_0x43d381}=_0x556933,{viewItem:_0x1fe31d}=_0x52c6d5,_0x1b0aa6=_0x1fe31d['data']['split'](this['_mergeFieldRegExp'])['filter'](_0x115aa6=>_0x115aa6);if(0x1===_0x1b0aa6['length']&&!_0x1b0aa6[0x0]['match'](this['_mergeFieldRegExp']))return;if(!_0x52c6d5['modelRange'])return;const _0x59e8d0=_0x5110e5['createElement']('$cursor');_0x5110e5['insert'](_0x59e8d0,_0x52c6d5['modelCursor']);const _0xdc1763=[];for(const _0x1de029 of _0x52c6d5['modelRange']['getItems']()){if(!_0x1de029['is']('$textProxy'))continue;const _0x52aadf=_0x1de029['textNode']['data']['matchAll'](this['_mergeFieldRegExp']),_0x429335=_0x1de029['parent'],_0x54f28e=_0x1de029['textNode']['startOffset'];for(const _0x5976e3 of[..._0x52aadf]['reverse']()){const _0xa474ff=_0x5976e3[0x0],_0x513e6e=_0x5110e5['createPositionAt'](_0x429335,_0x5976e3['index']+_0x54f28e),_0x17b1ad=_0x513e6e['getShiftedBy'](_0xa474ff['length']),_0x38a0b9=_0x5110e5['createRange'](_0x513e6e,_0x17b1ad),_0x1128ca=this['unwrapAffixes'](_0xa474ff),_0x2329aa=this['getMergeFieldType'](_0x1128ca),_0x128aa9='block'==_0x2329aa?'mergeFieldBlock':'mergeField',_0x4b6e1a=_0x5110e5['createElement'](_0x128aa9,{'id':_0x1128ca});_0x5110e5['remove'](_0x38a0b9),_0x5110e5['insert'](_0x4b6e1a,_0x513e6e),'block'==_0x2329aa&&_0xdc1763['push'](_0x4b6e1a);}}_0xdc1763['reverse']();for(const _0x59197c of _0xdc1763){const _0x1915e5=_0x5110e5['createPositionBefore'](_0x59197c),_0x4e5ad1=_0x59197c['nextSibling']==_0x59e8d0;_0x5110e5['remove'](_0x59197c),_0x43d381(_0x59197c,_0x1915e5)&&_0x4e5ad1&&_0x5110e5['move'](_0x5110e5['createRangeOn'](_0x59e8d0),_0x5110e5['createPositionAfter'](_0x59197c));}_0x52c6d5['modelCursor']=_0x5110e5['createPositionBefore'](_0x59e8d0),_0x52c6d5['modelRange']=_0x5110e5['createRange'](_0x52c6d5['modelRange']['start'],_0x52c6d5['modelCursor']),_0x5110e5['remove'](_0x59e8d0);},{'priority':_0x38a185['get']('lowest')-0x1});}),_0x327ba0['for']('upcast')['elementToElement']({'view':{'name':'span','attributes':'data-ck-merge-field'},'model':(_0x128ab3,{writer:_0x9d565c})=>_0x9d565c['createElement']('mergeField',{'id':_0x128ab3['getAttribute']('data-ck-merge-field')})}),_0x327ba0['for']('upcast')['elementToElement']({'view':{'name':'div','attributes':'data-ck-merge-field'},'model':(_0x29d32c,{writer:_0x1d0f05})=>_0x1d0f05['createElement']('mergeFieldBlock',{'id':_0x29d32c['getAttribute']('data-ck-merge-field')})}),_0x327ba0['for']('upcast')['add'](this['_upcastSrcAttributeFromClipboard']()),_0x327ba0['for']('editingDowncast')['elementToElement']({'model':'mergeField','view':(_0x28137f,{writer:_0x4aaaed})=>this['_createMergeFieldWidget'](_0x28137f,_0x4aaaed,'text')}),_0x327ba0['for']('dataDowncast')['elementToElement']({'model':'mergeField','view':(_0x4d5842,{writer:_0x462eeb,options:_0x3af201})=>this['_createTextualMergeField'](_0x4d5842,_0x462eeb,_0x3af201)}),_0x327ba0['for']('editingDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0x377ecf,{writer:_0x5e6035})=>this['_createMergeFieldWidget'](_0x377ecf,_0x5e6035,'block')}),_0x327ba0['for']('dataDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0x3930fe,{writer:_0x95deba,options:_0x263d63})=>this['_createTextualMergeField'](_0x3930fe,_0x95deba,_0x263d63)}),_0x327ba0['for']('editingDowncast')['add'](this['_downcastSrcAttributeToEditing']('imageBlock'))['add'](this['_downcastSrcAttributeToEditing']('imageInline')),_0x327ba0['for']('dataDowncast')['add'](this['_downcastSrcAttributeToData']('imageBlock'))['add'](this['_downcastSrcAttributeToData']('imageInline'));}['_upcastSrcAttributeFromClipboard'](){return _0x589b6c=>{_0x589b6c['on']('element:img',(_0x415545,_0x303a8e,_0x47f52f)=>{_0x47f52f['consumable']['test'](_0x303a8e['viewItem'],{'attributes':'data-ck-merge-field'})&&(_0x47f52f['writer']['setAttribute']('src',this['wrapInAffixes'](_0x303a8e['viewItem']['getAttribute']('data-ck-merge-field')),_0x303a8e['modelCursor']['nodeBefore']),_0x47f52f['consumable']['consume'](_0x303a8e['viewItem'],{'attributes':'data-ck-merge-field'}));},{'priority':'low'});};}['_downcastSrcAttributeToData'](_0x4b9f7e){const _0x1e2ab1=this['editor']['plugins']['get'](_0x5c2c32),_0x2bc450=(_0x533277,_0x4473ea,_0x4f421e)=>{if(!0x1!==_0x4f421e['consumable']['test'](_0x4473ea['item'],_0x533277['name']))return;if(!String(_0x4473ea['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0x15f21b=_0x4f421e['writer'],_0x9b75b6=_0x4f421e['mapper']['toViewElement'](_0x4473ea['item']),_0x532694=_0x1e2ab1['findViewImgElement'](_0x9b75b6),_0x22ab75=String(_0x4473ea['attributeNewValue']),_0x29f4c0=this['unwrapAffixes'](_0x22ab75),_0xb5cb5b=_0x4f421e['options']['mergeFieldsData'];if(_0x4f421e['options']['isClipboardPipeline']&&'$labels'!==this['previewMode']){let _0x5bedcf;return _0x5bedcf='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x29f4c0)||this['getLabel'](_0x29f4c0)||this['wrapInAffixes'](_0x29f4c0):this['getMergeFieldValue'](_0x29f4c0,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x29f4c0)||this['getLabel'](_0x29f4c0)||this['wrapInAffixes'](_0x29f4c0),_0x15f21b['setAttribute']('data-ck-merge-field',_0x29f4c0,_0x532694),void _0x15f21b['setAttribute'](_0x4473ea['attributeKey'],_0x5bedcf,_0x532694);}const _0x236ea3=_0xb5cb5b&&_0xb5cb5b[_0x29f4c0]?_0xb5cb5b[_0x29f4c0]:_0x22ab75;_0x15f21b['setAttribute'](_0x4473ea['attributeKey'],_0x236ea3,_0x532694);};return _0x41e794=>{_0x41e794['on']('attribute:src:'+_0x4b9f7e,_0x2bc450,{'priority':'low'});};}['_downcastSrcAttributeToEditing'](_0x27c6d4){const _0x32471b=this['editor']['plugins']['get'](_0x5c2c32),_0x5e6ea3=(_0xe232e0,_0x54f802,_0x560353)=>{if(!0x1!==_0x560353['consumable']['test'](_0x54f802['item'],_0xe232e0['name']))return;if(!String(_0x54f802['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0x3e3e75=_0x560353['writer'],_0xf951f2=_0x560353['mapper']['toViewElement'](_0x54f802['item']),_0x44cdf9=_0x32471b['findViewImgElement'](_0xf951f2),_0x50217b=String(_0x54f802['attributeNewValue']),_0x26ea7d=this['unwrapAffixes'](_0x50217b),_0x31a72f=this['getMergeFieldDefaultValue'](_0x26ea7d),_0x188058='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAAtJREFUGFdjYAACAAAFAAGq1chRAAAAAElFTkSuQmCC';let _0x20c670,_0x1fee5d='',_0x5187a8='';if('$labels'===this['previewMode'])_0x20c670=_0x188058;else{if('$defaultValues'===this['previewMode'])_0x31a72f?(_0x20c670=_0x31a72f,_0x5187a8='\x20ck-merge-field-image_with-value'):(_0x20c670=_0x188058,_0x1fee5d='WARNING_MISSING_DEFAULT_VALUE',_0x5187a8='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_no-default');else{const _0x34eb26=this['getMergeFieldValue'](_0x26ea7d,this['previewMode']);_0x34eb26?(_0x20c670=_0x34eb26,_0x5187a8='\x20ck-merge-field-image_with-value'):_0x31a72f?(_0x20c670=_0x31a72f,_0x5187a8='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_default-value-used',_0x1fee5d='WARNING_MISSING_DATA_USED_DEFAULT_VALUE'):(_0x20c670=_0x188058,_0x5187a8='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_missing-data',_0x1fee5d='WARNING_MISSING_DATA');}}if(_0x3e3e75['addClass']('ck-merge-field-image'+_0x5187a8,_0xf951f2),_0x3e3e75['setAttribute'](_0x54f802['attributeKey'],_0x20c670,_0x44cdf9),'$labels'===this['previewMode']){const _0x9b457a='imageInline'===_0x27c6d4?'span':'div',_0x4992e6=this['_mergeFieldPrefix'],_0x812bf=this['_mergeFieldSuffix'],_0x5965a4=_0x3e3e75['createContainerElement'](_0x9b457a,{'class':'ck-merge-field','data-cke-tooltip-instant':'true'},[_0x3e3e75['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0xc98b7c){const _0x31b7fa=this['toDomElement'](_0xc98b7c);return _0x31b7fa['innerHTML']=_0x4992e6,_0x31b7fa;}),_0x3e3e75['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x3e3e75['createText'](this['getLabel'](_0x26ea7d)||_0x26ea7d)),_0x3e3e75['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x227bc6){const _0x278251=this['toDomElement'](_0x227bc6);return _0x278251['innerHTML']=_0x812bf,_0x278251;})]);_0x3e3e75['insert'](_0x3e3e75['createPositionAt'](_0xf951f2,'end'),_0x5965a4),_0x3e3e75['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x26ea7d)||_0x26ea7d,_0x5965a4);}else{if(_0x1fee5d&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x1fee5d)){const _0x5264be='imageInline'===_0x27c6d4?'span':'div',_0x4086df=_0x5187a8['replace'](/ck-merge-field-image/g,'ck-merge-field'),_0x4980ca=_0x3e3e75['createContainerElement'](_0x5264be,{'class':'ck-merge-field'+_0x4086df,'data-cke-tooltip-instant':'true'},[_0x3e3e75['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x3e3e75['createText'](this['getLabel'](_0x26ea7d)||_0x26ea7d))]),_0x35596d=_0x3e3e75['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0x43d7b1){const _0x532487=this['toDomElement'](_0x43d7b1),_0x222653=new _0x5902c2();return _0x222653['set']({'content':_0x5e0c15}),_0x222653['render'](),_0x532487['appendChild'](_0x222653['element']),_0x532487;});_0x3e3e75['insert'](_0x3e3e75['createPositionAt'](_0x4980ca,'end'),_0x35596d),_0x3e3e75['insert'](_0x3e3e75['createPositionAt'](_0xf951f2,'end'),_0x4980ca),_0x3e3e75['setCustomProperty']('mergeFieldStatus',_0x1fee5d,_0x4980ca),_0x3e3e75['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x26ea7d)||_0x26ea7d,_0x4980ca);}}_0x3e3e75['setAttribute']('data-merge-field-name',_0x26ea7d,_0xf951f2),_0x1fee5d&&_0x3e3e75['setCustomProperty']('mergeFieldStatus',_0x1fee5d,_0xf951f2);};return _0x454987=>{_0x454987['on']('attribute:src:'+_0x27c6d4,_0x5e6ea3,{'priority':'low'});};}['_setupTooltipsTogglingForImageMergeField'](_0x17617e,_0x3be0aa){if(!_0x3be0aa['target'])return null;const _0x5a583f=_0x3be0aa['target']['parentElement'];return _0x5a583f&&_0x5a583f['classList']['contains']('ck-merge-field-image')?new _0x5c4e05(_0x5a583f,_0x566b12=>{const _0x45583e=_0x566b12['target'],_0x389bbb=_0x45583e['querySelector']('.ck-merge-field'),_0x2a93df=_0x45583e['querySelector']('.ck-merge-field__content');_0x389bbb&&_0x2a93df&&(_0x2a93df['scrollWidth']>_0x2a93df['getBoundingClientRect']()['width']?_0x389bbb['removeAttribute']('data-cke-tooltip-disabled'):_0x389bbb['setAttribute']('data-cke-tooltip-disabled','true'));}):null;}['_createMergeFieldWidget'](_0x49afa4,_0x1ddda9,_0x419b55){const {label:_0x11a6ac,classes:_0x4398f6,status:_0xe1d5bb,height:_0x2e1985}=this['_prepareViewElementData'](_0x49afa4),_0x44d700=this['_mergeFieldPrefix'],_0x4ecc99=this['_mergeFieldSuffix'],_0x47c32c=this['editor']['config']['get']('mergeFields.sanitizeHtml'),_0x3b17ca='text'===_0x419b55?'span':'div';let _0x268c2b;if('$labels'===this['previewMode'])_0x268c2b=_0x1ddda9['createContainerElement'](_0x3b17ca,{'class':_0x4398f6},[_0x1ddda9['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x2e4735){const _0x463fa3=this['toDomElement'](_0x2e4735);return _0x463fa3['innerHTML']=_0x44d700,_0x463fa3;}),_0x1ddda9['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x1ddda9['createText'](String(_0x11a6ac))),_0x1ddda9['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x534219){const _0x295308=this['toDomElement'](_0x534219);return _0x295308['innerHTML']=_0x4ecc99,_0x295308;})]);else{if(_0xe1d5bb){const _0xc50d5f=this['_shouldPreviewHtmlValues']?_0x1ddda9['createRawElement']('span',{'class':'ck-merge-field__content'},function(_0x15e75d,_0x48e537){_0x48e537['setContentOf'](_0x15e75d,_0x47c32c(_0x11a6ac)['html']);}):_0x1ddda9['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x1ddda9['createText'](_0x11a6ac));if(_0x268c2b=_0x1ddda9['createContainerElement'](_0x3b17ca,{'class':_0x4398f6},[_0xc50d5f]),'text'===_0x419b55||['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0xe1d5bb)){const _0x539641=_0x1ddda9['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0x247a1d){const _0x3c0065=this['toDomElement'](_0x247a1d),_0x5c0435=new _0x5902c2();return _0x5c0435['set']({'content':_0x5e0c15}),_0x5c0435['render'](),_0x3c0065['appendChild'](_0x5c0435['element']),_0x3c0065;});_0x1ddda9['insert'](_0x1ddda9['createPositionAt'](_0x268c2b,'end'),_0x539641);}_0x1ddda9['setCustomProperty']('mergeFieldStatus',_0xe1d5bb,_0x268c2b);}else{const _0xc1938f=this['_shouldPreviewHtmlValues']?_0x1ddda9['createRawElement'](_0x3b17ca,{},function(_0x4fe497,_0x51c755){_0x51c755['setContentOf'](_0x4fe497,_0x47c32c(_0x11a6ac)['html']);}):_0x1ddda9['createText'](_0x11a6ac);_0x268c2b=_0x1ddda9['createContainerElement'](_0x3b17ca,{'class':_0x4398f6},_0xc1938f);}}if('block'===_0x419b55){const _0x4d844e=_0x1ddda9['createContainerElement']('div',{'class':'ck-merge-field-block'},[_0x268c2b]);if(('$labels'===this['previewMode']||_0xe1d5bb&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0xe1d5bb))&&_0x1ddda9['setAttribute']('style','height:\x20'+_0x2e1985+'px',_0x4d844e),_0x268c2b['hasClass']('ck-merge-field_with-value'))_0x1ddda9['addClass']('ck-merge-field-block_with-value',_0x4d844e);else{if(_0x268c2b['hasClass']('ck-merge-field_with-warning')){for(const _0x47cc26 of _0x268c2b['getClassNames']())if('ck-merge-field'!==_0x47cc26){const _0x42d94a=_0x47cc26['replace']('ck-merge-field','ck-merge-field-block');_0x1ddda9['addClass'](_0x42d94a,_0x4d844e);}_0x1ddda9['setCustomProperty']('mergeFieldStatus',_0xe1d5bb,_0x4d844e);}}return _0x1ddda9['setCustomProperty']('mergeFieldBlock',!0x0,_0x4d844e),_0x1ddda9['setAttribute']('data-merge-field-name',_0x49afa4['getAttribute']('id'),_0x4d844e),_0x3c4b67(_0x4d844e,_0x1ddda9,{'hasSelectionHandle':!0x0});}return _0x1ddda9['setCustomProperty']('mergeField',!0x0,_0x268c2b),_0x1ddda9['setAttribute']('data-merge-field-name',_0x49afa4['getAttribute']('id'),_0x268c2b),_0x3c4b67(_0x268c2b,_0x1ddda9);}['_prepareViewElementData'](_0x4636e2){const _0x155fd7=_0x4636e2['getAttribute']('id'),_0x204c7b=this['getDefinition'](_0x155fd7);if(!_0x204c7b)return'$labels'===this['previewMode']?{'label':_0x155fd7,'classes':'ck-merge-field'}:{'label':_0x155fd7,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-definition','status':'WARNING_MISSING_DATA'};const _0x44fc8b=this['getLabel'](_0x155fd7)||_0x155fd7,_0x2b39c2=this['getMergeFieldDefaultValue'](_0x155fd7),_0xbe7d7b=this['getMergeFieldHeight'](_0x155fd7);if('$labels'===this['previewMode'])return{'label':_0x44fc8b,'height':_0xbe7d7b,'classes':'ck-merge-field'};if('$defaultValues'===this['previewMode'])return _0x2b39c2?{'label':_0x2b39c2,'height':_0xbe7d7b,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:{'label':_0x44fc8b,'height':_0xbe7d7b,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_no-default','status':'WARNING_MISSING_DEFAULT_VALUE'};const _0x45f308=this['getMergeFieldValue'](_0x204c7b['id'],this['previewMode']);return _0x45f308?{'label':_0x45f308,'height':_0xbe7d7b,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:_0x2b39c2?{'label':_0x2b39c2,'height':_0xbe7d7b,'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':_0x44fc8b,'height':_0xbe7d7b,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-data','status':'WARNING_MISSING_DATA'};}['_createTextualMergeField'](_0x174a36,_0x47b2f7,_0x2d238e){const _0x218641=_0x174a36['getAttribute']('id');let _0xd33a3b;if(_0x2d238e['isClipboardPipeline']&&'$labels'!==this['previewMode'])return this['_downcastForClipboard'](_0x218641,_0x47b2f7);const _0x181331=_0x2d238e['mergeFieldsData'],_0x52bffa=_0x181331&&_0x181331[_0x218641]?_0x181331[_0x218641]:this['wrapInAffixes'](_0x218641);if(_0x181331)_0xd33a3b=_0x47b2f7['createRawElement']('span',{},function(_0x5d0338,_0x5c787f){_0x5c787f['setContentOf'](_0x5d0338,String(_0x52bffa));});else{_0xd33a3b=_0x47b2f7['createContainerElement']('span');const _0x16b3e=_0x47b2f7['createText'](_0x52bffa);_0x47b2f7['insert'](_0x47b2f7['createPositionAt'](_0xd33a3b,'end'),_0x16b3e);}return _0x47b2f7['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xd33a3b),_0xd33a3b;}['_downcastForClipboard'](_0x345c6b,_0x32a879){const _0x98adef='block'===this['getMergeFieldType'](_0x345c6b)?'div':'span';let _0x2485be,_0x4bc01c;_0x2485be='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x345c6b)||this['getLabel'](_0x345c6b)||this['wrapInAffixes'](_0x345c6b):this['getMergeFieldValue'](_0x345c6b,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x345c6b)||this['getLabel'](_0x345c6b)||this['wrapInAffixes'](_0x345c6b);const _0x3d4a4d=this['editor']['config']['get']('mergeFields.sanitizeHtml');return _0x4bc01c=this['_shouldPreviewHtmlValues']?_0x32a879['createRawElement'](_0x98adef,{'data-ck-merge-field':_0x345c6b},function(_0x407eac,_0x421a88){_0x421a88['setContentOf'](_0x407eac,_0x3d4a4d(_0x2485be)['html']);}):_0x32a879['createContainerElement'](_0x98adef,{'data-ck-merge-field':_0x345c6b},_0x32a879['createText'](_0x2485be)),_0x4bc01c;}['_validatePreviewMode'](_0x178bf8){if(!this['availablePreviewModes']['includes'](_0x178bf8))throw new _0x5b5a95('merge-fields-invalid-preview-mode-set',this,{'availablePreviewModes':this['availablePreviewModes'],'previewMode':_0x178bf8});}['_trackAddedMergeFields'](){for(const _0x504aac of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x504aac['type']||'$text'===_0x504aac['name'])continue;if('mergeField'===_0x504aac['name']||'mergeFieldBlock'===_0x504aac['name']){this['_mergeFieldElements']['add'](_0x504aac['position']['nodeAfter']);continue;}if('imageInline'===_0x504aac['name']||'imageBlock'===_0x504aac['name']&&_0x504aac['attributes']['get']('src')&&String(_0x504aac['attributes']['get']('src'))['match'](this['_mergeFieldRegExp'])){this['_mergeFieldElements']['add'](_0x504aac['position']['nodeAfter']);continue;}const _0x2fbbcc=this['editor']['model']['createRangeIn'](_0x504aac['position']['nodeAfter']);for(const _0x2beb19 of _0x2fbbcc['getItems']())_0x2beb19['is']('element')&&this['isMergeField'](_0x2beb19)&&this['_mergeFieldElements']['add'](_0x2beb19);}}['_registerConversionPostFixer'](){const _0x4e73de=this['editor'];_0x4e73de['model']['document']['registerPostFixer'](_0x15dc4b=>{if(!_0x15dc4b['batch']['isLocal'])return!0x1;const _0x44afbf=[],_0x178818=new Set(),_0x48e610=this['_mergeFieldRegExp'];let _0x39243d=!0x1;for(const _0x412caf of _0x4e73de['model']['document']['differ']['getChanges']())if('insert'===_0x412caf['type']||'remove'===_0x412caf['type']){let _0x2e2f9e='$text'==_0x412caf['name']?_0x412caf['position']['parent']:_0x412caf['position']['nodeAfter'];if(!_0x2e2f9e)continue;_0x2e2f9e['is']('$text')&&(_0x2e2f9e=_0x2e2f9e['parent']),_0x186f95(_0x2e2f9e);}for(const _0x5df997 of _0x44afbf['reverse']()){const {match:_0x5e2042,item:_0x5920d9}=_0x5df997,_0x259fca=_0x15dc4b['createPositionAt'](_0x5920d9,_0x5e2042['index']),_0x182e67=_0x259fca['getShiftedBy'](_0x5e2042[0x0]['length']),_0x390c08=_0x15dc4b['createRange'](_0x259fca,_0x182e67),_0x19f18f=_0x5e2042[0x0],_0xb7dd84=this['unwrapAffixes'](_0x19f18f),_0x1d21f2=_0x51a612(_0x390c08),_0x16ec70=this['getMergeFieldType'](_0xb7dd84);if(oA['test'](_0xb7dd84)){if(_0x1d21f2['set']('id',_0xb7dd84),'block'===_0x16ec70){const _0x585582=_0x15dc4b['createElement']('mergeFieldBlock',{'id':_0xb7dd84});_0x15dc4b['remove'](_0x390c08),_0x4e73de['model']['insertObject'](_0x585582,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{if('image'===_0x16ec70){const _0x2dd556=_0x15dc4b['createElement']('imageBlock',{'src':this['wrapInAffixes'](_0xb7dd84)});_0x15dc4b['remove'](_0x390c08),_0x4e73de['model']['insertObject'](_0x2dd556,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{const _0x13de7a=_0x15dc4b['createElement']('mergeField',_0x1d21f2);_0x4e73de['model']['schema']['checkChild'](_0x390c08['start'],'mergeField')?_0x4e73de['model']['insertObject'](_0x13de7a,_0x390c08):_0x15dc4b['remove'](_0x390c08);}}_0x39243d=!0x0;}}return _0x39243d;function _0x186f95(_0x2d5b91){let _0x2a4838='',_0x27aecc=0x0;if(!_0x178818['has'](_0x2d5b91))for(const _0xe470f2 of _0x2d5b91['getChildren']()){const _0x2d20bb=_0xe470f2['nextSibling'];if(_0xe470f2['is']('$text')&&(''===_0x2a4838&&_0xe470f2['startOffset']&&(_0x27aecc=_0xe470f2['startOffset']),_0x2a4838+=_0xe470f2['data']),!_0x2d20bb||_0x2d20bb['is']('element')){for(const _0x2aa89f of _0x2a4838['matchAll'](_0x48e610))_0x2aa89f['index']=_0x2aa89f['index']+_0x27aecc,_0x44afbf['push']({'match':_0x2aa89f,'item':_0x2d5b91});_0x178818['add'](_0x2d5b91),_0x2a4838='';}_0xe470f2['is']('element')&&_0x186f95(_0xe470f2);}}function _0x51a612(_0xe21e5f){const _0x668057=_0xe21e5f['getItems'](),_0x8e1f84=_0x668057['next']()['value'],_0x460c35=new Map(_0x8e1f84['getAttributes']());for(const _0x938e3b of _0x668057)for(const [_0xea6a49,_0x3d22b0]of _0x460c35)_0x938e3b['getAttribute'](_0xea6a49)!==_0x3d22b0&&_0x460c35['delete'](_0xea6a49);return _0x460c35;}});}['_disableCommandOnMergeFields'](_0x283ab9){const _0x43f176=this['editor'],_0x46ac5d=_0x43f176['commands']['get'](_0x283ab9);_0x46ac5d&&_0x46ac5d['on']('set:isEnabled',(_0x2ba659,_0x4edd19,_0x20e285)=>{if(0x1==_0x20e285){const _0x438a9f=_0x43f176['model']['document']['selection']['getSelectedElement']();_0x438a9f&&this['isMergeField'](_0x438a9f)&&(_0x2ba659['return']=!0x1,_0x2ba659['stop']());}});}},cA=class extends _0x344603{['filter'](_0x983d10){return _0x1a6901(_0x983d10,this['items']);}},lA=class extends _0x2df468{constructor(_0x3f3a9a){super(_0x3f3a9a),this['set']('text','');const _0x2271f5=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':_0x2271f5['to']('text')}]}]});}};function hA(_0x19d56b,_0x69ca){const t=_0x19d56b['t'];switch(_0x69ca){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 _0x69ca;}}var uA=class extends _0x36b920{['licenseKey'];['_licenseKeyCheckInterval'];['_balloon'];['_balloonPanelView']=null;static get['requires'](){return[_0x1a2d75,aA,_0xcef29e,_0x245bb0];}static get['pluginName'](){return'MergeFieldsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x59388b){super(_0x59388b),this['_removeDefaultValuesPreviewIfUnnecessary'](),this['_removeMenuBarButtonIfUnnecessary'](),this['_setupMentionConfiguration']();}['init'](){const _0x2f83e9=this['editor'];_0x2f83e9['ui']['componentFactory']['add']('insertMergeField',_0x4631aa=>{const _0x1ffd0d=function(_0x3617c9){const _0x379291=_0x18eee9(_0x3617c9);return _0x379291['set']({'class':'ck-insert-merge-field-dropdown','isEnabled':!0x0}),_0x379291['buttonView']['set']({'label':hA(_0x3617c9,'Insert\x20merge\x20field'),'icon':bt,'tooltip':!0x0}),_0x379291;}(_0x4631aa);return _0x1ffd0d['bind']('isEnabled')['toMany']([_0x2f83e9['commands']['get']('insertMergeField'),_0x2f83e9['commands']['get']('insertMergeFieldBlock'),_0x2f83e9['commands']['get']('insertMergeFieldImage')],'isEnabled',(..._0x37bbc9)=>_0x37bbc9['some'](_0x370a15=>_0x370a15)),_0x1ffd0d['once']('change:isOpen',()=>{const _0x3a8ae0={'insertInline':_0x2f83e9['commands']['get']('insertMergeField'),'insertBlock':_0x2f83e9['commands']['get']('insertMergeFieldBlock'),'insertImage':_0x2f83e9['commands']['get']('insertMergeFieldImage')},_0x400b2=function(_0x23a7ff,_0x334ff0,_0x3cc54e){const _0x5e70fe=new cA(_0x23a7ff),_0x4d73d8=[],_0xd09739=[];for(const _0x42c50e of _0x334ff0)if('groupId'in _0x42c50e){const _0x4ec7d7=dA(_0x23a7ff,_0x42c50e['groupLabel']||_0x42c50e['groupId'],_0x42c50e['definitions'],_0x3cc54e);_0x4ec7d7['delegate']('execute')['to'](_0x5e70fe),_0xd09739['push'](_0x4ec7d7);}else _0x4d73d8['push'](_0x42c50e);if(_0x4d73d8['length']){const _0x28ca43=dA(_0x23a7ff,'Other',_0x4d73d8,_0x3cc54e);_0x28ca43['delegate']('execute')['to'](_0x5e70fe),_0xd09739['push'](_0x28ca43);}return _0x5e70fe['items']['addMany'](_0xd09739),_0x5e70fe;}(_0x4631aa,_0x2f83e9['config']['get']('mergeFields.definitions'),_0x3a8ae0);_0x400b2['delegate']('execute')['to'](_0x1ffd0d),_0x1ffd0d['on']('execute',(_0x49aae7,_0x112014)=>{const _0x3b7b3a=_0x2f83e9['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x112014);'image'===_0x3b7b3a?_0x2f83e9['execute']('insertMergeFieldImage',_0x112014):'block'===_0x3b7b3a?_0x2f83e9['execute']('insertMergeFieldBlock',_0x112014):_0x2f83e9['execute']('insertMergeField',_0x112014),_0x2f83e9['editing']['view']['focus']();});const _0x4daec3=function(_0xb0b07d,_0x5c01ed){return new _0x2c9de8(_0xb0b07d,{'filteredView':_0x5c01ed,'queryView':{'label':hA(_0xb0b07d,'Search\x20merge\x20field')},'class':'ck-merge-fields-search','infoView':{'text':{'notFound':{'primary':hA(_0xb0b07d,'No\x20merge\x20fields\x20found')},'noSearchableItems':{'primary':hA(_0xb0b07d,'No\x20merge\x20fields\x20available')}}}});}(_0x4631aa,_0x400b2);_0x1ffd0d['panelView']['children']['add'](_0x4daec3),_0x1ffd0d['on']('change:isOpen',(_0x17c123,_0xcd5f2c,_0x1ecc29)=>{_0x1ecc29&&_0x4daec3['reset']();});}),_0x1ffd0d;}),_0x2f83e9['ui']['componentFactory']['add']('menuBar:insertMergeField',_0x589bdc=>{const _0x41d1dc=new _0x4108b4(_0x589bdc),_0x33c518={'insertInline':_0x2f83e9['commands']['get']('insertMergeField'),'insertBlock':_0x2f83e9['commands']['get']('insertMergeFieldBlock'),'insertImage':_0x2f83e9['commands']['get']('insertMergeFieldImage')};_0x41d1dc['buttonView']['set']({'label':hA(_0x589bdc,'Merge\x20field'),'icon':bt}),_0x41d1dc['bind']('isEnabled')['toMany']([...Object['values'](_0x33c518)],'isEnabled',(..._0x5318c8)=>_0x5318c8['some'](_0x339381=>_0x339381));const _0x3f0f0e=[],_0x41b9f1=new _0x14375b(_0x589bdc);for(const _0x35cefc of _0x2f83e9['config']['get']('mergeFields.definitions'))if('groupId'in _0x35cefc){const _0x69962f=new _0x2b149f(_0x589bdc,_0x41d1dc),_0x3f5fc6=mA(_0x589bdc,_0x35cefc,_0x33c518);_0x69962f['children']['add'](_0x3f5fc6),_0x3f5fc6['delegate']('execute')['to'](_0x41d1dc),_0x41b9f1['items']['add'](_0x69962f);}else _0x3f0f0e['push'](_0x35cefc);if(_0x3f0f0e['length']){if(0x0===_0x41b9f1['items']['length'])for(const _0x4c2683 of _0x3f0f0e){let _0x3e0fec;_0x3e0fec='block'===_0x4c2683['type']?_0x33c518['insertBlock']:'image'===_0x4c2683['type']?_0x33c518['insertImage']:_0x33c518['insertInline'];const _0x41becc=pA(_0x589bdc,_0x4c2683,_0x41d1dc,_0x3e0fec);_0x41b9f1['items']['add'](_0x41becc);}else{const _0x16d8aa=new _0x2b149f(_0x589bdc,_0x41d1dc),_0x10aee9=mA(_0x589bdc,{'groupId':'Other','definitions':_0x3f0f0e},_0x33c518);_0x16d8aa['children']['add'](_0x10aee9),_0x10aee9['delegate']('execute')['to'](_0x41d1dc),_0x41b9f1['items']['add'](_0x16d8aa);}}return _0x41d1dc['panelView']['children']['add'](_0x41b9f1),_0x41d1dc['on']('execute',(_0xbdaa21,_0x4c8de1)=>{const _0x35c36d=_0x2f83e9['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x4c8de1);'image'===_0x35c36d?_0x2f83e9['execute']('insertMergeFieldImage',_0x4c8de1):'block'===_0x35c36d?_0x2f83e9['execute']('insertMergeFieldBlock',_0x4c8de1):_0x2f83e9['execute']('insertMergeField',_0x4c8de1),_0x2f83e9['editing']['view']['focus']();}),_0x41d1dc;});const _0x226d68=_0x2f83e9['config']['get']('mergeFields.previewModes'),_0x508639=[];if(_0x226d68['includes']('$labels')&&_0x508639['push']({'type':'button','model':new _0x30ba3c({'withText':!0x0,'isToggleable':!0x0,'label':hA(this['editor']['locale'],'Labels'),'commandValue':'$labels'})}),_0x226d68['includes']('$defaultValues')&&_0x508639['push']({'type':'button','model':new _0x30ba3c({'withText':!0x0,'isToggleable':!0x0,'label':hA(this['editor']['locale'],'Default\x20values'),'commandValue':'$defaultValues'})}),_0x226d68['includes']('$dataSets')){const _0x4f335c=_0x2f83e9['config']['get']('mergeFields.dataSets');if(_0x4f335c['length']){for(const _0x3c7208 of _0x4f335c)_0x508639['push']({'type':'button','model':new _0x30ba3c({'withText':!0x0,'isToggleable':!0x0,'label':_0x3c7208['label']||_0x3c7208['id'],'commandValue':_0x3c7208['id']})});}}_0x2f83e9['ui']['componentFactory']['add']('previewMergeFields',_0x4ef5a5=>{const _0x307f8b=_0x2f83e9['commands']['get']('previewMergeFields'),_0x259174=new _0x23ea50();for(const _0x43cb19 of Jr(_0x508639))_0x43cb19['model']['bind']('isOn')['to'](_0x307f8b,'value',_0x3131fa=>_0x3131fa===_0x43cb19['model']['commandValue']),_0x259174['add'](_0x43cb19);const _0x42e139=_0x18eee9(_0x4ef5a5),_0x2852de=hA(_0x4ef5a5,'Merge\x20fields\x20preview');return _0x42e139['bind']('isEnabled')['to'](_0x307f8b),ts(_0x42e139,_0x259174,{'ariaLabel':_0x2852de,'role':'menu'}),_0x42e139['set']({'class':'ck-merge-fields-preview-dropdown'}),_0x42e139['buttonView']['set']({'label':_0x2852de,'ariaLabel':_0x2852de,'ariaLabelledBy':void 0x0,'isOn':!0x1,'icon':Xt,'tooltip':!0x0}),this['listenTo'](_0x42e139,'execute',_0xa2ddc1=>{const {commandValue:_0x3c7ad1}=_0xa2ddc1['source'];_0x2f83e9['execute']('previewMergeFields',_0x3c7ad1),_0x2f83e9['editing']['view']['focus']();}),_0x42e139;}),_0x2f83e9['ui']['componentFactory']['add']('menuBar:previewMergeFields',_0x20f9e4=>{const _0x23eb08=new _0x4108b4(_0x20f9e4),_0xe7720a=_0x2f83e9['commands']['get']('previewMergeFields');_0x23eb08['buttonView']['set']({'label':hA(_0x20f9e4,'Merge\x20fields\x20preview'),'icon':Xt}),_0x23eb08['bind']('isEnabled')['to'](_0xe7720a);const _0x43c2da=new _0x14375b(_0x20f9e4);_0x43c2da['set']({'ariaLabel':hA(_0x20f9e4,'Merge\x20fields\x20preview')});for(const _0x1109a3 of Jr(_0x508639)){const _0x2da8c5=new _0x2b149f(_0x20f9e4,_0x23eb08),_0x487e78=new _0x3dd6ab(_0x20f9e4);_0x1109a3['model']['bind']('isOn')['to'](_0xe7720a,'value',_0xc9f113=>_0xc9f113===_0x1109a3['model']['commandValue']),_0x487e78['isToggleable']=!0x0,_0x487e78['bind'](...Object['keys'](_0x1109a3['model']))['to'](_0x1109a3['model']),_0x487e78['delegate']('execute')['to'](_0x23eb08),_0x487e78['on']('execute',_0x137902=>{const {commandValue:_0x5581b4}=_0x137902['source'];_0x2f83e9['execute']('previewMergeFields',_0x5581b4),_0x2f83e9['editing']['view']['focus']();}),_0x2da8c5['children']['add'](_0x487e78),_0x43c2da['items']['add'](_0x2da8c5);}return _0x23eb08['panelView']['children']['add'](_0x43c2da),_0x23eb08;}),this['_balloon']=_0x2f83e9['plugins']['get'](_0xcef29e),this['listenTo'](_0x2f83e9['ui'],'update',()=>{this['_updateBalloonVisibility']();},{'priority':'low'}),this['listenTo'](_0x2f83e9['ui']['focusTracker'],'change:isFocused',(_0x516105,_0x2401b4,_0x3e557)=>{this['_balloon']['visibleView']&&this['_balloon']['visibleView']===this['_balloonPanelView']&&(_0x3e557?this['_updateBalloonVisibility']():this['_hideBalloon']());},{'priority':'low'}),this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5c1cdc=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2c2571;for(const _0x31e8d2 in _0x5c1cdc){const _0x460d47=_0x31e8d2,_0x5bb368=_0x5c1cdc[_0x460d47];if('mergeFieldsLicenseKeyValid'==_0x5bb368||'mergeFieldsLicenseKeyInvalid'==_0x5bb368||'mergeFieldsLicenseKeyExpired'==_0x5bb368||'mergeFieldsLicenseKeyDomainLimit'==_0x5bb368||'mergeFieldsLicenseKeyNotAllowed'==_0x5bb368||'mergeFieldsLicenseKeyEvaluationLimit'==_0x5bb368||'mergeFieldsLicenseKeyUsageLimit'==_0x5bb368){delete _0x5c1cdc[_0x460d47],_0x2c2571=_0x5bb368,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'mergeFieldsLicenseKeyInvalid'==_0x2c2571&&_0x5c1cdc['_showLicenseError']('invalid'),'mergeFieldsLicenseKeyExpired'==_0x2c2571&&_0x5c1cdc['_showLicenseError']('expired'),'mergeFieldsLicenseKeyDomainLimit'==_0x2c2571&&_0x5c1cdc['_showLicenseError']('domainLimit'),'mergeFieldsLicenseKeyNotAllowed'==_0x2c2571&&_0x5c1cdc['_showLicenseError']('featureNotAllowed','MergeFields'),'mergeFieldsLicenseKeyEvaluationLimit'==_0x2c2571&&_0x5c1cdc['_showLicenseError']('evaluationLimit'),'mergeFieldsLicenseKeyUsageLimit'==_0x2c2571&&_0x5c1cdc['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_updateBalloonVisibility'](){const _0x27f985=this['editor']['editing']['view']['document']['selection']['getSelectedElement'](),_0x543cce=!(!_0x27f985||!_0x27f985['getCustomProperty']('mergeFieldStatus'));if(this['_balloon']['hasView'](this['_balloonPanelView'])&&this['_balloon']['visibleView']===this['_balloonPanelView']){if(_0x543cce){const _0x4ffb9a=_0x27f985['getCustomProperty']('mergeFieldStatus');this['_balloonPanelView']['text']=hA(this['editor']['locale'],_0x4ffb9a),this['_balloon']['updatePosition'](this['_getBalloonPositionData']());}else this['_hideBalloon']();}else{if(_0x543cce){const _0x2a2ee7=_0x27f985['getCustomProperty']('mergeFieldStatus');this['_showBalloon'](hA(this['editor']['locale'],_0x2a2ee7));}}}['_showBalloon'](_0x19afa8){this['_balloonPanelView']||(this['_balloonPanelView']=new lA(this['editor']['locale']),this['_balloonPanelView']['text']=_0x19afa8),this['_balloon']['hasView'](this['_balloonPanelView'])||(this['_balloon']['add']({'stackId':'mergeFieldsStatus','view':this['_balloonPanelView'],'position':this['_getBalloonPositionData']()}),this['_balloon']['showStack']('mergeFieldsStatus'));}['_getBalloonPositionData'](){const _0x47b6d8=this['editor']['editing']['view'];return{'target':()=>{const _0x32cbd5=_0x47b6d8['document']['selection']['getFirstRange'](),_0x2417fb=_0x47b6d8['domConverter']['mapViewToDom'](_0x32cbd5['getContainedElement']());return _0x2417fb?Array['from'](_0x2417fb['getClientRects']())[0x0]:_0x47b6d8['domConverter']['viewRangeToDom'](_0x32cbd5);}};}['_hideBalloon'](){this['_balloon']['remove'](this['_balloonPanelView']);}['_removeDefaultValuesPreviewIfUnnecessary'](){if(Object['values'](this['editor']['plugins']['get']('MergeFieldsEditing')['getDefaultValues']())['some'](_0x4b6b83=>_0x4b6b83))return;const _0x40a2c3=this['editor']['config']['get']('mergeFields.previewModes');_0x40a2c3['indexOf']('$defaultValues')>-0x1&&_0x40a2c3['length']>0x1&&(_0x40a2c3['splice'](_0x40a2c3['indexOf']('$defaultValues'),0x1),this['editor']['config']['set']('mergeFields.previewModes',_0x40a2c3));}['_removeMenuBarButtonIfUnnecessary'](){const _0x2aed45=this['editor']['config'];if(_0x2aed45['get']('mergeFields.previewModes')){const _0x560e88=_0x2aed45['get']('mergeFields.previewModes');0x1===_0x560e88['length']&&(_0x560e88['includes']('$dataSets')?0x1===_0x2aed45['get']('mergeFields.dataSets')['length']&&_0x54f5d3():_0x54f5d3());}function _0x54f5d3(){const _0x85c793=_0x2aed45['get']('menuBar.removeItems');_0x85c793?(_0x85c793['push']('menuBar:previewMergeFields'),_0x2aed45['set']('menuBar.removeItems',_0x85c793)):_0x2aed45['set']('menuBar.removeItems',['menuBar:previewMergeFields']);}}['_setupMentionConfiguration'](){const _0x1b7393=this['editor'],_0x3bd1e3=_0x1b7393['config']['get']('mention.feeds'),_0x4d3002=_0x1b7393['config']['get']('mergeFields.prefix');_0x3bd1e3['push']({'marker':_0x4d3002,'dropdownLimit':0xa,'feed':_0xf4f299=>_0x1b7393['plugins']['get']('MergeFieldsEditing')['flattenedMergeFieldDefinitions']['filter'](_0x3b5f5b=>{const _0x1fcea5=_0x1b7393['commands']['get']('insertMergeField')['isEnabled'],_0x2065ec=_0x1b7393['commands']['get']('insertMergeFieldBlock')['isEnabled'],_0x181653=_0x1b7393['commands']['get']('insertMergeFieldImage')['isEnabled'],_0x4f575e=_0x1b7393['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x3b5f5b['id']);return!('text'===_0x4f575e&&!_0x1fcea5)&&(!('block'===_0x4f575e&&!_0x2065ec)&&(!('image'===_0x4f575e&&!_0x181653)&&(_0x1b7393['plugins']['get']('MergeFieldsEditing')['getLabel'](_0x3b5f5b['id'])||_0x3b5f5b['id'])['toLowerCase']()['includes'](_0xf4f299['toLowerCase']())));}),'itemRenderer':_0x57acd1=>{const _0x40ba20=document['createElement']('button');return _0x40ba20['innerHTML']=''+(_0x57acd1['label']||_0x57acd1['id']),_0x40ba20;}}),_0x1b7393['config']['set']('mention.feeds',_0x3bd1e3);}['_overrideMentionExecuteListener'](){const _0x463aa5=this['editor'];_0x463aa5['commands']['get']('mention')['on']('execute',(_0x1bf4aa,_0x48d06c)=>{const _0x3e957b=_0x48d06c[0x0];_0x3e957b['marker']===_0x463aa5['config']['get']('mergeFields.prefix')&&_0x463aa5['model']['change'](_0x1a13e4=>{_0x1a13e4['remove'](_0x3e957b['range']);const _0x4ab22d=_0x3e957b['mention']['id'],_0x55fd6e=_0x463aa5['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x4ab22d);'text'===_0x55fd6e?_0x463aa5['execute']('insertMergeField',_0x4ab22d):'block'===_0x55fd6e?_0x463aa5['execute']('insertMergeFieldBlock',_0x4ab22d,!0x1):_0x463aa5['execute']('insertMergeFieldImage',_0x4ab22d,{'breakBlock':!0x0}),_0x1bf4aa['stop']();});},{'priority':'high'});}};function dA(_0x5af86d,_0x1c272e,_0x4ba85b,_0x1ae4c5){const _0x4607e3=new _0x486de0(_0x5af86d,new _0x2d7665());_0x4607e3['label']=_0x1c272e;for(const _0x160f2f of _0x4ba85b){let _0x25300f;_0x25300f='block'===_0x160f2f['type']?_0x1ae4c5['insertBlock']:'image'===_0x160f2f['type']?_0x1ae4c5['insertImage']:_0x1ae4c5['insertInline'];const _0x286949=fA(_0x5af86d,_0x160f2f,_0x25300f);_0x286949['delegate']('execute')['to'](_0x4607e3),_0x4607e3['items']['add'](_0x286949);}return _0x4607e3;}function fA(_0x122e33,_0x50e056,_0x1bd7d8){const _0x11cf84=new _0x1853ec(_0x122e33),_0x3acfa1=new _0x47ddb0(_0x122e33,new _0x5065b9());return _0x11cf84['children']['add'](_0x3acfa1),_0x3acfa1['set']({'label':_0x50e056['label']||_0x50e056['id'],'withText':!0x0}),_0x3acfa1['bind']('isEnabled')['to'](_0x1bd7d8),_0x3acfa1['on']('execute',()=>{_0x11cf84['fire']('execute',_0x50e056['id']);}),_0x11cf84;}function mA(_0x142242,_0x2b2c77,_0x4fdf5c){const _0x18a9de=new _0x4108b4(_0x142242),_0x1c0514=new _0x14375b(_0x142242);for(const _0x582671 of _0x2b2c77['definitions']){let _0x22a159;_0x22a159='block'===_0x582671['type']?_0x4fdf5c['insertBlock']:'image'===_0x582671['type']?_0x4fdf5c['insertImage']:_0x4fdf5c['insertInline'];const _0x3fcea9=pA(_0x142242,_0x582671,_0x18a9de,_0x22a159);_0x1c0514['items']['add'](_0x3fcea9);}return _0x18a9de['set']({'class':'ck-menu-bar__merge-fields-submenu'}),_0x18a9de['buttonView']['set']({'label':_0x2b2c77['groupLabel']||_0x2b2c77['groupId']}),_0x18a9de['panelView']['children']['add'](_0x1c0514),_0x18a9de;}function pA(_0x5929e8,_0x5aa34f,_0xea2842,_0x193d47){const _0x1604ca=new _0x2b149f(_0x5929e8,_0xea2842),_0x39c5c0=new _0x3dd6ab(_0x5929e8);return _0x39c5c0['set']({'label':_0x5aa34f['label']||_0x5aa34f['id']}),_0x1604ca['delegate']('execute')['to'](_0xea2842),_0x1604ca['children']['add'](_0x39c5c0),_0x39c5c0['bind']('isEnabled')['to'](_0x193d47),_0x39c5c0['on']('execute',()=>{_0x1604ca['fire']('execute',_0x5aa34f['id']);}),_0x1604ca;}var gA=class extends _0x36b920{static get['requires'](){return[aA,uA];}static get['pluginName'](){return'MergeFields';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}},OA=class extends _0x36b920{['_recalculatePageBreaksDebounced']=Or(()=>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 _0x43c457('pagination-config-not-found',this['editor']['config']);const _0x21c1f9=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x21c1f9),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x564dda,_0x866ea8,_0x3eb228)=>{_0x3eb228&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0xff0f84){const _0x20a954='I9sCmg3DJiG5LFMuQjwhT0XBYyxSqvdPO46NZAcVzb71RWkfe8oKptnrUEal2H',_0x3c609b=0x78fc0,_0x17a71f=window['Date']['now'](),_0x54407e=_0xff0f84['editor'],_0x8cd0ef=new window['Promise'](_0x423930=>{_0x54407e['once']('ready',_0x423930);}),_0x1ab0e2={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x229bf9=_0x54407e['config']['get']('licenseKey');async function _0x5b8e59(){let _0x40a1ae,_0x49bec6=null,_0x42cf17=null;try{return'GPL'==_0x229bf9?'NotAllowed':(_0x40a1ae=_0x32c5c3(),_0x40a1ae?(_0x40a1ae['usageEndpoint']&&(_0x42cf17=_0x3af169(_0x40a1ae['usageEndpoint'],_0x40a1ae['jti'])),await _0x3926c3()?_0x175b19()?_0x3f626f()?'Expired':_0x38a839()?('evaluation'==_0x40a1ae['licenseType']&&(_0x49bec6=_0x3db59b('EvaluationLimit')),await _0x548d5b()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x3f626f(){const _0x25f427=['evaluation','trial']['includes'](_0x40a1ae['licenseType'])?_0x17a71f/0x3e8:0xe10*_0x3c609b;return _0x40a1ae['exp']<_0x25f427;}function _0x175b19(){const _0x32d0ea=_0x40a1ae['features'];return!!_0x32d0ea&&(!!_0x32d0ea['includes']('*')||!!_0x32d0ea['includes']('PAG'));}function _0x38a839(){const _0x57a628=_0x40a1ae['licensedHosts'];if(!_0x57a628||0x0==_0x57a628['length'])return!0x0;const {hostname:_0x2bf0a6}=new URL(window['location']['href']);if(_0x57a628['includes'](_0x2bf0a6))return!0x0;const _0x42a266=_0x2bf0a6['split']('.');return _0x57a628['filter'](_0x21a2d1=>_0x21a2d1['includes']('*'))['map'](_0x16eb2e=>_0x16eb2e['split']('.'))['filter'](_0x29144c=>_0x29144c['length']<=_0x42a266['length'])['map'](_0x42ab2e=>Array(_0x42a266['length']-_0x42ab2e['length'])['fill']('*'===_0x42ab2e[0x0]?'*':'')['concat'](_0x42ab2e))['some'](_0x44574d=>_0x42a266['every']((_0x1e8777,_0x40bc2e)=>_0x44574d[_0x40bc2e]===_0x1e8777||'*'===_0x44574d[_0x40bc2e]));}function _0x548d5b(){return _0x49bec6&&_0x42cf17?new window['Promise']((_0x24f889,_0xe0d2cb)=>{_0x49bec6['then'](_0x24f889,_0xe0d2cb),_0x42cf17['then'](_0x2ce0fc=>{'Valid'!=_0x2ce0fc&&_0x24f889(_0x2ce0fc);},_0xe0d2cb);}):_0x49bec6||_0x42cf17||'Valid';}}function _0x3af169(_0x4eea26,_0x52adfa){return new window['Promise'](_0x2e45ed=>{if(_0x5b9661())return _0x2e45ed('Valid');_0x3e2383(),_0x54407e['decorate']('_sendUsageRequest');let _0x9781d7=!0x1;const _0x51f727=_0x10825a();function _0x3dce33(_0xffa91f){return!!_0xffa91f&&('object'==typeof _0xffa91f||'function'==typeof _0xffa91f)&&'function'==typeof _0xffa91f['then']&&'function'==typeof _0xffa91f['catch'];}function _0x1266cc(_0x238164){_0x197503(_0x238164)['then'](_0x41ffc0=>_0x41ffc0&&'ok'==_0x41ffc0['status']?_0x1b32c3(_0x56bc44(_0x51f727+_0x52adfa))!=_0x41ffc0['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x330ad3=>(_0x4e086c(),_0x330ad3),()=>{const _0x4fa77c=_0x1cdf43();return null==_0x4fa77c?(_0x4e086c(),'Valid'):_0x17a71f-_0x4fa77c>0x240c8400?'UsageLimit':'Valid';})['then'](_0x2e45ed)['catch'](()=>{_0x2e45ed('UsageLimit');});const _0x540a70=0x36ee80;function _0x4e086c(){const _0x3a3791='llct-'+_0x1b32c3(_0x56bc44(_0x4eea26)),_0x3d4373=_0x2a5dc6(_0x1b32c3(window['Math']['ceil'](_0x17a71f/_0x540a70)));window['localStorage']['setItem'](_0x3a3791,_0x3d4373);}function _0x1cdf43(){const _0xa43f='llct-'+_0x1b32c3(_0x56bc44(_0x4eea26)),_0x17636e=window['localStorage']['getItem'](_0xa43f);return _0x17636e?window['parseInt'](_0x2a5dc6(_0x17636e),0x10)*_0x540a70:null;}function _0x197503(_0x17f6ed){return new window['Promise']((_0x2a3971,_0x7081d1)=>{_0x17f6ed['then'](_0x2a3971,_0x7081d1),window['setTimeout'](_0x7081d1,0x1d4c0);});}}_0x54407e['on']('_sendUsageRequest',(_0x4e2c32,_0x2ed295)=>{if(_0x2ed295[0x0]!=_0x4eea26)return _0x2e45ed('UsageLimit');_0x2ed295[0x1]={..._0x2ed295[0x1],'requestId':_0x51f727};},{'priority':'high'}),_0x54407e['on']('_sendUsageRequest',_0x31924f=>{_0x3dce33(_0x31924f['return'])&&(_0x9781d7=!0x0,_0x1266cc(_0x31924f['return']));},{'priority':'low'}),_0x8cd0ef['then'](()=>{_0x9781d7||_0x2e45ed('UsageLimit');});});function _0x5b9661(){return'auto'==_0x54407e['editing']['view']['_overlayModeHint'];}function _0x3e2383(){_0x54407e['editing']['view']['_overlayModeHint']='auto';}}function _0x3db59b(_0x1db680){const _0x47903b=[new window['Promise'](_0x1bc50d=>setTimeout(_0x1bc50d,0x93ecc)),_0x8cd0ef['then'](()=>new window['Promise'](_0x4f38c0=>{let _0x771d9e=0x0;_0x54407e['model']['on']('applyOperation',(_0x186f77,_0x573024)=>{_0x573024[0x0]['isDocumentOperation']&&_0x771d9e++,0x5e8==_0x771d9e&&(_0x4f38c0(),_0x186f77['off']());});}))];return window['Promise']['race'](_0x47903b)['then'](()=>_0x1db680);}async function _0xb12746(){await _0x8cd0ef,_0x54407e['model']['change']=_0x4de663,_0x54407e['model']['enqueueChange']=_0x4de663,_0x54407e['enableReadOnlyMode']('model');}function _0x1bb5bc(_0x5886fa){const _0xc38732=_0x187636();_0x54407e[_0xc38732]='paginationLicenseKey'+_0x5886fa,'Valid'!=_0x5886fa&&_0xb12746();}function _0x187636(){const _0x21997c=window['String'](window['performance']['now']())['replace']('.','');let _0x38d656='I';for(let _0x1864fd=0x0;_0x1864fd<_0x21997c['length'];_0x1864fd+=0x2){let _0x24f484=window['parseInt'](_0x21997c['substring'](_0x1864fd,_0x1864fd+0x2));_0x24f484>=0x3e&&(_0x24f484-=0x3e),_0x38d656+=_0x20a954[_0x24f484];}return _0x38d656;}function _0x32c5c3(){const _0x479075=_0x229bf9['split']('.');if(0x3!=_0x479075['length'])return null;return _0x30bb28(_0x479075[0x1]);function _0x30bb28(_0x16c142){const _0x53543f=_0x4b2e45(_0x16c142);return _0x53543f&&_0x2e8e33()?_0x53543f:null;function _0x2e8e33(){const _0x3cc76b=_0x53543f['jti'],_0x3754e4=window['parseInt'](_0x3cc76b['substring'](_0x3cc76b['length']-0x8),0x10),_0x3ee71b={..._0x53543f,'jti':_0x3cc76b['substring'](0x0,_0x3cc76b['length']-0x8)};return delete _0x3ee71b['vc'],_0x56bc44(_0x3ee71b)==_0x3754e4;}}}async function _0x3926c3(){let _0x5f33ce=!0x0;try{const [_0x304b80,_0x4d24d9,_0x38d26f]=_0x229bf9['split']('.');return _0x59d486(_0x304b80),await _0x16f54f(_0x304b80,_0x4d24d9,_0x38d26f),_0x5f33ce;}catch{return!0x1;}function _0x59d486(_0x55c158){const _0x44fb95=_0x4b2e45(_0x55c158);_0x44fb95&&'ES256'==_0x44fb95['alg']||(_0x5f33ce=!0x1);}async function _0x16f54f(_0x5b8d97,_0x292295,_0x305b37){const _0x3c64fe=window['Uint8Array']['from'](_0x199d05(_0x305b37),_0x526bbd=>_0x526bbd['charCodeAt'](0x0)),_0x77b1f9=new window['TextEncoder']()['encode'](_0x5b8d97+'.'+_0x292295),_0x580ab7=window['crypto']['subtle'];if(!_0x580ab7)return;const _0x427536=await _0x580ab7['importKey']('jwk',_0x1ab0e2,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x580ab7['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x427536,_0x3c64fe,_0x77b1f9)||(_0x5f33ce=!0x1);}}function _0x4b2e45(_0x691f8e){return _0x691f8e['startsWith']('ey')?JSON['parse'](_0x199d05(_0x691f8e)):null;}function _0x199d05(_0x4c71dc){return window['atob'](_0x4c71dc['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x56bc44(_0x3efc5f){let _0xea6fce=0x1505;function _0x22aa70(_0x2aee61){for(let _0xd006bc=0x0;_0xd006bc<_0x2aee61['length'];_0xd006bc++){const _0x3af85d=_0x2aee61['charCodeAt'](_0xd006bc);_0xea6fce=(_0xea6fce<<0x5)+_0xea6fce+_0x3af85d,_0xea6fce&=_0xea6fce;}}function _0x1b1bc2(_0x1c42fa){Array['isArray'](_0x1c42fa)?_0x1c42fa['forEach'](_0x1b1bc2):_0x1c42fa&&'object'==typeof _0x1c42fa?Object['entries'](_0x1c42fa)['sort']()['forEach'](([_0x289463,_0x54aa23])=>{_0x22aa70(_0x289463),_0x1b1bc2(_0x54aa23);}):_0x22aa70(window['String'](_0x1c42fa));}return _0x1b1bc2(_0x3efc5f),_0xea6fce>>>0x0;}function _0x1b32c3(_0x5c09ef){return _0x5c09ef['toString'](0x10)['padStart'](0x8,'0');}function _0x2a5dc6(_0x17522b){return _0x17522b['split']('')['reverse']()['join']('');}function _0x4de663(){}_0x1bb5bc(await _0x5b8e59());}(this);}['destroy'](){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x3c6f60=this['editor'],_0x2d705d=_0x3c6f60['editing']['view'],_0x59049a=this['_getAttachedDomRoot']();if(!_0x59049a||!_0x59049a['hasChildNodes']())return void _0x3c6f60['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x47b49b,pageHeight:_0x316ce5}=_0x3c6f60['config']['get']('pagination'),{top:_0xb88c8e,left:_0x352670,bottom:_0x1afff8,right:_0xaddd02}=this['_configuredPaddings'];this['_pagesContainer']=new _0x2df468(_0x3c6f60['locale']);const _0x160ffd=this['_pagesContainer'];_0x160ffd['set']('class',''),_0x160ffd['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x47b49b,'width':_0x47b49b,'height':'calc(\x20'+_0x316ce5+'\x20-\x20'+_0xb88c8e+'\x20-\x20'+_0x1afff8+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0xaddd02+'\x200\x20'+_0x352670,'columnGap':'calc('+_0x352670+'\x20+\x20'+_0xaddd02+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x160ffd['bindTemplate']['to']('class')}}),_0x160ffd['render'](),_0x59049a['parentNode']['insertBefore'](_0x160ffd['element'],_0x59049a['nextSibling']),this['listenTo'](_0x2d705d,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x2d5e46 of this['editor']['editing']['view']['domRoots']['values']())if(_0x2d5e46['ownerDocument']['body']['contains'](_0x2d5e46))return _0x2d5e46;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0xf4f985=this['editor']['editing']['view'],_0x25ce33=this['_pagesContainer'],_0x147d02=this['_getAttachedDomRoot']();if(!_0x147d02||!_0x25ce33)return Promise['resolve']();for(_0x25ce33['class']=['ck-reset','ck-pagination-view',..._0x147d02['classList']]['join']('\x20');_0x25ce33['element']['firstChild'];)_0x25ce33['element']['firstChild']['remove']();const _0x1dc05c=Array['from'](_0xf4f985['domRoots']);_0x1dc05c['sort'](([,_0x19de4b],[,_0x26450a])=>_0x19de4b['compareDocumentPosition'](_0x26450a)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x39e0c6,_0x2e1007]of _0x1dc05c){const _0x22dbdd=_0x2e1007['cloneNode'](!0x0);'attributeStyleMap'in _0x22dbdd&&_0x22dbdd['attributeStyleMap']['clear'](),_0x22dbdd['dataset']['rootName']=_0x39e0c6,_0x22dbdd['className']='ck-content\x20ck-pagination_enabled',_0x22dbdd['removeAttribute']('id'),_0x22dbdd['tabIndex']=-0x1,_0x25ce33['element']['append'](_0x22dbdd);}const _0x460348=Array['from'](_0x25ce33['element']['querySelectorAll']('img'));return function(_0x1fc7c5){return Promise['all'](_0x1fc7c5['map'](_0x33bbce=>Promise['race']([vA(_0x33bbce),_A(0x3e8)])));}(_0x460348)['then'](()=>{for(const _0x59a0ce of _0x460348['filter'](_0x36ed43=>!_0x36ed43['closest']('table')))if(_0x59a0ce['offsetParent']){const _0x260e2e=_0x22955f['window']['getComputedStyle'](_0x59a0ce),_0x3339fc=_0x22955f['document']['createElement']('span');for(const _0x1ccfc6 of _0x260e2e)_0x3339fc['style']['setProperty'](_0x1ccfc6,_0x260e2e[_0x1ccfc6]);_0x3339fc['style']['backgroundImage']='url(\x20'+_0x59a0ce['src']+'\x20)',_0x3339fc['style']['breakInside']='avoid','PICTURE'==_0x59a0ce['parentElement']?.['tagName']?_0x59a0ce['parentElement']['replaceWith'](_0x3339fc):_0x59a0ce['replaceWith'](_0x3339fc);}return new Promise(_0x2eda90=>_0x22955f['window']['requestAnimationFrame'](()=>_0x2eda90()));})['then'](()=>{this['_updatePageBreaksData']();});}['_updatePageBreaksData'](){const _0x805e2a=this['_pagesContainer']['element'];if(!_0x805e2a['ownerDocument']['body']['contains'](_0x805e2a))return;const _0x21e79d=new _0x21a646(_0x805e2a)['excludeScrollbarsAndBorders'](),_0x197507=Math['floor'](_0x21e79d['width']+0x64),_0x5ea2af=SA(_0x805e2a,Math['floor'](_0x21e79d['left']-_0x805e2a['scrollLeft']),_0x197507,_0x21e79d['height'])['map'](_0x351e07=>this['_mapPageStarterInfoToPageBreakInfo'](_0x351e07))['filter'](_0x2bf6bf=>!0x1!==_0x2bf6bf);_0x5ea2af['every'](_0x624ed9=>!!_0x624ed9)&&(this['pageBreaks']=_0x5ea2af);}['_mapPageStarterInfoToPageBreakInfo'](_0x5a8a93){const _0x176d7b=this['editor']['editing']['view'],_0x757334=this['editor']['editing']['mapper'],_0x4d43b9=_0x176d7b['domConverter'],_0x2303d8=_0x5a8a93['path']['shift'](),_0x58d746=this['_pagesContainer']['element']['childNodes'][_0x2303d8]['dataset']['rootName'],_0x3fc406=_0x176d7b['getDomRoot'](_0x58d746);if(!_0x3fc406)return null;const _0x250ed6=function(_0x1e6674,_0x6d808d){let _0x592c08=_0x1e6674;for(const _0x58d964 of _0x6d808d['path']){if(!_0x592c08)return null;_0x592c08=_0x592c08['childNodes'][_0x58d964];}return _0x592c08;}(_0x3fc406,_0x5a8a93);if(!_0x250ed6)return null;const _0x44cefd=_0x4d43b9['domPositionToView'](_0x250ed6,_0x5a8a93['textOffset']||0x0);return _0x44cefd?'manual'==_0x5a8a93['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x44cefd,_0x250ed6):'text'==_0x5a8a93['type']&&_0x757334['toModelPosition'](_0x44cefd)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x44cefd,_0x250ed6,_0x5a8a93['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x44cefd,_0x250ed6,_0x5a8a93['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x2334df,_0x3b1b88){const _0x23229f=this['editor']['model'],_0x438c99=this['editor']['editing']['mapper']['toModelElement'](_0x2334df['parent']);return new wA({'type':'manual','modelRange':_0x23229f['createRangeOn'](_0x438c99),'domNode':_0x3b1b88,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x3741f0,_0x1944e3,_0x497433){const _0x40ff96=this['editor']['model'],_0x260752=this['editor']['editing']['mapper'],_0x5daab0=this['editor']['editing']['view']['domConverter'];if(_0x497433>=_0x1944e3['length'])return null;const _0x32531b=_0x260752['toModelPosition'](_0x3741f0),_0x3bbe83=_0x40ff96['createRange'](_0x32531b),_0xcda589=_0x260752['findMappedViewAncestor'](_0x3741f0);return new wA({'type':'text','modelRange':_0x3bbe83,'domNode':_0x1944e3,'offset':bA(_0x1944e3,_0x497433,_0x5daab0['mapViewToDom'](_0xcda589))});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x6f52ef,_0x5c17c8,_0x3bf558){const _0x4e83ee=this['editor']['model'],_0x591dff=this['editor']['editing'],_0x4c01a9=_0x591dff['mapper'],_0x2aada3=_0x591dff['view']['domConverter'],_0xce8ed9=_0x4c01a9['findMappedViewAncestor'](_0x6f52ef),_0x533442=_0x4c01a9['toModelElement'](_0xce8ed9);if(!_0x533442||_0x533442['is']('rootElement'))return!0x1;const _0x211a35=function(_0x40e52f){const _0x3d4165=_0x40e52f['parent'],_0x1dd4b8=_0x3d4165['root']['document']['model'],_0x411bff=_0x3d4165['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x3dc412=null;for(const _0x383f4f of _0x411bff){if(_0x383f4f['is']('rootElement'))return _0x3dc412;if(!_0x1dd4b8['createPositionBefore'](_0x383f4f)['isTouching'](_0x40e52f))return _0x3dc412;_0x3dc412=_0x383f4f;}}(_0x4e83ee['createPositionBefore'](_0x533442))||_0x533442;let _0x20f953=_0x4c01a9['toViewElement'](_0x211a35),_0x127dc4=_0x4e83ee['createRangeOn'](_0x211a35);const _0x139730=_0x4e83ee['createPositionBefore'](_0x211a35)['nodeBefore'];if(_0x139730&&_0x139730['is']('element','imageBlock')){const _0x32d916=_0x4c01a9['toViewElement'](_0x139730),_0x4b2ac9=_0x2aada3['mapViewToDom'](_0x32d916),_0x222a07=_0x22955f['window']['getComputedStyle'](_0x4b2ac9)['float'];'left'!=_0x222a07&&'right'!=_0x222a07||(_0x127dc4=_0x4e83ee['createRangeOn'](_0x139730));}for(;_0x20f953['parent']!==_0x20f953['root']&&0x0===_0x20f953['index'];)_0x20f953=_0x20f953['parent'];const _0xffb787=new _0x21a646(RA(_0x5c17c8)?_0x5c17c8:EA(_0x5c17c8)),_0x4c0988=_0x3bf558?_0xffb787['height']-_0x3bf558:0x0,_0x334171=_0x2aada3['mapViewToDom'](_0x20f953),_0xc86d17=new _0x21a646(_0x334171);return new wA({'type':'element','modelRange':_0x127dc4,'domNode':_0x334171,'offset':Math['round'](_0x4c0988)||_0xce8ed9!=yA(_0x6f52ef)?_0x4c0988+_0xffb787['top']-_0xc86d17['top']:0x0});}get['_configuredPaddings'](){const _0x3d73df=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x3d73df);}static['_findPageStarterInfos'](_0x1507aa,_0x1c4d7a,_0x48c9e3,_0x2afb3b,_0xb97345){return SA(_0x1507aa,_0x1c4d7a,_0x48c9e3,_0x2afb3b,_0xb97345);}},wA=class{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x189241,modelRange:_0x30ed5e,domNode:_0x5894cf,offset:_0x648a5}){this['type']=_0x189241,this['modelRange']=_0x30ed5e,this['_domNode']=_0x5894cf,this['_offset']=_0x648a5;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0xec7dbe=new _0x21a646(RA(this['_domNode'])?this['_domNode']:EA(this['_domNode']));return'manual'==this['type']?_0xec7dbe['top']+_0xec7dbe['height']/0x2:_0xec7dbe['top']+this['_offset'];}};function bA(_0x440467,_0x38c6bd,_0x168dd6){const _0x368834=EA(_0x440467),_0xdce3c9=function(_0x26de6c){const _0x5dc11f=_0x22955f['document']['createRange']();return _0x5dc11f['selectNodeContents'](_0x26de6c),_0x5dc11f;}(_0x168dd6);let _0x4c545a;_0x4c545a=0x0==_0x38c6bd?AA(_0xdce3c9['startContainer'],_0xdce3c9['startOffset'],_0x440467['parentNode'],Array['from'](_0x440467['parentNode']['childNodes'])['indexOf'](_0x440467)):AA(_0xdce3c9['startContainer'],_0xdce3c9['startOffset'],_0x440467,_0x38c6bd);const _0x2207a4=AA(_0x440467,_0x38c6bd,_0xdce3c9['endContainer'],_0xdce3c9['endOffset']),_0x565974=new _0x21a646(_0x4c545a)['bottom'];return(new _0x21a646(_0x2207a4)['top']+_0x565974)/0x2-new _0x21a646(_0x368834)['top'];}function yA(_0x4705a2){let _0x3c4100=_0x4705a2['parent'];for(;_0x3c4100['is']('$text')||_0x3c4100['is']('attributeElement');)_0x3c4100=_0x3c4100['parent'];return _0x3c4100;}function vA(_0x5ed852){return _0x5ed852['hasAttribute']('width')&&_0x5ed852['hasAttribute']('height')?Promise['resolve']():new Promise(_0x58c692=>{function _0x39c843(){_0x5ed852['removeEventListener']('load',_0x39c843),_0x5ed852['removeEventListener']('error',_0x39c843),_0x58c692();}_0x5ed852['complete']?_0x58c692():(_0x5ed852['addEventListener']('load',_0x39c843),_0x5ed852['addEventListener']('error',_0x39c843));});}function _A(_0x1e60ea){return new Promise(_0x3c3941=>setTimeout(_0x3c3941,_0x1e60ea));}function EA(_0x247afe){const _0x174334=_0x22955f['document']['createRange']();return _0x174334['selectNode'](_0x247afe),_0x174334;}function TA(_0x2df54e,_0x453147,_0x5e37cb){const _0x21baa9=_0x22955f['document']['createRange']();return _0x21baa9['setStart'](_0x2df54e,_0x453147),_0x21baa9['setEnd'](_0x2df54e,_0x5e37cb),_0x21baa9;}function AA(_0x51d85f,_0x20866b,_0x2a720d,_0xecc81d){const _0x1efc8d=_0x22955f['document']['createRange']();return _0x1efc8d['setStart'](_0x51d85f,_0x20866b),_0x1efc8d['setEnd'](_0x2a720d,_0xecc81d),_0x1efc8d;}function SA(_0x3959b6,_0x32242f,_0x81d321,_0x54a740,_0x590115){const _0x373f7d=[];for(const [_0x2c8fb4,_0xc240ee]of _0x3959b6['childNodes']['entries']()){let _0x24f3e5=[];RA(_0xc240ee)&&_0xc240ee['offsetParent']&&['static','relative']['includes'](_0x22955f['window']['getComputedStyle'](_0xc240ee)['position'])?_0x24f3e5=IA(_0xc240ee,_0x2c8fb4,_0x32242f,_0x81d321,_0x54a740,_0x590115):PA(_0xc240ee)&&(_0x24f3e5=kA(_0xc240ee,_0x2c8fb4,_0x32242f,_0x81d321,_0x590115)),_0x24f3e5['length']&&(_0x373f7d['push'](..._0x24f3e5),_0x32242f+=_0x24f3e5['length']*_0x81d321,_0x590115=!0x1);}return _0x373f7d;}function IA(_0x69aec,_0x1654dc,_0x4a10e8,_0x380be1,_0x418882,_0x11f6b0){const _0x49ac96=[];var _0x31f6ce;if((_0x31f6ce=_0x69aec['previousSibling'])&&RA(_0x31f6ce)&&Boolean(_0x31f6ce['classList']['contains']('page-break')||_0x31f6ce['closest']('.page-break'))&&(_0x49ac96['push']({'type':'manual','offset':0x0,'path':[_0x1654dc-0x1]}),_0x11f6b0=!0x0),'table-row'==_0x22955f['window']['getComputedStyle'](_0x69aec)['display']){let _0x8a99bb=0x0,_0x2b17b5=!0x1;for(const _0x124b3a of _0x69aec['getClientRects']())_0x8a99bb+=_0x124b3a['height'],_0x124b3a['left']>=_0x4a10e8&&(_0x2b17b5=!0x0);if(_0x8a99bb<_0x418882&&_0x2b17b5)return _0x11f6b0||_0x49ac96['push']({'type':'element','offset':0x0,'path':[_0x1654dc]}),_0x49ac96;}const _0x46bf1a=_0x69aec['closest']('figure.image');if(_0x46bf1a&&function(_0x570ccb){let _0x3499b9=!0x1;const _0x1292b5=_0x570ccb['parentElement']['dataset']['rootName'],_0x1edefc=_0x570ccb['nextElementSibling'],_0x50b923=_0x570ccb['previousElementSibling'],_0x13a15e=_0x1edefc&&_0x22955f['window']['getComputedStyle'](_0x1edefc)['float'],_0x1e1437=_0x1edefc&&'ck-fake-selection-container'===_0x1edefc['className'];return!_0x1292b5||_0x1edefc||_0x50b923||(_0x3499b9=!0x0),_0x1292b5&&!_0x50b923&&_0x1e1437&&(_0x3499b9=!0x0),_0x1292b5&&!_0x50b923&&'none'!==_0x13a15e&&(_0x3499b9=!0x0),!_0x3499b9;}(_0x46bf1a)){const _0x4f3e59=_0x22955f['window']['getComputedStyle'](_0x46bf1a)['float'];if('left'==_0x4f3e59||'right'==_0x4f3e59)return _0x49ac96;}const _0xab91ce=SA(_0x69aec,_0x4a10e8,_0x380be1,_0x418882,_0x11f6b0);if(_0xab91ce['length']){for(const _0x430c1c of _0xab91ce)_0x49ac96['push']({'type':_0x430c1c['type'],'offset':_0x430c1c['offset'],'textOffset':_0x430c1c['textOffset'],'path':[_0x1654dc,..._0x430c1c['path']]}),_0x4a10e8+=_0x380be1,_0x11f6b0=!0x1;return _0x49ac96;}return _0x49ac96['push'](...function(_0x486a42,_0x52d6ae,_0x4087d6,_0x3c5a67,_0x3719bb){const _0x3ee66b=[];if('table-cell'==_0x22955f['window']['getComputedStyle'](_0x486a42)['display'])return[];const _0x3195ef=[];for(const _0x331427 of _0x486a42['getClientRects']())if(_0x331427['left']>=_0x4087d6){for(const _0x1f4862 of _0x3195ef)_0x1f4862['height']+=_0x331427['height'];_0x3195ef['push']({'height':_0x331427['height']}),_0x4087d6+=_0x3c5a67;}for(const _0x80402e of _0x3195ef)_0x3719bb||_0x3ee66b['push']({'type':'element','offset':_0x80402e['height'],'textOffset':0x0,'path':[_0x52d6ae]}),_0x3719bb=!0x1;return _0x3ee66b;}(_0x69aec,_0x1654dc,_0x4a10e8,_0x380be1,_0x11f6b0)),_0x49ac96;}function kA(_0x12d687,_0x3aa08c,_0x4a5eb3,_0x48efd1,_0x1f6732){const _0x4d8520=EA(_0x12d687),_0x89f136=[];let _0x42a145=0x0;for(const _0x14224d of _0x4d8520['getClientRects']())if(_0x14224d['left']>=_0x4a5eb3){const _0x4cfe73=xA(_0x12d687,_0x42a145,_0x4a5eb3,_0x48efd1);_0x1f6732||_0x89f136['push']({'type':'text','path':[_0x3aa08c],'textOffset':_0x4cfe73}),_0x42a145=_0x4cfe73,_0x4a5eb3+=_0x48efd1,_0x1f6732=!0x1;}return _0x89f136;}function xA(_0x4b4038,_0x376c0e,_0x357911,_0x11c6e4){let _0x150793=_0x376c0e,_0x523ecb=_0x4b4038['length'];for(;_0x523ecb-_0x150793>0x1;){const _0x41a75a=Math['ceil']((_0x150793+_0x523ecb)/0x2);CA(TA(_0x4b4038,_0x150793,_0x41a75a),_0x357911,_0x11c6e4)?_0x523ecb=_0x41a75a:_0x150793=_0x41a75a;}return _0x150793;}function CA(_0x3e5abd,_0x2322f4,_0x574ba6){for(const _0x3720b2 of _0x3e5abd['getClientRects']())if(_0x3720b2['left']>=_0x2322f4&&_0x3720b2['left']<_0x2322f4+_0x574ba6)return!0x0;return!0x1;}function RA(_0x13c3a2){return _0x13c3a2['nodeType']==Node['ELEMENT_NODE'];}function PA(_0x1b85c8){return _0x1b85c8['nodeType']==Node['TEXT_NODE'];}const MA=/* #__PURE__ -- @preserve */
ti('px');var NA=class extends _0x2df468{constructor(){super();const _0x4e5ee2=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x4e5ee2['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x4e5ee2['if']('isVisible','ck-hidden',_0x52895e=>!_0x52895e)],'style':{'left':_0x4e5ee2['to']('left',_0x481d0e=>MA(_0x481d0e)),'top':_0x4e5ee2['to']('top',_0x41bda3=>MA(_0x41bda3)),'width':_0x4e5ee2['to']('width',_0xca35d=>MA(_0xca35d))}}});}},LA=class{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x2083cd){this['_viewCollection']=_0x2083cd['ui']['view']['body'];}['destroy'](){for(const _0x24a3cf of this['_hiddenLines'])_0x24a3cf['destroy']();}['cleanLines'](){for(const _0x602c8b of this['_visibleLines'])_0x602c8b['isVisible']=!0x1,this['_hiddenLines']['add'](_0x602c8b);this['_visibleLines']['clear']();}['showLine'](_0x3b7759,_0xbd6fda,_0x43fa79,_0x3d0b17){let _0x2da5a7;this['_hiddenLines']['size']?(_0x2da5a7=_0x26105c(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x2da5a7)):_0x2da5a7=new NA(),_0x2da5a7['set']({'pageNumber':_0x3d0b17,'left':_0x3b7759,'top':_0xbd6fda,'width':_0x43fa79}),_0x2da5a7['isVisible']=!0x0,this['_viewCollection']['has'](_0x2da5a7)||this['_viewCollection']['add'](_0x2da5a7),this['_visibleLines']['add'](_0x2da5a7);}['setViewCollection'](_0x27cc18){for(const _0x154174 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x154174)&&this['_viewCollection']['remove'](_0x154174);this['_viewCollection']=_0x27cc18;}};const $A='ck-pagination_enabled';var DA=class extends _0x36b920{['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 LA(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']($A),this['on']('change:isEnabled',(_0x6f837d,_0x5ad534,_0x4aeb2a)=>{_0x4aeb2a||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass']($A,_0x4aeb2a);});}['destroy'](){this['_toggleEditingRootsClass']($A,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0xf09214){if(!this['isEnabled'])return;const _0x24b6ef=_0xf09214>0x1?this['_getPageBreakLineOffset'](_0xf09214-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x24b6ef-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x221d7d['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x115bdb=this['editor'],_0x2abb32=this['_getAttachedDomRoot']();_0x2abb32?(this['_scrollableEditingRootDomAncestor']&&_0x115bdb['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x1be35a){let _0x35a2f3=_0x1be35a;do{_0x35a2f3=_0x35a2f3['parentElement'];const _0x1b6a4b=_0x22955f['window']['getComputedStyle'](_0x35a2f3)['overflowY'];if('auto'==_0x1b6a4b||'scroll'==_0x1b6a4b)break;}while('BODY'!=_0x35a2f3['tagName']);return _0x35a2f3;}(_0x2abb32),_0x115bdb['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x5c4e05(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x115bdb['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x4887e9=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x4887e9['ui']['view']['listenTo'](_0x22955f['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x4887e9['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x2b77a8 of this['editor']['editing']['view']['domRoots']['values']())if(_0x2b77a8['ownerDocument']['body']['contains'](_0x2b77a8))return _0x2b77a8;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x1f3ce2=this['_getAttachedDomRoot'](),_0xbc560c=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x1f3ce2||0x1==_0xbc560c['length'])return void(this['pageNumber']=0x1);const _0x2afc01=new _0x21a646(_0x1f3ce2)['excludeScrollbarsAndBorders'](),_0x20a0c7=new _0x21a646(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x32b539=_0x20a0c7['top']+_0x20a0c7['height']/0x3;let _0x16207b=!0x1;const _0xf1ed82=[];for(let _0x54050e=0x1;_0x54050e<_0xbc560c['length'];_0x54050e++){const _0x58cbb3=this['_getPageBreakLineOffset'](_0x54050e,_0x20a0c7);if(!_0x58cbb3)continue;const _0x22bfaa=_0x20a0c7['top']+_0x58cbb3-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0xf1ed82['push']({'pageOffsetTop':_0x22bfaa,'domRootRect':_0x2afc01,'domScrollableRect':_0x20a0c7,'pageNumber':_0x54050e}),_0x22bfaa>_0x32b539&&!_0x16207b&&(this['pageNumber']=_0x54050e,_0x16207b=!0x0);}this['_renderPageBreakLines'](_0xf1ed82),_0x16207b||(this['pageNumber']=_0xbc560c['length']);}['_renderPageBreakLines'](_0x1631d0){const {scrollX:_0x45dc00,scrollY:_0x227f2d}=_0x22955f['window'];if(_0x1631d0['length']){for(const {domScrollableRect:_0x1f8471,pageOffsetTop:_0x156782,domRootRect:_0x551570,pageNumber:_0x28d0ee}of _0x1631d0)_0x1f8471['top']<_0x156782&&_0x156782<_0x1f8471['bottom']&&this['linesRepository']['showLine'](_0x551570['left']+_0x45dc00,_0x156782+_0x227f2d,_0x551570['width'],_0x28d0ee+0x1);}}['_getPageBreakLineOffset'](_0x9b8ff5,_0x4b8ecb=null){const _0x535015=this['_paginationLookupPlugin']['pageBreaks'][_0x9b8ff5]['offset'];return _0x535015?(_0x4b8ecb||(_0x4b8ecb=new _0x21a646(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x535015-_0x4b8ecb['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x1caa83,_0x498d33=!0x0){const _0x551625=this['editor']['editing']['view'];_0x551625['change'](_0x359a05=>{for(const _0xfaca4a of _0x551625['document']['roots'])_0x498d33?_0x359a05['addClass'](_0x1caa83,_0xfaca4a):_0x359a05['removeClass'](_0x1caa83,_0xfaca4a);});}};function QA(_0x192cce,_0x3237f8,..._0x1dda31){const t=_0x192cce['t'];switch(_0x3237f8){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)',..._0x1dda31);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 _0x3237f8;}}var jA=class extends _0x36b920{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[OA,DA];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x487a86=this['editor']['plugins']['get']('Pagination'),_0x5d5b04=this['editor']['plugins']['get'](OA),_0x4cdf2f=this['editor']['plugins']['get'](DA);this['bind']('isEnabled')['to'](_0x487a86),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x4cdf2f),this['listenTo'](_0x5d5b04,'change:pageBreaks',(_0x4123a6,_0x11f09e,_0x116d0b,_0xc182d5)=>{this['totalPages']=_0x116d0b['length'],this['_updatePageBreakMarkers'](_0x116d0b,_0xc182d5);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2fabc6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xb16e84;for(const _0x323f12 in _0x2fabc6){const _0x2e30e2=_0x323f12,_0xd27f86=_0x2fabc6[_0x2e30e2];if('paginationLicenseKeyValid'==_0xd27f86||'paginationLicenseKeyInvalid'==_0xd27f86||'paginationLicenseKeyExpired'==_0xd27f86||'paginationLicenseKeyDomainLimit'==_0xd27f86||'paginationLicenseKeyNotAllowed'==_0xd27f86||'paginationLicenseKeyEvaluationLimit'==_0xd27f86||'paginationLicenseKeyUsageLimit'==_0xd27f86){delete _0x2fabc6[_0x2e30e2],_0xb16e84=_0xd27f86,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0xb16e84&&_0x2fabc6['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0xb16e84&&_0x2fabc6['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0xb16e84&&_0x2fabc6['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0xb16e84&&_0x2fabc6['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0xb16e84&&_0x2fabc6['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0xb16e84&&_0x2fabc6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x51772e){this['isEnabled']&&this['editor']['plugins']['get'](DA)['scrollToPage'](this['_validatePageNumber'](_0x51772e));}['moveSelectionToPage'](_0x4f3250){if(!this['isEnabled'])return;const _0x63f891=this['editor'],_0x22d356=this['editor']['plugins']['get'](OA)['pageBreaks'][_0x4f3250-0x1];_0x22d356&&_0x63f891['model']['change'](_0x234692=>{switch(_0x22d356['type']){case'manual':{const _0x25c0ca=_0x63f891['model']['schema']['getNearestSelectionRange'](_0x22d356['modelRange']['end'],'forward');_0x234692['setSelection'](_0x25c0ca);break;}case'element':{const _0x2ecbc2=_0x63f891['model']['schema']['getNearestSelectionRange'](_0x22d356['modelRange']['start'],'forward');_0x234692['setSelection'](_0x2ecbc2);break;}case'text':{const _0x2b98af=_0x22d356['modelRange']['start'];if(_0x2b98af['textNode']&&'\x20'===_0x2b98af['textNode']['data'][_0x2b98af['offset']]){const _0x1e5614=_0x234692['createPositionAt'](_0x2b98af['parent'],_0x2b98af['offset']+0x1);_0x234692['setSelection'](_0x1e5614);}else _0x234692['setSelection'](_0x22d356['modelRange']);}}_0x63f891['editing']['view']['focus']();});}['goToNextPage'](){const _0x3bec27=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x3bec27),this['scrollToPage'](_0x3bec27);}['goToPreviousPage'](){const _0x821ad8=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x821ad8),this['scrollToPage'](_0x821ad8);}['_updatePageBreakMarkers'](_0x294393,_0x2df155){const _0xddf0ff=this['editor']['model'];this['isEnabled']&&_0xddf0ff['change'](_0x191585=>{for(let _0x885762=0x1;_0x885762<_0x294393['length'];_0x885762++){const _0x33db7d=_0x294393[_0x885762]['modelRange'],_0x5bf457='pagination:'+(_0x885762+0x1);_0xddf0ff['markers']['has'](_0x5bf457)?_0x191585['updateMarker'](_0x5bf457,{'range':_0x33db7d}):_0x191585['addMarker'](_0x5bf457,{'range':_0x33db7d,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x3b5fde=_0x294393['length'];_0x3b5fde<_0x2df155['length'];_0x3b5fde++){const _0x533943='pagination:'+(_0x3b5fde+0x1);_0xddf0ff['markers']['has'](_0x533943)&&_0x191585['removeMarker'](_0x533943);}});}['_setUpDataDowncastConversion'](){this['editor']['conversion']['for']('dataDowncast')['add'](_0x275044=>{_0x275044['on']('addMarker:pagination',(_0x31049a,{markerRange:_0xe3b62e,markerName:_0x128002},_0x5bc47c)=>{if(!_0x5bc47c['options']['pagination'])return;if(!_0x5bc47c['consumable']['consume'](_0xe3b62e,_0x31049a['name']))return;const _0x1b9eed=_0xe3b62e['getContainedElement']();let _0x325a10=_0x1b9eed?_0x5bc47c['mapper']['toViewElement'](_0x1b9eed):null;if(!_0x325a10){const _0x29e3b9=_0xe3b62e['start'];if(_0x5bc47c['schema']['checkChild'](_0x29e3b9,'$text')){const _0x4b00bd=_0x5bc47c['mapper']['toViewPosition'](_0x29e3b9);_0x325a10=_0x5bc47c['writer']['createContainerElement']('span'),_0x325a10['getFillerOffset']=()=>null,_0x5bc47c['writer']['insert'](_0x4b00bd,_0x325a10);}else{const _0x550d03=_0x29e3b9['nodeAfter'];_0x325a10=_0x5bc47c['mapper']['toViewElement'](_0x550d03);}}for(;_0x325a10['parent']!==_0x325a10['root']&&0x0===_0x325a10['index'];)_0x325a10=_0x325a10['parent'];const _0x61759=_0x128002['substring'](0xb);_0x325a10['hasClass']('page-break')||(_0x5bc47c['writer']['setStyle']('page-break-before','always',_0x325a10),_0x5bc47c['writer']['setAttribute']('data-pagination-page',_0x61759,_0x325a10),_0x5bc47c['mapper']['bindElementToMarker'](_0x325a10,_0x128002)),_0x31049a['stop']();});});}['_setupKeystrokes'](){const _0x175789=this['editor'];_0x175789['keystrokes']['set']('Shift+Pageup',(_0x237fde,_0xe26138)=>{this['goToPreviousPage'](),_0xe26138();}),_0x175789['keystrokes']['set']('Shift+Pagedown',(_0x288658,_0x195be5)=>{this['goToNextPage'](),_0x195be5();}),_0x175789['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':QA(_0x175789['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':QA(_0x175789['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':QA(_0x175789['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x11e483){return _0x11e483<0x1&&(_0x11e483=0x1),_0x11e483>this['totalPages']&&(_0x11e483=this['totalPages']),_0x11e483;}},UA=class extends _0x2df468{['pageNumberView'];constructor(_0x45f672){super(_0x45f672);const _0x57809b=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0xb6d5d1(_0x45f672,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x51c01b=>QA(_0x45f672,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x51c01b)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x1b02ee=>!_0x1b02ee),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x57809b['if']('isEnabled','ck-disabled',_0x5ca6b3=>!_0x5ca6b3)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x57809b['to']('totalPages')}]}]});}['render'](){super['render']();const _0x5e250a=this['pageNumberView']['element'],_0x5d09ba=_0x23857e=>{this['pageNumberView']['element']['value']=String(_0x23857e);};_0x5d09ba(this['pageNumber']),this['on']('change:pageNumber',(_0x55161e,_0x358236,_0x552521)=>{_0x5d09ba(_0x552521);}),this['listenTo'](_0x5e250a,'keydown',(_0xe27dbe,_0x1cbda1)=>{if('ArrowUp'===_0x1cbda1['key']||'ArrowDown'===_0x1cbda1['key'])return void _0x1cbda1['stopPropagation']();if(_0x1cbda1['keyCode']!==_0x2fe7dc['enter'])return;_0x1cbda1['preventDefault']();const _0x4b3519=_0x5e250a['valueAsNumber'];Number['isNaN'](_0x4b3519)?_0x5e250a['value']=String(this['pageNumber']):(_0x5e250a['checkValidity']()?this['pageNumber']=_0x4b3519:_0x4b3519>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x5e250a['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x5e250a['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x5e250a,'blur',()=>{_0x5e250a['value']=String(this['pageNumber']);}),this['listenTo'](_0x5e250a,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},VA=class extends _0x36b920{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xe1a315=this['editor'],_0x490277=_0xe1a315['plugins']['get']('PaginationEditing');_0xe1a315['ui']['componentFactory']['add']('pageNavigation',_0x5f57bb=>{const _0x4a5d2f=new UA(_0x5f57bb);return _0x4a5d2f['bind']('pageNumber')['to'](_0x490277),_0x4a5d2f['bind']('totalPages')['to'](_0x490277),_0x4a5d2f['bind']('isEnabled')['to'](_0x490277),_0x4a5d2f['on']('navigation',(_0x43a5ab,_0x24a470)=>{_0x490277['moveSelectionToPage'](_0x24a470),_0x490277['scrollToPage'](_0x24a470);}),_0x4a5d2f;}),_0xe1a315['ui']['componentFactory']['add']('nextPage',_0x46065b=>{const _0x1f68a1=new _0x47ddb0(_0x46065b);return _0x1f68a1['isEnabled']=!0x0,_0x1f68a1['label']=QA(_0xe1a315['locale'],'Go\x20to\x20next\x20page'),_0x1f68a1['icon']=_0x4ceb60,_0x1f68a1['tooltip']=!0x0,_0x1f68a1['keystroke']='Shift+PageDown',_0x1f68a1['bind']('isEnabled')['to'](_0x490277),this['listenTo'](_0x1f68a1,'execute',()=>{_0x490277['goToNextPage']();}),_0x1f68a1;}),_0xe1a315['ui']['componentFactory']['add']('previousPage',_0x22f639=>{const _0x3682a4=new _0x47ddb0(_0x22f639);return _0x3682a4['isEnabled']=!0x0,_0x3682a4['label']=QA(_0xe1a315['locale'],'Go\x20to\x20previous\x20page'),_0x3682a4['icon']=_0x1d5a43,_0x3682a4['tooltip']=!0x0,_0x3682a4['keystroke']='Shift+PageUp',_0x3682a4['bind']('isEnabled')['to'](_0x490277),this['listenTo'](_0x3682a4,'execute',()=>{_0x490277['goToPreviousPage']();}),_0x3682a4;});}},BA=class extends _0x36b920{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[jA,VA];}constructor(_0x218263){super(_0x218263),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x5d11ad=this['editor']['plugins']['get'](jA);this['bind']('pageNumber')['to'](_0x5d11ad),this['bind']('totalPages')['to'](_0x5d11ad),_0x221d7d['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x30122f){this['editor']['plugins']['get'](jA)['scrollToPage'](_0x30122f);}};const FA=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function HA(_0x3dc34a){return FA['test'](_0x3dc34a);}const ZA=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function GA(_0x445f28,_0xb2fa1f){const _0x318396=new Map();for(const [_0x3d9ea6,_0x4c0d7f]of _0xb2fa1f){if(!_0x3d9ea6['tagName']&&!_0x3d9ea6['className'])continue;const _0xf8f8e1=!_0x3d9ea6['tagName']||_0x445f28['name']===_0x3d9ea6['tagName'],_0x75d9c7=!_0x3d9ea6['className']||_0x445f28['hasClass'](_0x3d9ea6['className']);_0xf8f8e1&&_0x75d9c7&&_0x318396['set'](_0x3d9ea6,_0x4c0d7f);}return _0x318396;}function XA(_0x5d1368){const _0x9a2af={};for(let _0x5322f0=0x0;_0x5322f0<_0x5d1368['length'];_0x5322f0++){const _0x32c81f=_0x5d1368[_0x5322f0],_0x55271b=_0x5d1368['getPropertyValue'](_0x32c81f);'initial'!==_0x55271b&&(_0x9a2af[_0x32c81f]=_0x55271b);}return _0x9a2af;}function qA(_0x297c0f){const _0x3422ea=_0x297c0f['split'](',')['map'](_0x3f852b=>_0x3f852b['trim']()),_0xe475c6=[];for(const _0x5ce1bb of _0x3422ea){const _0x586f23=ZA['exec'](_0x5ce1bb);_0x586f23&&_0xe475c6['push'](_0x586f23['groups']);}return _0xe475c6;}function WA(_0x1d760c){const _0x327ca5={};for(const _0x485f17 of _0x1d760c)Object['assign'](_0x327ca5,_0x485f17);return _0x327ca5;}var zA=class extends _0x2ecfc3{['execute'](_0x18fc9b){const {styles:_0x235125,stylesString:_0x14a3c3}=_0x18fc9b['extraContent'],_0x15d8cd=new _0x3bc8c0(_0x18fc9b['content']['document']),_0x42f6e7=_0x15d8cd['createRangeIn'](_0x18fc9b['content']),_0x53f52e=function(_0x444c2e){const _0x238ded=new Map();for(const _0x5b1a2e in _0x444c2e){const _0x912280=qA(_0x5b1a2e),_0x7ad95a=_0x444c2e[_0x5b1a2e];for(const _0x3fb099 of _0x912280)_0x238ded['set'](_0x3fb099,_0x7ad95a);}return _0x238ded;}(function(_0x567722){const _0x33901e={};for(const _0x40fe1e of _0x567722)for(const _0x4fd9e3 of _0x40fe1e['cssRules'])if(_0x4fd9e3 instanceof CSSStyleRule){const _0xe8965e=XA(_0x4fd9e3['style']);_0x33901e[_0x4fd9e3['selectorText']]=Object['assign']({},_0x33901e[_0x4fd9e3['selectorText']]||{},_0xe8965e);}return _0x33901e;}(_0x235125)),_0x2638fb=function(_0x19d934){const _0x1f2385={},_0x3bb768=/(?<selector>[^{}]+)\{[^}]*mso-pattern:\s*(?<color>#[0-9A-Fa-f]{3,6}|[a-z]+)\s+(?<patternType>[\w-]+)[^}]*\}/gi,_0x3ad2d3=/\.(?<className>[\w-]+)/g;let _0xb3105b;for(;null!==(_0xb3105b=_0x3bb768['exec'](_0x19d934));){const {selector:_0xf7cbab,color:_0x431563,patternType:_0x48152d}=_0xb3105b['groups'];if('auto'!==_0x431563['toLowerCase']()&&'none'!==_0x48152d['toLowerCase']()&&'auto'!==_0x48152d['toLowerCase']()){for(const _0x15238f of _0xf7cbab['matchAll'](_0x3ad2d3))_0x1f2385[_0x15238f['groups']['className']]=_0x431563;}}return _0x1f2385;}(_0x14a3c3);for(const _0x4ddf1f of _0x42f6e7){if('elementStart'!==_0x4ddf1f['type'])continue;const _0x569f72=_0x4ddf1f['item'],_0x43e246=GA(_0x569f72,_0x53f52e),_0x2b1ba8=_0x43e246['size']?WA(Array['from'](_0x43e246['values']())):{};if(!('background-color'in _0x2b1ba8)&&!('background'in _0x2b1ba8)){for(const [_0x34c349,_0x428066]of Object['entries'](_0x2638fb))if(_0x569f72['hasClass'](_0x34c349)){_0x2b1ba8['background-color']=_0x428066;break;}}for(const _0x2ac6d5 in _0x2b1ba8)_0x569f72['hasStyle'](_0x2ac6d5)||_0x15d8cd['setStyle'](_0x2ac6d5,_0x2b1ba8[_0x2ac6d5],_0x569f72);}}['isActive'](_0x1626d8){return super['isActive'](_0x1626d8)||HA(_0x1626d8);}},YA=class extends _0x36b920{static get['pluginName'](){return'PasteFromOfficeEnhancedInliner';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x295ea1];}['init'](){const _0x4f0759=this['editor'],_0x121b72=_0x4f0759['plugins']['get']('PasteFromOffice'),_0x13b029=_0x4f0759['editing']['view']['document'],_0x139714=new zA(_0x13b029);_0x121b72['registerNormalizer'](_0x139714,_0x38a185['high']+0xb);}['afterInit'](){!async function(_0x373e3a){const _0x498ed1='sG65Crk1cd2igLN7zIEAYju9J3hbPBtnFMxQf4HwZal0qTSVKyDmoRvUXepWO8',_0x35a149=0x78fc0,_0x3845ae=window['Date']['now'](),_0x15c6fd=_0x373e3a['editor'],_0x4d0631=new window['Promise'](_0x1730a6=>{_0x15c6fd['once']('ready',_0x1730a6);}),_0x337131={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x34467c=_0x15c6fd['config']['get']('licenseKey');async function _0x3c6953(){let _0x11cc26,_0x5ddc32=null,_0x3168dd=null;try{return'GPL'==_0x34467c?'NotAllowed':(_0x11cc26=_0x9b1f07(),_0x11cc26?(_0x11cc26['usageEndpoint']&&(_0x3168dd=_0x4301c9(_0x11cc26['usageEndpoint'],_0x11cc26['jti'])),await _0x2dc498()?_0x5b495d()?_0x457ee4()?'Expired':_0xc3062b()?('evaluation'==_0x11cc26['licenseType']&&(_0x5ddc32=_0x352aff('EvaluationLimit')),await _0xbe6a98()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x457ee4(){const _0x4ab167=['evaluation','trial']['includes'](_0x11cc26['licenseType'])?_0x3845ae/0x3e8:0xe10*_0x35a149;return _0x11cc26['exp']<_0x4ab167;}function _0x5b495d(){const _0x4e35cc=_0x11cc26['features'];return!!_0x4e35cc&&(!!_0x4e35cc['includes']('*')||(!!_0x4e35cc['includes']('POE')||(!!_0x4e35cc['includes']('PP')||!(!_0x4e35cc['includes']('TRILIUM')||!_0x2c207d()))));}function _0xc3062b(){const _0x161eb5=_0x11cc26['licensedHosts'];if(!_0x161eb5||0x0==_0x161eb5['length'])return!0x0;const {hostname:_0x58030e}=new URL(window['location']['href']);if(_0x161eb5['includes'](_0x58030e))return!0x0;const _0x17ed0c=_0x58030e['split']('.');return _0x161eb5['filter'](_0x3a1472=>_0x3a1472['includes']('*'))['map'](_0xd1f27b=>_0xd1f27b['split']('.'))['filter'](_0x201381=>_0x201381['length']<=_0x17ed0c['length'])['map'](_0x22cdb=>Array(_0x17ed0c['length']-_0x22cdb['length'])['fill']('*'===_0x22cdb[0x0]?'*':'')['concat'](_0x22cdb))['some'](_0x460259=>_0x17ed0c['every']((_0x458ccc,_0x55e729)=>_0x460259[_0x55e729]===_0x458ccc||'*'===_0x460259[_0x55e729]));}function _0xbe6a98(){return _0x5ddc32&&_0x3168dd?new window['Promise']((_0x31b4d6,_0x1d86d7)=>{_0x5ddc32['then'](_0x31b4d6,_0x1d86d7),_0x3168dd['then'](_0x118410=>{'Valid'!=_0x118410&&_0x31b4d6(_0x118410);},_0x1d86d7);}):_0x5ddc32||_0x3168dd||'Valid';}}function _0x4301c9(_0x1e7d12,_0xe731f5){return new window['Promise'](_0x410226=>{if(_0x1410e1())return _0x410226('Valid');_0x54030b(),_0x15c6fd['decorate']('_sendUsageRequest');let _0x4fcb0b=!0x1;const _0x19f901=_0x10825a();function _0x565885(_0x5c59bb){return!!_0x5c59bb&&('object'==typeof _0x5c59bb||'function'==typeof _0x5c59bb)&&'function'==typeof _0x5c59bb['then']&&'function'==typeof _0x5c59bb['catch'];}function _0x2baaad(_0x29c21d){_0xba49c5(_0x29c21d)['then'](_0x4e489d=>_0x4e489d&&'ok'==_0x4e489d['status']?_0x114365(_0x4a98fa(_0x19f901+_0xe731f5))!=_0x4e489d['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x3f46f8=>(_0x2ca7ed(),_0x3f46f8),()=>{const _0x57d838=_0x3e1ca8();return null==_0x57d838?(_0x2ca7ed(),'Valid'):_0x3845ae-_0x57d838>0x240c8400?'UsageLimit':'Valid';})['then'](_0x410226)['catch'](()=>{_0x410226('UsageLimit');});const _0x214900=0x36ee80;function _0x2ca7ed(){const _0x387ba7='llct-'+_0x114365(_0x4a98fa(_0x1e7d12)),_0x412f3d=_0x56616c(_0x114365(window['Math']['ceil'](_0x3845ae/_0x214900)));window['localStorage']['setItem'](_0x387ba7,_0x412f3d);}function _0x3e1ca8(){const _0x16b735='llct-'+_0x114365(_0x4a98fa(_0x1e7d12)),_0x5897c1=window['localStorage']['getItem'](_0x16b735);return _0x5897c1?window['parseInt'](_0x56616c(_0x5897c1),0x10)*_0x214900:null;}function _0xba49c5(_0x33095b){return new window['Promise']((_0x1ee2b5,_0x12468c)=>{_0x33095b['then'](_0x1ee2b5,_0x12468c),window['setTimeout'](_0x12468c,0x1d4c0);});}}_0x15c6fd['on']('_sendUsageRequest',(_0x106889,_0x8a933a)=>{if(_0x8a933a[0x0]!=_0x1e7d12)return _0x410226('UsageLimit');_0x8a933a[0x1]={..._0x8a933a[0x1],'requestId':_0x19f901};},{'priority':'high'}),_0x15c6fd['on']('_sendUsageRequest',_0x299844=>{_0x565885(_0x299844['return'])&&(_0x4fcb0b=!0x0,_0x2baaad(_0x299844['return']));},{'priority':'low'}),_0x4d0631['then'](()=>{_0x4fcb0b||_0x410226('UsageLimit');});});function _0x1410e1(){return'auto'==_0x15c6fd['editing']['view']['_overlayModeHint'];}function _0x54030b(){_0x15c6fd['editing']['view']['_overlayModeHint']='auto';}}function _0x352aff(_0x50da70){const _0x13e51e=[new window['Promise'](_0x580752=>setTimeout(_0x580752,0x93ecc)),_0x4d0631['then'](()=>new window['Promise'](_0x4eab1d=>{let _0x46d238=0x0;_0x15c6fd['model']['on']('applyOperation',(_0x18bdc9,_0x417200)=>{_0x417200[0x0]['isDocumentOperation']&&_0x46d238++,0x5e8==_0x46d238&&(_0x4eab1d(),_0x18bdc9['off']());});}))];return window['Promise']['race'](_0x13e51e)['then'](()=>_0x50da70);}async function _0x3c86be(){await _0x4d0631,_0x15c6fd['model']['change']=_0x3cf344,_0x15c6fd['model']['enqueueChange']=_0x3cf344,_0x15c6fd['enableReadOnlyMode']('model');}function _0x2c207d(){return window['glob']&&window['glob']['triliumVersion'];}function _0x5936d7(_0x4737a1){const _0x32dc4d=_0x835149();_0x15c6fd[_0x32dc4d]='pasteFromOfficeEnhancedLicenseKey'+_0x4737a1,'Valid'!=_0x4737a1&&_0x3c86be();}function _0x835149(){const _0x22cdd5=window['String'](window['performance']['now']())['replace']('.','');let _0x149fb6='s';for(let _0x41a80c=0x0;_0x41a80c<_0x22cdd5['length'];_0x41a80c+=0x2){let _0x1d7d88=window['parseInt'](_0x22cdd5['substring'](_0x41a80c,_0x41a80c+0x2));_0x1d7d88>=0x3e&&(_0x1d7d88-=0x3e),_0x149fb6+=_0x498ed1[_0x1d7d88];}return _0x149fb6;}function _0x9b1f07(){const _0x1c93b3=_0x34467c['split']('.');if(0x3!=_0x1c93b3['length'])return null;return _0xc0d15e(_0x1c93b3[0x1]);function _0xc0d15e(_0x3cc14a){const _0x3e2072=_0x51666d(_0x3cc14a);return _0x3e2072&&_0x462237()?_0x3e2072:null;function _0x462237(){const _0x362fa1=_0x3e2072['jti'],_0xb0ebdc=window['parseInt'](_0x362fa1['substring'](_0x362fa1['length']-0x8),0x10),_0x3c8057={..._0x3e2072,'jti':_0x362fa1['substring'](0x0,_0x362fa1['length']-0x8)};return delete _0x3c8057['vc'],_0x4a98fa(_0x3c8057)==_0xb0ebdc;}}}async function _0x2dc498(){let _0x4e11b5=!0x0;try{const [_0x193390,_0x3008b9,_0x2a9254]=_0x34467c['split']('.');return _0x2be750(_0x193390),await _0x477c48(_0x193390,_0x3008b9,_0x2a9254),_0x4e11b5;}catch{return!0x1;}function _0x2be750(_0x1e0c1c){const _0x21e31c=_0x51666d(_0x1e0c1c);_0x21e31c&&'ES256'==_0x21e31c['alg']||(_0x4e11b5=!0x1);}async function _0x477c48(_0x1ae7b7,_0x4d653d,_0x24e334){const _0x2f1dfe=window['Uint8Array']['from'](_0x41241a(_0x24e334),_0x1bb861=>_0x1bb861['charCodeAt'](0x0)),_0xfdf06f=new window['TextEncoder']()['encode'](_0x1ae7b7+'.'+_0x4d653d),_0x5b6c17=window['crypto']['subtle'];if(!_0x5b6c17)return;const _0x44d951=await _0x5b6c17['importKey']('jwk',_0x337131,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x5b6c17['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x44d951,_0x2f1dfe,_0xfdf06f)||(_0x4e11b5=!0x1);}}function _0x51666d(_0x8d8ac5){return _0x8d8ac5['startsWith']('ey')?JSON['parse'](_0x41241a(_0x8d8ac5)):null;}function _0x41241a(_0x4dd208){return window['atob'](_0x4dd208['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x4a98fa(_0x1ef7dd){let _0x71c62a=0x1505;function _0x43a426(_0x476d04){for(let _0x38527a=0x0;_0x38527a<_0x476d04['length'];_0x38527a++){const _0x5ae750=_0x476d04['charCodeAt'](_0x38527a);_0x71c62a=(_0x71c62a<<0x5)+_0x71c62a+_0x5ae750,_0x71c62a&=_0x71c62a;}}function _0x5c59ab(_0x28cf51){Array['isArray'](_0x28cf51)?_0x28cf51['forEach'](_0x5c59ab):_0x28cf51&&'object'==typeof _0x28cf51?Object['entries'](_0x28cf51)['sort']()['forEach'](([_0x33473a,_0x39768e])=>{_0x43a426(_0x33473a),_0x5c59ab(_0x39768e);}):_0x43a426(window['String'](_0x28cf51));}return _0x5c59ab(_0x1ef7dd),_0x71c62a>>>0x0;}function _0x114365(_0x51bc3d){return _0x51bc3d['toString'](0x10)['padStart'](0x8,'0');}function _0x56616c(_0x2bd8c9){return _0x2bd8c9['split']('')['reverse']()['join']('');}function _0x3cf344(){}_0x5936d7(await _0x3c6953());}(this);}};const KA=['color','font-family','font-size','text-decoration','text-decoration-line','font-weight','font-style','vertical-align'],JA=['color','font-family','font-size'],tS={'font-style':[['italic','i']],'font-weight':[['medium','strong'],['bold','strong'],['bolder','strong'],[_0x228d23=>Number(_0x228d23)>=0x258,'strong']],'text-decoration':[['underline','u'],['line-through','s']],'text-decoration-line':[['underline','u'],['line-through','s']],'vertical-align':[['sub','sub'],['super','sup']]};function eS(_0x46f1fe){return KA['includes'](_0x46f1fe);}function iS(_0x447c3c){return Array['from'](_0x447c3c['getStyleNames']())['filter'](eS);}function sS(_0x22bb85,_0x1aac9a,_0x194331){const {spanStyles:_0x1d8418,stylesToBeHtmlElements:_0x381b1c}=rS(_0x22bb85,_0x194331);!function(_0x3db0a1,_0x3dcf55,_0x2b5797){for(const _0x5b772f in _0x2b5797)_0x2b5797[_0x5b772f]['forEach'](([,_0x8017dd])=>{const _0x3f3c98=_0x3dcf55['createElement'](_0x8017dd,[],_0x3db0a1['getChildren']());_0x3dcf55['insertChild'](0x0,_0x3f3c98,_0x3db0a1);}),_0x3dcf55['removeStyle'](_0x5b772f,_0x3db0a1);}(_0x22bb85,_0x1aac9a,_0x381b1c),function(_0x188cef,_0x4bdfca,_0x24a659){if(!Object['keys'](_0x24a659)['length'])return;const _0x39f265=_0x4bdfca['createElement']('span',[],_0x188cef['getChildren']());_0x4bdfca['setStyle'](_0x24a659,_0x39f265),_0x4bdfca['insertChild'](0x0,_0x39f265,_0x188cef),_0x4bdfca['removeStyle'](Object['keys'](_0x24a659),_0x188cef);}(_0x22bb85,_0x1aac9a,_0x1d8418);}function nS(_0x7f0e8a,_0x328b94,_0x27a1b9){const {spanStyles:_0x4496a9}=rS(_0x7f0e8a,_0x27a1b9),_0x57acf4=Object['keys'](_0x4496a9);if(!_0x57acf4['length'])return;let _0x1f1754=!0x1;for(const _0x13e279 of _0x7f0e8a['getChildren']())if(_0x13e279['is']('element','span')){_0x1f1754=!0x0;for(const [_0x4a77a3,_0x682b5c]of Object['entries'](_0x4496a9))_0x13e279['hasStyle'](_0x4a77a3)||_0x328b94['setStyle']({[_0x4a77a3]:_0x682b5c},_0x13e279);}_0x1f1754&&_0x328b94['removeStyle'](_0x57acf4,_0x7f0e8a);}function rS(_0x592060,_0x3eab6b){const _0x42a8c9={},_0x1c7cf5={};return _0x3eab6b['forEach'](_0x50824b=>{const _0x2d6576=_0x592060['getStyle'](_0x50824b);if(_0x2d6576){if(function(_0x2d63ce){return JA['includes'](_0x2d63ce);}(_0x50824b))_0x42a8c9[_0x50824b]=_0x2d6576;else{if(function(_0x2bafb5){return _0x2bafb5 in tS;}(_0x50824b)){const _0x42a3f4=_0x2d6576['split']('\x20');tS[_0x50824b]['forEach'](([_0x398d70,_0x37ea91])=>{for(const _0x95a2bc of _0x42a3f4)('function'==typeof _0x398d70&&_0x398d70(_0x95a2bc)||_0x398d70===_0x95a2bc)&&(_0x1c7cf5[_0x50824b]=[..._0x1c7cf5[_0x50824b]||[],[_0x398d70,_0x37ea91]]);});}}}}),{'spanStyles':_0x42a8c9,'stylesToBeHtmlElements':_0x1c7cf5};}var oS=class extends _0x2ecfc3{['execute'](_0x484ce0){const _0xec573c=new _0x3bc8c0(_0x484ce0['content']['document']),_0x26fade=_0xec573c['createRangeIn'](_0x484ce0['content']),_0x13dc56=[...new _0x307f22(new _0x32f0bb(_0xec573c['document']['stylesProcessor']))['blockElements'],'font'],_0x50c402=_0x26fade['getItems']();for(const _0x3e4e97 of _0x50c402)if(_0x3e4e97['is']('element')&&_0x13dc56['includes'](_0x3e4e97['name'])){if(_0x3e4e97['hasStyle']('mso-list')&&'none'!==_0x3e4e97['getStyle']('mso-list')){nS(_0x3e4e97,_0xec573c,iS(_0x3e4e97));continue;}sS(_0x3e4e97,_0xec573c,iS(_0x3e4e97));}}['isActive'](_0x24e27c){return super['isActive'](_0x24e27c)||HA(_0x24e27c);}},aS=class extends _0x36b920{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PasteFromOfficeEnhancedPropagator';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x295ea1];}['init'](){const _0x212b35=this['editor'],_0x52c7f2=_0x212b35['plugins']['get']('PasteFromOffice'),_0x152ef0=_0x212b35['editing']['view']['document'],_0x410713=new oS(_0x152ef0);_0x52c7f2['registerNormalizer'](_0x410713,_0x38a185['high']+0xa),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2414e5=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x251742;for(const _0x445244 in _0x2414e5){const _0x5a5f63=_0x445244,_0x1062d8=_0x2414e5[_0x5a5f63];if('pasteFromOfficeEnhancedLicenseKeyValid'==_0x1062d8||'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x1062d8||'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x1062d8||'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x1062d8||'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x1062d8||'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x1062d8||'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x1062d8){delete _0x2414e5[_0x5a5f63],_0x251742=_0x1062d8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x251742&&_0x2414e5['_showLicenseError']('invalid'),'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x251742&&_0x2414e5['_showLicenseError']('expired'),'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x251742&&_0x2414e5['_showLicenseError']('domainLimit'),'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x251742&&_0x2414e5['_showLicenseError']('featureNotAllowed','PasteFromOfficeEnhanced'),'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x251742&&_0x2414e5['_showLicenseError']('evaluationLimit'),'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x251742&&_0x2414e5['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},cS=class extends _0x36b920{static get['pluginName'](){return'PasteFromOfficeEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x295ea1,YA,aS];}},lS=Xn((_0x1da578,_0x322779)=>{_0x322779['exports']=function(_0x55ea95,_0x3dbb66){var _0x32cfa1=new Array(arguments['length']-0x1),_0x5e9e7d=0x0,_0x2900f2=0x2,_0x167ff7=!0x0;for(;_0x2900f2<arguments['length'];)_0x32cfa1[_0x5e9e7d++]=arguments[_0x2900f2++];return new Promise(function(_0x39a11c,_0x41fb6e){_0x32cfa1[_0x5e9e7d]=function(_0x48527a){if(_0x167ff7){if(_0x167ff7=!0x1,_0x48527a)_0x41fb6e(_0x48527a);else{for(var _0x3ef675=new Array(arguments['length']-0x1),_0x530323=0x0;_0x530323<_0x3ef675['length'];)_0x3ef675[_0x530323++]=arguments[_0x530323];_0x39a11c['apply'](null,_0x3ef675);}}};try{_0x55ea95['apply'](_0x3dbb66||null,_0x32cfa1);}catch(_0x42897c){_0x167ff7&&(_0x167ff7=!0x1,_0x41fb6e(_0x42897c));}});};}),hS=Xn(_0x5779f1=>{var _0x12f294=_0x5779f1;_0x12f294['length']=function(_0x1aeca3){var _0xf600ba=_0x1aeca3['length'];if(!_0xf600ba)return 0x0;for(var _0x464eea=0x0;--_0xf600ba%0x4>0x1&&'='===_0x1aeca3['charAt'](_0xf600ba);)++_0x464eea;return Math['ceil'](0x3*_0x1aeca3['length'])/0x4-_0x464eea;};for(var _0x4e766f=new Array(0x40),_0x59f5fc=new Array(0x7b),_0x48782e=0x0;_0x48782e<0x40;)_0x59f5fc[_0x4e766f[_0x48782e]=_0x48782e<0x1a?_0x48782e+0x41:_0x48782e<0x34?_0x48782e+0x47:_0x48782e<0x3e?_0x48782e-0x4:_0x48782e-0x3b|0x2b]=_0x48782e++;_0x12f294['encode']=function(_0x40ee36,_0x59d2b1,_0x2c943f){for(var t,_0x58b4cf=null,_0x2a7eea=[],_0x86501e=0x0,_0x4319b4=0x0;_0x59d2b1<_0x2c943f;){var _0x26df0c=_0x40ee36[_0x59d2b1++];switch(_0x4319b4){case 0x0:_0x2a7eea[_0x86501e++]=_0x4e766f[_0x26df0c>>0x2],t=(0x3&_0x26df0c)<<0x4,_0x4319b4=0x1;break;case 0x1:_0x2a7eea[_0x86501e++]=_0x4e766f[t|_0x26df0c>>0x4],t=(0xf&_0x26df0c)<<0x2,_0x4319b4=0x2;break;case 0x2:_0x2a7eea[_0x86501e++]=_0x4e766f[t|_0x26df0c>>0x6],_0x2a7eea[_0x86501e++]=_0x4e766f[0x3f&_0x26df0c],_0x4319b4=0x0;}_0x86501e>0x1fff&&((_0x58b4cf||(_0x58b4cf=[]))['push'](String['fromCharCode']['apply'](String,_0x2a7eea)),_0x86501e=0x0);}return _0x4319b4&&(_0x2a7eea[_0x86501e++]=_0x4e766f[t],_0x2a7eea[_0x86501e++]=0x3d,0x1===_0x4319b4&&(_0x2a7eea[_0x86501e++]=0x3d)),_0x58b4cf?(_0x86501e&&_0x58b4cf['push'](String['fromCharCode']['apply'](String,_0x2a7eea['slice'](0x0,_0x86501e))),_0x58b4cf['join']('')):String['fromCharCode']['apply'](String,_0x2a7eea['slice'](0x0,_0x86501e));};var _0x1746b6='invalid\x20encoding';_0x12f294['decode']=function(_0x3f9a31,_0x1f75fc,_0x505ef7){for(var t,_0x156394=_0x505ef7,_0xcf1f7c=0x0,_0x5765f4=0x0;_0x5765f4<_0x3f9a31['length'];){var _0x207bd1=_0x3f9a31['charCodeAt'](_0x5765f4++);if(0x3d===_0x207bd1&&_0xcf1f7c>0x1)break;if(void 0x0===(_0x207bd1=_0x59f5fc[_0x207bd1]))throw Error(_0x1746b6);switch(_0xcf1f7c){case 0x0:t=_0x207bd1,_0xcf1f7c=0x1;break;case 0x1:_0x1f75fc[_0x505ef7++]=t<<0x2|(0x30&_0x207bd1)>>0x4,t=_0x207bd1,_0xcf1f7c=0x2;break;case 0x2:_0x1f75fc[_0x505ef7++]=(0xf&t)<<0x4|(0x3c&_0x207bd1)>>0x2,t=_0x207bd1,_0xcf1f7c=0x3;break;case 0x3:_0x1f75fc[_0x505ef7++]=(0x3&t)<<0x6|_0x207bd1,_0xcf1f7c=0x0;}}if(0x1===_0xcf1f7c)throw Error(_0x1746b6);return _0x505ef7-_0x156394;},_0x12f294['test']=function(_0x12dedb){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/['test'](_0x12dedb);};}),uS=Xn((_0x5c4b99,_0x20ea31)=>{function _0x20b5c9(){this['_listeners']=Object['create'](null);}_0x20ea31['exports']=_0x20b5c9,_0x20b5c9['prototype']['on']=function(_0x140037,_0x1b82a0,_0x56f8a0){return(this['_listeners'][_0x140037]||(this['_listeners'][_0x140037]=[]))['push']({'fn':_0x1b82a0,'ctx':_0x56f8a0||this}),this;},_0x20b5c9['prototype']['off']=function(_0x1f75f8,_0x1aab0b){if(void 0x0===_0x1f75f8)this['_listeners']=Object['create'](null);else{if(void 0x0===_0x1aab0b)this['_listeners'][_0x1f75f8]=[];else{var _0x288514=this['_listeners'][_0x1f75f8];if(!_0x288514)return this;for(var _0x5c39c5=0x0;_0x5c39c5<_0x288514['length'];)_0x288514[_0x5c39c5]['fn']===_0x1aab0b?_0x288514['splice'](_0x5c39c5,0x1):++_0x5c39c5;}}return this;},_0x20b5c9['prototype']['emit']=function(_0x271fb4){var _0xa75aef=this['_listeners'][_0x271fb4];if(_0xa75aef){for(var _0x260fbf=[],_0x4ad3c4=0x1;_0x4ad3c4<arguments['length'];)_0x260fbf['push'](arguments[_0x4ad3c4++]);for(_0x4ad3c4=0x0;_0x4ad3c4<_0xa75aef['length'];)_0xa75aef[_0x4ad3c4]['fn']['apply'](_0xa75aef[_0x4ad3c4++]['ctx'],_0x260fbf);}return this;};}),dS=Xn((_0x174347,_0x157cfa)=>{function _0x13668f(_0x2e3d04){return'undefined'!=typeof Float32Array?(function(){var _0x255da6=new Float32Array([-0x0]),_0x3c654e=new Uint8Array(_0x255da6['buffer']),_0x319c25=0x80===_0x3c654e[0x3];function _0x7d88ce(_0x158a26,_0x4ff535,_0x406605){_0x255da6[0x0]=_0x158a26,_0x4ff535[_0x406605]=_0x3c654e[0x0],_0x4ff535[_0x406605+0x1]=_0x3c654e[0x1],_0x4ff535[_0x406605+0x2]=_0x3c654e[0x2],_0x4ff535[_0x406605+0x3]=_0x3c654e[0x3];}function _0x5b574c(_0x4595fa,_0x2812e3,_0x27cbc9){_0x255da6[0x0]=_0x4595fa,_0x2812e3[_0x27cbc9]=_0x3c654e[0x3],_0x2812e3[_0x27cbc9+0x1]=_0x3c654e[0x2],_0x2812e3[_0x27cbc9+0x2]=_0x3c654e[0x1],_0x2812e3[_0x27cbc9+0x3]=_0x3c654e[0x0];}function _0x1758db(_0x19d572,_0x3dfd16){return _0x3c654e[0x0]=_0x19d572[_0x3dfd16],_0x3c654e[0x1]=_0x19d572[_0x3dfd16+0x1],_0x3c654e[0x2]=_0x19d572[_0x3dfd16+0x2],_0x3c654e[0x3]=_0x19d572[_0x3dfd16+0x3],_0x255da6[0x0];}function _0x2d5ed2(_0x55ce24,_0x1fa617){return _0x3c654e[0x3]=_0x55ce24[_0x1fa617],_0x3c654e[0x2]=_0x55ce24[_0x1fa617+0x1],_0x3c654e[0x1]=_0x55ce24[_0x1fa617+0x2],_0x3c654e[0x0]=_0x55ce24[_0x1fa617+0x3],_0x255da6[0x0];}_0x2e3d04['writeFloatLE']=_0x319c25?_0x7d88ce:_0x5b574c,_0x2e3d04['writeFloatBE']=_0x319c25?_0x5b574c:_0x7d88ce,_0x2e3d04['readFloatLE']=_0x319c25?_0x1758db:_0x2d5ed2,_0x2e3d04['readFloatBE']=_0x319c25?_0x2d5ed2:_0x1758db;}()):(function(){function _0xf3fdda(_0x5e7cbb,_0x38bdc9,_0x49e3fc,_0x1dfda3){var _0x37a931=_0x38bdc9<0x0?0x1:0x0;if(_0x37a931&&(_0x38bdc9=-_0x38bdc9),0x0===_0x38bdc9)_0x5e7cbb(0x1/_0x38bdc9>0x0?0x0:0x80000000,_0x49e3fc,_0x1dfda3);else{if(isNaN(_0x38bdc9))_0x5e7cbb(0x7fc00000,_0x49e3fc,_0x1dfda3);else{if(_0x38bdc9>0xffffff00000000000000000000000000)_0x5e7cbb((_0x37a931<<0x1f|0x7f800000)>>>0x0,_0x49e3fc,_0x1dfda3);else{if(_0x38bdc9<1.1754943508222875e-38)_0x5e7cbb((_0x37a931<<0x1f|Math['round'](_0x38bdc9/1.401298464324817e-45))>>>0x0,_0x49e3fc,_0x1dfda3);else{var _0x3f1851=Math['floor'](Math['log'](_0x38bdc9)/Math['LN2']);_0x5e7cbb((_0x37a931<<0x1f|_0x3f1851+0x7f<<0x17|0x7fffff&Math['round'](_0x38bdc9*Math['pow'](0x2,-_0x3f1851)*0x800000))>>>0x0,_0x49e3fc,_0x1dfda3);}}}}}function _0x18b570(_0x322d3f,_0x3e4f74,_0x4d1e95){var _0xef807f=_0x322d3f(_0x3e4f74,_0x4d1e95),_0x408d47=0x2*(_0xef807f>>0x1f)+0x1,_0x2349b9=_0xef807f>>>0x17&0xff,_0x3daa1b=0x7fffff&_0xef807f;return 0xff===_0x2349b9?_0x3daa1b?NaN:_0x408d47*(0x1/0x0):0x0===_0x2349b9?1.401298464324817e-45*_0x408d47*_0x3daa1b:_0x408d47*Math['pow'](0x2,_0x2349b9-0x96)*(_0x3daa1b+0x800000);}_0x2e3d04['writeFloatLE']=_0xf3fdda['bind'](null,_0x25730c),_0x2e3d04['writeFloatBE']=_0xf3fdda['bind'](null,_0x575987),_0x2e3d04['readFloatLE']=_0x18b570['bind'](null,_0x15344b),_0x2e3d04['readFloatBE']=_0x18b570['bind'](null,_0x484748);}()),'undefined'!=typeof Float64Array?(function(){var _0x1a5118=new Float64Array([-0x0]),_0x1ed8ec=new Uint8Array(_0x1a5118['buffer']),_0x458cc6=0x80===_0x1ed8ec[0x7];function _0x3ef72a(_0x1ad874,_0x432c1c,_0x39b949){_0x1a5118[0x0]=_0x1ad874,_0x432c1c[_0x39b949]=_0x1ed8ec[0x0],_0x432c1c[_0x39b949+0x1]=_0x1ed8ec[0x1],_0x432c1c[_0x39b949+0x2]=_0x1ed8ec[0x2],_0x432c1c[_0x39b949+0x3]=_0x1ed8ec[0x3],_0x432c1c[_0x39b949+0x4]=_0x1ed8ec[0x4],_0x432c1c[_0x39b949+0x5]=_0x1ed8ec[0x5],_0x432c1c[_0x39b949+0x6]=_0x1ed8ec[0x6],_0x432c1c[_0x39b949+0x7]=_0x1ed8ec[0x7];}function _0x21b074(_0x24210e,_0xbff138,_0xcbc423){_0x1a5118[0x0]=_0x24210e,_0xbff138[_0xcbc423]=_0x1ed8ec[0x7],_0xbff138[_0xcbc423+0x1]=_0x1ed8ec[0x6],_0xbff138[_0xcbc423+0x2]=_0x1ed8ec[0x5],_0xbff138[_0xcbc423+0x3]=_0x1ed8ec[0x4],_0xbff138[_0xcbc423+0x4]=_0x1ed8ec[0x3],_0xbff138[_0xcbc423+0x5]=_0x1ed8ec[0x2],_0xbff138[_0xcbc423+0x6]=_0x1ed8ec[0x1],_0xbff138[_0xcbc423+0x7]=_0x1ed8ec[0x0];}function _0x56a41e(_0xc91596,_0x4c8584){return _0x1ed8ec[0x0]=_0xc91596[_0x4c8584],_0x1ed8ec[0x1]=_0xc91596[_0x4c8584+0x1],_0x1ed8ec[0x2]=_0xc91596[_0x4c8584+0x2],_0x1ed8ec[0x3]=_0xc91596[_0x4c8584+0x3],_0x1ed8ec[0x4]=_0xc91596[_0x4c8584+0x4],_0x1ed8ec[0x5]=_0xc91596[_0x4c8584+0x5],_0x1ed8ec[0x6]=_0xc91596[_0x4c8584+0x6],_0x1ed8ec[0x7]=_0xc91596[_0x4c8584+0x7],_0x1a5118[0x0];}function _0x1cfac9(_0x4e82b1,_0x13b3a1){return _0x1ed8ec[0x7]=_0x4e82b1[_0x13b3a1],_0x1ed8ec[0x6]=_0x4e82b1[_0x13b3a1+0x1],_0x1ed8ec[0x5]=_0x4e82b1[_0x13b3a1+0x2],_0x1ed8ec[0x4]=_0x4e82b1[_0x13b3a1+0x3],_0x1ed8ec[0x3]=_0x4e82b1[_0x13b3a1+0x4],_0x1ed8ec[0x2]=_0x4e82b1[_0x13b3a1+0x5],_0x1ed8ec[0x1]=_0x4e82b1[_0x13b3a1+0x6],_0x1ed8ec[0x0]=_0x4e82b1[_0x13b3a1+0x7],_0x1a5118[0x0];}_0x2e3d04['writeDoubleLE']=_0x458cc6?_0x3ef72a:_0x21b074,_0x2e3d04['writeDoubleBE']=_0x458cc6?_0x21b074:_0x3ef72a,_0x2e3d04['readDoubleLE']=_0x458cc6?_0x56a41e:_0x1cfac9,_0x2e3d04['readDoubleBE']=_0x458cc6?_0x1cfac9:_0x56a41e;}()):(function(){function _0x19435e(_0x1334b4,_0x201bd5,_0x46090d,_0x59d050,_0x35bb19,_0xf8b72a){var _0x5daf69=_0x59d050<0x0?0x1:0x0;if(_0x5daf69&&(_0x59d050=-_0x59d050),0x0===_0x59d050)_0x1334b4(0x0,_0x35bb19,_0xf8b72a+_0x201bd5),_0x1334b4(0x1/_0x59d050>0x0?0x0:0x80000000,_0x35bb19,_0xf8b72a+_0x46090d);else{if(isNaN(_0x59d050))_0x1334b4(0x0,_0x35bb19,_0xf8b72a+_0x201bd5),_0x1334b4(0x7ff80000,_0x35bb19,_0xf8b72a+_0x46090d);else{if(_0x59d050>0xfffffffffffff800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)_0x1334b4(0x0,_0x35bb19,_0xf8b72a+_0x201bd5),_0x1334b4((_0x5daf69<<0x1f|0x7ff00000)>>>0x0,_0x35bb19,_0xf8b72a+_0x46090d);else{var _0x5c2bd2;if(_0x59d050<2.2250738585072014e-308)_0x1334b4((_0x5c2bd2=_0x59d050/5e-324)>>>0x0,_0x35bb19,_0xf8b72a+_0x201bd5),_0x1334b4((_0x5daf69<<0x1f|_0x5c2bd2/0x100000000)>>>0x0,_0x35bb19,_0xf8b72a+_0x46090d);else{var _0x289d79=Math['floor'](Math['log'](_0x59d050)/Math['LN2']);0x400===_0x289d79&&(_0x289d79=0x3ff),_0x1334b4(0x10000000000000*(_0x5c2bd2=_0x59d050*Math['pow'](0x2,-_0x289d79))>>>0x0,_0x35bb19,_0xf8b72a+_0x201bd5),_0x1334b4((_0x5daf69<<0x1f|_0x289d79+0x3ff<<0x14|0x100000*_0x5c2bd2&0xfffff)>>>0x0,_0x35bb19,_0xf8b72a+_0x46090d);}}}}}function _0x5e6bf7(_0x58a8ef,_0x359d7f,_0x4c6b77,_0x5d03e7,_0x4d87da){var _0x32808d=_0x58a8ef(_0x5d03e7,_0x4d87da+_0x359d7f),_0x16f93f=_0x58a8ef(_0x5d03e7,_0x4d87da+_0x4c6b77),_0x4abf64=0x2*(_0x16f93f>>0x1f)+0x1,_0xf9741e=_0x16f93f>>>0x14&0x7ff,_0x501665=0x100000000*(0xfffff&_0x16f93f)+_0x32808d;return 0x7ff===_0xf9741e?_0x501665?NaN:_0x4abf64*(0x1/0x0):0x0===_0xf9741e?5e-324*_0x4abf64*_0x501665:_0x4abf64*Math['pow'](0x2,_0xf9741e-0x433)*(_0x501665+0x10000000000000);}_0x2e3d04['writeDoubleLE']=_0x19435e['bind'](null,_0x25730c,0x0,0x4),_0x2e3d04['writeDoubleBE']=_0x19435e['bind'](null,_0x575987,0x4,0x0),_0x2e3d04['readDoubleLE']=_0x5e6bf7['bind'](null,_0x15344b,0x0,0x4),_0x2e3d04['readDoubleBE']=_0x5e6bf7['bind'](null,_0x484748,0x4,0x0);}()),_0x2e3d04;}function _0x25730c(_0x30c251,_0xdd63bc,_0x235505){_0xdd63bc[_0x235505]=0xff&_0x30c251,_0xdd63bc[_0x235505+0x1]=_0x30c251>>>0x8&0xff,_0xdd63bc[_0x235505+0x2]=_0x30c251>>>0x10&0xff,_0xdd63bc[_0x235505+0x3]=_0x30c251>>>0x18;}function _0x575987(_0x35900e,_0x505c0d,_0x3f3d02){_0x505c0d[_0x3f3d02]=_0x35900e>>>0x18,_0x505c0d[_0x3f3d02+0x1]=_0x35900e>>>0x10&0xff,_0x505c0d[_0x3f3d02+0x2]=_0x35900e>>>0x8&0xff,_0x505c0d[_0x3f3d02+0x3]=0xff&_0x35900e;}function _0x15344b(_0x4b50b7,_0x56b16e){return(_0x4b50b7[_0x56b16e]|_0x4b50b7[_0x56b16e+0x1]<<0x8|_0x4b50b7[_0x56b16e+0x2]<<0x10|_0x4b50b7[_0x56b16e+0x3]<<0x18)>>>0x0;}function _0x484748(_0x16f8c1,_0xb172c7){return(_0x16f8c1[_0xb172c7]<<0x18|_0x16f8c1[_0xb172c7+0x1]<<0x10|_0x16f8c1[_0xb172c7+0x2]<<0x8|_0x16f8c1[_0xb172c7+0x3])>>>0x0;}_0x157cfa['exports']=_0x13668f(_0x13668f);}),fS=Xn(_0x54d542=>{var _0x12a627=_0x54d542;_0x12a627['length']=function(_0x35f655){for(var _0x3ff068=0x0,_0x76f387=0x0,_0x6e08c5=0x0;_0x6e08c5<_0x35f655['length'];++_0x6e08c5)(_0x76f387=_0x35f655['charCodeAt'](_0x6e08c5))<0x80?_0x3ff068+=0x1:_0x76f387<0x800?_0x3ff068+=0x2:0xd800==(0xfc00&_0x76f387)&&0xdc00==(0xfc00&_0x35f655['charCodeAt'](_0x6e08c5+0x1))?(++_0x6e08c5,_0x3ff068+=0x4):_0x3ff068+=0x3;return _0x3ff068;},_0x12a627['read']=function(_0x5e2f3c,_0x3693b3,_0x4fdbfc){if(_0x4fdbfc-_0x3693b3<0x1)return'';for(var _0xa5a05='',_0x5318b8=_0x3693b3;_0x5318b8<_0x4fdbfc;){var t=_0x5e2f3c[_0x5318b8++];if(t<=0x7f)_0xa5a05+=String['fromCharCode'](t);else{if(t>=0xc0&&t<0xe0){var _0x205033=(0x1f&t)<<0x6|0x3f&_0x5e2f3c[_0x5318b8++];_0xa5a05+=_0x205033>=0x80?String['fromCharCode'](_0x205033):'�';}else{if(t>=0xe0&&t<0xf0){var _0x3d509f=(0xf&t)<<0xc|(0x3f&_0x5e2f3c[_0x5318b8++])<<0x6|0x3f&_0x5e2f3c[_0x5318b8++];_0xa5a05+=_0x3d509f>=0x800?String['fromCharCode'](_0x3d509f):'�';}else{if(t>=0xf0){var _0x103ad3=(0x7&t)<<0x12|(0x3f&_0x5e2f3c[_0x5318b8++])<<0xc|(0x3f&_0x5e2f3c[_0x5318b8++])<<0x6|0x3f&_0x5e2f3c[_0x5318b8++];_0x103ad3<0x10000||_0x103ad3>0x10ffff?_0xa5a05+='�':(_0x103ad3-=0x10000,_0xa5a05+=String['fromCharCode'](0xd800+(_0x103ad3>>0xa)),_0xa5a05+=String['fromCharCode'](0xdc00+(0x3ff&_0x103ad3)));}}}}}return _0xa5a05;},_0x12a627['write']=function(_0x103f8e,_0x2c3aa0,_0x9d83d1){for(var _0x55cbec,_0x2d96fe,_0x112eb3=_0x9d83d1,_0x5e309f=0x0;_0x5e309f<_0x103f8e['length'];++_0x5e309f)(_0x55cbec=_0x103f8e['charCodeAt'](_0x5e309f))<0x80?_0x2c3aa0[_0x9d83d1++]=_0x55cbec:_0x55cbec<0x800?(_0x2c3aa0[_0x9d83d1++]=_0x55cbec>>0x6|0xc0,_0x2c3aa0[_0x9d83d1++]=0x3f&_0x55cbec|0x80):0xd800==(0xfc00&_0x55cbec)&&0xdc00==(0xfc00&(_0x2d96fe=_0x103f8e['charCodeAt'](_0x5e309f+0x1)))?(_0x55cbec=0x10000+((0x3ff&_0x55cbec)<<0xa)+(0x3ff&_0x2d96fe),++_0x5e309f,_0x2c3aa0[_0x9d83d1++]=_0x55cbec>>0x12|0xf0,_0x2c3aa0[_0x9d83d1++]=_0x55cbec>>0xc&0x3f|0x80,_0x2c3aa0[_0x9d83d1++]=_0x55cbec>>0x6&0x3f|0x80,_0x2c3aa0[_0x9d83d1++]=0x3f&_0x55cbec|0x80):(_0x2c3aa0[_0x9d83d1++]=_0x55cbec>>0xc|0xe0,_0x2c3aa0[_0x9d83d1++]=_0x55cbec>>0x6&0x3f|0x80,_0x2c3aa0[_0x9d83d1++]=0x3f&_0x55cbec|0x80);return _0x9d83d1-_0x112eb3;};}),mS=Xn((_0x5d9a8b,_0x51e17a)=>{_0x51e17a['exports']=function(_0x548db6,_0x277ea3,_0x381e24){var _0x59b1dc=_0x381e24||0x2000,_0x243259=_0x59b1dc>>>0x1,_0x482efc=null,_0x39a17d=_0x59b1dc;return function(_0x4f68df){if(_0x4f68df<0x1||_0x4f68df>_0x243259)return _0x548db6(_0x4f68df);_0x39a17d+_0x4f68df>_0x59b1dc&&(_0x482efc=_0x548db6(_0x59b1dc),_0x39a17d=0x0);var _0x19901f=_0x277ea3['call'](_0x482efc,_0x39a17d,_0x39a17d+=_0x4f68df);return 0x7&_0x39a17d&&(_0x39a17d=0x1+(0x7|_0x39a17d)),_0x19901f;};};}),pS=Xn((_0x450622,_0x5bd8c8)=>{_0x5bd8c8['exports']=_0x374a8f;var _0x24ff39=OS();function _0x374a8f(_0xdda2c2,_0x44dced){this['lo']=_0xdda2c2>>>0x0,this['hi']=_0x44dced>>>0x0;}var _0x39007b=_0x374a8f['zero']=new _0x374a8f(0x0,0x0);_0x39007b['toNumber']=function(){return 0x0;},_0x39007b['zzEncode']=_0x39007b['zzDecode']=function(){return this;},_0x39007b['length']=function(){return 0x1;};var _0x4b3535=_0x374a8f['zeroHash']='\x00\x00\x00\x00\x00\x00\x00\x00';_0x374a8f['fromNumber']=function(_0x4dfcbb){if(0x0===_0x4dfcbb)return _0x39007b;var _0x28dcd0=_0x4dfcbb<0x0;_0x28dcd0&&(_0x4dfcbb=-_0x4dfcbb);var _0x42e3f7=_0x4dfcbb>>>0x0,_0x18b88c=(_0x4dfcbb-_0x42e3f7)/0x100000000>>>0x0;return _0x28dcd0&&(_0x18b88c=~_0x18b88c>>>0x0,_0x42e3f7=~_0x42e3f7>>>0x0,++_0x42e3f7>0xffffffff&&(_0x42e3f7=0x0,++_0x18b88c>0xffffffff&&(_0x18b88c=0x0))),new _0x374a8f(_0x42e3f7,_0x18b88c);},_0x374a8f['from']=function(_0x196100){if('number'==typeof _0x196100)return _0x374a8f['fromNumber'](_0x196100);if(_0x24ff39['isString'](_0x196100)){if(!_0x24ff39['Long'])return _0x374a8f['fromNumber'](parseInt(_0x196100,0xa));_0x196100=_0x24ff39['Long']['fromString'](_0x196100);}return _0x196100['low']||_0x196100['high']?new _0x374a8f(_0x196100['low']>>>0x0,_0x196100['high']>>>0x0):_0x39007b;},_0x374a8f['prototype']['toNumber']=function(_0x57fa26){if(!_0x57fa26&&this['hi']>>>0x1f){var _0x3f2ed1=0x1+~this['lo']>>>0x0,_0x527701=~this['hi']>>>0x0;return _0x3f2ed1||(_0x527701=_0x527701+0x1>>>0x0),-(_0x3f2ed1+0x100000000*_0x527701);}return this['lo']+0x100000000*this['hi'];},_0x374a8f['prototype']['toLong']=function(_0x392503){return _0x24ff39['Long']?new _0x24ff39['Long'](0x0|this['lo'],0x0|this['hi'],Boolean(_0x392503)):{'low':0x0|this['lo'],'high':0x0|this['hi'],'unsigned':Boolean(_0x392503)};};var _0x3c4aa0=String['prototype']['charCodeAt'];_0x374a8f['fromHash']=function(_0x40ab60){return _0x40ab60===_0x4b3535?_0x39007b:new _0x374a8f((_0x3c4aa0['call'](_0x40ab60,0x0)|_0x3c4aa0['call'](_0x40ab60,0x1)<<0x8|_0x3c4aa0['call'](_0x40ab60,0x2)<<0x10|_0x3c4aa0['call'](_0x40ab60,0x3)<<0x18)>>>0x0,(_0x3c4aa0['call'](_0x40ab60,0x4)|_0x3c4aa0['call'](_0x40ab60,0x5)<<0x8|_0x3c4aa0['call'](_0x40ab60,0x6)<<0x10|_0x3c4aa0['call'](_0x40ab60,0x7)<<0x18)>>>0x0);},_0x374a8f['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);},_0x374a8f['prototype']['zzEncode']=function(){var _0x3fe7fd=this['hi']>>0x1f;return this['hi']=((this['hi']<<0x1|this['lo']>>>0x1f)^_0x3fe7fd)>>>0x0,this['lo']=(this['lo']<<0x1^_0x3fe7fd)>>>0x0,this;},_0x374a8f['prototype']['zzDecode']=function(){var _0x395b91=-(0x1&this['lo']);return this['lo']=((this['lo']>>>0x1|this['hi']<<0x1f)^_0x395b91)>>>0x0,this['hi']=(this['hi']>>>0x1^_0x395b91)>>>0x0,this;},_0x374a8f['prototype']['length']=function(){var _0x11b61e=this['lo'],_0x59c14e=(this['lo']>>>0x1c|this['hi']<<0x4)>>>0x0,_0x2c9214=this['hi']>>>0x18;return 0x0===_0x2c9214?0x0===_0x59c14e?_0x11b61e<0x4000?_0x11b61e<0x80?0x1:0x2:_0x11b61e<0x200000?0x3:0x4:_0x59c14e<0x4000?_0x59c14e<0x80?0x5:0x6:_0x59c14e<0x200000?0x7:0x8:_0x2c9214<0x80?0x9:0xa;};}),gS=Xn((_0x22d7a4,_0x12066c)=>{!function(_0x177903,_0x5122bf){function _0x2578c3(_0x15bc32){return _0x15bc32['default']||_0x15bc32;}var _0x4cc364;'function'==typeof define&&define['amd']?define([],function(){var _0x47a944={};return _0x5122bf(_0x47a944),_0x2578c3(_0x47a944);}):'object'==typeof _0x22d7a4?(_0x5122bf(_0x22d7a4),'object'==typeof _0x12066c&&(_0x12066c['exports']=_0x2578c3(_0x22d7a4))):(_0x5122bf(_0x4cc364={}),_0x177903['Long']=_0x2578c3(_0x4cc364));}('undefined'!=typeof globalThis?globalThis:'undefined'!=typeof self?self:_0x22d7a4,function(_0x27822f){'use strict';Object['defineProperty'](_0x27822f,'__esModule',{'value':!0x0}),_0x27822f['default']=void 0x0;var _0x479e38=null;try{_0x479e38=new WebAssembly['Instance'](new WebAssembly['Module'](new Uint8Array([0x0,0x61,0x73,0x6d,0x1,0x0,0x0,0x0,0x1,0xd,0x2,0x60,0x0,0x1,0x7f,0x60,0x4,0x7f,0x7f,0x7f,0x7f,0x1,0x7f,0x3,0x7,0x6,0x0,0x1,0x1,0x1,0x1,0x1,0x6,0x6,0x1,0x7f,0x1,0x41,0x0,0xb,0x7,0x32,0x6,0x3,0x6d,0x75,0x6c,0x0,0x1,0x5,0x64,0x69,0x76,0x5f,0x73,0x0,0x2,0x5,0x64,0x69,0x76,0x5f,0x75,0x0,0x3,0x5,0x72,0x65,0x6d,0x5f,0x73,0x0,0x4,0x5,0x72,0x65,0x6d,0x5f,0x75,0x0,0x5,0x8,0x67,0x65,0x74,0x5f,0x68,0x69,0x67,0x68,0x0,0x0,0xa,0xbf,0x1,0x6,0x4,0x0,0x23,0x0,0xb,0x24,0x1,0x1,0x7e,0x20,0x0,0xad,0x20,0x1,0xad,0x42,0x20,0x86,0x84,0x20,0x2,0xad,0x20,0x3,0xad,0x42,0x20,0x86,0x84,0x7e,0x22,0x4,0x42,0x20,0x87,0xa7,0x24,0x0,0x20,0x4,0xa7,0xb,0x24,0x1,0x1,0x7e,0x20,0x0,0xad,0x20,0x1,0xad,0x42,0x20,0x86,0x84,0x20,0x2,0xad,0x20,0x3,0xad,0x42,0x20,0x86,0x84,0x7f,0x22,0x4,0x42,0x20,0x87,0xa7,0x24,0x0,0x20,0x4,0xa7,0xb,0x24,0x1,0x1,0x7e,0x20,0x0,0xad,0x20,0x1,0xad,0x42,0x20,0x86,0x84,0x20,0x2,0xad,0x20,0x3,0xad,0x42,0x20,0x86,0x84,0x80,0x22,0x4,0x42,0x20,0x87,0xa7,0x24,0x0,0x20,0x4,0xa7,0xb,0x24,0x1,0x1,0x7e,0x20,0x0,0xad,0x20,0x1,0xad,0x42,0x20,0x86,0x84,0x20,0x2,0xad,0x20,0x3,0xad,0x42,0x20,0x86,0x84,0x81,0x22,0x4,0x42,0x20,0x87,0xa7,0x24,0x0,0x20,0x4,0xa7,0xb,0x24,0x1,0x1,0x7e,0x20,0x0,0xad,0x20,0x1,0xad,0x42,0x20,0x86,0x84,0x20,0x2,0xad,0x20,0x3,0xad,0x42,0x20,0x86,0x84,0x82,0x22,0x4,0x42,0x20,0x87,0xa7,0x24,0x0,0x20,0x4,0xa7,0xb])),{})['exports'];}catch{}function _0x83367(_0x43531e,_0x54b95f,_0x416a1b){this['low']=0x0|_0x43531e,this['high']=0x0|_0x54b95f,this['unsigned']=!!_0x416a1b;}function _0x1f4916(_0x414796){return!0x0===(_0x414796&&_0x414796['__isLong__']);}function _0x54e489(_0x7a3027){var _0x4b9047=Math['clz32'](_0x7a3027&-_0x7a3027);return _0x7a3027?0x1f-_0x4b9047:_0x4b9047;}_0x83367['prototype']['__isLong__'],Object['defineProperty'](_0x83367['prototype'],'__isLong__',{'value':!0x0}),_0x83367['isLong']=_0x1f4916;var _0x4cc14e={},_0x3d25da={};function _0x2defe4(_0x4fe0c1,_0x2e779d){var _0x306ebd,_0x1238df,_0x4f9496;return _0x2e779d?(_0x4f9496=0x0<=(_0x4fe0c1>>>=0x0)&&_0x4fe0c1<0x100)&&(_0x1238df=_0x3d25da[_0x4fe0c1])?_0x1238df:(_0x306ebd=_0x57091a(_0x4fe0c1,0x0,!0x0),_0x4f9496&&(_0x3d25da[_0x4fe0c1]=_0x306ebd),_0x306ebd):(_0x4f9496=-0x80<=(_0x4fe0c1|=0x0)&&_0x4fe0c1<0x80)&&(_0x1238df=_0x4cc14e[_0x4fe0c1])?_0x1238df:(_0x306ebd=_0x57091a(_0x4fe0c1,_0x4fe0c1<0x0?-0x1:0x0,!0x1),_0x4f9496&&(_0x4cc14e[_0x4fe0c1]=_0x306ebd),_0x306ebd);}function _0x572653(_0x429d61,_0x4eb0f8){if(isNaN(_0x429d61))return _0x4eb0f8?_0x5b504d:_0x1962bf;if(_0x4eb0f8){if(_0x429d61<0x0)return _0x5b504d;if(_0x429d61>=_0x8f7a6d)return _0x219a0a;}else{if(_0x429d61<=-_0x1de28c)return _0x16177f;if(_0x429d61+0x1>=_0x1de28c)return _0x223c12;}return _0x429d61<0x0?_0x572653(-_0x429d61,_0x4eb0f8)['neg']():_0x57091a(_0x429d61%_0x268f1f|0x0,_0x429d61/_0x268f1f|0x0,_0x4eb0f8);}function _0x57091a(_0x16a524,_0x359bee,_0x52127d){return new _0x83367(_0x16a524,_0x359bee,_0x52127d);}_0x83367['fromInt']=_0x2defe4,_0x83367['fromNumber']=_0x572653,_0x83367['fromBits']=_0x57091a;var _0x30b9d9=Math['pow'];function _0x55a641(_0x5dbe6d,_0x37945b,_0x312783){if(0x0===_0x5dbe6d['length'])throw Error('empty\x20string');if('number'==typeof _0x37945b?(_0x312783=_0x37945b,_0x37945b=!0x1):_0x37945b=!!_0x37945b,'NaN'===_0x5dbe6d||'Infinity'===_0x5dbe6d||'+Infinity'===_0x5dbe6d||'-Infinity'===_0x5dbe6d)return _0x37945b?_0x5b504d:_0x1962bf;if((_0x312783=_0x312783||0xa)<0x2||0x24<_0x312783)throw RangeError('radix');var _0x3db446;if((_0x3db446=_0x5dbe6d['indexOf']('-'))>0x0)throw Error('interior\x20hyphen');if(0x0===_0x3db446)return _0x55a641(_0x5dbe6d['substring'](0x1),_0x37945b,_0x312783)['neg']();for(var _0x544c2d=_0x572653(_0x30b9d9(_0x312783,0x8)),_0x1d8814=_0x1962bf,_0x3da230=0x0;_0x3da230<_0x5dbe6d['length'];_0x3da230+=0x8){var _0x59f2c3=Math['min'](0x8,_0x5dbe6d['length']-_0x3da230),_0x3c259d=parseInt(_0x5dbe6d['substring'](_0x3da230,_0x3da230+_0x59f2c3),_0x312783);if(_0x59f2c3<0x8){var _0x18bed0=_0x572653(_0x30b9d9(_0x312783,_0x59f2c3));_0x1d8814=_0x1d8814['mul'](_0x18bed0)['add'](_0x572653(_0x3c259d));}else _0x1d8814=(_0x1d8814=_0x1d8814['mul'](_0x544c2d))['add'](_0x572653(_0x3c259d));}return _0x1d8814['unsigned']=_0x37945b,_0x1d8814;}function _0x472251(_0x56488d,_0x41e8c6){return'number'==typeof _0x56488d?_0x572653(_0x56488d,_0x41e8c6):'string'==typeof _0x56488d?_0x55a641(_0x56488d,_0x41e8c6):_0x57091a(_0x56488d['low'],_0x56488d['high'],'boolean'==typeof _0x41e8c6?_0x41e8c6:_0x56488d['unsigned']);}_0x83367['fromString']=_0x55a641,_0x83367['fromValue']=_0x472251;var _0x268f1f=0x100000000,_0x8f7a6d=_0x268f1f*_0x268f1f,_0x1de28c=_0x8f7a6d/0x2,_0x8917a9=_0x2defe4(0x1<<0x18),_0x1962bf=_0x2defe4(0x0);_0x83367['ZERO']=_0x1962bf;var _0x5b504d=_0x2defe4(0x0,!0x0);_0x83367['UZERO']=_0x5b504d;var _0x22282d=_0x2defe4(0x1);_0x83367['ONE']=_0x22282d;var _0x3b8c34=_0x2defe4(0x1,!0x0);_0x83367['UONE']=_0x3b8c34;var _0x77fcbd=_0x2defe4(-0x1);_0x83367['NEG_ONE']=_0x77fcbd;var _0x223c12=_0x57091a(-0x1,0x7fffffff,!0x1);_0x83367['MAX_VALUE']=_0x223c12;var _0x219a0a=_0x57091a(-0x1,-0x1,!0x0);_0x83367['MAX_UNSIGNED_VALUE']=_0x219a0a;var _0x16177f=_0x57091a(0x0,-0x80000000,!0x1);_0x83367['MIN_VALUE']=_0x16177f;var _0x526766=_0x83367['prototype'];_0x526766['toInt']=function(){return this['unsigned']?this['low']>>>0x0:this['low'];},_0x526766['toNumber']=function(){return this['unsigned']?(this['high']>>>0x0)*_0x268f1f+(this['low']>>>0x0):this['high']*_0x268f1f+(this['low']>>>0x0);},_0x526766['toString']=function(_0x5aaa55){if((_0x5aaa55=_0x5aaa55||0xa)<0x2||0x24<_0x5aaa55)throw RangeError('radix');if(this['isZero']())return'0';if(this['isNegative']()){if(this['eq'](_0x16177f)){var _0x2f0b65=_0x572653(_0x5aaa55),_0xc6195b=this['div'](_0x2f0b65),_0xecc136=_0xc6195b['mul'](_0x2f0b65)['sub'](this);return _0xc6195b['toString'](_0x5aaa55)+_0xecc136['toInt']()['toString'](_0x5aaa55);}return'-'+this['neg']()['toString'](_0x5aaa55);}for(var _0x1d42b5=_0x572653(_0x30b9d9(_0x5aaa55,0x6),this['unsigned']),_0x5cda76=this,_0x4a252d='';;){var _0x52dd16=_0x5cda76['div'](_0x1d42b5),_0x5ca375=(_0x5cda76['sub'](_0x52dd16['mul'](_0x1d42b5))['toInt']()>>>0x0)['toString'](_0x5aaa55);if((_0x5cda76=_0x52dd16)['isZero']())return _0x5ca375+_0x4a252d;for(;_0x5ca375['length']<0x6;)_0x5ca375='0'+_0x5ca375;_0x4a252d=''+_0x5ca375+_0x4a252d;}},_0x526766['getHighBits']=function(){return this['high'];},_0x526766['getHighBitsUnsigned']=function(){return this['high']>>>0x0;},_0x526766['getLowBits']=function(){return this['low'];},_0x526766['getLowBitsUnsigned']=function(){return this['low']>>>0x0;},_0x526766['getNumBitsAbs']=function(){if(this['isNegative']())return this['eq'](_0x16177f)?0x40:this['neg']()['getNumBitsAbs']();for(var _0x119d0d=0x0!=this['high']?this['high']:this['low'],_0x2dff88=0x1f;_0x2dff88>0x0&&!(_0x119d0d&0x1<<_0x2dff88);_0x2dff88--);return 0x0!=this['high']?_0x2dff88+0x21:_0x2dff88+0x1;},_0x526766['isSafeInteger']=function(){var _0x2c1483=this['high']>>0x15;return!_0x2c1483||!this['unsigned']&&(-0x1===_0x2c1483&&!(0x0===this['low']&&-0x200000===this['high']));},_0x526766['isZero']=function(){return 0x0===this['high']&&0x0===this['low'];},_0x526766['eqz']=_0x526766['isZero'],_0x526766['isNegative']=function(){return!this['unsigned']&&this['high']<0x0;},_0x526766['isPositive']=function(){return this['unsigned']||this['high']>=0x0;},_0x526766['isOdd']=function(){return!(0x1&~this['low']);},_0x526766['isEven']=function(){return!(0x1&this['low']);},_0x526766['equals']=function(_0x303842){return _0x1f4916(_0x303842)||(_0x303842=_0x472251(_0x303842)),(this['unsigned']===_0x303842['unsigned']||this['high']>>>0x1f!=0x1||_0x303842['high']>>>0x1f!=0x1)&&(this['high']===_0x303842['high']&&this['low']===_0x303842['low']);},_0x526766['eq']=_0x526766['equals'],_0x526766['notEquals']=function(_0x16513e){return!this['eq'](_0x16513e);},_0x526766['neq']=_0x526766['notEquals'],_0x526766['ne']=_0x526766['notEquals'],_0x526766['lessThan']=function(_0x4b2d1d){return this['comp'](_0x4b2d1d)<0x0;},_0x526766['lt']=_0x526766['lessThan'],_0x526766['lessThanOrEqual']=function(_0x51478f){return this['comp'](_0x51478f)<=0x0;},_0x526766['lte']=_0x526766['lessThanOrEqual'],_0x526766['le']=_0x526766['lessThanOrEqual'],_0x526766['greaterThan']=function(_0x59e5e3){return this['comp'](_0x59e5e3)>0x0;},_0x526766['gt']=_0x526766['greaterThan'],_0x526766['greaterThanOrEqual']=function(_0x184f85){return this['comp'](_0x184f85)>=0x0;},_0x526766['gte']=_0x526766['greaterThanOrEqual'],_0x526766['ge']=_0x526766['greaterThanOrEqual'],_0x526766['compare']=function(_0x3dd0b1){if(_0x1f4916(_0x3dd0b1)||(_0x3dd0b1=_0x472251(_0x3dd0b1)),this['eq'](_0x3dd0b1))return 0x0;var _0x2d9fdc=this['isNegative'](),_0xb647a3=_0x3dd0b1['isNegative']();return _0x2d9fdc&&!_0xb647a3?-0x1:!_0x2d9fdc&&_0xb647a3?0x1:this['unsigned']?_0x3dd0b1['high']>>>0x0>this['high']>>>0x0||_0x3dd0b1['high']===this['high']&&_0x3dd0b1['low']>>>0x0>this['low']>>>0x0?-0x1:0x1:this['sub'](_0x3dd0b1)['isNegative']()?-0x1:0x1;},_0x526766['comp']=_0x526766['compare'],_0x526766['negate']=function(){return!this['unsigned']&&this['eq'](_0x16177f)?_0x16177f:this['not']()['add'](_0x22282d);},_0x526766['neg']=_0x526766['negate'],_0x526766['add']=function(_0xcc9c81){_0x1f4916(_0xcc9c81)||(_0xcc9c81=_0x472251(_0xcc9c81));var _0x48c747=this['high']>>>0x10,_0x2b423=0xffff&this['high'],_0x45d26d=this['low']>>>0x10,_0x3111f2=0xffff&this['low'],_0x4f820b=_0xcc9c81['high']>>>0x10,_0x1269fc=0xffff&_0xcc9c81['high'],_0x283605=_0xcc9c81['low']>>>0x10,_0x45e33a=0x0,_0x3422ef=0x0,_0x30311f=0x0,_0x43ce22=0x0;return _0x30311f+=(_0x43ce22+=_0x3111f2+(0xffff&_0xcc9c81['low']))>>>0x10,_0x3422ef+=(_0x30311f+=_0x45d26d+_0x283605)>>>0x10,_0x45e33a+=(_0x3422ef+=_0x2b423+_0x1269fc)>>>0x10,_0x45e33a+=_0x48c747+_0x4f820b,_0x57091a((_0x30311f&=0xffff)<<0x10|(_0x43ce22&=0xffff),(_0x45e33a&=0xffff)<<0x10|(_0x3422ef&=0xffff),this['unsigned']);},_0x526766['subtract']=function(_0x3915d6){return _0x1f4916(_0x3915d6)||(_0x3915d6=_0x472251(_0x3915d6)),this['add'](_0x3915d6['neg']());},_0x526766['sub']=_0x526766['subtract'],_0x526766['multiply']=function(_0x1fc86d){if(this['isZero']())return this;if(_0x1f4916(_0x1fc86d)||(_0x1fc86d=_0x472251(_0x1fc86d)),_0x479e38)return _0x57091a(_0x479e38['mul'](this['low'],this['high'],_0x1fc86d['low'],_0x1fc86d['high']),_0x479e38['get_high'](),this['unsigned']);if(_0x1fc86d['isZero']())return this['unsigned']?_0x5b504d:_0x1962bf;if(this['eq'](_0x16177f))return _0x1fc86d['isOdd']()?_0x16177f:_0x1962bf;if(_0x1fc86d['eq'](_0x16177f))return this['isOdd']()?_0x16177f:_0x1962bf;if(this['isNegative']())return _0x1fc86d['isNegative']()?this['neg']()['mul'](_0x1fc86d['neg']()):this['neg']()['mul'](_0x1fc86d)['neg']();if(_0x1fc86d['isNegative']())return this['mul'](_0x1fc86d['neg']())['neg']();if(this['lt'](_0x8917a9)&&_0x1fc86d['lt'](_0x8917a9))return _0x572653(this['toNumber']()*_0x1fc86d['toNumber'](),this['unsigned']);var _0x1bd31b=this['high']>>>0x10,_0xd44ca3=0xffff&this['high'],_0x181d31=this['low']>>>0x10,_0x13a160=0xffff&this['low'],_0x3e1f70=_0x1fc86d['high']>>>0x10,_0x188a6c=0xffff&_0x1fc86d['high'],_0xa48288=_0x1fc86d['low']>>>0x10,_0x450dcd=0xffff&_0x1fc86d['low'],_0x52f583=0x0,_0x374d78=0x0,_0x3631b1=0x0,_0x2845fb=0x0;return _0x3631b1+=(_0x2845fb+=_0x13a160*_0x450dcd)>>>0x10,_0x374d78+=(_0x3631b1+=_0x181d31*_0x450dcd)>>>0x10,_0x3631b1&=0xffff,_0x374d78+=(_0x3631b1+=_0x13a160*_0xa48288)>>>0x10,_0x52f583+=(_0x374d78+=_0xd44ca3*_0x450dcd)>>>0x10,_0x374d78&=0xffff,_0x52f583+=(_0x374d78+=_0x181d31*_0xa48288)>>>0x10,_0x374d78&=0xffff,_0x52f583+=(_0x374d78+=_0x13a160*_0x188a6c)>>>0x10,_0x52f583+=_0x1bd31b*_0x450dcd+_0xd44ca3*_0xa48288+_0x181d31*_0x188a6c+_0x13a160*_0x3e1f70,_0x57091a((_0x3631b1&=0xffff)<<0x10|(_0x2845fb&=0xffff),(_0x52f583&=0xffff)<<0x10|(_0x374d78&=0xffff),this['unsigned']);},_0x526766['mul']=_0x526766['multiply'],_0x526766['divide']=function(_0x156c22){if(_0x1f4916(_0x156c22)||(_0x156c22=_0x472251(_0x156c22)),_0x156c22['isZero']())throw Error('division\x20by\x20zero');if(_0x479e38)return this['unsigned']||-0x80000000!==this['high']||-0x1!==_0x156c22['low']||-0x1!==_0x156c22['high']?_0x57091a((this['unsigned']?_0x479e38['div_u']:_0x479e38['div_s'])(this['low'],this['high'],_0x156c22['low'],_0x156c22['high']),_0x479e38['get_high'](),this['unsigned']):this;if(this['isZero']())return this['unsigned']?_0x5b504d:_0x1962bf;var _0x2ff200,_0x2ddbf0,_0x6069c;if(this['unsigned']){if(_0x156c22['unsigned']||(_0x156c22=_0x156c22['toUnsigned']()),_0x156c22['gt'](this))return _0x5b504d;if(_0x156c22['gt'](this['shru'](0x1)))return _0x3b8c34;_0x6069c=_0x5b504d;}else{if(this['eq'](_0x16177f))return _0x156c22['eq'](_0x22282d)||_0x156c22['eq'](_0x77fcbd)?_0x16177f:_0x156c22['eq'](_0x16177f)?_0x22282d:(_0x2ff200=this['shr'](0x1)['div'](_0x156c22)['shl'](0x1))['eq'](_0x1962bf)?_0x156c22['isNegative']()?_0x22282d:_0x77fcbd:(_0x2ddbf0=this['sub'](_0x156c22['mul'](_0x2ff200)),_0x6069c=_0x2ff200['add'](_0x2ddbf0['div'](_0x156c22)));if(_0x156c22['eq'](_0x16177f))return this['unsigned']?_0x5b504d:_0x1962bf;if(this['isNegative']())return _0x156c22['isNegative']()?this['neg']()['div'](_0x156c22['neg']()):this['neg']()['div'](_0x156c22)['neg']();if(_0x156c22['isNegative']())return this['div'](_0x156c22['neg']())['neg']();_0x6069c=_0x1962bf;}for(_0x2ddbf0=this;_0x2ddbf0['gte'](_0x156c22);){_0x2ff200=Math['max'](0x1,Math['floor'](_0x2ddbf0['toNumber']()/_0x156c22['toNumber']()));for(var _0x515b42=Math['ceil'](Math['log'](_0x2ff200)/Math['LN2']),_0x30084d=_0x515b42<=0x30?0x1:_0x30b9d9(0x2,_0x515b42-0x30),_0x24c114=_0x572653(_0x2ff200),_0x28c293=_0x24c114['mul'](_0x156c22);_0x28c293['isNegative']()||_0x28c293['gt'](_0x2ddbf0);)_0x28c293=(_0x24c114=_0x572653(_0x2ff200-=_0x30084d,this['unsigned']))['mul'](_0x156c22);_0x24c114['isZero']()&&(_0x24c114=_0x22282d),_0x6069c=_0x6069c['add'](_0x24c114),_0x2ddbf0=_0x2ddbf0['sub'](_0x28c293);}return _0x6069c;},_0x526766['div']=_0x526766['divide'],_0x526766['modulo']=function(_0x3b06fd){return _0x1f4916(_0x3b06fd)||(_0x3b06fd=_0x472251(_0x3b06fd)),_0x479e38?_0x57091a((this['unsigned']?_0x479e38['rem_u']:_0x479e38['rem_s'])(this['low'],this['high'],_0x3b06fd['low'],_0x3b06fd['high']),_0x479e38['get_high'](),this['unsigned']):this['sub'](this['div'](_0x3b06fd)['mul'](_0x3b06fd));},_0x526766['mod']=_0x526766['modulo'],_0x526766['rem']=_0x526766['modulo'],_0x526766['not']=function(){return _0x57091a(~this['low'],~this['high'],this['unsigned']);},_0x526766['countLeadingZeros']=function(){return this['high']?Math['clz32'](this['high']):Math['clz32'](this['low'])+0x20;},_0x526766['clz']=_0x526766['countLeadingZeros'],_0x526766['countTrailingZeros']=function(){return this['low']?_0x54e489(this['low']):_0x54e489(this['high'])+0x20;},_0x526766['ctz']=_0x526766['countTrailingZeros'],_0x526766['and']=function(_0x2e1e3d){return _0x1f4916(_0x2e1e3d)||(_0x2e1e3d=_0x472251(_0x2e1e3d)),_0x57091a(this['low']&_0x2e1e3d['low'],this['high']&_0x2e1e3d['high'],this['unsigned']);},_0x526766['or']=function(_0x1d437d){return _0x1f4916(_0x1d437d)||(_0x1d437d=_0x472251(_0x1d437d)),_0x57091a(this['low']|_0x1d437d['low'],this['high']|_0x1d437d['high'],this['unsigned']);},_0x526766['xor']=function(_0x5636a9){return _0x1f4916(_0x5636a9)||(_0x5636a9=_0x472251(_0x5636a9)),_0x57091a(this['low']^_0x5636a9['low'],this['high']^_0x5636a9['high'],this['unsigned']);},_0x526766['shiftLeft']=function(_0x3d5ec2){return _0x1f4916(_0x3d5ec2)&&(_0x3d5ec2=_0x3d5ec2['toInt']()),0x0==(_0x3d5ec2&=0x3f)?this:_0x3d5ec2<0x20?_0x57091a(this['low']<<_0x3d5ec2,this['high']<<_0x3d5ec2|this['low']>>>0x20-_0x3d5ec2,this['unsigned']):_0x57091a(0x0,this['low']<<_0x3d5ec2-0x20,this['unsigned']);},_0x526766['shl']=_0x526766['shiftLeft'],_0x526766['shiftRight']=function(_0x5cee07){return _0x1f4916(_0x5cee07)&&(_0x5cee07=_0x5cee07['toInt']()),0x0==(_0x5cee07&=0x3f)?this:_0x5cee07<0x20?_0x57091a(this['low']>>>_0x5cee07|this['high']<<0x20-_0x5cee07,this['high']>>_0x5cee07,this['unsigned']):_0x57091a(this['high']>>_0x5cee07-0x20,this['high']>=0x0?0x0:-0x1,this['unsigned']);},_0x526766['shr']=_0x526766['shiftRight'],_0x526766['shiftRightUnsigned']=function(_0x30eaf1){return _0x1f4916(_0x30eaf1)&&(_0x30eaf1=_0x30eaf1['toInt']()),0x0==(_0x30eaf1&=0x3f)?this:_0x30eaf1<0x20?_0x57091a(this['low']>>>_0x30eaf1|this['high']<<0x20-_0x30eaf1,this['high']>>>_0x30eaf1,this['unsigned']):_0x57091a(0x20===_0x30eaf1?this['high']:this['high']>>>_0x30eaf1-0x20,0x0,this['unsigned']);},_0x526766['shru']=_0x526766['shiftRightUnsigned'],_0x526766['shr_u']=_0x526766['shiftRightUnsigned'],_0x526766['rotateLeft']=function(_0x3e40b2){var _0x1b0fd6;return _0x1f4916(_0x3e40b2)&&(_0x3e40b2=_0x3e40b2['toInt']()),0x0==(_0x3e40b2&=0x3f)?this:0x20===_0x3e40b2?_0x57091a(this['high'],this['low'],this['unsigned']):_0x3e40b2<0x20?(_0x1b0fd6=0x20-_0x3e40b2,_0x57091a(this['low']<<_0x3e40b2|this['high']>>>_0x1b0fd6,this['high']<<_0x3e40b2|this['low']>>>_0x1b0fd6,this['unsigned'])):(_0x1b0fd6=0x20-(_0x3e40b2-=0x20),_0x57091a(this['high']<<_0x3e40b2|this['low']>>>_0x1b0fd6,this['low']<<_0x3e40b2|this['high']>>>_0x1b0fd6,this['unsigned']));},_0x526766['rotl']=_0x526766['rotateLeft'],_0x526766['rotateRight']=function(_0x352738){var _0x2adbc5;return _0x1f4916(_0x352738)&&(_0x352738=_0x352738['toInt']()),0x0==(_0x352738&=0x3f)?this:0x20===_0x352738?_0x57091a(this['high'],this['low'],this['unsigned']):_0x352738<0x20?(_0x2adbc5=0x20-_0x352738,_0x57091a(this['high']<<_0x2adbc5|this['low']>>>_0x352738,this['low']<<_0x2adbc5|this['high']>>>_0x352738,this['unsigned'])):(_0x2adbc5=0x20-(_0x352738-=0x20),_0x57091a(this['low']<<_0x2adbc5|this['high']>>>_0x352738,this['high']<<_0x2adbc5|this['low']>>>_0x352738,this['unsigned']));},_0x526766['rotr']=_0x526766['rotateRight'],_0x526766['toSigned']=function(){return this['unsigned']?_0x57091a(this['low'],this['high'],!0x1):this;},_0x526766['toUnsigned']=function(){return this['unsigned']?this:_0x57091a(this['low'],this['high'],!0x0);},_0x526766['toBytes']=function(_0x1da005){return _0x1da005?this['toBytesLE']():this['toBytesBE']();},_0x526766['toBytesLE']=function(){var _0x169f0d=this['high'],_0x5216f4=this['low'];return[0xff&_0x5216f4,_0x5216f4>>>0x8&0xff,_0x5216f4>>>0x10&0xff,_0x5216f4>>>0x18,0xff&_0x169f0d,_0x169f0d>>>0x8&0xff,_0x169f0d>>>0x10&0xff,_0x169f0d>>>0x18];},_0x526766['toBytesBE']=function(){var _0xba4f03=this['high'],_0x32561c=this['low'];return[_0xba4f03>>>0x18,_0xba4f03>>>0x10&0xff,_0xba4f03>>>0x8&0xff,0xff&_0xba4f03,_0x32561c>>>0x18,_0x32561c>>>0x10&0xff,_0x32561c>>>0x8&0xff,0xff&_0x32561c];},_0x83367['fromBytes']=function(_0x460806,_0x1e6aa2,_0x3cd99d){return _0x3cd99d?_0x83367['fromBytesLE'](_0x460806,_0x1e6aa2):_0x83367['fromBytesBE'](_0x460806,_0x1e6aa2);},_0x83367['fromBytesLE']=function(_0x6076ad,_0xdcd666){return new _0x83367(_0x6076ad[0x0]|_0x6076ad[0x1]<<0x8|_0x6076ad[0x2]<<0x10|_0x6076ad[0x3]<<0x18,_0x6076ad[0x4]|_0x6076ad[0x5]<<0x8|_0x6076ad[0x6]<<0x10|_0x6076ad[0x7]<<0x18,_0xdcd666);},_0x83367['fromBytesBE']=function(_0x3c2640,_0x576a03){return new _0x83367(_0x3c2640[0x4]<<0x18|_0x3c2640[0x5]<<0x10|_0x3c2640[0x6]<<0x8|_0x3c2640[0x7],_0x3c2640[0x0]<<0x18|_0x3c2640[0x1]<<0x10|_0x3c2640[0x2]<<0x8|_0x3c2640[0x3],_0x576a03);},'function'==typeof BigInt&&(_0x83367['fromBigInt']=function(_0x3a396e,_0x216ac9){return _0x57091a(Number(BigInt['asIntN'](0x20,_0x3a396e)),Number(BigInt['asIntN'](0x20,_0x3a396e>>BigInt(0x20))),_0x216ac9);},_0x83367['fromValue']=function(_0x745b6b,_0x40e632){return'bigint'==typeof _0x745b6b?_0x83367['fromBigInt'](_0x745b6b,_0x40e632):_0x472251(_0x745b6b,_0x40e632);},_0x526766['toBigInt']=function(){var _0x22faff=BigInt(this['low']>>>0x0);return BigInt(this['unsigned']?this['high']>>>0x0:this['high'])<<BigInt(0x20)|_0x22faff;}),_0x27822f['default']=_0x83367;});}),OS=Xn(_0x4b9177=>{var _0x4d851c=_0x4b9177;function _0x1be4f9(_0x58ab6c){return'__proto__'===_0x58ab6c||'prototype'===_0x58ab6c||'constructor'===_0x58ab6c;}function _0x561ee2(_0x20961d){var _0x481498='boolean'==typeof arguments[arguments['length']-0x1],_0x6dcd50=_0x481498?arguments['length']-0x1:arguments['length'];_0x481498=_0x481498&&arguments[arguments['length']-0x1];for(var _0x203af8=0x1;_0x203af8<_0x6dcd50;++_0x203af8){var _0x187138=arguments[_0x203af8];if(_0x187138){for(var _0x23101a=Object['keys'](_0x187138),_0x251b47=0x0;_0x251b47<_0x23101a['length'];++_0x251b47)_0x1be4f9(_0x23101a[_0x251b47])||void 0x0!==_0x20961d[_0x23101a[_0x251b47]]&&_0x481498||(_0x20961d[_0x23101a[_0x251b47]]=_0x187138[_0x23101a[_0x251b47]]);}}return _0x20961d;}function _0x5bac39(_0x1682b7){function _0x21f840(_0x33efa9,_0x6b4acc){if(!(this instanceof _0x21f840))return new _0x21f840(_0x33efa9,_0x6b4acc);Object['defineProperty'](this,'message',{'get':function(){return _0x33efa9;}}),Error['captureStackTrace']?Error['captureStackTrace'](this,_0x21f840):Object['defineProperty'](this,'stack',{'value':new Error()['stack']||''}),_0x6b4acc&&_0x561ee2(this,_0x6b4acc);}return _0x21f840['prototype']=Object['create'](Error['prototype'],{'constructor':{'value':_0x21f840,'writable':!0x0,'enumerable':!0x1,'configurable':!0x0},'name':{'get':function(){return _0x1682b7;},'set':void 0x0,'enumerable':!0x1,'configurable':!0x0},'toString':{'value':function(){return this['name']+':\x20'+this['message'];},'writable':!0x0,'enumerable':!0x1,'configurable':!0x0}}),_0x21f840;}_0x4d851c['asPromise']=lS(),_0x4d851c['base64']=hS(),_0x4d851c['EventEmitter']=uS(),_0x4d851c['float']=dS(),_0x4d851c['utf8']=fS(),_0x4d851c['pool']=mS(),_0x4d851c['LongBits']=pS(),_0x4d851c['isUnsafeProperty']=_0x1be4f9,_0x4d851c['isNode']=Boolean('undefined'!=typeof global&&global&&global['process']&&global['process']['versions']&&global['process']['versions']['node']),_0x4d851c['global']=_0x4d851c['isNode']&&global||'undefined'!=typeof window&&window||'undefined'!=typeof self&&self||_0x4b9177,_0x4d851c['emptyArray']=Object['freeze']?Object['freeze']([]):[],_0x4d851c['emptyObject']=Object['freeze']?Object['freeze']({}):{},_0x4d851c['isInteger']=Number['isInteger']||function(_0x319b7a){return'number'==typeof _0x319b7a&&isFinite(_0x319b7a)&&Math['floor'](_0x319b7a)===_0x319b7a;},_0x4d851c['isString']=function(_0x16a1f6){return'string'==typeof _0x16a1f6||_0x16a1f6 instanceof String;},_0x4d851c['isObject']=function(_0x5d340c){return _0x5d340c&&'object'==typeof _0x5d340c;},_0x4d851c['isset']=_0x4d851c['isSet']=function(_0x19d70b,_0x4195d5){var _0x504f9c=_0x19d70b[_0x4195d5];return!(null==_0x504f9c||!Object['hasOwnProperty']['call'](_0x19d70b,_0x4195d5))&&('object'!=typeof _0x504f9c||(Array['isArray'](_0x504f9c)?_0x504f9c['length']:Object['keys'](_0x504f9c)['length'])>0x0);},_0x4d851c['Buffer']=(function(){try{var _0x28dd0f=_0x4d851c['global']['Buffer'];return _0x28dd0f['prototype']['utf8Write']?_0x28dd0f:null;}catch(_0x26e400){return null;}}()),_0x4d851c['_Buffer_from']=null,_0x4d851c['_Buffer_allocUnsafe']=null,_0x4d851c['newBuffer']=function(_0x13d0ed){return'number'==typeof _0x13d0ed?_0x4d851c['Buffer']?_0x4d851c['_Buffer_allocUnsafe'](_0x13d0ed):new _0x4d851c['Array'](_0x13d0ed):_0x4d851c['Buffer']?_0x4d851c['_Buffer_from'](_0x13d0ed):'undefined'==typeof Uint8Array?_0x13d0ed:new Uint8Array(_0x13d0ed);},_0x4d851c['Array']='undefined'!=typeof Uint8Array?Uint8Array:Array,_0x4d851c['Long']=_0x4d851c['global']['dcodeIO']&&_0x4d851c['global']['dcodeIO']['Long']||_0x4d851c['global']['Long']||(function(){try{var _0x2beb87=gS();return _0x2beb87&&_0x2beb87['isLong']?_0x2beb87:null;}catch(_0x264c26){return null;}}()),_0x4d851c['key2Re']=/^true|false|0|1$/,_0x4d851c['key32Re']=/^-?(?:0|[1-9][0-9]*)$/,_0x4d851c['key64Re']=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,_0x4d851c['longToHash']=function(_0x15330c){return _0x15330c?_0x4d851c['LongBits']['from'](_0x15330c)['toHash']():_0x4d851c['LongBits']['zeroHash'];},_0x4d851c['longFromHash']=function(_0xf761bf,_0x4e3e70){var _0x555066=_0x4d851c['LongBits']['fromHash'](_0xf761bf);return _0x4d851c['Long']?_0x4d851c['Long']['fromBits'](_0x555066['lo'],_0x555066['hi'],_0x4e3e70):_0x555066['toNumber'](Boolean(_0x4e3e70));},_0x4d851c['merge']=_0x561ee2,_0x4d851c['nestingLimit']=0x20,_0x4d851c['recursionLimit']=0x64,_0x4d851c['makeProp']=function(_0x2937b4,_0x260904){Object['defineProperty'](_0x2937b4,_0x260904,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0});},_0x4d851c['lcFirst']=function(_0x3614b9){return _0x3614b9['charAt'](0x0)['toLowerCase']()+_0x3614b9['substring'](0x1);},_0x4d851c['newError']=_0x5bac39,_0x4d851c['ProtocolError']=_0x5bac39('ProtocolError'),_0x4d851c['oneOfGetter']=function(_0x31a4b7){for(var _0x14c2a3={},_0x4e39d7=0x0;_0x4e39d7<_0x31a4b7['length'];++_0x4e39d7)_0x14c2a3[_0x31a4b7[_0x4e39d7]]=0x1;return function(){for(var _0x5323ad=Object['keys'](this),_0x57fbcf=_0x5323ad['length']-0x1;_0x57fbcf>-0x1;--_0x57fbcf)if(0x1===_0x14c2a3[_0x5323ad[_0x57fbcf]]&&void 0x0!==this[_0x5323ad[_0x57fbcf]]&&null!==this[_0x5323ad[_0x57fbcf]])return _0x5323ad[_0x57fbcf];};},_0x4d851c['oneOfSetter']=function(_0x5210e1){return function(_0x36daef){for(var _0x3197de=0x0;_0x3197de<_0x5210e1['length'];++_0x3197de)_0x5210e1[_0x3197de]!==_0x36daef&&delete this[_0x5210e1[_0x3197de]];};},_0x4d851c['toJSONOptions']={'longs':String,'enums':String,'bytes':String,'json':!0x0},_0x4d851c['_configure']=function(){var _0x2c6c21=_0x4d851c['Buffer'];_0x2c6c21?(_0x4d851c['_Buffer_from']=_0x2c6c21['from']!==Uint8Array['from']&&_0x2c6c21['from']||function(_0x45457e,_0x504b58){return new _0x2c6c21(_0x45457e,_0x504b58);},_0x4d851c['_Buffer_allocUnsafe']=_0x2c6c21['allocUnsafe']||function(_0x23ccba){return new _0x2c6c21(_0x23ccba);}):_0x4d851c['_Buffer_from']=_0x4d851c['_Buffer_allocUnsafe']=null;};}),wS=Xn((_0x1c4aac,_0x33cd4e)=>{_0x33cd4e['exports']=_0x110a8a;var _0x51a217,_0x73d255=OS(),_0x26d4ee=_0x73d255['LongBits'],_0x2159b8=_0x73d255['base64'],_0x404799=_0x73d255['utf8'];function _0x1eaef8(_0x2b7ce0,_0x4d5204,_0x24e593){this['fn']=_0x2b7ce0,this['len']=_0x4d5204,this['next']=void 0x0,this['val']=_0x24e593;}function _0x594150(){}function _0x24499c(_0x50747d){this['head']=_0x50747d['head'],this['tail']=_0x50747d['tail'],this['len']=_0x50747d['len'],this['next']=_0x50747d['states'];}function _0x110a8a(){this['len']=0x0,this['head']=new _0x1eaef8(_0x594150,0x0,0x0),this['tail']=this['head'],this['states']=null;}var _0x106dfa=function(){return _0x73d255['Buffer']?function(){return(_0x110a8a['create']=function(){return new _0x51a217();})();}:function(){return new _0x110a8a();};};function _0x5a050b(_0x43feda,_0x281b8d,_0x5b7e09){_0x281b8d[_0x5b7e09]=0xff&_0x43feda;}function _0x5f58f3(_0x4626e3,_0x243b17){this['len']=_0x4626e3,this['next']=void 0x0,this['val']=_0x243b17;}function _0x2c9a3a(_0x529d5c,_0x44c960,_0x1a8d2e){for(var _0x1ae8df=_0x529d5c['lo'],_0x3ecb3d=_0x529d5c['hi'];_0x3ecb3d;)_0x44c960[_0x1a8d2e++]=0x7f&_0x1ae8df|0x80,_0x1ae8df=(_0x1ae8df>>>0x7|_0x3ecb3d<<0x19)>>>0x0,_0x3ecb3d>>>=0x7;for(;_0x1ae8df>0x7f;)_0x44c960[_0x1a8d2e++]=0x7f&_0x1ae8df|0x80,_0x1ae8df>>>=0x7;_0x44c960[_0x1a8d2e++]=_0x1ae8df;}function _0x48187b(_0x275726,_0x1d702a,_0x56743d){_0x1d702a[_0x56743d]=0xff&_0x275726,_0x1d702a[_0x56743d+0x1]=_0x275726>>>0x8&0xff,_0x1d702a[_0x56743d+0x2]=_0x275726>>>0x10&0xff,_0x1d702a[_0x56743d+0x3]=_0x275726>>>0x18;}_0x110a8a['create']=_0x106dfa(),_0x110a8a['alloc']=function(_0x51455d){return new _0x73d255['Array'](_0x51455d);},_0x73d255['Array']!==Array&&(_0x110a8a['alloc']=_0x73d255['pool'](_0x110a8a['alloc'],_0x73d255['Array']['prototype']['subarray'])),_0x110a8a['prototype']['_push']=function(_0x4c2f3,_0x288dad,_0x5c8f8b){return this['tail']=this['tail']['next']=new _0x1eaef8(_0x4c2f3,_0x288dad,_0x5c8f8b),this['len']+=_0x288dad,this;},_0x5f58f3['prototype']=Object['create'](_0x1eaef8['prototype']),_0x5f58f3['prototype']['fn']=function(_0x5f57f6,_0x283c7c,_0x53d4d0){for(;_0x5f57f6>0x7f;)_0x283c7c[_0x53d4d0++]=0x7f&_0x5f57f6|0x80,_0x5f57f6>>>=0x7;_0x283c7c[_0x53d4d0]=_0x5f57f6;},_0x110a8a['prototype']['uint32']=function(_0x5db77a){return this['len']+=(this['tail']=this['tail']['next']=new _0x5f58f3((_0x5db77a>>>=0x0)<0x80?0x1:_0x5db77a<0x4000?0x2:_0x5db77a<0x200000?0x3:_0x5db77a<0x10000000?0x4:0x5,_0x5db77a))['len'],this;},_0x110a8a['prototype']['int32']=function(_0x2001bf){return(_0x2001bf|=0x0)<0x0?this['_push'](_0x2c9a3a,0xa,_0x26d4ee['fromNumber'](_0x2001bf)):this['uint32'](_0x2001bf);},_0x110a8a['prototype']['sint32']=function(_0x20a11c){return this['uint32']((_0x20a11c<<0x1^_0x20a11c>>0x1f)>>>0x0);},_0x110a8a['prototype']['uint64']=function(_0x28521f){var _0x234b66=_0x26d4ee['from'](_0x28521f);return this['_push'](_0x2c9a3a,_0x234b66['length'](),_0x234b66);},_0x110a8a['prototype']['int64']=_0x110a8a['prototype']['uint64'],_0x110a8a['prototype']['sint64']=function(_0x238a87){var _0xe1939c=_0x26d4ee['from'](_0x238a87)['zzEncode']();return this['_push'](_0x2c9a3a,_0xe1939c['length'](),_0xe1939c);},_0x110a8a['prototype']['bool']=function(_0x2eee67){return this['_push'](_0x5a050b,0x1,_0x2eee67?0x1:0x0);},_0x110a8a['prototype']['fixed32']=function(_0x203f6f){return this['_push'](_0x48187b,0x4,_0x203f6f>>>0x0);},_0x110a8a['prototype']['sfixed32']=_0x110a8a['prototype']['fixed32'],_0x110a8a['prototype']['fixed64']=function(_0x5b7071){var _0x1a05ba=_0x26d4ee['from'](_0x5b7071);return this['_push'](_0x48187b,0x4,_0x1a05ba['lo'])['_push'](_0x48187b,0x4,_0x1a05ba['hi']);},_0x110a8a['prototype']['sfixed64']=_0x110a8a['prototype']['fixed64'],_0x110a8a['prototype']['float']=function(_0x41a5ad){return this['_push'](_0x73d255['float']['writeFloatLE'],0x4,_0x41a5ad);},_0x110a8a['prototype']['double']=function(_0x1bbfbb){return this['_push'](_0x73d255['float']['writeDoubleLE'],0x8,_0x1bbfbb);};var _0x19e9ff=_0x73d255['Array']['prototype']['set']?function(_0x911ba2,_0x38e89f,_0x5a94c1){_0x38e89f['set'](_0x911ba2,_0x5a94c1);}:function(_0x107c24,_0x1b2caf,_0x4e861a){for(var _0x229038=0x0;_0x229038<_0x107c24['length'];++_0x229038)_0x1b2caf[_0x4e861a+_0x229038]=_0x107c24[_0x229038];};_0x110a8a['prototype']['bytes']=function(_0xddb67e){var _0x18813d=_0xddb67e['length']>>>0x0;if(!_0x18813d)return this['_push'](_0x5a050b,0x1,0x0);if(_0x73d255['isString'](_0xddb67e)){var _0x49ffda=_0x110a8a['alloc'](_0x18813d=_0x2159b8['length'](_0xddb67e));_0x2159b8['decode'](_0xddb67e,_0x49ffda,0x0),_0xddb67e=_0x49ffda;}return this['uint32'](_0x18813d)['_push'](_0x19e9ff,_0x18813d,_0xddb67e);},_0x110a8a['prototype']['string']=function(_0x41ec41){var _0xa9bf9e=_0x404799['length'](_0x41ec41);return _0xa9bf9e?this['uint32'](_0xa9bf9e)['_push'](_0x404799['write'],_0xa9bf9e,_0x41ec41):this['_push'](_0x5a050b,0x1,0x0);},_0x110a8a['prototype']['fork']=function(){return this['states']=new _0x24499c(this),this['head']=this['tail']=new _0x1eaef8(_0x594150,0x0,0x0),this['len']=0x0,this;},_0x110a8a['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 _0x1eaef8(_0x594150,0x0,0x0),this['len']=0x0),this;},_0x110a8a['prototype']['ldelim']=function(){var _0x9d0bba=this['head'],_0x289cde=this['tail'],_0x43cbc2=this['len'];return this['reset']()['uint32'](_0x43cbc2),_0x43cbc2&&(this['tail']['next']=_0x9d0bba['next'],this['tail']=_0x289cde,this['len']+=_0x43cbc2),this;},_0x110a8a['prototype']['finish']=function(){for(var _0x36a121=this['head']['next'],_0x2b5f6c=this['constructor']['alloc'](this['len']),_0x761557=0x0;_0x36a121;)_0x36a121['fn'](_0x36a121['val'],_0x2b5f6c,_0x761557),_0x761557+=_0x36a121['len'],_0x36a121=_0x36a121['next'];return _0x2b5f6c;},_0x110a8a['_configure']=function(_0xa0f9){_0x51a217=_0xa0f9,_0x110a8a['create']=_0x106dfa(),_0x51a217['_configure']();};}),bS=Xn((_0x172fee,_0x8521e1)=>{_0x8521e1['exports']=_0x32ee0b;var _0x27b8f5=wS();(_0x32ee0b['prototype']=Object['create'](_0x27b8f5['prototype']))['constructor']=_0x32ee0b;var _0x164372=OS();function _0x32ee0b(){_0x27b8f5['call'](this);}function _0x5b7cad(_0x2af664,_0x1a534e,_0x4ebbaa){_0x2af664['length']<0x28?_0x164372['utf8']['write'](_0x2af664,_0x1a534e,_0x4ebbaa):_0x1a534e['utf8Write']?_0x1a534e['utf8Write'](_0x2af664,_0x4ebbaa):_0x1a534e['write'](_0x2af664,_0x4ebbaa);}_0x32ee0b['_configure']=function(){_0x32ee0b['alloc']=_0x164372['_Buffer_allocUnsafe'],_0x32ee0b['writeBytesBuffer']=_0x164372['Buffer']&&_0x164372['Buffer']['prototype']instanceof Uint8Array&&'set'===_0x164372['Buffer']['prototype']['set']['name']?function(_0xaa383f,_0x3a13f1,_0x63241a){_0x3a13f1['set'](_0xaa383f,_0x63241a);}:function(_0x559d8b,_0x141fb8,_0x2afdb4){if(_0x559d8b['copy'])_0x559d8b['copy'](_0x141fb8,_0x2afdb4,0x0,_0x559d8b['length']);else{for(var _0xfc2301=0x0;_0xfc2301<_0x559d8b['length'];)_0x141fb8[_0x2afdb4++]=_0x559d8b[_0xfc2301++];}};},_0x32ee0b['prototype']['bytes']=function(_0x5f0cbc){_0x164372['isString'](_0x5f0cbc)&&(_0x5f0cbc=_0x164372['_Buffer_from'](_0x5f0cbc,'base64'));var _0x5a80f9=_0x5f0cbc['length']>>>0x0;return this['uint32'](_0x5a80f9),_0x5a80f9&&this['_push'](_0x32ee0b['writeBytesBuffer'],_0x5a80f9,_0x5f0cbc),this;},_0x32ee0b['prototype']['string']=function(_0x316e76){var _0x1b154d=_0x164372['Buffer']['byteLength'](_0x316e76);return this['uint32'](_0x1b154d),_0x1b154d&&this['_push'](_0x5b7cad,_0x1b154d,_0x316e76),this;},_0x32ee0b['_configure']();}),yS=Xn((_0x151bee,_0x1db559)=>{_0x1db559['exports']=_0x49dc5d;var _0x4bd083,_0x18f577=OS(),_0x180e21=_0x18f577['LongBits'],_0x2f8fdf=_0x18f577['utf8'];function _0xd14bee(_0x40e147,_0x609b34){return RangeError('index\x20out\x20of\x20range:\x20'+_0x40e147['pos']+'\x20+\x20'+(_0x609b34||0x1)+'\x20>\x20'+_0x40e147['len']);}function _0x49dc5d(_0x198823){this['buf']=_0x198823,this['pos']=0x0,this['len']=_0x198823['length'];}var _0x22b6c1='undefined'!=typeof Uint8Array?function(_0x275f52){if(_0x275f52 instanceof Uint8Array||Array['isArray'](_0x275f52))return new _0x49dc5d(_0x275f52);throw Error('illegal\x20buffer');}:function(_0x3873a7){if(Array['isArray'](_0x3873a7))return new _0x49dc5d(_0x3873a7);throw Error('illegal\x20buffer');},_0x47a9ea=function(){return _0x18f577['Buffer']?function(_0x593f7d){return(_0x49dc5d['create']=function(_0xa143b6){return _0x18f577['Buffer']['isBuffer'](_0xa143b6)?new _0x4bd083(_0xa143b6):_0x22b6c1(_0xa143b6);})(_0x593f7d);}:_0x22b6c1;};function _0x3e4dd9(){var _0x550ab3=new _0x180e21(0x0,0x0),_0x9ea32a=0x0;if(!(this['len']-this['pos']>0x4)){for(;_0x9ea32a<0x3;++_0x9ea32a){if(this['pos']>=this['len'])throw _0xd14bee(this);if(_0x550ab3['lo']=(_0x550ab3['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0x9ea32a)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x550ab3;}return _0x550ab3['lo']=(_0x550ab3['lo']|(0x7f&this['buf'][this['pos']++])<<0x7*_0x9ea32a)>>>0x0,_0x550ab3;}for(;_0x9ea32a<0x4;++_0x9ea32a)if(_0x550ab3['lo']=(_0x550ab3['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0x9ea32a)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x550ab3;if(_0x550ab3['lo']=(_0x550ab3['lo']|(0x7f&this['buf'][this['pos']])<<0x1c)>>>0x0,_0x550ab3['hi']=(_0x550ab3['hi']|(0x7f&this['buf'][this['pos']])>>0x4)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x550ab3;if(_0x9ea32a=0x0,this['len']-this['pos']>0x4){for(;_0x9ea32a<0x5;++_0x9ea32a)if(_0x550ab3['hi']=(_0x550ab3['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0x9ea32a+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x550ab3;}else for(;_0x9ea32a<0x5;++_0x9ea32a){if(this['pos']>=this['len'])throw _0xd14bee(this);if(_0x550ab3['hi']=(_0x550ab3['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0x9ea32a+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x550ab3;}throw Error('invalid\x20varint\x20encoding');}function _0xbcbd(_0x31930c,_0x3ffdd2){return(_0x31930c[_0x3ffdd2-0x4]|_0x31930c[_0x3ffdd2-0x3]<<0x8|_0x31930c[_0x3ffdd2-0x2]<<0x10|_0x31930c[_0x3ffdd2-0x1]<<0x18)>>>0x0;}function _0x41607a(){if(this['pos']+0x8>this['len'])throw _0xd14bee(this,0x8);return new _0x180e21(_0xbcbd(this['buf'],this['pos']+=0x4),_0xbcbd(this['buf'],this['pos']+=0x4));}_0x49dc5d['create']=_0x47a9ea(),_0x49dc5d['prototype']['_slice']=_0x18f577['Array']['prototype']['subarray']||_0x18f577['Array']['prototype']['slice'],_0x49dc5d['prototype']['uint32']=(function(){var _0x5d3067=0xffffffff;return function(){if(_0x5d3067=(0x7f&this['buf'][this['pos']])>>>0x0,this['buf'][this['pos']++]<0x80)return _0x5d3067;if(_0x5d3067=(_0x5d3067|(0x7f&this['buf'][this['pos']])<<0x7)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x5d3067;if(_0x5d3067=(_0x5d3067|(0x7f&this['buf'][this['pos']])<<0xe)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x5d3067;if(_0x5d3067=(_0x5d3067|(0x7f&this['buf'][this['pos']])<<0x15)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x5d3067;if(_0x5d3067=(_0x5d3067|(0xf&this['buf'][this['pos']])<<0x1c)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x5d3067;if((this['pos']+=0x5)>this['len'])throw this['pos']=this['len'],_0xd14bee(this,0xa);return _0x5d3067;};}()),_0x49dc5d['prototype']['int32']=function(){return 0x0|this['uint32']();},_0x49dc5d['prototype']['sint32']=function(){var _0x11d1e8=this['uint32']();return _0x11d1e8>>>0x1^-(0x1&_0x11d1e8);},_0x49dc5d['prototype']['bool']=function(){return 0x0!==this['uint32']();},_0x49dc5d['prototype']['fixed32']=function(){if(this['pos']+0x4>this['len'])throw _0xd14bee(this,0x4);return _0xbcbd(this['buf'],this['pos']+=0x4);},_0x49dc5d['prototype']['sfixed32']=function(){if(this['pos']+0x4>this['len'])throw _0xd14bee(this,0x4);return 0x0|_0xbcbd(this['buf'],this['pos']+=0x4);},_0x49dc5d['prototype']['float']=function(){if(this['pos']+0x4>this['len'])throw _0xd14bee(this,0x4);var _0x504c2c=_0x18f577['float']['readFloatLE'](this['buf'],this['pos']);return this['pos']+=0x4,_0x504c2c;},_0x49dc5d['prototype']['double']=function(){if(this['pos']+0x8>this['len'])throw _0xd14bee(this,0x4);var _0x22a7ed=_0x18f577['float']['readDoubleLE'](this['buf'],this['pos']);return this['pos']+=0x8,_0x22a7ed;},_0x49dc5d['prototype']['bytes']=function(){var _0x4645c5=this['uint32'](),_0x301fcf=this['pos'],_0x10d91b=this['pos']+_0x4645c5;if(_0x10d91b>this['len'])throw _0xd14bee(this,_0x4645c5);if(this['pos']+=_0x4645c5,Array['isArray'](this['buf']))return this['buf']['slice'](_0x301fcf,_0x10d91b);if(_0x301fcf===_0x10d91b){var _0x11d423=_0x18f577['Buffer'];return _0x11d423?_0x11d423['alloc'](0x0):new this['buf']['constructor'](0x0);}return this['_slice']['call'](this['buf'],_0x301fcf,_0x10d91b);},_0x49dc5d['prototype']['string']=function(){var _0x1e1e50=this['bytes']();return _0x2f8fdf['read'](_0x1e1e50,0x0,_0x1e1e50['length']);},_0x49dc5d['prototype']['skip']=function(_0xf6f20e){if('number'==typeof _0xf6f20e){if(this['pos']+_0xf6f20e>this['len'])throw _0xd14bee(this,_0xf6f20e);this['pos']+=_0xf6f20e;}else do{if(this['pos']>=this['len'])throw _0xd14bee(this);}while(0x80&this['buf'][this['pos']++]);return this;},_0x49dc5d['recursionLimit']=_0x18f577['recursionLimit'],_0x49dc5d['prototype']['skipType']=function(_0x490b62,_0x1c9642){if(void 0x0===_0x1c9642&&(_0x1c9642=0x0),_0x1c9642>_0x49dc5d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');switch(_0x490b62){case 0x0:this['skip']();break;case 0x1:this['skip'](0x8);break;case 0x2:this['skip'](this['uint32']());break;case 0x3:for(;0x4!=(_0x490b62=0x7&this['uint32']());)this['skipType'](_0x490b62,_0x1c9642+0x1);break;case 0x5:this['skip'](0x4);break;default:throw Error('invalid\x20wire\x20type\x20'+_0x490b62+'\x20at\x20offset\x20'+this['pos']);}return this;},_0x49dc5d['_configure']=function(_0x3d2490){_0x4bd083=_0x3d2490,_0x49dc5d['create']=_0x47a9ea(),_0x4bd083['_configure']();var _0x40381d=_0x18f577['Long']?'toLong':'toNumber';_0x18f577['merge'](_0x49dc5d['prototype'],{'int64':function(){return _0x3e4dd9['call'](this)[_0x40381d](!0x1);},'uint64':function(){return _0x3e4dd9['call'](this)[_0x40381d](!0x0);},'sint64':function(){return _0x3e4dd9['call'](this)['zzDecode']()[_0x40381d](!0x1);},'fixed64':function(){return _0x41607a['call'](this)[_0x40381d](!0x0);},'sfixed64':function(){return _0x41607a['call'](this)[_0x40381d](!0x1);}});};}),vS=Xn((_0x4f7701,_0x380a67)=>{_0x380a67['exports']=_0x3e1552;var _0x5e3fec=yS();(_0x3e1552['prototype']=Object['create'](_0x5e3fec['prototype']))['constructor']=_0x3e1552;var _0x36e988=OS();function _0x3e1552(_0x3abc30){_0x5e3fec['call'](this,_0x3abc30);}_0x3e1552['_configure']=function(){_0x36e988['Buffer']&&(_0x3e1552['prototype']['_slice']=_0x36e988['Buffer']['prototype']['slice']);},_0x3e1552['prototype']['string']=function(){var _0x4b0af9=this['uint32']();return this['buf']['utf8Slice']?this['buf']['utf8Slice'](this['pos'],this['pos']=Math['min'](this['pos']+_0x4b0af9,this['len'])):this['buf']['toString']('utf-8',this['pos'],this['pos']=Math['min'](this['pos']+_0x4b0af9,this['len']));},_0x3e1552['_configure']();}),_S=Xn((_0x4460fd,_0x4478dd)=>{_0x4478dd['exports']=_0x346e91;var _0x14b40a=OS();function _0x346e91(_0x5cd0ec,_0x59c0f0,_0x590bf5){if('function'!=typeof _0x5cd0ec)throw TypeError('rpcImpl\x20must\x20be\x20a\x20function');_0x14b40a['EventEmitter']['call'](this),this['rpcImpl']=_0x5cd0ec,this['requestDelimited']=Boolean(_0x59c0f0),this['responseDelimited']=Boolean(_0x590bf5);}(_0x346e91['prototype']=Object['create'](_0x14b40a['EventEmitter']['prototype']))['constructor']=_0x346e91,_0x346e91['prototype']['rpcCall']=function _0x4166a6(_0x3419e9,_0x2a402e,_0x2a2541,_0x48118c,_0x4a76fc){if(!_0x48118c)throw TypeError('request\x20must\x20be\x20specified');var _0x2b044e=this;if(!_0x4a76fc)return _0x14b40a['asPromise'](_0x4166a6,_0x2b044e,_0x3419e9,_0x2a402e,_0x2a2541,_0x48118c);if(_0x2b044e['rpcImpl'])try{return _0x2b044e['rpcImpl'](_0x3419e9,_0x2a402e[_0x2b044e['requestDelimited']?'encodeDelimited':'encode'](_0x48118c)['finish'](),function(_0x43ef71,_0x94e3b2){if(_0x43ef71)return _0x2b044e['emit']('error',_0x43ef71,_0x3419e9),_0x4a76fc(_0x43ef71);if(null!==_0x94e3b2){if(!(_0x94e3b2 instanceof _0x2a2541))try{_0x94e3b2=_0x2a2541[_0x2b044e['responseDelimited']?'decodeDelimited':'decode'](_0x94e3b2);}catch(_0x47897e){return _0x2b044e['emit']('error',_0x47897e,_0x3419e9),_0x4a76fc(_0x47897e);}return _0x2b044e['emit']('data',_0x94e3b2,_0x3419e9),_0x4a76fc(null,_0x94e3b2);}_0x2b044e['end'](!0x0);});}catch(_0x2aec3d){return _0x2b044e['emit']('error',_0x2aec3d,_0x3419e9),void setTimeout(function(){_0x4a76fc(_0x2aec3d);},0x0);}else setTimeout(function(){_0x4a76fc(Error('already\x20ended'));},0x0);},_0x346e91['prototype']['end']=function(_0x3e3de3){return this['rpcImpl']&&(_0x3e3de3||this['rpcImpl'](null,null,null),this['rpcImpl']=null,this['emit']('end')['off']()),this;};}),ES=Xn(_0x25a10a=>{_0x25a10a['Service']=_S();}),TS=Xn((_0x241391,_0xb10a6b)=>{_0xb10a6b['exports']=Object['create'](null);}),AS=Xn(_0x17b822=>{var _0x356735=_0x17b822;function _0x440758(){_0x356735['util']['_configure'](),_0x356735['Writer']['_configure'](_0x356735['BufferWriter']),_0x356735['Reader']['_configure'](_0x356735['BufferReader']);}_0x356735['build']='minimal',_0x356735['Writer']=wS(),_0x356735['BufferWriter']=bS(),_0x356735['Reader']=yS(),_0x356735['BufferReader']=vS(),_0x356735['util']=OS(),_0x356735['rpc']=ES(),_0x356735['roots']=TS(),_0x356735['configure']=_0x440758,_0x440758();}),SS=Xn((_0x566536,_0x3f54ce)=>{_0x3f54ce['exports']=AS();});const IS=Object['create'](null);IS['open']='0',IS['close']='1',IS['ping']='2',IS['pong']='3',IS['message']='4',IS['upgrade']='5',IS['noop']='6';const kS=Object['create'](null);Object['keys'](IS)['forEach'](_0x279719=>{kS[IS[_0x279719]]=_0x279719;});const xS={'type':'error','data':'parser\x20error'},CS='function'==typeof Blob||'undefined'!=typeof Blob&&'[object\x20BlobConstructor]'===Object['prototype']['toString']['call'](Blob),RS='function'==typeof ArrayBuffer,PS=_0x217aec=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x217aec):_0x217aec&&_0x217aec['buffer']instanceof ArrayBuffer,MS=({type:_0x2353d2,data:_0x5bc0a3},_0x2eeda5,_0x27c507)=>CS&&_0x5bc0a3 instanceof Blob?_0x2eeda5?_0x27c507(_0x5bc0a3):NS(_0x5bc0a3,_0x27c507):RS&&(_0x5bc0a3 instanceof ArrayBuffer||PS(_0x5bc0a3))?_0x2eeda5?_0x27c507(_0x5bc0a3):NS(new Blob([_0x5bc0a3]),_0x27c507):_0x27c507(IS[_0x2353d2]+(_0x5bc0a3||'')),NS=(_0x1e1177,_0x8f34bf)=>{const _0x959e49=new FileReader();return _0x959e49['onload']=function(){const _0x4d2efd=_0x959e49['result']['split'](',')[0x1];_0x8f34bf('b'+(_0x4d2efd||''));},_0x959e49['readAsDataURL'](_0x1e1177);};function LS(_0x13b4c6){return _0x13b4c6 instanceof Uint8Array?_0x13b4c6:_0x13b4c6 instanceof ArrayBuffer?new Uint8Array(_0x13b4c6):new Uint8Array(_0x13b4c6['buffer'],_0x13b4c6['byteOffset'],_0x13b4c6['byteLength']);}let $S;const DS='undefined'==typeof Uint8Array?[]:new Uint8Array(0x100);for(let e=0x0;e<0x40;e++)DS['ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'['charCodeAt'](e)]=e;const QS='function'==typeof ArrayBuffer,jS=(_0x28e040,_0x558b4d)=>{if('string'!=typeof _0x28e040)return{'type':'message','data':VS(_0x28e040,_0x558b4d)};const _0x18979f=_0x28e040['charAt'](0x0);return'b'===_0x18979f?{'type':'message','data':US(_0x28e040['substring'](0x1),_0x558b4d)}:kS[_0x18979f]?_0x28e040['length']>0x1?{'type':kS[_0x18979f],'data':_0x28e040['substring'](0x1)}:{'type':kS[_0x18979f]}:xS;},US=(_0x24ae62,_0x4b1942)=>QS?VS((_0x2cac05=>{let _0xdcc45d,_0x18955e,_0x799a7,_0x24e230,_0x38081c,_0x35d351=0.75*_0x2cac05['length'],_0x6e7560=_0x2cac05['length'],_0x32028d=0x0;'='===_0x2cac05[_0x2cac05['length']-0x1]&&(_0x35d351--,'='===_0x2cac05[_0x2cac05['length']-0x2]&&_0x35d351--);const _0x3b0f41=new ArrayBuffer(_0x35d351),_0x51559f=new Uint8Array(_0x3b0f41);for(_0xdcc45d=0x0;_0xdcc45d<_0x6e7560;_0xdcc45d+=0x4)_0x18955e=DS[_0x2cac05['charCodeAt'](_0xdcc45d)],_0x799a7=DS[_0x2cac05['charCodeAt'](_0xdcc45d+0x1)],_0x24e230=DS[_0x2cac05['charCodeAt'](_0xdcc45d+0x2)],_0x38081c=DS[_0x2cac05['charCodeAt'](_0xdcc45d+0x3)],_0x51559f[_0x32028d++]=_0x18955e<<0x2|_0x799a7>>0x4,_0x51559f[_0x32028d++]=(0xf&_0x799a7)<<0x4|_0x24e230>>0x2,_0x51559f[_0x32028d++]=(0x3&_0x24e230)<<0x6|0x3f&_0x38081c;return _0x3b0f41;})(_0x24ae62),_0x4b1942):{'base64':!0x0,'data':_0x24ae62},VS=(_0x36be07,_0x423c7d)=>'blob'===_0x423c7d?_0x36be07 instanceof Blob?_0x36be07:new Blob([_0x36be07]):_0x36be07 instanceof ArrayBuffer?_0x36be07:_0x36be07['buffer'],BS=String['fromCharCode'](0x1e);function FS(){return new TransformStream({'transform'(_0x4de086,_0x1a4ae1){!function(_0x3253aa,_0xed833b){CS&&_0x3253aa['data']instanceof Blob?_0x3253aa['data']['arrayBuffer']()['then'](LS)['then'](_0xed833b):RS&&(_0x3253aa['data']instanceof ArrayBuffer||PS(_0x3253aa['data']))?_0xed833b(LS(_0x3253aa['data'])):MS(_0x3253aa,!0x1,_0x573f87=>{$S||($S=new TextEncoder()),_0xed833b($S['encode'](_0x573f87));});}(_0x4de086,_0x1ee80e=>{const _0x197af6=_0x1ee80e['length'];let _0x913d57;if(_0x197af6<0x7e)_0x913d57=new Uint8Array(0x1),new DataView(_0x913d57['buffer'])['setUint8'](0x0,_0x197af6);else{if(_0x197af6<0x10000){_0x913d57=new Uint8Array(0x3);const _0x1072a0=new DataView(_0x913d57['buffer']);_0x1072a0['setUint8'](0x0,0x7e),_0x1072a0['setUint16'](0x1,_0x197af6);}else{_0x913d57=new Uint8Array(0x9);const _0x2d9b45=new DataView(_0x913d57['buffer']);_0x2d9b45['setUint8'](0x0,0x7f),_0x2d9b45['setBigUint64'](0x1,BigInt(_0x197af6));}}_0x4de086['data']&&'string'!=typeof _0x4de086['data']&&(_0x913d57[0x0]|=0x80),_0x1a4ae1['enqueue'](_0x913d57),_0x1a4ae1['enqueue'](_0x1ee80e);});}});}let HS;function ZS(_0x480266){return _0x480266['reduce']((_0x4cc1af,_0x2de458)=>_0x4cc1af+_0x2de458['length'],0x0);}function GS(_0x34051e,_0x1cf714){if(_0x34051e[0x0]['length']===_0x1cf714)return _0x34051e['shift']();const _0x254db2=new Uint8Array(_0x1cf714);let _0x5a8588=0x0;for(let _0x4ff6f4=0x0;_0x4ff6f4<_0x1cf714;_0x4ff6f4++)_0x254db2[_0x4ff6f4]=_0x34051e[0x0][_0x5a8588++],_0x5a8588===_0x34051e[0x0]['length']&&(_0x34051e['shift'](),_0x5a8588=0x0);return _0x34051e['length']&&_0x5a8588<_0x34051e[0x0]['length']&&(_0x34051e[0x0]=_0x34051e[0x0]['slice'](_0x5a8588)),_0x254db2;}function XS(_0x598b23){if(_0x598b23)return function(_0x5538b8){for(var _0x400e8f in XS['prototype'])_0x5538b8[_0x400e8f]=XS['prototype'][_0x400e8f];return _0x5538b8;}(_0x598b23);}XS['prototype']['on']=XS['prototype']['addEventListener']=function(_0x63ffff,_0x244322){return this['_callbacks']=this['_callbacks']||{},(this['_callbacks']['$'+_0x63ffff]=this['_callbacks']['$'+_0x63ffff]||[])['push'](_0x244322),this;},XS['prototype']['once']=function(_0x341552,_0x3806e5){function _0x16c911(){this['off'](_0x341552,_0x16c911),_0x3806e5['apply'](this,arguments);}return _0x16c911['fn']=_0x3806e5,this['on'](_0x341552,_0x16c911),this;},XS['prototype']['off']=XS['prototype']['removeListener']=XS['prototype']['removeAllListeners']=XS['prototype']['removeEventListener']=function(_0x727884,_0x3eb45d){if(this['_callbacks']=this['_callbacks']||{},0x0==arguments['length'])return this['_callbacks']={},this;var _0x1e07b4,_0x26f588=this['_callbacks']['$'+_0x727884];if(!_0x26f588)return this;if(0x1==arguments['length'])return delete this['_callbacks']['$'+_0x727884],this;for(var _0x2928ea=0x0;_0x2928ea<_0x26f588['length'];_0x2928ea++)if((_0x1e07b4=_0x26f588[_0x2928ea])===_0x3eb45d||_0x1e07b4['fn']===_0x3eb45d){_0x26f588['splice'](_0x2928ea,0x1);break;}return 0x0===_0x26f588['length']&&delete this['_callbacks']['$'+_0x727884],this;},XS['prototype']['emit']=function(_0x3d31d5){this['_callbacks']=this['_callbacks']||{};for(var _0x38095d=new Array(arguments['length']-0x1),_0x2e56dc=this['_callbacks']['$'+_0x3d31d5],_0x25342e=0x1;_0x25342e<arguments['length'];_0x25342e++)_0x38095d[_0x25342e-0x1]=arguments[_0x25342e];if(_0x2e56dc){_0x25342e=0x0;for(var _0x168191=(_0x2e56dc=_0x2e56dc['slice'](0x0))['length'];_0x25342e<_0x168191;++_0x25342e)_0x2e56dc[_0x25342e]['apply'](this,_0x38095d);}return this;},XS['prototype']['emitReserved']=XS['prototype']['emit'],XS['prototype']['listeners']=function(_0x40ef31){return this['_callbacks']=this['_callbacks']||{},this['_callbacks']['$'+_0x40ef31]||[];},XS['prototype']['hasListeners']=function(_0x1a7880){return!!this['listeners'](_0x1a7880)['length'];};const qS='undefined'!=typeof self?self:'undefined'!=typeof window?window:Function('return\x20this')();function WS(_0x1bf3e3,..._0xa6a908){return _0xa6a908['reduce']((_0x218c05,_0x2bedfd)=>(_0x1bf3e3['hasOwnProperty'](_0x2bedfd)&&(_0x218c05[_0x2bedfd]=_0x1bf3e3[_0x2bedfd]),_0x218c05),{});}const zS=qS['setTimeout'],YS=qS['clearTimeout'];function KS(_0x448e86,_0x6f6546){_0x6f6546['useNativeTimers']?(_0x448e86['setTimeoutFn']=zS['bind'](qS),_0x448e86['clearTimeoutFn']=YS['bind'](qS)):(_0x448e86['setTimeoutFn']=qS['setTimeout']['bind'](qS),_0x448e86['clearTimeoutFn']=qS['clearTimeout']['bind'](qS));}function JS(_0x3cde72){return'string'==typeof _0x3cde72?function(_0x10012a){let _0x49206f=0x0,_0xe257aa=0x0;for(let _0x3375cc=0x0,_0xcb8128=_0x10012a['length'];_0x3375cc<_0xcb8128;_0x3375cc++)_0x49206f=_0x10012a['charCodeAt'](_0x3375cc),_0x49206f<0x80?_0xe257aa+=0x1:_0x49206f<0x800?_0xe257aa+=0x2:_0x49206f<0xd800||_0x49206f>=0xe000?_0xe257aa+=0x3:(_0x3375cc++,_0xe257aa+=0x4);return _0xe257aa;}(_0x3cde72):Math['ceil'](1.33*(_0x3cde72['byteLength']||_0x3cde72['size']));}var tI=class extends Error{constructor(_0x1b900c,_0x455738,_0x2ec87f){super(_0x1b900c),this['description']=_0x455738,this['context']=_0x2ec87f,this['type']='TransportError';}},eI=class extends XS{constructor(_0x2e0bb9){super(),this['writable']=!0x1,KS(this,_0x2e0bb9),this['opts']=_0x2e0bb9,this['query']=_0x2e0bb9['query'],this['socket']=_0x2e0bb9['socket'];}['onError'](_0x344b34,_0x2204fc,_0x4bc584){return super['emitReserved']('error',new tI(_0x344b34,_0x2204fc,_0x4bc584)),this;}['open'](){return this['readyState']='opening',this['doOpen'](),this;}['close'](){return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['doClose'](),this['onClose']()),this;}['send'](_0x3f194c){'open'===this['readyState']&&this['write'](_0x3f194c);}['onOpen'](){this['readyState']='open',this['writable']=!0x0,super['emitReserved']('open');}['onData'](_0x11f116){const _0x3686f1=jS(_0x11f116,this['socket']['binaryType']);this['onPacket'](_0x3686f1);}['onPacket'](_0x5334b7){super['emitReserved']('packet',_0x5334b7);}['onClose'](_0x485ed2){this['readyState']='closed',super['emitReserved']('close',_0x485ed2);}['pause'](_0x4a3c1c){}['createUri'](_0x54d69a,_0x5a304b={}){return _0x54d69a+'://'+this['_hostname']()+this['_port']()+this['opts']['path']+this['_query'](_0x5a304b);}['_hostname'](){const _0x4ad979=this['opts']['hostname'];return-0x1===_0x4ad979['indexOf'](':')?_0x4ad979:'['+_0x4ad979+']';}['_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'](_0x592662){const _0xd3bc49=function(_0x41d3bb){let _0x4bc0de='';for(let _0x48e9a2 in _0x41d3bb)_0x41d3bb['hasOwnProperty'](_0x48e9a2)&&(_0x4bc0de['length']&&(_0x4bc0de+='&'),_0x4bc0de+=encodeURIComponent(_0x48e9a2)+'='+encodeURIComponent(_0x41d3bb[_0x48e9a2]));return _0x4bc0de;}(_0x592662);return _0xd3bc49['length']?'?'+_0xd3bc49:'';}};const iI='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_'['split'](''),sI={};let nI,rI=0x0,oI=0x0;function aI(_0xc0757b){let _0xf235c2='';do{_0xf235c2=iI[_0xc0757b%0x40]+_0xf235c2,_0xc0757b=Math['floor'](_0xc0757b/0x40);}while(_0xc0757b>0x0);return _0xf235c2;}function cI(){const _0x5d467d=aI(+new Date());return _0x5d467d!==nI?(rI=0x0,nI=_0x5d467d):_0x5d467d+'.'+aI(rI++);}for(;oI<0x40;oI++)sI[iI[oI]]=oI;let lI=!0x1;try{lI='undefined'!=typeof XMLHttpRequest&&'withCredentials'in new XMLHttpRequest();}catch(_0x550aa8){}const hI=lI;function uI(_0x2949b6){const _0x525ec1=_0x2949b6['xdomain'];try{if('undefined'!=typeof XMLHttpRequest&&(!_0x525ec1||hI))return new XMLHttpRequest();}catch(_0x429bfb){}if(!_0x525ec1)try{return new qS[(['Active']['concat']('Object')['join']('X'))]('Microsoft.XMLHTTP');}catch(_0x1b9197){}}function dI(){}const fI=null!=new uI({'xdomain':!0x1})['responseType'];var mI=class Request extends XS{constructor(_0x25786c,_0x2348cf){super(),KS(this,_0x2348cf),this['opts']=_0x2348cf,this['method']=_0x2348cf['method']||'GET',this['uri']=_0x25786c,this['data']=void 0x0!==_0x2348cf['data']?_0x2348cf['data']:null,this['create']();}['create'](){var _0x475de8;const _0x468ba5=WS(this['opts'],'agent','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','autoUnref');_0x468ba5['xdomain']=!!this['opts']['xd'];const _0x62a6d3=this['xhr']=new uI(_0x468ba5);try{_0x62a6d3['open'](this['method'],this['uri'],!0x0);try{if(this['opts']['extraHeaders']){_0x62a6d3['setDisableHeaderCheck']&&_0x62a6d3['setDisableHeaderCheck'](!0x0);for(let _0x3c10b3 in this['opts']['extraHeaders'])this['opts']['extraHeaders']['hasOwnProperty'](_0x3c10b3)&&_0x62a6d3['setRequestHeader'](_0x3c10b3,this['opts']['extraHeaders'][_0x3c10b3]);}}catch(_0x2463eb){}if('POST'===this['method'])try{_0x62a6d3['setRequestHeader']('Content-type','text/plain;charset=UTF-8');}catch(_0x5d7d9f){}try{_0x62a6d3['setRequestHeader']('Accept','*/*');}catch(_0x5f21ca){}null===(_0x475de8=this['opts']['cookieJar'])||void 0x0===_0x475de8||_0x475de8['addCookies'](_0x62a6d3),'withCredentials'in _0x62a6d3&&(_0x62a6d3['withCredentials']=this['opts']['withCredentials']),this['opts']['requestTimeout']&&(_0x62a6d3['timeout']=this['opts']['requestTimeout']),_0x62a6d3['onreadystatechange']=()=>{var _0x4d0736;0x3===_0x62a6d3['readyState']&&(null===(_0x4d0736=this['opts']['cookieJar'])||void 0x0===_0x4d0736||_0x4d0736['parseCookies'](_0x62a6d3)),0x4===_0x62a6d3['readyState']&&(0xc8===_0x62a6d3['status']||0x4c7===_0x62a6d3['status']?this['onLoad']():this['setTimeoutFn'](()=>{this['onError']('number'==typeof _0x62a6d3['status']?_0x62a6d3['status']:0x0);},0x0));},_0x62a6d3['send'](this['data']);}catch(_0x470a02){return void this['setTimeoutFn'](()=>{this['onError'](_0x470a02);},0x0);}'undefined'!=typeof document&&(this['index']=Request['requestsCount']++,Request['requests'][this['index']]=this);}['onError'](_0x8dafc6){this['emitReserved']('error',_0x8dafc6,this['xhr']),this['cleanup'](!0x0);}['cleanup'](_0x1f9a12){if(void 0x0!==this['xhr']&&null!==this['xhr']){if(this['xhr']['onreadystatechange']=dI,_0x1f9a12)try{this['xhr']['abort']();}catch(_0x5fbba4){}'undefined'!=typeof document&&delete Request['requests'][this['index']],this['xhr']=null;}}['onLoad'](){const _0x380c7f=this['xhr']['responseText'];null!==_0x380c7f&&(this['emitReserved']('data',_0x380c7f),this['emitReserved']('success'),this['cleanup']());}['abort'](){this['cleanup']();}};if(mI['requestsCount']=0x0,mI['requests']={},'undefined'!=typeof document){if('function'==typeof attachEvent)attachEvent('onunload',pI);else'function'==typeof addEventListener&&addEventListener('onpagehide'in qS?'pagehide':'unload',pI,!0x1);}function pI(){for(let _0x43a9d4 in mI['requests'])mI['requests']['hasOwnProperty'](_0x43a9d4)&&mI['requests'][_0x43a9d4]['abort']();}const gI='function'==typeof Promise&&'function'==typeof Promise['resolve']?_0x31004e=>Promise['resolve']()['then'](_0x31004e):(_0x397a45,_0x50c846)=>_0x50c846(_0x397a45,0x0),OI=qS['WebSocket']||qS['MozWebSocket'],wI='undefined'!=typeof navigator&&'string'==typeof navigator['product']&&'reactnative'===navigator['product']['toLowerCase'](),bI={'websocket':class extends eI{constructor(_0xfd3670){super(_0xfd3670),this['supportsBinary']=!_0xfd3670['forceBase64'];}get['name'](){return'websocket';}['doOpen'](){if(!this['check']())return;const _0x46bcfd=this['uri'](),_0x50b851=this['opts']['protocols'],_0x2cfb67=wI?{}:WS(this['opts'],'agent','perMessageDeflate','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','localAddress','protocolVersion','origin','maxPayload','family','checkServerIdentity');this['opts']['extraHeaders']&&(_0x2cfb67['headers']=this['opts']['extraHeaders']);try{this['ws']=wI?new OI(_0x46bcfd,_0x50b851,_0x2cfb67):_0x50b851?new OI(_0x46bcfd,_0x50b851):new OI(_0x46bcfd);}catch(_0x350d74){return this['emitReserved']('error',_0x350d74);}this['ws']['binaryType']=this['socket']['binaryType'],this['addEventListeners']();}['addEventListeners'](){this['ws']['onopen']=()=>{this['opts']['autoUnref']&&this['ws']['_socket']['unref'](),this['onOpen']();},this['ws']['onclose']=_0x25f84d=>this['onClose']({'description':'websocket\x20connection\x20closed','context':_0x25f84d}),this['ws']['onmessage']=_0x39ad9e=>this['onData'](_0x39ad9e['data']),this['ws']['onerror']=_0x49d66b=>this['onError']('websocket\x20error',_0x49d66b);}['write'](_0x530523){this['writable']=!0x1;for(let _0x35d3a4=0x0;_0x35d3a4<_0x530523['length'];_0x35d3a4++){const _0x5280b0=_0x530523[_0x35d3a4],_0xf339ff=_0x35d3a4===_0x530523['length']-0x1;MS(_0x5280b0,this['supportsBinary'],_0x340739=>{try{this['ws']['send'](_0x340739);}catch(_0x5e63fa){}_0xf339ff&&gI(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){void 0x0!==this['ws']&&(this['ws']['close'](),this['ws']=null);}['uri'](){const _0x10a44c=this['opts']['secure']?'wss':'ws',_0x4c7bea=this['query']||{};return this['opts']['timestampRequests']&&(_0x4c7bea[this['opts']['timestampParam']]=cI()),this['supportsBinary']||(_0x4c7bea['b64']=0x1),this['createUri'](_0x10a44c,_0x4c7bea);}['check'](){return!!OI;}},'webtransport':class extends eI{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'](_0x587098=>{this['onError']('webtransport\x20error',_0x587098);}),this['transport']['ready']['then'](()=>{this['transport']['createBidirectionalStream']()['then'](_0x3c2cb5=>{const _0x3d2005=function(_0x4b8224,_0x4cc4f3){HS||(HS=new TextDecoder());const _0x150f8f=[];let _0xd70fa=0x0,_0x215023=-0x1,_0x1f6b22=!0x1;return new TransformStream({'transform'(_0x5e3d75,_0x5809f1){for(_0x150f8f['push'](_0x5e3d75);;){if(0x0===_0xd70fa){if(ZS(_0x150f8f)<0x1)break;const _0x12f628=GS(_0x150f8f,0x1);_0x1f6b22=!(0x80&~_0x12f628[0x0]),_0x215023=0x7f&_0x12f628[0x0],_0xd70fa=_0x215023<0x7e?0x3:0x7e===_0x215023?0x1:0x2;}else{if(0x1===_0xd70fa){if(ZS(_0x150f8f)<0x2)break;const _0x43f000=GS(_0x150f8f,0x2);_0x215023=new DataView(_0x43f000['buffer'],_0x43f000['byteOffset'],_0x43f000['length'])['getUint16'](0x0),_0xd70fa=0x3;}else{if(0x2===_0xd70fa){if(ZS(_0x150f8f)<0x8)break;const _0x13ca74=GS(_0x150f8f,0x8),_0x151fba=new DataView(_0x13ca74['buffer'],_0x13ca74['byteOffset'],_0x13ca74['length']),_0x215f81=_0x151fba['getUint32'](0x0);if(_0x215f81>Math['pow'](0x2,0x15)-0x1){_0x5809f1['enqueue'](xS);break;}_0x215023=_0x215f81*Math['pow'](0x2,0x20)+_0x151fba['getUint32'](0x4),_0xd70fa=0x3;}else{if(ZS(_0x150f8f)<_0x215023)break;const _0x400acf=GS(_0x150f8f,_0x215023);_0x5809f1['enqueue'](jS(_0x1f6b22?_0x400acf:HS['decode'](_0x400acf),_0x4cc4f3)),_0xd70fa=0x0;}}}if(0x0===_0x215023||_0x215023>_0x4b8224){_0x5809f1['enqueue'](xS);break;}}}});}(Number['MAX_SAFE_INTEGER'],this['socket']['binaryType']),_0x534efb=_0x3c2cb5['readable']['pipeThrough'](_0x3d2005)['getReader'](),_0x5bdaf3=FS();_0x5bdaf3['readable']['pipeTo'](_0x3c2cb5['writable']),this['writer']=_0x5bdaf3['writable']['getWriter']();const _0x1ca59a=()=>{_0x534efb['read']()['then'](({done:_0x48c51c,value:_0x134bbb})=>{_0x48c51c||(this['onPacket'](_0x134bbb),_0x1ca59a());})['catch'](_0x336ff2=>{});};_0x1ca59a();const _0x12c94f={'type':'open'};this['query']['sid']&&(_0x12c94f['data']='{\x22sid\x22:\x22'+this['query']['sid']+'\x22}'),this['writer']['write'](_0x12c94f)['then'](()=>this['onOpen']());});}));}['write'](_0x2625d1){this['writable']=!0x1;for(let _0x368c11=0x0;_0x368c11<_0x2625d1['length'];_0x368c11++){const _0x5452ef=_0x2625d1[_0x368c11],_0x2d0213=_0x368c11===_0x2625d1['length']-0x1;this['writer']['write'](_0x5452ef)['then'](()=>{_0x2d0213&&gI(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){var _0x3dd9ee;null===(_0x3dd9ee=this['transport'])||void 0x0===_0x3dd9ee||_0x3dd9ee['close']();}},'polling':class extends eI{constructor(_0x42399b){if(super(_0x42399b),this['polling']=!0x1,'undefined'!=typeof location){const _0x452861='https:'===location['protocol'];let _0x2c17d3=location['port'];_0x2c17d3||(_0x2c17d3=_0x452861?'443':'80'),this['xd']='undefined'!=typeof location&&_0x42399b['hostname']!==location['hostname']||_0x2c17d3!==_0x42399b['port'];}const _0x134be6=_0x42399b&&_0x42399b['forceBase64'];this['supportsBinary']=fI&&!_0x134be6,this['opts']['withCredentials']&&(this['cookieJar']=void 0x0);}get['name'](){return'polling';}['doOpen'](){this['poll']();}['pause'](_0xbf7163){this['readyState']='pausing';const _0x42663e=()=>{this['readyState']='paused',_0xbf7163();};if(this['polling']||!this['writable']){let _0x1d0c04=0x0;this['polling']&&(_0x1d0c04++,this['once']('pollComplete',function(){--_0x1d0c04||_0x42663e();})),this['writable']||(_0x1d0c04++,this['once']('drain',function(){--_0x1d0c04||_0x42663e();}));}else _0x42663e();}['poll'](){this['polling']=!0x0,this['doPoll'](),this['emitReserved']('poll');}['onData'](_0x2f7757){((_0x508f6c,_0x509926)=>{const _0x30f1af=_0x508f6c['split'](BS),_0x52e30e=[];for(let _0x3db3e6=0x0;_0x3db3e6<_0x30f1af['length'];_0x3db3e6++){const _0x348813=jS(_0x30f1af[_0x3db3e6],_0x509926);if(_0x52e30e['push'](_0x348813),'error'===_0x348813['type'])break;}return _0x52e30e;})(_0x2f7757,this['socket']['binaryType'])['forEach'](_0x3ca82a=>{if('opening'===this['readyState']&&'open'===_0x3ca82a['type']&&this['onOpen'](),'close'===_0x3ca82a['type'])return this['onClose']({'description':'transport\x20closed\x20by\x20the\x20server'}),!0x1;this['onPacket'](_0x3ca82a);}),'closed'!==this['readyState']&&(this['polling']=!0x1,this['emitReserved']('pollComplete'),'open'===this['readyState']&&this['poll']());}['doClose'](){const _0x3693b2=()=>{this['write']([{'type':'close'}]);};'open'===this['readyState']?_0x3693b2():this['once']('open',_0x3693b2);}['write'](_0x1dc333){this['writable']=!0x1,((_0x56dcf6,_0x151bae)=>{const _0x1410d1=_0x56dcf6['length'],_0x4ca590=new Array(_0x1410d1);let _0x443324=0x0;_0x56dcf6['forEach']((_0x4bfdce,_0x5b093f)=>{MS(_0x4bfdce,!0x1,_0x4293ea=>{_0x4ca590[_0x5b093f]=_0x4293ea,++_0x443324===_0x1410d1&&_0x151bae(_0x4ca590['join'](BS));});});})(_0x1dc333,_0x5c119f=>{this['doWrite'](_0x5c119f,()=>{this['writable']=!0x0,this['emitReserved']('drain');});});}['uri'](){const _0x3ff5c2=this['opts']['secure']?'https':'http',_0x4a8d92=this['query']||{};return!0x1!==this['opts']['timestampRequests']&&(_0x4a8d92[this['opts']['timestampParam']]=cI()),this['supportsBinary']||_0x4a8d92['sid']||(_0x4a8d92['b64']=0x1),this['createUri'](_0x3ff5c2,_0x4a8d92);}['request'](_0x29dcdf={}){return Object['assign'](_0x29dcdf,{'xd':this['xd'],'cookieJar':this['cookieJar']},this['opts']),new mI(this['uri'](),_0x29dcdf);}['doWrite'](_0x21aaf3,_0x477a80){const _0x4372cc=this['request']({'method':'POST','data':_0x21aaf3});_0x4372cc['on']('success',_0x477a80),_0x4372cc['on']('error',(_0x442387,_0x572a60)=>{this['onError']('xhr\x20post\x20error',_0x442387,_0x572a60);});}['doPoll'](){const _0x5869a4=this['request']();_0x5869a4['on']('data',this['onData']['bind'](this)),_0x5869a4['on']('error',(_0x544bf4,_0xf1c3c1)=>{this['onError']('xhr\x20poll\x20error',_0x544bf4,_0xf1c3c1);}),this['pollXhr']=_0x5869a4;}}},yI=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,vI=['source','protocol','authority','userInfo','user','password','host','port','relative','path','directory','file','query','anchor'];function _I(_0x406cfb){if(_0x406cfb['length']>0x7d0)throw'URI\x20too\x20long';const _0x75c75=_0x406cfb,_0x1cac48=_0x406cfb['indexOf']('['),_0x44b6c5=_0x406cfb['indexOf'](']');-0x1!=_0x1cac48&&-0x1!=_0x44b6c5&&(_0x406cfb=_0x406cfb['substring'](0x0,_0x1cac48)+_0x406cfb['substring'](_0x1cac48,_0x44b6c5)['replace'](/:/g,';')+_0x406cfb['substring'](_0x44b6c5,_0x406cfb['length']));let _0x4e10ab=yI['exec'](_0x406cfb||''),_0x19753f={},_0x47fe0b=0xe;for(;_0x47fe0b--;)_0x19753f[vI[_0x47fe0b]]=_0x4e10ab[_0x47fe0b]||'';return-0x1!=_0x1cac48&&-0x1!=_0x44b6c5&&(_0x19753f['source']=_0x75c75,_0x19753f['host']=_0x19753f['host']['substring'](0x1,_0x19753f['host']['length']-0x1)['replace'](/;/g,':'),_0x19753f['authority']=_0x19753f['authority']['replace']('[','')['replace'](']','')['replace'](/;/g,':'),_0x19753f['ipv6uri']=!0x0),_0x19753f['pathNames']=function(_0xa69862,_0x882784){const _0x1c6c47=_0x882784['replace'](/\/{2,9}/g,'/')['split']('/');return'/'!=_0x882784['slice'](0x0,0x1)&&0x0!==_0x882784['length']||_0x1c6c47['splice'](0x0,0x1),'/'==_0x882784['slice'](-0x1)&&_0x1c6c47['splice'](_0x1c6c47['length']-0x1,0x1),_0x1c6c47;}(0x0,_0x19753f['path']),_0x19753f['queryKey']=function(_0x5c3795,_0x5d2d81){const _0x209b79={};return _0x5d2d81['replace'](/(?:^|&)([^&=]*)=?([^&]*)/g,function(_0x4f04bc,_0xc39910,_0x3c70ea){_0xc39910&&(_0x209b79[_0xc39910]=_0x3c70ea);}),_0x209b79;}(0x0,_0x19753f['query']),_0x19753f;}var EI=class Socket$1 extends XS{constructor(_0x181ff4,_0x52b1ac={}){super(),this['binaryType']='arraybuffer',this['writeBuffer']=[],_0x181ff4&&'object'==typeof _0x181ff4&&(_0x52b1ac=_0x181ff4,_0x181ff4=null),_0x181ff4?(_0x181ff4=_I(_0x181ff4),_0x52b1ac['hostname']=_0x181ff4['host'],_0x52b1ac['secure']='https'===_0x181ff4['protocol']||'wss'===_0x181ff4['protocol'],_0x52b1ac['port']=_0x181ff4['port'],_0x181ff4['query']&&(_0x52b1ac['query']=_0x181ff4['query'])):_0x52b1ac['host']&&(_0x52b1ac['hostname']=_I(_0x52b1ac['host'])['host']),KS(this,_0x52b1ac),this['secure']=null!=_0x52b1ac['secure']?_0x52b1ac['secure']:'undefined'!=typeof location&&'https:'===location['protocol'],_0x52b1ac['hostname']&&!_0x52b1ac['port']&&(_0x52b1ac['port']=this['secure']?'443':'80'),this['hostname']=_0x52b1ac['hostname']||('undefined'!=typeof location?location['hostname']:'localhost'),this['port']=_0x52b1ac['port']||('undefined'!=typeof location&&location['port']?location['port']:this['secure']?'443':'80'),this['transports']=_0x52b1ac['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},_0x52b1ac),this['opts']['path']=this['opts']['path']['replace'](/\/$/,'')+(this['opts']['addTrailingSlash']?'/':''),'string'==typeof this['opts']['query']&&(this['opts']['query']=function(_0x3b77a8){let _0x4bc626={},_0x1161c9=_0x3b77a8['split']('&');for(let _0x3b0373=0x0,_0xbe8ae2=_0x1161c9['length'];_0x3b0373<_0xbe8ae2;_0x3b0373++){let _0x197f6b=_0x1161c9[_0x3b0373]['split']('=');_0x4bc626[decodeURIComponent(_0x197f6b[0x0])]=decodeURIComponent(_0x197f6b[0x1]);}return _0x4bc626;}(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'](_0x3fe5fa){const _0x507a0f=Object['assign']({},this['opts']['query']);_0x507a0f['EIO']=0x4,_0x507a0f['transport']=_0x3fe5fa,this['id']&&(_0x507a0f['sid']=this['id']);const _0xd3347a=Object['assign']({},this['opts'],{'query':_0x507a0f,'socket':this,'hostname':this['hostname'],'secure':this['secure'],'port':this['port']},this['opts']['transportOptions'][_0x3fe5fa]);return new bI[_0x3fe5fa](_0xd3347a);}['open'](){let _0x46a40f;if(this['opts']['rememberUpgrade']&&Socket$1['priorWebsocketSuccess']&&-0x1!==this['transports']['indexOf']('websocket'))_0x46a40f='websocket';else{if(0x0===this['transports']['length'])return void this['setTimeoutFn'](()=>{this['emitReserved']('error','No\x20transports\x20available');},0x0);_0x46a40f=this['transports'][0x0];}this['readyState']='opening';try{_0x46a40f=this['createTransport'](_0x46a40f);}catch(_0x47eb03){return this['transports']['shift'](),void this['open']();}_0x46a40f['open'](),this['setTransport'](_0x46a40f);}['setTransport'](_0x23c4dc){this['transport']&&this['transport']['removeAllListeners'](),this['transport']=_0x23c4dc,_0x23c4dc['on']('drain',this['onDrain']['bind'](this))['on']('packet',this['onPacket']['bind'](this))['on']('error',this['onError']['bind'](this))['on']('close',_0x1eafef=>this['onClose']('transport\x20close',_0x1eafef));}['probe'](_0x1fd16d){let _0x8dd8c9=this['createTransport'](_0x1fd16d),_0x7f60cc=!0x1;Socket$1['priorWebsocketSuccess']=!0x1;const _0x5e3e30=()=>{_0x7f60cc||(_0x8dd8c9['send']([{'type':'ping','data':'probe'}]),_0x8dd8c9['once']('packet',_0x5d0b10=>{if(!_0x7f60cc){if('pong'===_0x5d0b10['type']&&'probe'===_0x5d0b10['data']){if(this['upgrading']=!0x0,this['emitReserved']('upgrading',_0x8dd8c9),!_0x8dd8c9)return;Socket$1['priorWebsocketSuccess']='websocket'===_0x8dd8c9['name'],this['transport']['pause'](()=>{_0x7f60cc||'closed'!==this['readyState']&&(_0x5a5d92(),this['setTransport'](_0x8dd8c9),_0x8dd8c9['send']([{'type':'upgrade'}]),this['emitReserved']('upgrade',_0x8dd8c9),_0x8dd8c9=null,this['upgrading']=!0x1,this['flush']());});}else{const _0x269a76=new Error('probe\x20error');_0x269a76['transport']=_0x8dd8c9['name'],this['emitReserved']('upgradeError',_0x269a76);}}}));};function _0xb69b85(){_0x7f60cc||(_0x7f60cc=!0x0,_0x5a5d92(),_0x8dd8c9['close'](),_0x8dd8c9=null);}const _0x12f87c=_0x463cdf=>{const _0x48e5cf=new Error('probe\x20error:\x20'+_0x463cdf);_0x48e5cf['transport']=_0x8dd8c9['name'],_0xb69b85(),this['emitReserved']('upgradeError',_0x48e5cf);};function _0x2a03b7(){_0x12f87c('transport\x20closed');}function _0x23a359(){_0x12f87c('socket\x20closed');}function _0x4baf43(_0x1f54b3){_0x8dd8c9&&_0x1f54b3['name']!==_0x8dd8c9['name']&&_0xb69b85();}const _0x5a5d92=()=>{_0x8dd8c9['removeListener']('open',_0x5e3e30),_0x8dd8c9['removeListener']('error',_0x12f87c),_0x8dd8c9['removeListener']('close',_0x2a03b7),this['off']('close',_0x23a359),this['off']('upgrading',_0x4baf43);};_0x8dd8c9['once']('open',_0x5e3e30),_0x8dd8c9['once']('error',_0x12f87c),_0x8dd8c9['once']('close',_0x2a03b7),this['once']('close',_0x23a359),this['once']('upgrading',_0x4baf43),-0x1!==this['upgrades']['indexOf']('webtransport')&&'webtransport'!==_0x1fd16d?this['setTimeoutFn'](()=>{_0x7f60cc||_0x8dd8c9['open']();},0xc8):_0x8dd8c9['open']();}['onOpen'](){if(this['readyState']='open',Socket$1['priorWebsocketSuccess']='websocket'===this['transport']['name'],this['emitReserved']('open'),this['flush'](),'open'===this['readyState']&&this['opts']['upgrade']){let _0xf0e964=0x0;const _0x1d809e=this['upgrades']['length'];for(;_0xf0e964<_0x1d809e;_0xf0e964++)this['probe'](this['upgrades'][_0xf0e964]);}}['onPacket'](_0xd26ca){if('opening'===this['readyState']||'open'===this['readyState']||'closing'===this['readyState'])switch(this['emitReserved']('packet',_0xd26ca),this['emitReserved']('heartbeat'),this['resetPingTimeout'](),_0xd26ca['type']){case'open':this['onHandshake'](JSON['parse'](_0xd26ca['data']));break;case'ping':this['sendPacket']('pong'),this['emitReserved']('ping'),this['emitReserved']('pong');break;case'error':const _0x4d1e0a=new Error('server\x20error');_0x4d1e0a['code']=_0xd26ca['data'],this['onError'](_0x4d1e0a);break;case'message':this['emitReserved']('data',_0xd26ca['data']),this['emitReserved']('message',_0xd26ca['data']);}}['onHandshake'](_0x371ee9){this['emitReserved']('handshake',_0x371ee9),this['id']=_0x371ee9['sid'],this['transport']['query']['sid']=_0x371ee9['sid'],this['upgrades']=this['filterUpgrades'](_0x371ee9['upgrades']),this['pingInterval']=_0x371ee9['pingInterval'],this['pingTimeout']=_0x371ee9['pingTimeout'],this['maxPayload']=_0x371ee9['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 _0x30b657=this['getWritablePackets']();this['transport']['send'](_0x30b657),this['prevBufferLen']=_0x30b657['length'],this['emitReserved']('flush');}}['getWritablePackets'](){if(!(this['maxPayload']&&'polling'===this['transport']['name']&&this['writeBuffer']['length']>0x1))return this['writeBuffer'];let _0x6d7a92=0x1;for(let _0x3167c8=0x0;_0x3167c8<this['writeBuffer']['length'];_0x3167c8++){const _0x448e11=this['writeBuffer'][_0x3167c8]['data'];if(_0x448e11&&(_0x6d7a92+=JS(_0x448e11)),_0x3167c8>0x0&&_0x6d7a92>this['maxPayload'])return this['writeBuffer']['slice'](0x0,_0x3167c8);_0x6d7a92+=0x2;}return this['writeBuffer'];}['write'](_0x1d93a0,_0x4ffd36,_0x13ab68){return this['sendPacket']('message',_0x1d93a0,_0x4ffd36,_0x13ab68),this;}['send'](_0x2e06df,_0x5e8fc5,_0x17bdfc){return this['sendPacket']('message',_0x2e06df,_0x5e8fc5,_0x17bdfc),this;}['sendPacket'](_0x519d02,_0x5eb6bd,_0x5059eb,_0x441020){if('function'==typeof _0x5eb6bd&&(_0x441020=_0x5eb6bd,_0x5eb6bd=void 0x0),'function'==typeof _0x5059eb&&(_0x441020=_0x5059eb,_0x5059eb=null),'closing'===this['readyState']||'closed'===this['readyState'])return;(_0x5059eb=_0x5059eb||{})['compress']=!0x1!==_0x5059eb['compress'];const _0x450738={'type':_0x519d02,'data':_0x5eb6bd,'options':_0x5059eb};this['emitReserved']('packetCreate',_0x450738),this['writeBuffer']['push'](_0x450738),_0x441020&&this['once']('flush',_0x441020),this['flush']();}['close'](){const _0x1cdea1=()=>{this['onClose']('forced\x20close'),this['transport']['close']();},_0x8dc52a=()=>{this['off']('upgrade',_0x8dc52a),this['off']('upgradeError',_0x8dc52a),_0x1cdea1();},_0x142d5a=()=>{this['once']('upgrade',_0x8dc52a),this['once']('upgradeError',_0x8dc52a);};return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['readyState']='closing',this['writeBuffer']['length']?this['once']('drain',()=>{this['upgrading']?_0x142d5a():_0x1cdea1();}):this['upgrading']?_0x142d5a():_0x1cdea1()),this;}['onError'](_0xe65949){Socket$1['priorWebsocketSuccess']=!0x1,this['emitReserved']('error',_0xe65949),this['onClose']('transport\x20error',_0xe65949);}['onClose'](_0x223e30,_0xc54cd){'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',_0x223e30,_0xc54cd),this['writeBuffer']=[],this['prevBufferLen']=0x0);}['filterUpgrades'](_0x59ad8b){const _0xb859ed=[];let _0x25facc=0x0;const _0x39847d=_0x59ad8b['length'];for(;_0x25facc<_0x39847d;_0x25facc++)~this['transports']['indexOf'](_0x59ad8b[_0x25facc])&&_0xb859ed['push'](_0x59ad8b[_0x25facc]);return _0xb859ed;}};EI['protocol']=0x4,EI['protocol'];const TI='function'==typeof ArrayBuffer,AI=Object['prototype']['toString'],SI='function'==typeof Blob||'undefined'!=typeof Blob&&'[object\x20BlobConstructor]'===AI['call'](Blob),II='function'==typeof File||'undefined'!=typeof File&&'[object\x20FileConstructor]'===AI['call'](File);function kI(_0x3d545c){return TI&&(_0x3d545c instanceof ArrayBuffer||(_0x587c30=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x587c30):_0x587c30['buffer']instanceof ArrayBuffer)(_0x3d545c))||SI&&_0x3d545c instanceof Blob||II&&_0x3d545c instanceof File;}function xI(_0x4fda42,_0x432dd8){if(!_0x4fda42||'object'!=typeof _0x4fda42)return!0x1;if(Array['isArray'](_0x4fda42)){for(let _0x1c04d6=0x0,_0x332561=_0x4fda42['length'];_0x1c04d6<_0x332561;_0x1c04d6++)if(xI(_0x4fda42[_0x1c04d6]))return!0x0;return!0x1;}if(kI(_0x4fda42))return!0x0;if(_0x4fda42['toJSON']&&'function'==typeof _0x4fda42['toJSON']&&0x1===arguments['length'])return xI(_0x4fda42['toJSON'](),!0x0);for(const _0x54ec9e in _0x4fda42)if(Object['prototype']['hasOwnProperty']['call'](_0x4fda42,_0x54ec9e)&&xI(_0x4fda42[_0x54ec9e]))return!0x0;return!0x1;}function CI(_0xb2ebb3){const _0x17d95f=[],_0x497120=_0xb2ebb3['data'],_0x119555=_0xb2ebb3;return _0x119555['data']=RI(_0x497120,_0x17d95f),_0x119555['attachments']=_0x17d95f['length'],{'packet':_0x119555,'buffers':_0x17d95f};}function RI(_0x16ef88,_0x4e53cf){if(!_0x16ef88)return _0x16ef88;if(kI(_0x16ef88)){const _0x2aed90={'_placeholder':!0x0,'num':_0x4e53cf['length']};return _0x4e53cf['push'](_0x16ef88),_0x2aed90;}if(Array['isArray'](_0x16ef88)){const _0x46f43f=new Array(_0x16ef88['length']);for(let _0x3fa49b=0x0;_0x3fa49b<_0x16ef88['length'];_0x3fa49b++)_0x46f43f[_0x3fa49b]=RI(_0x16ef88[_0x3fa49b],_0x4e53cf);return _0x46f43f;}if('object'==typeof _0x16ef88&&!(_0x16ef88 instanceof Date)){const _0x2c8389={};for(const _0xcb32a6 in _0x16ef88)Object['prototype']['hasOwnProperty']['call'](_0x16ef88,_0xcb32a6)&&(_0x2c8389[_0xcb32a6]=RI(_0x16ef88[_0xcb32a6],_0x4e53cf));return _0x2c8389;}return _0x16ef88;}function PI(_0x51c863,_0x426c46){return _0x51c863['data']=MI(_0x51c863['data'],_0x426c46),delete _0x51c863['attachments'],_0x51c863;}function MI(_0xa56467,_0xc4d2cf){if(!_0xa56467)return _0xa56467;if(_0xa56467&&!0x0===_0xa56467['_placeholder']){if('number'==typeof _0xa56467['num']&&_0xa56467['num']>=0x0&&_0xa56467['num']<_0xc4d2cf['length'])return _0xc4d2cf[_0xa56467['num']];throw new Error('illegal\x20attachments');}if(Array['isArray'](_0xa56467)){for(let _0x547066=0x0;_0x547066<_0xa56467['length'];_0x547066++)_0xa56467[_0x547066]=MI(_0xa56467[_0x547066],_0xc4d2cf);}else{if('object'==typeof _0xa56467){for(const _0x51ed10 in _0xa56467)Object['prototype']['hasOwnProperty']['call'](_0xa56467,_0x51ed10)&&(_0xa56467[_0x51ed10]=MI(_0xa56467[_0x51ed10],_0xc4d2cf));}}return _0xa56467;}var NI=qn({'Decoder':()=>QI,'Encoder':()=>DI,'PacketType':()=>$I,'isPacketValid':()=>BI,'protocol':()=>0x5});const LI=['connect','connect_error','disconnect','disconnecting','newListener','removeListener'];var $I;!function(_0x339e09){_0x339e09[_0x339e09['CONNECT']=0x0]='CONNECT',_0x339e09[_0x339e09['DISCONNECT']=0x1]='DISCONNECT',_0x339e09[_0x339e09['EVENT']=0x2]='EVENT',_0x339e09[_0x339e09['ACK']=0x3]='ACK',_0x339e09[_0x339e09['CONNECT_ERROR']=0x4]='CONNECT_ERROR',_0x339e09[_0x339e09['BINARY_EVENT']=0x5]='BINARY_EVENT',_0x339e09[_0x339e09['BINARY_ACK']=0x6]='BINARY_ACK';}($I||($I={}));var DI=class{constructor(_0x436b17){this['replacer']=_0x436b17;}['encode'](_0x2ecc5e){return _0x2ecc5e['type']!==$I['EVENT']&&_0x2ecc5e['type']!==$I['ACK']||!xI(_0x2ecc5e)?[this['encodeAsString'](_0x2ecc5e)]:this['encodeAsBinary']({'type':_0x2ecc5e['type']===$I['EVENT']?$I['BINARY_EVENT']:$I['BINARY_ACK'],'nsp':_0x2ecc5e['nsp'],'data':_0x2ecc5e['data'],'id':_0x2ecc5e['id']});}['encodeAsString'](_0x569ec9){let _0x56c6e6=''+_0x569ec9['type'];return _0x569ec9['type']!==$I['BINARY_EVENT']&&_0x569ec9['type']!==$I['BINARY_ACK']||(_0x56c6e6+=_0x569ec9['attachments']+'-'),_0x569ec9['nsp']&&'/'!==_0x569ec9['nsp']&&(_0x56c6e6+=_0x569ec9['nsp']+','),null!=_0x569ec9['id']&&(_0x56c6e6+=_0x569ec9['id']),null!=_0x569ec9['data']&&(_0x56c6e6+=JSON['stringify'](_0x569ec9['data'],this['replacer'])),_0x56c6e6;}['encodeAsBinary'](_0x3a9b40){const _0x6c3952=CI(_0x3a9b40),_0x52f369=this['encodeAsString'](_0x6c3952['packet']),_0x3571e6=_0x6c3952['buffers'];return _0x3571e6['unshift'](_0x52f369),_0x3571e6;}},QI=class Decoder$1 extends XS{constructor(_0x47ae41){super(),this['opts']=Object['assign']({'reviver':void 0x0,'maxAttachments':0xa},'function'==typeof _0x47ae41?{'reviver':_0x47ae41}:_0x47ae41);}['add'](_0x31c74b){let _0x516138;if('string'==typeof _0x31c74b){if(this['reconstructor'])throw new Error('got\x20plaintext\x20data\x20when\x20reconstructing\x20a\x20packet');_0x516138=this['decodeString'](_0x31c74b);const _0x26a771=_0x516138['type']===$I['BINARY_EVENT'];_0x26a771||_0x516138['type']===$I['BINARY_ACK']?(_0x516138['type']=_0x26a771?$I['EVENT']:$I['ACK'],this['reconstructor']=new jI(_0x516138),0x0===_0x516138['attachments']&&super['emitReserved']('decoded',_0x516138)):super['emitReserved']('decoded',_0x516138);}else{if(!kI(_0x31c74b)&&!_0x31c74b['base64'])throw new Error('Unknown\x20type:\x20'+_0x31c74b);if(!this['reconstructor'])throw new Error('got\x20binary\x20data\x20when\x20not\x20reconstructing\x20a\x20packet');_0x516138=this['reconstructor']['takeBinaryData'](_0x31c74b),_0x516138&&(this['reconstructor']=null,super['emitReserved']('decoded',_0x516138));}}['decodeString'](_0x44cf2d){let _0x594131=0x0;const _0x49e253={'type':Number(_0x44cf2d['charAt'](0x0))};if(void 0x0===$I[_0x49e253['type']])throw new Error('unknown\x20packet\x20type\x20'+_0x49e253['type']);if(_0x49e253['type']===$I['BINARY_EVENT']||_0x49e253['type']===$I['BINARY_ACK']){const _0x5db090=_0x594131+0x1;for(;'-'!==_0x44cf2d['charAt'](++_0x594131)&&_0x594131!=_0x44cf2d['length'];);const _0x4fc350=_0x44cf2d['substring'](_0x5db090,_0x594131);if(_0x4fc350!=Number(_0x4fc350)||'-'!==_0x44cf2d['charAt'](_0x594131))throw new Error('Illegal\x20attachments');const _0x82798b=Number(_0x4fc350);if(!UI(_0x82798b)||_0x82798b<0x0)throw new Error('Illegal\x20attachments');if(_0x82798b>this['opts']['maxAttachments'])throw new Error('too\x20many\x20attachments');_0x49e253['attachments']=_0x82798b;}if('/'===_0x44cf2d['charAt'](_0x594131+0x1)){const _0x2cdaef=_0x594131+0x1;for(;++_0x594131&&','!==_0x44cf2d['charAt'](_0x594131)&&_0x594131!==_0x44cf2d['length'];);_0x49e253['nsp']=_0x44cf2d['substring'](_0x2cdaef,_0x594131);}else _0x49e253['nsp']='/';const _0x242280=_0x44cf2d['charAt'](_0x594131+0x1);if(''!==_0x242280&&Number(_0x242280)==_0x242280){const _0x16a87d=_0x594131+0x1;for(;++_0x594131;){const _0x2b06dd=_0x44cf2d['charAt'](_0x594131);if(null==_0x2b06dd||Number(_0x2b06dd)!=_0x2b06dd){--_0x594131;break;}if(_0x594131===_0x44cf2d['length'])break;}_0x49e253['id']=Number(_0x44cf2d['substring'](_0x16a87d,_0x594131+0x1));}if(_0x44cf2d['charAt'](++_0x594131)){const _0x5f1b84=this['tryParse'](_0x44cf2d['substr'](_0x594131));if(!Decoder$1['isPayloadValid'](_0x49e253['type'],_0x5f1b84))throw new Error('invalid\x20payload');_0x49e253['data']=_0x5f1b84;}return _0x49e253;}['tryParse'](_0x4eafb4){try{return JSON['parse'](_0x4eafb4,this['opts']['reviver']);}catch(_0x22c28a){return!0x1;}}static['isPayloadValid'](_0x523757,_0x4c95a7){switch(_0x523757){case $I['CONNECT']:return VI(_0x4c95a7);case $I['DISCONNECT']:return void 0x0===_0x4c95a7;case $I['CONNECT_ERROR']:return'string'==typeof _0x4c95a7||VI(_0x4c95a7);case $I['EVENT']:case $I['BINARY_EVENT']:return Array['isArray'](_0x4c95a7)&&('number'==typeof _0x4c95a7[0x0]||'string'==typeof _0x4c95a7[0x0]&&-0x1===LI['indexOf'](_0x4c95a7[0x0]));case $I['ACK']:case $I['BINARY_ACK']:return Array['isArray'](_0x4c95a7);}}['destroy'](){this['reconstructor']&&(this['reconstructor']['finishedReconstruction'](),this['reconstructor']=null);}},jI=class{constructor(_0xf63eaa){this['packet']=_0xf63eaa,this['buffers']=[],this['reconPack']=_0xf63eaa;}['takeBinaryData'](_0x3ebba7){if(this['buffers']['push'](_0x3ebba7),this['buffers']['length']===this['reconPack']['attachments']){const _0x1227bc=PI(this['reconPack'],this['buffers']);return this['finishedReconstruction'](),_0x1227bc;}return null;}['finishedReconstruction'](){this['reconPack']=null,this['buffers']=[];}};const UI=Number['isInteger']||function(_0x127ab4){return'number'==typeof _0x127ab4&&isFinite(_0x127ab4)&&Math['floor'](_0x127ab4)===_0x127ab4;};function VI(_0x29e91d){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x29e91d);}function BI(_0x346cf4){return'string'==typeof _0x346cf4['nsp']&&function(_0x5aa7c8){return void 0x0===_0x5aa7c8||UI(_0x5aa7c8);}(_0x346cf4['id'])&&function(_0xa67a67,_0x10b433){switch(_0xa67a67){case $I['CONNECT']:return void 0x0===_0x10b433||VI(_0x10b433);case $I['DISCONNECT']:return void 0x0===_0x10b433;case $I['EVENT']:return Array['isArray'](_0x10b433)&&('number'==typeof _0x10b433[0x0]||'string'==typeof _0x10b433[0x0]&&-0x1===LI['indexOf'](_0x10b433[0x0]));case $I['ACK']:return Array['isArray'](_0x10b433);case $I['CONNECT_ERROR']:return'string'==typeof _0x10b433||VI(_0x10b433);default:return!0x1;}}(_0x346cf4['type'],_0x346cf4['data']);}function FI(_0x3d53f0,_0x497c50,_0x314a96){return _0x3d53f0['on'](_0x497c50,_0x314a96),function(){_0x3d53f0['off'](_0x497c50,_0x314a96);};}const HI=Object['freeze']({'connect':0x1,'connect_error':0x1,'disconnect':0x1,'disconnecting':0x1,'newListener':0x1,'removeListener':0x1});var ZI=class extends XS{constructor(_0xf17e7,_0x3cc1b4,_0x3ab276){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']=_0xf17e7,this['nsp']=_0x3cc1b4,_0x3ab276&&_0x3ab276['auth']&&(this['auth']=_0x3ab276['auth']),this['_opts']=Object['assign']({},_0x3ab276),this['io']['_autoConnect']&&this['open']();}get['disconnected'](){return!this['connected'];}['subEvents'](){if(this['subs'])return;const _0x1c19f1=this['io'];this['subs']=[FI(_0x1c19f1,'open',this['onopen']['bind'](this)),FI(_0x1c19f1,'packet',this['onpacket']['bind'](this)),FI(_0x1c19f1,'error',this['onerror']['bind'](this)),FI(_0x1c19f1,'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'](..._0xea8f74){return _0xea8f74['unshift']('message'),this['emit']['apply'](this,_0xea8f74),this;}['emit'](_0x524d01,..._0x523f37){if(HI['hasOwnProperty'](_0x524d01))throw new Error('\x22'+_0x524d01['toString']()+'\x22\x20is\x20a\x20reserved\x20event\x20name');if(_0x523f37['unshift'](_0x524d01),this['_opts']['retries']&&!this['flags']['fromQueue']&&!this['flags']['volatile'])return this['_addToQueue'](_0x523f37),this;const _0x544677={'type':$I['EVENT'],'data':_0x523f37,'options':{}};if(_0x544677['options']['compress']=!0x1!==this['flags']['compress'],'function'==typeof _0x523f37[_0x523f37['length']-0x1]){const _0x2ec6ea=this['ids']++,_0x53e971=_0x523f37['pop']();this['_registerAckCallback'](_0x2ec6ea,_0x53e971),_0x544677['id']=_0x2ec6ea;}const _0x5180b2=this['io']['engine']&&this['io']['engine']['transport']&&this['io']['engine']['transport']['writable'];return(!this['flags']['volatile']||_0x5180b2&&this['connected'])&&(this['connected']?(this['notifyOutgoingListeners'](_0x544677),this['packet'](_0x544677)):this['sendBuffer']['push'](_0x544677)),this['flags']={},this;}['_registerAckCallback'](_0x439605,_0x56462f){var _0x367585;const _0x530784=null!==(_0x367585=this['flags']['timeout'])&&void 0x0!==_0x367585?_0x367585:this['_opts']['ackTimeout'];if(void 0x0===_0x530784)return void(this['acks'][_0x439605]=_0x56462f);const _0x11bc67=this['io']['setTimeoutFn'](()=>{delete this['acks'][_0x439605];for(let _0x39757a=0x0;_0x39757a<this['sendBuffer']['length'];_0x39757a++)this['sendBuffer'][_0x39757a]['id']===_0x439605&&this['sendBuffer']['splice'](_0x39757a,0x1);_0x56462f['call'](this,new Error('operation\x20has\x20timed\x20out'));},_0x530784);this['acks'][_0x439605]=(..._0x3e75aa)=>{this['io']['clearTimeoutFn'](_0x11bc67),_0x56462f['apply'](this,[null,..._0x3e75aa]);};}['emitWithAck'](_0xa718c3,..._0x1c0160){const _0x55a6f2=void 0x0!==this['flags']['timeout']||void 0x0!==this['_opts']['ackTimeout'];return new Promise((_0x63d66c,_0x952bb1)=>{_0x1c0160['push']((_0x5b1f64,_0x18617b)=>_0x55a6f2?_0x5b1f64?_0x952bb1(_0x5b1f64):_0x63d66c(_0x18617b):_0x63d66c(_0x5b1f64)),this['emit'](_0xa718c3,..._0x1c0160);});}['_addToQueue'](_0x4c775b){let _0x36baaf;'function'==typeof _0x4c775b[_0x4c775b['length']-0x1]&&(_0x36baaf=_0x4c775b['pop']());const _0x382658={'id':this['_queueSeq']++,'tryCount':0x0,'pending':!0x1,'args':_0x4c775b,'flags':Object['assign']({'fromQueue':!0x0},this['flags'])};_0x4c775b['push']((_0x305856,..._0xe39130)=>{if(_0x382658===this['_queue'][0x0])return null!==_0x305856?_0x382658['tryCount']>this['_opts']['retries']&&(this['_queue']['shift'](),_0x36baaf&&_0x36baaf(_0x305856)):(this['_queue']['shift'](),_0x36baaf&&_0x36baaf(null,..._0xe39130)),_0x382658['pending']=!0x1,this['_drainQueue']();}),this['_queue']['push'](_0x382658),this['_drainQueue']();}['_drainQueue'](_0x191bcf=!0x1){if(!this['connected']||0x0===this['_queue']['length'])return;const _0x205523=this['_queue'][0x0];_0x205523['pending']&&!_0x191bcf||(_0x205523['pending']=!0x0,_0x205523['tryCount']++,this['flags']=_0x205523['flags'],this['emit']['apply'](this,_0x205523['args']));}['packet'](_0xe119a0){_0xe119a0['nsp']=this['nsp'],this['io']['_packet'](_0xe119a0);}['onopen'](){'function'==typeof this['auth']?this['auth'](_0x1b8d88=>{this['_sendConnectPacket'](_0x1b8d88);}):this['_sendConnectPacket'](this['auth']);}['_sendConnectPacket'](_0xef7459){this['packet']({'type':$I['CONNECT'],'data':this['_pid']?Object['assign']({'pid':this['_pid'],'offset':this['_lastOffset']},_0xef7459):_0xef7459});}['onerror'](_0x4d45f4){this['connected']||this['emitReserved']('connect_error',_0x4d45f4);}['onclose'](_0x4e6622,_0x54dc7b){this['connected']=!0x1,delete this['id'],this['emitReserved']('disconnect',_0x4e6622,_0x54dc7b);}['onpacket'](_0x5a453a){if(_0x5a453a['nsp']===this['nsp'])switch(_0x5a453a['type']){case $I['CONNECT']:_0x5a453a['data']&&_0x5a453a['data']['sid']?this['onconnect'](_0x5a453a['data']['sid'],_0x5a453a['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 $I['EVENT']:case $I['BINARY_EVENT']:this['onevent'](_0x5a453a);break;case $I['ACK']:case $I['BINARY_ACK']:this['onack'](_0x5a453a);break;case $I['DISCONNECT']:this['ondisconnect']();break;case $I['CONNECT_ERROR']:this['destroy']();const _0x320f67=new Error(_0x5a453a['data']['message']);_0x320f67['data']=_0x5a453a['data']['data'],this['emitReserved']('connect_error',_0x320f67);}}['onevent'](_0x261842){const _0x2506fc=_0x261842['data']||[];null!=_0x261842['id']&&_0x2506fc['push'](this['ack'](_0x261842['id'])),this['connected']?this['emitEvent'](_0x2506fc):this['receiveBuffer']['push'](Object['freeze'](_0x2506fc));}['emitEvent'](_0x2a4ecd){if(this['_anyListeners']&&this['_anyListeners']['length']){const _0x44b2e=this['_anyListeners']['slice']();for(const _0x756191 of _0x44b2e)_0x756191['apply'](this,_0x2a4ecd);}super['emit']['apply'](this,_0x2a4ecd),this['_pid']&&_0x2a4ecd['length']&&'string'==typeof _0x2a4ecd[_0x2a4ecd['length']-0x1]&&(this['_lastOffset']=_0x2a4ecd[_0x2a4ecd['length']-0x1]);}['ack'](_0x2aee52){const _0x1d8404=this;let _0x4f4970=!0x1;return function(..._0x1347e0){_0x4f4970||(_0x4f4970=!0x0,_0x1d8404['packet']({'type':$I['ACK'],'id':_0x2aee52,'data':_0x1347e0}));};}['onack'](_0x2efebe){const _0x10e85b=this['acks'][_0x2efebe['id']];'function'==typeof _0x10e85b&&(_0x10e85b['apply'](this,_0x2efebe['data']),delete this['acks'][_0x2efebe['id']]);}['onconnect'](_0x1b9b76,_0x2702ca){this['id']=_0x1b9b76,this['recovered']=_0x2702ca&&this['_pid']===_0x2702ca,this['_pid']=_0x2702ca,this['connected']=!0x0,this['emitBuffered'](),this['emitReserved']('connect'),this['_drainQueue'](!0x0);}['emitBuffered'](){this['receiveBuffer']['forEach'](_0x29702b=>this['emitEvent'](_0x29702b)),this['receiveBuffer']=[],this['sendBuffer']['forEach'](_0x36ea93=>{this['notifyOutgoingListeners'](_0x36ea93),this['packet'](_0x36ea93);}),this['sendBuffer']=[];}['ondisconnect'](){this['destroy'](),this['onclose']('io\x20server\x20disconnect');}['destroy'](){this['subs']&&(this['subs']['forEach'](_0x9b0f1c=>_0x9b0f1c()),this['subs']=void 0x0),this['io']['_destroy'](this);}['disconnect'](){return this['connected']&&this['packet']({'type':$I['DISCONNECT']}),this['destroy'](),this['connected']&&this['onclose']('io\x20client\x20disconnect'),this;}['close'](){return this['disconnect']();}['compress'](_0x483686){return this['flags']['compress']=_0x483686,this;}get['volatile'](){return this['flags']['volatile']=!0x0,this;}['timeout'](_0x21c243){return this['flags']['timeout']=_0x21c243,this;}['onAny'](_0x201df9){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['push'](_0x201df9),this;}['prependAny'](_0x15c34b){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['unshift'](_0x15c34b),this;}['offAny'](_0x2c81e2){if(!this['_anyListeners'])return this;if(_0x2c81e2){const _0x40ca9b=this['_anyListeners'];for(let _0x2f8a06=0x0;_0x2f8a06<_0x40ca9b['length'];_0x2f8a06++)if(_0x2c81e2===_0x40ca9b[_0x2f8a06])return _0x40ca9b['splice'](_0x2f8a06,0x1),this;}else this['_anyListeners']=[];return this;}['listenersAny'](){return this['_anyListeners']||[];}['onAnyOutgoing'](_0x1c1829){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['push'](_0x1c1829),this;}['prependAnyOutgoing'](_0x580d4d){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['unshift'](_0x580d4d),this;}['offAnyOutgoing'](_0x407968){if(!this['_anyOutgoingListeners'])return this;if(_0x407968){const _0x50d257=this['_anyOutgoingListeners'];for(let _0x26c08c=0x0;_0x26c08c<_0x50d257['length'];_0x26c08c++)if(_0x407968===_0x50d257[_0x26c08c])return _0x50d257['splice'](_0x26c08c,0x1),this;}else this['_anyOutgoingListeners']=[];return this;}['listenersAnyOutgoing'](){return this['_anyOutgoingListeners']||[];}['notifyOutgoingListeners'](_0x488b02){if(this['_anyOutgoingListeners']&&this['_anyOutgoingListeners']['length']){const _0x15226e=this['_anyOutgoingListeners']['slice']();for(const _0x2e5b64 of _0x15226e)_0x2e5b64['apply'](this,_0x488b02['data']);}}};function GI(_0x1e974d){_0x1e974d=_0x1e974d||{},this['ms']=_0x1e974d['min']||0x64,this['max']=_0x1e974d['max']||0x2710,this['factor']=_0x1e974d['factor']||0x2,this['jitter']=_0x1e974d['jitter']>0x0&&_0x1e974d['jitter']<=0x1?_0x1e974d['jitter']:0x0,this['attempts']=0x0;}GI['prototype']['duration']=function(){var _0x5dd77b=this['ms']*Math['pow'](this['factor'],this['attempts']++);if(this['jitter']){var _0x28f417=Math['random'](),_0x3d9fdd=Math['floor'](_0x28f417*this['jitter']*_0x5dd77b);_0x5dd77b=0x1&Math['floor'](0xa*_0x28f417)?_0x5dd77b+_0x3d9fdd:_0x5dd77b-_0x3d9fdd;}return 0x0|Math['min'](_0x5dd77b,this['max']);},GI['prototype']['reset']=function(){this['attempts']=0x0;},GI['prototype']['setMin']=function(_0x149755){this['ms']=_0x149755;},GI['prototype']['setMax']=function(_0x55e30c){this['max']=_0x55e30c;},GI['prototype']['setJitter']=function(_0x2f4e73){this['jitter']=_0x2f4e73;};var XI=class extends XS{constructor(_0x3c6f59,_0x4b702b){var _0x397b7d;super(),this['nsps']={},this['subs']=[],_0x3c6f59&&'object'==typeof _0x3c6f59&&(_0x4b702b=_0x3c6f59,_0x3c6f59=void 0x0),(_0x4b702b=_0x4b702b||{})['path']=_0x4b702b['path']||'/socket.io',this['opts']=_0x4b702b,KS(this,_0x4b702b),this['reconnection'](!0x1!==_0x4b702b['reconnection']),this['reconnectionAttempts'](_0x4b702b['reconnectionAttempts']||0x1/0x0),this['reconnectionDelay'](_0x4b702b['reconnectionDelay']||0x3e8),this['reconnectionDelayMax'](_0x4b702b['reconnectionDelayMax']||0x1388),this['randomizationFactor'](null!==(_0x397b7d=_0x4b702b['randomizationFactor'])&&void 0x0!==_0x397b7d?_0x397b7d:0.5),this['backoff']=new GI({'min':this['reconnectionDelay'](),'max':this['reconnectionDelayMax'](),'jitter':this['randomizationFactor']()}),this['timeout'](null==_0x4b702b['timeout']?0x4e20:_0x4b702b['timeout']),this['_readyState']='closed',this['uri']=_0x3c6f59;const _0x3570b6=_0x4b702b['parser']||NI;this['encoder']=new _0x3570b6['Encoder'](),this['decoder']=new _0x3570b6['Decoder'](),this['_autoConnect']=!0x1!==_0x4b702b['autoConnect'],this['_autoConnect']&&this['open']();}['reconnection'](_0x71aa4){return arguments['length']?(this['_reconnection']=!!_0x71aa4,this):this['_reconnection'];}['reconnectionAttempts'](_0x4eec2a){return void 0x0===_0x4eec2a?this['_reconnectionAttempts']:(this['_reconnectionAttempts']=_0x4eec2a,this);}['reconnectionDelay'](_0x2e43dd){var _0x19e302;return void 0x0===_0x2e43dd?this['_reconnectionDelay']:(this['_reconnectionDelay']=_0x2e43dd,null===(_0x19e302=this['backoff'])||void 0x0===_0x19e302||_0x19e302['setMin'](_0x2e43dd),this);}['randomizationFactor'](_0x58f39d){var _0x423220;return void 0x0===_0x58f39d?this['_randomizationFactor']:(this['_randomizationFactor']=_0x58f39d,null===(_0x423220=this['backoff'])||void 0x0===_0x423220||_0x423220['setJitter'](_0x58f39d),this);}['reconnectionDelayMax'](_0x427fe8){var _0x5f3ae5;return void 0x0===_0x427fe8?this['_reconnectionDelayMax']:(this['_reconnectionDelayMax']=_0x427fe8,null===(_0x5f3ae5=this['backoff'])||void 0x0===_0x5f3ae5||_0x5f3ae5['setMax'](_0x427fe8),this);}['timeout'](_0x2398d1){return arguments['length']?(this['_timeout']=_0x2398d1,this):this['_timeout'];}['maybeReconnectOnOpen'](){!this['_reconnecting']&&this['_reconnection']&&0x0===this['backoff']['attempts']&&this['reconnect']();}['open'](_0x16ce76){if(~this['_readyState']['indexOf']('open'))return this;this['engine']=new EI(this['uri'],this['opts']);const _0xc2e075=this['engine'],_0x39a14f=this;this['_readyState']='opening',this['skipReconnect']=!0x1;const _0x293ea1=FI(_0xc2e075,'open',function(){_0x39a14f['onopen'](),_0x16ce76&&_0x16ce76();}),_0x496a91=_0x3cde2d=>{this['cleanup'](),this['_readyState']='closed',this['emitReserved']('error',_0x3cde2d),_0x16ce76?_0x16ce76(_0x3cde2d):this['maybeReconnectOnOpen']();},_0x559594=FI(_0xc2e075,'error',_0x496a91);if(!0x1!==this['_timeout']){const _0x56d98d=this['_timeout'],_0x1e0deb=this['setTimeoutFn'](()=>{_0x293ea1(),_0x496a91(new Error('timeout')),_0xc2e075['close']();},_0x56d98d);this['opts']['autoUnref']&&_0x1e0deb['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x1e0deb);});}return this['subs']['push'](_0x293ea1),this['subs']['push'](_0x559594),this;}['connect'](_0x4ca62e){return this['open'](_0x4ca62e);}['onopen'](){this['cleanup'](),this['_readyState']='open',this['emitReserved']('open');const _0x1d84f7=this['engine'];this['subs']['push'](FI(_0x1d84f7,'ping',this['onping']['bind'](this)),FI(_0x1d84f7,'data',this['ondata']['bind'](this)),FI(_0x1d84f7,'error',this['onerror']['bind'](this)),FI(_0x1d84f7,'close',this['onclose']['bind'](this)),FI(this['decoder'],'decoded',this['ondecoded']['bind'](this)));}['onping'](){this['emitReserved']('ping');}['ondata'](_0x38a428){try{this['decoder']['add'](_0x38a428);}catch(_0x29387b){this['onclose']('parse\x20error',_0x29387b);}}['ondecoded'](_0x28df3c){gI(()=>{this['emitReserved']('packet',_0x28df3c);},this['setTimeoutFn']);}['onerror'](_0x484b90){this['emitReserved']('error',_0x484b90);}['socket'](_0x588a02,_0x224c48){let _0x5f3596=this['nsps'][_0x588a02];return _0x5f3596?this['_autoConnect']&&!_0x5f3596['active']&&_0x5f3596['connect']():(_0x5f3596=new ZI(this,_0x588a02,_0x224c48),this['nsps'][_0x588a02]=_0x5f3596),_0x5f3596;}['_destroy'](_0x32e444){const _0x171828=Object['keys'](this['nsps']);for(const _0x25e192 of _0x171828)if(this['nsps'][_0x25e192]['active'])return;this['_close']();}['_packet'](_0x1ba863){const _0x9219fe=this['encoder']['encode'](_0x1ba863);for(let _0x1696d3=0x0;_0x1696d3<_0x9219fe['length'];_0x1696d3++)this['engine']['write'](_0x9219fe[_0x1696d3],_0x1ba863['options']);}['cleanup'](){this['subs']['forEach'](_0xecb41=>_0xecb41()),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'](_0x18934c,_0x31d131){this['cleanup'](),this['backoff']['reset'](),this['_readyState']='closed',this['emitReserved']('close',_0x18934c,_0x31d131),this['_reconnection']&&!this['skipReconnect']&&this['reconnect']();}['reconnect'](){if(this['_reconnecting']||this['skipReconnect'])return this;const _0x3983ac=this;if(this['backoff']['attempts']>=this['_reconnectionAttempts'])this['backoff']['reset'](),this['emitReserved']('reconnect_failed'),this['_reconnecting']=!0x1;else{const _0x11f675=this['backoff']['duration']();this['_reconnecting']=!0x0;const _0x43a2ec=this['setTimeoutFn'](()=>{_0x3983ac['skipReconnect']||(this['emitReserved']('reconnect_attempt',_0x3983ac['backoff']['attempts']),_0x3983ac['skipReconnect']||_0x3983ac['open'](_0x461dd7=>{_0x461dd7?(_0x3983ac['_reconnecting']=!0x1,_0x3983ac['reconnect'](),this['emitReserved']('reconnect_error',_0x461dd7)):_0x3983ac['onreconnect']();}));},_0x11f675);this['opts']['autoUnref']&&_0x43a2ec['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x43a2ec);});}}['onreconnect'](){const _0x4bc009=this['backoff']['attempts'];this['_reconnecting']=!0x1,this['backoff']['reset'](),this['emitReserved']('reconnect',_0x4bc009);}};const qI={};function WI(_0x1853a3,_0x36b009){'object'==typeof _0x1853a3&&(_0x36b009=_0x1853a3,_0x1853a3=void 0x0);const _0xfdd515=function(_0x427ee6,_0x254ed8='',_0x483fe7){let _0x217472=_0x427ee6;_0x483fe7=_0x483fe7||'undefined'!=typeof location&&location,null==_0x427ee6&&(_0x427ee6=_0x483fe7['protocol']+'//'+_0x483fe7['host']),'string'==typeof _0x427ee6&&('/'===_0x427ee6['charAt'](0x0)&&(_0x427ee6='/'===_0x427ee6['charAt'](0x1)?_0x483fe7['protocol']+_0x427ee6:_0x483fe7['host']+_0x427ee6),/^(https?|wss?):\/\//['test'](_0x427ee6)||(_0x427ee6=void 0x0!==_0x483fe7?_0x483fe7['protocol']+'//'+_0x427ee6:'https://'+_0x427ee6),_0x217472=_I(_0x427ee6)),_0x217472['port']||(/^(http|ws)$/['test'](_0x217472['protocol'])?_0x217472['port']='80':/^(http|ws)s$/['test'](_0x217472['protocol'])&&(_0x217472['port']='443')),_0x217472['path']=_0x217472['path']||'/';const _0x545016=-0x1!==_0x217472['host']['indexOf'](':')?'['+_0x217472['host']+']':_0x217472['host'];return _0x217472['id']=_0x217472['protocol']+'://'+_0x545016+':'+_0x217472['port']+_0x254ed8,_0x217472['href']=_0x217472['protocol']+'://'+_0x545016+(_0x483fe7&&_0x483fe7['port']===_0x217472['port']?'':':'+_0x217472['port']),_0x217472;}(_0x1853a3,(_0x36b009=_0x36b009||{})['path']||'/socket.io'),_0x4d1fdf=_0xfdd515['source'],_0x27cc23=_0xfdd515['id'],_0x3e37e1=_0xfdd515['path'],_0x246552=qI[_0x27cc23]&&_0x3e37e1 in qI[_0x27cc23]['nsps'];let _0x433db8;return _0x36b009['forceNew']||_0x36b009['force\x20new\x20connection']||!0x1===_0x36b009['multiplex']||_0x246552?_0x433db8=new XI(_0x4d1fdf,_0x36b009):(qI[_0x27cc23]||(qI[_0x27cc23]=new XI(_0x4d1fdf,_0x36b009)),_0x433db8=qI[_0x27cc23]),_0xfdd515['query']&&!_0x36b009['query']&&(_0x36b009['query']=_0xfdd515['queryKey']),_0x433db8['socket'](_0xfdd515['path'],_0x36b009);}Object['assign'](WI,{'Manager':XI,'Socket':ZI,'io':WI,'connect':WI});var zI=Xn((_0x111b30,_0x313f60)=>{_0x313f60['exports']=function(_0x2f9764,_0x55f739){if(_0x55f739=_0x55f739['split'](':')[0x0],!(_0x2f9764=+_0x2f9764))return!0x1;switch(_0x55f739){case'http':case'ws':return 0x50!==_0x2f9764;case'https':case'wss':return 0x1bb!==_0x2f9764;case'ftp':return 0x15!==_0x2f9764;case'gopher':return 0x46!==_0x2f9764;case'file':return!0x1;}return 0x0!==_0x2f9764;};}),YI=Xn(_0x44add4=>{var _0x140b5c=Object['prototype']['hasOwnProperty'];function _0x3717e2(_0x5164eb){try{return decodeURIComponent(_0x5164eb['replace'](/\+/g,'\x20'));}catch(_0x4c07e3){return null;}}function _0xae7fa7(_0x51a96b){try{return encodeURIComponent(_0x51a96b);}catch(_0x231476){return null;}}_0x44add4['stringify']=function(_0x22476a,_0xb1978b){_0xb1978b=_0xb1978b||'';var _0x50c949,_0x30b5ac,_0x273f26=[];for(_0x30b5ac in('string'!=typeof _0xb1978b&&(_0xb1978b='?'),_0x22476a))if(_0x140b5c['call'](_0x22476a,_0x30b5ac)){if((_0x50c949=_0x22476a[_0x30b5ac])||null!=_0x50c949&&!isNaN(_0x50c949)||(_0x50c949=''),_0x30b5ac=_0xae7fa7(_0x30b5ac),_0x50c949=_0xae7fa7(_0x50c949),null===_0x30b5ac||null===_0x50c949)continue;_0x273f26['push'](_0x30b5ac+'='+_0x50c949);}return _0x273f26['length']?_0xb1978b+_0x273f26['join']('&'):'';},_0x44add4['parse']=function(_0x3839c3){for(var _0x3e04c6,_0x114a76=/([^=?#&]+)=?([^&]*)/g,_0x5f36d9={};_0x3e04c6=_0x114a76['exec'](_0x3839c3);){var _0x43eb63=_0x3717e2(_0x3e04c6[0x1]),_0x2bf9f3=_0x3717e2(_0x3e04c6[0x2]);null===_0x43eb63||null===_0x2bf9f3||_0x43eb63 in _0x5f36d9||(_0x5f36d9[_0x43eb63]=_0x2bf9f3);}return _0x5f36d9;};}),KI=Xn((_0x48849f,_0x1db869)=>{var _0x5cc794=zI(),_0x281338=YI(),_0x4f9678=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,_0x4d6be0=/[\n\r\t]/g,_0x12acee=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,_0x52d1ed=/:\d+$/,_0x447cca=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,_0x1236e8=/^[a-zA-Z]:/;function _0x45b8af(_0x309219){return(_0x309219||'')['toString']()['replace'](_0x4f9678,'');}var _0x4f96c4=[['#','hash'],['?','query'],function(_0x421203,_0x16670e){return _0x50cd8b(_0x16670e['protocol'])?_0x421203['replace'](/\\/g,'/'):_0x421203;},['/','pathname'],['@','auth',0x1],[NaN,'host',void 0x0,0x1,0x1],[/:(\d*)$/,'port',void 0x0,0x1],[NaN,'hostname',void 0x0,0x1,0x1]],_0x328018={'hash':0x1,'query':0x1};function _0x23f962(_0x188719){var _0x56b467,_0x28b0fe=('undefined'!=typeof window?window:'undefined'!=typeof global?global:'undefined'!=typeof self?self:{})['location']||{},_0x265561={},_0x12e198=typeof(_0x188719=_0x188719||_0x28b0fe);if('blob:'===_0x188719['protocol'])_0x265561=new _0x36d0a9(unescape(_0x188719['pathname']),{});else{if('string'===_0x12e198){for(_0x56b467 in(_0x265561=new _0x36d0a9(_0x188719,{}),_0x328018))delete _0x265561[_0x56b467];}else{if('object'===_0x12e198){for(_0x56b467 in _0x188719)_0x56b467 in _0x328018||(_0x265561[_0x56b467]=_0x188719[_0x56b467]);void 0x0===_0x265561['slashes']&&(_0x265561['slashes']=_0x12acee['test'](_0x188719['href']));}}}return _0x265561;}function _0x50cd8b(_0x284587){return'file:'===_0x284587||'ftp:'===_0x284587||'http:'===_0x284587||'https:'===_0x284587||'ws:'===_0x284587||'wss:'===_0x284587;}function _0x4a55ad(_0x4e8566,_0x58f3d1){_0x4e8566=(_0x4e8566=_0x45b8af(_0x4e8566))['replace'](_0x4d6be0,''),_0x58f3d1=_0x58f3d1||{};var _0x4c8c2e,_0x52921d=_0x447cca['exec'](_0x4e8566),_0x1db5af=_0x52921d[0x1]?_0x52921d[0x1]['toLowerCase']():'',_0x29d759=!!_0x52921d[0x2],_0x3c76bf=!!_0x52921d[0x3],_0x5ddb74=0x0;return _0x29d759?_0x3c76bf?(_0x4c8c2e=_0x52921d[0x2]+_0x52921d[0x3]+_0x52921d[0x4],_0x5ddb74=_0x52921d[0x2]['length']+_0x52921d[0x3]['length']):(_0x4c8c2e=_0x52921d[0x2]+_0x52921d[0x4],_0x5ddb74=_0x52921d[0x2]['length']):_0x3c76bf?(_0x4c8c2e=_0x52921d[0x3]+_0x52921d[0x4],_0x5ddb74=_0x52921d[0x3]['length']):_0x4c8c2e=_0x52921d[0x4],'file:'===_0x1db5af?_0x5ddb74>=0x2&&(_0x4c8c2e=_0x4c8c2e['slice'](0x2)):_0x50cd8b(_0x1db5af)?_0x4c8c2e=_0x52921d[0x4]:_0x1db5af?_0x29d759&&(_0x4c8c2e=_0x4c8c2e['slice'](0x2)):_0x5ddb74>=0x2&&_0x50cd8b(_0x58f3d1['protocol'])&&(_0x4c8c2e=_0x52921d[0x4]),{'protocol':_0x1db5af,'slashes':_0x29d759||_0x50cd8b(_0x1db5af),'slashesCount':_0x5ddb74,'rest':_0x4c8c2e};}function _0x36d0a9(_0x4cf4d7,_0x2d6d4f,_0xa149de){if(_0x4cf4d7=(_0x4cf4d7=_0x45b8af(_0x4cf4d7))['replace'](_0x4d6be0,''),!(this instanceof _0x36d0a9))return new _0x36d0a9(_0x4cf4d7,_0x2d6d4f,_0xa149de);var _0x18e219,_0xb40968,_0x1b8332,_0x4b360f,_0x18683f,_0x133b87,_0x30428e=_0x4f96c4['slice'](),_0x1bea21=typeof _0x2d6d4f,_0x1dd903=this,_0x24dce7=0x0;for('object'!==_0x1bea21&&'string'!==_0x1bea21&&(_0xa149de=_0x2d6d4f,_0x2d6d4f=null),_0xa149de&&'function'!=typeof _0xa149de&&(_0xa149de=_0x281338['parse']),_0x18e219=!(_0xb40968=_0x4a55ad(_0x4cf4d7||'',_0x2d6d4f=_0x23f962(_0x2d6d4f)))['protocol']&&!_0xb40968['slashes'],_0x1dd903['slashes']=_0xb40968['slashes']||_0x18e219&&_0x2d6d4f['slashes'],_0x1dd903['protocol']=_0xb40968['protocol']||_0x2d6d4f['protocol']||'',_0x4cf4d7=_0xb40968['rest'],('file:'===_0xb40968['protocol']&&(0x2!==_0xb40968['slashesCount']||_0x1236e8['test'](_0x4cf4d7))||!_0xb40968['slashes']&&(_0xb40968['protocol']||_0xb40968['slashesCount']<0x2||!_0x50cd8b(_0x1dd903['protocol'])))&&(_0x30428e[0x3]=[/(.*)/,'pathname']);_0x24dce7<_0x30428e['length'];_0x24dce7++)'function'!=typeof(_0x4b360f=_0x30428e[_0x24dce7])?(_0x1b8332=_0x4b360f[0x0],_0x133b87=_0x4b360f[0x1],_0x1b8332!=_0x1b8332?_0x1dd903[_0x133b87]=_0x4cf4d7:'string'==typeof _0x1b8332?~(_0x18683f='@'===_0x1b8332?_0x4cf4d7['lastIndexOf'](_0x1b8332):_0x4cf4d7['indexOf'](_0x1b8332))&&('number'==typeof _0x4b360f[0x2]?(_0x1dd903[_0x133b87]=_0x4cf4d7['slice'](0x0,_0x18683f),_0x4cf4d7=_0x4cf4d7['slice'](_0x18683f+_0x4b360f[0x2])):(_0x1dd903[_0x133b87]=_0x4cf4d7['slice'](_0x18683f),_0x4cf4d7=_0x4cf4d7['slice'](0x0,_0x18683f))):(_0x18683f=_0x1b8332['exec'](_0x4cf4d7))&&(_0x1dd903[_0x133b87]=_0x18683f[0x1],_0x4cf4d7=_0x4cf4d7['slice'](0x0,_0x18683f['index'])),_0x1dd903[_0x133b87]=_0x1dd903[_0x133b87]||_0x18e219&&_0x4b360f[0x3]&&_0x2d6d4f[_0x133b87]||'',_0x4b360f[0x4]&&(_0x1dd903[_0x133b87]=_0x1dd903[_0x133b87]['toLowerCase']())):_0x4cf4d7=_0x4b360f(_0x4cf4d7,_0x1dd903);_0xa149de&&(_0x1dd903['query']=_0xa149de(_0x1dd903['query'])),_0x18e219&&_0x2d6d4f['slashes']&&'/'!==_0x1dd903['pathname']['charAt'](0x0)&&(''!==_0x1dd903['pathname']||''!==_0x2d6d4f['pathname'])&&(_0x1dd903['pathname']=function(_0x371fdb,_0x41d85a){if(''===_0x371fdb)return _0x41d85a;for(var _0x1fc1af=(_0x41d85a||'/')['split']('/')['slice'](0x0,-0x1)['concat'](_0x371fdb['split']('/')),_0x381856=_0x1fc1af['length'],_0x3b0643=_0x1fc1af[_0x381856-0x1],_0x558ad7=!0x1,_0x3db2fc=0x0;_0x381856--;)'.'===_0x1fc1af[_0x381856]?_0x1fc1af['splice'](_0x381856,0x1):'..'===_0x1fc1af[_0x381856]?(_0x1fc1af['splice'](_0x381856,0x1),_0x3db2fc++):_0x3db2fc&&(0x0===_0x381856&&(_0x558ad7=!0x0),_0x1fc1af['splice'](_0x381856,0x1),_0x3db2fc--);return _0x558ad7&&_0x1fc1af['unshift'](''),'.'!==_0x3b0643&&'..'!==_0x3b0643||_0x1fc1af['push'](''),_0x1fc1af['join']('/');}(_0x1dd903['pathname'],_0x2d6d4f['pathname'])),'/'!==_0x1dd903['pathname']['charAt'](0x0)&&_0x50cd8b(_0x1dd903['protocol'])&&(_0x1dd903['pathname']='/'+_0x1dd903['pathname']),_0x5cc794(_0x1dd903['port'],_0x1dd903['protocol'])||(_0x1dd903['host']=_0x1dd903['hostname'],_0x1dd903['port']=''),_0x1dd903['username']=_0x1dd903['password']='',_0x1dd903['auth']&&(~(_0x18683f=_0x1dd903['auth']['indexOf'](':'))?(_0x1dd903['username']=_0x1dd903['auth']['slice'](0x0,_0x18683f),_0x1dd903['username']=encodeURIComponent(decodeURIComponent(_0x1dd903['username'])),_0x1dd903['password']=_0x1dd903['auth']['slice'](_0x18683f+0x1),_0x1dd903['password']=encodeURIComponent(decodeURIComponent(_0x1dd903['password']))):_0x1dd903['username']=encodeURIComponent(decodeURIComponent(_0x1dd903['auth'])),_0x1dd903['auth']=_0x1dd903['password']?_0x1dd903['username']+':'+_0x1dd903['password']:_0x1dd903['username']),_0x1dd903['origin']='file:'!==_0x1dd903['protocol']&&_0x50cd8b(_0x1dd903['protocol'])&&_0x1dd903['host']?_0x1dd903['protocol']+'//'+_0x1dd903['host']:'null',_0x1dd903['href']=_0x1dd903['toString']();}_0x36d0a9['prototype']={'set':function(_0x55dd17,_0x2973c8,_0x3c0209){var _0x12cee1=this;switch(_0x55dd17){case'query':'string'==typeof _0x2973c8&&_0x2973c8['length']&&(_0x2973c8=(_0x3c0209||_0x281338['parse'])(_0x2973c8)),_0x12cee1[_0x55dd17]=_0x2973c8;break;case'port':_0x12cee1[_0x55dd17]=_0x2973c8,_0x5cc794(_0x2973c8,_0x12cee1['protocol'])?_0x2973c8&&(_0x12cee1['host']=_0x12cee1['hostname']+':'+_0x2973c8):(_0x12cee1['host']=_0x12cee1['hostname'],_0x12cee1[_0x55dd17]='');break;case'hostname':_0x12cee1[_0x55dd17]=_0x2973c8,_0x12cee1['port']&&(_0x2973c8+=':'+_0x12cee1['port']),_0x12cee1['host']=_0x2973c8;break;case'host':_0x12cee1[_0x55dd17]=_0x2973c8,_0x52d1ed['test'](_0x2973c8)?(_0x2973c8=_0x2973c8['split'](':'),_0x12cee1['port']=_0x2973c8['pop'](),_0x12cee1['hostname']=_0x2973c8['join'](':')):(_0x12cee1['hostname']=_0x2973c8,_0x12cee1['port']='');break;case'protocol':_0x12cee1['protocol']=_0x2973c8['toLowerCase'](),_0x12cee1['slashes']=!_0x3c0209;break;case'pathname':case'hash':if(_0x2973c8){var _0x183f77='pathname'===_0x55dd17?'/':'#';_0x12cee1[_0x55dd17]=_0x2973c8['charAt'](0x0)!==_0x183f77?_0x183f77+_0x2973c8:_0x2973c8;}else _0x12cee1[_0x55dd17]=_0x2973c8;break;case'username':case'password':_0x12cee1[_0x55dd17]=encodeURIComponent(_0x2973c8);break;case'auth':var _0x4d4f33=_0x2973c8['indexOf'](':');~_0x4d4f33?(_0x12cee1['username']=_0x2973c8['slice'](0x0,_0x4d4f33),_0x12cee1['username']=encodeURIComponent(decodeURIComponent(_0x12cee1['username'])),_0x12cee1['password']=_0x2973c8['slice'](_0x4d4f33+0x1),_0x12cee1['password']=encodeURIComponent(decodeURIComponent(_0x12cee1['password']))):_0x12cee1['username']=encodeURIComponent(decodeURIComponent(_0x2973c8));}for(var _0x23dc60=0x0;_0x23dc60<_0x4f96c4['length'];_0x23dc60++){var _0x33ed6f=_0x4f96c4[_0x23dc60];_0x33ed6f[0x4]&&(_0x12cee1[_0x33ed6f[0x1]]=_0x12cee1[_0x33ed6f[0x1]]['toLowerCase']());}return _0x12cee1['auth']=_0x12cee1['password']?_0x12cee1['username']+':'+_0x12cee1['password']:_0x12cee1['username'],_0x12cee1['origin']='file:'!==_0x12cee1['protocol']&&_0x50cd8b(_0x12cee1['protocol'])&&_0x12cee1['host']?_0x12cee1['protocol']+'//'+_0x12cee1['host']:'null',_0x12cee1['href']=_0x12cee1['toString'](),_0x12cee1;},'toString':function(_0x36b9fb){_0x36b9fb&&'function'==typeof _0x36b9fb||(_0x36b9fb=_0x281338['stringify']);var _0x239781,_0xf6f140=this,_0x3bb4c2=_0xf6f140['host'],_0x4f5430=_0xf6f140['protocol'];_0x4f5430&&':'!==_0x4f5430['charAt'](_0x4f5430['length']-0x1)&&(_0x4f5430+=':');var _0x23e3d9=_0x4f5430+(_0xf6f140['protocol']&&_0xf6f140['slashes']||_0x50cd8b(_0xf6f140['protocol'])?'//':'');return _0xf6f140['username']?(_0x23e3d9+=_0xf6f140['username'],_0xf6f140['password']&&(_0x23e3d9+=':'+_0xf6f140['password']),_0x23e3d9+='@'):_0xf6f140['password']?(_0x23e3d9+=':'+_0xf6f140['password'],_0x23e3d9+='@'):'file:'!==_0xf6f140['protocol']&&_0x50cd8b(_0xf6f140['protocol'])&&!_0x3bb4c2&&'/'!==_0xf6f140['pathname']&&(_0x23e3d9+='@'),(':'===_0x3bb4c2[_0x3bb4c2['length']-0x1]||_0x52d1ed['test'](_0xf6f140['hostname'])&&!_0xf6f140['port'])&&(_0x3bb4c2+=':'),_0x23e3d9+=_0x3bb4c2+_0xf6f140['pathname'],(_0x239781='object'==typeof _0xf6f140['query']?_0x36b9fb(_0xf6f140['query']):_0xf6f140['query'])&&(_0x23e3d9+='?'!==_0x239781['charAt'](0x0)?'?'+_0x239781:_0x239781),_0xf6f140['hash']&&(_0x23e3d9+=_0xf6f140['hash']),_0x23e3d9;}},_0x36d0a9['extractProtocol']=_0x4a55ad,_0x36d0a9['location']=_0x23f962,_0x36d0a9['trimLeft']=_0x45b8af,_0x36d0a9['qs']=_0x281338,_0x1db869['exports']=_0x36d0a9;});const JI=new Uint8Array(0x10),tk=[];for(let e=0x0;e<0x100;++e)tk['push']((e+0x100)['toString'](0x10)['slice'](0x1));function ek(_0x52df08,_0x6e5cda,_0xbc9c3e){return _0x6e5cda||_0x52df08||!crypto['randomUUID']?function(_0x1ca8f6,_0x4c0f37,_0x23ad66){_0x1ca8f6=_0x1ca8f6||{};const _0x41c9ea=_0x1ca8f6['random']??_0x1ca8f6['rng']?.()??crypto['getRandomValues'](JI);if(_0x41c9ea['length']<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');if(_0x41c9ea[0x6]=0xf&_0x41c9ea[0x6]|0x40,_0x41c9ea[0x8]=0x3f&_0x41c9ea[0x8]|0x80,_0x4c0f37){if((_0x23ad66=_0x23ad66||0x0)<0x0||_0x23ad66+0x10>_0x4c0f37['length'])throw new RangeError('UUID\x20byte\x20range\x20'+_0x23ad66+':'+(_0x23ad66+0xf)+'\x20is\x20out\x20of\x20buffer\x20bounds');for(let _0x33d0da=0x0;_0x33d0da<0x10;++_0x33d0da)_0x4c0f37[_0x23ad66+_0x33d0da]=_0x41c9ea[_0x33d0da];return _0x4c0f37;}return function(_0x4f7258,_0x5e8512=0x0){return(tk[_0x4f7258[_0x5e8512+0x0]]+tk[_0x4f7258[_0x5e8512+0x1]]+tk[_0x4f7258[_0x5e8512+0x2]]+tk[_0x4f7258[_0x5e8512+0x3]]+'-'+tk[_0x4f7258[_0x5e8512+0x4]]+tk[_0x4f7258[_0x5e8512+0x5]]+'-'+tk[_0x4f7258[_0x5e8512+0x6]]+tk[_0x4f7258[_0x5e8512+0x7]]+'-'+tk[_0x4f7258[_0x5e8512+0x8]]+tk[_0x4f7258[_0x5e8512+0x9]]+'-'+tk[_0x4f7258[_0x5e8512+0xa]]+tk[_0x4f7258[_0x5e8512+0xb]]+tk[_0x4f7258[_0x5e8512+0xc]]+tk[_0x4f7258[_0x5e8512+0xd]]+tk[_0x4f7258[_0x5e8512+0xe]]+tk[_0x4f7258[_0x5e8512+0xf]])['toLowerCase']();}(_0x41c9ea);}(_0x52df08,_0x6e5cda,_0xbc9c3e):crypto['randomUUID']();}var ik=Wn(SS(),0x1),sk=Wn(KI(),0x1),nk=class{static ['DESCRIPTOR_NAME'];static ['DESCRIPTOR'];constructor(..._0x38e64d){}},rk=class extends nk{static ['TYPE']='1000';static ['READABLE_TYPE_NAME'];constructor(..._0x47cf57){super();}static['fromJSON'](_0x54afb3){throw new TypeError('Must\x20be\x20implemented\x20in\x20a\x20child\x20class!');}},ok=class GetUserMessage extends rk{['id'];static ['TYPE']='21';static ['READABLE_TYPE_NAME']='getUser';static ['DESCRIPTOR_NAME']='GetUserMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x31d5e5){super(),this['id']=_0x31d5e5;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](_0x3c6810){return new GetUserMessage(_0x3c6810['id']);}},ak=class GetUserResponse extends rk{['attributes'];static ['DESCRIPTOR_NAME']='GetUserResponse';static ['DESCRIPTOR']={'fields':{'attributes':{'rule':'repeated','type':'KeyValueDescriptor','id':0x1}}};constructor(_0x48707b){super(),this['attributes']=_0x48707b;}['toJSON'](){return{'attributes':Object['keys'](this['attributes'])['map'](_0x117de7=>({'key':_0x117de7,'value':JSON['stringify'](this['attributes'][_0x117de7])}))};}static['fromJSON'](_0x21e9cb){return new GetUserResponse(_0x21e9cb['attributes']['reduce']((_0x82e3c1,_0x225c3d)=>(_0x82e3c1[_0x225c3d['key']]=_0x225c3d['value']?JSON['parse'](_0x225c3d['value']):null,_0x82e3c1),{}));}};const ck=((()=>{var _0x34a44d=ik['default']['Reader'],_0x42a0bf=ik['default']['Writer'],_0x2da725=ik['default']['util'],_0x4efd5e=ik['default']['roots']['default']||(ik['default']['roots']['default']={});return _0x4efd5e['StringStringPacketDataMessage']=(function(){function _0x5396cd(_0x4cf77a){if(_0x4cf77a){for(var _0x41fbf2=Object['keys'](_0x4cf77a),_0x82b643=0x0;_0x82b643<_0x41fbf2['length'];++_0x82b643)null!=_0x4cf77a[_0x41fbf2[_0x82b643]]&&'__proto__'!==_0x41fbf2[_0x82b643]&&(this[_0x41fbf2[_0x82b643]]=_0x4cf77a[_0x41fbf2[_0x82b643]]);}}return _0x5396cd['prototype']['data']='',_0x5396cd['prototype']['data1']='',_0x5396cd['create']=function(_0x406510){return new _0x5396cd(_0x406510);},_0x5396cd['encode']=function(_0x503dae,_0x24acd1,_0x29bc76){if(_0x24acd1||(_0x24acd1=_0x42a0bf['create']()),void 0x0===_0x29bc76&&(_0x29bc76=0x0),_0x29bc76>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x503dae['data']&&Object['hasOwnProperty']['call'](_0x503dae,'data')&&_0x24acd1['uint32'](0xa)['string'](_0x503dae['data']),null!=_0x503dae['data1']&&Object['hasOwnProperty']['call'](_0x503dae,'data1')&&_0x24acd1['uint32'](0x12)['string'](_0x503dae['data1']),_0x24acd1;},_0x5396cd['encodeDelimited']=function(_0x1afd17,_0x1f9097){return this['encode'](_0x1afd17,_0x1f9097)['ldelim']();},_0x5396cd['decode']=function(_0x46237e,_0x1114e7,_0x558b67,_0x14499d){if(_0x46237e instanceof _0x34a44d||(_0x46237e=_0x34a44d['create'](_0x46237e)),void 0x0===_0x14499d&&(_0x14499d=0x0),_0x14499d>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x345d4e=void 0x0===_0x1114e7?_0x46237e['len']:_0x46237e['pos']+_0x1114e7,_0x1b589d=new _0x4efd5e['StringStringPacketDataMessage']();_0x46237e['pos']<_0x345d4e;){var _0x51bf0c=_0x46237e['uint32']();if(_0x51bf0c===_0x558b67)break;switch(_0x51bf0c>>>0x3){case 0x1:_0x1b589d['data']=_0x46237e['string']();break;case 0x2:_0x1b589d['data1']=_0x46237e['string']();break;default:_0x46237e['skipType'](0x7&_0x51bf0c,_0x14499d);}}return _0x1b589d;},_0x5396cd['decodeDelimited']=function(_0x2fe0b6){return _0x2fe0b6 instanceof _0x34a44d||(_0x2fe0b6=new _0x34a44d(_0x2fe0b6)),this['decode'](_0x2fe0b6,_0x2fe0b6['uint32']());},_0x5396cd['verify']=function(_0x4ab9f8,_0x1968a3){return'object'!=typeof _0x4ab9f8||null===_0x4ab9f8?'object\x20expected':(void 0x0===_0x1968a3&&(_0x1968a3=0x0),_0x1968a3>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4ab9f8['data']&&Object['hasOwnProperty']['call'](_0x4ab9f8,'data')&&!_0x2da725['isString'](_0x4ab9f8['data'])?'data:\x20string\x20expected':null!=_0x4ab9f8['data1']&&Object['hasOwnProperty']['call'](_0x4ab9f8,'data1')&&!_0x2da725['isString'](_0x4ab9f8['data1'])?'data1:\x20string\x20expected':null);},_0x5396cd['fromObject']=function(_0x2dce55,_0x49f421){if(_0x2dce55 instanceof _0x4efd5e['StringStringPacketDataMessage'])return _0x2dce55;if(!_0x2da725['isObject'](_0x2dce55))throw TypeError('.StringStringPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x49f421&&(_0x49f421=0x0),_0x49f421>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x23d210=new _0x4efd5e['StringStringPacketDataMessage']();return null!=_0x2dce55['data']&&(_0x23d210['data']=String(_0x2dce55['data'])),null!=_0x2dce55['data1']&&(_0x23d210['data1']=String(_0x2dce55['data1'])),_0x23d210;},_0x5396cd['toObject']=function(_0x269763,_0x3f3f8a,_0x497823){if(_0x3f3f8a||(_0x3f3f8a={}),void 0x0===_0x497823&&(_0x497823=0x0),_0x497823>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x77e931={};return _0x3f3f8a['defaults']&&(_0x77e931['data']='',_0x77e931['data1']=''),null!=_0x269763['data']&&Object['hasOwnProperty']['call'](_0x269763,'data')&&(_0x77e931['data']=_0x269763['data']),null!=_0x269763['data1']&&Object['hasOwnProperty']['call'](_0x269763,'data1')&&(_0x77e931['data1']=_0x269763['data1']),_0x77e931;},_0x5396cd['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x5396cd['getTypeUrl']=function(_0x5be676){return void 0x0===_0x5be676&&(_0x5be676='type.googleapis.com'),_0x5be676+'/StringStringPacketDataMessage';},_0x5396cd;}()),_0x4efd5e['StringObjectPacketDataMessage']=(function(){function _0x586409(_0x283c63){if(_0x283c63){for(var _0x2ac231=Object['keys'](_0x283c63),_0x5eb537=0x0;_0x5eb537<_0x2ac231['length'];++_0x5eb537)null!=_0x283c63[_0x2ac231[_0x5eb537]]&&'__proto__'!==_0x2ac231[_0x5eb537]&&(this[_0x2ac231[_0x5eb537]]=_0x283c63[_0x2ac231[_0x5eb537]]);}}return _0x586409['prototype']['data']='',_0x586409['prototype']['data1']='',_0x586409['create']=function(_0x1d261f){return new _0x586409(_0x1d261f);},_0x586409['encode']=function(_0x13c90f,_0x87b5f4,_0x46a0ba){if(_0x87b5f4||(_0x87b5f4=_0x42a0bf['create']()),void 0x0===_0x46a0ba&&(_0x46a0ba=0x0),_0x46a0ba>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x13c90f['data']&&Object['hasOwnProperty']['call'](_0x13c90f,'data')&&_0x87b5f4['uint32'](0xa)['string'](_0x13c90f['data']),null!=_0x13c90f['data1']&&Object['hasOwnProperty']['call'](_0x13c90f,'data1')&&_0x87b5f4['uint32'](0x12)['string'](_0x13c90f['data1']),_0x87b5f4;},_0x586409['encodeDelimited']=function(_0x30287b,_0x2097e0){return this['encode'](_0x30287b,_0x2097e0)['ldelim']();},_0x586409['decode']=function(_0x4a411e,_0x1975f8,_0x4435dc,_0x3391a2){if(_0x4a411e instanceof _0x34a44d||(_0x4a411e=_0x34a44d['create'](_0x4a411e)),void 0x0===_0x3391a2&&(_0x3391a2=0x0),_0x3391a2>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1381a6=void 0x0===_0x1975f8?_0x4a411e['len']:_0x4a411e['pos']+_0x1975f8,_0x4e87c5=new _0x4efd5e['StringObjectPacketDataMessage']();_0x4a411e['pos']<_0x1381a6;){var _0x4b8455=_0x4a411e['uint32']();if(_0x4b8455===_0x4435dc)break;switch(_0x4b8455>>>0x3){case 0x1:_0x4e87c5['data']=_0x4a411e['string']();break;case 0x2:_0x4e87c5['data1']=_0x4a411e['string']();break;default:_0x4a411e['skipType'](0x7&_0x4b8455,_0x3391a2);}}return _0x4e87c5;},_0x586409['decodeDelimited']=function(_0x548974){return _0x548974 instanceof _0x34a44d||(_0x548974=new _0x34a44d(_0x548974)),this['decode'](_0x548974,_0x548974['uint32']());},_0x586409['verify']=function(_0xf57da7,_0x1ba09a){return'object'!=typeof _0xf57da7||null===_0xf57da7?'object\x20expected':(void 0x0===_0x1ba09a&&(_0x1ba09a=0x0),_0x1ba09a>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xf57da7['data']&&Object['hasOwnProperty']['call'](_0xf57da7,'data')&&!_0x2da725['isString'](_0xf57da7['data'])?'data:\x20string\x20expected':null!=_0xf57da7['data1']&&Object['hasOwnProperty']['call'](_0xf57da7,'data1')&&!_0x2da725['isString'](_0xf57da7['data1'])?'data1:\x20string\x20expected':null);},_0x586409['fromObject']=function(_0x615a9,_0x5513b8){if(_0x615a9 instanceof _0x4efd5e['StringObjectPacketDataMessage'])return _0x615a9;if(!_0x2da725['isObject'](_0x615a9))throw TypeError('.StringObjectPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x5513b8&&(_0x5513b8=0x0),_0x5513b8>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x54edfd=new _0x4efd5e['StringObjectPacketDataMessage']();return null!=_0x615a9['data']&&(_0x54edfd['data']=String(_0x615a9['data'])),null!=_0x615a9['data1']&&(_0x54edfd['data1']=String(_0x615a9['data1'])),_0x54edfd;},_0x586409['toObject']=function(_0x548d43,_0x58aa93,_0x5b3e14){if(_0x58aa93||(_0x58aa93={}),void 0x0===_0x5b3e14&&(_0x5b3e14=0x0),_0x5b3e14>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x5121eb={};return _0x58aa93['defaults']&&(_0x5121eb['data']='',_0x5121eb['data1']=''),null!=_0x548d43['data']&&Object['hasOwnProperty']['call'](_0x548d43,'data')&&(_0x5121eb['data']=_0x548d43['data']),null!=_0x548d43['data1']&&Object['hasOwnProperty']['call'](_0x548d43,'data1')&&(_0x5121eb['data1']=_0x548d43['data1']),_0x5121eb;},_0x586409['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x586409['getTypeUrl']=function(_0x4abf76){return void 0x0===_0x4abf76&&(_0x4abf76='type.googleapis.com'),_0x4abf76+'/StringObjectPacketDataMessage';},_0x586409;}()),_0x4efd5e['StringNumberPacketDataMessage']=(function(){function _0x4d2e3f(_0x5753eb){if(_0x5753eb){for(var _0x70f189=Object['keys'](_0x5753eb),_0x3b25c8=0x0;_0x3b25c8<_0x70f189['length'];++_0x3b25c8)null!=_0x5753eb[_0x70f189[_0x3b25c8]]&&'__proto__'!==_0x70f189[_0x3b25c8]&&(this[_0x70f189[_0x3b25c8]]=_0x5753eb[_0x70f189[_0x3b25c8]]);}}return _0x4d2e3f['prototype']['data']='',_0x4d2e3f['prototype']['data1']=0x0,_0x4d2e3f['create']=function(_0x5f2e28){return new _0x4d2e3f(_0x5f2e28);},_0x4d2e3f['encode']=function(_0x385157,_0x23103d,_0x104b44){if(_0x23103d||(_0x23103d=_0x42a0bf['create']()),void 0x0===_0x104b44&&(_0x104b44=0x0),_0x104b44>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x385157['data']&&Object['hasOwnProperty']['call'](_0x385157,'data')&&_0x23103d['uint32'](0xa)['string'](_0x385157['data']),null!=_0x385157['data1']&&Object['hasOwnProperty']['call'](_0x385157,'data1')&&_0x23103d['uint32'](0x10)['uint32'](_0x385157['data1']),_0x23103d;},_0x4d2e3f['encodeDelimited']=function(_0x593307,_0x1e3c09){return this['encode'](_0x593307,_0x1e3c09)['ldelim']();},_0x4d2e3f['decode']=function(_0x26d2fe,_0x5053f3,_0x5eb50b,_0x4154fc){if(_0x26d2fe instanceof _0x34a44d||(_0x26d2fe=_0x34a44d['create'](_0x26d2fe)),void 0x0===_0x4154fc&&(_0x4154fc=0x0),_0x4154fc>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x56c718=void 0x0===_0x5053f3?_0x26d2fe['len']:_0x26d2fe['pos']+_0x5053f3,_0x3529af=new _0x4efd5e['StringNumberPacketDataMessage']();_0x26d2fe['pos']<_0x56c718;){var _0x48cfe2=_0x26d2fe['uint32']();if(_0x48cfe2===_0x5eb50b)break;switch(_0x48cfe2>>>0x3){case 0x1:_0x3529af['data']=_0x26d2fe['string']();break;case 0x2:_0x3529af['data1']=_0x26d2fe['uint32']();break;default:_0x26d2fe['skipType'](0x7&_0x48cfe2,_0x4154fc);}}return _0x3529af;},_0x4d2e3f['decodeDelimited']=function(_0x3e0bbb){return _0x3e0bbb instanceof _0x34a44d||(_0x3e0bbb=new _0x34a44d(_0x3e0bbb)),this['decode'](_0x3e0bbb,_0x3e0bbb['uint32']());},_0x4d2e3f['verify']=function(_0x588ef3,_0x587e92){return'object'!=typeof _0x588ef3||null===_0x588ef3?'object\x20expected':(void 0x0===_0x587e92&&(_0x587e92=0x0),_0x587e92>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x588ef3['data']&&Object['hasOwnProperty']['call'](_0x588ef3,'data')&&!_0x2da725['isString'](_0x588ef3['data'])?'data:\x20string\x20expected':null!=_0x588ef3['data1']&&Object['hasOwnProperty']['call'](_0x588ef3,'data1')&&!_0x2da725['isInteger'](_0x588ef3['data1'])?'data1:\x20integer\x20expected':null);},_0x4d2e3f['fromObject']=function(_0x5d590d,_0x339ade){if(_0x5d590d instanceof _0x4efd5e['StringNumberPacketDataMessage'])return _0x5d590d;if(!_0x2da725['isObject'](_0x5d590d))throw TypeError('.StringNumberPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x339ade&&(_0x339ade=0x0),_0x339ade>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1c72df=new _0x4efd5e['StringNumberPacketDataMessage']();return null!=_0x5d590d['data']&&(_0x1c72df['data']=String(_0x5d590d['data'])),null!=_0x5d590d['data1']&&(_0x1c72df['data1']=_0x5d590d['data1']>>>0x0),_0x1c72df;},_0x4d2e3f['toObject']=function(_0x467686,_0x160ae9,_0x5b7809){if(_0x160ae9||(_0x160ae9={}),void 0x0===_0x5b7809&&(_0x5b7809=0x0),_0x5b7809>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x168461={};return _0x160ae9['defaults']&&(_0x168461['data']='',_0x168461['data1']=0x0),null!=_0x467686['data']&&Object['hasOwnProperty']['call'](_0x467686,'data')&&(_0x168461['data']=_0x467686['data']),null!=_0x467686['data1']&&Object['hasOwnProperty']['call'](_0x467686,'data1')&&(_0x168461['data1']=_0x467686['data1']),_0x168461;},_0x4d2e3f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x4d2e3f['getTypeUrl']=function(_0x31320a){return void 0x0===_0x31320a&&(_0x31320a='type.googleapis.com'),_0x31320a+'/StringNumberPacketDataMessage';},_0x4d2e3f;}()),_0x4efd5e['StringBytesPacketDataMessage']=(function(){function _0x536ec2(_0x2b4a70){if(_0x2b4a70){for(var _0x29a857=Object['keys'](_0x2b4a70),_0x39458f=0x0;_0x39458f<_0x29a857['length'];++_0x39458f)null!=_0x2b4a70[_0x29a857[_0x39458f]]&&'__proto__'!==_0x29a857[_0x39458f]&&(this[_0x29a857[_0x39458f]]=_0x2b4a70[_0x29a857[_0x39458f]]);}}return _0x536ec2['prototype']['data']='',_0x536ec2['prototype']['data1']=_0x2da725['newBuffer']([]),_0x536ec2['create']=function(_0x1fb08e){return new _0x536ec2(_0x1fb08e);},_0x536ec2['encode']=function(_0x1ab04b,_0x4096d8,_0x561304){if(_0x4096d8||(_0x4096d8=_0x42a0bf['create']()),void 0x0===_0x561304&&(_0x561304=0x0),_0x561304>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x1ab04b['data']&&Object['hasOwnProperty']['call'](_0x1ab04b,'data')&&_0x4096d8['uint32'](0xa)['string'](_0x1ab04b['data']),null!=_0x1ab04b['data1']&&Object['hasOwnProperty']['call'](_0x1ab04b,'data1')&&_0x4096d8['uint32'](0x12)['bytes'](_0x1ab04b['data1']),_0x4096d8;},_0x536ec2['encodeDelimited']=function(_0x239570,_0x25b950){return this['encode'](_0x239570,_0x25b950)['ldelim']();},_0x536ec2['decode']=function(_0x4c3857,_0x447cd7,_0x13ab5c,_0x27a48e){if(_0x4c3857 instanceof _0x34a44d||(_0x4c3857=_0x34a44d['create'](_0x4c3857)),void 0x0===_0x27a48e&&(_0x27a48e=0x0),_0x27a48e>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3f08fe=void 0x0===_0x447cd7?_0x4c3857['len']:_0x4c3857['pos']+_0x447cd7,_0x5a2875=new _0x4efd5e['StringBytesPacketDataMessage']();_0x4c3857['pos']<_0x3f08fe;){var _0x43c775=_0x4c3857['uint32']();if(_0x43c775===_0x13ab5c)break;switch(_0x43c775>>>0x3){case 0x1:_0x5a2875['data']=_0x4c3857['string']();break;case 0x2:_0x5a2875['data1']=_0x4c3857['bytes']();break;default:_0x4c3857['skipType'](0x7&_0x43c775,_0x27a48e);}}return _0x5a2875;},_0x536ec2['decodeDelimited']=function(_0x176012){return _0x176012 instanceof _0x34a44d||(_0x176012=new _0x34a44d(_0x176012)),this['decode'](_0x176012,_0x176012['uint32']());},_0x536ec2['verify']=function(_0x88712a,_0x5209d8){return'object'!=typeof _0x88712a||null===_0x88712a?'object\x20expected':(void 0x0===_0x5209d8&&(_0x5209d8=0x0),_0x5209d8>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x88712a['data']&&Object['hasOwnProperty']['call'](_0x88712a,'data')&&!_0x2da725['isString'](_0x88712a['data'])?'data:\x20string\x20expected':null!=_0x88712a['data1']&&Object['hasOwnProperty']['call'](_0x88712a,'data1')&&!(_0x88712a['data1']&&'number'==typeof _0x88712a['data1']['length']||_0x2da725['isString'](_0x88712a['data1']))?'data1:\x20buffer\x20expected':null);},_0x536ec2['fromObject']=function(_0x1edaf2,_0x694cc1){if(_0x1edaf2 instanceof _0x4efd5e['StringBytesPacketDataMessage'])return _0x1edaf2;if(!_0x2da725['isObject'](_0x1edaf2))throw TypeError('.StringBytesPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x694cc1&&(_0x694cc1=0x0),_0x694cc1>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x389055=new _0x4efd5e['StringBytesPacketDataMessage']();return null!=_0x1edaf2['data']&&(_0x389055['data']=String(_0x1edaf2['data'])),null!=_0x1edaf2['data1']&&('string'==typeof _0x1edaf2['data1']?_0x2da725['base64']['decode'](_0x1edaf2['data1'],_0x389055['data1']=_0x2da725['newBuffer'](_0x2da725['base64']['length'](_0x1edaf2['data1'])),0x0):_0x1edaf2['data1']['length']>=0x0&&(_0x389055['data1']=_0x1edaf2['data1'])),_0x389055;},_0x536ec2['toObject']=function(_0x1bbac4,_0x3e6dd5,_0x1c1f60){if(_0x3e6dd5||(_0x3e6dd5={}),void 0x0===_0x1c1f60&&(_0x1c1f60=0x0),_0x1c1f60>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x5bf473={};return _0x3e6dd5['defaults']&&(_0x5bf473['data']='',_0x3e6dd5['bytes']===String?_0x5bf473['data1']='':(_0x5bf473['data1']=[],_0x3e6dd5['bytes']!==Array&&(_0x5bf473['data1']=_0x2da725['newBuffer'](_0x5bf473['data1'])))),null!=_0x1bbac4['data']&&Object['hasOwnProperty']['call'](_0x1bbac4,'data')&&(_0x5bf473['data']=_0x1bbac4['data']),null!=_0x1bbac4['data1']&&Object['hasOwnProperty']['call'](_0x1bbac4,'data1')&&(_0x5bf473['data1']=_0x3e6dd5['bytes']===String?_0x2da725['base64']['encode'](_0x1bbac4['data1'],0x0,_0x1bbac4['data1']['length']):_0x3e6dd5['bytes']===Array?Array['prototype']['slice']['call'](_0x1bbac4['data1']):_0x1bbac4['data1']),_0x5bf473;},_0x536ec2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x536ec2['getTypeUrl']=function(_0x409b07){return void 0x0===_0x409b07&&(_0x409b07='type.googleapis.com'),_0x409b07+'/StringBytesPacketDataMessage';},_0x536ec2;}()),_0x4efd5e['PacketOptionsMessage']=(function(){function _0x54a015(_0x365aec){if(this['rooms']=[],this['except']=[],_0x365aec){for(var _0x16fd1a=Object['keys'](_0x365aec),_0x18a6ef=0x0;_0x18a6ef<_0x16fd1a['length'];++_0x18a6ef)null!=_0x365aec[_0x16fd1a[_0x18a6ef]]&&'__proto__'!==_0x16fd1a[_0x18a6ef]&&(this[_0x16fd1a[_0x18a6ef]]=_0x365aec[_0x16fd1a[_0x18a6ef]]);}}return _0x54a015['prototype']['flags']='',_0x54a015['prototype']['rooms']=_0x2da725['emptyArray'],_0x54a015['prototype']['except']=_0x2da725['emptyArray'],_0x54a015['create']=function(_0xf8f7d2){return new _0x54a015(_0xf8f7d2);},_0x54a015['encode']=function(_0xed18fd,_0x2ca57e,_0x607996){if(_0x2ca57e||(_0x2ca57e=_0x42a0bf['create']()),void 0x0===_0x607996&&(_0x607996=0x0),_0x607996>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0xed18fd['flags']&&Object['hasOwnProperty']['call'](_0xed18fd,'flags')&&_0x2ca57e['uint32'](0xa)['string'](_0xed18fd['flags']),null!=_0xed18fd['rooms']&&_0xed18fd['rooms']['length']){for(var _0x188c15=0x0;_0x188c15<_0xed18fd['rooms']['length'];++_0x188c15)_0x2ca57e['uint32'](0x12)['string'](_0xed18fd['rooms'][_0x188c15]);}if(null!=_0xed18fd['except']&&_0xed18fd['except']['length']){for(_0x188c15=0x0;_0x188c15<_0xed18fd['except']['length'];++_0x188c15)_0x2ca57e['uint32'](0x1a)['string'](_0xed18fd['except'][_0x188c15]);}return _0x2ca57e;},_0x54a015['encodeDelimited']=function(_0x55699a,_0x2b2c54){return this['encode'](_0x55699a,_0x2b2c54)['ldelim']();},_0x54a015['decode']=function(_0x4d1aff,_0x4082f4,_0x3c7da8,_0x35786d){if(_0x4d1aff instanceof _0x34a44d||(_0x4d1aff=_0x34a44d['create'](_0x4d1aff)),void 0x0===_0x35786d&&(_0x35786d=0x0),_0x35786d>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x54ca28=void 0x0===_0x4082f4?_0x4d1aff['len']:_0x4d1aff['pos']+_0x4082f4,_0x2e18d4=new _0x4efd5e['PacketOptionsMessage']();_0x4d1aff['pos']<_0x54ca28;){var _0x49dcd7=_0x4d1aff['uint32']();if(_0x49dcd7===_0x3c7da8)break;switch(_0x49dcd7>>>0x3){case 0x1:_0x2e18d4['flags']=_0x4d1aff['string']();break;case 0x2:_0x2e18d4['rooms']&&_0x2e18d4['rooms']['length']||(_0x2e18d4['rooms']=[]),_0x2e18d4['rooms']['push'](_0x4d1aff['string']());break;case 0x3:_0x2e18d4['except']&&_0x2e18d4['except']['length']||(_0x2e18d4['except']=[]),_0x2e18d4['except']['push'](_0x4d1aff['string']());break;default:_0x4d1aff['skipType'](0x7&_0x49dcd7,_0x35786d);}}return _0x2e18d4;},_0x54a015['decodeDelimited']=function(_0x4ea88f){return _0x4ea88f instanceof _0x34a44d||(_0x4ea88f=new _0x34a44d(_0x4ea88f)),this['decode'](_0x4ea88f,_0x4ea88f['uint32']());},_0x54a015['verify']=function(_0xacfc42,_0x543fa6){if('object'!=typeof _0xacfc42||null===_0xacfc42)return'object\x20expected';if(void 0x0===_0x543fa6&&(_0x543fa6=0x0),_0x543fa6>_0x2da725['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0xacfc42['flags']&&Object['hasOwnProperty']['call'](_0xacfc42,'flags')&&!_0x2da725['isString'](_0xacfc42['flags']))return'flags:\x20string\x20expected';if(null!=_0xacfc42['rooms']&&Object['hasOwnProperty']['call'](_0xacfc42,'rooms')){if(!Array['isArray'](_0xacfc42['rooms']))return'rooms:\x20array\x20expected';for(var _0x2c0a0d=0x0;_0x2c0a0d<_0xacfc42['rooms']['length'];++_0x2c0a0d)if(!_0x2da725['isString'](_0xacfc42['rooms'][_0x2c0a0d]))return'rooms:\x20string[]\x20expected';}if(null!=_0xacfc42['except']&&Object['hasOwnProperty']['call'](_0xacfc42,'except')){if(!Array['isArray'](_0xacfc42['except']))return'except:\x20array\x20expected';for(_0x2c0a0d=0x0;_0x2c0a0d<_0xacfc42['except']['length'];++_0x2c0a0d)if(!_0x2da725['isString'](_0xacfc42['except'][_0x2c0a0d]))return'except:\x20string[]\x20expected';}return null;},_0x54a015['fromObject']=function(_0x48a3bf,_0x4c3196){if(_0x48a3bf instanceof _0x4efd5e['PacketOptionsMessage'])return _0x48a3bf;if(!_0x2da725['isObject'](_0x48a3bf))throw TypeError('.PacketOptionsMessage:\x20object\x20expected');if(void 0x0===_0x4c3196&&(_0x4c3196=0x0),_0x4c3196>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x117b70=new _0x4efd5e['PacketOptionsMessage']();if(null!=_0x48a3bf['flags']&&(_0x117b70['flags']=String(_0x48a3bf['flags'])),_0x48a3bf['rooms']){if(!Array['isArray'](_0x48a3bf['rooms']))throw TypeError('.PacketOptionsMessage.rooms:\x20array\x20expected');_0x117b70['rooms']=[];for(var _0x5a0110=0x0;_0x5a0110<_0x48a3bf['rooms']['length'];++_0x5a0110)_0x117b70['rooms'][_0x5a0110]=String(_0x48a3bf['rooms'][_0x5a0110]);}if(_0x48a3bf['except']){if(!Array['isArray'](_0x48a3bf['except']))throw TypeError('.PacketOptionsMessage.except:\x20array\x20expected');for(_0x117b70['except']=[],_0x5a0110=0x0;_0x5a0110<_0x48a3bf['except']['length'];++_0x5a0110)_0x117b70['except'][_0x5a0110]=String(_0x48a3bf['except'][_0x5a0110]);}return _0x117b70;},_0x54a015['toObject']=function(_0x2875dc,_0x14a620,_0x23cf79){if(_0x14a620||(_0x14a620={}),void 0x0===_0x23cf79&&(_0x23cf79=0x0),_0x23cf79>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x5cb570={};if((_0x14a620['arrays']||_0x14a620['defaults'])&&(_0x5cb570['rooms']=[],_0x5cb570['except']=[]),_0x14a620['defaults']&&(_0x5cb570['flags']=''),null!=_0x2875dc['flags']&&Object['hasOwnProperty']['call'](_0x2875dc,'flags')&&(_0x5cb570['flags']=_0x2875dc['flags']),_0x2875dc['rooms']&&_0x2875dc['rooms']['length']){_0x5cb570['rooms']=[];for(var _0x4f3031=0x0;_0x4f3031<_0x2875dc['rooms']['length'];++_0x4f3031)_0x5cb570['rooms'][_0x4f3031]=_0x2875dc['rooms'][_0x4f3031];}if(_0x2875dc['except']&&_0x2875dc['except']['length']){for(_0x5cb570['except']=[],_0x4f3031=0x0;_0x4f3031<_0x2875dc['except']['length'];++_0x4f3031)_0x5cb570['except'][_0x4f3031]=_0x2875dc['except'][_0x4f3031];}return _0x5cb570;},_0x54a015['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x54a015['getTypeUrl']=function(_0x47f090){return void 0x0===_0x47f090&&(_0x47f090='type.googleapis.com'),_0x47f090+'/PacketOptionsMessage';},_0x54a015;}()),_0x4efd5e['PacketMessage']=(function(){function _0x4e5472(_0x533f8c){if(_0x533f8c){for(var _0x2def81=Object['keys'](_0x533f8c),_0x1dd934=0x0;_0x1dd934<_0x2def81['length'];++_0x1dd934)null!=_0x533f8c[_0x2def81[_0x1dd934]]&&'__proto__'!==_0x2def81[_0x1dd934]&&(this[_0x2def81[_0x1dd934]]=_0x533f8c[_0x2def81[_0x1dd934]]);}}return _0x4e5472['prototype']['type']=0x0,_0x4e5472['prototype']['id']=0x0,_0x4e5472['prototype']['nsp']='',_0x4e5472['prototype']['data']=_0x2da725['newBuffer']([]),_0x4e5472['prototype']['options']=_0x2da725['newBuffer']([]),_0x4e5472['create']=function(_0x3805c4){return new _0x4e5472(_0x3805c4);},_0x4e5472['encode']=function(_0x1ac614,_0x11cb86,_0x350e4e){if(_0x11cb86||(_0x11cb86=_0x42a0bf['create']()),void 0x0===_0x350e4e&&(_0x350e4e=0x0),_0x350e4e>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x1ac614['type']&&Object['hasOwnProperty']['call'](_0x1ac614,'type')&&_0x11cb86['uint32'](0x8)['uint32'](_0x1ac614['type']),null!=_0x1ac614['id']&&Object['hasOwnProperty']['call'](_0x1ac614,'id')&&_0x11cb86['uint32'](0x10)['uint32'](_0x1ac614['id']),null!=_0x1ac614['nsp']&&Object['hasOwnProperty']['call'](_0x1ac614,'nsp')&&_0x11cb86['uint32'](0x1a)['string'](_0x1ac614['nsp']),null!=_0x1ac614['data']&&Object['hasOwnProperty']['call'](_0x1ac614,'data')&&_0x11cb86['uint32'](0x22)['bytes'](_0x1ac614['data']),null!=_0x1ac614['options']&&Object['hasOwnProperty']['call'](_0x1ac614,'options')&&_0x11cb86['uint32'](0x2a)['bytes'](_0x1ac614['options']),_0x11cb86;},_0x4e5472['encodeDelimited']=function(_0x37c04b,_0x4ff619){return this['encode'](_0x37c04b,_0x4ff619)['ldelim']();},_0x4e5472['decode']=function(_0x37208c,_0x3d6143,_0x1ef218,_0x115e95){if(_0x37208c instanceof _0x34a44d||(_0x37208c=_0x34a44d['create'](_0x37208c)),void 0x0===_0x115e95&&(_0x115e95=0x0),_0x115e95>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1cfe1f=void 0x0===_0x3d6143?_0x37208c['len']:_0x37208c['pos']+_0x3d6143,_0x198933=new _0x4efd5e['PacketMessage']();_0x37208c['pos']<_0x1cfe1f;){var _0x4dbe39=_0x37208c['uint32']();if(_0x4dbe39===_0x1ef218)break;switch(_0x4dbe39>>>0x3){case 0x1:_0x198933['type']=_0x37208c['uint32']();break;case 0x2:_0x198933['id']=_0x37208c['uint32']();break;case 0x3:_0x198933['nsp']=_0x37208c['string']();break;case 0x4:_0x198933['data']=_0x37208c['bytes']();break;case 0x5:_0x198933['options']=_0x37208c['bytes']();break;default:_0x37208c['skipType'](0x7&_0x4dbe39,_0x115e95);}}return _0x198933;},_0x4e5472['decodeDelimited']=function(_0x1ba0af){return _0x1ba0af instanceof _0x34a44d||(_0x1ba0af=new _0x34a44d(_0x1ba0af)),this['decode'](_0x1ba0af,_0x1ba0af['uint32']());},_0x4e5472['verify']=function(_0x195083,_0xb5e426){return'object'!=typeof _0x195083||null===_0x195083?'object\x20expected':(void 0x0===_0xb5e426&&(_0xb5e426=0x0),_0xb5e426>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x195083['type']&&Object['hasOwnProperty']['call'](_0x195083,'type')&&!_0x2da725['isInteger'](_0x195083['type'])?'type:\x20integer\x20expected':null!=_0x195083['id']&&Object['hasOwnProperty']['call'](_0x195083,'id')&&!_0x2da725['isInteger'](_0x195083['id'])?'id:\x20integer\x20expected':null!=_0x195083['nsp']&&Object['hasOwnProperty']['call'](_0x195083,'nsp')&&!_0x2da725['isString'](_0x195083['nsp'])?'nsp:\x20string\x20expected':null!=_0x195083['data']&&Object['hasOwnProperty']['call'](_0x195083,'data')&&!(_0x195083['data']&&'number'==typeof _0x195083['data']['length']||_0x2da725['isString'](_0x195083['data']))?'data:\x20buffer\x20expected':null!=_0x195083['options']&&Object['hasOwnProperty']['call'](_0x195083,'options')&&!(_0x195083['options']&&'number'==typeof _0x195083['options']['length']||_0x2da725['isString'](_0x195083['options']))?'options:\x20buffer\x20expected':null);},_0x4e5472['fromObject']=function(_0x53cf53,_0x5d46f8){if(_0x53cf53 instanceof _0x4efd5e['PacketMessage'])return _0x53cf53;if(!_0x2da725['isObject'](_0x53cf53))throw TypeError('.PacketMessage:\x20object\x20expected');if(void 0x0===_0x5d46f8&&(_0x5d46f8=0x0),_0x5d46f8>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xbdc953=new _0x4efd5e['PacketMessage']();return null!=_0x53cf53['type']&&(_0xbdc953['type']=_0x53cf53['type']>>>0x0),null!=_0x53cf53['id']&&(_0xbdc953['id']=_0x53cf53['id']>>>0x0),null!=_0x53cf53['nsp']&&(_0xbdc953['nsp']=String(_0x53cf53['nsp'])),null!=_0x53cf53['data']&&('string'==typeof _0x53cf53['data']?_0x2da725['base64']['decode'](_0x53cf53['data'],_0xbdc953['data']=_0x2da725['newBuffer'](_0x2da725['base64']['length'](_0x53cf53['data'])),0x0):_0x53cf53['data']['length']>=0x0&&(_0xbdc953['data']=_0x53cf53['data'])),null!=_0x53cf53['options']&&('string'==typeof _0x53cf53['options']?_0x2da725['base64']['decode'](_0x53cf53['options'],_0xbdc953['options']=_0x2da725['newBuffer'](_0x2da725['base64']['length'](_0x53cf53['options'])),0x0):_0x53cf53['options']['length']>=0x0&&(_0xbdc953['options']=_0x53cf53['options'])),_0xbdc953;},_0x4e5472['toObject']=function(_0x5bc07f,_0x312215,_0x8af24d){if(_0x312215||(_0x312215={}),void 0x0===_0x8af24d&&(_0x8af24d=0x0),_0x8af24d>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x186ca2={};return _0x312215['defaults']&&(_0x186ca2['type']=0x0,_0x186ca2['id']=0x0,_0x186ca2['nsp']='',_0x312215['bytes']===String?_0x186ca2['data']='':(_0x186ca2['data']=[],_0x312215['bytes']!==Array&&(_0x186ca2['data']=_0x2da725['newBuffer'](_0x186ca2['data']))),_0x312215['bytes']===String?_0x186ca2['options']='':(_0x186ca2['options']=[],_0x312215['bytes']!==Array&&(_0x186ca2['options']=_0x2da725['newBuffer'](_0x186ca2['options'])))),null!=_0x5bc07f['type']&&Object['hasOwnProperty']['call'](_0x5bc07f,'type')&&(_0x186ca2['type']=_0x5bc07f['type']),null!=_0x5bc07f['id']&&Object['hasOwnProperty']['call'](_0x5bc07f,'id')&&(_0x186ca2['id']=_0x5bc07f['id']),null!=_0x5bc07f['nsp']&&Object['hasOwnProperty']['call'](_0x5bc07f,'nsp')&&(_0x186ca2['nsp']=_0x5bc07f['nsp']),null!=_0x5bc07f['data']&&Object['hasOwnProperty']['call'](_0x5bc07f,'data')&&(_0x186ca2['data']=_0x312215['bytes']===String?_0x2da725['base64']['encode'](_0x5bc07f['data'],0x0,_0x5bc07f['data']['length']):_0x312215['bytes']===Array?Array['prototype']['slice']['call'](_0x5bc07f['data']):_0x5bc07f['data']),null!=_0x5bc07f['options']&&Object['hasOwnProperty']['call'](_0x5bc07f,'options')&&(_0x186ca2['options']=_0x312215['bytes']===String?_0x2da725['base64']['encode'](_0x5bc07f['options'],0x0,_0x5bc07f['options']['length']):_0x312215['bytes']===Array?Array['prototype']['slice']['call'](_0x5bc07f['options']):_0x5bc07f['options']),_0x186ca2;},_0x4e5472['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x4e5472['getTypeUrl']=function(_0x32415d){return void 0x0===_0x32415d&&(_0x32415d='type.googleapis.com'),_0x32415d+'/PacketMessage';},_0x4e5472;}()),_0x4efd5e['ObjectObjectPacketDataMessage']=(function(){function _0x33df35(_0x11f983){if(_0x11f983){for(var _0x2e69bc=Object['keys'](_0x11f983),_0x1445bb=0x0;_0x1445bb<_0x2e69bc['length'];++_0x1445bb)null!=_0x11f983[_0x2e69bc[_0x1445bb]]&&'__proto__'!==_0x2e69bc[_0x1445bb]&&(this[_0x2e69bc[_0x1445bb]]=_0x11f983[_0x2e69bc[_0x1445bb]]);}}return _0x33df35['prototype']['data']='',_0x33df35['prototype']['data1']='',_0x33df35['create']=function(_0x2c9fa6){return new _0x33df35(_0x2c9fa6);},_0x33df35['encode']=function(_0x16e1a6,_0x254648,_0x565f38){if(_0x254648||(_0x254648=_0x42a0bf['create']()),void 0x0===_0x565f38&&(_0x565f38=0x0),_0x565f38>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x16e1a6['data']&&Object['hasOwnProperty']['call'](_0x16e1a6,'data')&&_0x254648['uint32'](0xa)['string'](_0x16e1a6['data']),null!=_0x16e1a6['data1']&&Object['hasOwnProperty']['call'](_0x16e1a6,'data1')&&_0x254648['uint32'](0x12)['string'](_0x16e1a6['data1']),_0x254648;},_0x33df35['encodeDelimited']=function(_0x52057f,_0x5b65dc){return this['encode'](_0x52057f,_0x5b65dc)['ldelim']();},_0x33df35['decode']=function(_0x22a43b,_0x1d816b,_0x360d45,_0x2b9ebd){if(_0x22a43b instanceof _0x34a44d||(_0x22a43b=_0x34a44d['create'](_0x22a43b)),void 0x0===_0x2b9ebd&&(_0x2b9ebd=0x0),_0x2b9ebd>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x257ff2=void 0x0===_0x1d816b?_0x22a43b['len']:_0x22a43b['pos']+_0x1d816b,_0x353039=new _0x4efd5e['ObjectObjectPacketDataMessage']();_0x22a43b['pos']<_0x257ff2;){var _0x4afa2d=_0x22a43b['uint32']();if(_0x4afa2d===_0x360d45)break;switch(_0x4afa2d>>>0x3){case 0x1:_0x353039['data']=_0x22a43b['string']();break;case 0x2:_0x353039['data1']=_0x22a43b['string']();break;default:_0x22a43b['skipType'](0x7&_0x4afa2d,_0x2b9ebd);}}return _0x353039;},_0x33df35['decodeDelimited']=function(_0x1e3b58){return _0x1e3b58 instanceof _0x34a44d||(_0x1e3b58=new _0x34a44d(_0x1e3b58)),this['decode'](_0x1e3b58,_0x1e3b58['uint32']());},_0x33df35['verify']=function(_0x5db998,_0x2e8e5e){return'object'!=typeof _0x5db998||null===_0x5db998?'object\x20expected':(void 0x0===_0x2e8e5e&&(_0x2e8e5e=0x0),_0x2e8e5e>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5db998['data']&&Object['hasOwnProperty']['call'](_0x5db998,'data')&&!_0x2da725['isString'](_0x5db998['data'])?'data:\x20string\x20expected':null!=_0x5db998['data1']&&Object['hasOwnProperty']['call'](_0x5db998,'data1')&&!_0x2da725['isString'](_0x5db998['data1'])?'data1:\x20string\x20expected':null);},_0x33df35['fromObject']=function(_0x1549dd,_0x32a431){if(_0x1549dd instanceof _0x4efd5e['ObjectObjectPacketDataMessage'])return _0x1549dd;if(!_0x2da725['isObject'](_0x1549dd))throw TypeError('.ObjectObjectPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x32a431&&(_0x32a431=0x0),_0x32a431>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x58f7d2=new _0x4efd5e['ObjectObjectPacketDataMessage']();return null!=_0x1549dd['data']&&(_0x58f7d2['data']=String(_0x1549dd['data'])),null!=_0x1549dd['data1']&&(_0x58f7d2['data1']=String(_0x1549dd['data1'])),_0x58f7d2;},_0x33df35['toObject']=function(_0x8fbd09,_0x3fe6f7,_0xc474bc){if(_0x3fe6f7||(_0x3fe6f7={}),void 0x0===_0xc474bc&&(_0xc474bc=0x0),_0xc474bc>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x3a15e4={};return _0x3fe6f7['defaults']&&(_0x3a15e4['data']='',_0x3a15e4['data1']=''),null!=_0x8fbd09['data']&&Object['hasOwnProperty']['call'](_0x8fbd09,'data')&&(_0x3a15e4['data']=_0x8fbd09['data']),null!=_0x8fbd09['data1']&&Object['hasOwnProperty']['call'](_0x8fbd09,'data1')&&(_0x3a15e4['data1']=_0x8fbd09['data1']),_0x3a15e4;},_0x33df35['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x33df35['getTypeUrl']=function(_0x33d9d5){return void 0x0===_0x33d9d5&&(_0x33d9d5='type.googleapis.com'),_0x33d9d5+'/ObjectObjectPacketDataMessage';},_0x33df35;}()),_0x4efd5e['ObjectBufferPacketDataMessage']=(function(){function _0x1ea055(_0x5aef3d){if(_0x5aef3d){for(var _0x3fde38=Object['keys'](_0x5aef3d),_0x42f70d=0x0;_0x42f70d<_0x3fde38['length'];++_0x42f70d)null!=_0x5aef3d[_0x3fde38[_0x42f70d]]&&'__proto__'!==_0x3fde38[_0x42f70d]&&(this[_0x3fde38[_0x42f70d]]=_0x5aef3d[_0x3fde38[_0x42f70d]]);}}return _0x1ea055['prototype']['data']='',_0x1ea055['prototype']['data1']=_0x2da725['newBuffer']([]),_0x1ea055['create']=function(_0x575827){return new _0x1ea055(_0x575827);},_0x1ea055['encode']=function(_0x145224,_0x13f6a5,_0x2d7a49){if(_0x13f6a5||(_0x13f6a5=_0x42a0bf['create']()),void 0x0===_0x2d7a49&&(_0x2d7a49=0x0),_0x2d7a49>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x145224['data']&&Object['hasOwnProperty']['call'](_0x145224,'data')&&_0x13f6a5['uint32'](0xa)['string'](_0x145224['data']),null!=_0x145224['data1']&&Object['hasOwnProperty']['call'](_0x145224,'data1')&&_0x13f6a5['uint32'](0x12)['bytes'](_0x145224['data1']),_0x13f6a5;},_0x1ea055['encodeDelimited']=function(_0x33703c,_0x3fbed0){return this['encode'](_0x33703c,_0x3fbed0)['ldelim']();},_0x1ea055['decode']=function(_0x731d79,_0xe67eff,_0x48bafb,_0xba9613){if(_0x731d79 instanceof _0x34a44d||(_0x731d79=_0x34a44d['create'](_0x731d79)),void 0x0===_0xba9613&&(_0xba9613=0x0),_0xba9613>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x17660b=void 0x0===_0xe67eff?_0x731d79['len']:_0x731d79['pos']+_0xe67eff,_0x4992e3=new _0x4efd5e['ObjectBufferPacketDataMessage']();_0x731d79['pos']<_0x17660b;){var _0x7c347=_0x731d79['uint32']();if(_0x7c347===_0x48bafb)break;switch(_0x7c347>>>0x3){case 0x1:_0x4992e3['data']=_0x731d79['string']();break;case 0x2:_0x4992e3['data1']=_0x731d79['bytes']();break;default:_0x731d79['skipType'](0x7&_0x7c347,_0xba9613);}}return _0x4992e3;},_0x1ea055['decodeDelimited']=function(_0x59b0dc){return _0x59b0dc instanceof _0x34a44d||(_0x59b0dc=new _0x34a44d(_0x59b0dc)),this['decode'](_0x59b0dc,_0x59b0dc['uint32']());},_0x1ea055['verify']=function(_0x122025,_0x429455){return'object'!=typeof _0x122025||null===_0x122025?'object\x20expected':(void 0x0===_0x429455&&(_0x429455=0x0),_0x429455>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x122025['data']&&Object['hasOwnProperty']['call'](_0x122025,'data')&&!_0x2da725['isString'](_0x122025['data'])?'data:\x20string\x20expected':null!=_0x122025['data1']&&Object['hasOwnProperty']['call'](_0x122025,'data1')&&!(_0x122025['data1']&&'number'==typeof _0x122025['data1']['length']||_0x2da725['isString'](_0x122025['data1']))?'data1:\x20buffer\x20expected':null);},_0x1ea055['fromObject']=function(_0xd41827,_0x2b0257){if(_0xd41827 instanceof _0x4efd5e['ObjectBufferPacketDataMessage'])return _0xd41827;if(!_0x2da725['isObject'](_0xd41827))throw TypeError('.ObjectBufferPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x2b0257&&(_0x2b0257=0x0),_0x2b0257>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x40c3b7=new _0x4efd5e['ObjectBufferPacketDataMessage']();return null!=_0xd41827['data']&&(_0x40c3b7['data']=String(_0xd41827['data'])),null!=_0xd41827['data1']&&('string'==typeof _0xd41827['data1']?_0x2da725['base64']['decode'](_0xd41827['data1'],_0x40c3b7['data1']=_0x2da725['newBuffer'](_0x2da725['base64']['length'](_0xd41827['data1'])),0x0):_0xd41827['data1']['length']>=0x0&&(_0x40c3b7['data1']=_0xd41827['data1'])),_0x40c3b7;},_0x1ea055['toObject']=function(_0x5a8af1,_0x106ada,_0x50d031){if(_0x106ada||(_0x106ada={}),void 0x0===_0x50d031&&(_0x50d031=0x0),_0x50d031>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x2280d3={};return _0x106ada['defaults']&&(_0x2280d3['data']='',_0x106ada['bytes']===String?_0x2280d3['data1']='':(_0x2280d3['data1']=[],_0x106ada['bytes']!==Array&&(_0x2280d3['data1']=_0x2da725['newBuffer'](_0x2280d3['data1'])))),null!=_0x5a8af1['data']&&Object['hasOwnProperty']['call'](_0x5a8af1,'data')&&(_0x2280d3['data']=_0x5a8af1['data']),null!=_0x5a8af1['data1']&&Object['hasOwnProperty']['call'](_0x5a8af1,'data1')&&(_0x2280d3['data1']=_0x106ada['bytes']===String?_0x2da725['base64']['encode'](_0x5a8af1['data1'],0x0,_0x5a8af1['data1']['length']):_0x106ada['bytes']===Array?Array['prototype']['slice']['call'](_0x5a8af1['data1']):_0x5a8af1['data1']),_0x2280d3;},_0x1ea055['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x1ea055['getTypeUrl']=function(_0x538dc8){return void 0x0===_0x538dc8&&(_0x538dc8='type.googleapis.com'),_0x538dc8+'/ObjectBufferPacketDataMessage';},_0x1ea055;}()),_0x4efd5e['NumberStringPacketDataMessage']=(function(){function _0x550d0e(_0x21087e){if(_0x21087e){for(var _0x4d1394=Object['keys'](_0x21087e),_0x21c5df=0x0;_0x21c5df<_0x4d1394['length'];++_0x21c5df)null!=_0x21087e[_0x4d1394[_0x21c5df]]&&'__proto__'!==_0x4d1394[_0x21c5df]&&(this[_0x4d1394[_0x21c5df]]=_0x21087e[_0x4d1394[_0x21c5df]]);}}return _0x550d0e['prototype']['data']=0x0,_0x550d0e['prototype']['data1']='',_0x550d0e['create']=function(_0x4bdbda){return new _0x550d0e(_0x4bdbda);},_0x550d0e['encode']=function(_0x5d8a1a,_0x173ac9,_0x2bd325){if(_0x173ac9||(_0x173ac9=_0x42a0bf['create']()),void 0x0===_0x2bd325&&(_0x2bd325=0x0),_0x2bd325>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x5d8a1a['data']&&Object['hasOwnProperty']['call'](_0x5d8a1a,'data')&&_0x173ac9['uint32'](0x8)['uint32'](_0x5d8a1a['data']),null!=_0x5d8a1a['data1']&&Object['hasOwnProperty']['call'](_0x5d8a1a,'data1')&&_0x173ac9['uint32'](0x12)['string'](_0x5d8a1a['data1']),_0x173ac9;},_0x550d0e['encodeDelimited']=function(_0x42759a,_0x424a46){return this['encode'](_0x42759a,_0x424a46)['ldelim']();},_0x550d0e['decode']=function(_0x4b2197,_0x3a8e5a,_0x58f0c7,_0x7dd3db){if(_0x4b2197 instanceof _0x34a44d||(_0x4b2197=_0x34a44d['create'](_0x4b2197)),void 0x0===_0x7dd3db&&(_0x7dd3db=0x0),_0x7dd3db>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x31cee4=void 0x0===_0x3a8e5a?_0x4b2197['len']:_0x4b2197['pos']+_0x3a8e5a,_0x45dbf5=new _0x4efd5e['NumberStringPacketDataMessage']();_0x4b2197['pos']<_0x31cee4;){var _0x133ba0=_0x4b2197['uint32']();if(_0x133ba0===_0x58f0c7)break;switch(_0x133ba0>>>0x3){case 0x1:_0x45dbf5['data']=_0x4b2197['uint32']();break;case 0x2:_0x45dbf5['data1']=_0x4b2197['string']();break;default:_0x4b2197['skipType'](0x7&_0x133ba0,_0x7dd3db);}}return _0x45dbf5;},_0x550d0e['decodeDelimited']=function(_0x25e70e){return _0x25e70e instanceof _0x34a44d||(_0x25e70e=new _0x34a44d(_0x25e70e)),this['decode'](_0x25e70e,_0x25e70e['uint32']());},_0x550d0e['verify']=function(_0x70d718,_0x3b9101){return'object'!=typeof _0x70d718||null===_0x70d718?'object\x20expected':(void 0x0===_0x3b9101&&(_0x3b9101=0x0),_0x3b9101>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x70d718['data']&&Object['hasOwnProperty']['call'](_0x70d718,'data')&&!_0x2da725['isInteger'](_0x70d718['data'])?'data:\x20integer\x20expected':null!=_0x70d718['data1']&&Object['hasOwnProperty']['call'](_0x70d718,'data1')&&!_0x2da725['isString'](_0x70d718['data1'])?'data1:\x20string\x20expected':null);},_0x550d0e['fromObject']=function(_0x3bd862,_0xe3f39d){if(_0x3bd862 instanceof _0x4efd5e['NumberStringPacketDataMessage'])return _0x3bd862;if(!_0x2da725['isObject'](_0x3bd862))throw TypeError('.NumberStringPacketDataMessage:\x20object\x20expected');if(void 0x0===_0xe3f39d&&(_0xe3f39d=0x0),_0xe3f39d>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x23d46c=new _0x4efd5e['NumberStringPacketDataMessage']();return null!=_0x3bd862['data']&&(_0x23d46c['data']=_0x3bd862['data']>>>0x0),null!=_0x3bd862['data1']&&(_0x23d46c['data1']=String(_0x3bd862['data1'])),_0x23d46c;},_0x550d0e['toObject']=function(_0x569811,_0x14c6ed,_0x4646cd){if(_0x14c6ed||(_0x14c6ed={}),void 0x0===_0x4646cd&&(_0x4646cd=0x0),_0x4646cd>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x32e2bb={};return _0x14c6ed['defaults']&&(_0x32e2bb['data']=0x0,_0x32e2bb['data1']=''),null!=_0x569811['data']&&Object['hasOwnProperty']['call'](_0x569811,'data')&&(_0x32e2bb['data']=_0x569811['data']),null!=_0x569811['data1']&&Object['hasOwnProperty']['call'](_0x569811,'data1')&&(_0x32e2bb['data1']=_0x569811['data1']),_0x32e2bb;},_0x550d0e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x550d0e['getTypeUrl']=function(_0x505343){return void 0x0===_0x505343&&(_0x505343='type.googleapis.com'),_0x505343+'/NumberStringPacketDataMessage';},_0x550d0e;}()),_0x4efd5e['NumberObjectPacketDataMessage']=(function(){function _0x314079(_0x177086){if(_0x177086){for(var _0xcc1c80=Object['keys'](_0x177086),_0x17853e=0x0;_0x17853e<_0xcc1c80['length'];++_0x17853e)null!=_0x177086[_0xcc1c80[_0x17853e]]&&'__proto__'!==_0xcc1c80[_0x17853e]&&(this[_0xcc1c80[_0x17853e]]=_0x177086[_0xcc1c80[_0x17853e]]);}}return _0x314079['prototype']['data']=0x0,_0x314079['prototype']['data1']='',_0x314079['create']=function(_0x1628cb){return new _0x314079(_0x1628cb);},_0x314079['encode']=function(_0x38356d,_0x47e094,_0x1b7da2){if(_0x47e094||(_0x47e094=_0x42a0bf['create']()),void 0x0===_0x1b7da2&&(_0x1b7da2=0x0),_0x1b7da2>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x38356d['data']&&Object['hasOwnProperty']['call'](_0x38356d,'data')&&_0x47e094['uint32'](0x8)['uint32'](_0x38356d['data']),null!=_0x38356d['data1']&&Object['hasOwnProperty']['call'](_0x38356d,'data1')&&_0x47e094['uint32'](0x12)['string'](_0x38356d['data1']),_0x47e094;},_0x314079['encodeDelimited']=function(_0xfd23c0,_0x43d4cc){return this['encode'](_0xfd23c0,_0x43d4cc)['ldelim']();},_0x314079['decode']=function(_0x3f18c2,_0x43d1c5,_0x1c96b7,_0x1091e3){if(_0x3f18c2 instanceof _0x34a44d||(_0x3f18c2=_0x34a44d['create'](_0x3f18c2)),void 0x0===_0x1091e3&&(_0x1091e3=0x0),_0x1091e3>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1d6a8b=void 0x0===_0x43d1c5?_0x3f18c2['len']:_0x3f18c2['pos']+_0x43d1c5,_0x452603=new _0x4efd5e['NumberObjectPacketDataMessage']();_0x3f18c2['pos']<_0x1d6a8b;){var _0x2cb4c9=_0x3f18c2['uint32']();if(_0x2cb4c9===_0x1c96b7)break;switch(_0x2cb4c9>>>0x3){case 0x1:_0x452603['data']=_0x3f18c2['uint32']();break;case 0x2:_0x452603['data1']=_0x3f18c2['string']();break;default:_0x3f18c2['skipType'](0x7&_0x2cb4c9,_0x1091e3);}}return _0x452603;},_0x314079['decodeDelimited']=function(_0x4103d5){return _0x4103d5 instanceof _0x34a44d||(_0x4103d5=new _0x34a44d(_0x4103d5)),this['decode'](_0x4103d5,_0x4103d5['uint32']());},_0x314079['verify']=function(_0x3f0a0a,_0x1a0a7a){return'object'!=typeof _0x3f0a0a||null===_0x3f0a0a?'object\x20expected':(void 0x0===_0x1a0a7a&&(_0x1a0a7a=0x0),_0x1a0a7a>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x3f0a0a['data']&&Object['hasOwnProperty']['call'](_0x3f0a0a,'data')&&!_0x2da725['isInteger'](_0x3f0a0a['data'])?'data:\x20integer\x20expected':null!=_0x3f0a0a['data1']&&Object['hasOwnProperty']['call'](_0x3f0a0a,'data1')&&!_0x2da725['isString'](_0x3f0a0a['data1'])?'data1:\x20string\x20expected':null);},_0x314079['fromObject']=function(_0x20ef7e,_0x57a25b){if(_0x20ef7e instanceof _0x4efd5e['NumberObjectPacketDataMessage'])return _0x20ef7e;if(!_0x2da725['isObject'](_0x20ef7e))throw TypeError('.NumberObjectPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x57a25b&&(_0x57a25b=0x0),_0x57a25b>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x48a44a=new _0x4efd5e['NumberObjectPacketDataMessage']();return null!=_0x20ef7e['data']&&(_0x48a44a['data']=_0x20ef7e['data']>>>0x0),null!=_0x20ef7e['data1']&&(_0x48a44a['data1']=String(_0x20ef7e['data1'])),_0x48a44a;},_0x314079['toObject']=function(_0x5143b5,_0x27cd2b,_0x4a7edb){if(_0x27cd2b||(_0x27cd2b={}),void 0x0===_0x4a7edb&&(_0x4a7edb=0x0),_0x4a7edb>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x1c01b6={};return _0x27cd2b['defaults']&&(_0x1c01b6['data']=0x0,_0x1c01b6['data1']=''),null!=_0x5143b5['data']&&Object['hasOwnProperty']['call'](_0x5143b5,'data')&&(_0x1c01b6['data']=_0x5143b5['data']),null!=_0x5143b5['data1']&&Object['hasOwnProperty']['call'](_0x5143b5,'data1')&&(_0x1c01b6['data1']=_0x5143b5['data1']),_0x1c01b6;},_0x314079['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x314079['getTypeUrl']=function(_0x4855ed){return void 0x0===_0x4855ed&&(_0x4855ed='type.googleapis.com'),_0x4855ed+'/NumberObjectPacketDataMessage';},_0x314079;}()),_0x4efd5e['NumberNumberPacketDataMessage']=(function(){function _0x289768(_0x33c251){if(_0x33c251){for(var _0x1f41cd=Object['keys'](_0x33c251),_0xba4d57=0x0;_0xba4d57<_0x1f41cd['length'];++_0xba4d57)null!=_0x33c251[_0x1f41cd[_0xba4d57]]&&'__proto__'!==_0x1f41cd[_0xba4d57]&&(this[_0x1f41cd[_0xba4d57]]=_0x33c251[_0x1f41cd[_0xba4d57]]);}}return _0x289768['prototype']['data']=0x0,_0x289768['prototype']['data1']=0x0,_0x289768['create']=function(_0x4aed95){return new _0x289768(_0x4aed95);},_0x289768['encode']=function(_0x478c70,_0x111058,_0x54d0ce){if(_0x111058||(_0x111058=_0x42a0bf['create']()),void 0x0===_0x54d0ce&&(_0x54d0ce=0x0),_0x54d0ce>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x478c70['data']&&Object['hasOwnProperty']['call'](_0x478c70,'data')&&_0x111058['uint32'](0x8)['uint32'](_0x478c70['data']),null!=_0x478c70['data1']&&Object['hasOwnProperty']['call'](_0x478c70,'data1')&&_0x111058['uint32'](0x10)['uint32'](_0x478c70['data1']),_0x111058;},_0x289768['encodeDelimited']=function(_0x559573,_0x1f77db){return this['encode'](_0x559573,_0x1f77db)['ldelim']();},_0x289768['decode']=function(_0x5abe5b,_0x1e0a18,_0x40e2d8,_0x3eaa63){if(_0x5abe5b instanceof _0x34a44d||(_0x5abe5b=_0x34a44d['create'](_0x5abe5b)),void 0x0===_0x3eaa63&&(_0x3eaa63=0x0),_0x3eaa63>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x14e459=void 0x0===_0x1e0a18?_0x5abe5b['len']:_0x5abe5b['pos']+_0x1e0a18,_0x1f0ce3=new _0x4efd5e['NumberNumberPacketDataMessage']();_0x5abe5b['pos']<_0x14e459;){var _0x5ca3d2=_0x5abe5b['uint32']();if(_0x5ca3d2===_0x40e2d8)break;switch(_0x5ca3d2>>>0x3){case 0x1:_0x1f0ce3['data']=_0x5abe5b['uint32']();break;case 0x2:_0x1f0ce3['data1']=_0x5abe5b['uint32']();break;default:_0x5abe5b['skipType'](0x7&_0x5ca3d2,_0x3eaa63);}}return _0x1f0ce3;},_0x289768['decodeDelimited']=function(_0x3133fa){return _0x3133fa instanceof _0x34a44d||(_0x3133fa=new _0x34a44d(_0x3133fa)),this['decode'](_0x3133fa,_0x3133fa['uint32']());},_0x289768['verify']=function(_0x3244fe,_0x5cbb20){return'object'!=typeof _0x3244fe||null===_0x3244fe?'object\x20expected':(void 0x0===_0x5cbb20&&(_0x5cbb20=0x0),_0x5cbb20>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x3244fe['data']&&Object['hasOwnProperty']['call'](_0x3244fe,'data')&&!_0x2da725['isInteger'](_0x3244fe['data'])?'data:\x20integer\x20expected':null!=_0x3244fe['data1']&&Object['hasOwnProperty']['call'](_0x3244fe,'data1')&&!_0x2da725['isInteger'](_0x3244fe['data1'])?'data1:\x20integer\x20expected':null);},_0x289768['fromObject']=function(_0x382edf,_0x477a8c){if(_0x382edf instanceof _0x4efd5e['NumberNumberPacketDataMessage'])return _0x382edf;if(!_0x2da725['isObject'](_0x382edf))throw TypeError('.NumberNumberPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x477a8c&&(_0x477a8c=0x0),_0x477a8c>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x176b39=new _0x4efd5e['NumberNumberPacketDataMessage']();return null!=_0x382edf['data']&&(_0x176b39['data']=_0x382edf['data']>>>0x0),null!=_0x382edf['data1']&&(_0x176b39['data1']=_0x382edf['data1']>>>0x0),_0x176b39;},_0x289768['toObject']=function(_0x26da4,_0x4e0a42,_0x339b70){if(_0x4e0a42||(_0x4e0a42={}),void 0x0===_0x339b70&&(_0x339b70=0x0),_0x339b70>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x4d0369={};return _0x4e0a42['defaults']&&(_0x4d0369['data']=0x0,_0x4d0369['data1']=0x0),null!=_0x26da4['data']&&Object['hasOwnProperty']['call'](_0x26da4,'data')&&(_0x4d0369['data']=_0x26da4['data']),null!=_0x26da4['data1']&&Object['hasOwnProperty']['call'](_0x26da4,'data1')&&(_0x4d0369['data1']=_0x26da4['data1']),_0x4d0369;},_0x289768['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x289768['getTypeUrl']=function(_0x3bab1b){return void 0x0===_0x3bab1b&&(_0x3bab1b='type.googleapis.com'),_0x3bab1b+'/NumberNumberPacketDataMessage';},_0x289768;}()),_0x4efd5e['NumberBytesPacketDataMessage']=(function(){function _0x2f1046(_0x49b8da){if(_0x49b8da){for(var _0x2919e5=Object['keys'](_0x49b8da),_0x4039d3=0x0;_0x4039d3<_0x2919e5['length'];++_0x4039d3)null!=_0x49b8da[_0x2919e5[_0x4039d3]]&&'__proto__'!==_0x2919e5[_0x4039d3]&&(this[_0x2919e5[_0x4039d3]]=_0x49b8da[_0x2919e5[_0x4039d3]]);}}return _0x2f1046['prototype']['data']=0x0,_0x2f1046['prototype']['data1']=_0x2da725['newBuffer']([]),_0x2f1046['create']=function(_0x3a1c66){return new _0x2f1046(_0x3a1c66);},_0x2f1046['encode']=function(_0x21cbe0,_0x1e411d,_0x400095){if(_0x1e411d||(_0x1e411d=_0x42a0bf['create']()),void 0x0===_0x400095&&(_0x400095=0x0),_0x400095>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x21cbe0['data']&&Object['hasOwnProperty']['call'](_0x21cbe0,'data')&&_0x1e411d['uint32'](0x8)['uint32'](_0x21cbe0['data']),null!=_0x21cbe0['data1']&&Object['hasOwnProperty']['call'](_0x21cbe0,'data1')&&_0x1e411d['uint32'](0x12)['bytes'](_0x21cbe0['data1']),_0x1e411d;},_0x2f1046['encodeDelimited']=function(_0x50b90f,_0x1cac45){return this['encode'](_0x50b90f,_0x1cac45)['ldelim']();},_0x2f1046['decode']=function(_0x5bb8e6,_0x4a5c2a,_0x57e404,_0x3ca801){if(_0x5bb8e6 instanceof _0x34a44d||(_0x5bb8e6=_0x34a44d['create'](_0x5bb8e6)),void 0x0===_0x3ca801&&(_0x3ca801=0x0),_0x3ca801>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3c9175=void 0x0===_0x4a5c2a?_0x5bb8e6['len']:_0x5bb8e6['pos']+_0x4a5c2a,_0x1bce30=new _0x4efd5e['NumberBytesPacketDataMessage']();_0x5bb8e6['pos']<_0x3c9175;){var _0x125d4d=_0x5bb8e6['uint32']();if(_0x125d4d===_0x57e404)break;switch(_0x125d4d>>>0x3){case 0x1:_0x1bce30['data']=_0x5bb8e6['uint32']();break;case 0x2:_0x1bce30['data1']=_0x5bb8e6['bytes']();break;default:_0x5bb8e6['skipType'](0x7&_0x125d4d,_0x3ca801);}}return _0x1bce30;},_0x2f1046['decodeDelimited']=function(_0x358381){return _0x358381 instanceof _0x34a44d||(_0x358381=new _0x34a44d(_0x358381)),this['decode'](_0x358381,_0x358381['uint32']());},_0x2f1046['verify']=function(_0x52e4bb,_0x2c045c){return'object'!=typeof _0x52e4bb||null===_0x52e4bb?'object\x20expected':(void 0x0===_0x2c045c&&(_0x2c045c=0x0),_0x2c045c>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x52e4bb['data']&&Object['hasOwnProperty']['call'](_0x52e4bb,'data')&&!_0x2da725['isInteger'](_0x52e4bb['data'])?'data:\x20integer\x20expected':null!=_0x52e4bb['data1']&&Object['hasOwnProperty']['call'](_0x52e4bb,'data1')&&!(_0x52e4bb['data1']&&'number'==typeof _0x52e4bb['data1']['length']||_0x2da725['isString'](_0x52e4bb['data1']))?'data1:\x20buffer\x20expected':null);},_0x2f1046['fromObject']=function(_0x2801b4,_0xd5255a){if(_0x2801b4 instanceof _0x4efd5e['NumberBytesPacketDataMessage'])return _0x2801b4;if(!_0x2da725['isObject'](_0x2801b4))throw TypeError('.NumberBytesPacketDataMessage:\x20object\x20expected');if(void 0x0===_0xd5255a&&(_0xd5255a=0x0),_0xd5255a>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xdfe0de=new _0x4efd5e['NumberBytesPacketDataMessage']();return null!=_0x2801b4['data']&&(_0xdfe0de['data']=_0x2801b4['data']>>>0x0),null!=_0x2801b4['data1']&&('string'==typeof _0x2801b4['data1']?_0x2da725['base64']['decode'](_0x2801b4['data1'],_0xdfe0de['data1']=_0x2da725['newBuffer'](_0x2da725['base64']['length'](_0x2801b4['data1'])),0x0):_0x2801b4['data1']['length']>=0x0&&(_0xdfe0de['data1']=_0x2801b4['data1'])),_0xdfe0de;},_0x2f1046['toObject']=function(_0x1dc299,_0x45f3f8,_0x57fb75){if(_0x45f3f8||(_0x45f3f8={}),void 0x0===_0x57fb75&&(_0x57fb75=0x0),_0x57fb75>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x22190f={};return _0x45f3f8['defaults']&&(_0x22190f['data']=0x0,_0x45f3f8['bytes']===String?_0x22190f['data1']='':(_0x22190f['data1']=[],_0x45f3f8['bytes']!==Array&&(_0x22190f['data1']=_0x2da725['newBuffer'](_0x22190f['data1'])))),null!=_0x1dc299['data']&&Object['hasOwnProperty']['call'](_0x1dc299,'data')&&(_0x22190f['data']=_0x1dc299['data']),null!=_0x1dc299['data1']&&Object['hasOwnProperty']['call'](_0x1dc299,'data1')&&(_0x22190f['data1']=_0x45f3f8['bytes']===String?_0x2da725['base64']['encode'](_0x1dc299['data1'],0x0,_0x1dc299['data1']['length']):_0x45f3f8['bytes']===Array?Array['prototype']['slice']['call'](_0x1dc299['data1']):_0x1dc299['data1']),_0x22190f;},_0x2f1046['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x2f1046['getTypeUrl']=function(_0x17d3eb){return void 0x0===_0x17d3eb&&(_0x17d3eb='type.googleapis.com'),_0x17d3eb+'/NumberBytesPacketDataMessage';},_0x2f1046;}()),_0x4efd5e['BytesBytesPacketDataMessage']=(function(){function _0xe8ad8d(_0xd33d36){if(_0xd33d36){for(var _0x1441bc=Object['keys'](_0xd33d36),_0x444af4=0x0;_0x444af4<_0x1441bc['length'];++_0x444af4)null!=_0xd33d36[_0x1441bc[_0x444af4]]&&'__proto__'!==_0x1441bc[_0x444af4]&&(this[_0x1441bc[_0x444af4]]=_0xd33d36[_0x1441bc[_0x444af4]]);}}return _0xe8ad8d['prototype']['data']=_0x2da725['newBuffer']([]),_0xe8ad8d['prototype']['data1']=_0x2da725['newBuffer']([]),_0xe8ad8d['create']=function(_0x1310aa){return new _0xe8ad8d(_0x1310aa);},_0xe8ad8d['encode']=function(_0xb47ad8,_0x1d4656,_0x2a63e1){if(_0x1d4656||(_0x1d4656=_0x42a0bf['create']()),void 0x0===_0x2a63e1&&(_0x2a63e1=0x0),_0x2a63e1>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0xb47ad8['data']&&Object['hasOwnProperty']['call'](_0xb47ad8,'data')&&_0x1d4656['uint32'](0xa)['bytes'](_0xb47ad8['data']),null!=_0xb47ad8['data1']&&Object['hasOwnProperty']['call'](_0xb47ad8,'data1')&&_0x1d4656['uint32'](0x12)['bytes'](_0xb47ad8['data1']),_0x1d4656;},_0xe8ad8d['encodeDelimited']=function(_0x4ff6a8,_0x35dd38){return this['encode'](_0x4ff6a8,_0x35dd38)['ldelim']();},_0xe8ad8d['decode']=function(_0xd04ff6,_0x574c6e,_0x5aa2f2,_0x5137e4){if(_0xd04ff6 instanceof _0x34a44d||(_0xd04ff6=_0x34a44d['create'](_0xd04ff6)),void 0x0===_0x5137e4&&(_0x5137e4=0x0),_0x5137e4>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x18fac1=void 0x0===_0x574c6e?_0xd04ff6['len']:_0xd04ff6['pos']+_0x574c6e,_0x34cc7d=new _0x4efd5e['BytesBytesPacketDataMessage']();_0xd04ff6['pos']<_0x18fac1;){var _0x3c1245=_0xd04ff6['uint32']();if(_0x3c1245===_0x5aa2f2)break;switch(_0x3c1245>>>0x3){case 0x1:_0x34cc7d['data']=_0xd04ff6['bytes']();break;case 0x2:_0x34cc7d['data1']=_0xd04ff6['bytes']();break;default:_0xd04ff6['skipType'](0x7&_0x3c1245,_0x5137e4);}}return _0x34cc7d;},_0xe8ad8d['decodeDelimited']=function(_0x4fd9c8){return _0x4fd9c8 instanceof _0x34a44d||(_0x4fd9c8=new _0x34a44d(_0x4fd9c8)),this['decode'](_0x4fd9c8,_0x4fd9c8['uint32']());},_0xe8ad8d['verify']=function(_0x24e1ce,_0x419973){return'object'!=typeof _0x24e1ce||null===_0x24e1ce?'object\x20expected':(void 0x0===_0x419973&&(_0x419973=0x0),_0x419973>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x24e1ce['data']&&Object['hasOwnProperty']['call'](_0x24e1ce,'data')&&!(_0x24e1ce['data']&&'number'==typeof _0x24e1ce['data']['length']||_0x2da725['isString'](_0x24e1ce['data']))?'data:\x20buffer\x20expected':null!=_0x24e1ce['data1']&&Object['hasOwnProperty']['call'](_0x24e1ce,'data1')&&!(_0x24e1ce['data1']&&'number'==typeof _0x24e1ce['data1']['length']||_0x2da725['isString'](_0x24e1ce['data1']))?'data1:\x20buffer\x20expected':null);},_0xe8ad8d['fromObject']=function(_0x3fd3b7,_0x3215ad){if(_0x3fd3b7 instanceof _0x4efd5e['BytesBytesPacketDataMessage'])return _0x3fd3b7;if(!_0x2da725['isObject'](_0x3fd3b7))throw TypeError('.BytesBytesPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x3215ad&&(_0x3215ad=0x0),_0x3215ad>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x33d870=new _0x4efd5e['BytesBytesPacketDataMessage']();return null!=_0x3fd3b7['data']&&('string'==typeof _0x3fd3b7['data']?_0x2da725['base64']['decode'](_0x3fd3b7['data'],_0x33d870['data']=_0x2da725['newBuffer'](_0x2da725['base64']['length'](_0x3fd3b7['data'])),0x0):_0x3fd3b7['data']['length']>=0x0&&(_0x33d870['data']=_0x3fd3b7['data'])),null!=_0x3fd3b7['data1']&&('string'==typeof _0x3fd3b7['data1']?_0x2da725['base64']['decode'](_0x3fd3b7['data1'],_0x33d870['data1']=_0x2da725['newBuffer'](_0x2da725['base64']['length'](_0x3fd3b7['data1'])),0x0):_0x3fd3b7['data1']['length']>=0x0&&(_0x33d870['data1']=_0x3fd3b7['data1'])),_0x33d870;},_0xe8ad8d['toObject']=function(_0x512f25,_0x5bbdfc,_0x26efbb){if(_0x5bbdfc||(_0x5bbdfc={}),void 0x0===_0x26efbb&&(_0x26efbb=0x0),_0x26efbb>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x103488={};return _0x5bbdfc['defaults']&&(_0x5bbdfc['bytes']===String?_0x103488['data']='':(_0x103488['data']=[],_0x5bbdfc['bytes']!==Array&&(_0x103488['data']=_0x2da725['newBuffer'](_0x103488['data']))),_0x5bbdfc['bytes']===String?_0x103488['data1']='':(_0x103488['data1']=[],_0x5bbdfc['bytes']!==Array&&(_0x103488['data1']=_0x2da725['newBuffer'](_0x103488['data1'])))),null!=_0x512f25['data']&&Object['hasOwnProperty']['call'](_0x512f25,'data')&&(_0x103488['data']=_0x5bbdfc['bytes']===String?_0x2da725['base64']['encode'](_0x512f25['data'],0x0,_0x512f25['data']['length']):_0x5bbdfc['bytes']===Array?Array['prototype']['slice']['call'](_0x512f25['data']):_0x512f25['data']),null!=_0x512f25['data1']&&Object['hasOwnProperty']['call'](_0x512f25,'data1')&&(_0x103488['data1']=_0x5bbdfc['bytes']===String?_0x2da725['base64']['encode'](_0x512f25['data1'],0x0,_0x512f25['data1']['length']):_0x5bbdfc['bytes']===Array?Array['prototype']['slice']['call'](_0x512f25['data1']):_0x512f25['data1']),_0x103488;},_0xe8ad8d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0xe8ad8d['getTypeUrl']=function(_0x17888f){return void 0x0===_0x17888f&&(_0x17888f='type.googleapis.com'),_0x17888f+'/BytesBytesPacketDataMessage';},_0xe8ad8d;}()),_0x4efd5e['ChannelMessage']=(function(){function _0x1f25d7(_0x4ab46c){if(_0x4ab46c){for(var _0x4f8960=Object['keys'](_0x4ab46c),_0x408d82=0x0;_0x408d82<_0x4f8960['length'];++_0x408d82)null!=_0x4ab46c[_0x4f8960[_0x408d82]]&&'__proto__'!==_0x4f8960[_0x408d82]&&(this[_0x4f8960[_0x408d82]]=_0x4ab46c[_0x4f8960[_0x408d82]]);}}return _0x1f25d7['prototype']['type']=0x0,_0x1f25d7['prototype']['socketId']='',_0x1f25d7['prototype']['data']=_0x2da725['newBuffer']([]),_0x1f25d7['create']=function(_0x3bdc1c){return new _0x1f25d7(_0x3bdc1c);},_0x1f25d7['encode']=function(_0x2a27d6,_0x19af56,_0x55326c){if(_0x19af56||(_0x19af56=_0x42a0bf['create']()),void 0x0===_0x55326c&&(_0x55326c=0x0),_0x55326c>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x2a27d6['type']&&Object['hasOwnProperty']['call'](_0x2a27d6,'type')&&_0x19af56['uint32'](0x8)['uint32'](_0x2a27d6['type']),null!=_0x2a27d6['socketId']&&Object['hasOwnProperty']['call'](_0x2a27d6,'socketId')&&_0x19af56['uint32'](0x12)['string'](_0x2a27d6['socketId']),null!=_0x2a27d6['data']&&Object['hasOwnProperty']['call'](_0x2a27d6,'data')&&_0x19af56['uint32'](0x1a)['bytes'](_0x2a27d6['data']),_0x19af56;},_0x1f25d7['encodeDelimited']=function(_0x3935d4,_0x347732){return this['encode'](_0x3935d4,_0x347732)['ldelim']();},_0x1f25d7['decode']=function(_0x4ba39f,_0x1087b5,_0x4674bc,_0x4fec0c){if(_0x4ba39f instanceof _0x34a44d||(_0x4ba39f=_0x34a44d['create'](_0x4ba39f)),void 0x0===_0x4fec0c&&(_0x4fec0c=0x0),_0x4fec0c>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x45cf3e=void 0x0===_0x1087b5?_0x4ba39f['len']:_0x4ba39f['pos']+_0x1087b5,_0x1f19e2=new _0x4efd5e['ChannelMessage']();_0x4ba39f['pos']<_0x45cf3e;){var _0x481906=_0x4ba39f['uint32']();if(_0x481906===_0x4674bc)break;switch(_0x481906>>>0x3){case 0x1:_0x1f19e2['type']=_0x4ba39f['uint32']();break;case 0x2:_0x1f19e2['socketId']=_0x4ba39f['string']();break;case 0x3:_0x1f19e2['data']=_0x4ba39f['bytes']();break;default:_0x4ba39f['skipType'](0x7&_0x481906,_0x4fec0c);}}return _0x1f19e2;},_0x1f25d7['decodeDelimited']=function(_0x2af385){return _0x2af385 instanceof _0x34a44d||(_0x2af385=new _0x34a44d(_0x2af385)),this['decode'](_0x2af385,_0x2af385['uint32']());},_0x1f25d7['verify']=function(_0x361421,_0xeaea46){return'object'!=typeof _0x361421||null===_0x361421?'object\x20expected':(void 0x0===_0xeaea46&&(_0xeaea46=0x0),_0xeaea46>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x361421['type']&&Object['hasOwnProperty']['call'](_0x361421,'type')&&!_0x2da725['isInteger'](_0x361421['type'])?'type:\x20integer\x20expected':null!=_0x361421['socketId']&&Object['hasOwnProperty']['call'](_0x361421,'socketId')&&!_0x2da725['isString'](_0x361421['socketId'])?'socketId:\x20string\x20expected':null!=_0x361421['data']&&Object['hasOwnProperty']['call'](_0x361421,'data')&&!(_0x361421['data']&&'number'==typeof _0x361421['data']['length']||_0x2da725['isString'](_0x361421['data']))?'data:\x20buffer\x20expected':null);},_0x1f25d7['fromObject']=function(_0x2e611c,_0x3b17c0){if(_0x2e611c instanceof _0x4efd5e['ChannelMessage'])return _0x2e611c;if(!_0x2da725['isObject'](_0x2e611c))throw TypeError('.ChannelMessage:\x20object\x20expected');if(void 0x0===_0x3b17c0&&(_0x3b17c0=0x0),_0x3b17c0>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x36c292=new _0x4efd5e['ChannelMessage']();return null!=_0x2e611c['type']&&(_0x36c292['type']=_0x2e611c['type']>>>0x0),null!=_0x2e611c['socketId']&&(_0x36c292['socketId']=String(_0x2e611c['socketId'])),null!=_0x2e611c['data']&&('string'==typeof _0x2e611c['data']?_0x2da725['base64']['decode'](_0x2e611c['data'],_0x36c292['data']=_0x2da725['newBuffer'](_0x2da725['base64']['length'](_0x2e611c['data'])),0x0):_0x2e611c['data']['length']>=0x0&&(_0x36c292['data']=_0x2e611c['data'])),_0x36c292;},_0x1f25d7['toObject']=function(_0x2833f4,_0x293423,_0x4710cc){if(_0x293423||(_0x293423={}),void 0x0===_0x4710cc&&(_0x4710cc=0x0),_0x4710cc>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x426019={};return _0x293423['defaults']&&(_0x426019['type']=0x0,_0x426019['socketId']='',_0x293423['bytes']===String?_0x426019['data']='':(_0x426019['data']=[],_0x293423['bytes']!==Array&&(_0x426019['data']=_0x2da725['newBuffer'](_0x426019['data'])))),null!=_0x2833f4['type']&&Object['hasOwnProperty']['call'](_0x2833f4,'type')&&(_0x426019['type']=_0x2833f4['type']),null!=_0x2833f4['socketId']&&Object['hasOwnProperty']['call'](_0x2833f4,'socketId')&&(_0x426019['socketId']=_0x2833f4['socketId']),null!=_0x2833f4['data']&&Object['hasOwnProperty']['call'](_0x2833f4,'data')&&(_0x426019['data']=_0x293423['bytes']===String?_0x2da725['base64']['encode'](_0x2833f4['data'],0x0,_0x2833f4['data']['length']):_0x293423['bytes']===Array?Array['prototype']['slice']['call'](_0x2833f4['data']):_0x2833f4['data']),_0x426019;},_0x1f25d7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x1f25d7['getTypeUrl']=function(_0x2927f3){return void 0x0===_0x2927f3&&(_0x2927f3='type.googleapis.com'),_0x2927f3+'/ChannelMessage';},_0x1f25d7;}()),_0x4efd5e['ChannelDisconnectedMessage']=(function(){function _0x3e4598(_0x5f31d1){if(_0x5f31d1){for(var _0x4a5363=Object['keys'](_0x5f31d1),_0x445cee=0x0;_0x445cee<_0x4a5363['length'];++_0x445cee)null!=_0x5f31d1[_0x4a5363[_0x445cee]]&&'__proto__'!==_0x4a5363[_0x445cee]&&(this[_0x4a5363[_0x445cee]]=_0x5f31d1[_0x4a5363[_0x445cee]]);}}return _0x3e4598['create']=function(_0x54ef9a){return new _0x3e4598(_0x54ef9a);},_0x3e4598['encode']=function(_0x16aebe,_0x57e27a,_0x4afba7){if(_0x57e27a||(_0x57e27a=_0x42a0bf['create']()),void 0x0===_0x4afba7&&(_0x4afba7=0x0),_0x4afba7>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return _0x57e27a;},_0x3e4598['encodeDelimited']=function(_0x2905e9,_0x4da0d8){return this['encode'](_0x2905e9,_0x4da0d8)['ldelim']();},_0x3e4598['decode']=function(_0x151e5a,_0x2f054e,_0x3feaf8,_0x226657){if(_0x151e5a instanceof _0x34a44d||(_0x151e5a=_0x34a44d['create'](_0x151e5a)),void 0x0===_0x226657&&(_0x226657=0x0),_0x226657>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3e9014=void 0x0===_0x2f054e?_0x151e5a['len']:_0x151e5a['pos']+_0x2f054e,_0x19eb79=new _0x4efd5e['ChannelDisconnectedMessage']();_0x151e5a['pos']<_0x3e9014;){var _0x4021c0=_0x151e5a['uint32']();if(_0x4021c0===_0x3feaf8)break;_0x151e5a['skipType'](0x7&_0x4021c0,_0x226657);}return _0x19eb79;},_0x3e4598['decodeDelimited']=function(_0x5b9000){return _0x5b9000 instanceof _0x34a44d||(_0x5b9000=new _0x34a44d(_0x5b9000)),this['decode'](_0x5b9000,_0x5b9000['uint32']());},_0x3e4598['verify']=function(_0x386cba,_0x226f57){return'object'!=typeof _0x386cba||null===_0x386cba?'object\x20expected':(void 0x0===_0x226f57&&(_0x226f57=0x0),_0x226f57>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null);},_0x3e4598['fromObject']=function(_0x571fdd,_0x5f4717){return _0x571fdd instanceof _0x4efd5e['ChannelDisconnectedMessage']?_0x571fdd:new _0x4efd5e['ChannelDisconnectedMessage']();},_0x3e4598['toObject']=function(){return{};},_0x3e4598['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x3e4598['getTypeUrl']=function(_0x2538da){return void 0x0===_0x2538da&&(_0x2538da='type.googleapis.com'),_0x2538da+'/ChannelDisconnectedMessage';},_0x3e4598;}()),_0x4efd5e['GetUserResponse']=(function(){function _0x4811db(_0x1a7f54){if(this['attributes']=[],_0x1a7f54){for(var _0x4632c9=Object['keys'](_0x1a7f54),_0x42743c=0x0;_0x42743c<_0x4632c9['length'];++_0x42743c)null!=_0x1a7f54[_0x4632c9[_0x42743c]]&&'__proto__'!==_0x4632c9[_0x42743c]&&(this[_0x4632c9[_0x42743c]]=_0x1a7f54[_0x4632c9[_0x42743c]]);}}return _0x4811db['prototype']['attributes']=_0x2da725['emptyArray'],_0x4811db['create']=function(_0x27bf06){return new _0x4811db(_0x27bf06);},_0x4811db['encode']=function(_0x386043,_0x37728f,_0xee2602){if(_0x37728f||(_0x37728f=_0x42a0bf['create']()),void 0x0===_0xee2602&&(_0xee2602=0x0),_0xee2602>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x386043['attributes']&&_0x386043['attributes']['length']){for(var _0x3105d4=0x0;_0x3105d4<_0x386043['attributes']['length'];++_0x3105d4)_0x4efd5e['KeyValueDescriptor']['encode'](_0x386043['attributes'][_0x3105d4],_0x37728f['uint32'](0xa)['fork'](),_0xee2602+0x1)['ldelim']();}return _0x37728f;},_0x4811db['encodeDelimited']=function(_0x494ef6,_0x44708d){return this['encode'](_0x494ef6,_0x44708d)['ldelim']();},_0x4811db['decode']=function(_0x3a84ae,_0x380c8a,_0x4b6654,_0x38d17){if(_0x3a84ae instanceof _0x34a44d||(_0x3a84ae=_0x34a44d['create'](_0x3a84ae)),void 0x0===_0x38d17&&(_0x38d17=0x0),_0x38d17>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5eadd6=void 0x0===_0x380c8a?_0x3a84ae['len']:_0x3a84ae['pos']+_0x380c8a,_0x317030=new _0x4efd5e['GetUserResponse']();_0x3a84ae['pos']<_0x5eadd6;){var _0x336db9=_0x3a84ae['uint32']();if(_0x336db9===_0x4b6654)break;_0x336db9>>>0x3==0x1?(_0x317030['attributes']&&_0x317030['attributes']['length']||(_0x317030['attributes']=[]),_0x317030['attributes']['push'](_0x4efd5e['KeyValueDescriptor']['decode'](_0x3a84ae,_0x3a84ae['uint32'](),void 0x0,_0x38d17+0x1))):_0x3a84ae['skipType'](0x7&_0x336db9,_0x38d17);}return _0x317030;},_0x4811db['decodeDelimited']=function(_0x1bb752){return _0x1bb752 instanceof _0x34a44d||(_0x1bb752=new _0x34a44d(_0x1bb752)),this['decode'](_0x1bb752,_0x1bb752['uint32']());},_0x4811db['verify']=function(_0x3a5d39,_0xe350b){if('object'!=typeof _0x3a5d39||null===_0x3a5d39)return'object\x20expected';if(void 0x0===_0xe350b&&(_0xe350b=0x0),_0xe350b>_0x2da725['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3a5d39['attributes']&&Object['hasOwnProperty']['call'](_0x3a5d39,'attributes')){if(!Array['isArray'](_0x3a5d39['attributes']))return'attributes:\x20array\x20expected';for(var _0x4078e3=0x0;_0x4078e3<_0x3a5d39['attributes']['length'];++_0x4078e3){var _0x50304b=_0x4efd5e['KeyValueDescriptor']['verify'](_0x3a5d39['attributes'][_0x4078e3],_0xe350b+0x1);if(_0x50304b)return'attributes.'+_0x50304b;}}return null;},_0x4811db['fromObject']=function(_0xa44bc2,_0x2f3893){if(_0xa44bc2 instanceof _0x4efd5e['GetUserResponse'])return _0xa44bc2;if(!_0x2da725['isObject'](_0xa44bc2))throw TypeError('.GetUserResponse:\x20object\x20expected');if(void 0x0===_0x2f3893&&(_0x2f3893=0x0),_0x2f3893>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x253797=new _0x4efd5e['GetUserResponse']();if(_0xa44bc2['attributes']){if(!Array['isArray'](_0xa44bc2['attributes']))throw TypeError('.GetUserResponse.attributes:\x20array\x20expected');_0x253797['attributes']=[];for(var _0x4f36c6=0x0;_0x4f36c6<_0xa44bc2['attributes']['length'];++_0x4f36c6){if(!_0x2da725['isObject'](_0xa44bc2['attributes'][_0x4f36c6]))throw TypeError('.GetUserResponse.attributes:\x20object\x20expected');_0x253797['attributes'][_0x4f36c6]=_0x4efd5e['KeyValueDescriptor']['fromObject'](_0xa44bc2['attributes'][_0x4f36c6],_0x2f3893+0x1);}}return _0x253797;},_0x4811db['toObject']=function(_0x3014a4,_0x4875ff,_0x5df2a7){if(_0x4875ff||(_0x4875ff={}),void 0x0===_0x5df2a7&&(_0x5df2a7=0x0),_0x5df2a7>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x4eef33={};if((_0x4875ff['arrays']||_0x4875ff['defaults'])&&(_0x4eef33['attributes']=[]),_0x3014a4['attributes']&&_0x3014a4['attributes']['length']){_0x4eef33['attributes']=[];for(var _0x334b41=0x0;_0x334b41<_0x3014a4['attributes']['length'];++_0x334b41)_0x4eef33['attributes'][_0x334b41]=_0x4efd5e['KeyValueDescriptor']['toObject'](_0x3014a4['attributes'][_0x334b41],_0x4875ff,_0x5df2a7+0x1);}return _0x4eef33;},_0x4811db['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x4811db['getTypeUrl']=function(_0x99a556){return void 0x0===_0x99a556&&(_0x99a556='type.googleapis.com'),_0x99a556+'/GetUserResponse';},_0x4811db;}()),_0x4efd5e['GetManyUsersResponse']=(function(){function _0x452325(_0x31204e){if(this['users']=[],_0x31204e){for(var _0x4ed6ba=Object['keys'](_0x31204e),_0x447e30=0x0;_0x447e30<_0x4ed6ba['length'];++_0x447e30)null!=_0x31204e[_0x4ed6ba[_0x447e30]]&&'__proto__'!==_0x4ed6ba[_0x447e30]&&(this[_0x4ed6ba[_0x447e30]]=_0x31204e[_0x4ed6ba[_0x447e30]]);}}return _0x452325['prototype']['users']=_0x2da725['emptyArray'],_0x452325['create']=function(_0x537ab2){return new _0x452325(_0x537ab2);},_0x452325['encode']=function(_0x50a129,_0x51e1c0,_0x105fbc){if(_0x51e1c0||(_0x51e1c0=_0x42a0bf['create']()),void 0x0===_0x105fbc&&(_0x105fbc=0x0),_0x105fbc>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x50a129['users']&&_0x50a129['users']['length']){for(var _0x497c68=0x0;_0x497c68<_0x50a129['users']['length'];++_0x497c68)_0x4efd5e['UserDescriptor']['encode'](_0x50a129['users'][_0x497c68],_0x51e1c0['uint32'](0xa)['fork'](),_0x105fbc+0x1)['ldelim']();}return _0x51e1c0;},_0x452325['encodeDelimited']=function(_0x2f26be,_0x29eacc){return this['encode'](_0x2f26be,_0x29eacc)['ldelim']();},_0x452325['decode']=function(_0x41a19f,_0x154e78,_0x28f081,_0x34bfd9){if(_0x41a19f instanceof _0x34a44d||(_0x41a19f=_0x34a44d['create'](_0x41a19f)),void 0x0===_0x34bfd9&&(_0x34bfd9=0x0),_0x34bfd9>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2befaf=void 0x0===_0x154e78?_0x41a19f['len']:_0x41a19f['pos']+_0x154e78,_0x690474=new _0x4efd5e['GetManyUsersResponse']();_0x41a19f['pos']<_0x2befaf;){var _0x359161=_0x41a19f['uint32']();if(_0x359161===_0x28f081)break;_0x359161>>>0x3==0x1?(_0x690474['users']&&_0x690474['users']['length']||(_0x690474['users']=[]),_0x690474['users']['push'](_0x4efd5e['UserDescriptor']['decode'](_0x41a19f,_0x41a19f['uint32'](),void 0x0,_0x34bfd9+0x1))):_0x41a19f['skipType'](0x7&_0x359161,_0x34bfd9);}return _0x690474;},_0x452325['decodeDelimited']=function(_0x3ce25c){return _0x3ce25c instanceof _0x34a44d||(_0x3ce25c=new _0x34a44d(_0x3ce25c)),this['decode'](_0x3ce25c,_0x3ce25c['uint32']());},_0x452325['verify']=function(_0x3b800d,_0x3adb65){if('object'!=typeof _0x3b800d||null===_0x3b800d)return'object\x20expected';if(void 0x0===_0x3adb65&&(_0x3adb65=0x0),_0x3adb65>_0x2da725['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3b800d['users']&&Object['hasOwnProperty']['call'](_0x3b800d,'users')){if(!Array['isArray'](_0x3b800d['users']))return'users:\x20array\x20expected';for(var _0x924499=0x0;_0x924499<_0x3b800d['users']['length'];++_0x924499){var _0x280ac8=_0x4efd5e['UserDescriptor']['verify'](_0x3b800d['users'][_0x924499],_0x3adb65+0x1);if(_0x280ac8)return'users.'+_0x280ac8;}}return null;},_0x452325['fromObject']=function(_0x15d3c0,_0x464fa0){if(_0x15d3c0 instanceof _0x4efd5e['GetManyUsersResponse'])return _0x15d3c0;if(!_0x2da725['isObject'](_0x15d3c0))throw TypeError('.GetManyUsersResponse:\x20object\x20expected');if(void 0x0===_0x464fa0&&(_0x464fa0=0x0),_0x464fa0>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3a9d3b=new _0x4efd5e['GetManyUsersResponse']();if(_0x15d3c0['users']){if(!Array['isArray'](_0x15d3c0['users']))throw TypeError('.GetManyUsersResponse.users:\x20array\x20expected');_0x3a9d3b['users']=[];for(var _0x510d1b=0x0;_0x510d1b<_0x15d3c0['users']['length'];++_0x510d1b){if(!_0x2da725['isObject'](_0x15d3c0['users'][_0x510d1b]))throw TypeError('.GetManyUsersResponse.users:\x20object\x20expected');_0x3a9d3b['users'][_0x510d1b]=_0x4efd5e['UserDescriptor']['fromObject'](_0x15d3c0['users'][_0x510d1b],_0x464fa0+0x1);}}return _0x3a9d3b;},_0x452325['toObject']=function(_0x3f6ecf,_0x446b9a,_0x2a4613){if(_0x446b9a||(_0x446b9a={}),void 0x0===_0x2a4613&&(_0x2a4613=0x0),_0x2a4613>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x4164e6={};if((_0x446b9a['arrays']||_0x446b9a['defaults'])&&(_0x4164e6['users']=[]),_0x3f6ecf['users']&&_0x3f6ecf['users']['length']){_0x4164e6['users']=[];for(var _0x441ab5=0x0;_0x441ab5<_0x3f6ecf['users']['length'];++_0x441ab5)_0x4164e6['users'][_0x441ab5]=_0x4efd5e['UserDescriptor']['toObject'](_0x3f6ecf['users'][_0x441ab5],_0x446b9a,_0x2a4613+0x1);}return _0x4164e6;},_0x452325['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x452325['getTypeUrl']=function(_0x45edad){return void 0x0===_0x45edad&&(_0x45edad='type.googleapis.com'),_0x45edad+'/GetManyUsersResponse';},_0x452325;}()),_0x4efd5e['GetUserMessage']=(function(){function _0x30a835(_0xe510da){if(_0xe510da){for(var _0x1fb98f=Object['keys'](_0xe510da),_0x48c364=0x0;_0x48c364<_0x1fb98f['length'];++_0x48c364)null!=_0xe510da[_0x1fb98f[_0x48c364]]&&'__proto__'!==_0x1fb98f[_0x48c364]&&(this[_0x1fb98f[_0x48c364]]=_0xe510da[_0x1fb98f[_0x48c364]]);}}return _0x30a835['prototype']['id']='',_0x30a835['create']=function(_0x5653db){return new _0x30a835(_0x5653db);},_0x30a835['encode']=function(_0x16dc98,_0x343148,_0x36d0cb){if(_0x343148||(_0x343148=_0x42a0bf['create']()),void 0x0===_0x36d0cb&&(_0x36d0cb=0x0),_0x36d0cb>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x16dc98['id']&&Object['hasOwnProperty']['call'](_0x16dc98,'id')&&_0x343148['uint32'](0xa)['string'](_0x16dc98['id']),_0x343148;},_0x30a835['encodeDelimited']=function(_0x3a0e41,_0x17f6cf){return this['encode'](_0x3a0e41,_0x17f6cf)['ldelim']();},_0x30a835['decode']=function(_0x265932,_0x1a64d7,_0x5f3a06,_0x3cf2bf){if(_0x265932 instanceof _0x34a44d||(_0x265932=_0x34a44d['create'](_0x265932)),void 0x0===_0x3cf2bf&&(_0x3cf2bf=0x0),_0x3cf2bf>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x27d92b=void 0x0===_0x1a64d7?_0x265932['len']:_0x265932['pos']+_0x1a64d7,_0x4bb4b9=new _0x4efd5e['GetUserMessage']();_0x265932['pos']<_0x27d92b;){var _0x4bba49=_0x265932['uint32']();if(_0x4bba49===_0x5f3a06)break;_0x4bba49>>>0x3==0x1?_0x4bb4b9['id']=_0x265932['string']():_0x265932['skipType'](0x7&_0x4bba49,_0x3cf2bf);}return _0x4bb4b9;},_0x30a835['decodeDelimited']=function(_0x2f1388){return _0x2f1388 instanceof _0x34a44d||(_0x2f1388=new _0x34a44d(_0x2f1388)),this['decode'](_0x2f1388,_0x2f1388['uint32']());},_0x30a835['verify']=function(_0x4a8b06,_0xf0ba4e){return'object'!=typeof _0x4a8b06||null===_0x4a8b06?'object\x20expected':(void 0x0===_0xf0ba4e&&(_0xf0ba4e=0x0),_0xf0ba4e>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4a8b06['id']&&Object['hasOwnProperty']['call'](_0x4a8b06,'id')&&!_0x2da725['isString'](_0x4a8b06['id'])?'id:\x20string\x20expected':null);},_0x30a835['fromObject']=function(_0x465c46,_0x5b00f1){if(_0x465c46 instanceof _0x4efd5e['GetUserMessage'])return _0x465c46;if(!_0x2da725['isObject'](_0x465c46))throw TypeError('.GetUserMessage:\x20object\x20expected');if(void 0x0===_0x5b00f1&&(_0x5b00f1=0x0),_0x5b00f1>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x44a16d=new _0x4efd5e['GetUserMessage']();return null!=_0x465c46['id']&&(_0x44a16d['id']=String(_0x465c46['id'])),_0x44a16d;},_0x30a835['toObject']=function(_0x4a1950,_0x302489,_0x53daf4){if(_0x302489||(_0x302489={}),void 0x0===_0x53daf4&&(_0x53daf4=0x0),_0x53daf4>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x5fdccd={};return _0x302489['defaults']&&(_0x5fdccd['id']=''),null!=_0x4a1950['id']&&Object['hasOwnProperty']['call'](_0x4a1950,'id')&&(_0x5fdccd['id']=_0x4a1950['id']),_0x5fdccd;},_0x30a835['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x30a835['getTypeUrl']=function(_0x285784){return void 0x0===_0x285784&&(_0x285784='type.googleapis.com'),_0x285784+'/GetUserMessage';},_0x30a835;}()),_0x4efd5e['GetManyUsersMessage']=(function(){function _0x3fdba3(_0x275331){if(this['ids']=[],_0x275331){for(var _0x4c7e81=Object['keys'](_0x275331),_0x530ef8=0x0;_0x530ef8<_0x4c7e81['length'];++_0x530ef8)null!=_0x275331[_0x4c7e81[_0x530ef8]]&&'__proto__'!==_0x4c7e81[_0x530ef8]&&(this[_0x4c7e81[_0x530ef8]]=_0x275331[_0x4c7e81[_0x530ef8]]);}}return _0x3fdba3['prototype']['ids']=_0x2da725['emptyArray'],_0x3fdba3['create']=function(_0x32ddcb){return new _0x3fdba3(_0x32ddcb);},_0x3fdba3['encode']=function(_0x16450b,_0x4b404c,_0x66e4e6){if(_0x4b404c||(_0x4b404c=_0x42a0bf['create']()),void 0x0===_0x66e4e6&&(_0x66e4e6=0x0),_0x66e4e6>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x16450b['ids']&&_0x16450b['ids']['length']){for(var _0x358b8d=0x0;_0x358b8d<_0x16450b['ids']['length'];++_0x358b8d)_0x4b404c['uint32'](0xa)['string'](_0x16450b['ids'][_0x358b8d]);}return _0x4b404c;},_0x3fdba3['encodeDelimited']=function(_0x54c863,_0x8eb60f){return this['encode'](_0x54c863,_0x8eb60f)['ldelim']();},_0x3fdba3['decode']=function(_0xd78e00,_0xfe0f8e,_0x39e461,_0x4a3bf5){if(_0xd78e00 instanceof _0x34a44d||(_0xd78e00=_0x34a44d['create'](_0xd78e00)),void 0x0===_0x4a3bf5&&(_0x4a3bf5=0x0),_0x4a3bf5>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4db59b=void 0x0===_0xfe0f8e?_0xd78e00['len']:_0xd78e00['pos']+_0xfe0f8e,_0x3041d2=new _0x4efd5e['GetManyUsersMessage']();_0xd78e00['pos']<_0x4db59b;){var _0x122e8e=_0xd78e00['uint32']();if(_0x122e8e===_0x39e461)break;_0x122e8e>>>0x3==0x1?(_0x3041d2['ids']&&_0x3041d2['ids']['length']||(_0x3041d2['ids']=[]),_0x3041d2['ids']['push'](_0xd78e00['string']())):_0xd78e00['skipType'](0x7&_0x122e8e,_0x4a3bf5);}return _0x3041d2;},_0x3fdba3['decodeDelimited']=function(_0x481b93){return _0x481b93 instanceof _0x34a44d||(_0x481b93=new _0x34a44d(_0x481b93)),this['decode'](_0x481b93,_0x481b93['uint32']());},_0x3fdba3['verify']=function(_0x3877c4,_0x1ee1c1){if('object'!=typeof _0x3877c4||null===_0x3877c4)return'object\x20expected';if(void 0x0===_0x1ee1c1&&(_0x1ee1c1=0x0),_0x1ee1c1>_0x2da725['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3877c4['ids']&&Object['hasOwnProperty']['call'](_0x3877c4,'ids')){if(!Array['isArray'](_0x3877c4['ids']))return'ids:\x20array\x20expected';for(var _0x13478b=0x0;_0x13478b<_0x3877c4['ids']['length'];++_0x13478b)if(!_0x2da725['isString'](_0x3877c4['ids'][_0x13478b]))return'ids:\x20string[]\x20expected';}return null;},_0x3fdba3['fromObject']=function(_0x5c8cfc,_0x35234b){if(_0x5c8cfc instanceof _0x4efd5e['GetManyUsersMessage'])return _0x5c8cfc;if(!_0x2da725['isObject'](_0x5c8cfc))throw TypeError('.GetManyUsersMessage:\x20object\x20expected');if(void 0x0===_0x35234b&&(_0x35234b=0x0),_0x35234b>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x19bcff=new _0x4efd5e['GetManyUsersMessage']();if(_0x5c8cfc['ids']){if(!Array['isArray'](_0x5c8cfc['ids']))throw TypeError('.GetManyUsersMessage.ids:\x20array\x20expected');_0x19bcff['ids']=[];for(var _0x4f93a3=0x0;_0x4f93a3<_0x5c8cfc['ids']['length'];++_0x4f93a3)_0x19bcff['ids'][_0x4f93a3]=String(_0x5c8cfc['ids'][_0x4f93a3]);}return _0x19bcff;},_0x3fdba3['toObject']=function(_0x4fb862,_0x1f18fa,_0x4820d8){if(_0x1f18fa||(_0x1f18fa={}),void 0x0===_0x4820d8&&(_0x4820d8=0x0),_0x4820d8>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x5a1815={};if((_0x1f18fa['arrays']||_0x1f18fa['defaults'])&&(_0x5a1815['ids']=[]),_0x4fb862['ids']&&_0x4fb862['ids']['length']){_0x5a1815['ids']=[];for(var _0x2414b2=0x0;_0x2414b2<_0x4fb862['ids']['length'];++_0x2414b2)_0x5a1815['ids'][_0x2414b2]=_0x4fb862['ids'][_0x2414b2];}return _0x5a1815;},_0x3fdba3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x3fdba3['getTypeUrl']=function(_0x5e6ebb){return void 0x0===_0x5e6ebb&&(_0x5e6ebb='type.googleapis.com'),_0x5e6ebb+'/GetManyUsersMessage';},_0x3fdba3;}()),_0x4efd5e['UserDescriptor']=(function(){function _0x57e0d9(_0x18a37b){if(this['attributes']=[],_0x18a37b){for(var _0x54b225=Object['keys'](_0x18a37b),_0x4f2610=0x0;_0x4f2610<_0x54b225['length'];++_0x4f2610)null!=_0x18a37b[_0x54b225[_0x4f2610]]&&'__proto__'!==_0x54b225[_0x4f2610]&&(this[_0x54b225[_0x4f2610]]=_0x18a37b[_0x54b225[_0x4f2610]]);}}return _0x57e0d9['prototype']['attributes']=_0x2da725['emptyArray'],_0x57e0d9['create']=function(_0xb6662d){return new _0x57e0d9(_0xb6662d);},_0x57e0d9['encode']=function(_0x2582a7,_0x2a954f,_0xf8ceb1){if(_0x2a954f||(_0x2a954f=_0x42a0bf['create']()),void 0x0===_0xf8ceb1&&(_0xf8ceb1=0x0),_0xf8ceb1>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x2582a7['attributes']&&_0x2582a7['attributes']['length']){for(var _0x5df2b3=0x0;_0x5df2b3<_0x2582a7['attributes']['length'];++_0x5df2b3)_0x4efd5e['KeyValueDescriptor']['encode'](_0x2582a7['attributes'][_0x5df2b3],_0x2a954f['uint32'](0xa)['fork'](),_0xf8ceb1+0x1)['ldelim']();}return _0x2a954f;},_0x57e0d9['encodeDelimited']=function(_0x482bab,_0x1cb887){return this['encode'](_0x482bab,_0x1cb887)['ldelim']();},_0x57e0d9['decode']=function(_0x17f6c3,_0x55c40f,_0x724f82,_0x528814){if(_0x17f6c3 instanceof _0x34a44d||(_0x17f6c3=_0x34a44d['create'](_0x17f6c3)),void 0x0===_0x528814&&(_0x528814=0x0),_0x528814>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xbc6620=void 0x0===_0x55c40f?_0x17f6c3['len']:_0x17f6c3['pos']+_0x55c40f,_0x194ee4=new _0x4efd5e['UserDescriptor']();_0x17f6c3['pos']<_0xbc6620;){var _0x587c35=_0x17f6c3['uint32']();if(_0x587c35===_0x724f82)break;_0x587c35>>>0x3==0x1?(_0x194ee4['attributes']&&_0x194ee4['attributes']['length']||(_0x194ee4['attributes']=[]),_0x194ee4['attributes']['push'](_0x4efd5e['KeyValueDescriptor']['decode'](_0x17f6c3,_0x17f6c3['uint32'](),void 0x0,_0x528814+0x1))):_0x17f6c3['skipType'](0x7&_0x587c35,_0x528814);}return _0x194ee4;},_0x57e0d9['decodeDelimited']=function(_0x236260){return _0x236260 instanceof _0x34a44d||(_0x236260=new _0x34a44d(_0x236260)),this['decode'](_0x236260,_0x236260['uint32']());},_0x57e0d9['verify']=function(_0x4110d2,_0x1bb900){if('object'!=typeof _0x4110d2||null===_0x4110d2)return'object\x20expected';if(void 0x0===_0x1bb900&&(_0x1bb900=0x0),_0x1bb900>_0x2da725['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x4110d2['attributes']&&Object['hasOwnProperty']['call'](_0x4110d2,'attributes')){if(!Array['isArray'](_0x4110d2['attributes']))return'attributes:\x20array\x20expected';for(var _0x3d8e0d=0x0;_0x3d8e0d<_0x4110d2['attributes']['length'];++_0x3d8e0d){var _0x40911e=_0x4efd5e['KeyValueDescriptor']['verify'](_0x4110d2['attributes'][_0x3d8e0d],_0x1bb900+0x1);if(_0x40911e)return'attributes.'+_0x40911e;}}return null;},_0x57e0d9['fromObject']=function(_0x3fa92b,_0x263a72){if(_0x3fa92b instanceof _0x4efd5e['UserDescriptor'])return _0x3fa92b;if(!_0x2da725['isObject'](_0x3fa92b))throw TypeError('.UserDescriptor:\x20object\x20expected');if(void 0x0===_0x263a72&&(_0x263a72=0x0),_0x263a72>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x303902=new _0x4efd5e['UserDescriptor']();if(_0x3fa92b['attributes']){if(!Array['isArray'](_0x3fa92b['attributes']))throw TypeError('.UserDescriptor.attributes:\x20array\x20expected');_0x303902['attributes']=[];for(var _0x142af0=0x0;_0x142af0<_0x3fa92b['attributes']['length'];++_0x142af0){if(!_0x2da725['isObject'](_0x3fa92b['attributes'][_0x142af0]))throw TypeError('.UserDescriptor.attributes:\x20object\x20expected');_0x303902['attributes'][_0x142af0]=_0x4efd5e['KeyValueDescriptor']['fromObject'](_0x3fa92b['attributes'][_0x142af0],_0x263a72+0x1);}}return _0x303902;},_0x57e0d9['toObject']=function(_0x2f197a,_0x3515c9,_0x2c380b){if(_0x3515c9||(_0x3515c9={}),void 0x0===_0x2c380b&&(_0x2c380b=0x0),_0x2c380b>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x33e9ad={};if((_0x3515c9['arrays']||_0x3515c9['defaults'])&&(_0x33e9ad['attributes']=[]),_0x2f197a['attributes']&&_0x2f197a['attributes']['length']){_0x33e9ad['attributes']=[];for(var _0x4b86cd=0x0;_0x4b86cd<_0x2f197a['attributes']['length'];++_0x4b86cd)_0x33e9ad['attributes'][_0x4b86cd]=_0x4efd5e['KeyValueDescriptor']['toObject'](_0x2f197a['attributes'][_0x4b86cd],_0x3515c9,_0x2c380b+0x1);}return _0x33e9ad;},_0x57e0d9['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x57e0d9['getTypeUrl']=function(_0x94391c){return void 0x0===_0x94391c&&(_0x94391c='type.googleapis.com'),_0x94391c+'/UserDescriptor';},_0x57e0d9;}()),_0x4efd5e['TrackChangesGetSuggestionResponse']=(function(){function _0x56b924(_0xfc5a1d){if(_0xfc5a1d){for(var _0x4cc886=Object['keys'](_0xfc5a1d),_0x31e915=0x0;_0x31e915<_0x4cc886['length'];++_0x31e915)null!=_0xfc5a1d[_0x4cc886[_0x31e915]]&&'__proto__'!==_0x4cc886[_0x31e915]&&(this[_0x4cc886[_0x31e915]]=_0xfc5a1d[_0x4cc886[_0x31e915]]);}}return _0x56b924['prototype']['id']='',_0x56b924['prototype']['authorId']='',_0x56b924['prototype']['type']='',_0x56b924['prototype']['createdAt']='',_0x56b924['prototype']['data']='',_0x56b924['prototype']['hasComments']=!0x1,_0x56b924['prototype']['state']='',_0x56b924['prototype']['attributes']='',_0x56b924['create']=function(_0x28c637){return new _0x56b924(_0x28c637);},_0x56b924['encode']=function(_0x5adcf3,_0x177c0e,_0x282d06){if(_0x177c0e||(_0x177c0e=_0x42a0bf['create']()),void 0x0===_0x282d06&&(_0x282d06=0x0),_0x282d06>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x5adcf3['id']&&Object['hasOwnProperty']['call'](_0x5adcf3,'id')&&_0x177c0e['uint32'](0xa)['string'](_0x5adcf3['id']),null!=_0x5adcf3['authorId']&&Object['hasOwnProperty']['call'](_0x5adcf3,'authorId')&&_0x177c0e['uint32'](0x12)['string'](_0x5adcf3['authorId']),null!=_0x5adcf3['type']&&Object['hasOwnProperty']['call'](_0x5adcf3,'type')&&_0x177c0e['uint32'](0x1a)['string'](_0x5adcf3['type']),null!=_0x5adcf3['createdAt']&&Object['hasOwnProperty']['call'](_0x5adcf3,'createdAt')&&_0x177c0e['uint32'](0x22)['string'](_0x5adcf3['createdAt']),null!=_0x5adcf3['data']&&Object['hasOwnProperty']['call'](_0x5adcf3,'data')&&_0x177c0e['uint32'](0x2a)['string'](_0x5adcf3['data']),null!=_0x5adcf3['hasComments']&&Object['hasOwnProperty']['call'](_0x5adcf3,'hasComments')&&_0x177c0e['uint32'](0x30)['bool'](_0x5adcf3['hasComments']),null!=_0x5adcf3['state']&&Object['hasOwnProperty']['call'](_0x5adcf3,'state')&&_0x177c0e['uint32'](0x3a)['string'](_0x5adcf3['state']),null!=_0x5adcf3['attributes']&&Object['hasOwnProperty']['call'](_0x5adcf3,'attributes')&&_0x177c0e['uint32'](0x42)['string'](_0x5adcf3['attributes']),_0x177c0e;},_0x56b924['encodeDelimited']=function(_0x5438b8,_0x2728bc){return this['encode'](_0x5438b8,_0x2728bc)['ldelim']();},_0x56b924['decode']=function(_0x42a1d2,_0x30c6d1,_0x148277,_0x9174bf){if(_0x42a1d2 instanceof _0x34a44d||(_0x42a1d2=_0x34a44d['create'](_0x42a1d2)),void 0x0===_0x9174bf&&(_0x9174bf=0x0),_0x9174bf>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5a1966=void 0x0===_0x30c6d1?_0x42a1d2['len']:_0x42a1d2['pos']+_0x30c6d1,_0x1d0189=new _0x4efd5e['TrackChangesGetSuggestionResponse']();_0x42a1d2['pos']<_0x5a1966;){var _0x5824fe=_0x42a1d2['uint32']();if(_0x5824fe===_0x148277)break;switch(_0x5824fe>>>0x3){case 0x1:_0x1d0189['id']=_0x42a1d2['string']();break;case 0x2:_0x1d0189['authorId']=_0x42a1d2['string']();break;case 0x3:_0x1d0189['type']=_0x42a1d2['string']();break;case 0x4:_0x1d0189['createdAt']=_0x42a1d2['string']();break;case 0x5:_0x1d0189['data']=_0x42a1d2['string']();break;case 0x6:_0x1d0189['hasComments']=_0x42a1d2['bool']();break;case 0x7:_0x1d0189['state']=_0x42a1d2['string']();break;case 0x8:_0x1d0189['attributes']=_0x42a1d2['string']();break;default:_0x42a1d2['skipType'](0x7&_0x5824fe,_0x9174bf);}}return _0x1d0189;},_0x56b924['decodeDelimited']=function(_0x20d002){return _0x20d002 instanceof _0x34a44d||(_0x20d002=new _0x34a44d(_0x20d002)),this['decode'](_0x20d002,_0x20d002['uint32']());},_0x56b924['verify']=function(_0x184b41,_0x8e9a92){return'object'!=typeof _0x184b41||null===_0x184b41?'object\x20expected':(void 0x0===_0x8e9a92&&(_0x8e9a92=0x0),_0x8e9a92>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x184b41['id']&&Object['hasOwnProperty']['call'](_0x184b41,'id')&&!_0x2da725['isString'](_0x184b41['id'])?'id:\x20string\x20expected':null!=_0x184b41['authorId']&&Object['hasOwnProperty']['call'](_0x184b41,'authorId')&&!_0x2da725['isString'](_0x184b41['authorId'])?'authorId:\x20string\x20expected':null!=_0x184b41['type']&&Object['hasOwnProperty']['call'](_0x184b41,'type')&&!_0x2da725['isString'](_0x184b41['type'])?'type:\x20string\x20expected':null!=_0x184b41['createdAt']&&Object['hasOwnProperty']['call'](_0x184b41,'createdAt')&&!_0x2da725['isString'](_0x184b41['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x184b41['data']&&Object['hasOwnProperty']['call'](_0x184b41,'data')&&!_0x2da725['isString'](_0x184b41['data'])?'data:\x20string\x20expected':null!=_0x184b41['hasComments']&&Object['hasOwnProperty']['call'](_0x184b41,'hasComments')&&'boolean'!=typeof _0x184b41['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x184b41['state']&&Object['hasOwnProperty']['call'](_0x184b41,'state')&&!_0x2da725['isString'](_0x184b41['state'])?'state:\x20string\x20expected':null!=_0x184b41['attributes']&&Object['hasOwnProperty']['call'](_0x184b41,'attributes')&&!_0x2da725['isString'](_0x184b41['attributes'])?'attributes:\x20string\x20expected':null);},_0x56b924['fromObject']=function(_0xa2c632,_0x410795){if(_0xa2c632 instanceof _0x4efd5e['TrackChangesGetSuggestionResponse'])return _0xa2c632;if(!_0x2da725['isObject'](_0xa2c632))throw TypeError('.TrackChangesGetSuggestionResponse:\x20object\x20expected');if(void 0x0===_0x410795&&(_0x410795=0x0),_0x410795>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4ed595=new _0x4efd5e['TrackChangesGetSuggestionResponse']();return null!=_0xa2c632['id']&&(_0x4ed595['id']=String(_0xa2c632['id'])),null!=_0xa2c632['authorId']&&(_0x4ed595['authorId']=String(_0xa2c632['authorId'])),null!=_0xa2c632['type']&&(_0x4ed595['type']=String(_0xa2c632['type'])),null!=_0xa2c632['createdAt']&&(_0x4ed595['createdAt']=String(_0xa2c632['createdAt'])),null!=_0xa2c632['data']&&(_0x4ed595['data']=String(_0xa2c632['data'])),null!=_0xa2c632['hasComments']&&(_0x4ed595['hasComments']=Boolean(_0xa2c632['hasComments'])),null!=_0xa2c632['state']&&(_0x4ed595['state']=String(_0xa2c632['state'])),null!=_0xa2c632['attributes']&&(_0x4ed595['attributes']=String(_0xa2c632['attributes'])),_0x4ed595;},_0x56b924['toObject']=function(_0x34a488,_0x453a9c,_0x39f204){if(_0x453a9c||(_0x453a9c={}),void 0x0===_0x39f204&&(_0x39f204=0x0),_0x39f204>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x2993ea={};return _0x453a9c['defaults']&&(_0x2993ea['id']='',_0x2993ea['authorId']='',_0x2993ea['type']='',_0x2993ea['createdAt']='',_0x2993ea['data']='',_0x2993ea['hasComments']=!0x1,_0x2993ea['state']='',_0x2993ea['attributes']=''),null!=_0x34a488['id']&&Object['hasOwnProperty']['call'](_0x34a488,'id')&&(_0x2993ea['id']=_0x34a488['id']),null!=_0x34a488['authorId']&&Object['hasOwnProperty']['call'](_0x34a488,'authorId')&&(_0x2993ea['authorId']=_0x34a488['authorId']),null!=_0x34a488['type']&&Object['hasOwnProperty']['call'](_0x34a488,'type')&&(_0x2993ea['type']=_0x34a488['type']),null!=_0x34a488['createdAt']&&Object['hasOwnProperty']['call'](_0x34a488,'createdAt')&&(_0x2993ea['createdAt']=_0x34a488['createdAt']),null!=_0x34a488['data']&&Object['hasOwnProperty']['call'](_0x34a488,'data')&&(_0x2993ea['data']=_0x34a488['data']),null!=_0x34a488['hasComments']&&Object['hasOwnProperty']['call'](_0x34a488,'hasComments')&&(_0x2993ea['hasComments']=_0x34a488['hasComments']),null!=_0x34a488['state']&&Object['hasOwnProperty']['call'](_0x34a488,'state')&&(_0x2993ea['state']=_0x34a488['state']),null!=_0x34a488['attributes']&&Object['hasOwnProperty']['call'](_0x34a488,'attributes')&&(_0x2993ea['attributes']=_0x34a488['attributes']),_0x2993ea;},_0x56b924['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x56b924['getTypeUrl']=function(_0x2d6ff7){return void 0x0===_0x2d6ff7&&(_0x2d6ff7='type.googleapis.com'),_0x2d6ff7+'/TrackChangesGetSuggestionResponse';},_0x56b924;}()),_0x4efd5e['TrackChangesGetAllSuggestionsResponse']=(function(){function _0x50aec9(_0x2fc6b5){if(this['suggestions']=[],this['suggestionsV2']=[],_0x2fc6b5){for(var _0x1cebc1=Object['keys'](_0x2fc6b5),_0xd01eab=0x0;_0xd01eab<_0x1cebc1['length'];++_0xd01eab)null!=_0x2fc6b5[_0x1cebc1[_0xd01eab]]&&'__proto__'!==_0x1cebc1[_0xd01eab]&&(this[_0x1cebc1[_0xd01eab]]=_0x2fc6b5[_0x1cebc1[_0xd01eab]]);}}return _0x50aec9['prototype']['suggestions']=_0x2da725['emptyArray'],_0x50aec9['prototype']['suggestionsV2']=_0x2da725['emptyArray'],_0x50aec9['create']=function(_0x22ccf7){return new _0x50aec9(_0x22ccf7);},_0x50aec9['encode']=function(_0x12c11f,_0x5a3923,_0xe0830b){if(_0x5a3923||(_0x5a3923=_0x42a0bf['create']()),void 0x0===_0xe0830b&&(_0xe0830b=0x0),_0xe0830b>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x12c11f['suggestions']&&_0x12c11f['suggestions']['length']){for(var _0x2b1e82=0x0;_0x2b1e82<_0x12c11f['suggestions']['length'];++_0x2b1e82)_0x5a3923['uint32'](0xa)['string'](_0x12c11f['suggestions'][_0x2b1e82]);}if(null!=_0x12c11f['suggestionsV2']&&_0x12c11f['suggestionsV2']['length']){for(_0x2b1e82=0x0;_0x2b1e82<_0x12c11f['suggestionsV2']['length'];++_0x2b1e82)_0x4efd5e['SuggestionDescriptor']['encode'](_0x12c11f['suggestionsV2'][_0x2b1e82],_0x5a3923['uint32'](0x12)['fork'](),_0xe0830b+0x1)['ldelim']();}return _0x5a3923;},_0x50aec9['encodeDelimited']=function(_0xb1b329,_0x37e8c0){return this['encode'](_0xb1b329,_0x37e8c0)['ldelim']();},_0x50aec9['decode']=function(_0x2aa11a,_0x3b4cab,_0x273da5,_0x312c55){if(_0x2aa11a instanceof _0x34a44d||(_0x2aa11a=_0x34a44d['create'](_0x2aa11a)),void 0x0===_0x312c55&&(_0x312c55=0x0),_0x312c55>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5b0701=void 0x0===_0x3b4cab?_0x2aa11a['len']:_0x2aa11a['pos']+_0x3b4cab,_0x5f1d9b=new _0x4efd5e['TrackChangesGetAllSuggestionsResponse']();_0x2aa11a['pos']<_0x5b0701;){var _0x1b9590=_0x2aa11a['uint32']();if(_0x1b9590===_0x273da5)break;switch(_0x1b9590>>>0x3){case 0x1:_0x5f1d9b['suggestions']&&_0x5f1d9b['suggestions']['length']||(_0x5f1d9b['suggestions']=[]),_0x5f1d9b['suggestions']['push'](_0x2aa11a['string']());break;case 0x2:_0x5f1d9b['suggestionsV2']&&_0x5f1d9b['suggestionsV2']['length']||(_0x5f1d9b['suggestionsV2']=[]),_0x5f1d9b['suggestionsV2']['push'](_0x4efd5e['SuggestionDescriptor']['decode'](_0x2aa11a,_0x2aa11a['uint32'](),void 0x0,_0x312c55+0x1));break;default:_0x2aa11a['skipType'](0x7&_0x1b9590,_0x312c55);}}return _0x5f1d9b;},_0x50aec9['decodeDelimited']=function(_0x352571){return _0x352571 instanceof _0x34a44d||(_0x352571=new _0x34a44d(_0x352571)),this['decode'](_0x352571,_0x352571['uint32']());},_0x50aec9['verify']=function(_0x57542c,_0x23dac6){if('object'!=typeof _0x57542c||null===_0x57542c)return'object\x20expected';if(void 0x0===_0x23dac6&&(_0x23dac6=0x0),_0x23dac6>_0x2da725['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x57542c['suggestions']&&Object['hasOwnProperty']['call'](_0x57542c,'suggestions')){if(!Array['isArray'](_0x57542c['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x31294f=0x0;_0x31294f<_0x57542c['suggestions']['length'];++_0x31294f)if(!_0x2da725['isString'](_0x57542c['suggestions'][_0x31294f]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x57542c['suggestionsV2']&&Object['hasOwnProperty']['call'](_0x57542c,'suggestionsV2')){if(!Array['isArray'](_0x57542c['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x31294f=0x0;_0x31294f<_0x57542c['suggestionsV2']['length'];++_0x31294f){var _0x3a965d=_0x4efd5e['SuggestionDescriptor']['verify'](_0x57542c['suggestionsV2'][_0x31294f],_0x23dac6+0x1);if(_0x3a965d)return'suggestionsV2.'+_0x3a965d;}}return null;},_0x50aec9['fromObject']=function(_0x58fb6c,_0x38bb5d){if(_0x58fb6c instanceof _0x4efd5e['TrackChangesGetAllSuggestionsResponse'])return _0x58fb6c;if(!_0x2da725['isObject'](_0x58fb6c))throw TypeError('.TrackChangesGetAllSuggestionsResponse:\x20object\x20expected');if(void 0x0===_0x38bb5d&&(_0x38bb5d=0x0),_0x38bb5d>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x32c4c7=new _0x4efd5e['TrackChangesGetAllSuggestionsResponse']();if(_0x58fb6c['suggestions']){if(!Array['isArray'](_0x58fb6c['suggestions']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestions:\x20array\x20expected');_0x32c4c7['suggestions']=[];for(var _0x9aa8f=0x0;_0x9aa8f<_0x58fb6c['suggestions']['length'];++_0x9aa8f)_0x32c4c7['suggestions'][_0x9aa8f]=String(_0x58fb6c['suggestions'][_0x9aa8f]);}if(_0x58fb6c['suggestionsV2']){if(!Array['isArray'](_0x58fb6c['suggestionsV2']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20array\x20expected');for(_0x32c4c7['suggestionsV2']=[],_0x9aa8f=0x0;_0x9aa8f<_0x58fb6c['suggestionsV2']['length'];++_0x9aa8f){if(!_0x2da725['isObject'](_0x58fb6c['suggestionsV2'][_0x9aa8f]))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20object\x20expected');_0x32c4c7['suggestionsV2'][_0x9aa8f]=_0x4efd5e['SuggestionDescriptor']['fromObject'](_0x58fb6c['suggestionsV2'][_0x9aa8f],_0x38bb5d+0x1);}}return _0x32c4c7;},_0x50aec9['toObject']=function(_0x1cb9a8,_0x521d97,_0x496e72){if(_0x521d97||(_0x521d97={}),void 0x0===_0x496e72&&(_0x496e72=0x0),_0x496e72>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x5c7bea={};if((_0x521d97['arrays']||_0x521d97['defaults'])&&(_0x5c7bea['suggestions']=[],_0x5c7bea['suggestionsV2']=[]),_0x1cb9a8['suggestions']&&_0x1cb9a8['suggestions']['length']){_0x5c7bea['suggestions']=[];for(var _0x1358a5=0x0;_0x1358a5<_0x1cb9a8['suggestions']['length'];++_0x1358a5)_0x5c7bea['suggestions'][_0x1358a5]=_0x1cb9a8['suggestions'][_0x1358a5];}if(_0x1cb9a8['suggestionsV2']&&_0x1cb9a8['suggestionsV2']['length']){for(_0x5c7bea['suggestionsV2']=[],_0x1358a5=0x0;_0x1358a5<_0x1cb9a8['suggestionsV2']['length'];++_0x1358a5)_0x5c7bea['suggestionsV2'][_0x1358a5]=_0x4efd5e['SuggestionDescriptor']['toObject'](_0x1cb9a8['suggestionsV2'][_0x1358a5],_0x521d97,_0x496e72+0x1);}return _0x5c7bea;},_0x50aec9['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x50aec9['getTypeUrl']=function(_0x3f5eae){return void 0x0===_0x3f5eae&&(_0x3f5eae='type.googleapis.com'),_0x3f5eae+'/TrackChangesGetAllSuggestionsResponse';},_0x50aec9;}()),_0x4efd5e['TrackChangesConnectResponse']=(function(){function _0x14002e(_0x4723e3){if(this['suggestions']=[],this['suggestionsV2']=[],_0x4723e3){for(var _0x2e9a38=Object['keys'](_0x4723e3),_0x5cfe5f=0x0;_0x5cfe5f<_0x2e9a38['length'];++_0x5cfe5f)null!=_0x4723e3[_0x2e9a38[_0x5cfe5f]]&&'__proto__'!==_0x2e9a38[_0x5cfe5f]&&(this[_0x2e9a38[_0x5cfe5f]]=_0x4723e3[_0x2e9a38[_0x5cfe5f]]);}}return _0x14002e['prototype']['channel']='',_0x14002e['prototype']['suggestions']=_0x2da725['emptyArray'],_0x14002e['prototype']['suggestionsV2']=_0x2da725['emptyArray'],_0x14002e['create']=function(_0x6796a8){return new _0x14002e(_0x6796a8);},_0x14002e['encode']=function(_0x4c25c2,_0x1eec4d,_0x10c11e){if(_0x1eec4d||(_0x1eec4d=_0x42a0bf['create']()),void 0x0===_0x10c11e&&(_0x10c11e=0x0),_0x10c11e>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x4c25c2['channel']&&Object['hasOwnProperty']['call'](_0x4c25c2,'channel')&&_0x1eec4d['uint32'](0xa)['string'](_0x4c25c2['channel']),null!=_0x4c25c2['suggestions']&&_0x4c25c2['suggestions']['length']){for(var _0x4bee43=0x0;_0x4bee43<_0x4c25c2['suggestions']['length'];++_0x4bee43)_0x1eec4d['uint32'](0x12)['string'](_0x4c25c2['suggestions'][_0x4bee43]);}if(null!=_0x4c25c2['suggestionsV2']&&_0x4c25c2['suggestionsV2']['length']){for(_0x4bee43=0x0;_0x4bee43<_0x4c25c2['suggestionsV2']['length'];++_0x4bee43)_0x4efd5e['SuggestionDescriptor']['encode'](_0x4c25c2['suggestionsV2'][_0x4bee43],_0x1eec4d['uint32'](0x1a)['fork'](),_0x10c11e+0x1)['ldelim']();}return _0x1eec4d;},_0x14002e['encodeDelimited']=function(_0x1b16c1,_0x386c88){return this['encode'](_0x1b16c1,_0x386c88)['ldelim']();},_0x14002e['decode']=function(_0x130262,_0x2e9d37,_0x714194,_0x5f214b){if(_0x130262 instanceof _0x34a44d||(_0x130262=_0x34a44d['create'](_0x130262)),void 0x0===_0x5f214b&&(_0x5f214b=0x0),_0x5f214b>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3cc0ab=void 0x0===_0x2e9d37?_0x130262['len']:_0x130262['pos']+_0x2e9d37,_0x381e15=new _0x4efd5e['TrackChangesConnectResponse']();_0x130262['pos']<_0x3cc0ab;){var _0x462aa9=_0x130262['uint32']();if(_0x462aa9===_0x714194)break;switch(_0x462aa9>>>0x3){case 0x1:_0x381e15['channel']=_0x130262['string']();break;case 0x2:_0x381e15['suggestions']&&_0x381e15['suggestions']['length']||(_0x381e15['suggestions']=[]),_0x381e15['suggestions']['push'](_0x130262['string']());break;case 0x3:_0x381e15['suggestionsV2']&&_0x381e15['suggestionsV2']['length']||(_0x381e15['suggestionsV2']=[]),_0x381e15['suggestionsV2']['push'](_0x4efd5e['SuggestionDescriptor']['decode'](_0x130262,_0x130262['uint32'](),void 0x0,_0x5f214b+0x1));break;default:_0x130262['skipType'](0x7&_0x462aa9,_0x5f214b);}}return _0x381e15;},_0x14002e['decodeDelimited']=function(_0x383149){return _0x383149 instanceof _0x34a44d||(_0x383149=new _0x34a44d(_0x383149)),this['decode'](_0x383149,_0x383149['uint32']());},_0x14002e['verify']=function(_0x19240f,_0x49159d){if('object'!=typeof _0x19240f||null===_0x19240f)return'object\x20expected';if(void 0x0===_0x49159d&&(_0x49159d=0x0),_0x49159d>_0x2da725['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x19240f['channel']&&Object['hasOwnProperty']['call'](_0x19240f,'channel')&&!_0x2da725['isString'](_0x19240f['channel']))return'channel:\x20string\x20expected';if(null!=_0x19240f['suggestions']&&Object['hasOwnProperty']['call'](_0x19240f,'suggestions')){if(!Array['isArray'](_0x19240f['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x6ae9a4=0x0;_0x6ae9a4<_0x19240f['suggestions']['length'];++_0x6ae9a4)if(!_0x2da725['isString'](_0x19240f['suggestions'][_0x6ae9a4]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x19240f['suggestionsV2']&&Object['hasOwnProperty']['call'](_0x19240f,'suggestionsV2')){if(!Array['isArray'](_0x19240f['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x6ae9a4=0x0;_0x6ae9a4<_0x19240f['suggestionsV2']['length'];++_0x6ae9a4){var _0x64dd81=_0x4efd5e['SuggestionDescriptor']['verify'](_0x19240f['suggestionsV2'][_0x6ae9a4],_0x49159d+0x1);if(_0x64dd81)return'suggestionsV2.'+_0x64dd81;}}return null;},_0x14002e['fromObject']=function(_0x48658f,_0x4ad737){if(_0x48658f instanceof _0x4efd5e['TrackChangesConnectResponse'])return _0x48658f;if(!_0x2da725['isObject'](_0x48658f))throw TypeError('.TrackChangesConnectResponse:\x20object\x20expected');if(void 0x0===_0x4ad737&&(_0x4ad737=0x0),_0x4ad737>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2b486a=new _0x4efd5e['TrackChangesConnectResponse']();if(null!=_0x48658f['channel']&&(_0x2b486a['channel']=String(_0x48658f['channel'])),_0x48658f['suggestions']){if(!Array['isArray'](_0x48658f['suggestions']))throw TypeError('.TrackChangesConnectResponse.suggestions:\x20array\x20expected');_0x2b486a['suggestions']=[];for(var _0x12ecc8=0x0;_0x12ecc8<_0x48658f['suggestions']['length'];++_0x12ecc8)_0x2b486a['suggestions'][_0x12ecc8]=String(_0x48658f['suggestions'][_0x12ecc8]);}if(_0x48658f['suggestionsV2']){if(!Array['isArray'](_0x48658f['suggestionsV2']))throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20array\x20expected');for(_0x2b486a['suggestionsV2']=[],_0x12ecc8=0x0;_0x12ecc8<_0x48658f['suggestionsV2']['length'];++_0x12ecc8){if(!_0x2da725['isObject'](_0x48658f['suggestionsV2'][_0x12ecc8]))throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20object\x20expected');_0x2b486a['suggestionsV2'][_0x12ecc8]=_0x4efd5e['SuggestionDescriptor']['fromObject'](_0x48658f['suggestionsV2'][_0x12ecc8],_0x4ad737+0x1);}}return _0x2b486a;},_0x14002e['toObject']=function(_0x2c5b75,_0x30f942,_0x303ae8){if(_0x30f942||(_0x30f942={}),void 0x0===_0x303ae8&&(_0x303ae8=0x0),_0x303ae8>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x53961d={};if((_0x30f942['arrays']||_0x30f942['defaults'])&&(_0x53961d['suggestions']=[],_0x53961d['suggestionsV2']=[]),_0x30f942['defaults']&&(_0x53961d['channel']=''),null!=_0x2c5b75['channel']&&Object['hasOwnProperty']['call'](_0x2c5b75,'channel')&&(_0x53961d['channel']=_0x2c5b75['channel']),_0x2c5b75['suggestions']&&_0x2c5b75['suggestions']['length']){_0x53961d['suggestions']=[];for(var _0x3af077=0x0;_0x3af077<_0x2c5b75['suggestions']['length'];++_0x3af077)_0x53961d['suggestions'][_0x3af077]=_0x2c5b75['suggestions'][_0x3af077];}if(_0x2c5b75['suggestionsV2']&&_0x2c5b75['suggestionsV2']['length']){for(_0x53961d['suggestionsV2']=[],_0x3af077=0x0;_0x3af077<_0x2c5b75['suggestionsV2']['length'];++_0x3af077)_0x53961d['suggestionsV2'][_0x3af077]=_0x4efd5e['SuggestionDescriptor']['toObject'](_0x2c5b75['suggestionsV2'][_0x3af077],_0x30f942,_0x303ae8+0x1);}return _0x53961d;},_0x14002e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x14002e['getTypeUrl']=function(_0xdff19c){return void 0x0===_0xdff19c&&(_0xdff19c='type.googleapis.com'),_0xdff19c+'/TrackChangesConnectResponse';},_0x14002e;}()),_0x4efd5e['TrackChangesAddSuggestionResponse']=(function(){function _0x5a5b3c(_0x3dd609){if(_0x3dd609){for(var _0x5cdd79=Object['keys'](_0x3dd609),_0x3a5e00=0x0;_0x3a5e00<_0x5cdd79['length'];++_0x3a5e00)null!=_0x3dd609[_0x5cdd79[_0x3a5e00]]&&'__proto__'!==_0x5cdd79[_0x3a5e00]&&(this[_0x5cdd79[_0x3a5e00]]=_0x3dd609[_0x5cdd79[_0x3a5e00]]);}}return _0x5a5b3c['prototype']['id']='',_0x5a5b3c['prototype']['authorId']='',_0x5a5b3c['prototype']['type']='',_0x5a5b3c['prototype']['createdAt']='',_0x5a5b3c['prototype']['data']='',_0x5a5b3c['prototype']['hasComments']=!0x1,_0x5a5b3c['prototype']['state']='',_0x5a5b3c['prototype']['attributes']='',_0x5a5b3c['create']=function(_0x1b3201){return new _0x5a5b3c(_0x1b3201);},_0x5a5b3c['encode']=function(_0x347631,_0x368720,_0x1c2059){if(_0x368720||(_0x368720=_0x42a0bf['create']()),void 0x0===_0x1c2059&&(_0x1c2059=0x0),_0x1c2059>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x347631['id']&&Object['hasOwnProperty']['call'](_0x347631,'id')&&_0x368720['uint32'](0xa)['string'](_0x347631['id']),null!=_0x347631['authorId']&&Object['hasOwnProperty']['call'](_0x347631,'authorId')&&_0x368720['uint32'](0x12)['string'](_0x347631['authorId']),null!=_0x347631['type']&&Object['hasOwnProperty']['call'](_0x347631,'type')&&_0x368720['uint32'](0x1a)['string'](_0x347631['type']),null!=_0x347631['createdAt']&&Object['hasOwnProperty']['call'](_0x347631,'createdAt')&&_0x368720['uint32'](0x22)['string'](_0x347631['createdAt']),null!=_0x347631['data']&&Object['hasOwnProperty']['call'](_0x347631,'data')&&_0x368720['uint32'](0x2a)['string'](_0x347631['data']),null!=_0x347631['hasComments']&&Object['hasOwnProperty']['call'](_0x347631,'hasComments')&&_0x368720['uint32'](0x30)['bool'](_0x347631['hasComments']),null!=_0x347631['state']&&Object['hasOwnProperty']['call'](_0x347631,'state')&&_0x368720['uint32'](0x3a)['string'](_0x347631['state']),null!=_0x347631['attributes']&&Object['hasOwnProperty']['call'](_0x347631,'attributes')&&_0x368720['uint32'](0x42)['string'](_0x347631['attributes']),_0x368720;},_0x5a5b3c['encodeDelimited']=function(_0x5908ed,_0x294efe){return this['encode'](_0x5908ed,_0x294efe)['ldelim']();},_0x5a5b3c['decode']=function(_0x1086ce,_0x36608c,_0xa6e314,_0xe6dccb){if(_0x1086ce instanceof _0x34a44d||(_0x1086ce=_0x34a44d['create'](_0x1086ce)),void 0x0===_0xe6dccb&&(_0xe6dccb=0x0),_0xe6dccb>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5a9c59=void 0x0===_0x36608c?_0x1086ce['len']:_0x1086ce['pos']+_0x36608c,_0x5242a1=new _0x4efd5e['TrackChangesAddSuggestionResponse']();_0x1086ce['pos']<_0x5a9c59;){var _0xa6265c=_0x1086ce['uint32']();if(_0xa6265c===_0xa6e314)break;switch(_0xa6265c>>>0x3){case 0x1:_0x5242a1['id']=_0x1086ce['string']();break;case 0x2:_0x5242a1['authorId']=_0x1086ce['string']();break;case 0x3:_0x5242a1['type']=_0x1086ce['string']();break;case 0x4:_0x5242a1['createdAt']=_0x1086ce['string']();break;case 0x5:_0x5242a1['data']=_0x1086ce['string']();break;case 0x6:_0x5242a1['hasComments']=_0x1086ce['bool']();break;case 0x7:_0x5242a1['state']=_0x1086ce['string']();break;case 0x8:_0x5242a1['attributes']=_0x1086ce['string']();break;default:_0x1086ce['skipType'](0x7&_0xa6265c,_0xe6dccb);}}return _0x5242a1;},_0x5a5b3c['decodeDelimited']=function(_0x5d1397){return _0x5d1397 instanceof _0x34a44d||(_0x5d1397=new _0x34a44d(_0x5d1397)),this['decode'](_0x5d1397,_0x5d1397['uint32']());},_0x5a5b3c['verify']=function(_0x26bc70,_0x217a60){return'object'!=typeof _0x26bc70||null===_0x26bc70?'object\x20expected':(void 0x0===_0x217a60&&(_0x217a60=0x0),_0x217a60>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x26bc70['id']&&Object['hasOwnProperty']['call'](_0x26bc70,'id')&&!_0x2da725['isString'](_0x26bc70['id'])?'id:\x20string\x20expected':null!=_0x26bc70['authorId']&&Object['hasOwnProperty']['call'](_0x26bc70,'authorId')&&!_0x2da725['isString'](_0x26bc70['authorId'])?'authorId:\x20string\x20expected':null!=_0x26bc70['type']&&Object['hasOwnProperty']['call'](_0x26bc70,'type')&&!_0x2da725['isString'](_0x26bc70['type'])?'type:\x20string\x20expected':null!=_0x26bc70['createdAt']&&Object['hasOwnProperty']['call'](_0x26bc70,'createdAt')&&!_0x2da725['isString'](_0x26bc70['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x26bc70['data']&&Object['hasOwnProperty']['call'](_0x26bc70,'data')&&!_0x2da725['isString'](_0x26bc70['data'])?'data:\x20string\x20expected':null!=_0x26bc70['hasComments']&&Object['hasOwnProperty']['call'](_0x26bc70,'hasComments')&&'boolean'!=typeof _0x26bc70['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x26bc70['state']&&Object['hasOwnProperty']['call'](_0x26bc70,'state')&&!_0x2da725['isString'](_0x26bc70['state'])?'state:\x20string\x20expected':null!=_0x26bc70['attributes']&&Object['hasOwnProperty']['call'](_0x26bc70,'attributes')&&!_0x2da725['isString'](_0x26bc70['attributes'])?'attributes:\x20string\x20expected':null);},_0x5a5b3c['fromObject']=function(_0x5191e9,_0x10938e){if(_0x5191e9 instanceof _0x4efd5e['TrackChangesAddSuggestionResponse'])return _0x5191e9;if(!_0x2da725['isObject'](_0x5191e9))throw TypeError('.TrackChangesAddSuggestionResponse:\x20object\x20expected');if(void 0x0===_0x10938e&&(_0x10938e=0x0),_0x10938e>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x513b0b=new _0x4efd5e['TrackChangesAddSuggestionResponse']();return null!=_0x5191e9['id']&&(_0x513b0b['id']=String(_0x5191e9['id'])),null!=_0x5191e9['authorId']&&(_0x513b0b['authorId']=String(_0x5191e9['authorId'])),null!=_0x5191e9['type']&&(_0x513b0b['type']=String(_0x5191e9['type'])),null!=_0x5191e9['createdAt']&&(_0x513b0b['createdAt']=String(_0x5191e9['createdAt'])),null!=_0x5191e9['data']&&(_0x513b0b['data']=String(_0x5191e9['data'])),null!=_0x5191e9['hasComments']&&(_0x513b0b['hasComments']=Boolean(_0x5191e9['hasComments'])),null!=_0x5191e9['state']&&(_0x513b0b['state']=String(_0x5191e9['state'])),null!=_0x5191e9['attributes']&&(_0x513b0b['attributes']=String(_0x5191e9['attributes'])),_0x513b0b;},_0x5a5b3c['toObject']=function(_0xacd5f8,_0x1d7253,_0x47799c){if(_0x1d7253||(_0x1d7253={}),void 0x0===_0x47799c&&(_0x47799c=0x0),_0x47799c>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x5864b2={};return _0x1d7253['defaults']&&(_0x5864b2['id']='',_0x5864b2['authorId']='',_0x5864b2['type']='',_0x5864b2['createdAt']='',_0x5864b2['data']='',_0x5864b2['hasComments']=!0x1,_0x5864b2['state']='',_0x5864b2['attributes']=''),null!=_0xacd5f8['id']&&Object['hasOwnProperty']['call'](_0xacd5f8,'id')&&(_0x5864b2['id']=_0xacd5f8['id']),null!=_0xacd5f8['authorId']&&Object['hasOwnProperty']['call'](_0xacd5f8,'authorId')&&(_0x5864b2['authorId']=_0xacd5f8['authorId']),null!=_0xacd5f8['type']&&Object['hasOwnProperty']['call'](_0xacd5f8,'type')&&(_0x5864b2['type']=_0xacd5f8['type']),null!=_0xacd5f8['createdAt']&&Object['hasOwnProperty']['call'](_0xacd5f8,'createdAt')&&(_0x5864b2['createdAt']=_0xacd5f8['createdAt']),null!=_0xacd5f8['data']&&Object['hasOwnProperty']['call'](_0xacd5f8,'data')&&(_0x5864b2['data']=_0xacd5f8['data']),null!=_0xacd5f8['hasComments']&&Object['hasOwnProperty']['call'](_0xacd5f8,'hasComments')&&(_0x5864b2['hasComments']=_0xacd5f8['hasComments']),null!=_0xacd5f8['state']&&Object['hasOwnProperty']['call'](_0xacd5f8,'state')&&(_0x5864b2['state']=_0xacd5f8['state']),null!=_0xacd5f8['attributes']&&Object['hasOwnProperty']['call'](_0xacd5f8,'attributes')&&(_0x5864b2['attributes']=_0xacd5f8['attributes']),_0x5864b2;},_0x5a5b3c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x5a5b3c['getTypeUrl']=function(_0x3f71a5){return void 0x0===_0x3f71a5&&(_0x3f71a5='type.googleapis.com'),_0x3f71a5+'/TrackChangesAddSuggestionResponse';},_0x5a5b3c;}()),_0x4efd5e['TrackChangesUpdateSuggestionMessage']=(function(){function _0x118901(_0x3956a4){if(_0x3956a4){for(var _0x5bdf40=Object['keys'](_0x3956a4),_0x17715a=0x0;_0x17715a<_0x5bdf40['length'];++_0x17715a)null!=_0x3956a4[_0x5bdf40[_0x17715a]]&&'__proto__'!==_0x5bdf40[_0x17715a]&&(this[_0x5bdf40[_0x17715a]]=_0x3956a4[_0x5bdf40[_0x17715a]]);}}return _0x118901['prototype']['id']='',_0x118901['prototype']['documentId']='',_0x118901['prototype']['hasComments']=!0x1,_0x118901['prototype']['isHasCommentsModified']=!0x1,_0x118901['prototype']['state']='',_0x118901['prototype']['attributes']='',_0x118901['create']=function(_0x19d525){return new _0x118901(_0x19d525);},_0x118901['encode']=function(_0x10806e,_0x1d8be1,_0x53e598){if(_0x1d8be1||(_0x1d8be1=_0x42a0bf['create']()),void 0x0===_0x53e598&&(_0x53e598=0x0),_0x53e598>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x10806e['id']&&Object['hasOwnProperty']['call'](_0x10806e,'id')&&_0x1d8be1['uint32'](0xa)['string'](_0x10806e['id']),null!=_0x10806e['documentId']&&Object['hasOwnProperty']['call'](_0x10806e,'documentId')&&_0x1d8be1['uint32'](0x12)['string'](_0x10806e['documentId']),null!=_0x10806e['hasComments']&&Object['hasOwnProperty']['call'](_0x10806e,'hasComments')&&_0x1d8be1['uint32'](0x18)['bool'](_0x10806e['hasComments']),null!=_0x10806e['isHasCommentsModified']&&Object['hasOwnProperty']['call'](_0x10806e,'isHasCommentsModified')&&_0x1d8be1['uint32'](0x20)['bool'](_0x10806e['isHasCommentsModified']),null!=_0x10806e['state']&&Object['hasOwnProperty']['call'](_0x10806e,'state')&&_0x1d8be1['uint32'](0x2a)['string'](_0x10806e['state']),null!=_0x10806e['attributes']&&Object['hasOwnProperty']['call'](_0x10806e,'attributes')&&_0x1d8be1['uint32'](0x32)['string'](_0x10806e['attributes']),_0x1d8be1;},_0x118901['encodeDelimited']=function(_0x1b38ba,_0x536343){return this['encode'](_0x1b38ba,_0x536343)['ldelim']();},_0x118901['decode']=function(_0x2214fe,_0x3b1e50,_0x369317,_0x529a22){if(_0x2214fe instanceof _0x34a44d||(_0x2214fe=_0x34a44d['create'](_0x2214fe)),void 0x0===_0x529a22&&(_0x529a22=0x0),_0x529a22>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x253a80=void 0x0===_0x3b1e50?_0x2214fe['len']:_0x2214fe['pos']+_0x3b1e50,_0x2519d6=new _0x4efd5e['TrackChangesUpdateSuggestionMessage']();_0x2214fe['pos']<_0x253a80;){var _0x4cdf79=_0x2214fe['uint32']();if(_0x4cdf79===_0x369317)break;switch(_0x4cdf79>>>0x3){case 0x1:_0x2519d6['id']=_0x2214fe['string']();break;case 0x2:_0x2519d6['documentId']=_0x2214fe['string']();break;case 0x3:_0x2519d6['hasComments']=_0x2214fe['bool']();break;case 0x4:_0x2519d6['isHasCommentsModified']=_0x2214fe['bool']();break;case 0x5:_0x2519d6['state']=_0x2214fe['string']();break;case 0x6:_0x2519d6['attributes']=_0x2214fe['string']();break;default:_0x2214fe['skipType'](0x7&_0x4cdf79,_0x529a22);}}return _0x2519d6;},_0x118901['decodeDelimited']=function(_0x1ac8ee){return _0x1ac8ee instanceof _0x34a44d||(_0x1ac8ee=new _0x34a44d(_0x1ac8ee)),this['decode'](_0x1ac8ee,_0x1ac8ee['uint32']());},_0x118901['verify']=function(_0x108537,_0x47d36b){return'object'!=typeof _0x108537||null===_0x108537?'object\x20expected':(void 0x0===_0x47d36b&&(_0x47d36b=0x0),_0x47d36b>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x108537['id']&&Object['hasOwnProperty']['call'](_0x108537,'id')&&!_0x2da725['isString'](_0x108537['id'])?'id:\x20string\x20expected':null!=_0x108537['documentId']&&Object['hasOwnProperty']['call'](_0x108537,'documentId')&&!_0x2da725['isString'](_0x108537['documentId'])?'documentId:\x20string\x20expected':null!=_0x108537['hasComments']&&Object['hasOwnProperty']['call'](_0x108537,'hasComments')&&'boolean'!=typeof _0x108537['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x108537['isHasCommentsModified']&&Object['hasOwnProperty']['call'](_0x108537,'isHasCommentsModified')&&'boolean'!=typeof _0x108537['isHasCommentsModified']?'isHasCommentsModified:\x20boolean\x20expected':null!=_0x108537['state']&&Object['hasOwnProperty']['call'](_0x108537,'state')&&!_0x2da725['isString'](_0x108537['state'])?'state:\x20string\x20expected':null!=_0x108537['attributes']&&Object['hasOwnProperty']['call'](_0x108537,'attributes')&&!_0x2da725['isString'](_0x108537['attributes'])?'attributes:\x20string\x20expected':null);},_0x118901['fromObject']=function(_0x332f40,_0x3101c9){if(_0x332f40 instanceof _0x4efd5e['TrackChangesUpdateSuggestionMessage'])return _0x332f40;if(!_0x2da725['isObject'](_0x332f40))throw TypeError('.TrackChangesUpdateSuggestionMessage:\x20object\x20expected');if(void 0x0===_0x3101c9&&(_0x3101c9=0x0),_0x3101c9>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x51ca36=new _0x4efd5e['TrackChangesUpdateSuggestionMessage']();return null!=_0x332f40['id']&&(_0x51ca36['id']=String(_0x332f40['id'])),null!=_0x332f40['documentId']&&(_0x51ca36['documentId']=String(_0x332f40['documentId'])),null!=_0x332f40['hasComments']&&(_0x51ca36['hasComments']=Boolean(_0x332f40['hasComments'])),null!=_0x332f40['isHasCommentsModified']&&(_0x51ca36['isHasCommentsModified']=Boolean(_0x332f40['isHasCommentsModified'])),null!=_0x332f40['state']&&(_0x51ca36['state']=String(_0x332f40['state'])),null!=_0x332f40['attributes']&&(_0x51ca36['attributes']=String(_0x332f40['attributes'])),_0x51ca36;},_0x118901['toObject']=function(_0x3b0b52,_0xc7c40c,_0x4c2255){if(_0xc7c40c||(_0xc7c40c={}),void 0x0===_0x4c2255&&(_0x4c2255=0x0),_0x4c2255>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x106ddb={};return _0xc7c40c['defaults']&&(_0x106ddb['id']='',_0x106ddb['documentId']='',_0x106ddb['hasComments']=!0x1,_0x106ddb['isHasCommentsModified']=!0x1,_0x106ddb['state']='',_0x106ddb['attributes']=''),null!=_0x3b0b52['id']&&Object['hasOwnProperty']['call'](_0x3b0b52,'id')&&(_0x106ddb['id']=_0x3b0b52['id']),null!=_0x3b0b52['documentId']&&Object['hasOwnProperty']['call'](_0x3b0b52,'documentId')&&(_0x106ddb['documentId']=_0x3b0b52['documentId']),null!=_0x3b0b52['hasComments']&&Object['hasOwnProperty']['call'](_0x3b0b52,'hasComments')&&(_0x106ddb['hasComments']=_0x3b0b52['hasComments']),null!=_0x3b0b52['isHasCommentsModified']&&Object['hasOwnProperty']['call'](_0x3b0b52,'isHasCommentsModified')&&(_0x106ddb['isHasCommentsModified']=_0x3b0b52['isHasCommentsModified']),null!=_0x3b0b52['state']&&Object['hasOwnProperty']['call'](_0x3b0b52,'state')&&(_0x106ddb['state']=_0x3b0b52['state']),null!=_0x3b0b52['attributes']&&Object['hasOwnProperty']['call'](_0x3b0b52,'attributes')&&(_0x106ddb['attributes']=_0x3b0b52['attributes']),_0x106ddb;},_0x118901['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x118901['getTypeUrl']=function(_0x3bb7d2){return void 0x0===_0x3bb7d2&&(_0x3bb7d2='type.googleapis.com'),_0x3bb7d2+'/TrackChangesUpdateSuggestionMessage';},_0x118901;}()),_0x4efd5e['TrackChangesGetSuggestionMessage']=(function(){function _0xe26bf2(_0x1b2e88){if(_0x1b2e88){for(var _0xa8cad0=Object['keys'](_0x1b2e88),_0x25a5fa=0x0;_0x25a5fa<_0xa8cad0['length'];++_0x25a5fa)null!=_0x1b2e88[_0xa8cad0[_0x25a5fa]]&&'__proto__'!==_0xa8cad0[_0x25a5fa]&&(this[_0xa8cad0[_0x25a5fa]]=_0x1b2e88[_0xa8cad0[_0x25a5fa]]);}}return _0xe26bf2['prototype']['id']='',_0xe26bf2['prototype']['documentId']='',_0xe26bf2['create']=function(_0x18a7c9){return new _0xe26bf2(_0x18a7c9);},_0xe26bf2['encode']=function(_0x3589e2,_0x482658,_0x14bd5){if(_0x482658||(_0x482658=_0x42a0bf['create']()),void 0x0===_0x14bd5&&(_0x14bd5=0x0),_0x14bd5>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x3589e2['id']&&Object['hasOwnProperty']['call'](_0x3589e2,'id')&&_0x482658['uint32'](0xa)['string'](_0x3589e2['id']),null!=_0x3589e2['documentId']&&Object['hasOwnProperty']['call'](_0x3589e2,'documentId')&&_0x482658['uint32'](0x12)['string'](_0x3589e2['documentId']),_0x482658;},_0xe26bf2['encodeDelimited']=function(_0x3692b4,_0x4e3cf2){return this['encode'](_0x3692b4,_0x4e3cf2)['ldelim']();},_0xe26bf2['decode']=function(_0x548d4d,_0x21c132,_0x358460,_0x29e499){if(_0x548d4d instanceof _0x34a44d||(_0x548d4d=_0x34a44d['create'](_0x548d4d)),void 0x0===_0x29e499&&(_0x29e499=0x0),_0x29e499>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2c589d=void 0x0===_0x21c132?_0x548d4d['len']:_0x548d4d['pos']+_0x21c132,_0x3d6ad4=new _0x4efd5e['TrackChangesGetSuggestionMessage']();_0x548d4d['pos']<_0x2c589d;){var _0xbcce3a=_0x548d4d['uint32']();if(_0xbcce3a===_0x358460)break;switch(_0xbcce3a>>>0x3){case 0x1:_0x3d6ad4['id']=_0x548d4d['string']();break;case 0x2:_0x3d6ad4['documentId']=_0x548d4d['string']();break;default:_0x548d4d['skipType'](0x7&_0xbcce3a,_0x29e499);}}return _0x3d6ad4;},_0xe26bf2['decodeDelimited']=function(_0x271aa1){return _0x271aa1 instanceof _0x34a44d||(_0x271aa1=new _0x34a44d(_0x271aa1)),this['decode'](_0x271aa1,_0x271aa1['uint32']());},_0xe26bf2['verify']=function(_0x20f44a,_0x118e09){return'object'!=typeof _0x20f44a||null===_0x20f44a?'object\x20expected':(void 0x0===_0x118e09&&(_0x118e09=0x0),_0x118e09>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x20f44a['id']&&Object['hasOwnProperty']['call'](_0x20f44a,'id')&&!_0x2da725['isString'](_0x20f44a['id'])?'id:\x20string\x20expected':null!=_0x20f44a['documentId']&&Object['hasOwnProperty']['call'](_0x20f44a,'documentId')&&!_0x2da725['isString'](_0x20f44a['documentId'])?'documentId:\x20string\x20expected':null);},_0xe26bf2['fromObject']=function(_0x2af48a,_0x16fb6c){if(_0x2af48a instanceof _0x4efd5e['TrackChangesGetSuggestionMessage'])return _0x2af48a;if(!_0x2da725['isObject'](_0x2af48a))throw TypeError('.TrackChangesGetSuggestionMessage:\x20object\x20expected');if(void 0x0===_0x16fb6c&&(_0x16fb6c=0x0),_0x16fb6c>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x40fe94=new _0x4efd5e['TrackChangesGetSuggestionMessage']();return null!=_0x2af48a['id']&&(_0x40fe94['id']=String(_0x2af48a['id'])),null!=_0x2af48a['documentId']&&(_0x40fe94['documentId']=String(_0x2af48a['documentId'])),_0x40fe94;},_0xe26bf2['toObject']=function(_0x57e7d3,_0x4b6098,_0x2489f2){if(_0x4b6098||(_0x4b6098={}),void 0x0===_0x2489f2&&(_0x2489f2=0x0),_0x2489f2>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x3272ba={};return _0x4b6098['defaults']&&(_0x3272ba['id']='',_0x3272ba['documentId']=''),null!=_0x57e7d3['id']&&Object['hasOwnProperty']['call'](_0x57e7d3,'id')&&(_0x3272ba['id']=_0x57e7d3['id']),null!=_0x57e7d3['documentId']&&Object['hasOwnProperty']['call'](_0x57e7d3,'documentId')&&(_0x3272ba['documentId']=_0x57e7d3['documentId']),_0x3272ba;},_0xe26bf2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0xe26bf2['getTypeUrl']=function(_0x5cff41){return void 0x0===_0x5cff41&&(_0x5cff41='type.googleapis.com'),_0x5cff41+'/TrackChangesGetSuggestionMessage';},_0xe26bf2;}()),_0x4efd5e['TrackChangesGetAllSuggestionMessage']=(function(){function _0x2cc474(_0xe08fcc){if(_0xe08fcc){for(var _0x3e5e60=Object['keys'](_0xe08fcc),_0x4e685a=0x0;_0x4e685a<_0x3e5e60['length'];++_0x4e685a)null!=_0xe08fcc[_0x3e5e60[_0x4e685a]]&&'__proto__'!==_0x3e5e60[_0x4e685a]&&(this[_0x3e5e60[_0x4e685a]]=_0xe08fcc[_0x3e5e60[_0x4e685a]]);}}return _0x2cc474['prototype']['documentId']='',_0x2cc474['create']=function(_0x4e65f3){return new _0x2cc474(_0x4e65f3);},_0x2cc474['encode']=function(_0x505c14,_0x326fbb,_0x127297){if(_0x326fbb||(_0x326fbb=_0x42a0bf['create']()),void 0x0===_0x127297&&(_0x127297=0x0),_0x127297>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x505c14['documentId']&&Object['hasOwnProperty']['call'](_0x505c14,'documentId')&&_0x326fbb['uint32'](0xa)['string'](_0x505c14['documentId']),_0x326fbb;},_0x2cc474['encodeDelimited']=function(_0x22ac0b,_0x950656){return this['encode'](_0x22ac0b,_0x950656)['ldelim']();},_0x2cc474['decode']=function(_0x32b69b,_0x30de8c,_0x2f9e88,_0x368c80){if(_0x32b69b instanceof _0x34a44d||(_0x32b69b=_0x34a44d['create'](_0x32b69b)),void 0x0===_0x368c80&&(_0x368c80=0x0),_0x368c80>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5d72d3=void 0x0===_0x30de8c?_0x32b69b['len']:_0x32b69b['pos']+_0x30de8c,_0x58ee66=new _0x4efd5e['TrackChangesGetAllSuggestionMessage']();_0x32b69b['pos']<_0x5d72d3;){var _0x36d6e2=_0x32b69b['uint32']();if(_0x36d6e2===_0x2f9e88)break;_0x36d6e2>>>0x3==0x1?_0x58ee66['documentId']=_0x32b69b['string']():_0x32b69b['skipType'](0x7&_0x36d6e2,_0x368c80);}return _0x58ee66;},_0x2cc474['decodeDelimited']=function(_0x55b119){return _0x55b119 instanceof _0x34a44d||(_0x55b119=new _0x34a44d(_0x55b119)),this['decode'](_0x55b119,_0x55b119['uint32']());},_0x2cc474['verify']=function(_0x7245cd,_0xad8205){return'object'!=typeof _0x7245cd||null===_0x7245cd?'object\x20expected':(void 0x0===_0xad8205&&(_0xad8205=0x0),_0xad8205>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x7245cd['documentId']&&Object['hasOwnProperty']['call'](_0x7245cd,'documentId')&&!_0x2da725['isString'](_0x7245cd['documentId'])?'documentId:\x20string\x20expected':null);},_0x2cc474['fromObject']=function(_0x3fc8b6,_0x5d6e81){if(_0x3fc8b6 instanceof _0x4efd5e['TrackChangesGetAllSuggestionMessage'])return _0x3fc8b6;if(!_0x2da725['isObject'](_0x3fc8b6))throw TypeError('.TrackChangesGetAllSuggestionMessage:\x20object\x20expected');if(void 0x0===_0x5d6e81&&(_0x5d6e81=0x0),_0x5d6e81>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x420bdc=new _0x4efd5e['TrackChangesGetAllSuggestionMessage']();return null!=_0x3fc8b6['documentId']&&(_0x420bdc['documentId']=String(_0x3fc8b6['documentId'])),_0x420bdc;},_0x2cc474['toObject']=function(_0x323252,_0x32c419,_0x1d0de3){if(_0x32c419||(_0x32c419={}),void 0x0===_0x1d0de3&&(_0x1d0de3=0x0),_0x1d0de3>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x45162d={};return _0x32c419['defaults']&&(_0x45162d['documentId']=''),null!=_0x323252['documentId']&&Object['hasOwnProperty']['call'](_0x323252,'documentId')&&(_0x45162d['documentId']=_0x323252['documentId']),_0x45162d;},_0x2cc474['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x2cc474['getTypeUrl']=function(_0x2b2756){return void 0x0===_0x2b2756&&(_0x2b2756='type.googleapis.com'),_0x2b2756+'/TrackChangesGetAllSuggestionMessage';},_0x2cc474;}()),_0x4efd5e['TrackChangesConnectMessage']=(function(){function _0xbd0cb0(_0x2da06f){if(_0x2da06f){for(var _0x37f1c4=Object['keys'](_0x2da06f),_0x3038c1=0x0;_0x3038c1<_0x37f1c4['length'];++_0x3038c1)null!=_0x2da06f[_0x37f1c4[_0x3038c1]]&&'__proto__'!==_0x37f1c4[_0x3038c1]&&(this[_0x37f1c4[_0x3038c1]]=_0x2da06f[_0x37f1c4[_0x3038c1]]);}}return _0xbd0cb0['prototype']['documentId']='',_0xbd0cb0['create']=function(_0x54ab53){return new _0xbd0cb0(_0x54ab53);},_0xbd0cb0['encode']=function(_0x5648b8,_0x583e48,_0x152cf8){if(_0x583e48||(_0x583e48=_0x42a0bf['create']()),void 0x0===_0x152cf8&&(_0x152cf8=0x0),_0x152cf8>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x5648b8['documentId']&&Object['hasOwnProperty']['call'](_0x5648b8,'documentId')&&_0x583e48['uint32'](0xa)['string'](_0x5648b8['documentId']),_0x583e48;},_0xbd0cb0['encodeDelimited']=function(_0x284b9f,_0x2ca541){return this['encode'](_0x284b9f,_0x2ca541)['ldelim']();},_0xbd0cb0['decode']=function(_0x111f76,_0x11c3d8,_0x52108c,_0x1111b2){if(_0x111f76 instanceof _0x34a44d||(_0x111f76=_0x34a44d['create'](_0x111f76)),void 0x0===_0x1111b2&&(_0x1111b2=0x0),_0x1111b2>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x46f9df=void 0x0===_0x11c3d8?_0x111f76['len']:_0x111f76['pos']+_0x11c3d8,_0x1712b5=new _0x4efd5e['TrackChangesConnectMessage']();_0x111f76['pos']<_0x46f9df;){var _0x47dea4=_0x111f76['uint32']();if(_0x47dea4===_0x52108c)break;_0x47dea4>>>0x3==0x1?_0x1712b5['documentId']=_0x111f76['string']():_0x111f76['skipType'](0x7&_0x47dea4,_0x1111b2);}return _0x1712b5;},_0xbd0cb0['decodeDelimited']=function(_0x4b72e5){return _0x4b72e5 instanceof _0x34a44d||(_0x4b72e5=new _0x34a44d(_0x4b72e5)),this['decode'](_0x4b72e5,_0x4b72e5['uint32']());},_0xbd0cb0['verify']=function(_0x5813a8,_0x2266db){return'object'!=typeof _0x5813a8||null===_0x5813a8?'object\x20expected':(void 0x0===_0x2266db&&(_0x2266db=0x0),_0x2266db>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5813a8['documentId']&&Object['hasOwnProperty']['call'](_0x5813a8,'documentId')&&!_0x2da725['isString'](_0x5813a8['documentId'])?'documentId:\x20string\x20expected':null);},_0xbd0cb0['fromObject']=function(_0x16b2fc,_0x475b1c){if(_0x16b2fc instanceof _0x4efd5e['TrackChangesConnectMessage'])return _0x16b2fc;if(!_0x2da725['isObject'](_0x16b2fc))throw TypeError('.TrackChangesConnectMessage:\x20object\x20expected');if(void 0x0===_0x475b1c&&(_0x475b1c=0x0),_0x475b1c>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x148a07=new _0x4efd5e['TrackChangesConnectMessage']();return null!=_0x16b2fc['documentId']&&(_0x148a07['documentId']=String(_0x16b2fc['documentId'])),_0x148a07;},_0xbd0cb0['toObject']=function(_0x2baadf,_0x285c23,_0x50a440){if(_0x285c23||(_0x285c23={}),void 0x0===_0x50a440&&(_0x50a440=0x0),_0x50a440>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x3d396b={};return _0x285c23['defaults']&&(_0x3d396b['documentId']=''),null!=_0x2baadf['documentId']&&Object['hasOwnProperty']['call'](_0x2baadf,'documentId')&&(_0x3d396b['documentId']=_0x2baadf['documentId']),_0x3d396b;},_0xbd0cb0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0xbd0cb0['getTypeUrl']=function(_0x37dc75){return void 0x0===_0x37dc75&&(_0x37dc75='type.googleapis.com'),_0x37dc75+'/TrackChangesConnectMessage';},_0xbd0cb0;}()),_0x4efd5e['TrackChangesBatchUpdateSuggestionsStateMessage']=(function(){function _0x2643fa(_0x551913){if(this['ids']=[],_0x551913){for(var _0x1d85a8=Object['keys'](_0x551913),_0x448e42=0x0;_0x448e42<_0x1d85a8['length'];++_0x448e42)null!=_0x551913[_0x1d85a8[_0x448e42]]&&'__proto__'!==_0x1d85a8[_0x448e42]&&(this[_0x1d85a8[_0x448e42]]=_0x551913[_0x1d85a8[_0x448e42]]);}}return _0x2643fa['prototype']['ids']=_0x2da725['emptyArray'],_0x2643fa['prototype']['documentId']='',_0x2643fa['prototype']['state']='',_0x2643fa['create']=function(_0x5374b2){return new _0x2643fa(_0x5374b2);},_0x2643fa['encode']=function(_0x52820f,_0x4b7a71,_0x26ec15){if(_0x4b7a71||(_0x4b7a71=_0x42a0bf['create']()),void 0x0===_0x26ec15&&(_0x26ec15=0x0),_0x26ec15>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x52820f['ids']&&_0x52820f['ids']['length']){for(var _0x52e634=0x0;_0x52e634<_0x52820f['ids']['length'];++_0x52e634)_0x4b7a71['uint32'](0xa)['string'](_0x52820f['ids'][_0x52e634]);}return null!=_0x52820f['documentId']&&Object['hasOwnProperty']['call'](_0x52820f,'documentId')&&_0x4b7a71['uint32'](0x12)['string'](_0x52820f['documentId']),null!=_0x52820f['state']&&Object['hasOwnProperty']['call'](_0x52820f,'state')&&_0x4b7a71['uint32'](0x1a)['string'](_0x52820f['state']),_0x4b7a71;},_0x2643fa['encodeDelimited']=function(_0x2d107a,_0x4f9915){return this['encode'](_0x2d107a,_0x4f9915)['ldelim']();},_0x2643fa['decode']=function(_0x4ccaf9,_0x2e9019,_0x11bf28,_0x541b78){if(_0x4ccaf9 instanceof _0x34a44d||(_0x4ccaf9=_0x34a44d['create'](_0x4ccaf9)),void 0x0===_0x541b78&&(_0x541b78=0x0),_0x541b78>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xac0009=void 0x0===_0x2e9019?_0x4ccaf9['len']:_0x4ccaf9['pos']+_0x2e9019,_0x363a59=new _0x4efd5e['TrackChangesBatchUpdateSuggestionsStateMessage']();_0x4ccaf9['pos']<_0xac0009;){var _0x7d2b6f=_0x4ccaf9['uint32']();if(_0x7d2b6f===_0x11bf28)break;switch(_0x7d2b6f>>>0x3){case 0x1:_0x363a59['ids']&&_0x363a59['ids']['length']||(_0x363a59['ids']=[]),_0x363a59['ids']['push'](_0x4ccaf9['string']());break;case 0x2:_0x363a59['documentId']=_0x4ccaf9['string']();break;case 0x3:_0x363a59['state']=_0x4ccaf9['string']();break;default:_0x4ccaf9['skipType'](0x7&_0x7d2b6f,_0x541b78);}}return _0x363a59;},_0x2643fa['decodeDelimited']=function(_0xb5476){return _0xb5476 instanceof _0x34a44d||(_0xb5476=new _0x34a44d(_0xb5476)),this['decode'](_0xb5476,_0xb5476['uint32']());},_0x2643fa['verify']=function(_0x59ee3f,_0x5ca897){if('object'!=typeof _0x59ee3f||null===_0x59ee3f)return'object\x20expected';if(void 0x0===_0x5ca897&&(_0x5ca897=0x0),_0x5ca897>_0x2da725['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x59ee3f['ids']&&Object['hasOwnProperty']['call'](_0x59ee3f,'ids')){if(!Array['isArray'](_0x59ee3f['ids']))return'ids:\x20array\x20expected';for(var _0x5ef063=0x0;_0x5ef063<_0x59ee3f['ids']['length'];++_0x5ef063)if(!_0x2da725['isString'](_0x59ee3f['ids'][_0x5ef063]))return'ids:\x20string[]\x20expected';}return null!=_0x59ee3f['documentId']&&Object['hasOwnProperty']['call'](_0x59ee3f,'documentId')&&!_0x2da725['isString'](_0x59ee3f['documentId'])?'documentId:\x20string\x20expected':null!=_0x59ee3f['state']&&Object['hasOwnProperty']['call'](_0x59ee3f,'state')&&!_0x2da725['isString'](_0x59ee3f['state'])?'state:\x20string\x20expected':null;},_0x2643fa['fromObject']=function(_0x5c5ce5,_0x565168){if(_0x5c5ce5 instanceof _0x4efd5e['TrackChangesBatchUpdateSuggestionsStateMessage'])return _0x5c5ce5;if(!_0x2da725['isObject'](_0x5c5ce5))throw TypeError('.TrackChangesBatchUpdateSuggestionsStateMessage:\x20object\x20expected');if(void 0x0===_0x565168&&(_0x565168=0x0),_0x565168>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x58e044=new _0x4efd5e['TrackChangesBatchUpdateSuggestionsStateMessage']();if(_0x5c5ce5['ids']){if(!Array['isArray'](_0x5c5ce5['ids']))throw TypeError('.TrackChangesBatchUpdateSuggestionsStateMessage.ids:\x20array\x20expected');_0x58e044['ids']=[];for(var _0x173b2d=0x0;_0x173b2d<_0x5c5ce5['ids']['length'];++_0x173b2d)_0x58e044['ids'][_0x173b2d]=String(_0x5c5ce5['ids'][_0x173b2d]);}return null!=_0x5c5ce5['documentId']&&(_0x58e044['documentId']=String(_0x5c5ce5['documentId'])),null!=_0x5c5ce5['state']&&(_0x58e044['state']=String(_0x5c5ce5['state'])),_0x58e044;},_0x2643fa['toObject']=function(_0x2efb24,_0x1857de,_0xe174ac){if(_0x1857de||(_0x1857de={}),void 0x0===_0xe174ac&&(_0xe174ac=0x0),_0xe174ac>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x599718={};if((_0x1857de['arrays']||_0x1857de['defaults'])&&(_0x599718['ids']=[]),_0x1857de['defaults']&&(_0x599718['documentId']='',_0x599718['state']=''),_0x2efb24['ids']&&_0x2efb24['ids']['length']){_0x599718['ids']=[];for(var _0x3be104=0x0;_0x3be104<_0x2efb24['ids']['length'];++_0x3be104)_0x599718['ids'][_0x3be104]=_0x2efb24['ids'][_0x3be104];}return null!=_0x2efb24['documentId']&&Object['hasOwnProperty']['call'](_0x2efb24,'documentId')&&(_0x599718['documentId']=_0x2efb24['documentId']),null!=_0x2efb24['state']&&Object['hasOwnProperty']['call'](_0x2efb24,'state')&&(_0x599718['state']=_0x2efb24['state']),_0x599718;},_0x2643fa['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x2643fa['getTypeUrl']=function(_0x31c349){return void 0x0===_0x31c349&&(_0x31c349='type.googleapis.com'),_0x31c349+'/TrackChangesBatchUpdateSuggestionsStateMessage';},_0x2643fa;}()),_0x4efd5e['TrackChangesAddSuggestionMessage']=(function(){function _0x415d53(_0x4ed48b){if(_0x4ed48b){for(var _0x5b7b43=Object['keys'](_0x4ed48b),_0x40f797=0x0;_0x40f797<_0x5b7b43['length'];++_0x40f797)null!=_0x4ed48b[_0x5b7b43[_0x40f797]]&&'__proto__'!==_0x5b7b43[_0x40f797]&&(this[_0x5b7b43[_0x40f797]]=_0x4ed48b[_0x5b7b43[_0x40f797]]);}}return _0x415d53['prototype']['id']='',_0x415d53['prototype']['documentId']='',_0x415d53['prototype']['type']='',_0x415d53['prototype']['data']='',_0x415d53['prototype']['originalSuggestionId']='',_0x415d53['prototype']['attributes']='',_0x415d53['create']=function(_0x3f4978){return new _0x415d53(_0x3f4978);},_0x415d53['encode']=function(_0x14ed0d,_0xdbeb45,_0x52760b){if(_0xdbeb45||(_0xdbeb45=_0x42a0bf['create']()),void 0x0===_0x52760b&&(_0x52760b=0x0),_0x52760b>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x14ed0d['id']&&Object['hasOwnProperty']['call'](_0x14ed0d,'id')&&_0xdbeb45['uint32'](0xa)['string'](_0x14ed0d['id']),null!=_0x14ed0d['documentId']&&Object['hasOwnProperty']['call'](_0x14ed0d,'documentId')&&_0xdbeb45['uint32'](0x12)['string'](_0x14ed0d['documentId']),null!=_0x14ed0d['type']&&Object['hasOwnProperty']['call'](_0x14ed0d,'type')&&_0xdbeb45['uint32'](0x1a)['string'](_0x14ed0d['type']),null!=_0x14ed0d['data']&&Object['hasOwnProperty']['call'](_0x14ed0d,'data')&&_0xdbeb45['uint32'](0x22)['string'](_0x14ed0d['data']),null!=_0x14ed0d['originalSuggestionId']&&Object['hasOwnProperty']['call'](_0x14ed0d,'originalSuggestionId')&&_0xdbeb45['uint32'](0x2a)['string'](_0x14ed0d['originalSuggestionId']),null!=_0x14ed0d['attributes']&&Object['hasOwnProperty']['call'](_0x14ed0d,'attributes')&&_0xdbeb45['uint32'](0x32)['string'](_0x14ed0d['attributes']),_0xdbeb45;},_0x415d53['encodeDelimited']=function(_0x580812,_0x41df1b){return this['encode'](_0x580812,_0x41df1b)['ldelim']();},_0x415d53['decode']=function(_0x1e6bf3,_0x20d4f3,_0x1f3b6e,_0x4c3dc0){if(_0x1e6bf3 instanceof _0x34a44d||(_0x1e6bf3=_0x34a44d['create'](_0x1e6bf3)),void 0x0===_0x4c3dc0&&(_0x4c3dc0=0x0),_0x4c3dc0>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x409c07=void 0x0===_0x20d4f3?_0x1e6bf3['len']:_0x1e6bf3['pos']+_0x20d4f3,_0x57037d=new _0x4efd5e['TrackChangesAddSuggestionMessage']();_0x1e6bf3['pos']<_0x409c07;){var _0x3d7669=_0x1e6bf3['uint32']();if(_0x3d7669===_0x1f3b6e)break;switch(_0x3d7669>>>0x3){case 0x1:_0x57037d['id']=_0x1e6bf3['string']();break;case 0x2:_0x57037d['documentId']=_0x1e6bf3['string']();break;case 0x3:_0x57037d['type']=_0x1e6bf3['string']();break;case 0x4:_0x57037d['data']=_0x1e6bf3['string']();break;case 0x5:_0x57037d['originalSuggestionId']=_0x1e6bf3['string']();break;case 0x6:_0x57037d['attributes']=_0x1e6bf3['string']();break;default:_0x1e6bf3['skipType'](0x7&_0x3d7669,_0x4c3dc0);}}return _0x57037d;},_0x415d53['decodeDelimited']=function(_0x896536){return _0x896536 instanceof _0x34a44d||(_0x896536=new _0x34a44d(_0x896536)),this['decode'](_0x896536,_0x896536['uint32']());},_0x415d53['verify']=function(_0x1c8d0d,_0x2e3b0e){return'object'!=typeof _0x1c8d0d||null===_0x1c8d0d?'object\x20expected':(void 0x0===_0x2e3b0e&&(_0x2e3b0e=0x0),_0x2e3b0e>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1c8d0d['id']&&Object['hasOwnProperty']['call'](_0x1c8d0d,'id')&&!_0x2da725['isString'](_0x1c8d0d['id'])?'id:\x20string\x20expected':null!=_0x1c8d0d['documentId']&&Object['hasOwnProperty']['call'](_0x1c8d0d,'documentId')&&!_0x2da725['isString'](_0x1c8d0d['documentId'])?'documentId:\x20string\x20expected':null!=_0x1c8d0d['type']&&Object['hasOwnProperty']['call'](_0x1c8d0d,'type')&&!_0x2da725['isString'](_0x1c8d0d['type'])?'type:\x20string\x20expected':null!=_0x1c8d0d['data']&&Object['hasOwnProperty']['call'](_0x1c8d0d,'data')&&!_0x2da725['isString'](_0x1c8d0d['data'])?'data:\x20string\x20expected':null!=_0x1c8d0d['originalSuggestionId']&&Object['hasOwnProperty']['call'](_0x1c8d0d,'originalSuggestionId')&&!_0x2da725['isString'](_0x1c8d0d['originalSuggestionId'])?'originalSuggestionId:\x20string\x20expected':null!=_0x1c8d0d['attributes']&&Object['hasOwnProperty']['call'](_0x1c8d0d,'attributes')&&!_0x2da725['isString'](_0x1c8d0d['attributes'])?'attributes:\x20string\x20expected':null);},_0x415d53['fromObject']=function(_0x15208a,_0x1da321){if(_0x15208a instanceof _0x4efd5e['TrackChangesAddSuggestionMessage'])return _0x15208a;if(!_0x2da725['isObject'](_0x15208a))throw TypeError('.TrackChangesAddSuggestionMessage:\x20object\x20expected');if(void 0x0===_0x1da321&&(_0x1da321=0x0),_0x1da321>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x267da4=new _0x4efd5e['TrackChangesAddSuggestionMessage']();return null!=_0x15208a['id']&&(_0x267da4['id']=String(_0x15208a['id'])),null!=_0x15208a['documentId']&&(_0x267da4['documentId']=String(_0x15208a['documentId'])),null!=_0x15208a['type']&&(_0x267da4['type']=String(_0x15208a['type'])),null!=_0x15208a['data']&&(_0x267da4['data']=String(_0x15208a['data'])),null!=_0x15208a['originalSuggestionId']&&(_0x267da4['originalSuggestionId']=String(_0x15208a['originalSuggestionId'])),null!=_0x15208a['attributes']&&(_0x267da4['attributes']=String(_0x15208a['attributes'])),_0x267da4;},_0x415d53['toObject']=function(_0x6139d4,_0x50b38,_0x455f34){if(_0x50b38||(_0x50b38={}),void 0x0===_0x455f34&&(_0x455f34=0x0),_0x455f34>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x1c8de5={};return _0x50b38['defaults']&&(_0x1c8de5['id']='',_0x1c8de5['documentId']='',_0x1c8de5['type']='',_0x1c8de5['data']='',_0x1c8de5['originalSuggestionId']='',_0x1c8de5['attributes']=''),null!=_0x6139d4['id']&&Object['hasOwnProperty']['call'](_0x6139d4,'id')&&(_0x1c8de5['id']=_0x6139d4['id']),null!=_0x6139d4['documentId']&&Object['hasOwnProperty']['call'](_0x6139d4,'documentId')&&(_0x1c8de5['documentId']=_0x6139d4['documentId']),null!=_0x6139d4['type']&&Object['hasOwnProperty']['call'](_0x6139d4,'type')&&(_0x1c8de5['type']=_0x6139d4['type']),null!=_0x6139d4['data']&&Object['hasOwnProperty']['call'](_0x6139d4,'data')&&(_0x1c8de5['data']=_0x6139d4['data']),null!=_0x6139d4['originalSuggestionId']&&Object['hasOwnProperty']['call'](_0x6139d4,'originalSuggestionId')&&(_0x1c8de5['originalSuggestionId']=_0x6139d4['originalSuggestionId']),null!=_0x6139d4['attributes']&&Object['hasOwnProperty']['call'](_0x6139d4,'attributes')&&(_0x1c8de5['attributes']=_0x6139d4['attributes']),_0x1c8de5;},_0x415d53['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x415d53['getTypeUrl']=function(_0x5a32bf){return void 0x0===_0x5a32bf&&(_0x5a32bf='type.googleapis.com'),_0x5a32bf+'/TrackChangesAddSuggestionMessage';},_0x415d53;}()),_0x4efd5e['SuggestionDescriptor']=(function(){function _0x1d0e08(_0x585810){if(_0x585810){for(var _0x5c7445=Object['keys'](_0x585810),_0x1d946=0x0;_0x1d946<_0x5c7445['length'];++_0x1d946)null!=_0x585810[_0x5c7445[_0x1d946]]&&'__proto__'!==_0x5c7445[_0x1d946]&&(this[_0x5c7445[_0x1d946]]=_0x585810[_0x5c7445[_0x1d946]]);}}return _0x1d0e08['prototype']['id']='',_0x1d0e08['prototype']['authorId']='',_0x1d0e08['prototype']['type']='',_0x1d0e08['prototype']['createdAt']='',_0x1d0e08['prototype']['data']='',_0x1d0e08['prototype']['hasComments']=!0x1,_0x1d0e08['prototype']['state']='',_0x1d0e08['prototype']['attributes']='',_0x1d0e08['create']=function(_0x2764b1){return new _0x1d0e08(_0x2764b1);},_0x1d0e08['encode']=function(_0x4a1cf2,_0x36bc36,_0x2ddec1){if(_0x36bc36||(_0x36bc36=_0x42a0bf['create']()),void 0x0===_0x2ddec1&&(_0x2ddec1=0x0),_0x2ddec1>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x4a1cf2['id']&&Object['hasOwnProperty']['call'](_0x4a1cf2,'id')&&_0x36bc36['uint32'](0xa)['string'](_0x4a1cf2['id']),null!=_0x4a1cf2['authorId']&&Object['hasOwnProperty']['call'](_0x4a1cf2,'authorId')&&_0x36bc36['uint32'](0x12)['string'](_0x4a1cf2['authorId']),null!=_0x4a1cf2['type']&&Object['hasOwnProperty']['call'](_0x4a1cf2,'type')&&_0x36bc36['uint32'](0x1a)['string'](_0x4a1cf2['type']),null!=_0x4a1cf2['createdAt']&&Object['hasOwnProperty']['call'](_0x4a1cf2,'createdAt')&&_0x36bc36['uint32'](0x22)['string'](_0x4a1cf2['createdAt']),null!=_0x4a1cf2['data']&&Object['hasOwnProperty']['call'](_0x4a1cf2,'data')&&_0x36bc36['uint32'](0x2a)['string'](_0x4a1cf2['data']),null!=_0x4a1cf2['hasComments']&&Object['hasOwnProperty']['call'](_0x4a1cf2,'hasComments')&&_0x36bc36['uint32'](0x30)['bool'](_0x4a1cf2['hasComments']),null!=_0x4a1cf2['state']&&Object['hasOwnProperty']['call'](_0x4a1cf2,'state')&&_0x36bc36['uint32'](0x3a)['string'](_0x4a1cf2['state']),null!=_0x4a1cf2['attributes']&&Object['hasOwnProperty']['call'](_0x4a1cf2,'attributes')&&_0x36bc36['uint32'](0x42)['string'](_0x4a1cf2['attributes']),_0x36bc36;},_0x1d0e08['encodeDelimited']=function(_0x2f4281,_0xcd53c7){return this['encode'](_0x2f4281,_0xcd53c7)['ldelim']();},_0x1d0e08['decode']=function(_0x239acf,_0x4316f7,_0x46921e,_0x5525d9){if(_0x239acf instanceof _0x34a44d||(_0x239acf=_0x34a44d['create'](_0x239acf)),void 0x0===_0x5525d9&&(_0x5525d9=0x0),_0x5525d9>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1c81c1=void 0x0===_0x4316f7?_0x239acf['len']:_0x239acf['pos']+_0x4316f7,_0x25da02=new _0x4efd5e['SuggestionDescriptor']();_0x239acf['pos']<_0x1c81c1;){var _0x3b25a3=_0x239acf['uint32']();if(_0x3b25a3===_0x46921e)break;switch(_0x3b25a3>>>0x3){case 0x1:_0x25da02['id']=_0x239acf['string']();break;case 0x2:_0x25da02['authorId']=_0x239acf['string']();break;case 0x3:_0x25da02['type']=_0x239acf['string']();break;case 0x4:_0x25da02['createdAt']=_0x239acf['string']();break;case 0x5:_0x25da02['data']=_0x239acf['string']();break;case 0x6:_0x25da02['hasComments']=_0x239acf['bool']();break;case 0x7:_0x25da02['state']=_0x239acf['string']();break;case 0x8:_0x25da02['attributes']=_0x239acf['string']();break;default:_0x239acf['skipType'](0x7&_0x3b25a3,_0x5525d9);}}return _0x25da02;},_0x1d0e08['decodeDelimited']=function(_0x529660){return _0x529660 instanceof _0x34a44d||(_0x529660=new _0x34a44d(_0x529660)),this['decode'](_0x529660,_0x529660['uint32']());},_0x1d0e08['verify']=function(_0x2f8229,_0x1460c2){return'object'!=typeof _0x2f8229||null===_0x2f8229?'object\x20expected':(void 0x0===_0x1460c2&&(_0x1460c2=0x0),_0x1460c2>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x2f8229['id']&&Object['hasOwnProperty']['call'](_0x2f8229,'id')&&!_0x2da725['isString'](_0x2f8229['id'])?'id:\x20string\x20expected':null!=_0x2f8229['authorId']&&Object['hasOwnProperty']['call'](_0x2f8229,'authorId')&&!_0x2da725['isString'](_0x2f8229['authorId'])?'authorId:\x20string\x20expected':null!=_0x2f8229['type']&&Object['hasOwnProperty']['call'](_0x2f8229,'type')&&!_0x2da725['isString'](_0x2f8229['type'])?'type:\x20string\x20expected':null!=_0x2f8229['createdAt']&&Object['hasOwnProperty']['call'](_0x2f8229,'createdAt')&&!_0x2da725['isString'](_0x2f8229['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x2f8229['data']&&Object['hasOwnProperty']['call'](_0x2f8229,'data')&&!_0x2da725['isString'](_0x2f8229['data'])?'data:\x20string\x20expected':null!=_0x2f8229['hasComments']&&Object['hasOwnProperty']['call'](_0x2f8229,'hasComments')&&'boolean'!=typeof _0x2f8229['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x2f8229['state']&&Object['hasOwnProperty']['call'](_0x2f8229,'state')&&!_0x2da725['isString'](_0x2f8229['state'])?'state:\x20string\x20expected':null!=_0x2f8229['attributes']&&Object['hasOwnProperty']['call'](_0x2f8229,'attributes')&&!_0x2da725['isString'](_0x2f8229['attributes'])?'attributes:\x20string\x20expected':null);},_0x1d0e08['fromObject']=function(_0x3756da,_0x55b5f5){if(_0x3756da instanceof _0x4efd5e['SuggestionDescriptor'])return _0x3756da;if(!_0x2da725['isObject'](_0x3756da))throw TypeError('.SuggestionDescriptor:\x20object\x20expected');if(void 0x0===_0x55b5f5&&(_0x55b5f5=0x0),_0x55b5f5>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xbf4e92=new _0x4efd5e['SuggestionDescriptor']();return null!=_0x3756da['id']&&(_0xbf4e92['id']=String(_0x3756da['id'])),null!=_0x3756da['authorId']&&(_0xbf4e92['authorId']=String(_0x3756da['authorId'])),null!=_0x3756da['type']&&(_0xbf4e92['type']=String(_0x3756da['type'])),null!=_0x3756da['createdAt']&&(_0xbf4e92['createdAt']=String(_0x3756da['createdAt'])),null!=_0x3756da['data']&&(_0xbf4e92['data']=String(_0x3756da['data'])),null!=_0x3756da['hasComments']&&(_0xbf4e92['hasComments']=Boolean(_0x3756da['hasComments'])),null!=_0x3756da['state']&&(_0xbf4e92['state']=String(_0x3756da['state'])),null!=_0x3756da['attributes']&&(_0xbf4e92['attributes']=String(_0x3756da['attributes'])),_0xbf4e92;},_0x1d0e08['toObject']=function(_0x566112,_0x636f3,_0x1ced64){if(_0x636f3||(_0x636f3={}),void 0x0===_0x1ced64&&(_0x1ced64=0x0),_0x1ced64>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x3a4684={};return _0x636f3['defaults']&&(_0x3a4684['id']='',_0x3a4684['authorId']='',_0x3a4684['type']='',_0x3a4684['createdAt']='',_0x3a4684['data']='',_0x3a4684['hasComments']=!0x1,_0x3a4684['state']='',_0x3a4684['attributes']=''),null!=_0x566112['id']&&Object['hasOwnProperty']['call'](_0x566112,'id')&&(_0x3a4684['id']=_0x566112['id']),null!=_0x566112['authorId']&&Object['hasOwnProperty']['call'](_0x566112,'authorId')&&(_0x3a4684['authorId']=_0x566112['authorId']),null!=_0x566112['type']&&Object['hasOwnProperty']['call'](_0x566112,'type')&&(_0x3a4684['type']=_0x566112['type']),null!=_0x566112['createdAt']&&Object['hasOwnProperty']['call'](_0x566112,'createdAt')&&(_0x3a4684['createdAt']=_0x566112['createdAt']),null!=_0x566112['data']&&Object['hasOwnProperty']['call'](_0x566112,'data')&&(_0x3a4684['data']=_0x566112['data']),null!=_0x566112['hasComments']&&Object['hasOwnProperty']['call'](_0x566112,'hasComments')&&(_0x3a4684['hasComments']=_0x566112['hasComments']),null!=_0x566112['state']&&Object['hasOwnProperty']['call'](_0x566112,'state')&&(_0x3a4684['state']=_0x566112['state']),null!=_0x566112['attributes']&&Object['hasOwnProperty']['call'](_0x566112,'attributes')&&(_0x3a4684['attributes']=_0x566112['attributes']),_0x3a4684;},_0x1d0e08['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x1d0e08['getTypeUrl']=function(_0x1e224a){return void 0x0===_0x1e224a&&(_0x1e224a='type.googleapis.com'),_0x1e224a+'/SuggestionDescriptor';},_0x1d0e08;}()),_0x4efd5e['SessionsConnectResponse']=(function(){function _0x175202(_0x235178){if(this['sockets']=[],_0x235178){for(var _0x4c3a05=Object['keys'](_0x235178),_0x357081=0x0;_0x357081<_0x4c3a05['length'];++_0x357081)null!=_0x235178[_0x4c3a05[_0x357081]]&&'__proto__'!==_0x4c3a05[_0x357081]&&(this[_0x4c3a05[_0x357081]]=_0x235178[_0x4c3a05[_0x357081]]);}}return _0x175202['prototype']['channel']='',_0x175202['prototype']['sockets']=_0x2da725['emptyArray'],_0x175202['create']=function(_0x443f40){return new _0x175202(_0x443f40);},_0x175202['encode']=function(_0xfc1bbf,_0x20f4b9,_0x563c8b){if(_0x20f4b9||(_0x20f4b9=_0x42a0bf['create']()),void 0x0===_0x563c8b&&(_0x563c8b=0x0),_0x563c8b>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0xfc1bbf['channel']&&Object['hasOwnProperty']['call'](_0xfc1bbf,'channel')&&_0x20f4b9['uint32'](0xa)['string'](_0xfc1bbf['channel']),null!=_0xfc1bbf['sockets']&&_0xfc1bbf['sockets']['length']){for(var _0x503dc0=0x0;_0x503dc0<_0xfc1bbf['sockets']['length'];++_0x503dc0)_0x4efd5e['SessionsSocketDescriptor']['encode'](_0xfc1bbf['sockets'][_0x503dc0],_0x20f4b9['uint32'](0x12)['fork'](),_0x563c8b+0x1)['ldelim']();}return _0x20f4b9;},_0x175202['encodeDelimited']=function(_0xc1df10,_0x93f266){return this['encode'](_0xc1df10,_0x93f266)['ldelim']();},_0x175202['decode']=function(_0x1859c7,_0x3784f5,_0x392be2,_0xbf36fc){if(_0x1859c7 instanceof _0x34a44d||(_0x1859c7=_0x34a44d['create'](_0x1859c7)),void 0x0===_0xbf36fc&&(_0xbf36fc=0x0),_0xbf36fc>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x17cc31=void 0x0===_0x3784f5?_0x1859c7['len']:_0x1859c7['pos']+_0x3784f5,_0x4972e7=new _0x4efd5e['SessionsConnectResponse']();_0x1859c7['pos']<_0x17cc31;){var _0x471ca2=_0x1859c7['uint32']();if(_0x471ca2===_0x392be2)break;switch(_0x471ca2>>>0x3){case 0x1:_0x4972e7['channel']=_0x1859c7['string']();break;case 0x2:_0x4972e7['sockets']&&_0x4972e7['sockets']['length']||(_0x4972e7['sockets']=[]),_0x4972e7['sockets']['push'](_0x4efd5e['SessionsSocketDescriptor']['decode'](_0x1859c7,_0x1859c7['uint32'](),void 0x0,_0xbf36fc+0x1));break;default:_0x1859c7['skipType'](0x7&_0x471ca2,_0xbf36fc);}}return _0x4972e7;},_0x175202['decodeDelimited']=function(_0x3f3612){return _0x3f3612 instanceof _0x34a44d||(_0x3f3612=new _0x34a44d(_0x3f3612)),this['decode'](_0x3f3612,_0x3f3612['uint32']());},_0x175202['verify']=function(_0x40962d,_0x36fe0f){if('object'!=typeof _0x40962d||null===_0x40962d)return'object\x20expected';if(void 0x0===_0x36fe0f&&(_0x36fe0f=0x0),_0x36fe0f>_0x2da725['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x40962d['channel']&&Object['hasOwnProperty']['call'](_0x40962d,'channel')&&!_0x2da725['isString'](_0x40962d['channel']))return'channel:\x20string\x20expected';if(null!=_0x40962d['sockets']&&Object['hasOwnProperty']['call'](_0x40962d,'sockets')){if(!Array['isArray'](_0x40962d['sockets']))return'sockets:\x20array\x20expected';for(var _0xc5d05e=0x0;_0xc5d05e<_0x40962d['sockets']['length'];++_0xc5d05e){var _0x330bdc=_0x4efd5e['SessionsSocketDescriptor']['verify'](_0x40962d['sockets'][_0xc5d05e],_0x36fe0f+0x1);if(_0x330bdc)return'sockets.'+_0x330bdc;}}return null;},_0x175202['fromObject']=function(_0x4e2625,_0x394ba4){if(_0x4e2625 instanceof _0x4efd5e['SessionsConnectResponse'])return _0x4e2625;if(!_0x2da725['isObject'](_0x4e2625))throw TypeError('.SessionsConnectResponse:\x20object\x20expected');if(void 0x0===_0x394ba4&&(_0x394ba4=0x0),_0x394ba4>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4dec5a=new _0x4efd5e['SessionsConnectResponse']();if(null!=_0x4e2625['channel']&&(_0x4dec5a['channel']=String(_0x4e2625['channel'])),_0x4e2625['sockets']){if(!Array['isArray'](_0x4e2625['sockets']))throw TypeError('.SessionsConnectResponse.sockets:\x20array\x20expected');_0x4dec5a['sockets']=[];for(var _0x1cc6ca=0x0;_0x1cc6ca<_0x4e2625['sockets']['length'];++_0x1cc6ca){if(!_0x2da725['isObject'](_0x4e2625['sockets'][_0x1cc6ca]))throw TypeError('.SessionsConnectResponse.sockets:\x20object\x20expected');_0x4dec5a['sockets'][_0x1cc6ca]=_0x4efd5e['SessionsSocketDescriptor']['fromObject'](_0x4e2625['sockets'][_0x1cc6ca],_0x394ba4+0x1);}}return _0x4dec5a;},_0x175202['toObject']=function(_0x539909,_0xe07f36,_0x189738){if(_0xe07f36||(_0xe07f36={}),void 0x0===_0x189738&&(_0x189738=0x0),_0x189738>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x17d664={};if((_0xe07f36['arrays']||_0xe07f36['defaults'])&&(_0x17d664['sockets']=[]),_0xe07f36['defaults']&&(_0x17d664['channel']=''),null!=_0x539909['channel']&&Object['hasOwnProperty']['call'](_0x539909,'channel')&&(_0x17d664['channel']=_0x539909['channel']),_0x539909['sockets']&&_0x539909['sockets']['length']){_0x17d664['sockets']=[];for(var _0x525838=0x0;_0x525838<_0x539909['sockets']['length'];++_0x525838)_0x17d664['sockets'][_0x525838]=_0x4efd5e['SessionsSocketDescriptor']['toObject'](_0x539909['sockets'][_0x525838],_0xe07f36,_0x189738+0x1);}return _0x17d664;},_0x175202['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x175202['getTypeUrl']=function(_0x1de369){return void 0x0===_0x1de369&&(_0x1de369='type.googleapis.com'),_0x1de369+'/SessionsConnectResponse';},_0x175202;}()),_0x4efd5e['SocketDisconnectMessage']=(function(){function _0x5556fd(_0x37082c){if(_0x37082c){for(var _0x1540e6=Object['keys'](_0x37082c),_0x474d53=0x0;_0x474d53<_0x1540e6['length'];++_0x474d53)null!=_0x37082c[_0x1540e6[_0x474d53]]&&'__proto__'!==_0x1540e6[_0x474d53]&&(this[_0x1540e6[_0x474d53]]=_0x37082c[_0x1540e6[_0x474d53]]);}}return _0x5556fd['prototype']['id']='',_0x5556fd['create']=function(_0x2e72e4){return new _0x5556fd(_0x2e72e4);},_0x5556fd['encode']=function(_0x4f9579,_0x439bec,_0x6a1e7a){if(_0x439bec||(_0x439bec=_0x42a0bf['create']()),void 0x0===_0x6a1e7a&&(_0x6a1e7a=0x0),_0x6a1e7a>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x4f9579['id']&&Object['hasOwnProperty']['call'](_0x4f9579,'id')&&_0x439bec['uint32'](0xa)['string'](_0x4f9579['id']),_0x439bec;},_0x5556fd['encodeDelimited']=function(_0x1bceaf,_0x529f71){return this['encode'](_0x1bceaf,_0x529f71)['ldelim']();},_0x5556fd['decode']=function(_0x51a582,_0x353e5c,_0x246762,_0xe86abd){if(_0x51a582 instanceof _0x34a44d||(_0x51a582=_0x34a44d['create'](_0x51a582)),void 0x0===_0xe86abd&&(_0xe86abd=0x0),_0xe86abd>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x542fa2=void 0x0===_0x353e5c?_0x51a582['len']:_0x51a582['pos']+_0x353e5c,_0x290990=new _0x4efd5e['SocketDisconnectMessage']();_0x51a582['pos']<_0x542fa2;){var _0x49c614=_0x51a582['uint32']();if(_0x49c614===_0x246762)break;_0x49c614>>>0x3==0x1?_0x290990['id']=_0x51a582['string']():_0x51a582['skipType'](0x7&_0x49c614,_0xe86abd);}return _0x290990;},_0x5556fd['decodeDelimited']=function(_0x5a6649){return _0x5a6649 instanceof _0x34a44d||(_0x5a6649=new _0x34a44d(_0x5a6649)),this['decode'](_0x5a6649,_0x5a6649['uint32']());},_0x5556fd['verify']=function(_0x305818,_0x50f4e9){return'object'!=typeof _0x305818||null===_0x305818?'object\x20expected':(void 0x0===_0x50f4e9&&(_0x50f4e9=0x0),_0x50f4e9>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x305818['id']&&Object['hasOwnProperty']['call'](_0x305818,'id')&&!_0x2da725['isString'](_0x305818['id'])?'id:\x20string\x20expected':null);},_0x5556fd['fromObject']=function(_0x44911c,_0x40da55){if(_0x44911c instanceof _0x4efd5e['SocketDisconnectMessage'])return _0x44911c;if(!_0x2da725['isObject'](_0x44911c))throw TypeError('.SocketDisconnectMessage:\x20object\x20expected');if(void 0x0===_0x40da55&&(_0x40da55=0x0),_0x40da55>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x35051c=new _0x4efd5e['SocketDisconnectMessage']();return null!=_0x44911c['id']&&(_0x35051c['id']=String(_0x44911c['id'])),_0x35051c;},_0x5556fd['toObject']=function(_0x36a8a2,_0xd39690,_0x504352){if(_0xd39690||(_0xd39690={}),void 0x0===_0x504352&&(_0x504352=0x0),_0x504352>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x43b5ef={};return _0xd39690['defaults']&&(_0x43b5ef['id']=''),null!=_0x36a8a2['id']&&Object['hasOwnProperty']['call'](_0x36a8a2,'id')&&(_0x43b5ef['id']=_0x36a8a2['id']),_0x43b5ef;},_0x5556fd['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x5556fd['getTypeUrl']=function(_0x106cc0){return void 0x0===_0x106cc0&&(_0x106cc0='type.googleapis.com'),_0x106cc0+'/SocketDisconnectMessage';},_0x5556fd;}()),_0x4efd5e['SocketConnectMessage']=(function(){function _0x12cb78(_0x483697){if(this['permissions']=[],_0x483697){for(var _0x4fe444=Object['keys'](_0x483697),_0x4d3b5f=0x0;_0x4d3b5f<_0x4fe444['length'];++_0x4d3b5f)null!=_0x483697[_0x4fe444[_0x4d3b5f]]&&'__proto__'!==_0x4fe444[_0x4d3b5f]&&(this[_0x4fe444[_0x4d3b5f]]=_0x483697[_0x4fe444[_0x4d3b5f]]);}}return _0x12cb78['prototype']['id']='',_0x12cb78['prototype']['userId']='',_0x12cb78['prototype']['role']='',_0x12cb78['prototype']['permissions']=_0x2da725['emptyArray'],_0x12cb78['create']=function(_0x2166cd){return new _0x12cb78(_0x2166cd);},_0x12cb78['encode']=function(_0x401030,_0x167137,_0x4b8911){if(_0x167137||(_0x167137=_0x42a0bf['create']()),void 0x0===_0x4b8911&&(_0x4b8911=0x0),_0x4b8911>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x401030['id']&&Object['hasOwnProperty']['call'](_0x401030,'id')&&_0x167137['uint32'](0xa)['string'](_0x401030['id']),null!=_0x401030['userId']&&Object['hasOwnProperty']['call'](_0x401030,'userId')&&_0x167137['uint32'](0x12)['string'](_0x401030['userId']),null!=_0x401030['role']&&Object['hasOwnProperty']['call'](_0x401030,'role')&&_0x167137['uint32'](0x1a)['string'](_0x401030['role']),null!=_0x401030['permissions']&&_0x401030['permissions']['length']){for(var _0x313375=0x0;_0x313375<_0x401030['permissions']['length'];++_0x313375)_0x167137['uint32'](0x22)['string'](_0x401030['permissions'][_0x313375]);}return _0x167137;},_0x12cb78['encodeDelimited']=function(_0x21167e,_0x3c73c7){return this['encode'](_0x21167e,_0x3c73c7)['ldelim']();},_0x12cb78['decode']=function(_0x87d88f,_0xcbf104,_0x3cc413,_0x2b6911){if(_0x87d88f instanceof _0x34a44d||(_0x87d88f=_0x34a44d['create'](_0x87d88f)),void 0x0===_0x2b6911&&(_0x2b6911=0x0),_0x2b6911>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xb6ebfc=void 0x0===_0xcbf104?_0x87d88f['len']:_0x87d88f['pos']+_0xcbf104,_0x256b68=new _0x4efd5e['SocketConnectMessage']();_0x87d88f['pos']<_0xb6ebfc;){var _0x3481f9=_0x87d88f['uint32']();if(_0x3481f9===_0x3cc413)break;switch(_0x3481f9>>>0x3){case 0x1:_0x256b68['id']=_0x87d88f['string']();break;case 0x2:_0x256b68['userId']=_0x87d88f['string']();break;case 0x3:_0x256b68['role']=_0x87d88f['string']();break;case 0x4:_0x256b68['permissions']&&_0x256b68['permissions']['length']||(_0x256b68['permissions']=[]),_0x256b68['permissions']['push'](_0x87d88f['string']());break;default:_0x87d88f['skipType'](0x7&_0x3481f9,_0x2b6911);}}return _0x256b68;},_0x12cb78['decodeDelimited']=function(_0x51aed5){return _0x51aed5 instanceof _0x34a44d||(_0x51aed5=new _0x34a44d(_0x51aed5)),this['decode'](_0x51aed5,_0x51aed5['uint32']());},_0x12cb78['verify']=function(_0x5ef121,_0x2c9d41){if('object'!=typeof _0x5ef121||null===_0x5ef121)return'object\x20expected';if(void 0x0===_0x2c9d41&&(_0x2c9d41=0x0),_0x2c9d41>_0x2da725['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x5ef121['id']&&Object['hasOwnProperty']['call'](_0x5ef121,'id')&&!_0x2da725['isString'](_0x5ef121['id']))return'id:\x20string\x20expected';if(null!=_0x5ef121['userId']&&Object['hasOwnProperty']['call'](_0x5ef121,'userId')&&!_0x2da725['isString'](_0x5ef121['userId']))return'userId:\x20string\x20expected';if(null!=_0x5ef121['role']&&Object['hasOwnProperty']['call'](_0x5ef121,'role')&&!_0x2da725['isString'](_0x5ef121['role']))return'role:\x20string\x20expected';if(null!=_0x5ef121['permissions']&&Object['hasOwnProperty']['call'](_0x5ef121,'permissions')){if(!Array['isArray'](_0x5ef121['permissions']))return'permissions:\x20array\x20expected';for(var _0x5f2fad=0x0;_0x5f2fad<_0x5ef121['permissions']['length'];++_0x5f2fad)if(!_0x2da725['isString'](_0x5ef121['permissions'][_0x5f2fad]))return'permissions:\x20string[]\x20expected';}return null;},_0x12cb78['fromObject']=function(_0x321824,_0x29396d){if(_0x321824 instanceof _0x4efd5e['SocketConnectMessage'])return _0x321824;if(!_0x2da725['isObject'](_0x321824))throw TypeError('.SocketConnectMessage:\x20object\x20expected');if(void 0x0===_0x29396d&&(_0x29396d=0x0),_0x29396d>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x295544=new _0x4efd5e['SocketConnectMessage']();if(null!=_0x321824['id']&&(_0x295544['id']=String(_0x321824['id'])),null!=_0x321824['userId']&&(_0x295544['userId']=String(_0x321824['userId'])),null!=_0x321824['role']&&(_0x295544['role']=String(_0x321824['role'])),_0x321824['permissions']){if(!Array['isArray'](_0x321824['permissions']))throw TypeError('.SocketConnectMessage.permissions:\x20array\x20expected');_0x295544['permissions']=[];for(var _0x23721a=0x0;_0x23721a<_0x321824['permissions']['length'];++_0x23721a)_0x295544['permissions'][_0x23721a]=String(_0x321824['permissions'][_0x23721a]);}return _0x295544;},_0x12cb78['toObject']=function(_0x1dfebb,_0x47fe45,_0x5d81cd){if(_0x47fe45||(_0x47fe45={}),void 0x0===_0x5d81cd&&(_0x5d81cd=0x0),_0x5d81cd>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x2ae7d9={};if((_0x47fe45['arrays']||_0x47fe45['defaults'])&&(_0x2ae7d9['permissions']=[]),_0x47fe45['defaults']&&(_0x2ae7d9['id']='',_0x2ae7d9['userId']='',_0x2ae7d9['role']=''),null!=_0x1dfebb['id']&&Object['hasOwnProperty']['call'](_0x1dfebb,'id')&&(_0x2ae7d9['id']=_0x1dfebb['id']),null!=_0x1dfebb['userId']&&Object['hasOwnProperty']['call'](_0x1dfebb,'userId')&&(_0x2ae7d9['userId']=_0x1dfebb['userId']),null!=_0x1dfebb['role']&&Object['hasOwnProperty']['call'](_0x1dfebb,'role')&&(_0x2ae7d9['role']=_0x1dfebb['role']),_0x1dfebb['permissions']&&_0x1dfebb['permissions']['length']){_0x2ae7d9['permissions']=[];for(var _0x426ce9=0x0;_0x426ce9<_0x1dfebb['permissions']['length'];++_0x426ce9)_0x2ae7d9['permissions'][_0x426ce9]=_0x1dfebb['permissions'][_0x426ce9];}return _0x2ae7d9;},_0x12cb78['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x12cb78['getTypeUrl']=function(_0x2b4cff){return void 0x0===_0x2b4cff&&(_0x2b4cff='type.googleapis.com'),_0x2b4cff+'/SocketConnectMessage';},_0x12cb78;}()),_0x4efd5e['SessionsConnectMessage']=(function(){function _0x32e6cc(_0x517ac9){if(_0x517ac9){for(var _0x5e2780=Object['keys'](_0x517ac9),_0x5cf814=0x0;_0x5cf814<_0x5e2780['length'];++_0x5cf814)null!=_0x517ac9[_0x5e2780[_0x5cf814]]&&'__proto__'!==_0x5e2780[_0x5cf814]&&(this[_0x5e2780[_0x5cf814]]=_0x517ac9[_0x5e2780[_0x5cf814]]);}}return _0x32e6cc['prototype']['id']='',_0x32e6cc['prototype']['sessionType']=0x0,_0x32e6cc['create']=function(_0x1d0be5){return new _0x32e6cc(_0x1d0be5);},_0x32e6cc['encode']=function(_0x4b3ffd,_0x218d31,_0xfa946c){if(_0x218d31||(_0x218d31=_0x42a0bf['create']()),void 0x0===_0xfa946c&&(_0xfa946c=0x0),_0xfa946c>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x4b3ffd['id']&&Object['hasOwnProperty']['call'](_0x4b3ffd,'id')&&_0x218d31['uint32'](0xa)['string'](_0x4b3ffd['id']),null!=_0x4b3ffd['sessionType']&&Object['hasOwnProperty']['call'](_0x4b3ffd,'sessionType')&&_0x218d31['uint32'](0x10)['uint32'](_0x4b3ffd['sessionType']),_0x218d31;},_0x32e6cc['encodeDelimited']=function(_0x3540aa,_0x4de17e){return this['encode'](_0x3540aa,_0x4de17e)['ldelim']();},_0x32e6cc['decode']=function(_0x5b1f76,_0x31ab79,_0x4b5057,_0x4f01a6){if(_0x5b1f76 instanceof _0x34a44d||(_0x5b1f76=_0x34a44d['create'](_0x5b1f76)),void 0x0===_0x4f01a6&&(_0x4f01a6=0x0),_0x4f01a6>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x223d25=void 0x0===_0x31ab79?_0x5b1f76['len']:_0x5b1f76['pos']+_0x31ab79,_0xe5afcf=new _0x4efd5e['SessionsConnectMessage']();_0x5b1f76['pos']<_0x223d25;){var _0x2307b6=_0x5b1f76['uint32']();if(_0x2307b6===_0x4b5057)break;switch(_0x2307b6>>>0x3){case 0x1:_0xe5afcf['id']=_0x5b1f76['string']();break;case 0x2:_0xe5afcf['sessionType']=_0x5b1f76['uint32']();break;default:_0x5b1f76['skipType'](0x7&_0x2307b6,_0x4f01a6);}}return _0xe5afcf;},_0x32e6cc['decodeDelimited']=function(_0x55884c){return _0x55884c instanceof _0x34a44d||(_0x55884c=new _0x34a44d(_0x55884c)),this['decode'](_0x55884c,_0x55884c['uint32']());},_0x32e6cc['verify']=function(_0x2f1604,_0x44c051){return'object'!=typeof _0x2f1604||null===_0x2f1604?'object\x20expected':(void 0x0===_0x44c051&&(_0x44c051=0x0),_0x44c051>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x2f1604['id']&&Object['hasOwnProperty']['call'](_0x2f1604,'id')&&!_0x2da725['isString'](_0x2f1604['id'])?'id:\x20string\x20expected':null!=_0x2f1604['sessionType']&&Object['hasOwnProperty']['call'](_0x2f1604,'sessionType')&&!_0x2da725['isInteger'](_0x2f1604['sessionType'])?'sessionType:\x20integer\x20expected':null);},_0x32e6cc['fromObject']=function(_0x3fca36,_0x19d3c5){if(_0x3fca36 instanceof _0x4efd5e['SessionsConnectMessage'])return _0x3fca36;if(!_0x2da725['isObject'](_0x3fca36))throw TypeError('.SessionsConnectMessage:\x20object\x20expected');if(void 0x0===_0x19d3c5&&(_0x19d3c5=0x0),_0x19d3c5>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3ebbf7=new _0x4efd5e['SessionsConnectMessage']();return null!=_0x3fca36['id']&&(_0x3ebbf7['id']=String(_0x3fca36['id'])),null!=_0x3fca36['sessionType']&&(_0x3ebbf7['sessionType']=_0x3fca36['sessionType']>>>0x0),_0x3ebbf7;},_0x32e6cc['toObject']=function(_0x5455af,_0x528f36,_0xe7d6ee){if(_0x528f36||(_0x528f36={}),void 0x0===_0xe7d6ee&&(_0xe7d6ee=0x0),_0xe7d6ee>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x5d6b3e={};return _0x528f36['defaults']&&(_0x5d6b3e['id']='',_0x5d6b3e['sessionType']=0x0),null!=_0x5455af['id']&&Object['hasOwnProperty']['call'](_0x5455af,'id')&&(_0x5d6b3e['id']=_0x5455af['id']),null!=_0x5455af['sessionType']&&Object['hasOwnProperty']['call'](_0x5455af,'sessionType')&&(_0x5d6b3e['sessionType']=_0x5455af['sessionType']),_0x5d6b3e;},_0x32e6cc['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x32e6cc['getTypeUrl']=function(_0x20f32f){return void 0x0===_0x20f32f&&(_0x20f32f='type.googleapis.com'),_0x20f32f+'/SessionsConnectMessage';},_0x32e6cc;}()),_0x4efd5e['SessionsSocketDescriptor']=(function(){function _0xc54428(_0x1589a5){if(this['permissions']=[],_0x1589a5){for(var _0x22313d=Object['keys'](_0x1589a5),_0x3412d6=0x0;_0x3412d6<_0x22313d['length'];++_0x3412d6)null!=_0x1589a5[_0x22313d[_0x3412d6]]&&'__proto__'!==_0x22313d[_0x3412d6]&&(this[_0x22313d[_0x3412d6]]=_0x1589a5[_0x22313d[_0x3412d6]]);}}return _0xc54428['prototype']['session']='',_0xc54428['prototype']['user']='',_0xc54428['prototype']['role']='',_0xc54428['prototype']['permissions']=_0x2da725['emptyArray'],_0xc54428['create']=function(_0x17ada6){return new _0xc54428(_0x17ada6);},_0xc54428['encode']=function(_0xf42cf0,_0x48062e,_0x29ba5d){if(_0x48062e||(_0x48062e=_0x42a0bf['create']()),void 0x0===_0x29ba5d&&(_0x29ba5d=0x0),_0x29ba5d>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0xf42cf0['session']&&Object['hasOwnProperty']['call'](_0xf42cf0,'session')&&_0x48062e['uint32'](0xa)['string'](_0xf42cf0['session']),null!=_0xf42cf0['user']&&Object['hasOwnProperty']['call'](_0xf42cf0,'user')&&_0x48062e['uint32'](0x12)['string'](_0xf42cf0['user']),null!=_0xf42cf0['role']&&Object['hasOwnProperty']['call'](_0xf42cf0,'role')&&_0x48062e['uint32'](0x1a)['string'](_0xf42cf0['role']),null!=_0xf42cf0['permissions']&&_0xf42cf0['permissions']['length']){for(var _0x528f22=0x0;_0x528f22<_0xf42cf0['permissions']['length'];++_0x528f22)_0x48062e['uint32'](0x22)['string'](_0xf42cf0['permissions'][_0x528f22]);}return _0x48062e;},_0xc54428['encodeDelimited']=function(_0x388065,_0x2db409){return this['encode'](_0x388065,_0x2db409)['ldelim']();},_0xc54428['decode']=function(_0x2318bc,_0x15e132,_0x2d76a5,_0x2b33be){if(_0x2318bc instanceof _0x34a44d||(_0x2318bc=_0x34a44d['create'](_0x2318bc)),void 0x0===_0x2b33be&&(_0x2b33be=0x0),_0x2b33be>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3ac530=void 0x0===_0x15e132?_0x2318bc['len']:_0x2318bc['pos']+_0x15e132,_0x4f01a2=new _0x4efd5e['SessionsSocketDescriptor']();_0x2318bc['pos']<_0x3ac530;){var _0x12870d=_0x2318bc['uint32']();if(_0x12870d===_0x2d76a5)break;switch(_0x12870d>>>0x3){case 0x1:_0x4f01a2['session']=_0x2318bc['string']();break;case 0x2:_0x4f01a2['user']=_0x2318bc['string']();break;case 0x3:_0x4f01a2['role']=_0x2318bc['string']();break;case 0x4:_0x4f01a2['permissions']&&_0x4f01a2['permissions']['length']||(_0x4f01a2['permissions']=[]),_0x4f01a2['permissions']['push'](_0x2318bc['string']());break;default:_0x2318bc['skipType'](0x7&_0x12870d,_0x2b33be);}}return _0x4f01a2;},_0xc54428['decodeDelimited']=function(_0xfec765){return _0xfec765 instanceof _0x34a44d||(_0xfec765=new _0x34a44d(_0xfec765)),this['decode'](_0xfec765,_0xfec765['uint32']());},_0xc54428['verify']=function(_0x1bbac6,_0x4f13ba){if('object'!=typeof _0x1bbac6||null===_0x1bbac6)return'object\x20expected';if(void 0x0===_0x4f13ba&&(_0x4f13ba=0x0),_0x4f13ba>_0x2da725['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x1bbac6['session']&&Object['hasOwnProperty']['call'](_0x1bbac6,'session')&&!_0x2da725['isString'](_0x1bbac6['session']))return'session:\x20string\x20expected';if(null!=_0x1bbac6['user']&&Object['hasOwnProperty']['call'](_0x1bbac6,'user')&&!_0x2da725['isString'](_0x1bbac6['user']))return'user:\x20string\x20expected';if(null!=_0x1bbac6['role']&&Object['hasOwnProperty']['call'](_0x1bbac6,'role')&&!_0x2da725['isString'](_0x1bbac6['role']))return'role:\x20string\x20expected';if(null!=_0x1bbac6['permissions']&&Object['hasOwnProperty']['call'](_0x1bbac6,'permissions')){if(!Array['isArray'](_0x1bbac6['permissions']))return'permissions:\x20array\x20expected';for(var _0x6a86a5=0x0;_0x6a86a5<_0x1bbac6['permissions']['length'];++_0x6a86a5)if(!_0x2da725['isString'](_0x1bbac6['permissions'][_0x6a86a5]))return'permissions:\x20string[]\x20expected';}return null;},_0xc54428['fromObject']=function(_0x146fd1,_0x1d9588){if(_0x146fd1 instanceof _0x4efd5e['SessionsSocketDescriptor'])return _0x146fd1;if(!_0x2da725['isObject'](_0x146fd1))throw TypeError('.SessionsSocketDescriptor:\x20object\x20expected');if(void 0x0===_0x1d9588&&(_0x1d9588=0x0),_0x1d9588>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x54bdfa=new _0x4efd5e['SessionsSocketDescriptor']();if(null!=_0x146fd1['session']&&(_0x54bdfa['session']=String(_0x146fd1['session'])),null!=_0x146fd1['user']&&(_0x54bdfa['user']=String(_0x146fd1['user'])),null!=_0x146fd1['role']&&(_0x54bdfa['role']=String(_0x146fd1['role'])),_0x146fd1['permissions']){if(!Array['isArray'](_0x146fd1['permissions']))throw TypeError('.SessionsSocketDescriptor.permissions:\x20array\x20expected');_0x54bdfa['permissions']=[];for(var _0x2ea358=0x0;_0x2ea358<_0x146fd1['permissions']['length'];++_0x2ea358)_0x54bdfa['permissions'][_0x2ea358]=String(_0x146fd1['permissions'][_0x2ea358]);}return _0x54bdfa;},_0xc54428['toObject']=function(_0x44d9dc,_0x5f2512,_0x38a826){if(_0x5f2512||(_0x5f2512={}),void 0x0===_0x38a826&&(_0x38a826=0x0),_0x38a826>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x50068e={};if((_0x5f2512['arrays']||_0x5f2512['defaults'])&&(_0x50068e['permissions']=[]),_0x5f2512['defaults']&&(_0x50068e['session']='',_0x50068e['user']='',_0x50068e['role']=''),null!=_0x44d9dc['session']&&Object['hasOwnProperty']['call'](_0x44d9dc,'session')&&(_0x50068e['session']=_0x44d9dc['session']),null!=_0x44d9dc['user']&&Object['hasOwnProperty']['call'](_0x44d9dc,'user')&&(_0x50068e['user']=_0x44d9dc['user']),null!=_0x44d9dc['role']&&Object['hasOwnProperty']['call'](_0x44d9dc,'role')&&(_0x50068e['role']=_0x44d9dc['role']),_0x44d9dc['permissions']&&_0x44d9dc['permissions']['length']){_0x50068e['permissions']=[];for(var _0x4626a7=0x0;_0x4626a7<_0x44d9dc['permissions']['length'];++_0x4626a7)_0x50068e['permissions'][_0x4626a7]=_0x44d9dc['permissions'][_0x4626a7];}return _0x50068e;},_0xc54428['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0xc54428['getTypeUrl']=function(_0x463413){return void 0x0===_0x463413&&(_0x463413='type.googleapis.com'),_0x463413+'/SessionsSocketDescriptor';},_0xc54428;}()),_0x4efd5e['RevisionHistoryUpdateRevisionsResponse']=(function(){function _0xd04307(_0x36cd42){if(_0x36cd42){for(var _0x241d03=Object['keys'](_0x36cd42),_0x7a1036=0x0;_0x7a1036<_0x241d03['length'];++_0x7a1036)null!=_0x36cd42[_0x241d03[_0x7a1036]]&&'__proto__'!==_0x241d03[_0x7a1036]&&(this[_0x241d03[_0x7a1036]]=_0x36cd42[_0x241d03[_0x7a1036]]);}}return _0xd04307['prototype']['requestId']=0x0,_0xd04307['create']=function(_0x2e10e3){return new _0xd04307(_0x2e10e3);},_0xd04307['encode']=function(_0x2c5cf8,_0x6b5610,_0x53376d){if(_0x6b5610||(_0x6b5610=_0x42a0bf['create']()),void 0x0===_0x53376d&&(_0x53376d=0x0),_0x53376d>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x2c5cf8['requestId']&&Object['hasOwnProperty']['call'](_0x2c5cf8,'requestId')&&_0x6b5610['uint32'](0x8)['uint32'](_0x2c5cf8['requestId']),_0x6b5610;},_0xd04307['encodeDelimited']=function(_0xe7e377,_0x1064c7){return this['encode'](_0xe7e377,_0x1064c7)['ldelim']();},_0xd04307['decode']=function(_0x566613,_0x3c369f,_0x89aefd,_0x4fea65){if(_0x566613 instanceof _0x34a44d||(_0x566613=_0x34a44d['create'](_0x566613)),void 0x0===_0x4fea65&&(_0x4fea65=0x0),_0x4fea65>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4ba7c3=void 0x0===_0x3c369f?_0x566613['len']:_0x566613['pos']+_0x3c369f,_0x21254d=new _0x4efd5e['RevisionHistoryUpdateRevisionsResponse']();_0x566613['pos']<_0x4ba7c3;){var _0x353d78=_0x566613['uint32']();if(_0x353d78===_0x89aefd)break;_0x353d78>>>0x3==0x1?_0x21254d['requestId']=_0x566613['uint32']():_0x566613['skipType'](0x7&_0x353d78,_0x4fea65);}return _0x21254d;},_0xd04307['decodeDelimited']=function(_0xc43757){return _0xc43757 instanceof _0x34a44d||(_0xc43757=new _0x34a44d(_0xc43757)),this['decode'](_0xc43757,_0xc43757['uint32']());},_0xd04307['verify']=function(_0x3f6469,_0x130c76){return'object'!=typeof _0x3f6469||null===_0x3f6469?'object\x20expected':(void 0x0===_0x130c76&&(_0x130c76=0x0),_0x130c76>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x3f6469['requestId']&&Object['hasOwnProperty']['call'](_0x3f6469,'requestId')&&!_0x2da725['isInteger'](_0x3f6469['requestId'])?'requestId:\x20integer\x20expected':null);},_0xd04307['fromObject']=function(_0x165652,_0x1198f5){if(_0x165652 instanceof _0x4efd5e['RevisionHistoryUpdateRevisionsResponse'])return _0x165652;if(!_0x2da725['isObject'](_0x165652))throw TypeError('.RevisionHistoryUpdateRevisionsResponse:\x20object\x20expected');if(void 0x0===_0x1198f5&&(_0x1198f5=0x0),_0x1198f5>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x186507=new _0x4efd5e['RevisionHistoryUpdateRevisionsResponse']();return null!=_0x165652['requestId']&&(_0x186507['requestId']=_0x165652['requestId']>>>0x0),_0x186507;},_0xd04307['toObject']=function(_0x2022a1,_0x4ce1cc,_0x2262a5){if(_0x4ce1cc||(_0x4ce1cc={}),void 0x0===_0x2262a5&&(_0x2262a5=0x0),_0x2262a5>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x2d5931={};return _0x4ce1cc['defaults']&&(_0x2d5931['requestId']=0x0),null!=_0x2022a1['requestId']&&Object['hasOwnProperty']['call'](_0x2022a1,'requestId')&&(_0x2d5931['requestId']=_0x2022a1['requestId']),_0x2d5931;},_0xd04307['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0xd04307['getTypeUrl']=function(_0x101ac7){return void 0x0===_0x101ac7&&(_0x101ac7='type.googleapis.com'),_0x101ac7+'/RevisionHistoryUpdateRevisionsResponse';},_0xd04307;}()),_0x4efd5e['RevisionHistoryGetRevisionResponse']=(function(){function _0x5e0cab(_0x2b6e97){if(_0x2b6e97){for(var _0x21dede=Object['keys'](_0x2b6e97),_0x361460=0x0;_0x361460<_0x21dede['length'];++_0x361460)null!=_0x2b6e97[_0x21dede[_0x361460]]&&'__proto__'!==_0x21dede[_0x361460]&&(this[_0x21dede[_0x361460]]=_0x2b6e97[_0x21dede[_0x361460]]);}}return _0x5e0cab['prototype']['revisionId']='',_0x5e0cab['prototype']['name']='',_0x5e0cab['prototype']['creatorId']='',_0x5e0cab['prototype']['authorsIds']='',_0x5e0cab['prototype']['diffData']='',_0x5e0cab['prototype']['createdAt']='',_0x5e0cab['prototype']['attributes']='',_0x5e0cab['prototype']['toVersion']=0x0,_0x5e0cab['prototype']['fromVersion']=0x0,_0x5e0cab['prototype']['isEmptyCurrent']=!0x1,_0x5e0cab['create']=function(_0x47fdb8){return new _0x5e0cab(_0x47fdb8);},_0x5e0cab['encode']=function(_0x3858f9,_0x4db9c1,_0x2c5e5c){if(_0x4db9c1||(_0x4db9c1=_0x42a0bf['create']()),void 0x0===_0x2c5e5c&&(_0x2c5e5c=0x0),_0x2c5e5c>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x3858f9['revisionId']&&Object['hasOwnProperty']['call'](_0x3858f9,'revisionId')&&_0x4db9c1['uint32'](0xa)['string'](_0x3858f9['revisionId']),null!=_0x3858f9['name']&&Object['hasOwnProperty']['call'](_0x3858f9,'name')&&_0x4db9c1['uint32'](0x12)['string'](_0x3858f9['name']),null!=_0x3858f9['creatorId']&&Object['hasOwnProperty']['call'](_0x3858f9,'creatorId')&&_0x4db9c1['uint32'](0x1a)['string'](_0x3858f9['creatorId']),null!=_0x3858f9['authorsIds']&&Object['hasOwnProperty']['call'](_0x3858f9,'authorsIds')&&_0x4db9c1['uint32'](0x22)['string'](_0x3858f9['authorsIds']),null!=_0x3858f9['diffData']&&Object['hasOwnProperty']['call'](_0x3858f9,'diffData')&&_0x4db9c1['uint32'](0x2a)['string'](_0x3858f9['diffData']),null!=_0x3858f9['createdAt']&&Object['hasOwnProperty']['call'](_0x3858f9,'createdAt')&&_0x4db9c1['uint32'](0x32)['string'](_0x3858f9['createdAt']),null!=_0x3858f9['attributes']&&Object['hasOwnProperty']['call'](_0x3858f9,'attributes')&&_0x4db9c1['uint32'](0x3a)['string'](_0x3858f9['attributes']),null!=_0x3858f9['toVersion']&&Object['hasOwnProperty']['call'](_0x3858f9,'toVersion')&&_0x4db9c1['uint32'](0x40)['uint32'](_0x3858f9['toVersion']),null!=_0x3858f9['fromVersion']&&Object['hasOwnProperty']['call'](_0x3858f9,'fromVersion')&&_0x4db9c1['uint32'](0x48)['uint32'](_0x3858f9['fromVersion']),null!=_0x3858f9['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x3858f9,'isEmptyCurrent')&&_0x4db9c1['uint32'](0x50)['bool'](_0x3858f9['isEmptyCurrent']),_0x4db9c1;},_0x5e0cab['encodeDelimited']=function(_0x36aaf1,_0x309b66){return this['encode'](_0x36aaf1,_0x309b66)['ldelim']();},_0x5e0cab['decode']=function(_0x7fab3f,_0x376bd8,_0x660a5,_0x17428e){if(_0x7fab3f instanceof _0x34a44d||(_0x7fab3f=_0x34a44d['create'](_0x7fab3f)),void 0x0===_0x17428e&&(_0x17428e=0x0),_0x17428e>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5af7ec=void 0x0===_0x376bd8?_0x7fab3f['len']:_0x7fab3f['pos']+_0x376bd8,_0x277a64=new _0x4efd5e['RevisionHistoryGetRevisionResponse']();_0x7fab3f['pos']<_0x5af7ec;){var _0x305ced=_0x7fab3f['uint32']();if(_0x305ced===_0x660a5)break;switch(_0x305ced>>>0x3){case 0x1:_0x277a64['revisionId']=_0x7fab3f['string']();break;case 0x2:_0x277a64['name']=_0x7fab3f['string']();break;case 0x3:_0x277a64['creatorId']=_0x7fab3f['string']();break;case 0x4:_0x277a64['authorsIds']=_0x7fab3f['string']();break;case 0x5:_0x277a64['diffData']=_0x7fab3f['string']();break;case 0x6:_0x277a64['createdAt']=_0x7fab3f['string']();break;case 0x7:_0x277a64['attributes']=_0x7fab3f['string']();break;case 0x8:_0x277a64['toVersion']=_0x7fab3f['uint32']();break;case 0x9:_0x277a64['fromVersion']=_0x7fab3f['uint32']();break;case 0xa:_0x277a64['isEmptyCurrent']=_0x7fab3f['bool']();break;default:_0x7fab3f['skipType'](0x7&_0x305ced,_0x17428e);}}return _0x277a64;},_0x5e0cab['decodeDelimited']=function(_0x3d1cda){return _0x3d1cda instanceof _0x34a44d||(_0x3d1cda=new _0x34a44d(_0x3d1cda)),this['decode'](_0x3d1cda,_0x3d1cda['uint32']());},_0x5e0cab['verify']=function(_0x1dea4a,_0x4827b3){return'object'!=typeof _0x1dea4a||null===_0x1dea4a?'object\x20expected':(void 0x0===_0x4827b3&&(_0x4827b3=0x0),_0x4827b3>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1dea4a['revisionId']&&Object['hasOwnProperty']['call'](_0x1dea4a,'revisionId')&&!_0x2da725['isString'](_0x1dea4a['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x1dea4a['name']&&Object['hasOwnProperty']['call'](_0x1dea4a,'name')&&!_0x2da725['isString'](_0x1dea4a['name'])?'name:\x20string\x20expected':null!=_0x1dea4a['creatorId']&&Object['hasOwnProperty']['call'](_0x1dea4a,'creatorId')&&!_0x2da725['isString'](_0x1dea4a['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x1dea4a['authorsIds']&&Object['hasOwnProperty']['call'](_0x1dea4a,'authorsIds')&&!_0x2da725['isString'](_0x1dea4a['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x1dea4a['diffData']&&Object['hasOwnProperty']['call'](_0x1dea4a,'diffData')&&!_0x2da725['isString'](_0x1dea4a['diffData'])?'diffData:\x20string\x20expected':null!=_0x1dea4a['createdAt']&&Object['hasOwnProperty']['call'](_0x1dea4a,'createdAt')&&!_0x2da725['isString'](_0x1dea4a['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x1dea4a['attributes']&&Object['hasOwnProperty']['call'](_0x1dea4a,'attributes')&&!_0x2da725['isString'](_0x1dea4a['attributes'])?'attributes:\x20string\x20expected':null!=_0x1dea4a['toVersion']&&Object['hasOwnProperty']['call'](_0x1dea4a,'toVersion')&&!_0x2da725['isInteger'](_0x1dea4a['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x1dea4a['fromVersion']&&Object['hasOwnProperty']['call'](_0x1dea4a,'fromVersion')&&!_0x2da725['isInteger'](_0x1dea4a['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x1dea4a['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x1dea4a,'isEmptyCurrent')&&'boolean'!=typeof _0x1dea4a['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null);},_0x5e0cab['fromObject']=function(_0x2b82b3,_0x1332cb){if(_0x2b82b3 instanceof _0x4efd5e['RevisionHistoryGetRevisionResponse'])return _0x2b82b3;if(!_0x2da725['isObject'](_0x2b82b3))throw TypeError('.RevisionHistoryGetRevisionResponse:\x20object\x20expected');if(void 0x0===_0x1332cb&&(_0x1332cb=0x0),_0x1332cb>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x21b154=new _0x4efd5e['RevisionHistoryGetRevisionResponse']();return null!=_0x2b82b3['revisionId']&&(_0x21b154['revisionId']=String(_0x2b82b3['revisionId'])),null!=_0x2b82b3['name']&&(_0x21b154['name']=String(_0x2b82b3['name'])),null!=_0x2b82b3['creatorId']&&(_0x21b154['creatorId']=String(_0x2b82b3['creatorId'])),null!=_0x2b82b3['authorsIds']&&(_0x21b154['authorsIds']=String(_0x2b82b3['authorsIds'])),null!=_0x2b82b3['diffData']&&(_0x21b154['diffData']=String(_0x2b82b3['diffData'])),null!=_0x2b82b3['createdAt']&&(_0x21b154['createdAt']=String(_0x2b82b3['createdAt'])),null!=_0x2b82b3['attributes']&&(_0x21b154['attributes']=String(_0x2b82b3['attributes'])),null!=_0x2b82b3['toVersion']&&(_0x21b154['toVersion']=_0x2b82b3['toVersion']>>>0x0),null!=_0x2b82b3['fromVersion']&&(_0x21b154['fromVersion']=_0x2b82b3['fromVersion']>>>0x0),null!=_0x2b82b3['isEmptyCurrent']&&(_0x21b154['isEmptyCurrent']=Boolean(_0x2b82b3['isEmptyCurrent'])),_0x21b154;},_0x5e0cab['toObject']=function(_0x478726,_0x565f98,_0x123432){if(_0x565f98||(_0x565f98={}),void 0x0===_0x123432&&(_0x123432=0x0),_0x123432>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x703ada={};return _0x565f98['defaults']&&(_0x703ada['revisionId']='',_0x703ada['name']='',_0x703ada['creatorId']='',_0x703ada['authorsIds']='',_0x703ada['diffData']='',_0x703ada['createdAt']='',_0x703ada['attributes']='',_0x703ada['toVersion']=0x0,_0x703ada['fromVersion']=0x0,_0x703ada['isEmptyCurrent']=!0x1),null!=_0x478726['revisionId']&&Object['hasOwnProperty']['call'](_0x478726,'revisionId')&&(_0x703ada['revisionId']=_0x478726['revisionId']),null!=_0x478726['name']&&Object['hasOwnProperty']['call'](_0x478726,'name')&&(_0x703ada['name']=_0x478726['name']),null!=_0x478726['creatorId']&&Object['hasOwnProperty']['call'](_0x478726,'creatorId')&&(_0x703ada['creatorId']=_0x478726['creatorId']),null!=_0x478726['authorsIds']&&Object['hasOwnProperty']['call'](_0x478726,'authorsIds')&&(_0x703ada['authorsIds']=_0x478726['authorsIds']),null!=_0x478726['diffData']&&Object['hasOwnProperty']['call'](_0x478726,'diffData')&&(_0x703ada['diffData']=_0x478726['diffData']),null!=_0x478726['createdAt']&&Object['hasOwnProperty']['call'](_0x478726,'createdAt')&&(_0x703ada['createdAt']=_0x478726['createdAt']),null!=_0x478726['attributes']&&Object['hasOwnProperty']['call'](_0x478726,'attributes')&&(_0x703ada['attributes']=_0x478726['attributes']),null!=_0x478726['toVersion']&&Object['hasOwnProperty']['call'](_0x478726,'toVersion')&&(_0x703ada['toVersion']=_0x478726['toVersion']),null!=_0x478726['fromVersion']&&Object['hasOwnProperty']['call'](_0x478726,'fromVersion')&&(_0x703ada['fromVersion']=_0x478726['fromVersion']),null!=_0x478726['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x478726,'isEmptyCurrent')&&(_0x703ada['isEmptyCurrent']=_0x478726['isEmptyCurrent']),_0x703ada;},_0x5e0cab['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x5e0cab['getTypeUrl']=function(_0x47635a){return void 0x0===_0x47635a&&(_0x47635a='type.googleapis.com'),_0x47635a+'/RevisionHistoryGetRevisionResponse';},_0x5e0cab;}()),_0x4efd5e['RevisionHistoryConnectResponse']=(function(){function _0x2a77d2(_0x2e58dd){if(this['revisions']=[],_0x2e58dd){for(var _0xa5f05d=Object['keys'](_0x2e58dd),_0x3f101c=0x0;_0x3f101c<_0xa5f05d['length'];++_0x3f101c)null!=_0x2e58dd[_0xa5f05d[_0x3f101c]]&&'__proto__'!==_0xa5f05d[_0x3f101c]&&(this[_0xa5f05d[_0x3f101c]]=_0x2e58dd[_0xa5f05d[_0x3f101c]]);}}return _0x2a77d2['prototype']['channel']='',_0x2a77d2['prototype']['requestId']=0x0,_0x2a77d2['prototype']['revisions']=_0x2da725['emptyArray'],_0x2a77d2['create']=function(_0x2fd2c4){return new _0x2a77d2(_0x2fd2c4);},_0x2a77d2['encode']=function(_0x9fb9b,_0x593057,_0x116818){if(_0x593057||(_0x593057=_0x42a0bf['create']()),void 0x0===_0x116818&&(_0x116818=0x0),_0x116818>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x9fb9b['channel']&&Object['hasOwnProperty']['call'](_0x9fb9b,'channel')&&_0x593057['uint32'](0xa)['string'](_0x9fb9b['channel']),null!=_0x9fb9b['requestId']&&Object['hasOwnProperty']['call'](_0x9fb9b,'requestId')&&_0x593057['uint32'](0x10)['uint32'](_0x9fb9b['requestId']),null!=_0x9fb9b['revisions']&&_0x9fb9b['revisions']['length']){for(var _0x536412=0x0;_0x536412<_0x9fb9b['revisions']['length'];++_0x536412)_0x4efd5e['RevisionDescriptor']['encode'](_0x9fb9b['revisions'][_0x536412],_0x593057['uint32'](0x1a)['fork'](),_0x116818+0x1)['ldelim']();}return _0x593057;},_0x2a77d2['encodeDelimited']=function(_0x1df092,_0x3193e2){return this['encode'](_0x1df092,_0x3193e2)['ldelim']();},_0x2a77d2['decode']=function(_0x596a0c,_0x425436,_0xd2da0a,_0x306008){if(_0x596a0c instanceof _0x34a44d||(_0x596a0c=_0x34a44d['create'](_0x596a0c)),void 0x0===_0x306008&&(_0x306008=0x0),_0x306008>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x405496=void 0x0===_0x425436?_0x596a0c['len']:_0x596a0c['pos']+_0x425436,_0x463438=new _0x4efd5e['RevisionHistoryConnectResponse']();_0x596a0c['pos']<_0x405496;){var _0x4403f2=_0x596a0c['uint32']();if(_0x4403f2===_0xd2da0a)break;switch(_0x4403f2>>>0x3){case 0x1:_0x463438['channel']=_0x596a0c['string']();break;case 0x2:_0x463438['requestId']=_0x596a0c['uint32']();break;case 0x3:_0x463438['revisions']&&_0x463438['revisions']['length']||(_0x463438['revisions']=[]),_0x463438['revisions']['push'](_0x4efd5e['RevisionDescriptor']['decode'](_0x596a0c,_0x596a0c['uint32'](),void 0x0,_0x306008+0x1));break;default:_0x596a0c['skipType'](0x7&_0x4403f2,_0x306008);}}return _0x463438;},_0x2a77d2['decodeDelimited']=function(_0x21f899){return _0x21f899 instanceof _0x34a44d||(_0x21f899=new _0x34a44d(_0x21f899)),this['decode'](_0x21f899,_0x21f899['uint32']());},_0x2a77d2['verify']=function(_0x4ad424,_0xe1b948){if('object'!=typeof _0x4ad424||null===_0x4ad424)return'object\x20expected';if(void 0x0===_0xe1b948&&(_0xe1b948=0x0),_0xe1b948>_0x2da725['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x4ad424['channel']&&Object['hasOwnProperty']['call'](_0x4ad424,'channel')&&!_0x2da725['isString'](_0x4ad424['channel']))return'channel:\x20string\x20expected';if(null!=_0x4ad424['requestId']&&Object['hasOwnProperty']['call'](_0x4ad424,'requestId')&&!_0x2da725['isInteger'](_0x4ad424['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x4ad424['revisions']&&Object['hasOwnProperty']['call'](_0x4ad424,'revisions')){if(!Array['isArray'](_0x4ad424['revisions']))return'revisions:\x20array\x20expected';for(var _0x3c241e=0x0;_0x3c241e<_0x4ad424['revisions']['length'];++_0x3c241e){var _0x221109=_0x4efd5e['RevisionDescriptor']['verify'](_0x4ad424['revisions'][_0x3c241e],_0xe1b948+0x1);if(_0x221109)return'revisions.'+_0x221109;}}return null;},_0x2a77d2['fromObject']=function(_0x2febcc,_0x3b4d72){if(_0x2febcc instanceof _0x4efd5e['RevisionHistoryConnectResponse'])return _0x2febcc;if(!_0x2da725['isObject'](_0x2febcc))throw TypeError('.RevisionHistoryConnectResponse:\x20object\x20expected');if(void 0x0===_0x3b4d72&&(_0x3b4d72=0x0),_0x3b4d72>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x19b0a6=new _0x4efd5e['RevisionHistoryConnectResponse']();if(null!=_0x2febcc['channel']&&(_0x19b0a6['channel']=String(_0x2febcc['channel'])),null!=_0x2febcc['requestId']&&(_0x19b0a6['requestId']=_0x2febcc['requestId']>>>0x0),_0x2febcc['revisions']){if(!Array['isArray'](_0x2febcc['revisions']))throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20array\x20expected');_0x19b0a6['revisions']=[];for(var _0x3af0c1=0x0;_0x3af0c1<_0x2febcc['revisions']['length'];++_0x3af0c1){if(!_0x2da725['isObject'](_0x2febcc['revisions'][_0x3af0c1]))throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20object\x20expected');_0x19b0a6['revisions'][_0x3af0c1]=_0x4efd5e['RevisionDescriptor']['fromObject'](_0x2febcc['revisions'][_0x3af0c1],_0x3b4d72+0x1);}}return _0x19b0a6;},_0x2a77d2['toObject']=function(_0x147d91,_0x156d8a,_0x352325){if(_0x156d8a||(_0x156d8a={}),void 0x0===_0x352325&&(_0x352325=0x0),_0x352325>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x1ab98d={};if((_0x156d8a['arrays']||_0x156d8a['defaults'])&&(_0x1ab98d['revisions']=[]),_0x156d8a['defaults']&&(_0x1ab98d['channel']='',_0x1ab98d['requestId']=0x0),null!=_0x147d91['channel']&&Object['hasOwnProperty']['call'](_0x147d91,'channel')&&(_0x1ab98d['channel']=_0x147d91['channel']),null!=_0x147d91['requestId']&&Object['hasOwnProperty']['call'](_0x147d91,'requestId')&&(_0x1ab98d['requestId']=_0x147d91['requestId']),_0x147d91['revisions']&&_0x147d91['revisions']['length']){_0x1ab98d['revisions']=[];for(var _0x538f00=0x0;_0x538f00<_0x147d91['revisions']['length'];++_0x538f00)_0x1ab98d['revisions'][_0x538f00]=_0x4efd5e['RevisionDescriptor']['toObject'](_0x147d91['revisions'][_0x538f00],_0x156d8a,_0x352325+0x1);}return _0x1ab98d;},_0x2a77d2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x2a77d2['getTypeUrl']=function(_0x2fec6c){return void 0x0===_0x2fec6c&&(_0x2fec6c='type.googleapis.com'),_0x2fec6c+'/RevisionHistoryConnectResponse';},_0x2a77d2;}()),_0x4efd5e['RevisionHistoryUpdateRevisionsMessage']=(function(){function _0x2e1c30(_0xc73d03){if(this['revisions']=[],_0xc73d03){for(var _0x5b604a=Object['keys'](_0xc73d03),_0x2f3a1e=0x0;_0x2f3a1e<_0x5b604a['length'];++_0x2f3a1e)null!=_0xc73d03[_0x5b604a[_0x2f3a1e]]&&'__proto__'!==_0x5b604a[_0x2f3a1e]&&(this[_0x5b604a[_0x2f3a1e]]=_0xc73d03[_0x5b604a[_0x2f3a1e]]);}}return _0x2e1c30['prototype']['documentId']='',_0x2e1c30['prototype']['requestId']=0x0,_0x2e1c30['prototype']['revisions']=_0x2da725['emptyArray'],_0x2e1c30['create']=function(_0x1ffb9f){return new _0x2e1c30(_0x1ffb9f);},_0x2e1c30['encode']=function(_0x5a56ef,_0x340fe2,_0x4cee82){if(_0x340fe2||(_0x340fe2=_0x42a0bf['create']()),void 0x0===_0x4cee82&&(_0x4cee82=0x0),_0x4cee82>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x5a56ef['documentId']&&Object['hasOwnProperty']['call'](_0x5a56ef,'documentId')&&_0x340fe2['uint32'](0xa)['string'](_0x5a56ef['documentId']),null!=_0x5a56ef['requestId']&&Object['hasOwnProperty']['call'](_0x5a56ef,'requestId')&&_0x340fe2['uint32'](0x10)['uint32'](_0x5a56ef['requestId']),null!=_0x5a56ef['revisions']&&_0x5a56ef['revisions']['length']){for(var _0x7aa579=0x0;_0x7aa579<_0x5a56ef['revisions']['length'];++_0x7aa579)_0x4efd5e['RevisionDescriptor']['encode'](_0x5a56ef['revisions'][_0x7aa579],_0x340fe2['uint32'](0x1a)['fork'](),_0x4cee82+0x1)['ldelim']();}return _0x340fe2;},_0x2e1c30['encodeDelimited']=function(_0x25c547,_0x537a8c){return this['encode'](_0x25c547,_0x537a8c)['ldelim']();},_0x2e1c30['decode']=function(_0x3c58f0,_0x2f087d,_0xb15b6b,_0x459549){if(_0x3c58f0 instanceof _0x34a44d||(_0x3c58f0=_0x34a44d['create'](_0x3c58f0)),void 0x0===_0x459549&&(_0x459549=0x0),_0x459549>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xd8e1fd=void 0x0===_0x2f087d?_0x3c58f0['len']:_0x3c58f0['pos']+_0x2f087d,_0x321d90=new _0x4efd5e['RevisionHistoryUpdateRevisionsMessage']();_0x3c58f0['pos']<_0xd8e1fd;){var _0x4cfcde=_0x3c58f0['uint32']();if(_0x4cfcde===_0xb15b6b)break;switch(_0x4cfcde>>>0x3){case 0x1:_0x321d90['documentId']=_0x3c58f0['string']();break;case 0x2:_0x321d90['requestId']=_0x3c58f0['uint32']();break;case 0x3:_0x321d90['revisions']&&_0x321d90['revisions']['length']||(_0x321d90['revisions']=[]),_0x321d90['revisions']['push'](_0x4efd5e['RevisionDescriptor']['decode'](_0x3c58f0,_0x3c58f0['uint32'](),void 0x0,_0x459549+0x1));break;default:_0x3c58f0['skipType'](0x7&_0x4cfcde,_0x459549);}}return _0x321d90;},_0x2e1c30['decodeDelimited']=function(_0x3b8a12){return _0x3b8a12 instanceof _0x34a44d||(_0x3b8a12=new _0x34a44d(_0x3b8a12)),this['decode'](_0x3b8a12,_0x3b8a12['uint32']());},_0x2e1c30['verify']=function(_0x5483b8,_0x51ade6){if('object'!=typeof _0x5483b8||null===_0x5483b8)return'object\x20expected';if(void 0x0===_0x51ade6&&(_0x51ade6=0x0),_0x51ade6>_0x2da725['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x5483b8['documentId']&&Object['hasOwnProperty']['call'](_0x5483b8,'documentId')&&!_0x2da725['isString'](_0x5483b8['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x5483b8['requestId']&&Object['hasOwnProperty']['call'](_0x5483b8,'requestId')&&!_0x2da725['isInteger'](_0x5483b8['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x5483b8['revisions']&&Object['hasOwnProperty']['call'](_0x5483b8,'revisions')){if(!Array['isArray'](_0x5483b8['revisions']))return'revisions:\x20array\x20expected';for(var _0xee4625=0x0;_0xee4625<_0x5483b8['revisions']['length'];++_0xee4625){var _0x388829=_0x4efd5e['RevisionDescriptor']['verify'](_0x5483b8['revisions'][_0xee4625],_0x51ade6+0x1);if(_0x388829)return'revisions.'+_0x388829;}}return null;},_0x2e1c30['fromObject']=function(_0x492fe6,_0x458609){if(_0x492fe6 instanceof _0x4efd5e['RevisionHistoryUpdateRevisionsMessage'])return _0x492fe6;if(!_0x2da725['isObject'](_0x492fe6))throw TypeError('.RevisionHistoryUpdateRevisionsMessage:\x20object\x20expected');if(void 0x0===_0x458609&&(_0x458609=0x0),_0x458609>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x494892=new _0x4efd5e['RevisionHistoryUpdateRevisionsMessage']();if(null!=_0x492fe6['documentId']&&(_0x494892['documentId']=String(_0x492fe6['documentId'])),null!=_0x492fe6['requestId']&&(_0x494892['requestId']=_0x492fe6['requestId']>>>0x0),_0x492fe6['revisions']){if(!Array['isArray'](_0x492fe6['revisions']))throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20array\x20expected');_0x494892['revisions']=[];for(var _0x2963eb=0x0;_0x2963eb<_0x492fe6['revisions']['length'];++_0x2963eb){if(!_0x2da725['isObject'](_0x492fe6['revisions'][_0x2963eb]))throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20object\x20expected');_0x494892['revisions'][_0x2963eb]=_0x4efd5e['RevisionDescriptor']['fromObject'](_0x492fe6['revisions'][_0x2963eb],_0x458609+0x1);}}return _0x494892;},_0x2e1c30['toObject']=function(_0x17d628,_0x5555b5,_0x4b2c89){if(_0x5555b5||(_0x5555b5={}),void 0x0===_0x4b2c89&&(_0x4b2c89=0x0),_0x4b2c89>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x253062={};if((_0x5555b5['arrays']||_0x5555b5['defaults'])&&(_0x253062['revisions']=[]),_0x5555b5['defaults']&&(_0x253062['documentId']='',_0x253062['requestId']=0x0),null!=_0x17d628['documentId']&&Object['hasOwnProperty']['call'](_0x17d628,'documentId')&&(_0x253062['documentId']=_0x17d628['documentId']),null!=_0x17d628['requestId']&&Object['hasOwnProperty']['call'](_0x17d628,'requestId')&&(_0x253062['requestId']=_0x17d628['requestId']),_0x17d628['revisions']&&_0x17d628['revisions']['length']){_0x253062['revisions']=[];for(var _0x15127c=0x0;_0x15127c<_0x17d628['revisions']['length'];++_0x15127c)_0x253062['revisions'][_0x15127c]=_0x4efd5e['RevisionDescriptor']['toObject'](_0x17d628['revisions'][_0x15127c],_0x5555b5,_0x4b2c89+0x1);}return _0x253062;},_0x2e1c30['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x2e1c30['getTypeUrl']=function(_0x434408){return void 0x0===_0x434408&&(_0x434408='type.googleapis.com'),_0x434408+'/RevisionHistoryUpdateRevisionsMessage';},_0x2e1c30;}()),_0x4efd5e['RevisionHistoryReconnectMessage']=(function(){function _0x1a441b(_0x59b405){if(_0x59b405){for(var _0x14b0c6=Object['keys'](_0x59b405),_0x2fee13=0x0;_0x2fee13<_0x14b0c6['length'];++_0x2fee13)null!=_0x59b405[_0x14b0c6[_0x2fee13]]&&'__proto__'!==_0x14b0c6[_0x2fee13]&&(this[_0x14b0c6[_0x2fee13]]=_0x59b405[_0x14b0c6[_0x2fee13]]);}}return _0x1a441b['prototype']['documentId']='',_0x1a441b['prototype']['requestId']=0x0,_0x1a441b['create']=function(_0x2191a2){return new _0x1a441b(_0x2191a2);},_0x1a441b['encode']=function(_0x162c87,_0x28cb6e,_0x1a379b){if(_0x28cb6e||(_0x28cb6e=_0x42a0bf['create']()),void 0x0===_0x1a379b&&(_0x1a379b=0x0),_0x1a379b>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x162c87['documentId']&&Object['hasOwnProperty']['call'](_0x162c87,'documentId')&&_0x28cb6e['uint32'](0xa)['string'](_0x162c87['documentId']),null!=_0x162c87['requestId']&&Object['hasOwnProperty']['call'](_0x162c87,'requestId')&&_0x28cb6e['uint32'](0x10)['uint32'](_0x162c87['requestId']),_0x28cb6e;},_0x1a441b['encodeDelimited']=function(_0x449a4f,_0xf7ce54){return this['encode'](_0x449a4f,_0xf7ce54)['ldelim']();},_0x1a441b['decode']=function(_0x2cd1fd,_0x2c9370,_0x2d6570,_0x233989){if(_0x2cd1fd instanceof _0x34a44d||(_0x2cd1fd=_0x34a44d['create'](_0x2cd1fd)),void 0x0===_0x233989&&(_0x233989=0x0),_0x233989>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x23f911=void 0x0===_0x2c9370?_0x2cd1fd['len']:_0x2cd1fd['pos']+_0x2c9370,_0x151f01=new _0x4efd5e['RevisionHistoryReconnectMessage']();_0x2cd1fd['pos']<_0x23f911;){var _0x4e5595=_0x2cd1fd['uint32']();if(_0x4e5595===_0x2d6570)break;switch(_0x4e5595>>>0x3){case 0x1:_0x151f01['documentId']=_0x2cd1fd['string']();break;case 0x2:_0x151f01['requestId']=_0x2cd1fd['uint32']();break;default:_0x2cd1fd['skipType'](0x7&_0x4e5595,_0x233989);}}return _0x151f01;},_0x1a441b['decodeDelimited']=function(_0x72ecba){return _0x72ecba instanceof _0x34a44d||(_0x72ecba=new _0x34a44d(_0x72ecba)),this['decode'](_0x72ecba,_0x72ecba['uint32']());},_0x1a441b['verify']=function(_0x505144,_0x59e7f4){return'object'!=typeof _0x505144||null===_0x505144?'object\x20expected':(void 0x0===_0x59e7f4&&(_0x59e7f4=0x0),_0x59e7f4>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x505144['documentId']&&Object['hasOwnProperty']['call'](_0x505144,'documentId')&&!_0x2da725['isString'](_0x505144['documentId'])?'documentId:\x20string\x20expected':null!=_0x505144['requestId']&&Object['hasOwnProperty']['call'](_0x505144,'requestId')&&!_0x2da725['isInteger'](_0x505144['requestId'])?'requestId:\x20integer\x20expected':null);},_0x1a441b['fromObject']=function(_0x1c3a4e,_0xdb2a09){if(_0x1c3a4e instanceof _0x4efd5e['RevisionHistoryReconnectMessage'])return _0x1c3a4e;if(!_0x2da725['isObject'](_0x1c3a4e))throw TypeError('.RevisionHistoryReconnectMessage:\x20object\x20expected');if(void 0x0===_0xdb2a09&&(_0xdb2a09=0x0),_0xdb2a09>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1956ca=new _0x4efd5e['RevisionHistoryReconnectMessage']();return null!=_0x1c3a4e['documentId']&&(_0x1956ca['documentId']=String(_0x1c3a4e['documentId'])),null!=_0x1c3a4e['requestId']&&(_0x1956ca['requestId']=_0x1c3a4e['requestId']>>>0x0),_0x1956ca;},_0x1a441b['toObject']=function(_0x37396f,_0x48fddd,_0x4853df){if(_0x48fddd||(_0x48fddd={}),void 0x0===_0x4853df&&(_0x4853df=0x0),_0x4853df>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x511523={};return _0x48fddd['defaults']&&(_0x511523['documentId']='',_0x511523['requestId']=0x0),null!=_0x37396f['documentId']&&Object['hasOwnProperty']['call'](_0x37396f,'documentId')&&(_0x511523['documentId']=_0x37396f['documentId']),null!=_0x37396f['requestId']&&Object['hasOwnProperty']['call'](_0x37396f,'requestId')&&(_0x511523['requestId']=_0x37396f['requestId']),_0x511523;},_0x1a441b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x1a441b['getTypeUrl']=function(_0x337dd3){return void 0x0===_0x337dd3&&(_0x337dd3='type.googleapis.com'),_0x337dd3+'/RevisionHistoryReconnectMessage';},_0x1a441b;}()),_0x4efd5e['RevisionHistoryGetRevisionMessage']=(function(){function _0x51b4c7(_0x30e2fa){if(_0x30e2fa){for(var _0x4a1a10=Object['keys'](_0x30e2fa),_0x27896c=0x0;_0x27896c<_0x4a1a10['length'];++_0x27896c)null!=_0x30e2fa[_0x4a1a10[_0x27896c]]&&'__proto__'!==_0x4a1a10[_0x27896c]&&(this[_0x4a1a10[_0x27896c]]=_0x30e2fa[_0x4a1a10[_0x27896c]]);}}return _0x51b4c7['prototype']['documentId']='',_0x51b4c7['prototype']['revisionId']='',_0x51b4c7['create']=function(_0x5aa11f){return new _0x51b4c7(_0x5aa11f);},_0x51b4c7['encode']=function(_0x338144,_0x57850f,_0x3c2e87){if(_0x57850f||(_0x57850f=_0x42a0bf['create']()),void 0x0===_0x3c2e87&&(_0x3c2e87=0x0),_0x3c2e87>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x338144['documentId']&&Object['hasOwnProperty']['call'](_0x338144,'documentId')&&_0x57850f['uint32'](0xa)['string'](_0x338144['documentId']),null!=_0x338144['revisionId']&&Object['hasOwnProperty']['call'](_0x338144,'revisionId')&&_0x57850f['uint32'](0x12)['string'](_0x338144['revisionId']),_0x57850f;},_0x51b4c7['encodeDelimited']=function(_0x5df190,_0x35ab5a){return this['encode'](_0x5df190,_0x35ab5a)['ldelim']();},_0x51b4c7['decode']=function(_0x1ea1f7,_0x5662a1,_0x5f3b62,_0x2b554a){if(_0x1ea1f7 instanceof _0x34a44d||(_0x1ea1f7=_0x34a44d['create'](_0x1ea1f7)),void 0x0===_0x2b554a&&(_0x2b554a=0x0),_0x2b554a>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1d16de=void 0x0===_0x5662a1?_0x1ea1f7['len']:_0x1ea1f7['pos']+_0x5662a1,_0x31fab5=new _0x4efd5e['RevisionHistoryGetRevisionMessage']();_0x1ea1f7['pos']<_0x1d16de;){var _0x270bd5=_0x1ea1f7['uint32']();if(_0x270bd5===_0x5f3b62)break;switch(_0x270bd5>>>0x3){case 0x1:_0x31fab5['documentId']=_0x1ea1f7['string']();break;case 0x2:_0x31fab5['revisionId']=_0x1ea1f7['string']();break;default:_0x1ea1f7['skipType'](0x7&_0x270bd5,_0x2b554a);}}return _0x31fab5;},_0x51b4c7['decodeDelimited']=function(_0x312ed9){return _0x312ed9 instanceof _0x34a44d||(_0x312ed9=new _0x34a44d(_0x312ed9)),this['decode'](_0x312ed9,_0x312ed9['uint32']());},_0x51b4c7['verify']=function(_0x5577de,_0x10b422){return'object'!=typeof _0x5577de||null===_0x5577de?'object\x20expected':(void 0x0===_0x10b422&&(_0x10b422=0x0),_0x10b422>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5577de['documentId']&&Object['hasOwnProperty']['call'](_0x5577de,'documentId')&&!_0x2da725['isString'](_0x5577de['documentId'])?'documentId:\x20string\x20expected':null!=_0x5577de['revisionId']&&Object['hasOwnProperty']['call'](_0x5577de,'revisionId')&&!_0x2da725['isString'](_0x5577de['revisionId'])?'revisionId:\x20string\x20expected':null);},_0x51b4c7['fromObject']=function(_0xa10475,_0x53ab11){if(_0xa10475 instanceof _0x4efd5e['RevisionHistoryGetRevisionMessage'])return _0xa10475;if(!_0x2da725['isObject'](_0xa10475))throw TypeError('.RevisionHistoryGetRevisionMessage:\x20object\x20expected');if(void 0x0===_0x53ab11&&(_0x53ab11=0x0),_0x53ab11>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x20c319=new _0x4efd5e['RevisionHistoryGetRevisionMessage']();return null!=_0xa10475['documentId']&&(_0x20c319['documentId']=String(_0xa10475['documentId'])),null!=_0xa10475['revisionId']&&(_0x20c319['revisionId']=String(_0xa10475['revisionId'])),_0x20c319;},_0x51b4c7['toObject']=function(_0x32c71f,_0x4246f1,_0xf2c7df){if(_0x4246f1||(_0x4246f1={}),void 0x0===_0xf2c7df&&(_0xf2c7df=0x0),_0xf2c7df>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x248763={};return _0x4246f1['defaults']&&(_0x248763['documentId']='',_0x248763['revisionId']=''),null!=_0x32c71f['documentId']&&Object['hasOwnProperty']['call'](_0x32c71f,'documentId')&&(_0x248763['documentId']=_0x32c71f['documentId']),null!=_0x32c71f['revisionId']&&Object['hasOwnProperty']['call'](_0x32c71f,'revisionId')&&(_0x248763['revisionId']=_0x32c71f['revisionId']),_0x248763;},_0x51b4c7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x51b4c7['getTypeUrl']=function(_0x240d68){return void 0x0===_0x240d68&&(_0x240d68='type.googleapis.com'),_0x240d68+'/RevisionHistoryGetRevisionMessage';},_0x51b4c7;}()),_0x4efd5e['RevisionHistoryConnectMessage']=(function(){function _0x4f94a2(_0x97d602){if(_0x97d602){for(var _0x402839=Object['keys'](_0x97d602),_0x5c26ca=0x0;_0x5c26ca<_0x402839['length'];++_0x5c26ca)null!=_0x97d602[_0x402839[_0x5c26ca]]&&'__proto__'!==_0x402839[_0x5c26ca]&&(this[_0x402839[_0x5c26ca]]=_0x97d602[_0x402839[_0x5c26ca]]);}}return _0x4f94a2['prototype']['documentId']='',_0x4f94a2['create']=function(_0x43c85e){return new _0x4f94a2(_0x43c85e);},_0x4f94a2['encode']=function(_0x5eafd8,_0x55502b,_0x3b06ca){if(_0x55502b||(_0x55502b=_0x42a0bf['create']()),void 0x0===_0x3b06ca&&(_0x3b06ca=0x0),_0x3b06ca>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x5eafd8['documentId']&&Object['hasOwnProperty']['call'](_0x5eafd8,'documentId')&&_0x55502b['uint32'](0xa)['string'](_0x5eafd8['documentId']),_0x55502b;},_0x4f94a2['encodeDelimited']=function(_0x1777f8,_0x258f02){return this['encode'](_0x1777f8,_0x258f02)['ldelim']();},_0x4f94a2['decode']=function(_0x186d4b,_0x19fc07,_0x1e0bfc,_0x3a6fd6){if(_0x186d4b instanceof _0x34a44d||(_0x186d4b=_0x34a44d['create'](_0x186d4b)),void 0x0===_0x3a6fd6&&(_0x3a6fd6=0x0),_0x3a6fd6>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3c90e5=void 0x0===_0x19fc07?_0x186d4b['len']:_0x186d4b['pos']+_0x19fc07,_0x545b48=new _0x4efd5e['RevisionHistoryConnectMessage']();_0x186d4b['pos']<_0x3c90e5;){var _0x135223=_0x186d4b['uint32']();if(_0x135223===_0x1e0bfc)break;_0x135223>>>0x3==0x1?_0x545b48['documentId']=_0x186d4b['string']():_0x186d4b['skipType'](0x7&_0x135223,_0x3a6fd6);}return _0x545b48;},_0x4f94a2['decodeDelimited']=function(_0x58486e){return _0x58486e instanceof _0x34a44d||(_0x58486e=new _0x34a44d(_0x58486e)),this['decode'](_0x58486e,_0x58486e['uint32']());},_0x4f94a2['verify']=function(_0x16bc32,_0x2b3d3f){return'object'!=typeof _0x16bc32||null===_0x16bc32?'object\x20expected':(void 0x0===_0x2b3d3f&&(_0x2b3d3f=0x0),_0x2b3d3f>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x16bc32['documentId']&&Object['hasOwnProperty']['call'](_0x16bc32,'documentId')&&!_0x2da725['isString'](_0x16bc32['documentId'])?'documentId:\x20string\x20expected':null);},_0x4f94a2['fromObject']=function(_0x2c23c5,_0x4f2cf6){if(_0x2c23c5 instanceof _0x4efd5e['RevisionHistoryConnectMessage'])return _0x2c23c5;if(!_0x2da725['isObject'](_0x2c23c5))throw TypeError('.RevisionHistoryConnectMessage:\x20object\x20expected');if(void 0x0===_0x4f2cf6&&(_0x4f2cf6=0x0),_0x4f2cf6>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x751473=new _0x4efd5e['RevisionHistoryConnectMessage']();return null!=_0x2c23c5['documentId']&&(_0x751473['documentId']=String(_0x2c23c5['documentId'])),_0x751473;},_0x4f94a2['toObject']=function(_0x374c00,_0x24515e,_0x287609){if(_0x24515e||(_0x24515e={}),void 0x0===_0x287609&&(_0x287609=0x0),_0x287609>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x182d97={};return _0x24515e['defaults']&&(_0x182d97['documentId']=''),null!=_0x374c00['documentId']&&Object['hasOwnProperty']['call'](_0x374c00,'documentId')&&(_0x182d97['documentId']=_0x374c00['documentId']),_0x182d97;},_0x4f94a2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x4f94a2['getTypeUrl']=function(_0x2294d8){return void 0x0===_0x2294d8&&(_0x2294d8='type.googleapis.com'),_0x2294d8+'/RevisionHistoryConnectMessage';},_0x4f94a2;}()),_0x4efd5e['RevisionDescriptor']=(function(){function _0x1eb101(_0x357ca5){if(_0x357ca5){for(var _0x2fc365=Object['keys'](_0x357ca5),_0x38b04b=0x0;_0x38b04b<_0x2fc365['length'];++_0x38b04b)null!=_0x357ca5[_0x2fc365[_0x38b04b]]&&'__proto__'!==_0x2fc365[_0x38b04b]&&(this[_0x2fc365[_0x38b04b]]=_0x357ca5[_0x2fc365[_0x38b04b]]);}}return _0x1eb101['prototype']['revisionId']='',_0x1eb101['prototype']['name']='',_0x1eb101['prototype']['creatorId']='',_0x1eb101['prototype']['authorsIds']='',_0x1eb101['prototype']['diffData']='',_0x1eb101['prototype']['createdAt']='',_0x1eb101['prototype']['attributes']='',_0x1eb101['prototype']['toVersion']=0x0,_0x1eb101['prototype']['fromVersion']=0x0,_0x1eb101['prototype']['isEmptyCurrent']=!0x1,_0x1eb101['create']=function(_0xc5d655){return new _0x1eb101(_0xc5d655);},_0x1eb101['encode']=function(_0x41f42d,_0x1448a7,_0xba8b60){if(_0x1448a7||(_0x1448a7=_0x42a0bf['create']()),void 0x0===_0xba8b60&&(_0xba8b60=0x0),_0xba8b60>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x41f42d['revisionId']&&Object['hasOwnProperty']['call'](_0x41f42d,'revisionId')&&_0x1448a7['uint32'](0xa)['string'](_0x41f42d['revisionId']),null!=_0x41f42d['name']&&Object['hasOwnProperty']['call'](_0x41f42d,'name')&&_0x1448a7['uint32'](0x12)['string'](_0x41f42d['name']),null!=_0x41f42d['creatorId']&&Object['hasOwnProperty']['call'](_0x41f42d,'creatorId')&&_0x1448a7['uint32'](0x1a)['string'](_0x41f42d['creatorId']),null!=_0x41f42d['authorsIds']&&Object['hasOwnProperty']['call'](_0x41f42d,'authorsIds')&&_0x1448a7['uint32'](0x22)['string'](_0x41f42d['authorsIds']),null!=_0x41f42d['diffData']&&Object['hasOwnProperty']['call'](_0x41f42d,'diffData')&&_0x1448a7['uint32'](0x2a)['string'](_0x41f42d['diffData']),null!=_0x41f42d['createdAt']&&Object['hasOwnProperty']['call'](_0x41f42d,'createdAt')&&_0x1448a7['uint32'](0x32)['string'](_0x41f42d['createdAt']),null!=_0x41f42d['attributes']&&Object['hasOwnProperty']['call'](_0x41f42d,'attributes')&&_0x1448a7['uint32'](0x3a)['string'](_0x41f42d['attributes']),null!=_0x41f42d['toVersion']&&Object['hasOwnProperty']['call'](_0x41f42d,'toVersion')&&_0x1448a7['uint32'](0x40)['uint32'](_0x41f42d['toVersion']),null!=_0x41f42d['fromVersion']&&Object['hasOwnProperty']['call'](_0x41f42d,'fromVersion')&&_0x1448a7['uint32'](0x48)['uint32'](_0x41f42d['fromVersion']),null!=_0x41f42d['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x41f42d,'isEmptyCurrent')&&_0x1448a7['uint32'](0x50)['bool'](_0x41f42d['isEmptyCurrent']),_0x1448a7;},_0x1eb101['encodeDelimited']=function(_0x1fabdb,_0x4a2d8a){return this['encode'](_0x1fabdb,_0x4a2d8a)['ldelim']();},_0x1eb101['decode']=function(_0x9e59b,_0x471314,_0x1205be,_0x5979a9){if(_0x9e59b instanceof _0x34a44d||(_0x9e59b=_0x34a44d['create'](_0x9e59b)),void 0x0===_0x5979a9&&(_0x5979a9=0x0),_0x5979a9>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4e7ed1=void 0x0===_0x471314?_0x9e59b['len']:_0x9e59b['pos']+_0x471314,_0x315dfa=new _0x4efd5e['RevisionDescriptor']();_0x9e59b['pos']<_0x4e7ed1;){var _0x40119d=_0x9e59b['uint32']();if(_0x40119d===_0x1205be)break;switch(_0x40119d>>>0x3){case 0x1:_0x315dfa['revisionId']=_0x9e59b['string']();break;case 0x2:_0x315dfa['name']=_0x9e59b['string']();break;case 0x3:_0x315dfa['creatorId']=_0x9e59b['string']();break;case 0x4:_0x315dfa['authorsIds']=_0x9e59b['string']();break;case 0x5:_0x315dfa['diffData']=_0x9e59b['string']();break;case 0x6:_0x315dfa['createdAt']=_0x9e59b['string']();break;case 0x7:_0x315dfa['attributes']=_0x9e59b['string']();break;case 0x8:_0x315dfa['toVersion']=_0x9e59b['uint32']();break;case 0x9:_0x315dfa['fromVersion']=_0x9e59b['uint32']();break;case 0xa:_0x315dfa['isEmptyCurrent']=_0x9e59b['bool']();break;default:_0x9e59b['skipType'](0x7&_0x40119d,_0x5979a9);}}return _0x315dfa;},_0x1eb101['decodeDelimited']=function(_0x41825f){return _0x41825f instanceof _0x34a44d||(_0x41825f=new _0x34a44d(_0x41825f)),this['decode'](_0x41825f,_0x41825f['uint32']());},_0x1eb101['verify']=function(_0x7966b9,_0x2958a7){return'object'!=typeof _0x7966b9||null===_0x7966b9?'object\x20expected':(void 0x0===_0x2958a7&&(_0x2958a7=0x0),_0x2958a7>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x7966b9['revisionId']&&Object['hasOwnProperty']['call'](_0x7966b9,'revisionId')&&!_0x2da725['isString'](_0x7966b9['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x7966b9['name']&&Object['hasOwnProperty']['call'](_0x7966b9,'name')&&!_0x2da725['isString'](_0x7966b9['name'])?'name:\x20string\x20expected':null!=_0x7966b9['creatorId']&&Object['hasOwnProperty']['call'](_0x7966b9,'creatorId')&&!_0x2da725['isString'](_0x7966b9['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x7966b9['authorsIds']&&Object['hasOwnProperty']['call'](_0x7966b9,'authorsIds')&&!_0x2da725['isString'](_0x7966b9['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x7966b9['diffData']&&Object['hasOwnProperty']['call'](_0x7966b9,'diffData')&&!_0x2da725['isString'](_0x7966b9['diffData'])?'diffData:\x20string\x20expected':null!=_0x7966b9['createdAt']&&Object['hasOwnProperty']['call'](_0x7966b9,'createdAt')&&!_0x2da725['isString'](_0x7966b9['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x7966b9['attributes']&&Object['hasOwnProperty']['call'](_0x7966b9,'attributes')&&!_0x2da725['isString'](_0x7966b9['attributes'])?'attributes:\x20string\x20expected':null!=_0x7966b9['toVersion']&&Object['hasOwnProperty']['call'](_0x7966b9,'toVersion')&&!_0x2da725['isInteger'](_0x7966b9['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x7966b9['fromVersion']&&Object['hasOwnProperty']['call'](_0x7966b9,'fromVersion')&&!_0x2da725['isInteger'](_0x7966b9['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x7966b9['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x7966b9,'isEmptyCurrent')&&'boolean'!=typeof _0x7966b9['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null);},_0x1eb101['fromObject']=function(_0x121c11,_0xf7f70a){if(_0x121c11 instanceof _0x4efd5e['RevisionDescriptor'])return _0x121c11;if(!_0x2da725['isObject'](_0x121c11))throw TypeError('.RevisionDescriptor:\x20object\x20expected');if(void 0x0===_0xf7f70a&&(_0xf7f70a=0x0),_0xf7f70a>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1c8f32=new _0x4efd5e['RevisionDescriptor']();return null!=_0x121c11['revisionId']&&(_0x1c8f32['revisionId']=String(_0x121c11['revisionId'])),null!=_0x121c11['name']&&(_0x1c8f32['name']=String(_0x121c11['name'])),null!=_0x121c11['creatorId']&&(_0x1c8f32['creatorId']=String(_0x121c11['creatorId'])),null!=_0x121c11['authorsIds']&&(_0x1c8f32['authorsIds']=String(_0x121c11['authorsIds'])),null!=_0x121c11['diffData']&&(_0x1c8f32['diffData']=String(_0x121c11['diffData'])),null!=_0x121c11['createdAt']&&(_0x1c8f32['createdAt']=String(_0x121c11['createdAt'])),null!=_0x121c11['attributes']&&(_0x1c8f32['attributes']=String(_0x121c11['attributes'])),null!=_0x121c11['toVersion']&&(_0x1c8f32['toVersion']=_0x121c11['toVersion']>>>0x0),null!=_0x121c11['fromVersion']&&(_0x1c8f32['fromVersion']=_0x121c11['fromVersion']>>>0x0),null!=_0x121c11['isEmptyCurrent']&&(_0x1c8f32['isEmptyCurrent']=Boolean(_0x121c11['isEmptyCurrent'])),_0x1c8f32;},_0x1eb101['toObject']=function(_0x4312e7,_0x2b7104,_0x5f1be8){if(_0x2b7104||(_0x2b7104={}),void 0x0===_0x5f1be8&&(_0x5f1be8=0x0),_0x5f1be8>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x552fe7={};return _0x2b7104['defaults']&&(_0x552fe7['revisionId']='',_0x552fe7['name']='',_0x552fe7['creatorId']='',_0x552fe7['authorsIds']='',_0x552fe7['diffData']='',_0x552fe7['createdAt']='',_0x552fe7['attributes']='',_0x552fe7['toVersion']=0x0,_0x552fe7['fromVersion']=0x0,_0x552fe7['isEmptyCurrent']=!0x1),null!=_0x4312e7['revisionId']&&Object['hasOwnProperty']['call'](_0x4312e7,'revisionId')&&(_0x552fe7['revisionId']=_0x4312e7['revisionId']),null!=_0x4312e7['name']&&Object['hasOwnProperty']['call'](_0x4312e7,'name')&&(_0x552fe7['name']=_0x4312e7['name']),null!=_0x4312e7['creatorId']&&Object['hasOwnProperty']['call'](_0x4312e7,'creatorId')&&(_0x552fe7['creatorId']=_0x4312e7['creatorId']),null!=_0x4312e7['authorsIds']&&Object['hasOwnProperty']['call'](_0x4312e7,'authorsIds')&&(_0x552fe7['authorsIds']=_0x4312e7['authorsIds']),null!=_0x4312e7['diffData']&&Object['hasOwnProperty']['call'](_0x4312e7,'diffData')&&(_0x552fe7['diffData']=_0x4312e7['diffData']),null!=_0x4312e7['createdAt']&&Object['hasOwnProperty']['call'](_0x4312e7,'createdAt')&&(_0x552fe7['createdAt']=_0x4312e7['createdAt']),null!=_0x4312e7['attributes']&&Object['hasOwnProperty']['call'](_0x4312e7,'attributes')&&(_0x552fe7['attributes']=_0x4312e7['attributes']),null!=_0x4312e7['toVersion']&&Object['hasOwnProperty']['call'](_0x4312e7,'toVersion')&&(_0x552fe7['toVersion']=_0x4312e7['toVersion']),null!=_0x4312e7['fromVersion']&&Object['hasOwnProperty']['call'](_0x4312e7,'fromVersion')&&(_0x552fe7['fromVersion']=_0x4312e7['fromVersion']),null!=_0x4312e7['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x4312e7,'isEmptyCurrent')&&(_0x552fe7['isEmptyCurrent']=_0x4312e7['isEmptyCurrent']),_0x552fe7;},_0x1eb101['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x1eb101['getTypeUrl']=function(_0x3f0c67){return void 0x0===_0x3f0c67&&(_0x3f0c67='type.googleapis.com'),_0x3f0c67+'/RevisionDescriptor';},_0x1eb101;}()),_0x4efd5e['IsEditorBundleUploadedResponse']=(function(){function _0x13e518(_0x2d3694){if(_0x2d3694){for(var _0x1c9d8a=Object['keys'](_0x2d3694),_0x13a3d9=0x0;_0x13a3d9<_0x1c9d8a['length'];++_0x13a3d9)null!=_0x2d3694[_0x1c9d8a[_0x13a3d9]]&&'__proto__'!==_0x1c9d8a[_0x13a3d9]&&(this[_0x1c9d8a[_0x13a3d9]]=_0x2d3694[_0x1c9d8a[_0x13a3d9]]);}}return _0x13e518['prototype']['isUploaded']=!0x1,_0x13e518['create']=function(_0x3a094b){return new _0x13e518(_0x3a094b);},_0x13e518['encode']=function(_0x28e30c,_0x4e9b23,_0x426a5c){if(_0x4e9b23||(_0x4e9b23=_0x42a0bf['create']()),void 0x0===_0x426a5c&&(_0x426a5c=0x0),_0x426a5c>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x28e30c['isUploaded']&&Object['hasOwnProperty']['call'](_0x28e30c,'isUploaded')&&_0x4e9b23['uint32'](0x8)['bool'](_0x28e30c['isUploaded']),_0x4e9b23;},_0x13e518['encodeDelimited']=function(_0x4451ef,_0x42f2f1){return this['encode'](_0x4451ef,_0x42f2f1)['ldelim']();},_0x13e518['decode']=function(_0x1fffa3,_0x51092c,_0x147069,_0x350d3e){if(_0x1fffa3 instanceof _0x34a44d||(_0x1fffa3=_0x34a44d['create'](_0x1fffa3)),void 0x0===_0x350d3e&&(_0x350d3e=0x0),_0x350d3e>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x250a9e=void 0x0===_0x51092c?_0x1fffa3['len']:_0x1fffa3['pos']+_0x51092c,_0x5730f2=new _0x4efd5e['IsEditorBundleUploadedResponse']();_0x1fffa3['pos']<_0x250a9e;){var _0x472320=_0x1fffa3['uint32']();if(_0x472320===_0x147069)break;_0x472320>>>0x3==0x1?_0x5730f2['isUploaded']=_0x1fffa3['bool']():_0x1fffa3['skipType'](0x7&_0x472320,_0x350d3e);}return _0x5730f2;},_0x13e518['decodeDelimited']=function(_0x81514f){return _0x81514f instanceof _0x34a44d||(_0x81514f=new _0x34a44d(_0x81514f)),this['decode'](_0x81514f,_0x81514f['uint32']());},_0x13e518['verify']=function(_0x1a8029,_0x1a1933){return'object'!=typeof _0x1a8029||null===_0x1a8029?'object\x20expected':(void 0x0===_0x1a1933&&(_0x1a1933=0x0),_0x1a1933>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1a8029['isUploaded']&&Object['hasOwnProperty']['call'](_0x1a8029,'isUploaded')&&'boolean'!=typeof _0x1a8029['isUploaded']?'isUploaded:\x20boolean\x20expected':null);},_0x13e518['fromObject']=function(_0x4f0ab1,_0xe3655f){if(_0x4f0ab1 instanceof _0x4efd5e['IsEditorBundleUploadedResponse'])return _0x4f0ab1;if(!_0x2da725['isObject'](_0x4f0ab1))throw TypeError('.IsEditorBundleUploadedResponse:\x20object\x20expected');if(void 0x0===_0xe3655f&&(_0xe3655f=0x0),_0xe3655f>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2a4936=new _0x4efd5e['IsEditorBundleUploadedResponse']();return null!=_0x4f0ab1['isUploaded']&&(_0x2a4936['isUploaded']=Boolean(_0x4f0ab1['isUploaded'])),_0x2a4936;},_0x13e518['toObject']=function(_0x28fabf,_0x28999e,_0x57a2b5){if(_0x28999e||(_0x28999e={}),void 0x0===_0x57a2b5&&(_0x57a2b5=0x0),_0x57a2b5>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0xe79ea3={};return _0x28999e['defaults']&&(_0xe79ea3['isUploaded']=!0x1),null!=_0x28fabf['isUploaded']&&Object['hasOwnProperty']['call'](_0x28fabf,'isUploaded')&&(_0xe79ea3['isUploaded']=_0x28fabf['isUploaded']),_0xe79ea3;},_0x13e518['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x13e518['getTypeUrl']=function(_0x49c32f){return void 0x0===_0x49c32f&&(_0x49c32f='type.googleapis.com'),_0x49c32f+'/IsEditorBundleUploadedResponse';},_0x13e518;}()),_0x4efd5e['IsEditorBundleUploadedMessage']=(function(){function _0xa9ce75(_0x3c41c3){if(_0x3c41c3){for(var _0x583c44=Object['keys'](_0x3c41c3),_0x26da63=0x0;_0x26da63<_0x583c44['length'];++_0x26da63)null!=_0x3c41c3[_0x583c44[_0x26da63]]&&'__proto__'!==_0x583c44[_0x26da63]&&(this[_0x583c44[_0x26da63]]=_0x3c41c3[_0x583c44[_0x26da63]]);}}return _0xa9ce75['prototype']['bundleVersion']='',_0xa9ce75['create']=function(_0x403bac){return new _0xa9ce75(_0x403bac);},_0xa9ce75['encode']=function(_0x2a578e,_0x198afc,_0x780e96){if(_0x198afc||(_0x198afc=_0x42a0bf['create']()),void 0x0===_0x780e96&&(_0x780e96=0x0),_0x780e96>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x2a578e['bundleVersion']&&Object['hasOwnProperty']['call'](_0x2a578e,'bundleVersion')&&_0x198afc['uint32'](0xa)['string'](_0x2a578e['bundleVersion']),_0x198afc;},_0xa9ce75['encodeDelimited']=function(_0xf202c0,_0x238e8f){return this['encode'](_0xf202c0,_0x238e8f)['ldelim']();},_0xa9ce75['decode']=function(_0x49d13f,_0x5a495c,_0x48d6f6,_0xc9a120){if(_0x49d13f instanceof _0x34a44d||(_0x49d13f=_0x34a44d['create'](_0x49d13f)),void 0x0===_0xc9a120&&(_0xc9a120=0x0),_0xc9a120>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4dd37d=void 0x0===_0x5a495c?_0x49d13f['len']:_0x49d13f['pos']+_0x5a495c,_0x2ce3b1=new _0x4efd5e['IsEditorBundleUploadedMessage']();_0x49d13f['pos']<_0x4dd37d;){var _0xe8bf41=_0x49d13f['uint32']();if(_0xe8bf41===_0x48d6f6)break;_0xe8bf41>>>0x3==0x1?_0x2ce3b1['bundleVersion']=_0x49d13f['string']():_0x49d13f['skipType'](0x7&_0xe8bf41,_0xc9a120);}return _0x2ce3b1;},_0xa9ce75['decodeDelimited']=function(_0x38c03d){return _0x38c03d instanceof _0x34a44d||(_0x38c03d=new _0x34a44d(_0x38c03d)),this['decode'](_0x38c03d,_0x38c03d['uint32']());},_0xa9ce75['verify']=function(_0x7efbc9,_0x44773f){return'object'!=typeof _0x7efbc9||null===_0x7efbc9?'object\x20expected':(void 0x0===_0x44773f&&(_0x44773f=0x0),_0x44773f>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x7efbc9['bundleVersion']&&Object['hasOwnProperty']['call'](_0x7efbc9,'bundleVersion')&&!_0x2da725['isString'](_0x7efbc9['bundleVersion'])?'bundleVersion:\x20string\x20expected':null);},_0xa9ce75['fromObject']=function(_0x334f1e,_0x4896fd){if(_0x334f1e instanceof _0x4efd5e['IsEditorBundleUploadedMessage'])return _0x334f1e;if(!_0x2da725['isObject'](_0x334f1e))throw TypeError('.IsEditorBundleUploadedMessage:\x20object\x20expected');if(void 0x0===_0x4896fd&&(_0x4896fd=0x0),_0x4896fd>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5d80a0=new _0x4efd5e['IsEditorBundleUploadedMessage']();return null!=_0x334f1e['bundleVersion']&&(_0x5d80a0['bundleVersion']=String(_0x334f1e['bundleVersion'])),_0x5d80a0;},_0xa9ce75['toObject']=function(_0xf28ef6,_0x371017,_0x1174cb){if(_0x371017||(_0x371017={}),void 0x0===_0x1174cb&&(_0x1174cb=0x0),_0x1174cb>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x3d5344={};return _0x371017['defaults']&&(_0x3d5344['bundleVersion']=''),null!=_0xf28ef6['bundleVersion']&&Object['hasOwnProperty']['call'](_0xf28ef6,'bundleVersion')&&(_0x3d5344['bundleVersion']=_0xf28ef6['bundleVersion']),_0x3d5344;},_0xa9ce75['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0xa9ce75['getTypeUrl']=function(_0x211070){return void 0x0===_0x211070&&(_0x211070='type.googleapis.com'),_0x211070+'/IsEditorBundleUploadedMessage';},_0xa9ce75;}()),_0x4efd5e['KeyValueDescriptor']=(function(){function _0x434654(_0x3c2c18){if(_0x3c2c18){for(var _0x56cbc0=Object['keys'](_0x3c2c18),_0x46818c=0x0;_0x46818c<_0x56cbc0['length'];++_0x46818c)null!=_0x3c2c18[_0x56cbc0[_0x46818c]]&&'__proto__'!==_0x56cbc0[_0x46818c]&&(this[_0x56cbc0[_0x46818c]]=_0x3c2c18[_0x56cbc0[_0x46818c]]);}}return _0x434654['prototype']['key']='',_0x434654['prototype']['value']='',_0x434654['create']=function(_0x497677){return new _0x434654(_0x497677);},_0x434654['encode']=function(_0x4a22e0,_0x3453e1,_0x2324c3){if(_0x3453e1||(_0x3453e1=_0x42a0bf['create']()),void 0x0===_0x2324c3&&(_0x2324c3=0x0),_0x2324c3>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x4a22e0['key']&&Object['hasOwnProperty']['call'](_0x4a22e0,'key')&&_0x3453e1['uint32'](0xa)['string'](_0x4a22e0['key']),null!=_0x4a22e0['value']&&Object['hasOwnProperty']['call'](_0x4a22e0,'value')&&_0x3453e1['uint32'](0x12)['string'](_0x4a22e0['value']),_0x3453e1;},_0x434654['encodeDelimited']=function(_0x51a7aa,_0x45afdc){return this['encode'](_0x51a7aa,_0x45afdc)['ldelim']();},_0x434654['decode']=function(_0x2d09a7,_0x38efcb,_0xc6c046,_0xbd1298){if(_0x2d09a7 instanceof _0x34a44d||(_0x2d09a7=_0x34a44d['create'](_0x2d09a7)),void 0x0===_0xbd1298&&(_0xbd1298=0x0),_0xbd1298>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x237ec9=void 0x0===_0x38efcb?_0x2d09a7['len']:_0x2d09a7['pos']+_0x38efcb,_0xd678dd=new _0x4efd5e['KeyValueDescriptor']();_0x2d09a7['pos']<_0x237ec9;){var _0x1a7f12=_0x2d09a7['uint32']();if(_0x1a7f12===_0xc6c046)break;switch(_0x1a7f12>>>0x3){case 0x1:_0xd678dd['key']=_0x2d09a7['string']();break;case 0x2:_0xd678dd['value']=_0x2d09a7['string']();break;default:_0x2d09a7['skipType'](0x7&_0x1a7f12,_0xbd1298);}}return _0xd678dd;},_0x434654['decodeDelimited']=function(_0x4acca9){return _0x4acca9 instanceof _0x34a44d||(_0x4acca9=new _0x34a44d(_0x4acca9)),this['decode'](_0x4acca9,_0x4acca9['uint32']());},_0x434654['verify']=function(_0x1dfd90,_0x113a9c){return'object'!=typeof _0x1dfd90||null===_0x1dfd90?'object\x20expected':(void 0x0===_0x113a9c&&(_0x113a9c=0x0),_0x113a9c>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1dfd90['key']&&Object['hasOwnProperty']['call'](_0x1dfd90,'key')&&!_0x2da725['isString'](_0x1dfd90['key'])?'key:\x20string\x20expected':null!=_0x1dfd90['value']&&Object['hasOwnProperty']['call'](_0x1dfd90,'value')&&!_0x2da725['isString'](_0x1dfd90['value'])?'value:\x20string\x20expected':null);},_0x434654['fromObject']=function(_0x1d10ec,_0x1aa5cb){if(_0x1d10ec instanceof _0x4efd5e['KeyValueDescriptor'])return _0x1d10ec;if(!_0x2da725['isObject'](_0x1d10ec))throw TypeError('.KeyValueDescriptor:\x20object\x20expected');if(void 0x0===_0x1aa5cb&&(_0x1aa5cb=0x0),_0x1aa5cb>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2eabbf=new _0x4efd5e['KeyValueDescriptor']();return null!=_0x1d10ec['key']&&(_0x2eabbf['key']=String(_0x1d10ec['key'])),null!=_0x1d10ec['value']&&(_0x2eabbf['value']=String(_0x1d10ec['value'])),_0x2eabbf;},_0x434654['toObject']=function(_0x2532b2,_0x2552de,_0x5ede95){if(_0x2552de||(_0x2552de={}),void 0x0===_0x5ede95&&(_0x5ede95=0x0),_0x5ede95>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0xa73e31={};return _0x2552de['defaults']&&(_0xa73e31['key']='',_0xa73e31['value']=''),null!=_0x2532b2['key']&&Object['hasOwnProperty']['call'](_0x2532b2,'key')&&(_0xa73e31['key']=_0x2532b2['key']),null!=_0x2532b2['value']&&Object['hasOwnProperty']['call'](_0x2532b2,'value')&&(_0xa73e31['value']=_0x2532b2['value']),_0xa73e31;},_0x434654['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x434654['getTypeUrl']=function(_0x334902){return void 0x0===_0x334902&&(_0x334902='type.googleapis.com'),_0x334902+'/KeyValueDescriptor';},_0x434654;}()),_0x4efd5e['CommentsV2GetDocumentThreadsResponse']=(function(){function _0x537708(_0x563495){if(this['threads']=[],this['threadsV2']=[],_0x563495){for(var _0x463a3e=Object['keys'](_0x563495),_0x3b7439=0x0;_0x3b7439<_0x463a3e['length'];++_0x3b7439)null!=_0x563495[_0x463a3e[_0x3b7439]]&&'__proto__'!==_0x463a3e[_0x3b7439]&&(this[_0x463a3e[_0x3b7439]]=_0x563495[_0x463a3e[_0x3b7439]]);}}return _0x537708['prototype']['threads']=_0x2da725['emptyArray'],_0x537708['prototype']['threadsV2']=_0x2da725['emptyArray'],_0x537708['create']=function(_0x5e9348){return new _0x537708(_0x5e9348);},_0x537708['encode']=function(_0x72b432,_0x3bb8ed,_0x381326){if(_0x3bb8ed||(_0x3bb8ed=_0x42a0bf['create']()),void 0x0===_0x381326&&(_0x381326=0x0),_0x381326>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x72b432['threads']&&_0x72b432['threads']['length']){for(var _0x4a44c4=0x0;_0x4a44c4<_0x72b432['threads']['length'];++_0x4a44c4)_0x3bb8ed['uint32'](0xa)['string'](_0x72b432['threads'][_0x4a44c4]);}if(null!=_0x72b432['threadsV2']&&_0x72b432['threadsV2']['length']){for(_0x4a44c4=0x0;_0x4a44c4<_0x72b432['threadsV2']['length'];++_0x4a44c4)_0x4efd5e['CommentsThreadDescriptor']['encode'](_0x72b432['threadsV2'][_0x4a44c4],_0x3bb8ed['uint32'](0x12)['fork'](),_0x381326+0x1)['ldelim']();}return _0x3bb8ed;},_0x537708['encodeDelimited']=function(_0x476a4f,_0x368646){return this['encode'](_0x476a4f,_0x368646)['ldelim']();},_0x537708['decode']=function(_0x1326a9,_0x523af7,_0x4b6135,_0x3fa9ca){if(_0x1326a9 instanceof _0x34a44d||(_0x1326a9=_0x34a44d['create'](_0x1326a9)),void 0x0===_0x3fa9ca&&(_0x3fa9ca=0x0),_0x3fa9ca>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5accb1=void 0x0===_0x523af7?_0x1326a9['len']:_0x1326a9['pos']+_0x523af7,_0x20bd8c=new _0x4efd5e['CommentsV2GetDocumentThreadsResponse']();_0x1326a9['pos']<_0x5accb1;){var _0xa22622=_0x1326a9['uint32']();if(_0xa22622===_0x4b6135)break;switch(_0xa22622>>>0x3){case 0x1:_0x20bd8c['threads']&&_0x20bd8c['threads']['length']||(_0x20bd8c['threads']=[]),_0x20bd8c['threads']['push'](_0x1326a9['string']());break;case 0x2:_0x20bd8c['threadsV2']&&_0x20bd8c['threadsV2']['length']||(_0x20bd8c['threadsV2']=[]),_0x20bd8c['threadsV2']['push'](_0x4efd5e['CommentsThreadDescriptor']['decode'](_0x1326a9,_0x1326a9['uint32'](),void 0x0,_0x3fa9ca+0x1));break;default:_0x1326a9['skipType'](0x7&_0xa22622,_0x3fa9ca);}}return _0x20bd8c;},_0x537708['decodeDelimited']=function(_0x2c6026){return _0x2c6026 instanceof _0x34a44d||(_0x2c6026=new _0x34a44d(_0x2c6026)),this['decode'](_0x2c6026,_0x2c6026['uint32']());},_0x537708['verify']=function(_0x22b3b0,_0xfbd741){if('object'!=typeof _0x22b3b0||null===_0x22b3b0)return'object\x20expected';if(void 0x0===_0xfbd741&&(_0xfbd741=0x0),_0xfbd741>_0x2da725['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x22b3b0['threads']&&Object['hasOwnProperty']['call'](_0x22b3b0,'threads')){if(!Array['isArray'](_0x22b3b0['threads']))return'threads:\x20array\x20expected';for(var _0x4a5a42=0x0;_0x4a5a42<_0x22b3b0['threads']['length'];++_0x4a5a42)if(!_0x2da725['isString'](_0x22b3b0['threads'][_0x4a5a42]))return'threads:\x20string[]\x20expected';}if(null!=_0x22b3b0['threadsV2']&&Object['hasOwnProperty']['call'](_0x22b3b0,'threadsV2')){if(!Array['isArray'](_0x22b3b0['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x4a5a42=0x0;_0x4a5a42<_0x22b3b0['threadsV2']['length'];++_0x4a5a42){var _0x698862=_0x4efd5e['CommentsThreadDescriptor']['verify'](_0x22b3b0['threadsV2'][_0x4a5a42],_0xfbd741+0x1);if(_0x698862)return'threadsV2.'+_0x698862;}}return null;},_0x537708['fromObject']=function(_0x2e3335,_0x195383){if(_0x2e3335 instanceof _0x4efd5e['CommentsV2GetDocumentThreadsResponse'])return _0x2e3335;if(!_0x2da725['isObject'](_0x2e3335))throw TypeError('.CommentsV2GetDocumentThreadsResponse:\x20object\x20expected');if(void 0x0===_0x195383&&(_0x195383=0x0),_0x195383>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x353cb5=new _0x4efd5e['CommentsV2GetDocumentThreadsResponse']();if(_0x2e3335['threads']){if(!Array['isArray'](_0x2e3335['threads']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threads:\x20array\x20expected');_0x353cb5['threads']=[];for(var _0xd4e9e7=0x0;_0xd4e9e7<_0x2e3335['threads']['length'];++_0xd4e9e7)_0x353cb5['threads'][_0xd4e9e7]=String(_0x2e3335['threads'][_0xd4e9e7]);}if(_0x2e3335['threadsV2']){if(!Array['isArray'](_0x2e3335['threadsV2']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20array\x20expected');for(_0x353cb5['threadsV2']=[],_0xd4e9e7=0x0;_0xd4e9e7<_0x2e3335['threadsV2']['length'];++_0xd4e9e7){if(!_0x2da725['isObject'](_0x2e3335['threadsV2'][_0xd4e9e7]))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20object\x20expected');_0x353cb5['threadsV2'][_0xd4e9e7]=_0x4efd5e['CommentsThreadDescriptor']['fromObject'](_0x2e3335['threadsV2'][_0xd4e9e7],_0x195383+0x1);}}return _0x353cb5;},_0x537708['toObject']=function(_0x199365,_0x5b7b11,_0x433069){if(_0x5b7b11||(_0x5b7b11={}),void 0x0===_0x433069&&(_0x433069=0x0),_0x433069>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x21a81e={};if((_0x5b7b11['arrays']||_0x5b7b11['defaults'])&&(_0x21a81e['threads']=[],_0x21a81e['threadsV2']=[]),_0x199365['threads']&&_0x199365['threads']['length']){_0x21a81e['threads']=[];for(var _0x4a6c8a=0x0;_0x4a6c8a<_0x199365['threads']['length'];++_0x4a6c8a)_0x21a81e['threads'][_0x4a6c8a]=_0x199365['threads'][_0x4a6c8a];}if(_0x199365['threadsV2']&&_0x199365['threadsV2']['length']){for(_0x21a81e['threadsV2']=[],_0x4a6c8a=0x0;_0x4a6c8a<_0x199365['threadsV2']['length'];++_0x4a6c8a)_0x21a81e['threadsV2'][_0x4a6c8a]=_0x4efd5e['CommentsThreadDescriptor']['toObject'](_0x199365['threadsV2'][_0x4a6c8a],_0x5b7b11,_0x433069+0x1);}return _0x21a81e;},_0x537708['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x537708['getTypeUrl']=function(_0x2d4bc6){return void 0x0===_0x2d4bc6&&(_0x2d4bc6='type.googleapis.com'),_0x2d4bc6+'/CommentsV2GetDocumentThreadsResponse';},_0x537708;}()),_0x4efd5e['CommentsV2GetCommentThreadResponse']=(function(){function _0xe60647(_0x125db8){if(this['comments']=[],this['commentsV2']=[],_0x125db8){for(var _0x24a1a9=Object['keys'](_0x125db8),_0x33cc4d=0x0;_0x33cc4d<_0x24a1a9['length'];++_0x33cc4d)null!=_0x125db8[_0x24a1a9[_0x33cc4d]]&&'__proto__'!==_0x24a1a9[_0x33cc4d]&&(this[_0x24a1a9[_0x33cc4d]]=_0x125db8[_0x24a1a9[_0x33cc4d]]);}}return _0xe60647['prototype']['commentThreadId']='',_0xe60647['prototype']['comments']=_0x2da725['emptyArray'],_0xe60647['prototype']['commentsV2']=_0x2da725['emptyArray'],_0xe60647['prototype']['resolvedAt']='',_0xe60647['prototype']['resolvedBy']='',_0xe60647['prototype']['context']='',_0xe60647['prototype']['createdAt']='',_0xe60647['prototype']['deletedAt']='',_0xe60647['prototype']['attributes']='',_0xe60647['prototype']['unlinkedAt']='',_0xe60647['create']=function(_0x4d3da0){return new _0xe60647(_0x4d3da0);},_0xe60647['encode']=function(_0x39b4ea,_0x149c99,_0x282c3e){if(_0x149c99||(_0x149c99=_0x42a0bf['create']()),void 0x0===_0x282c3e&&(_0x282c3e=0x0),_0x282c3e>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x39b4ea['commentThreadId']&&Object['hasOwnProperty']['call'](_0x39b4ea,'commentThreadId')&&_0x149c99['uint32'](0xa)['string'](_0x39b4ea['commentThreadId']),null!=_0x39b4ea['comments']&&_0x39b4ea['comments']['length']){for(var _0x41964b=0x0;_0x41964b<_0x39b4ea['comments']['length'];++_0x41964b)_0x149c99['uint32'](0x12)['string'](_0x39b4ea['comments'][_0x41964b]);}if(null!=_0x39b4ea['commentsV2']&&_0x39b4ea['commentsV2']['length']){for(_0x41964b=0x0;_0x41964b<_0x39b4ea['commentsV2']['length'];++_0x41964b)_0x4efd5e['CommentDescriptor']['encode'](_0x39b4ea['commentsV2'][_0x41964b],_0x149c99['uint32'](0x1a)['fork'](),_0x282c3e+0x1)['ldelim']();}return null!=_0x39b4ea['resolvedAt']&&Object['hasOwnProperty']['call'](_0x39b4ea,'resolvedAt')&&_0x149c99['uint32'](0x22)['string'](_0x39b4ea['resolvedAt']),null!=_0x39b4ea['resolvedBy']&&Object['hasOwnProperty']['call'](_0x39b4ea,'resolvedBy')&&_0x149c99['uint32'](0x2a)['string'](_0x39b4ea['resolvedBy']),null!=_0x39b4ea['context']&&Object['hasOwnProperty']['call'](_0x39b4ea,'context')&&_0x149c99['uint32'](0x32)['string'](_0x39b4ea['context']),null!=_0x39b4ea['createdAt']&&Object['hasOwnProperty']['call'](_0x39b4ea,'createdAt')&&_0x149c99['uint32'](0x3a)['string'](_0x39b4ea['createdAt']),null!=_0x39b4ea['deletedAt']&&Object['hasOwnProperty']['call'](_0x39b4ea,'deletedAt')&&_0x149c99['uint32'](0x42)['string'](_0x39b4ea['deletedAt']),null!=_0x39b4ea['attributes']&&Object['hasOwnProperty']['call'](_0x39b4ea,'attributes')&&_0x149c99['uint32'](0x4a)['string'](_0x39b4ea['attributes']),null!=_0x39b4ea['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x39b4ea,'unlinkedAt')&&_0x149c99['uint32'](0x52)['string'](_0x39b4ea['unlinkedAt']),_0x149c99;},_0xe60647['encodeDelimited']=function(_0x456adf,_0x3f1b87){return this['encode'](_0x456adf,_0x3f1b87)['ldelim']();},_0xe60647['decode']=function(_0xf90d41,_0x5bb9d2,_0x41743f,_0x77ec50){if(_0xf90d41 instanceof _0x34a44d||(_0xf90d41=_0x34a44d['create'](_0xf90d41)),void 0x0===_0x77ec50&&(_0x77ec50=0x0),_0x77ec50>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4a2985=void 0x0===_0x5bb9d2?_0xf90d41['len']:_0xf90d41['pos']+_0x5bb9d2,_0xfec3ca=new _0x4efd5e['CommentsV2GetCommentThreadResponse']();_0xf90d41['pos']<_0x4a2985;){var _0x489649=_0xf90d41['uint32']();if(_0x489649===_0x41743f)break;switch(_0x489649>>>0x3){case 0x1:_0xfec3ca['commentThreadId']=_0xf90d41['string']();break;case 0x2:_0xfec3ca['comments']&&_0xfec3ca['comments']['length']||(_0xfec3ca['comments']=[]),_0xfec3ca['comments']['push'](_0xf90d41['string']());break;case 0x3:_0xfec3ca['commentsV2']&&_0xfec3ca['commentsV2']['length']||(_0xfec3ca['commentsV2']=[]),_0xfec3ca['commentsV2']['push'](_0x4efd5e['CommentDescriptor']['decode'](_0xf90d41,_0xf90d41['uint32'](),void 0x0,_0x77ec50+0x1));break;case 0x4:_0xfec3ca['resolvedAt']=_0xf90d41['string']();break;case 0x5:_0xfec3ca['resolvedBy']=_0xf90d41['string']();break;case 0x6:_0xfec3ca['context']=_0xf90d41['string']();break;case 0x7:_0xfec3ca['createdAt']=_0xf90d41['string']();break;case 0x8:_0xfec3ca['deletedAt']=_0xf90d41['string']();break;case 0x9:_0xfec3ca['attributes']=_0xf90d41['string']();break;case 0xa:_0xfec3ca['unlinkedAt']=_0xf90d41['string']();break;default:_0xf90d41['skipType'](0x7&_0x489649,_0x77ec50);}}return _0xfec3ca;},_0xe60647['decodeDelimited']=function(_0x38121b){return _0x38121b instanceof _0x34a44d||(_0x38121b=new _0x34a44d(_0x38121b)),this['decode'](_0x38121b,_0x38121b['uint32']());},_0xe60647['verify']=function(_0x5afdc9,_0xeb3c4e){if('object'!=typeof _0x5afdc9||null===_0x5afdc9)return'object\x20expected';if(void 0x0===_0xeb3c4e&&(_0xeb3c4e=0x0),_0xeb3c4e>_0x2da725['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x5afdc9['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5afdc9,'commentThreadId')&&!_0x2da725['isString'](_0x5afdc9['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x5afdc9['comments']&&Object['hasOwnProperty']['call'](_0x5afdc9,'comments')){if(!Array['isArray'](_0x5afdc9['comments']))return'comments:\x20array\x20expected';for(var _0x83f0d9=0x0;_0x83f0d9<_0x5afdc9['comments']['length'];++_0x83f0d9)if(!_0x2da725['isString'](_0x5afdc9['comments'][_0x83f0d9]))return'comments:\x20string[]\x20expected';}if(null!=_0x5afdc9['commentsV2']&&Object['hasOwnProperty']['call'](_0x5afdc9,'commentsV2')){if(!Array['isArray'](_0x5afdc9['commentsV2']))return'commentsV2:\x20array\x20expected';for(_0x83f0d9=0x0;_0x83f0d9<_0x5afdc9['commentsV2']['length'];++_0x83f0d9){var _0x20fa13=_0x4efd5e['CommentDescriptor']['verify'](_0x5afdc9['commentsV2'][_0x83f0d9],_0xeb3c4e+0x1);if(_0x20fa13)return'commentsV2.'+_0x20fa13;}}return null!=_0x5afdc9['resolvedAt']&&Object['hasOwnProperty']['call'](_0x5afdc9,'resolvedAt')&&!_0x2da725['isString'](_0x5afdc9['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x5afdc9['resolvedBy']&&Object['hasOwnProperty']['call'](_0x5afdc9,'resolvedBy')&&!_0x2da725['isString'](_0x5afdc9['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x5afdc9['context']&&Object['hasOwnProperty']['call'](_0x5afdc9,'context')&&!_0x2da725['isString'](_0x5afdc9['context'])?'context:\x20string\x20expected':null!=_0x5afdc9['createdAt']&&Object['hasOwnProperty']['call'](_0x5afdc9,'createdAt')&&!_0x2da725['isString'](_0x5afdc9['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x5afdc9['deletedAt']&&Object['hasOwnProperty']['call'](_0x5afdc9,'deletedAt')&&!_0x2da725['isString'](_0x5afdc9['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x5afdc9['attributes']&&Object['hasOwnProperty']['call'](_0x5afdc9,'attributes')&&!_0x2da725['isString'](_0x5afdc9['attributes'])?'attributes:\x20string\x20expected':null!=_0x5afdc9['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x5afdc9,'unlinkedAt')&&!_0x2da725['isString'](_0x5afdc9['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0xe60647['fromObject']=function(_0x242530,_0x40c78e){if(_0x242530 instanceof _0x4efd5e['CommentsV2GetCommentThreadResponse'])return _0x242530;if(!_0x2da725['isObject'](_0x242530))throw TypeError('.CommentsV2GetCommentThreadResponse:\x20object\x20expected');if(void 0x0===_0x40c78e&&(_0x40c78e=0x0),_0x40c78e>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4c6f9a=new _0x4efd5e['CommentsV2GetCommentThreadResponse']();if(null!=_0x242530['commentThreadId']&&(_0x4c6f9a['commentThreadId']=String(_0x242530['commentThreadId'])),_0x242530['comments']){if(!Array['isArray'](_0x242530['comments']))throw TypeError('.CommentsV2GetCommentThreadResponse.comments:\x20array\x20expected');_0x4c6f9a['comments']=[];for(var _0x41b9a3=0x0;_0x41b9a3<_0x242530['comments']['length'];++_0x41b9a3)_0x4c6f9a['comments'][_0x41b9a3]=String(_0x242530['comments'][_0x41b9a3]);}if(_0x242530['commentsV2']){if(!Array['isArray'](_0x242530['commentsV2']))throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20array\x20expected');for(_0x4c6f9a['commentsV2']=[],_0x41b9a3=0x0;_0x41b9a3<_0x242530['commentsV2']['length'];++_0x41b9a3){if(!_0x2da725['isObject'](_0x242530['commentsV2'][_0x41b9a3]))throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20object\x20expected');_0x4c6f9a['commentsV2'][_0x41b9a3]=_0x4efd5e['CommentDescriptor']['fromObject'](_0x242530['commentsV2'][_0x41b9a3],_0x40c78e+0x1);}}return null!=_0x242530['resolvedAt']&&(_0x4c6f9a['resolvedAt']=String(_0x242530['resolvedAt'])),null!=_0x242530['resolvedBy']&&(_0x4c6f9a['resolvedBy']=String(_0x242530['resolvedBy'])),null!=_0x242530['context']&&(_0x4c6f9a['context']=String(_0x242530['context'])),null!=_0x242530['createdAt']&&(_0x4c6f9a['createdAt']=String(_0x242530['createdAt'])),null!=_0x242530['deletedAt']&&(_0x4c6f9a['deletedAt']=String(_0x242530['deletedAt'])),null!=_0x242530['attributes']&&(_0x4c6f9a['attributes']=String(_0x242530['attributes'])),null!=_0x242530['unlinkedAt']&&(_0x4c6f9a['unlinkedAt']=String(_0x242530['unlinkedAt'])),_0x4c6f9a;},_0xe60647['toObject']=function(_0x1bdb46,_0x59ed93,_0xf410f){if(_0x59ed93||(_0x59ed93={}),void 0x0===_0xf410f&&(_0xf410f=0x0),_0xf410f>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x487b3b={};if((_0x59ed93['arrays']||_0x59ed93['defaults'])&&(_0x487b3b['comments']=[],_0x487b3b['commentsV2']=[]),_0x59ed93['defaults']&&(_0x487b3b['commentThreadId']='',_0x487b3b['resolvedAt']='',_0x487b3b['resolvedBy']='',_0x487b3b['context']='',_0x487b3b['createdAt']='',_0x487b3b['deletedAt']='',_0x487b3b['attributes']='',_0x487b3b['unlinkedAt']=''),null!=_0x1bdb46['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1bdb46,'commentThreadId')&&(_0x487b3b['commentThreadId']=_0x1bdb46['commentThreadId']),_0x1bdb46['comments']&&_0x1bdb46['comments']['length']){_0x487b3b['comments']=[];for(var _0x5c147f=0x0;_0x5c147f<_0x1bdb46['comments']['length'];++_0x5c147f)_0x487b3b['comments'][_0x5c147f]=_0x1bdb46['comments'][_0x5c147f];}if(_0x1bdb46['commentsV2']&&_0x1bdb46['commentsV2']['length']){for(_0x487b3b['commentsV2']=[],_0x5c147f=0x0;_0x5c147f<_0x1bdb46['commentsV2']['length'];++_0x5c147f)_0x487b3b['commentsV2'][_0x5c147f]=_0x4efd5e['CommentDescriptor']['toObject'](_0x1bdb46['commentsV2'][_0x5c147f],_0x59ed93,_0xf410f+0x1);}return null!=_0x1bdb46['resolvedAt']&&Object['hasOwnProperty']['call'](_0x1bdb46,'resolvedAt')&&(_0x487b3b['resolvedAt']=_0x1bdb46['resolvedAt']),null!=_0x1bdb46['resolvedBy']&&Object['hasOwnProperty']['call'](_0x1bdb46,'resolvedBy')&&(_0x487b3b['resolvedBy']=_0x1bdb46['resolvedBy']),null!=_0x1bdb46['context']&&Object['hasOwnProperty']['call'](_0x1bdb46,'context')&&(_0x487b3b['context']=_0x1bdb46['context']),null!=_0x1bdb46['createdAt']&&Object['hasOwnProperty']['call'](_0x1bdb46,'createdAt')&&(_0x487b3b['createdAt']=_0x1bdb46['createdAt']),null!=_0x1bdb46['deletedAt']&&Object['hasOwnProperty']['call'](_0x1bdb46,'deletedAt')&&(_0x487b3b['deletedAt']=_0x1bdb46['deletedAt']),null!=_0x1bdb46['attributes']&&Object['hasOwnProperty']['call'](_0x1bdb46,'attributes')&&(_0x487b3b['attributes']=_0x1bdb46['attributes']),null!=_0x1bdb46['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x1bdb46,'unlinkedAt')&&(_0x487b3b['unlinkedAt']=_0x1bdb46['unlinkedAt']),_0x487b3b;},_0xe60647['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0xe60647['getTypeUrl']=function(_0x407351){return void 0x0===_0x407351&&(_0x407351='type.googleapis.com'),_0x407351+'/CommentsV2GetCommentThreadResponse';},_0xe60647;}()),_0x4efd5e['CommentsV2ConnectResponse']=(function(){function _0x3b2a5b(_0x4669ff){if(this['threads']=[],this['threadsV2']=[],_0x4669ff){for(var _0x33214c=Object['keys'](_0x4669ff),_0xc3b400=0x0;_0xc3b400<_0x33214c['length'];++_0xc3b400)null!=_0x4669ff[_0x33214c[_0xc3b400]]&&'__proto__'!==_0x33214c[_0xc3b400]&&(this[_0x33214c[_0xc3b400]]=_0x4669ff[_0x33214c[_0xc3b400]]);}}return _0x3b2a5b['prototype']['channel']='',_0x3b2a5b['prototype']['threads']=_0x2da725['emptyArray'],_0x3b2a5b['prototype']['threadsV2']=_0x2da725['emptyArray'],_0x3b2a5b['create']=function(_0x3f293f){return new _0x3b2a5b(_0x3f293f);},_0x3b2a5b['encode']=function(_0x3154af,_0x4c083a,_0x43723e){if(_0x4c083a||(_0x4c083a=_0x42a0bf['create']()),void 0x0===_0x43723e&&(_0x43723e=0x0),_0x43723e>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x3154af['channel']&&Object['hasOwnProperty']['call'](_0x3154af,'channel')&&_0x4c083a['uint32'](0xa)['string'](_0x3154af['channel']),null!=_0x3154af['threads']&&_0x3154af['threads']['length']){for(var _0x316d68=0x0;_0x316d68<_0x3154af['threads']['length'];++_0x316d68)_0x4c083a['uint32'](0x12)['string'](_0x3154af['threads'][_0x316d68]);}if(null!=_0x3154af['threadsV2']&&_0x3154af['threadsV2']['length']){for(_0x316d68=0x0;_0x316d68<_0x3154af['threadsV2']['length'];++_0x316d68)_0x4efd5e['CommentsThreadDescriptor']['encode'](_0x3154af['threadsV2'][_0x316d68],_0x4c083a['uint32'](0x1a)['fork'](),_0x43723e+0x1)['ldelim']();}return _0x4c083a;},_0x3b2a5b['encodeDelimited']=function(_0x855332,_0x2da955){return this['encode'](_0x855332,_0x2da955)['ldelim']();},_0x3b2a5b['decode']=function(_0xd6d1c3,_0x24ba10,_0x1184e5,_0xd38fdb){if(_0xd6d1c3 instanceof _0x34a44d||(_0xd6d1c3=_0x34a44d['create'](_0xd6d1c3)),void 0x0===_0xd38fdb&&(_0xd38fdb=0x0),_0xd38fdb>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x545855=void 0x0===_0x24ba10?_0xd6d1c3['len']:_0xd6d1c3['pos']+_0x24ba10,_0x19e60c=new _0x4efd5e['CommentsV2ConnectResponse']();_0xd6d1c3['pos']<_0x545855;){var _0xa8addb=_0xd6d1c3['uint32']();if(_0xa8addb===_0x1184e5)break;switch(_0xa8addb>>>0x3){case 0x1:_0x19e60c['channel']=_0xd6d1c3['string']();break;case 0x2:_0x19e60c['threads']&&_0x19e60c['threads']['length']||(_0x19e60c['threads']=[]),_0x19e60c['threads']['push'](_0xd6d1c3['string']());break;case 0x3:_0x19e60c['threadsV2']&&_0x19e60c['threadsV2']['length']||(_0x19e60c['threadsV2']=[]),_0x19e60c['threadsV2']['push'](_0x4efd5e['CommentsThreadDescriptor']['decode'](_0xd6d1c3,_0xd6d1c3['uint32'](),void 0x0,_0xd38fdb+0x1));break;default:_0xd6d1c3['skipType'](0x7&_0xa8addb,_0xd38fdb);}}return _0x19e60c;},_0x3b2a5b['decodeDelimited']=function(_0x59ceb9){return _0x59ceb9 instanceof _0x34a44d||(_0x59ceb9=new _0x34a44d(_0x59ceb9)),this['decode'](_0x59ceb9,_0x59ceb9['uint32']());},_0x3b2a5b['verify']=function(_0x19de5c,_0xcd1b0e){if('object'!=typeof _0x19de5c||null===_0x19de5c)return'object\x20expected';if(void 0x0===_0xcd1b0e&&(_0xcd1b0e=0x0),_0xcd1b0e>_0x2da725['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x19de5c['channel']&&Object['hasOwnProperty']['call'](_0x19de5c,'channel')&&!_0x2da725['isString'](_0x19de5c['channel']))return'channel:\x20string\x20expected';if(null!=_0x19de5c['threads']&&Object['hasOwnProperty']['call'](_0x19de5c,'threads')){if(!Array['isArray'](_0x19de5c['threads']))return'threads:\x20array\x20expected';for(var _0x3ea37e=0x0;_0x3ea37e<_0x19de5c['threads']['length'];++_0x3ea37e)if(!_0x2da725['isString'](_0x19de5c['threads'][_0x3ea37e]))return'threads:\x20string[]\x20expected';}if(null!=_0x19de5c['threadsV2']&&Object['hasOwnProperty']['call'](_0x19de5c,'threadsV2')){if(!Array['isArray'](_0x19de5c['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x3ea37e=0x0;_0x3ea37e<_0x19de5c['threadsV2']['length'];++_0x3ea37e){var _0x4805ff=_0x4efd5e['CommentsThreadDescriptor']['verify'](_0x19de5c['threadsV2'][_0x3ea37e],_0xcd1b0e+0x1);if(_0x4805ff)return'threadsV2.'+_0x4805ff;}}return null;},_0x3b2a5b['fromObject']=function(_0x9e3c83,_0x49b520){if(_0x9e3c83 instanceof _0x4efd5e['CommentsV2ConnectResponse'])return _0x9e3c83;if(!_0x2da725['isObject'](_0x9e3c83))throw TypeError('.CommentsV2ConnectResponse:\x20object\x20expected');if(void 0x0===_0x49b520&&(_0x49b520=0x0),_0x49b520>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2c62ae=new _0x4efd5e['CommentsV2ConnectResponse']();if(null!=_0x9e3c83['channel']&&(_0x2c62ae['channel']=String(_0x9e3c83['channel'])),_0x9e3c83['threads']){if(!Array['isArray'](_0x9e3c83['threads']))throw TypeError('.CommentsV2ConnectResponse.threads:\x20array\x20expected');_0x2c62ae['threads']=[];for(var _0x2a2ac3=0x0;_0x2a2ac3<_0x9e3c83['threads']['length'];++_0x2a2ac3)_0x2c62ae['threads'][_0x2a2ac3]=String(_0x9e3c83['threads'][_0x2a2ac3]);}if(_0x9e3c83['threadsV2']){if(!Array['isArray'](_0x9e3c83['threadsV2']))throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20array\x20expected');for(_0x2c62ae['threadsV2']=[],_0x2a2ac3=0x0;_0x2a2ac3<_0x9e3c83['threadsV2']['length'];++_0x2a2ac3){if(!_0x2da725['isObject'](_0x9e3c83['threadsV2'][_0x2a2ac3]))throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20object\x20expected');_0x2c62ae['threadsV2'][_0x2a2ac3]=_0x4efd5e['CommentsThreadDescriptor']['fromObject'](_0x9e3c83['threadsV2'][_0x2a2ac3],_0x49b520+0x1);}}return _0x2c62ae;},_0x3b2a5b['toObject']=function(_0x486330,_0x346947,_0x1ca5d7){if(_0x346947||(_0x346947={}),void 0x0===_0x1ca5d7&&(_0x1ca5d7=0x0),_0x1ca5d7>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x3a1971={};if((_0x346947['arrays']||_0x346947['defaults'])&&(_0x3a1971['threads']=[],_0x3a1971['threadsV2']=[]),_0x346947['defaults']&&(_0x3a1971['channel']=''),null!=_0x486330['channel']&&Object['hasOwnProperty']['call'](_0x486330,'channel')&&(_0x3a1971['channel']=_0x486330['channel']),_0x486330['threads']&&_0x486330['threads']['length']){_0x3a1971['threads']=[];for(var _0x4e9ee3=0x0;_0x4e9ee3<_0x486330['threads']['length'];++_0x4e9ee3)_0x3a1971['threads'][_0x4e9ee3]=_0x486330['threads'][_0x4e9ee3];}if(_0x486330['threadsV2']&&_0x486330['threadsV2']['length']){for(_0x3a1971['threadsV2']=[],_0x4e9ee3=0x0;_0x4e9ee3<_0x486330['threadsV2']['length'];++_0x4e9ee3)_0x3a1971['threadsV2'][_0x4e9ee3]=_0x4efd5e['CommentsThreadDescriptor']['toObject'](_0x486330['threadsV2'][_0x4e9ee3],_0x346947,_0x1ca5d7+0x1);}return _0x3a1971;},_0x3b2a5b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x3b2a5b['getTypeUrl']=function(_0x5896e5){return void 0x0===_0x5896e5&&(_0x5896e5='type.googleapis.com'),_0x5896e5+'/CommentsV2ConnectResponse';},_0x3b2a5b;}()),_0x4efd5e['CommentsV2AddCommentResponse']=(function(){function _0x2b21ed(_0x36887a){if(_0x36887a){for(var _0x127ca5=Object['keys'](_0x36887a),_0x13740f=0x0;_0x13740f<_0x127ca5['length'];++_0x13740f)null!=_0x36887a[_0x127ca5[_0x13740f]]&&'__proto__'!==_0x127ca5[_0x13740f]&&(this[_0x127ca5[_0x13740f]]=_0x36887a[_0x127ca5[_0x13740f]]);}}return _0x2b21ed['prototype']['commentThreadId']='',_0x2b21ed['prototype']['commentId']='',_0x2b21ed['prototype']['createdAt']='',_0x2b21ed['create']=function(_0x1fb626){return new _0x2b21ed(_0x1fb626);},_0x2b21ed['encode']=function(_0x1d8bf0,_0x367fee,_0x4e57f3){if(_0x367fee||(_0x367fee=_0x42a0bf['create']()),void 0x0===_0x4e57f3&&(_0x4e57f3=0x0),_0x4e57f3>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x1d8bf0['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1d8bf0,'commentThreadId')&&_0x367fee['uint32'](0xa)['string'](_0x1d8bf0['commentThreadId']),null!=_0x1d8bf0['commentId']&&Object['hasOwnProperty']['call'](_0x1d8bf0,'commentId')&&_0x367fee['uint32'](0x12)['string'](_0x1d8bf0['commentId']),null!=_0x1d8bf0['createdAt']&&Object['hasOwnProperty']['call'](_0x1d8bf0,'createdAt')&&_0x367fee['uint32'](0x1a)['string'](_0x1d8bf0['createdAt']),_0x367fee;},_0x2b21ed['encodeDelimited']=function(_0x116b32,_0x12f104){return this['encode'](_0x116b32,_0x12f104)['ldelim']();},_0x2b21ed['decode']=function(_0x2cd8de,_0x5aeae7,_0x2e9a0b,_0x3991d2){if(_0x2cd8de instanceof _0x34a44d||(_0x2cd8de=_0x34a44d['create'](_0x2cd8de)),void 0x0===_0x3991d2&&(_0x3991d2=0x0),_0x3991d2>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x253e38=void 0x0===_0x5aeae7?_0x2cd8de['len']:_0x2cd8de['pos']+_0x5aeae7,_0x72eee=new _0x4efd5e['CommentsV2AddCommentResponse']();_0x2cd8de['pos']<_0x253e38;){var _0x2dbd9b=_0x2cd8de['uint32']();if(_0x2dbd9b===_0x2e9a0b)break;switch(_0x2dbd9b>>>0x3){case 0x1:_0x72eee['commentThreadId']=_0x2cd8de['string']();break;case 0x2:_0x72eee['commentId']=_0x2cd8de['string']();break;case 0x3:_0x72eee['createdAt']=_0x2cd8de['string']();break;default:_0x2cd8de['skipType'](0x7&_0x2dbd9b,_0x3991d2);}}return _0x72eee;},_0x2b21ed['decodeDelimited']=function(_0x4d1d2e){return _0x4d1d2e instanceof _0x34a44d||(_0x4d1d2e=new _0x34a44d(_0x4d1d2e)),this['decode'](_0x4d1d2e,_0x4d1d2e['uint32']());},_0x2b21ed['verify']=function(_0x37fa9f,_0x5d1736){return'object'!=typeof _0x37fa9f||null===_0x37fa9f?'object\x20expected':(void 0x0===_0x5d1736&&(_0x5d1736=0x0),_0x5d1736>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x37fa9f['commentThreadId']&&Object['hasOwnProperty']['call'](_0x37fa9f,'commentThreadId')&&!_0x2da725['isString'](_0x37fa9f['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x37fa9f['commentId']&&Object['hasOwnProperty']['call'](_0x37fa9f,'commentId')&&!_0x2da725['isString'](_0x37fa9f['commentId'])?'commentId:\x20string\x20expected':null!=_0x37fa9f['createdAt']&&Object['hasOwnProperty']['call'](_0x37fa9f,'createdAt')&&!_0x2da725['isString'](_0x37fa9f['createdAt'])?'createdAt:\x20string\x20expected':null);},_0x2b21ed['fromObject']=function(_0x3c6998,_0x2507a0){if(_0x3c6998 instanceof _0x4efd5e['CommentsV2AddCommentResponse'])return _0x3c6998;if(!_0x2da725['isObject'](_0x3c6998))throw TypeError('.CommentsV2AddCommentResponse:\x20object\x20expected');if(void 0x0===_0x2507a0&&(_0x2507a0=0x0),_0x2507a0>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xd52f61=new _0x4efd5e['CommentsV2AddCommentResponse']();return null!=_0x3c6998['commentThreadId']&&(_0xd52f61['commentThreadId']=String(_0x3c6998['commentThreadId'])),null!=_0x3c6998['commentId']&&(_0xd52f61['commentId']=String(_0x3c6998['commentId'])),null!=_0x3c6998['createdAt']&&(_0xd52f61['createdAt']=String(_0x3c6998['createdAt'])),_0xd52f61;},_0x2b21ed['toObject']=function(_0x11c6a9,_0x51af6a,_0xa86321){if(_0x51af6a||(_0x51af6a={}),void 0x0===_0xa86321&&(_0xa86321=0x0),_0xa86321>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x433246={};return _0x51af6a['defaults']&&(_0x433246['commentThreadId']='',_0x433246['commentId']='',_0x433246['createdAt']=''),null!=_0x11c6a9['commentThreadId']&&Object['hasOwnProperty']['call'](_0x11c6a9,'commentThreadId')&&(_0x433246['commentThreadId']=_0x11c6a9['commentThreadId']),null!=_0x11c6a9['commentId']&&Object['hasOwnProperty']['call'](_0x11c6a9,'commentId')&&(_0x433246['commentId']=_0x11c6a9['commentId']),null!=_0x11c6a9['createdAt']&&Object['hasOwnProperty']['call'](_0x11c6a9,'createdAt')&&(_0x433246['createdAt']=_0x11c6a9['createdAt']),_0x433246;},_0x2b21ed['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x2b21ed['getTypeUrl']=function(_0x1337c0){return void 0x0===_0x1337c0&&(_0x1337c0='type.googleapis.com'),_0x1337c0+'/CommentsV2AddCommentResponse';},_0x2b21ed;}()),_0x4efd5e['CommentsV2ResolveCommentThreadResponse']=(function(){function _0x4c1991(_0x1aaae2){if(_0x1aaae2){for(var _0x3717f=Object['keys'](_0x1aaae2),_0x243167=0x0;_0x243167<_0x3717f['length'];++_0x243167)null!=_0x1aaae2[_0x3717f[_0x243167]]&&'__proto__'!==_0x3717f[_0x243167]&&(this[_0x3717f[_0x243167]]=_0x1aaae2[_0x3717f[_0x243167]]);}}return _0x4c1991['prototype']['commentThreadId']='',_0x4c1991['prototype']['documentId']='',_0x4c1991['prototype']['resolvedAt']='',_0x4c1991['prototype']['resolvedBy']='',_0x4c1991['create']=function(_0xf62e5e){return new _0x4c1991(_0xf62e5e);},_0x4c1991['encode']=function(_0x57c4f1,_0x653e10,_0x16f5b1){if(_0x653e10||(_0x653e10=_0x42a0bf['create']()),void 0x0===_0x16f5b1&&(_0x16f5b1=0x0),_0x16f5b1>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x57c4f1['commentThreadId']&&Object['hasOwnProperty']['call'](_0x57c4f1,'commentThreadId')&&_0x653e10['uint32'](0xa)['string'](_0x57c4f1['commentThreadId']),null!=_0x57c4f1['documentId']&&Object['hasOwnProperty']['call'](_0x57c4f1,'documentId')&&_0x653e10['uint32'](0x12)['string'](_0x57c4f1['documentId']),null!=_0x57c4f1['resolvedAt']&&Object['hasOwnProperty']['call'](_0x57c4f1,'resolvedAt')&&_0x653e10['uint32'](0x1a)['string'](_0x57c4f1['resolvedAt']),null!=_0x57c4f1['resolvedBy']&&Object['hasOwnProperty']['call'](_0x57c4f1,'resolvedBy')&&_0x653e10['uint32'](0x22)['string'](_0x57c4f1['resolvedBy']),_0x653e10;},_0x4c1991['encodeDelimited']=function(_0x1fe844,_0x35b77f){return this['encode'](_0x1fe844,_0x35b77f)['ldelim']();},_0x4c1991['decode']=function(_0x10691e,_0x2a944f,_0x5a3508,_0x1b410f){if(_0x10691e instanceof _0x34a44d||(_0x10691e=_0x34a44d['create'](_0x10691e)),void 0x0===_0x1b410f&&(_0x1b410f=0x0),_0x1b410f>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2ae7d8=void 0x0===_0x2a944f?_0x10691e['len']:_0x10691e['pos']+_0x2a944f,_0x47fbde=new _0x4efd5e['CommentsV2ResolveCommentThreadResponse']();_0x10691e['pos']<_0x2ae7d8;){var _0x5a244e=_0x10691e['uint32']();if(_0x5a244e===_0x5a3508)break;switch(_0x5a244e>>>0x3){case 0x1:_0x47fbde['commentThreadId']=_0x10691e['string']();break;case 0x2:_0x47fbde['documentId']=_0x10691e['string']();break;case 0x3:_0x47fbde['resolvedAt']=_0x10691e['string']();break;case 0x4:_0x47fbde['resolvedBy']=_0x10691e['string']();break;default:_0x10691e['skipType'](0x7&_0x5a244e,_0x1b410f);}}return _0x47fbde;},_0x4c1991['decodeDelimited']=function(_0x52591a){return _0x52591a instanceof _0x34a44d||(_0x52591a=new _0x34a44d(_0x52591a)),this['decode'](_0x52591a,_0x52591a['uint32']());},_0x4c1991['verify']=function(_0x396110,_0x2935c2){return'object'!=typeof _0x396110||null===_0x396110?'object\x20expected':(void 0x0===_0x2935c2&&(_0x2935c2=0x0),_0x2935c2>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x396110['commentThreadId']&&Object['hasOwnProperty']['call'](_0x396110,'commentThreadId')&&!_0x2da725['isString'](_0x396110['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x396110['documentId']&&Object['hasOwnProperty']['call'](_0x396110,'documentId')&&!_0x2da725['isString'](_0x396110['documentId'])?'documentId:\x20string\x20expected':null!=_0x396110['resolvedAt']&&Object['hasOwnProperty']['call'](_0x396110,'resolvedAt')&&!_0x2da725['isString'](_0x396110['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x396110['resolvedBy']&&Object['hasOwnProperty']['call'](_0x396110,'resolvedBy')&&!_0x2da725['isString'](_0x396110['resolvedBy'])?'resolvedBy:\x20string\x20expected':null);},_0x4c1991['fromObject']=function(_0x58fdb3,_0x2265f1){if(_0x58fdb3 instanceof _0x4efd5e['CommentsV2ResolveCommentThreadResponse'])return _0x58fdb3;if(!_0x2da725['isObject'](_0x58fdb3))throw TypeError('.CommentsV2ResolveCommentThreadResponse:\x20object\x20expected');if(void 0x0===_0x2265f1&&(_0x2265f1=0x0),_0x2265f1>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x16b2dc=new _0x4efd5e['CommentsV2ResolveCommentThreadResponse']();return null!=_0x58fdb3['commentThreadId']&&(_0x16b2dc['commentThreadId']=String(_0x58fdb3['commentThreadId'])),null!=_0x58fdb3['documentId']&&(_0x16b2dc['documentId']=String(_0x58fdb3['documentId'])),null!=_0x58fdb3['resolvedAt']&&(_0x16b2dc['resolvedAt']=String(_0x58fdb3['resolvedAt'])),null!=_0x58fdb3['resolvedBy']&&(_0x16b2dc['resolvedBy']=String(_0x58fdb3['resolvedBy'])),_0x16b2dc;},_0x4c1991['toObject']=function(_0x59ed97,_0x27440b,_0x1b9bdc){if(_0x27440b||(_0x27440b={}),void 0x0===_0x1b9bdc&&(_0x1b9bdc=0x0),_0x1b9bdc>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x13148c={};return _0x27440b['defaults']&&(_0x13148c['commentThreadId']='',_0x13148c['documentId']='',_0x13148c['resolvedAt']='',_0x13148c['resolvedBy']=''),null!=_0x59ed97['commentThreadId']&&Object['hasOwnProperty']['call'](_0x59ed97,'commentThreadId')&&(_0x13148c['commentThreadId']=_0x59ed97['commentThreadId']),null!=_0x59ed97['documentId']&&Object['hasOwnProperty']['call'](_0x59ed97,'documentId')&&(_0x13148c['documentId']=_0x59ed97['documentId']),null!=_0x59ed97['resolvedAt']&&Object['hasOwnProperty']['call'](_0x59ed97,'resolvedAt')&&(_0x13148c['resolvedAt']=_0x59ed97['resolvedAt']),null!=_0x59ed97['resolvedBy']&&Object['hasOwnProperty']['call'](_0x59ed97,'resolvedBy')&&(_0x13148c['resolvedBy']=_0x59ed97['resolvedBy']),_0x13148c;},_0x4c1991['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x4c1991['getTypeUrl']=function(_0x63de05){return void 0x0===_0x63de05&&(_0x63de05='type.googleapis.com'),_0x63de05+'/CommentsV2ResolveCommentThreadResponse';},_0x4c1991;}()),_0x4efd5e['CommentsV2AddCommentThreadResponse']=(function(){function _0x6e4e29(_0x85e22c){if(this['comments']=[],_0x85e22c){for(var _0x20fe67=Object['keys'](_0x85e22c),_0xf4bb21=0x0;_0xf4bb21<_0x20fe67['length'];++_0xf4bb21)null!=_0x85e22c[_0x20fe67[_0xf4bb21]]&&'__proto__'!==_0x20fe67[_0xf4bb21]&&(this[_0x20fe67[_0xf4bb21]]=_0x85e22c[_0x20fe67[_0xf4bb21]]);}}return _0x6e4e29['prototype']['commentThreadId']='',_0x6e4e29['prototype']['createdAt']='',_0x6e4e29['prototype']['comments']=_0x2da725['emptyArray'],_0x6e4e29['create']=function(_0x981f03){return new _0x6e4e29(_0x981f03);},_0x6e4e29['encode']=function(_0x58d1ba,_0x3b1fb9,_0x37f572){if(_0x3b1fb9||(_0x3b1fb9=_0x42a0bf['create']()),void 0x0===_0x37f572&&(_0x37f572=0x0),_0x37f572>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x58d1ba['commentThreadId']&&Object['hasOwnProperty']['call'](_0x58d1ba,'commentThreadId')&&_0x3b1fb9['uint32'](0xa)['string'](_0x58d1ba['commentThreadId']),null!=_0x58d1ba['createdAt']&&Object['hasOwnProperty']['call'](_0x58d1ba,'createdAt')&&_0x3b1fb9['uint32'](0x12)['string'](_0x58d1ba['createdAt']),null!=_0x58d1ba['comments']&&_0x58d1ba['comments']['length']){for(var _0x358fb5=0x0;_0x358fb5<_0x58d1ba['comments']['length'];++_0x358fb5)_0x4efd5e['CommentThreadAddedCommentDescriptor']['encode'](_0x58d1ba['comments'][_0x358fb5],_0x3b1fb9['uint32'](0x1a)['fork'](),_0x37f572+0x1)['ldelim']();}return _0x3b1fb9;},_0x6e4e29['encodeDelimited']=function(_0x280b2b,_0x4f9cee){return this['encode'](_0x280b2b,_0x4f9cee)['ldelim']();},_0x6e4e29['decode']=function(_0x33a728,_0x78738,_0x2f6498,_0x113645){if(_0x33a728 instanceof _0x34a44d||(_0x33a728=_0x34a44d['create'](_0x33a728)),void 0x0===_0x113645&&(_0x113645=0x0),_0x113645>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5aba60=void 0x0===_0x78738?_0x33a728['len']:_0x33a728['pos']+_0x78738,_0x5248e6=new _0x4efd5e['CommentsV2AddCommentThreadResponse']();_0x33a728['pos']<_0x5aba60;){var _0x36f970=_0x33a728['uint32']();if(_0x36f970===_0x2f6498)break;switch(_0x36f970>>>0x3){case 0x1:_0x5248e6['commentThreadId']=_0x33a728['string']();break;case 0x2:_0x5248e6['createdAt']=_0x33a728['string']();break;case 0x3:_0x5248e6['comments']&&_0x5248e6['comments']['length']||(_0x5248e6['comments']=[]),_0x5248e6['comments']['push'](_0x4efd5e['CommentThreadAddedCommentDescriptor']['decode'](_0x33a728,_0x33a728['uint32'](),void 0x0,_0x113645+0x1));break;default:_0x33a728['skipType'](0x7&_0x36f970,_0x113645);}}return _0x5248e6;},_0x6e4e29['decodeDelimited']=function(_0x2575b3){return _0x2575b3 instanceof _0x34a44d||(_0x2575b3=new _0x34a44d(_0x2575b3)),this['decode'](_0x2575b3,_0x2575b3['uint32']());},_0x6e4e29['verify']=function(_0x54113b,_0xdc77c2){if('object'!=typeof _0x54113b||null===_0x54113b)return'object\x20expected';if(void 0x0===_0xdc77c2&&(_0xdc77c2=0x0),_0xdc77c2>_0x2da725['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x54113b['commentThreadId']&&Object['hasOwnProperty']['call'](_0x54113b,'commentThreadId')&&!_0x2da725['isString'](_0x54113b['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x54113b['createdAt']&&Object['hasOwnProperty']['call'](_0x54113b,'createdAt')&&!_0x2da725['isString'](_0x54113b['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x54113b['comments']&&Object['hasOwnProperty']['call'](_0x54113b,'comments')){if(!Array['isArray'](_0x54113b['comments']))return'comments:\x20array\x20expected';for(var _0x4c2fa1=0x0;_0x4c2fa1<_0x54113b['comments']['length'];++_0x4c2fa1){var _0x3aad45=_0x4efd5e['CommentThreadAddedCommentDescriptor']['verify'](_0x54113b['comments'][_0x4c2fa1],_0xdc77c2+0x1);if(_0x3aad45)return'comments.'+_0x3aad45;}}return null;},_0x6e4e29['fromObject']=function(_0x1cd528,_0x97ea21){if(_0x1cd528 instanceof _0x4efd5e['CommentsV2AddCommentThreadResponse'])return _0x1cd528;if(!_0x2da725['isObject'](_0x1cd528))throw TypeError('.CommentsV2AddCommentThreadResponse:\x20object\x20expected');if(void 0x0===_0x97ea21&&(_0x97ea21=0x0),_0x97ea21>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4775dc=new _0x4efd5e['CommentsV2AddCommentThreadResponse']();if(null!=_0x1cd528['commentThreadId']&&(_0x4775dc['commentThreadId']=String(_0x1cd528['commentThreadId'])),null!=_0x1cd528['createdAt']&&(_0x4775dc['createdAt']=String(_0x1cd528['createdAt'])),_0x1cd528['comments']){if(!Array['isArray'](_0x1cd528['comments']))throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20array\x20expected');_0x4775dc['comments']=[];for(var _0x2da0ef=0x0;_0x2da0ef<_0x1cd528['comments']['length'];++_0x2da0ef){if(!_0x2da725['isObject'](_0x1cd528['comments'][_0x2da0ef]))throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20object\x20expected');_0x4775dc['comments'][_0x2da0ef]=_0x4efd5e['CommentThreadAddedCommentDescriptor']['fromObject'](_0x1cd528['comments'][_0x2da0ef],_0x97ea21+0x1);}}return _0x4775dc;},_0x6e4e29['toObject']=function(_0x1b3b6b,_0x5cdbcc,_0xd5e710){if(_0x5cdbcc||(_0x5cdbcc={}),void 0x0===_0xd5e710&&(_0xd5e710=0x0),_0xd5e710>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x184fb8={};if((_0x5cdbcc['arrays']||_0x5cdbcc['defaults'])&&(_0x184fb8['comments']=[]),_0x5cdbcc['defaults']&&(_0x184fb8['commentThreadId']='',_0x184fb8['createdAt']=''),null!=_0x1b3b6b['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1b3b6b,'commentThreadId')&&(_0x184fb8['commentThreadId']=_0x1b3b6b['commentThreadId']),null!=_0x1b3b6b['createdAt']&&Object['hasOwnProperty']['call'](_0x1b3b6b,'createdAt')&&(_0x184fb8['createdAt']=_0x1b3b6b['createdAt']),_0x1b3b6b['comments']&&_0x1b3b6b['comments']['length']){_0x184fb8['comments']=[];for(var _0x4bc662=0x0;_0x4bc662<_0x1b3b6b['comments']['length'];++_0x4bc662)_0x184fb8['comments'][_0x4bc662]=_0x4efd5e['CommentThreadAddedCommentDescriptor']['toObject'](_0x1b3b6b['comments'][_0x4bc662],_0x5cdbcc,_0xd5e710+0x1);}return _0x184fb8;},_0x6e4e29['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x6e4e29['getTypeUrl']=function(_0x3fcb34){return void 0x0===_0x3fcb34&&(_0x3fcb34='type.googleapis.com'),_0x3fcb34+'/CommentsV2AddCommentThreadResponse';},_0x6e4e29;}()),_0x4efd5e['CommentsV2UpdateCommentMessage']=(function(){function _0x4e4222(_0x7d51b1){if(_0x7d51b1){for(var _0x3a5726=Object['keys'](_0x7d51b1),_0x89f35b=0x0;_0x89f35b<_0x3a5726['length'];++_0x89f35b)null!=_0x7d51b1[_0x3a5726[_0x89f35b]]&&'__proto__'!==_0x3a5726[_0x89f35b]&&(this[_0x3a5726[_0x89f35b]]=_0x7d51b1[_0x3a5726[_0x89f35b]]);}}return _0x4e4222['prototype']['commentThreadId']='',_0x4e4222['prototype']['commentId']='',_0x4e4222['prototype']['content']='',_0x4e4222['prototype']['documentId']='',_0x4e4222['prototype']['attributes']='',_0x4e4222['prototype']['isAttributesUpdated']=!0x1,_0x4e4222['prototype']['commentThread']=null,_0x4e4222['create']=function(_0x5ecbb5){return new _0x4e4222(_0x5ecbb5);},_0x4e4222['encode']=function(_0x377a2a,_0x2bdca0,_0x50006b){if(_0x2bdca0||(_0x2bdca0=_0x42a0bf['create']()),void 0x0===_0x50006b&&(_0x50006b=0x0),_0x50006b>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x377a2a['commentThreadId']&&Object['hasOwnProperty']['call'](_0x377a2a,'commentThreadId')&&_0x2bdca0['uint32'](0xa)['string'](_0x377a2a['commentThreadId']),null!=_0x377a2a['commentId']&&Object['hasOwnProperty']['call'](_0x377a2a,'commentId')&&_0x2bdca0['uint32'](0x12)['string'](_0x377a2a['commentId']),null!=_0x377a2a['content']&&Object['hasOwnProperty']['call'](_0x377a2a,'content')&&_0x2bdca0['uint32'](0x1a)['string'](_0x377a2a['content']),null!=_0x377a2a['documentId']&&Object['hasOwnProperty']['call'](_0x377a2a,'documentId')&&_0x2bdca0['uint32'](0x22)['string'](_0x377a2a['documentId']),null!=_0x377a2a['attributes']&&Object['hasOwnProperty']['call'](_0x377a2a,'attributes')&&_0x2bdca0['uint32'](0x2a)['string'](_0x377a2a['attributes']),null!=_0x377a2a['isAttributesUpdated']&&Object['hasOwnProperty']['call'](_0x377a2a,'isAttributesUpdated')&&_0x2bdca0['uint32'](0x30)['bool'](_0x377a2a['isAttributesUpdated']),null!=_0x377a2a['commentThread']&&Object['hasOwnProperty']['call'](_0x377a2a,'commentThread')&&_0x4efd5e['CommentsThreadDescriptor']['encode'](_0x377a2a['commentThread'],_0x2bdca0['uint32'](0x3a)['fork'](),_0x50006b+0x1)['ldelim'](),_0x2bdca0;},_0x4e4222['encodeDelimited']=function(_0x5c9025,_0x347f51){return this['encode'](_0x5c9025,_0x347f51)['ldelim']();},_0x4e4222['decode']=function(_0x3b76fb,_0x1b48a6,_0x74c21f,_0x2ae6fe){if(_0x3b76fb instanceof _0x34a44d||(_0x3b76fb=_0x34a44d['create'](_0x3b76fb)),void 0x0===_0x2ae6fe&&(_0x2ae6fe=0x0),_0x2ae6fe>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x50a02f=void 0x0===_0x1b48a6?_0x3b76fb['len']:_0x3b76fb['pos']+_0x1b48a6,_0x326f85=new _0x4efd5e['CommentsV2UpdateCommentMessage']();_0x3b76fb['pos']<_0x50a02f;){var _0x4dbe1c=_0x3b76fb['uint32']();if(_0x4dbe1c===_0x74c21f)break;switch(_0x4dbe1c>>>0x3){case 0x1:_0x326f85['commentThreadId']=_0x3b76fb['string']();break;case 0x2:_0x326f85['commentId']=_0x3b76fb['string']();break;case 0x3:_0x326f85['content']=_0x3b76fb['string']();break;case 0x4:_0x326f85['documentId']=_0x3b76fb['string']();break;case 0x5:_0x326f85['attributes']=_0x3b76fb['string']();break;case 0x6:_0x326f85['isAttributesUpdated']=_0x3b76fb['bool']();break;case 0x7:_0x326f85['commentThread']=_0x4efd5e['CommentsThreadDescriptor']['decode'](_0x3b76fb,_0x3b76fb['uint32'](),void 0x0,_0x2ae6fe+0x1);break;default:_0x3b76fb['skipType'](0x7&_0x4dbe1c,_0x2ae6fe);}}return _0x326f85;},_0x4e4222['decodeDelimited']=function(_0x18797b){return _0x18797b instanceof _0x34a44d||(_0x18797b=new _0x34a44d(_0x18797b)),this['decode'](_0x18797b,_0x18797b['uint32']());},_0x4e4222['verify']=function(_0xab4aa8,_0x399808){if('object'!=typeof _0xab4aa8||null===_0xab4aa8)return'object\x20expected';if(void 0x0===_0x399808&&(_0x399808=0x0),_0x399808>_0x2da725['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0xab4aa8['commentThreadId']&&Object['hasOwnProperty']['call'](_0xab4aa8,'commentThreadId')&&!_0x2da725['isString'](_0xab4aa8['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0xab4aa8['commentId']&&Object['hasOwnProperty']['call'](_0xab4aa8,'commentId')&&!_0x2da725['isString'](_0xab4aa8['commentId']))return'commentId:\x20string\x20expected';if(null!=_0xab4aa8['content']&&Object['hasOwnProperty']['call'](_0xab4aa8,'content')&&!_0x2da725['isString'](_0xab4aa8['content']))return'content:\x20string\x20expected';if(null!=_0xab4aa8['documentId']&&Object['hasOwnProperty']['call'](_0xab4aa8,'documentId')&&!_0x2da725['isString'](_0xab4aa8['documentId']))return'documentId:\x20string\x20expected';if(null!=_0xab4aa8['attributes']&&Object['hasOwnProperty']['call'](_0xab4aa8,'attributes')&&!_0x2da725['isString'](_0xab4aa8['attributes']))return'attributes:\x20string\x20expected';if(null!=_0xab4aa8['isAttributesUpdated']&&Object['hasOwnProperty']['call'](_0xab4aa8,'isAttributesUpdated')&&'boolean'!=typeof _0xab4aa8['isAttributesUpdated'])return'isAttributesUpdated:\x20boolean\x20expected';if(null!=_0xab4aa8['commentThread']&&Object['hasOwnProperty']['call'](_0xab4aa8,'commentThread')){var _0x107b56=_0x4efd5e['CommentsThreadDescriptor']['verify'](_0xab4aa8['commentThread'],_0x399808+0x1);if(_0x107b56)return'commentThread.'+_0x107b56;}return null;},_0x4e4222['fromObject']=function(_0x8e4c5a,_0x4a7b6a){if(_0x8e4c5a instanceof _0x4efd5e['CommentsV2UpdateCommentMessage'])return _0x8e4c5a;if(!_0x2da725['isObject'](_0x8e4c5a))throw TypeError('.CommentsV2UpdateCommentMessage:\x20object\x20expected');if(void 0x0===_0x4a7b6a&&(_0x4a7b6a=0x0),_0x4a7b6a>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x208873=new _0x4efd5e['CommentsV2UpdateCommentMessage']();if(null!=_0x8e4c5a['commentThreadId']&&(_0x208873['commentThreadId']=String(_0x8e4c5a['commentThreadId'])),null!=_0x8e4c5a['commentId']&&(_0x208873['commentId']=String(_0x8e4c5a['commentId'])),null!=_0x8e4c5a['content']&&(_0x208873['content']=String(_0x8e4c5a['content'])),null!=_0x8e4c5a['documentId']&&(_0x208873['documentId']=String(_0x8e4c5a['documentId'])),null!=_0x8e4c5a['attributes']&&(_0x208873['attributes']=String(_0x8e4c5a['attributes'])),null!=_0x8e4c5a['isAttributesUpdated']&&(_0x208873['isAttributesUpdated']=Boolean(_0x8e4c5a['isAttributesUpdated'])),null!=_0x8e4c5a['commentThread']){if(!_0x2da725['isObject'](_0x8e4c5a['commentThread']))throw TypeError('.CommentsV2UpdateCommentMessage.commentThread:\x20object\x20expected');_0x208873['commentThread']=_0x4efd5e['CommentsThreadDescriptor']['fromObject'](_0x8e4c5a['commentThread'],_0x4a7b6a+0x1);}return _0x208873;},_0x4e4222['toObject']=function(_0x23b75a,_0x19e695,_0x374a5c){if(_0x19e695||(_0x19e695={}),void 0x0===_0x374a5c&&(_0x374a5c=0x0),_0x374a5c>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x1b5253={};return _0x19e695['defaults']&&(_0x1b5253['commentThreadId']='',_0x1b5253['commentId']='',_0x1b5253['content']='',_0x1b5253['documentId']='',_0x1b5253['attributes']='',_0x1b5253['isAttributesUpdated']=!0x1,_0x1b5253['commentThread']=null),null!=_0x23b75a['commentThreadId']&&Object['hasOwnProperty']['call'](_0x23b75a,'commentThreadId')&&(_0x1b5253['commentThreadId']=_0x23b75a['commentThreadId']),null!=_0x23b75a['commentId']&&Object['hasOwnProperty']['call'](_0x23b75a,'commentId')&&(_0x1b5253['commentId']=_0x23b75a['commentId']),null!=_0x23b75a['content']&&Object['hasOwnProperty']['call'](_0x23b75a,'content')&&(_0x1b5253['content']=_0x23b75a['content']),null!=_0x23b75a['documentId']&&Object['hasOwnProperty']['call'](_0x23b75a,'documentId')&&(_0x1b5253['documentId']=_0x23b75a['documentId']),null!=_0x23b75a['attributes']&&Object['hasOwnProperty']['call'](_0x23b75a,'attributes')&&(_0x1b5253['attributes']=_0x23b75a['attributes']),null!=_0x23b75a['isAttributesUpdated']&&Object['hasOwnProperty']['call'](_0x23b75a,'isAttributesUpdated')&&(_0x1b5253['isAttributesUpdated']=_0x23b75a['isAttributesUpdated']),null!=_0x23b75a['commentThread']&&Object['hasOwnProperty']['call'](_0x23b75a,'commentThread')&&(_0x1b5253['commentThread']=_0x4efd5e['CommentsThreadDescriptor']['toObject'](_0x23b75a['commentThread'],_0x19e695,_0x374a5c+0x1)),_0x1b5253;},_0x4e4222['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x4e4222['getTypeUrl']=function(_0xde80a4){return void 0x0===_0xde80a4&&(_0xde80a4='type.googleapis.com'),_0xde80a4+'/CommentsV2UpdateCommentMessage';},_0x4e4222;}()),_0x4efd5e['CommentsV2RemoveCommentThreadMessage']=(function(){function _0x2a3526(_0x536a81){if(_0x536a81){for(var _0x20a209=Object['keys'](_0x536a81),_0xd2e9b3=0x0;_0xd2e9b3<_0x20a209['length'];++_0xd2e9b3)null!=_0x536a81[_0x20a209[_0xd2e9b3]]&&'__proto__'!==_0x20a209[_0xd2e9b3]&&(this[_0x20a209[_0xd2e9b3]]=_0x536a81[_0x20a209[_0xd2e9b3]]);}}return _0x2a3526['prototype']['commentThreadId']='',_0x2a3526['prototype']['documentId']='',_0x2a3526['create']=function(_0x254db5){return new _0x2a3526(_0x254db5);},_0x2a3526['encode']=function(_0x202d6e,_0x3b22d1,_0x23f8e7){if(_0x3b22d1||(_0x3b22d1=_0x42a0bf['create']()),void 0x0===_0x23f8e7&&(_0x23f8e7=0x0),_0x23f8e7>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x202d6e['commentThreadId']&&Object['hasOwnProperty']['call'](_0x202d6e,'commentThreadId')&&_0x3b22d1['uint32'](0xa)['string'](_0x202d6e['commentThreadId']),null!=_0x202d6e['documentId']&&Object['hasOwnProperty']['call'](_0x202d6e,'documentId')&&_0x3b22d1['uint32'](0x12)['string'](_0x202d6e['documentId']),_0x3b22d1;},_0x2a3526['encodeDelimited']=function(_0x1997a1,_0x40fc37){return this['encode'](_0x1997a1,_0x40fc37)['ldelim']();},_0x2a3526['decode']=function(_0xd58b21,_0x33507f,_0x94988f,_0x21884b){if(_0xd58b21 instanceof _0x34a44d||(_0xd58b21=_0x34a44d['create'](_0xd58b21)),void 0x0===_0x21884b&&(_0x21884b=0x0),_0x21884b>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x396f12=void 0x0===_0x33507f?_0xd58b21['len']:_0xd58b21['pos']+_0x33507f,_0x502330=new _0x4efd5e['CommentsV2RemoveCommentThreadMessage']();_0xd58b21['pos']<_0x396f12;){var _0x518181=_0xd58b21['uint32']();if(_0x518181===_0x94988f)break;switch(_0x518181>>>0x3){case 0x1:_0x502330['commentThreadId']=_0xd58b21['string']();break;case 0x2:_0x502330['documentId']=_0xd58b21['string']();break;default:_0xd58b21['skipType'](0x7&_0x518181,_0x21884b);}}return _0x502330;},_0x2a3526['decodeDelimited']=function(_0x3c901a){return _0x3c901a instanceof _0x34a44d||(_0x3c901a=new _0x34a44d(_0x3c901a)),this['decode'](_0x3c901a,_0x3c901a['uint32']());},_0x2a3526['verify']=function(_0x10ca17,_0x1b3762){return'object'!=typeof _0x10ca17||null===_0x10ca17?'object\x20expected':(void 0x0===_0x1b3762&&(_0x1b3762=0x0),_0x1b3762>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x10ca17['commentThreadId']&&Object['hasOwnProperty']['call'](_0x10ca17,'commentThreadId')&&!_0x2da725['isString'](_0x10ca17['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x10ca17['documentId']&&Object['hasOwnProperty']['call'](_0x10ca17,'documentId')&&!_0x2da725['isString'](_0x10ca17['documentId'])?'documentId:\x20string\x20expected':null);},_0x2a3526['fromObject']=function(_0x5b2e67,_0x30aa92){if(_0x5b2e67 instanceof _0x4efd5e['CommentsV2RemoveCommentThreadMessage'])return _0x5b2e67;if(!_0x2da725['isObject'](_0x5b2e67))throw TypeError('.CommentsV2RemoveCommentThreadMessage:\x20object\x20expected');if(void 0x0===_0x30aa92&&(_0x30aa92=0x0),_0x30aa92>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x16864a=new _0x4efd5e['CommentsV2RemoveCommentThreadMessage']();return null!=_0x5b2e67['commentThreadId']&&(_0x16864a['commentThreadId']=String(_0x5b2e67['commentThreadId'])),null!=_0x5b2e67['documentId']&&(_0x16864a['documentId']=String(_0x5b2e67['documentId'])),_0x16864a;},_0x2a3526['toObject']=function(_0x557a25,_0x29283c,_0x5e8fab){if(_0x29283c||(_0x29283c={}),void 0x0===_0x5e8fab&&(_0x5e8fab=0x0),_0x5e8fab>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x3936cc={};return _0x29283c['defaults']&&(_0x3936cc['commentThreadId']='',_0x3936cc['documentId']=''),null!=_0x557a25['commentThreadId']&&Object['hasOwnProperty']['call'](_0x557a25,'commentThreadId')&&(_0x3936cc['commentThreadId']=_0x557a25['commentThreadId']),null!=_0x557a25['documentId']&&Object['hasOwnProperty']['call'](_0x557a25,'documentId')&&(_0x3936cc['documentId']=_0x557a25['documentId']),_0x3936cc;},_0x2a3526['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x2a3526['getTypeUrl']=function(_0x17dceb){return void 0x0===_0x17dceb&&(_0x17dceb='type.googleapis.com'),_0x17dceb+'/CommentsV2RemoveCommentThreadMessage';},_0x2a3526;}()),_0x4efd5e['CommentsV2RemoveCommentMessage']=(function(){function _0x23cbed(_0x23581d){if(_0x23581d){for(var _0x52ea69=Object['keys'](_0x23581d),_0xe3ea=0x0;_0xe3ea<_0x52ea69['length'];++_0xe3ea)null!=_0x23581d[_0x52ea69[_0xe3ea]]&&'__proto__'!==_0x52ea69[_0xe3ea]&&(this[_0x52ea69[_0xe3ea]]=_0x23581d[_0x52ea69[_0xe3ea]]);}}return _0x23cbed['prototype']['commentThreadId']='',_0x23cbed['prototype']['commentId']='',_0x23cbed['prototype']['documentId']='',_0x23cbed['create']=function(_0x3d5742){return new _0x23cbed(_0x3d5742);},_0x23cbed['encode']=function(_0x5bf7b9,_0x5a317a,_0x3cb935){if(_0x5a317a||(_0x5a317a=_0x42a0bf['create']()),void 0x0===_0x3cb935&&(_0x3cb935=0x0),_0x3cb935>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x5bf7b9['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5bf7b9,'commentThreadId')&&_0x5a317a['uint32'](0xa)['string'](_0x5bf7b9['commentThreadId']),null!=_0x5bf7b9['commentId']&&Object['hasOwnProperty']['call'](_0x5bf7b9,'commentId')&&_0x5a317a['uint32'](0x12)['string'](_0x5bf7b9['commentId']),null!=_0x5bf7b9['documentId']&&Object['hasOwnProperty']['call'](_0x5bf7b9,'documentId')&&_0x5a317a['uint32'](0x1a)['string'](_0x5bf7b9['documentId']),_0x5a317a;},_0x23cbed['encodeDelimited']=function(_0x175382,_0x1893ff){return this['encode'](_0x175382,_0x1893ff)['ldelim']();},_0x23cbed['decode']=function(_0x153d5c,_0x553a93,_0x1df68c,_0x2d4908){if(_0x153d5c instanceof _0x34a44d||(_0x153d5c=_0x34a44d['create'](_0x153d5c)),void 0x0===_0x2d4908&&(_0x2d4908=0x0),_0x2d4908>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x65370a=void 0x0===_0x553a93?_0x153d5c['len']:_0x153d5c['pos']+_0x553a93,_0x401718=new _0x4efd5e['CommentsV2RemoveCommentMessage']();_0x153d5c['pos']<_0x65370a;){var _0x444eb6=_0x153d5c['uint32']();if(_0x444eb6===_0x1df68c)break;switch(_0x444eb6>>>0x3){case 0x1:_0x401718['commentThreadId']=_0x153d5c['string']();break;case 0x2:_0x401718['commentId']=_0x153d5c['string']();break;case 0x3:_0x401718['documentId']=_0x153d5c['string']();break;default:_0x153d5c['skipType'](0x7&_0x444eb6,_0x2d4908);}}return _0x401718;},_0x23cbed['decodeDelimited']=function(_0x150625){return _0x150625 instanceof _0x34a44d||(_0x150625=new _0x34a44d(_0x150625)),this['decode'](_0x150625,_0x150625['uint32']());},_0x23cbed['verify']=function(_0x51b971,_0x5b6104){return'object'!=typeof _0x51b971||null===_0x51b971?'object\x20expected':(void 0x0===_0x5b6104&&(_0x5b6104=0x0),_0x5b6104>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x51b971['commentThreadId']&&Object['hasOwnProperty']['call'](_0x51b971,'commentThreadId')&&!_0x2da725['isString'](_0x51b971['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x51b971['commentId']&&Object['hasOwnProperty']['call'](_0x51b971,'commentId')&&!_0x2da725['isString'](_0x51b971['commentId'])?'commentId:\x20string\x20expected':null!=_0x51b971['documentId']&&Object['hasOwnProperty']['call'](_0x51b971,'documentId')&&!_0x2da725['isString'](_0x51b971['documentId'])?'documentId:\x20string\x20expected':null);},_0x23cbed['fromObject']=function(_0x41f346,_0x509601){if(_0x41f346 instanceof _0x4efd5e['CommentsV2RemoveCommentMessage'])return _0x41f346;if(!_0x2da725['isObject'](_0x41f346))throw TypeError('.CommentsV2RemoveCommentMessage:\x20object\x20expected');if(void 0x0===_0x509601&&(_0x509601=0x0),_0x509601>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x23efd2=new _0x4efd5e['CommentsV2RemoveCommentMessage']();return null!=_0x41f346['commentThreadId']&&(_0x23efd2['commentThreadId']=String(_0x41f346['commentThreadId'])),null!=_0x41f346['commentId']&&(_0x23efd2['commentId']=String(_0x41f346['commentId'])),null!=_0x41f346['documentId']&&(_0x23efd2['documentId']=String(_0x41f346['documentId'])),_0x23efd2;},_0x23cbed['toObject']=function(_0x42c431,_0x2c3a63,_0x111b07){if(_0x2c3a63||(_0x2c3a63={}),void 0x0===_0x111b07&&(_0x111b07=0x0),_0x111b07>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x3b8b7f={};return _0x2c3a63['defaults']&&(_0x3b8b7f['commentThreadId']='',_0x3b8b7f['commentId']='',_0x3b8b7f['documentId']=''),null!=_0x42c431['commentThreadId']&&Object['hasOwnProperty']['call'](_0x42c431,'commentThreadId')&&(_0x3b8b7f['commentThreadId']=_0x42c431['commentThreadId']),null!=_0x42c431['commentId']&&Object['hasOwnProperty']['call'](_0x42c431,'commentId')&&(_0x3b8b7f['commentId']=_0x42c431['commentId']),null!=_0x42c431['documentId']&&Object['hasOwnProperty']['call'](_0x42c431,'documentId')&&(_0x3b8b7f['documentId']=_0x42c431['documentId']),_0x3b8b7f;},_0x23cbed['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x23cbed['getTypeUrl']=function(_0x4f4c05){return void 0x0===_0x4f4c05&&(_0x4f4c05='type.googleapis.com'),_0x4f4c05+'/CommentsV2RemoveCommentMessage';},_0x23cbed;}()),_0x4efd5e['CommentsV2GetDocumentThreadsMessage']=(function(){function _0x2a9868(_0x2df93a){if(_0x2df93a){for(var _0x58edb7=Object['keys'](_0x2df93a),_0x121971=0x0;_0x121971<_0x58edb7['length'];++_0x121971)null!=_0x2df93a[_0x58edb7[_0x121971]]&&'__proto__'!==_0x58edb7[_0x121971]&&(this[_0x58edb7[_0x121971]]=_0x2df93a[_0x58edb7[_0x121971]]);}}return _0x2a9868['prototype']['documentId']='',_0x2a9868['create']=function(_0x5702c3){return new _0x2a9868(_0x5702c3);},_0x2a9868['encode']=function(_0x498fc9,_0x33da2b,_0x53626d){if(_0x33da2b||(_0x33da2b=_0x42a0bf['create']()),void 0x0===_0x53626d&&(_0x53626d=0x0),_0x53626d>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x498fc9['documentId']&&Object['hasOwnProperty']['call'](_0x498fc9,'documentId')&&_0x33da2b['uint32'](0xa)['string'](_0x498fc9['documentId']),_0x33da2b;},_0x2a9868['encodeDelimited']=function(_0x39d7c4,_0x1a43d8){return this['encode'](_0x39d7c4,_0x1a43d8)['ldelim']();},_0x2a9868['decode']=function(_0x23f1af,_0x32f780,_0x325341,_0x182dc1){if(_0x23f1af instanceof _0x34a44d||(_0x23f1af=_0x34a44d['create'](_0x23f1af)),void 0x0===_0x182dc1&&(_0x182dc1=0x0),_0x182dc1>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x439c78=void 0x0===_0x32f780?_0x23f1af['len']:_0x23f1af['pos']+_0x32f780,_0x248d94=new _0x4efd5e['CommentsV2GetDocumentThreadsMessage']();_0x23f1af['pos']<_0x439c78;){var _0x34ecf1=_0x23f1af['uint32']();if(_0x34ecf1===_0x325341)break;_0x34ecf1>>>0x3==0x1?_0x248d94['documentId']=_0x23f1af['string']():_0x23f1af['skipType'](0x7&_0x34ecf1,_0x182dc1);}return _0x248d94;},_0x2a9868['decodeDelimited']=function(_0x17d2e8){return _0x17d2e8 instanceof _0x34a44d||(_0x17d2e8=new _0x34a44d(_0x17d2e8)),this['decode'](_0x17d2e8,_0x17d2e8['uint32']());},_0x2a9868['verify']=function(_0x150693,_0x2fd72b){return'object'!=typeof _0x150693||null===_0x150693?'object\x20expected':(void 0x0===_0x2fd72b&&(_0x2fd72b=0x0),_0x2fd72b>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x150693['documentId']&&Object['hasOwnProperty']['call'](_0x150693,'documentId')&&!_0x2da725['isString'](_0x150693['documentId'])?'documentId:\x20string\x20expected':null);},_0x2a9868['fromObject']=function(_0x1bf344,_0x5dc436){if(_0x1bf344 instanceof _0x4efd5e['CommentsV2GetDocumentThreadsMessage'])return _0x1bf344;if(!_0x2da725['isObject'](_0x1bf344))throw TypeError('.CommentsV2GetDocumentThreadsMessage:\x20object\x20expected');if(void 0x0===_0x5dc436&&(_0x5dc436=0x0),_0x5dc436>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4e0e17=new _0x4efd5e['CommentsV2GetDocumentThreadsMessage']();return null!=_0x1bf344['documentId']&&(_0x4e0e17['documentId']=String(_0x1bf344['documentId'])),_0x4e0e17;},_0x2a9868['toObject']=function(_0xaa4ea6,_0x2c3208,_0x561b2d){if(_0x2c3208||(_0x2c3208={}),void 0x0===_0x561b2d&&(_0x561b2d=0x0),_0x561b2d>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x466ffd={};return _0x2c3208['defaults']&&(_0x466ffd['documentId']=''),null!=_0xaa4ea6['documentId']&&Object['hasOwnProperty']['call'](_0xaa4ea6,'documentId')&&(_0x466ffd['documentId']=_0xaa4ea6['documentId']),_0x466ffd;},_0x2a9868['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x2a9868['getTypeUrl']=function(_0x4b838f){return void 0x0===_0x4b838f&&(_0x4b838f='type.googleapis.com'),_0x4b838f+'/CommentsV2GetDocumentThreadsMessage';},_0x2a9868;}()),_0x4efd5e['CommentsV2GetCommentThreadMessage']=(function(){function _0x36e154(_0x28fac5){if(_0x28fac5){for(var _0x2bc729=Object['keys'](_0x28fac5),_0x1c6949=0x0;_0x1c6949<_0x2bc729['length'];++_0x1c6949)null!=_0x28fac5[_0x2bc729[_0x1c6949]]&&'__proto__'!==_0x2bc729[_0x1c6949]&&(this[_0x2bc729[_0x1c6949]]=_0x28fac5[_0x2bc729[_0x1c6949]]);}}return _0x36e154['prototype']['commentThreadId']='',_0x36e154['prototype']['documentId']='',_0x36e154['create']=function(_0x366683){return new _0x36e154(_0x366683);},_0x36e154['encode']=function(_0x31a890,_0x5eb747,_0x163f2d){if(_0x5eb747||(_0x5eb747=_0x42a0bf['create']()),void 0x0===_0x163f2d&&(_0x163f2d=0x0),_0x163f2d>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x31a890['commentThreadId']&&Object['hasOwnProperty']['call'](_0x31a890,'commentThreadId')&&_0x5eb747['uint32'](0xa)['string'](_0x31a890['commentThreadId']),null!=_0x31a890['documentId']&&Object['hasOwnProperty']['call'](_0x31a890,'documentId')&&_0x5eb747['uint32'](0x12)['string'](_0x31a890['documentId']),_0x5eb747;},_0x36e154['encodeDelimited']=function(_0x593f56,_0x2ac544){return this['encode'](_0x593f56,_0x2ac544)['ldelim']();},_0x36e154['decode']=function(_0x46e055,_0x151d53,_0x1dbe24,_0x2d6255){if(_0x46e055 instanceof _0x34a44d||(_0x46e055=_0x34a44d['create'](_0x46e055)),void 0x0===_0x2d6255&&(_0x2d6255=0x0),_0x2d6255>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x775b11=void 0x0===_0x151d53?_0x46e055['len']:_0x46e055['pos']+_0x151d53,_0xe87bba=new _0x4efd5e['CommentsV2GetCommentThreadMessage']();_0x46e055['pos']<_0x775b11;){var _0x183474=_0x46e055['uint32']();if(_0x183474===_0x1dbe24)break;switch(_0x183474>>>0x3){case 0x1:_0xe87bba['commentThreadId']=_0x46e055['string']();break;case 0x2:_0xe87bba['documentId']=_0x46e055['string']();break;default:_0x46e055['skipType'](0x7&_0x183474,_0x2d6255);}}return _0xe87bba;},_0x36e154['decodeDelimited']=function(_0x3c66ee){return _0x3c66ee instanceof _0x34a44d||(_0x3c66ee=new _0x34a44d(_0x3c66ee)),this['decode'](_0x3c66ee,_0x3c66ee['uint32']());},_0x36e154['verify']=function(_0x285892,_0x4fab56){return'object'!=typeof _0x285892||null===_0x285892?'object\x20expected':(void 0x0===_0x4fab56&&(_0x4fab56=0x0),_0x4fab56>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x285892['commentThreadId']&&Object['hasOwnProperty']['call'](_0x285892,'commentThreadId')&&!_0x2da725['isString'](_0x285892['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x285892['documentId']&&Object['hasOwnProperty']['call'](_0x285892,'documentId')&&!_0x2da725['isString'](_0x285892['documentId'])?'documentId:\x20string\x20expected':null);},_0x36e154['fromObject']=function(_0x5d10d4,_0x377b3b){if(_0x5d10d4 instanceof _0x4efd5e['CommentsV2GetCommentThreadMessage'])return _0x5d10d4;if(!_0x2da725['isObject'](_0x5d10d4))throw TypeError('.CommentsV2GetCommentThreadMessage:\x20object\x20expected');if(void 0x0===_0x377b3b&&(_0x377b3b=0x0),_0x377b3b>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4755ab=new _0x4efd5e['CommentsV2GetCommentThreadMessage']();return null!=_0x5d10d4['commentThreadId']&&(_0x4755ab['commentThreadId']=String(_0x5d10d4['commentThreadId'])),null!=_0x5d10d4['documentId']&&(_0x4755ab['documentId']=String(_0x5d10d4['documentId'])),_0x4755ab;},_0x36e154['toObject']=function(_0x28ef88,_0x4337fb,_0x5b8334){if(_0x4337fb||(_0x4337fb={}),void 0x0===_0x5b8334&&(_0x5b8334=0x0),_0x5b8334>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x233c5d={};return _0x4337fb['defaults']&&(_0x233c5d['commentThreadId']='',_0x233c5d['documentId']=''),null!=_0x28ef88['commentThreadId']&&Object['hasOwnProperty']['call'](_0x28ef88,'commentThreadId')&&(_0x233c5d['commentThreadId']=_0x28ef88['commentThreadId']),null!=_0x28ef88['documentId']&&Object['hasOwnProperty']['call'](_0x28ef88,'documentId')&&(_0x233c5d['documentId']=_0x28ef88['documentId']),_0x233c5d;},_0x36e154['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x36e154['getTypeUrl']=function(_0x199dfd){return void 0x0===_0x199dfd&&(_0x199dfd='type.googleapis.com'),_0x199dfd+'/CommentsV2GetCommentThreadMessage';},_0x36e154;}()),_0x4efd5e['CommentsV2ConnectMessage']=(function(){function _0x2c65c8(_0x105944){if(_0x105944){for(var _0x48da4e=Object['keys'](_0x105944),_0x106a96=0x0;_0x106a96<_0x48da4e['length'];++_0x106a96)null!=_0x105944[_0x48da4e[_0x106a96]]&&'__proto__'!==_0x48da4e[_0x106a96]&&(this[_0x48da4e[_0x106a96]]=_0x105944[_0x48da4e[_0x106a96]]);}}return _0x2c65c8['prototype']['documentId']='',_0x2c65c8['create']=function(_0x4b447c){return new _0x2c65c8(_0x4b447c);},_0x2c65c8['encode']=function(_0x3a5796,_0x26c213,_0x230e55){if(_0x26c213||(_0x26c213=_0x42a0bf['create']()),void 0x0===_0x230e55&&(_0x230e55=0x0),_0x230e55>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x3a5796['documentId']&&Object['hasOwnProperty']['call'](_0x3a5796,'documentId')&&_0x26c213['uint32'](0xa)['string'](_0x3a5796['documentId']),_0x26c213;},_0x2c65c8['encodeDelimited']=function(_0x64e084,_0x44085d){return this['encode'](_0x64e084,_0x44085d)['ldelim']();},_0x2c65c8['decode']=function(_0x61759d,_0x33ee5c,_0x2c0e74,_0x4eaf7c){if(_0x61759d instanceof _0x34a44d||(_0x61759d=_0x34a44d['create'](_0x61759d)),void 0x0===_0x4eaf7c&&(_0x4eaf7c=0x0),_0x4eaf7c>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x553470=void 0x0===_0x33ee5c?_0x61759d['len']:_0x61759d['pos']+_0x33ee5c,_0x143a89=new _0x4efd5e['CommentsV2ConnectMessage']();_0x61759d['pos']<_0x553470;){var _0x4f0223=_0x61759d['uint32']();if(_0x4f0223===_0x2c0e74)break;_0x4f0223>>>0x3==0x1?_0x143a89['documentId']=_0x61759d['string']():_0x61759d['skipType'](0x7&_0x4f0223,_0x4eaf7c);}return _0x143a89;},_0x2c65c8['decodeDelimited']=function(_0xe4c40e){return _0xe4c40e instanceof _0x34a44d||(_0xe4c40e=new _0x34a44d(_0xe4c40e)),this['decode'](_0xe4c40e,_0xe4c40e['uint32']());},_0x2c65c8['verify']=function(_0x3ca6e7,_0x5402f5){return'object'!=typeof _0x3ca6e7||null===_0x3ca6e7?'object\x20expected':(void 0x0===_0x5402f5&&(_0x5402f5=0x0),_0x5402f5>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x3ca6e7['documentId']&&Object['hasOwnProperty']['call'](_0x3ca6e7,'documentId')&&!_0x2da725['isString'](_0x3ca6e7['documentId'])?'documentId:\x20string\x20expected':null);},_0x2c65c8['fromObject']=function(_0xe53cfc,_0x33c2e6){if(_0xe53cfc instanceof _0x4efd5e['CommentsV2ConnectMessage'])return _0xe53cfc;if(!_0x2da725['isObject'](_0xe53cfc))throw TypeError('.CommentsV2ConnectMessage:\x20object\x20expected');if(void 0x0===_0x33c2e6&&(_0x33c2e6=0x0),_0x33c2e6>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x472636=new _0x4efd5e['CommentsV2ConnectMessage']();return null!=_0xe53cfc['documentId']&&(_0x472636['documentId']=String(_0xe53cfc['documentId'])),_0x472636;},_0x2c65c8['toObject']=function(_0x188787,_0x2f833f,_0x265a30){if(_0x2f833f||(_0x2f833f={}),void 0x0===_0x265a30&&(_0x265a30=0x0),_0x265a30>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x59ae61={};return _0x2f833f['defaults']&&(_0x59ae61['documentId']=''),null!=_0x188787['documentId']&&Object['hasOwnProperty']['call'](_0x188787,'documentId')&&(_0x59ae61['documentId']=_0x188787['documentId']),_0x59ae61;},_0x2c65c8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x2c65c8['getTypeUrl']=function(_0x46abd0){return void 0x0===_0x46abd0&&(_0x46abd0='type.googleapis.com'),_0x46abd0+'/CommentsV2ConnectMessage';},_0x2c65c8;}()),_0x4efd5e['CommentsV2AddCommentMessage']=(function(){function _0xb906c7(_0x5c47ec){if(_0x5c47ec){for(var _0x3f90ba=Object['keys'](_0x5c47ec),_0x132a82=0x0;_0x132a82<_0x3f90ba['length'];++_0x132a82)null!=_0x5c47ec[_0x3f90ba[_0x132a82]]&&'__proto__'!==_0x3f90ba[_0x132a82]&&(this[_0x3f90ba[_0x132a82]]=_0x5c47ec[_0x3f90ba[_0x132a82]]);}}return _0xb906c7['prototype']['commentThreadId']='',_0xb906c7['prototype']['content']='',_0xb906c7['prototype']['documentId']='',_0xb906c7['prototype']['commentId']='',_0xb906c7['prototype']['createdAt']='',_0xb906c7['prototype']['userId']='',_0xb906c7['prototype']['attributes']='',_0xb906c7['prototype']['commentThread']=null,_0xb906c7['create']=function(_0x105ffb){return new _0xb906c7(_0x105ffb);},_0xb906c7['encode']=function(_0x14dc5a,_0x3dab28,_0x2fc0ff){if(_0x3dab28||(_0x3dab28=_0x42a0bf['create']()),void 0x0===_0x2fc0ff&&(_0x2fc0ff=0x0),_0x2fc0ff>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x14dc5a['commentThreadId']&&Object['hasOwnProperty']['call'](_0x14dc5a,'commentThreadId')&&_0x3dab28['uint32'](0xa)['string'](_0x14dc5a['commentThreadId']),null!=_0x14dc5a['content']&&Object['hasOwnProperty']['call'](_0x14dc5a,'content')&&_0x3dab28['uint32'](0x12)['string'](_0x14dc5a['content']),null!=_0x14dc5a['documentId']&&Object['hasOwnProperty']['call'](_0x14dc5a,'documentId')&&_0x3dab28['uint32'](0x1a)['string'](_0x14dc5a['documentId']),null!=_0x14dc5a['commentId']&&Object['hasOwnProperty']['call'](_0x14dc5a,'commentId')&&_0x3dab28['uint32'](0x22)['string'](_0x14dc5a['commentId']),null!=_0x14dc5a['createdAt']&&Object['hasOwnProperty']['call'](_0x14dc5a,'createdAt')&&_0x3dab28['uint32'](0x2a)['string'](_0x14dc5a['createdAt']),null!=_0x14dc5a['userId']&&Object['hasOwnProperty']['call'](_0x14dc5a,'userId')&&_0x3dab28['uint32'](0x32)['string'](_0x14dc5a['userId']),null!=_0x14dc5a['attributes']&&Object['hasOwnProperty']['call'](_0x14dc5a,'attributes')&&_0x3dab28['uint32'](0x3a)['string'](_0x14dc5a['attributes']),null!=_0x14dc5a['commentThread']&&Object['hasOwnProperty']['call'](_0x14dc5a,'commentThread')&&_0x4efd5e['CommentsThreadDescriptor']['encode'](_0x14dc5a['commentThread'],_0x3dab28['uint32'](0x42)['fork'](),_0x2fc0ff+0x1)['ldelim'](),_0x3dab28;},_0xb906c7['encodeDelimited']=function(_0x34b81d,_0x538618){return this['encode'](_0x34b81d,_0x538618)['ldelim']();},_0xb906c7['decode']=function(_0x9bac74,_0x1e2f75,_0xd745a4,_0x202dfa){if(_0x9bac74 instanceof _0x34a44d||(_0x9bac74=_0x34a44d['create'](_0x9bac74)),void 0x0===_0x202dfa&&(_0x202dfa=0x0),_0x202dfa>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1886af=void 0x0===_0x1e2f75?_0x9bac74['len']:_0x9bac74['pos']+_0x1e2f75,_0x16f6f7=new _0x4efd5e['CommentsV2AddCommentMessage']();_0x9bac74['pos']<_0x1886af;){var _0x1d0598=_0x9bac74['uint32']();if(_0x1d0598===_0xd745a4)break;switch(_0x1d0598>>>0x3){case 0x1:_0x16f6f7['commentThreadId']=_0x9bac74['string']();break;case 0x2:_0x16f6f7['content']=_0x9bac74['string']();break;case 0x3:_0x16f6f7['documentId']=_0x9bac74['string']();break;case 0x4:_0x16f6f7['commentId']=_0x9bac74['string']();break;case 0x5:_0x16f6f7['createdAt']=_0x9bac74['string']();break;case 0x6:_0x16f6f7['userId']=_0x9bac74['string']();break;case 0x7:_0x16f6f7['attributes']=_0x9bac74['string']();break;case 0x8:_0x16f6f7['commentThread']=_0x4efd5e['CommentsThreadDescriptor']['decode'](_0x9bac74,_0x9bac74['uint32'](),void 0x0,_0x202dfa+0x1);break;default:_0x9bac74['skipType'](0x7&_0x1d0598,_0x202dfa);}}return _0x16f6f7;},_0xb906c7['decodeDelimited']=function(_0x13627a){return _0x13627a instanceof _0x34a44d||(_0x13627a=new _0x34a44d(_0x13627a)),this['decode'](_0x13627a,_0x13627a['uint32']());},_0xb906c7['verify']=function(_0x56441d,_0x525856){if('object'!=typeof _0x56441d||null===_0x56441d)return'object\x20expected';if(void 0x0===_0x525856&&(_0x525856=0x0),_0x525856>_0x2da725['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x56441d['commentThreadId']&&Object['hasOwnProperty']['call'](_0x56441d,'commentThreadId')&&!_0x2da725['isString'](_0x56441d['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x56441d['content']&&Object['hasOwnProperty']['call'](_0x56441d,'content')&&!_0x2da725['isString'](_0x56441d['content']))return'content:\x20string\x20expected';if(null!=_0x56441d['documentId']&&Object['hasOwnProperty']['call'](_0x56441d,'documentId')&&!_0x2da725['isString'](_0x56441d['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x56441d['commentId']&&Object['hasOwnProperty']['call'](_0x56441d,'commentId')&&!_0x2da725['isString'](_0x56441d['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x56441d['createdAt']&&Object['hasOwnProperty']['call'](_0x56441d,'createdAt')&&!_0x2da725['isString'](_0x56441d['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x56441d['userId']&&Object['hasOwnProperty']['call'](_0x56441d,'userId')&&!_0x2da725['isString'](_0x56441d['userId']))return'userId:\x20string\x20expected';if(null!=_0x56441d['attributes']&&Object['hasOwnProperty']['call'](_0x56441d,'attributes')&&!_0x2da725['isString'](_0x56441d['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x56441d['commentThread']&&Object['hasOwnProperty']['call'](_0x56441d,'commentThread')){var _0x3c437e=_0x4efd5e['CommentsThreadDescriptor']['verify'](_0x56441d['commentThread'],_0x525856+0x1);if(_0x3c437e)return'commentThread.'+_0x3c437e;}return null;},_0xb906c7['fromObject']=function(_0xd1e868,_0x168e41){if(_0xd1e868 instanceof _0x4efd5e['CommentsV2AddCommentMessage'])return _0xd1e868;if(!_0x2da725['isObject'](_0xd1e868))throw TypeError('.CommentsV2AddCommentMessage:\x20object\x20expected');if(void 0x0===_0x168e41&&(_0x168e41=0x0),_0x168e41>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1f24ad=new _0x4efd5e['CommentsV2AddCommentMessage']();if(null!=_0xd1e868['commentThreadId']&&(_0x1f24ad['commentThreadId']=String(_0xd1e868['commentThreadId'])),null!=_0xd1e868['content']&&(_0x1f24ad['content']=String(_0xd1e868['content'])),null!=_0xd1e868['documentId']&&(_0x1f24ad['documentId']=String(_0xd1e868['documentId'])),null!=_0xd1e868['commentId']&&(_0x1f24ad['commentId']=String(_0xd1e868['commentId'])),null!=_0xd1e868['createdAt']&&(_0x1f24ad['createdAt']=String(_0xd1e868['createdAt'])),null!=_0xd1e868['userId']&&(_0x1f24ad['userId']=String(_0xd1e868['userId'])),null!=_0xd1e868['attributes']&&(_0x1f24ad['attributes']=String(_0xd1e868['attributes'])),null!=_0xd1e868['commentThread']){if(!_0x2da725['isObject'](_0xd1e868['commentThread']))throw TypeError('.CommentsV2AddCommentMessage.commentThread:\x20object\x20expected');_0x1f24ad['commentThread']=_0x4efd5e['CommentsThreadDescriptor']['fromObject'](_0xd1e868['commentThread'],_0x168e41+0x1);}return _0x1f24ad;},_0xb906c7['toObject']=function(_0x112df8,_0x27efc6,_0x448231){if(_0x27efc6||(_0x27efc6={}),void 0x0===_0x448231&&(_0x448231=0x0),_0x448231>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x3c4b70={};return _0x27efc6['defaults']&&(_0x3c4b70['commentThreadId']='',_0x3c4b70['content']='',_0x3c4b70['documentId']='',_0x3c4b70['commentId']='',_0x3c4b70['createdAt']='',_0x3c4b70['userId']='',_0x3c4b70['attributes']='',_0x3c4b70['commentThread']=null),null!=_0x112df8['commentThreadId']&&Object['hasOwnProperty']['call'](_0x112df8,'commentThreadId')&&(_0x3c4b70['commentThreadId']=_0x112df8['commentThreadId']),null!=_0x112df8['content']&&Object['hasOwnProperty']['call'](_0x112df8,'content')&&(_0x3c4b70['content']=_0x112df8['content']),null!=_0x112df8['documentId']&&Object['hasOwnProperty']['call'](_0x112df8,'documentId')&&(_0x3c4b70['documentId']=_0x112df8['documentId']),null!=_0x112df8['commentId']&&Object['hasOwnProperty']['call'](_0x112df8,'commentId')&&(_0x3c4b70['commentId']=_0x112df8['commentId']),null!=_0x112df8['createdAt']&&Object['hasOwnProperty']['call'](_0x112df8,'createdAt')&&(_0x3c4b70['createdAt']=_0x112df8['createdAt']),null!=_0x112df8['userId']&&Object['hasOwnProperty']['call'](_0x112df8,'userId')&&(_0x3c4b70['userId']=_0x112df8['userId']),null!=_0x112df8['attributes']&&Object['hasOwnProperty']['call'](_0x112df8,'attributes')&&(_0x3c4b70['attributes']=_0x112df8['attributes']),null!=_0x112df8['commentThread']&&Object['hasOwnProperty']['call'](_0x112df8,'commentThread')&&(_0x3c4b70['commentThread']=_0x4efd5e['CommentsThreadDescriptor']['toObject'](_0x112df8['commentThread'],_0x27efc6,_0x448231+0x1)),_0x3c4b70;},_0xb906c7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0xb906c7['getTypeUrl']=function(_0x2e3f44){return void 0x0===_0x2e3f44&&(_0x2e3f44='type.googleapis.com'),_0x2e3f44+'/CommentsV2AddCommentMessage';},_0xb906c7;}()),_0x4efd5e['CommentsV2UpdateCommentThreadMessage']=(function(){function _0x5528d5(_0x575ba5){if(_0x575ba5){for(var _0xf0917f=Object['keys'](_0x575ba5),_0x77353d=0x0;_0x77353d<_0xf0917f['length'];++_0x77353d)null!=_0x575ba5[_0xf0917f[_0x77353d]]&&'__proto__'!==_0xf0917f[_0x77353d]&&(this[_0xf0917f[_0x77353d]]=_0x575ba5[_0xf0917f[_0x77353d]]);}}return _0x5528d5['prototype']['commentThreadId']='',_0x5528d5['prototype']['documentId']='',_0x5528d5['prototype']['context']='',_0x5528d5['prototype']['attributes']='',_0x5528d5['prototype']['unlinkedAt']='',_0x5528d5['create']=function(_0x33c6a3){return new _0x5528d5(_0x33c6a3);},_0x5528d5['encode']=function(_0x574d2d,_0x235fa3,_0x1b661a){if(_0x235fa3||(_0x235fa3=_0x42a0bf['create']()),void 0x0===_0x1b661a&&(_0x1b661a=0x0),_0x1b661a>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x574d2d['commentThreadId']&&Object['hasOwnProperty']['call'](_0x574d2d,'commentThreadId')&&_0x235fa3['uint32'](0xa)['string'](_0x574d2d['commentThreadId']),null!=_0x574d2d['documentId']&&Object['hasOwnProperty']['call'](_0x574d2d,'documentId')&&_0x235fa3['uint32'](0x12)['string'](_0x574d2d['documentId']),null!=_0x574d2d['context']&&Object['hasOwnProperty']['call'](_0x574d2d,'context')&&_0x235fa3['uint32'](0x1a)['string'](_0x574d2d['context']),null!=_0x574d2d['attributes']&&Object['hasOwnProperty']['call'](_0x574d2d,'attributes')&&_0x235fa3['uint32'](0x22)['string'](_0x574d2d['attributes']),null!=_0x574d2d['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x574d2d,'unlinkedAt')&&_0x235fa3['uint32'](0x2a)['string'](_0x574d2d['unlinkedAt']),_0x235fa3;},_0x5528d5['encodeDelimited']=function(_0x50696d,_0x2631f1){return this['encode'](_0x50696d,_0x2631f1)['ldelim']();},_0x5528d5['decode']=function(_0x18f38b,_0x53842a,_0x16dd83,_0x499c85){if(_0x18f38b instanceof _0x34a44d||(_0x18f38b=_0x34a44d['create'](_0x18f38b)),void 0x0===_0x499c85&&(_0x499c85=0x0),_0x499c85>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1aadf4=void 0x0===_0x53842a?_0x18f38b['len']:_0x18f38b['pos']+_0x53842a,_0x2a830d=new _0x4efd5e['CommentsV2UpdateCommentThreadMessage']();_0x18f38b['pos']<_0x1aadf4;){var _0x450b0a=_0x18f38b['uint32']();if(_0x450b0a===_0x16dd83)break;switch(_0x450b0a>>>0x3){case 0x1:_0x2a830d['commentThreadId']=_0x18f38b['string']();break;case 0x2:_0x2a830d['documentId']=_0x18f38b['string']();break;case 0x3:_0x2a830d['context']=_0x18f38b['string']();break;case 0x4:_0x2a830d['attributes']=_0x18f38b['string']();break;case 0x5:_0x2a830d['unlinkedAt']=_0x18f38b['string']();break;default:_0x18f38b['skipType'](0x7&_0x450b0a,_0x499c85);}}return _0x2a830d;},_0x5528d5['decodeDelimited']=function(_0x33e41c){return _0x33e41c instanceof _0x34a44d||(_0x33e41c=new _0x34a44d(_0x33e41c)),this['decode'](_0x33e41c,_0x33e41c['uint32']());},_0x5528d5['verify']=function(_0x4df44f,_0x3681cc){return'object'!=typeof _0x4df44f||null===_0x4df44f?'object\x20expected':(void 0x0===_0x3681cc&&(_0x3681cc=0x0),_0x3681cc>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4df44f['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4df44f,'commentThreadId')&&!_0x2da725['isString'](_0x4df44f['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x4df44f['documentId']&&Object['hasOwnProperty']['call'](_0x4df44f,'documentId')&&!_0x2da725['isString'](_0x4df44f['documentId'])?'documentId:\x20string\x20expected':null!=_0x4df44f['context']&&Object['hasOwnProperty']['call'](_0x4df44f,'context')&&!_0x2da725['isString'](_0x4df44f['context'])?'context:\x20string\x20expected':null!=_0x4df44f['attributes']&&Object['hasOwnProperty']['call'](_0x4df44f,'attributes')&&!_0x2da725['isString'](_0x4df44f['attributes'])?'attributes:\x20string\x20expected':null!=_0x4df44f['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x4df44f,'unlinkedAt')&&!_0x2da725['isString'](_0x4df44f['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null);},_0x5528d5['fromObject']=function(_0x819cca,_0x5ecd86){if(_0x819cca instanceof _0x4efd5e['CommentsV2UpdateCommentThreadMessage'])return _0x819cca;if(!_0x2da725['isObject'](_0x819cca))throw TypeError('.CommentsV2UpdateCommentThreadMessage:\x20object\x20expected');if(void 0x0===_0x5ecd86&&(_0x5ecd86=0x0),_0x5ecd86>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3e7bec=new _0x4efd5e['CommentsV2UpdateCommentThreadMessage']();return null!=_0x819cca['commentThreadId']&&(_0x3e7bec['commentThreadId']=String(_0x819cca['commentThreadId'])),null!=_0x819cca['documentId']&&(_0x3e7bec['documentId']=String(_0x819cca['documentId'])),null!=_0x819cca['context']&&(_0x3e7bec['context']=String(_0x819cca['context'])),null!=_0x819cca['attributes']&&(_0x3e7bec['attributes']=String(_0x819cca['attributes'])),null!=_0x819cca['unlinkedAt']&&(_0x3e7bec['unlinkedAt']=String(_0x819cca['unlinkedAt'])),_0x3e7bec;},_0x5528d5['toObject']=function(_0x35b479,_0x4611ee,_0x4fc60d){if(_0x4611ee||(_0x4611ee={}),void 0x0===_0x4fc60d&&(_0x4fc60d=0x0),_0x4fc60d>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x22acdd={};return _0x4611ee['defaults']&&(_0x22acdd['commentThreadId']='',_0x22acdd['documentId']='',_0x22acdd['context']='',_0x22acdd['attributes']='',_0x22acdd['unlinkedAt']=''),null!=_0x35b479['commentThreadId']&&Object['hasOwnProperty']['call'](_0x35b479,'commentThreadId')&&(_0x22acdd['commentThreadId']=_0x35b479['commentThreadId']),null!=_0x35b479['documentId']&&Object['hasOwnProperty']['call'](_0x35b479,'documentId')&&(_0x22acdd['documentId']=_0x35b479['documentId']),null!=_0x35b479['context']&&Object['hasOwnProperty']['call'](_0x35b479,'context')&&(_0x22acdd['context']=_0x35b479['context']),null!=_0x35b479['attributes']&&Object['hasOwnProperty']['call'](_0x35b479,'attributes')&&(_0x22acdd['attributes']=_0x35b479['attributes']),null!=_0x35b479['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x35b479,'unlinkedAt')&&(_0x22acdd['unlinkedAt']=_0x35b479['unlinkedAt']),_0x22acdd;},_0x5528d5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x5528d5['getTypeUrl']=function(_0x4f900a){return void 0x0===_0x4f900a&&(_0x4f900a='type.googleapis.com'),_0x4f900a+'/CommentsV2UpdateCommentThreadMessage';},_0x5528d5;}()),_0x4efd5e['CommentsV2ResolveCommentThreadMessage']=(function(){function _0x31409c(_0x4eebad){if(_0x4eebad){for(var _0x241fab=Object['keys'](_0x4eebad),_0x1727fb=0x0;_0x1727fb<_0x241fab['length'];++_0x1727fb)null!=_0x4eebad[_0x241fab[_0x1727fb]]&&'__proto__'!==_0x241fab[_0x1727fb]&&(this[_0x241fab[_0x1727fb]]=_0x4eebad[_0x241fab[_0x1727fb]]);}}return _0x31409c['prototype']['commentThreadId']='',_0x31409c['prototype']['documentId']='',_0x31409c['prototype']['resolvedBy']='',_0x31409c['prototype']['resolvedAt']='',_0x31409c['create']=function(_0x46e0cc){return new _0x31409c(_0x46e0cc);},_0x31409c['encode']=function(_0x21bc86,_0xa6e5ac,_0x8491a7){if(_0xa6e5ac||(_0xa6e5ac=_0x42a0bf['create']()),void 0x0===_0x8491a7&&(_0x8491a7=0x0),_0x8491a7>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x21bc86['commentThreadId']&&Object['hasOwnProperty']['call'](_0x21bc86,'commentThreadId')&&_0xa6e5ac['uint32'](0xa)['string'](_0x21bc86['commentThreadId']),null!=_0x21bc86['documentId']&&Object['hasOwnProperty']['call'](_0x21bc86,'documentId')&&_0xa6e5ac['uint32'](0x12)['string'](_0x21bc86['documentId']),null!=_0x21bc86['resolvedBy']&&Object['hasOwnProperty']['call'](_0x21bc86,'resolvedBy')&&_0xa6e5ac['uint32'](0x1a)['string'](_0x21bc86['resolvedBy']),null!=_0x21bc86['resolvedAt']&&Object['hasOwnProperty']['call'](_0x21bc86,'resolvedAt')&&_0xa6e5ac['uint32'](0x22)['string'](_0x21bc86['resolvedAt']),_0xa6e5ac;},_0x31409c['encodeDelimited']=function(_0x3244d0,_0x77e6f6){return this['encode'](_0x3244d0,_0x77e6f6)['ldelim']();},_0x31409c['decode']=function(_0x25ee1a,_0x536213,_0x1f43bb,_0x1c26b4){if(_0x25ee1a instanceof _0x34a44d||(_0x25ee1a=_0x34a44d['create'](_0x25ee1a)),void 0x0===_0x1c26b4&&(_0x1c26b4=0x0),_0x1c26b4>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x217b75=void 0x0===_0x536213?_0x25ee1a['len']:_0x25ee1a['pos']+_0x536213,_0x32540=new _0x4efd5e['CommentsV2ResolveCommentThreadMessage']();_0x25ee1a['pos']<_0x217b75;){var _0x6636c4=_0x25ee1a['uint32']();if(_0x6636c4===_0x1f43bb)break;switch(_0x6636c4>>>0x3){case 0x1:_0x32540['commentThreadId']=_0x25ee1a['string']();break;case 0x2:_0x32540['documentId']=_0x25ee1a['string']();break;case 0x3:_0x32540['resolvedBy']=_0x25ee1a['string']();break;case 0x4:_0x32540['resolvedAt']=_0x25ee1a['string']();break;default:_0x25ee1a['skipType'](0x7&_0x6636c4,_0x1c26b4);}}return _0x32540;},_0x31409c['decodeDelimited']=function(_0x187ca9){return _0x187ca9 instanceof _0x34a44d||(_0x187ca9=new _0x34a44d(_0x187ca9)),this['decode'](_0x187ca9,_0x187ca9['uint32']());},_0x31409c['verify']=function(_0xd0bdd2,_0x1797ca){return'object'!=typeof _0xd0bdd2||null===_0xd0bdd2?'object\x20expected':(void 0x0===_0x1797ca&&(_0x1797ca=0x0),_0x1797ca>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xd0bdd2['commentThreadId']&&Object['hasOwnProperty']['call'](_0xd0bdd2,'commentThreadId')&&!_0x2da725['isString'](_0xd0bdd2['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0xd0bdd2['documentId']&&Object['hasOwnProperty']['call'](_0xd0bdd2,'documentId')&&!_0x2da725['isString'](_0xd0bdd2['documentId'])?'documentId:\x20string\x20expected':null!=_0xd0bdd2['resolvedBy']&&Object['hasOwnProperty']['call'](_0xd0bdd2,'resolvedBy')&&!_0x2da725['isString'](_0xd0bdd2['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0xd0bdd2['resolvedAt']&&Object['hasOwnProperty']['call'](_0xd0bdd2,'resolvedAt')&&!_0x2da725['isString'](_0xd0bdd2['resolvedAt'])?'resolvedAt:\x20string\x20expected':null);},_0x31409c['fromObject']=function(_0x4c28f1,_0xccfe72){if(_0x4c28f1 instanceof _0x4efd5e['CommentsV2ResolveCommentThreadMessage'])return _0x4c28f1;if(!_0x2da725['isObject'](_0x4c28f1))throw TypeError('.CommentsV2ResolveCommentThreadMessage:\x20object\x20expected');if(void 0x0===_0xccfe72&&(_0xccfe72=0x0),_0xccfe72>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x60fd47=new _0x4efd5e['CommentsV2ResolveCommentThreadMessage']();return null!=_0x4c28f1['commentThreadId']&&(_0x60fd47['commentThreadId']=String(_0x4c28f1['commentThreadId'])),null!=_0x4c28f1['documentId']&&(_0x60fd47['documentId']=String(_0x4c28f1['documentId'])),null!=_0x4c28f1['resolvedBy']&&(_0x60fd47['resolvedBy']=String(_0x4c28f1['resolvedBy'])),null!=_0x4c28f1['resolvedAt']&&(_0x60fd47['resolvedAt']=String(_0x4c28f1['resolvedAt'])),_0x60fd47;},_0x31409c['toObject']=function(_0x21a3a0,_0x4c4302,_0x4d3fdd){if(_0x4c4302||(_0x4c4302={}),void 0x0===_0x4d3fdd&&(_0x4d3fdd=0x0),_0x4d3fdd>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x53c774={};return _0x4c4302['defaults']&&(_0x53c774['commentThreadId']='',_0x53c774['documentId']='',_0x53c774['resolvedBy']='',_0x53c774['resolvedAt']=''),null!=_0x21a3a0['commentThreadId']&&Object['hasOwnProperty']['call'](_0x21a3a0,'commentThreadId')&&(_0x53c774['commentThreadId']=_0x21a3a0['commentThreadId']),null!=_0x21a3a0['documentId']&&Object['hasOwnProperty']['call'](_0x21a3a0,'documentId')&&(_0x53c774['documentId']=_0x21a3a0['documentId']),null!=_0x21a3a0['resolvedBy']&&Object['hasOwnProperty']['call'](_0x21a3a0,'resolvedBy')&&(_0x53c774['resolvedBy']=_0x21a3a0['resolvedBy']),null!=_0x21a3a0['resolvedAt']&&Object['hasOwnProperty']['call'](_0x21a3a0,'resolvedAt')&&(_0x53c774['resolvedAt']=_0x21a3a0['resolvedAt']),_0x53c774;},_0x31409c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x31409c['getTypeUrl']=function(_0x568a9f){return void 0x0===_0x568a9f&&(_0x568a9f='type.googleapis.com'),_0x568a9f+'/CommentsV2ResolveCommentThreadMessage';},_0x31409c;}()),_0x4efd5e['CommentsV2ReopenCommentThreadMessage']=(function(){function _0x5a1d06(_0x152a05){if(_0x152a05){for(var _0x20b0f2=Object['keys'](_0x152a05),_0x196a7c=0x0;_0x196a7c<_0x20b0f2['length'];++_0x196a7c)null!=_0x152a05[_0x20b0f2[_0x196a7c]]&&'__proto__'!==_0x20b0f2[_0x196a7c]&&(this[_0x20b0f2[_0x196a7c]]=_0x152a05[_0x20b0f2[_0x196a7c]]);}}return _0x5a1d06['prototype']['commentThreadId']='',_0x5a1d06['prototype']['documentId']='',_0x5a1d06['create']=function(_0x55859b){return new _0x5a1d06(_0x55859b);},_0x5a1d06['encode']=function(_0x156584,_0x5a422c,_0x17a471){if(_0x5a422c||(_0x5a422c=_0x42a0bf['create']()),void 0x0===_0x17a471&&(_0x17a471=0x0),_0x17a471>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x156584['commentThreadId']&&Object['hasOwnProperty']['call'](_0x156584,'commentThreadId')&&_0x5a422c['uint32'](0xa)['string'](_0x156584['commentThreadId']),null!=_0x156584['documentId']&&Object['hasOwnProperty']['call'](_0x156584,'documentId')&&_0x5a422c['uint32'](0x12)['string'](_0x156584['documentId']),_0x5a422c;},_0x5a1d06['encodeDelimited']=function(_0x3a4349,_0x1b8c69){return this['encode'](_0x3a4349,_0x1b8c69)['ldelim']();},_0x5a1d06['decode']=function(_0x428ea3,_0x3ae056,_0x51bba7,_0xae4714){if(_0x428ea3 instanceof _0x34a44d||(_0x428ea3=_0x34a44d['create'](_0x428ea3)),void 0x0===_0xae4714&&(_0xae4714=0x0),_0xae4714>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x241416=void 0x0===_0x3ae056?_0x428ea3['len']:_0x428ea3['pos']+_0x3ae056,_0x1948d4=new _0x4efd5e['CommentsV2ReopenCommentThreadMessage']();_0x428ea3['pos']<_0x241416;){var _0x10dd15=_0x428ea3['uint32']();if(_0x10dd15===_0x51bba7)break;switch(_0x10dd15>>>0x3){case 0x1:_0x1948d4['commentThreadId']=_0x428ea3['string']();break;case 0x2:_0x1948d4['documentId']=_0x428ea3['string']();break;default:_0x428ea3['skipType'](0x7&_0x10dd15,_0xae4714);}}return _0x1948d4;},_0x5a1d06['decodeDelimited']=function(_0x59db37){return _0x59db37 instanceof _0x34a44d||(_0x59db37=new _0x34a44d(_0x59db37)),this['decode'](_0x59db37,_0x59db37['uint32']());},_0x5a1d06['verify']=function(_0x258cbd,_0x43eacb){return'object'!=typeof _0x258cbd||null===_0x258cbd?'object\x20expected':(void 0x0===_0x43eacb&&(_0x43eacb=0x0),_0x43eacb>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x258cbd['commentThreadId']&&Object['hasOwnProperty']['call'](_0x258cbd,'commentThreadId')&&!_0x2da725['isString'](_0x258cbd['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x258cbd['documentId']&&Object['hasOwnProperty']['call'](_0x258cbd,'documentId')&&!_0x2da725['isString'](_0x258cbd['documentId'])?'documentId:\x20string\x20expected':null);},_0x5a1d06['fromObject']=function(_0x4dc7d9,_0x14d826){if(_0x4dc7d9 instanceof _0x4efd5e['CommentsV2ReopenCommentThreadMessage'])return _0x4dc7d9;if(!_0x2da725['isObject'](_0x4dc7d9))throw TypeError('.CommentsV2ReopenCommentThreadMessage:\x20object\x20expected');if(void 0x0===_0x14d826&&(_0x14d826=0x0),_0x14d826>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5bbda3=new _0x4efd5e['CommentsV2ReopenCommentThreadMessage']();return null!=_0x4dc7d9['commentThreadId']&&(_0x5bbda3['commentThreadId']=String(_0x4dc7d9['commentThreadId'])),null!=_0x4dc7d9['documentId']&&(_0x5bbda3['documentId']=String(_0x4dc7d9['documentId'])),_0x5bbda3;},_0x5a1d06['toObject']=function(_0x4331db,_0x56320a,_0x69312d){if(_0x56320a||(_0x56320a={}),void 0x0===_0x69312d&&(_0x69312d=0x0),_0x69312d>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0xd69cf4={};return _0x56320a['defaults']&&(_0xd69cf4['commentThreadId']='',_0xd69cf4['documentId']=''),null!=_0x4331db['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4331db,'commentThreadId')&&(_0xd69cf4['commentThreadId']=_0x4331db['commentThreadId']),null!=_0x4331db['documentId']&&Object['hasOwnProperty']['call'](_0x4331db,'documentId')&&(_0xd69cf4['documentId']=_0x4331db['documentId']),_0xd69cf4;},_0x5a1d06['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x5a1d06['getTypeUrl']=function(_0x12b785){return void 0x0===_0x12b785&&(_0x12b785='type.googleapis.com'),_0x12b785+'/CommentsV2ReopenCommentThreadMessage';},_0x5a1d06;}()),_0x4efd5e['CommentsV2AddCommentThreadMessage']=(function(){function _0x9f5666(_0x315a03){if(this['comments']=[],_0x315a03){for(var _0x10bc48=Object['keys'](_0x315a03),_0x5af8cb=0x0;_0x5af8cb<_0x10bc48['length'];++_0x5af8cb)null!=_0x315a03[_0x10bc48[_0x5af8cb]]&&'__proto__'!==_0x10bc48[_0x5af8cb]&&(this[_0x10bc48[_0x5af8cb]]=_0x315a03[_0x10bc48[_0x5af8cb]]);}}return _0x9f5666['prototype']['documentId']='',_0x9f5666['prototype']['commentThreadId']='',_0x9f5666['prototype']['context']='',_0x9f5666['prototype']['createdAt']='',_0x9f5666['prototype']['resolvedAt']='',_0x9f5666['prototype']['resolvedBy']='',_0x9f5666['prototype']['attributes']='',_0x9f5666['prototype']['deletedAt']='',_0x9f5666['prototype']['comments']=_0x2da725['emptyArray'],_0x9f5666['create']=function(_0x5cb827){return new _0x9f5666(_0x5cb827);},_0x9f5666['encode']=function(_0x162a5b,_0x32598b,_0x1d4f88){if(_0x32598b||(_0x32598b=_0x42a0bf['create']()),void 0x0===_0x1d4f88&&(_0x1d4f88=0x0),_0x1d4f88>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x162a5b['documentId']&&Object['hasOwnProperty']['call'](_0x162a5b,'documentId')&&_0x32598b['uint32'](0xa)['string'](_0x162a5b['documentId']),null!=_0x162a5b['commentThreadId']&&Object['hasOwnProperty']['call'](_0x162a5b,'commentThreadId')&&_0x32598b['uint32'](0x12)['string'](_0x162a5b['commentThreadId']),null!=_0x162a5b['context']&&Object['hasOwnProperty']['call'](_0x162a5b,'context')&&_0x32598b['uint32'](0x1a)['string'](_0x162a5b['context']),null!=_0x162a5b['createdAt']&&Object['hasOwnProperty']['call'](_0x162a5b,'createdAt')&&_0x32598b['uint32'](0x22)['string'](_0x162a5b['createdAt']),null!=_0x162a5b['resolvedAt']&&Object['hasOwnProperty']['call'](_0x162a5b,'resolvedAt')&&_0x32598b['uint32'](0x2a)['string'](_0x162a5b['resolvedAt']),null!=_0x162a5b['resolvedBy']&&Object['hasOwnProperty']['call'](_0x162a5b,'resolvedBy')&&_0x32598b['uint32'](0x32)['string'](_0x162a5b['resolvedBy']),null!=_0x162a5b['attributes']&&Object['hasOwnProperty']['call'](_0x162a5b,'attributes')&&_0x32598b['uint32'](0x3a)['string'](_0x162a5b['attributes']),null!=_0x162a5b['deletedAt']&&Object['hasOwnProperty']['call'](_0x162a5b,'deletedAt')&&_0x32598b['uint32'](0x42)['string'](_0x162a5b['deletedAt']),null!=_0x162a5b['comments']&&_0x162a5b['comments']['length']){for(var _0x2dd5b7=0x0;_0x2dd5b7<_0x162a5b['comments']['length'];++_0x2dd5b7)_0x4efd5e['CommentDescriptor']['encode'](_0x162a5b['comments'][_0x2dd5b7],_0x32598b['uint32'](0x4a)['fork'](),_0x1d4f88+0x1)['ldelim']();}return _0x32598b;},_0x9f5666['encodeDelimited']=function(_0x13e315,_0x5453d1){return this['encode'](_0x13e315,_0x5453d1)['ldelim']();},_0x9f5666['decode']=function(_0x1f2ed1,_0xd84dd9,_0x1080a9,_0x25a88c){if(_0x1f2ed1 instanceof _0x34a44d||(_0x1f2ed1=_0x34a44d['create'](_0x1f2ed1)),void 0x0===_0x25a88c&&(_0x25a88c=0x0),_0x25a88c>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x34a3e5=void 0x0===_0xd84dd9?_0x1f2ed1['len']:_0x1f2ed1['pos']+_0xd84dd9,_0x3722cd=new _0x4efd5e['CommentsV2AddCommentThreadMessage']();_0x1f2ed1['pos']<_0x34a3e5;){var _0x5ca7f5=_0x1f2ed1['uint32']();if(_0x5ca7f5===_0x1080a9)break;switch(_0x5ca7f5>>>0x3){case 0x1:_0x3722cd['documentId']=_0x1f2ed1['string']();break;case 0x2:_0x3722cd['commentThreadId']=_0x1f2ed1['string']();break;case 0x3:_0x3722cd['context']=_0x1f2ed1['string']();break;case 0x4:_0x3722cd['createdAt']=_0x1f2ed1['string']();break;case 0x5:_0x3722cd['resolvedAt']=_0x1f2ed1['string']();break;case 0x6:_0x3722cd['resolvedBy']=_0x1f2ed1['string']();break;case 0x7:_0x3722cd['attributes']=_0x1f2ed1['string']();break;case 0x8:_0x3722cd['deletedAt']=_0x1f2ed1['string']();break;case 0x9:_0x3722cd['comments']&&_0x3722cd['comments']['length']||(_0x3722cd['comments']=[]),_0x3722cd['comments']['push'](_0x4efd5e['CommentDescriptor']['decode'](_0x1f2ed1,_0x1f2ed1['uint32'](),void 0x0,_0x25a88c+0x1));break;default:_0x1f2ed1['skipType'](0x7&_0x5ca7f5,_0x25a88c);}}return _0x3722cd;},_0x9f5666['decodeDelimited']=function(_0x14c067){return _0x14c067 instanceof _0x34a44d||(_0x14c067=new _0x34a44d(_0x14c067)),this['decode'](_0x14c067,_0x14c067['uint32']());},_0x9f5666['verify']=function(_0x47f9db,_0x1ac7dd){if('object'!=typeof _0x47f9db||null===_0x47f9db)return'object\x20expected';if(void 0x0===_0x1ac7dd&&(_0x1ac7dd=0x0),_0x1ac7dd>_0x2da725['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x47f9db['documentId']&&Object['hasOwnProperty']['call'](_0x47f9db,'documentId')&&!_0x2da725['isString'](_0x47f9db['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x47f9db['commentThreadId']&&Object['hasOwnProperty']['call'](_0x47f9db,'commentThreadId')&&!_0x2da725['isString'](_0x47f9db['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x47f9db['context']&&Object['hasOwnProperty']['call'](_0x47f9db,'context')&&!_0x2da725['isString'](_0x47f9db['context']))return'context:\x20string\x20expected';if(null!=_0x47f9db['createdAt']&&Object['hasOwnProperty']['call'](_0x47f9db,'createdAt')&&!_0x2da725['isString'](_0x47f9db['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x47f9db['resolvedAt']&&Object['hasOwnProperty']['call'](_0x47f9db,'resolvedAt')&&!_0x2da725['isString'](_0x47f9db['resolvedAt']))return'resolvedAt:\x20string\x20expected';if(null!=_0x47f9db['resolvedBy']&&Object['hasOwnProperty']['call'](_0x47f9db,'resolvedBy')&&!_0x2da725['isString'](_0x47f9db['resolvedBy']))return'resolvedBy:\x20string\x20expected';if(null!=_0x47f9db['attributes']&&Object['hasOwnProperty']['call'](_0x47f9db,'attributes')&&!_0x2da725['isString'](_0x47f9db['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x47f9db['deletedAt']&&Object['hasOwnProperty']['call'](_0x47f9db,'deletedAt')&&!_0x2da725['isString'](_0x47f9db['deletedAt']))return'deletedAt:\x20string\x20expected';if(null!=_0x47f9db['comments']&&Object['hasOwnProperty']['call'](_0x47f9db,'comments')){if(!Array['isArray'](_0x47f9db['comments']))return'comments:\x20array\x20expected';for(var _0x421ca6=0x0;_0x421ca6<_0x47f9db['comments']['length'];++_0x421ca6){var _0x566c35=_0x4efd5e['CommentDescriptor']['verify'](_0x47f9db['comments'][_0x421ca6],_0x1ac7dd+0x1);if(_0x566c35)return'comments.'+_0x566c35;}}return null;},_0x9f5666['fromObject']=function(_0x585a62,_0x4ec49a){if(_0x585a62 instanceof _0x4efd5e['CommentsV2AddCommentThreadMessage'])return _0x585a62;if(!_0x2da725['isObject'](_0x585a62))throw TypeError('.CommentsV2AddCommentThreadMessage:\x20object\x20expected');if(void 0x0===_0x4ec49a&&(_0x4ec49a=0x0),_0x4ec49a>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x9db9ad=new _0x4efd5e['CommentsV2AddCommentThreadMessage']();if(null!=_0x585a62['documentId']&&(_0x9db9ad['documentId']=String(_0x585a62['documentId'])),null!=_0x585a62['commentThreadId']&&(_0x9db9ad['commentThreadId']=String(_0x585a62['commentThreadId'])),null!=_0x585a62['context']&&(_0x9db9ad['context']=String(_0x585a62['context'])),null!=_0x585a62['createdAt']&&(_0x9db9ad['createdAt']=String(_0x585a62['createdAt'])),null!=_0x585a62['resolvedAt']&&(_0x9db9ad['resolvedAt']=String(_0x585a62['resolvedAt'])),null!=_0x585a62['resolvedBy']&&(_0x9db9ad['resolvedBy']=String(_0x585a62['resolvedBy'])),null!=_0x585a62['attributes']&&(_0x9db9ad['attributes']=String(_0x585a62['attributes'])),null!=_0x585a62['deletedAt']&&(_0x9db9ad['deletedAt']=String(_0x585a62['deletedAt'])),_0x585a62['comments']){if(!Array['isArray'](_0x585a62['comments']))throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20array\x20expected');_0x9db9ad['comments']=[];for(var _0x252b6d=0x0;_0x252b6d<_0x585a62['comments']['length'];++_0x252b6d){if(!_0x2da725['isObject'](_0x585a62['comments'][_0x252b6d]))throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20object\x20expected');_0x9db9ad['comments'][_0x252b6d]=_0x4efd5e['CommentDescriptor']['fromObject'](_0x585a62['comments'][_0x252b6d],_0x4ec49a+0x1);}}return _0x9db9ad;},_0x9f5666['toObject']=function(_0x3a012c,_0x2cfd0f,_0x42fb30){if(_0x2cfd0f||(_0x2cfd0f={}),void 0x0===_0x42fb30&&(_0x42fb30=0x0),_0x42fb30>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x33eff8={};if((_0x2cfd0f['arrays']||_0x2cfd0f['defaults'])&&(_0x33eff8['comments']=[]),_0x2cfd0f['defaults']&&(_0x33eff8['documentId']='',_0x33eff8['commentThreadId']='',_0x33eff8['context']='',_0x33eff8['createdAt']='',_0x33eff8['resolvedAt']='',_0x33eff8['resolvedBy']='',_0x33eff8['attributes']='',_0x33eff8['deletedAt']=''),null!=_0x3a012c['documentId']&&Object['hasOwnProperty']['call'](_0x3a012c,'documentId')&&(_0x33eff8['documentId']=_0x3a012c['documentId']),null!=_0x3a012c['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3a012c,'commentThreadId')&&(_0x33eff8['commentThreadId']=_0x3a012c['commentThreadId']),null!=_0x3a012c['context']&&Object['hasOwnProperty']['call'](_0x3a012c,'context')&&(_0x33eff8['context']=_0x3a012c['context']),null!=_0x3a012c['createdAt']&&Object['hasOwnProperty']['call'](_0x3a012c,'createdAt')&&(_0x33eff8['createdAt']=_0x3a012c['createdAt']),null!=_0x3a012c['resolvedAt']&&Object['hasOwnProperty']['call'](_0x3a012c,'resolvedAt')&&(_0x33eff8['resolvedAt']=_0x3a012c['resolvedAt']),null!=_0x3a012c['resolvedBy']&&Object['hasOwnProperty']['call'](_0x3a012c,'resolvedBy')&&(_0x33eff8['resolvedBy']=_0x3a012c['resolvedBy']),null!=_0x3a012c['attributes']&&Object['hasOwnProperty']['call'](_0x3a012c,'attributes')&&(_0x33eff8['attributes']=_0x3a012c['attributes']),null!=_0x3a012c['deletedAt']&&Object['hasOwnProperty']['call'](_0x3a012c,'deletedAt')&&(_0x33eff8['deletedAt']=_0x3a012c['deletedAt']),_0x3a012c['comments']&&_0x3a012c['comments']['length']){_0x33eff8['comments']=[];for(var _0x57ad98=0x0;_0x57ad98<_0x3a012c['comments']['length'];++_0x57ad98)_0x33eff8['comments'][_0x57ad98]=_0x4efd5e['CommentDescriptor']['toObject'](_0x3a012c['comments'][_0x57ad98],_0x2cfd0f,_0x42fb30+0x1);}return _0x33eff8;},_0x9f5666['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x9f5666['getTypeUrl']=function(_0x15a592){return void 0x0===_0x15a592&&(_0x15a592='type.googleapis.com'),_0x15a592+'/CommentsV2AddCommentThreadMessage';},_0x9f5666;}()),_0x4efd5e['CommentThreadAddedCommentDescriptor']=(function(){function _0x1cdc56(_0x4731e1){if(_0x4731e1){for(var _0x194fd6=Object['keys'](_0x4731e1),_0x60010=0x0;_0x60010<_0x194fd6['length'];++_0x60010)null!=_0x4731e1[_0x194fd6[_0x60010]]&&'__proto__'!==_0x194fd6[_0x60010]&&(this[_0x194fd6[_0x60010]]=_0x4731e1[_0x194fd6[_0x60010]]);}}return _0x1cdc56['prototype']['commentId']='',_0x1cdc56['prototype']['createdAt']='',_0x1cdc56['create']=function(_0x145bc2){return new _0x1cdc56(_0x145bc2);},_0x1cdc56['encode']=function(_0x4d6cef,_0x31a4df,_0x2f3bf1){if(_0x31a4df||(_0x31a4df=_0x42a0bf['create']()),void 0x0===_0x2f3bf1&&(_0x2f3bf1=0x0),_0x2f3bf1>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x4d6cef['commentId']&&Object['hasOwnProperty']['call'](_0x4d6cef,'commentId')&&_0x31a4df['uint32'](0xa)['string'](_0x4d6cef['commentId']),null!=_0x4d6cef['createdAt']&&Object['hasOwnProperty']['call'](_0x4d6cef,'createdAt')&&_0x31a4df['uint32'](0x12)['string'](_0x4d6cef['createdAt']),_0x31a4df;},_0x1cdc56['encodeDelimited']=function(_0x59e2dd,_0x4f4b88){return this['encode'](_0x59e2dd,_0x4f4b88)['ldelim']();},_0x1cdc56['decode']=function(_0x2958ab,_0x483133,_0x2301fe,_0x3be5b4){if(_0x2958ab instanceof _0x34a44d||(_0x2958ab=_0x34a44d['create'](_0x2958ab)),void 0x0===_0x3be5b4&&(_0x3be5b4=0x0),_0x3be5b4>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x48671d=void 0x0===_0x483133?_0x2958ab['len']:_0x2958ab['pos']+_0x483133,_0x355eef=new _0x4efd5e['CommentThreadAddedCommentDescriptor']();_0x2958ab['pos']<_0x48671d;){var _0x390ebc=_0x2958ab['uint32']();if(_0x390ebc===_0x2301fe)break;switch(_0x390ebc>>>0x3){case 0x1:_0x355eef['commentId']=_0x2958ab['string']();break;case 0x2:_0x355eef['createdAt']=_0x2958ab['string']();break;default:_0x2958ab['skipType'](0x7&_0x390ebc,_0x3be5b4);}}return _0x355eef;},_0x1cdc56['decodeDelimited']=function(_0x1fe3cc){return _0x1fe3cc instanceof _0x34a44d||(_0x1fe3cc=new _0x34a44d(_0x1fe3cc)),this['decode'](_0x1fe3cc,_0x1fe3cc['uint32']());},_0x1cdc56['verify']=function(_0x4126e1,_0x5d9963){return'object'!=typeof _0x4126e1||null===_0x4126e1?'object\x20expected':(void 0x0===_0x5d9963&&(_0x5d9963=0x0),_0x5d9963>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4126e1['commentId']&&Object['hasOwnProperty']['call'](_0x4126e1,'commentId')&&!_0x2da725['isString'](_0x4126e1['commentId'])?'commentId:\x20string\x20expected':null!=_0x4126e1['createdAt']&&Object['hasOwnProperty']['call'](_0x4126e1,'createdAt')&&!_0x2da725['isString'](_0x4126e1['createdAt'])?'createdAt:\x20string\x20expected':null);},_0x1cdc56['fromObject']=function(_0x29316e,_0x31757e){if(_0x29316e instanceof _0x4efd5e['CommentThreadAddedCommentDescriptor'])return _0x29316e;if(!_0x2da725['isObject'](_0x29316e))throw TypeError('.CommentThreadAddedCommentDescriptor:\x20object\x20expected');if(void 0x0===_0x31757e&&(_0x31757e=0x0),_0x31757e>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3323d7=new _0x4efd5e['CommentThreadAddedCommentDescriptor']();return null!=_0x29316e['commentId']&&(_0x3323d7['commentId']=String(_0x29316e['commentId'])),null!=_0x29316e['createdAt']&&(_0x3323d7['createdAt']=String(_0x29316e['createdAt'])),_0x3323d7;},_0x1cdc56['toObject']=function(_0x1d6107,_0xa405f1,_0x3b31d7){if(_0xa405f1||(_0xa405f1={}),void 0x0===_0x3b31d7&&(_0x3b31d7=0x0),_0x3b31d7>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x54e330={};return _0xa405f1['defaults']&&(_0x54e330['commentId']='',_0x54e330['createdAt']=''),null!=_0x1d6107['commentId']&&Object['hasOwnProperty']['call'](_0x1d6107,'commentId')&&(_0x54e330['commentId']=_0x1d6107['commentId']),null!=_0x1d6107['createdAt']&&Object['hasOwnProperty']['call'](_0x1d6107,'createdAt')&&(_0x54e330['createdAt']=_0x1d6107['createdAt']),_0x54e330;},_0x1cdc56['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x1cdc56['getTypeUrl']=function(_0x4d6c09){return void 0x0===_0x4d6c09&&(_0x4d6c09='type.googleapis.com'),_0x4d6c09+'/CommentThreadAddedCommentDescriptor';},_0x1cdc56;}()),_0x4efd5e['CommentsThreadDescriptor']=(function(){function _0xe3525c(_0x36ab53){if(this['comments']=[],_0x36ab53){for(var _0x4296c9=Object['keys'](_0x36ab53),_0x583cd2=0x0;_0x583cd2<_0x4296c9['length'];++_0x583cd2)null!=_0x36ab53[_0x4296c9[_0x583cd2]]&&'__proto__'!==_0x4296c9[_0x583cd2]&&(this[_0x4296c9[_0x583cd2]]=_0x36ab53[_0x4296c9[_0x583cd2]]);}}return _0xe3525c['prototype']['commentThreadId']='',_0xe3525c['prototype']['comments']=_0x2da725['emptyArray'],_0xe3525c['prototype']['resolvedAt']='',_0xe3525c['prototype']['resolvedBy']='',_0xe3525c['prototype']['context']='',_0xe3525c['prototype']['createdAt']='',_0xe3525c['prototype']['deletedAt']='',_0xe3525c['prototype']['attributes']='',_0xe3525c['prototype']['unlinkedAt']='',_0xe3525c['create']=function(_0x418857){return new _0xe3525c(_0x418857);},_0xe3525c['encode']=function(_0x4eaa1e,_0x10d95e,_0x3d773f){if(_0x10d95e||(_0x10d95e=_0x42a0bf['create']()),void 0x0===_0x3d773f&&(_0x3d773f=0x0),_0x3d773f>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x4eaa1e['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4eaa1e,'commentThreadId')&&_0x10d95e['uint32'](0xa)['string'](_0x4eaa1e['commentThreadId']),null!=_0x4eaa1e['comments']&&_0x4eaa1e['comments']['length']){for(var _0x2b2113=0x0;_0x2b2113<_0x4eaa1e['comments']['length'];++_0x2b2113)_0x4efd5e['CommentDescriptor']['encode'](_0x4eaa1e['comments'][_0x2b2113],_0x10d95e['uint32'](0x12)['fork'](),_0x3d773f+0x1)['ldelim']();}return null!=_0x4eaa1e['resolvedAt']&&Object['hasOwnProperty']['call'](_0x4eaa1e,'resolvedAt')&&_0x10d95e['uint32'](0x1a)['string'](_0x4eaa1e['resolvedAt']),null!=_0x4eaa1e['resolvedBy']&&Object['hasOwnProperty']['call'](_0x4eaa1e,'resolvedBy')&&_0x10d95e['uint32'](0x22)['string'](_0x4eaa1e['resolvedBy']),null!=_0x4eaa1e['context']&&Object['hasOwnProperty']['call'](_0x4eaa1e,'context')&&_0x10d95e['uint32'](0x2a)['string'](_0x4eaa1e['context']),null!=_0x4eaa1e['createdAt']&&Object['hasOwnProperty']['call'](_0x4eaa1e,'createdAt')&&_0x10d95e['uint32'](0x32)['string'](_0x4eaa1e['createdAt']),null!=_0x4eaa1e['deletedAt']&&Object['hasOwnProperty']['call'](_0x4eaa1e,'deletedAt')&&_0x10d95e['uint32'](0x3a)['string'](_0x4eaa1e['deletedAt']),null!=_0x4eaa1e['attributes']&&Object['hasOwnProperty']['call'](_0x4eaa1e,'attributes')&&_0x10d95e['uint32'](0x42)['string'](_0x4eaa1e['attributes']),null!=_0x4eaa1e['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x4eaa1e,'unlinkedAt')&&_0x10d95e['uint32'](0x4a)['string'](_0x4eaa1e['unlinkedAt']),_0x10d95e;},_0xe3525c['encodeDelimited']=function(_0x368d01,_0x79ff08){return this['encode'](_0x368d01,_0x79ff08)['ldelim']();},_0xe3525c['decode']=function(_0x3e4fe9,_0x1cd37f,_0x1ac2c4,_0x4bc7b8){if(_0x3e4fe9 instanceof _0x34a44d||(_0x3e4fe9=_0x34a44d['create'](_0x3e4fe9)),void 0x0===_0x4bc7b8&&(_0x4bc7b8=0x0),_0x4bc7b8>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3541d5=void 0x0===_0x1cd37f?_0x3e4fe9['len']:_0x3e4fe9['pos']+_0x1cd37f,_0x5ef6db=new _0x4efd5e['CommentsThreadDescriptor']();_0x3e4fe9['pos']<_0x3541d5;){var _0x12425d=_0x3e4fe9['uint32']();if(_0x12425d===_0x1ac2c4)break;switch(_0x12425d>>>0x3){case 0x1:_0x5ef6db['commentThreadId']=_0x3e4fe9['string']();break;case 0x2:_0x5ef6db['comments']&&_0x5ef6db['comments']['length']||(_0x5ef6db['comments']=[]),_0x5ef6db['comments']['push'](_0x4efd5e['CommentDescriptor']['decode'](_0x3e4fe9,_0x3e4fe9['uint32'](),void 0x0,_0x4bc7b8+0x1));break;case 0x3:_0x5ef6db['resolvedAt']=_0x3e4fe9['string']();break;case 0x4:_0x5ef6db['resolvedBy']=_0x3e4fe9['string']();break;case 0x5:_0x5ef6db['context']=_0x3e4fe9['string']();break;case 0x6:_0x5ef6db['createdAt']=_0x3e4fe9['string']();break;case 0x7:_0x5ef6db['deletedAt']=_0x3e4fe9['string']();break;case 0x8:_0x5ef6db['attributes']=_0x3e4fe9['string']();break;case 0x9:_0x5ef6db['unlinkedAt']=_0x3e4fe9['string']();break;default:_0x3e4fe9['skipType'](0x7&_0x12425d,_0x4bc7b8);}}return _0x5ef6db;},_0xe3525c['decodeDelimited']=function(_0x4ea09b){return _0x4ea09b instanceof _0x34a44d||(_0x4ea09b=new _0x34a44d(_0x4ea09b)),this['decode'](_0x4ea09b,_0x4ea09b['uint32']());},_0xe3525c['verify']=function(_0x1e26f2,_0x17b5a0){if('object'!=typeof _0x1e26f2||null===_0x1e26f2)return'object\x20expected';if(void 0x0===_0x17b5a0&&(_0x17b5a0=0x0),_0x17b5a0>_0x2da725['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x1e26f2['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1e26f2,'commentThreadId')&&!_0x2da725['isString'](_0x1e26f2['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x1e26f2['comments']&&Object['hasOwnProperty']['call'](_0x1e26f2,'comments')){if(!Array['isArray'](_0x1e26f2['comments']))return'comments:\x20array\x20expected';for(var _0x5cdfc1=0x0;_0x5cdfc1<_0x1e26f2['comments']['length'];++_0x5cdfc1){var _0x10df52=_0x4efd5e['CommentDescriptor']['verify'](_0x1e26f2['comments'][_0x5cdfc1],_0x17b5a0+0x1);if(_0x10df52)return'comments.'+_0x10df52;}}return null!=_0x1e26f2['resolvedAt']&&Object['hasOwnProperty']['call'](_0x1e26f2,'resolvedAt')&&!_0x2da725['isString'](_0x1e26f2['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x1e26f2['resolvedBy']&&Object['hasOwnProperty']['call'](_0x1e26f2,'resolvedBy')&&!_0x2da725['isString'](_0x1e26f2['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x1e26f2['context']&&Object['hasOwnProperty']['call'](_0x1e26f2,'context')&&!_0x2da725['isString'](_0x1e26f2['context'])?'context:\x20string\x20expected':null!=_0x1e26f2['createdAt']&&Object['hasOwnProperty']['call'](_0x1e26f2,'createdAt')&&!_0x2da725['isString'](_0x1e26f2['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x1e26f2['deletedAt']&&Object['hasOwnProperty']['call'](_0x1e26f2,'deletedAt')&&!_0x2da725['isString'](_0x1e26f2['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x1e26f2['attributes']&&Object['hasOwnProperty']['call'](_0x1e26f2,'attributes')&&!_0x2da725['isString'](_0x1e26f2['attributes'])?'attributes:\x20string\x20expected':null!=_0x1e26f2['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x1e26f2,'unlinkedAt')&&!_0x2da725['isString'](_0x1e26f2['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0xe3525c['fromObject']=function(_0x2287d0,_0x429752){if(_0x2287d0 instanceof _0x4efd5e['CommentsThreadDescriptor'])return _0x2287d0;if(!_0x2da725['isObject'](_0x2287d0))throw TypeError('.CommentsThreadDescriptor:\x20object\x20expected');if(void 0x0===_0x429752&&(_0x429752=0x0),_0x429752>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x178fed=new _0x4efd5e['CommentsThreadDescriptor']();if(null!=_0x2287d0['commentThreadId']&&(_0x178fed['commentThreadId']=String(_0x2287d0['commentThreadId'])),_0x2287d0['comments']){if(!Array['isArray'](_0x2287d0['comments']))throw TypeError('.CommentsThreadDescriptor.comments:\x20array\x20expected');_0x178fed['comments']=[];for(var _0x10cf32=0x0;_0x10cf32<_0x2287d0['comments']['length'];++_0x10cf32){if(!_0x2da725['isObject'](_0x2287d0['comments'][_0x10cf32]))throw TypeError('.CommentsThreadDescriptor.comments:\x20object\x20expected');_0x178fed['comments'][_0x10cf32]=_0x4efd5e['CommentDescriptor']['fromObject'](_0x2287d0['comments'][_0x10cf32],_0x429752+0x1);}}return null!=_0x2287d0['resolvedAt']&&(_0x178fed['resolvedAt']=String(_0x2287d0['resolvedAt'])),null!=_0x2287d0['resolvedBy']&&(_0x178fed['resolvedBy']=String(_0x2287d0['resolvedBy'])),null!=_0x2287d0['context']&&(_0x178fed['context']=String(_0x2287d0['context'])),null!=_0x2287d0['createdAt']&&(_0x178fed['createdAt']=String(_0x2287d0['createdAt'])),null!=_0x2287d0['deletedAt']&&(_0x178fed['deletedAt']=String(_0x2287d0['deletedAt'])),null!=_0x2287d0['attributes']&&(_0x178fed['attributes']=String(_0x2287d0['attributes'])),null!=_0x2287d0['unlinkedAt']&&(_0x178fed['unlinkedAt']=String(_0x2287d0['unlinkedAt'])),_0x178fed;},_0xe3525c['toObject']=function(_0x42c113,_0x5ef94e,_0x4399e0){if(_0x5ef94e||(_0x5ef94e={}),void 0x0===_0x4399e0&&(_0x4399e0=0x0),_0x4399e0>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x4c6647={};if((_0x5ef94e['arrays']||_0x5ef94e['defaults'])&&(_0x4c6647['comments']=[]),_0x5ef94e['defaults']&&(_0x4c6647['commentThreadId']='',_0x4c6647['resolvedAt']='',_0x4c6647['resolvedBy']='',_0x4c6647['context']='',_0x4c6647['createdAt']='',_0x4c6647['deletedAt']='',_0x4c6647['attributes']='',_0x4c6647['unlinkedAt']=''),null!=_0x42c113['commentThreadId']&&Object['hasOwnProperty']['call'](_0x42c113,'commentThreadId')&&(_0x4c6647['commentThreadId']=_0x42c113['commentThreadId']),_0x42c113['comments']&&_0x42c113['comments']['length']){_0x4c6647['comments']=[];for(var _0x57c293=0x0;_0x57c293<_0x42c113['comments']['length'];++_0x57c293)_0x4c6647['comments'][_0x57c293]=_0x4efd5e['CommentDescriptor']['toObject'](_0x42c113['comments'][_0x57c293],_0x5ef94e,_0x4399e0+0x1);}return null!=_0x42c113['resolvedAt']&&Object['hasOwnProperty']['call'](_0x42c113,'resolvedAt')&&(_0x4c6647['resolvedAt']=_0x42c113['resolvedAt']),null!=_0x42c113['resolvedBy']&&Object['hasOwnProperty']['call'](_0x42c113,'resolvedBy')&&(_0x4c6647['resolvedBy']=_0x42c113['resolvedBy']),null!=_0x42c113['context']&&Object['hasOwnProperty']['call'](_0x42c113,'context')&&(_0x4c6647['context']=_0x42c113['context']),null!=_0x42c113['createdAt']&&Object['hasOwnProperty']['call'](_0x42c113,'createdAt')&&(_0x4c6647['createdAt']=_0x42c113['createdAt']),null!=_0x42c113['deletedAt']&&Object['hasOwnProperty']['call'](_0x42c113,'deletedAt')&&(_0x4c6647['deletedAt']=_0x42c113['deletedAt']),null!=_0x42c113['attributes']&&Object['hasOwnProperty']['call'](_0x42c113,'attributes')&&(_0x4c6647['attributes']=_0x42c113['attributes']),null!=_0x42c113['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x42c113,'unlinkedAt')&&(_0x4c6647['unlinkedAt']=_0x42c113['unlinkedAt']),_0x4c6647;},_0xe3525c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0xe3525c['getTypeUrl']=function(_0x35096c){return void 0x0===_0x35096c&&(_0x35096c='type.googleapis.com'),_0x35096c+'/CommentsThreadDescriptor';},_0xe3525c;}()),_0x4efd5e['CommentDescriptor']=(function(){function _0x201f38(_0x185807){if(_0x185807){for(var _0x2bac9c=Object['keys'](_0x185807),_0x4e0e57=0x0;_0x4e0e57<_0x2bac9c['length'];++_0x4e0e57)null!=_0x185807[_0x2bac9c[_0x4e0e57]]&&'__proto__'!==_0x2bac9c[_0x4e0e57]&&(this[_0x2bac9c[_0x4e0e57]]=_0x185807[_0x2bac9c[_0x4e0e57]]);}}return _0x201f38['prototype']['commentId']='',_0x201f38['prototype']['commentThreadId']='',_0x201f38['prototype']['userId']='',_0x201f38['prototype']['content']='',_0x201f38['prototype']['documentId']='',_0x201f38['prototype']['createdAt']='',_0x201f38['prototype']['attributes']='',_0x201f38['create']=function(_0xcec743){return new _0x201f38(_0xcec743);},_0x201f38['encode']=function(_0x3fc4ec,_0x1e2c29,_0x4cd26a){if(_0x1e2c29||(_0x1e2c29=_0x42a0bf['create']()),void 0x0===_0x4cd26a&&(_0x4cd26a=0x0),_0x4cd26a>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x3fc4ec['commentId']&&Object['hasOwnProperty']['call'](_0x3fc4ec,'commentId')&&_0x1e2c29['uint32'](0xa)['string'](_0x3fc4ec['commentId']),null!=_0x3fc4ec['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3fc4ec,'commentThreadId')&&_0x1e2c29['uint32'](0x12)['string'](_0x3fc4ec['commentThreadId']),null!=_0x3fc4ec['userId']&&Object['hasOwnProperty']['call'](_0x3fc4ec,'userId')&&_0x1e2c29['uint32'](0x1a)['string'](_0x3fc4ec['userId']),null!=_0x3fc4ec['content']&&Object['hasOwnProperty']['call'](_0x3fc4ec,'content')&&_0x1e2c29['uint32'](0x22)['string'](_0x3fc4ec['content']),null!=_0x3fc4ec['documentId']&&Object['hasOwnProperty']['call'](_0x3fc4ec,'documentId')&&_0x1e2c29['uint32'](0x2a)['string'](_0x3fc4ec['documentId']),null!=_0x3fc4ec['createdAt']&&Object['hasOwnProperty']['call'](_0x3fc4ec,'createdAt')&&_0x1e2c29['uint32'](0x32)['string'](_0x3fc4ec['createdAt']),null!=_0x3fc4ec['attributes']&&Object['hasOwnProperty']['call'](_0x3fc4ec,'attributes')&&_0x1e2c29['uint32'](0x3a)['string'](_0x3fc4ec['attributes']),_0x1e2c29;},_0x201f38['encodeDelimited']=function(_0x1539f3,_0x42bb51){return this['encode'](_0x1539f3,_0x42bb51)['ldelim']();},_0x201f38['decode']=function(_0x5e8e3b,_0x356804,_0x19cfae,_0x374760){if(_0x5e8e3b instanceof _0x34a44d||(_0x5e8e3b=_0x34a44d['create'](_0x5e8e3b)),void 0x0===_0x374760&&(_0x374760=0x0),_0x374760>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x384ea9=void 0x0===_0x356804?_0x5e8e3b['len']:_0x5e8e3b['pos']+_0x356804,_0x3d5f19=new _0x4efd5e['CommentDescriptor']();_0x5e8e3b['pos']<_0x384ea9;){var _0x2a47ff=_0x5e8e3b['uint32']();if(_0x2a47ff===_0x19cfae)break;switch(_0x2a47ff>>>0x3){case 0x1:_0x3d5f19['commentId']=_0x5e8e3b['string']();break;case 0x2:_0x3d5f19['commentThreadId']=_0x5e8e3b['string']();break;case 0x3:_0x3d5f19['userId']=_0x5e8e3b['string']();break;case 0x4:_0x3d5f19['content']=_0x5e8e3b['string']();break;case 0x5:_0x3d5f19['documentId']=_0x5e8e3b['string']();break;case 0x6:_0x3d5f19['createdAt']=_0x5e8e3b['string']();break;case 0x7:_0x3d5f19['attributes']=_0x5e8e3b['string']();break;default:_0x5e8e3b['skipType'](0x7&_0x2a47ff,_0x374760);}}return _0x3d5f19;},_0x201f38['decodeDelimited']=function(_0x12e735){return _0x12e735 instanceof _0x34a44d||(_0x12e735=new _0x34a44d(_0x12e735)),this['decode'](_0x12e735,_0x12e735['uint32']());},_0x201f38['verify']=function(_0x3e74b8,_0x161e40){return'object'!=typeof _0x3e74b8||null===_0x3e74b8?'object\x20expected':(void 0x0===_0x161e40&&(_0x161e40=0x0),_0x161e40>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x3e74b8['commentId']&&Object['hasOwnProperty']['call'](_0x3e74b8,'commentId')&&!_0x2da725['isString'](_0x3e74b8['commentId'])?'commentId:\x20string\x20expected':null!=_0x3e74b8['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3e74b8,'commentThreadId')&&!_0x2da725['isString'](_0x3e74b8['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x3e74b8['userId']&&Object['hasOwnProperty']['call'](_0x3e74b8,'userId')&&!_0x2da725['isString'](_0x3e74b8['userId'])?'userId:\x20string\x20expected':null!=_0x3e74b8['content']&&Object['hasOwnProperty']['call'](_0x3e74b8,'content')&&!_0x2da725['isString'](_0x3e74b8['content'])?'content:\x20string\x20expected':null!=_0x3e74b8['documentId']&&Object['hasOwnProperty']['call'](_0x3e74b8,'documentId')&&!_0x2da725['isString'](_0x3e74b8['documentId'])?'documentId:\x20string\x20expected':null!=_0x3e74b8['createdAt']&&Object['hasOwnProperty']['call'](_0x3e74b8,'createdAt')&&!_0x2da725['isString'](_0x3e74b8['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x3e74b8['attributes']&&Object['hasOwnProperty']['call'](_0x3e74b8,'attributes')&&!_0x2da725['isString'](_0x3e74b8['attributes'])?'attributes:\x20string\x20expected':null);},_0x201f38['fromObject']=function(_0x4bc53a,_0x4ccec8){if(_0x4bc53a instanceof _0x4efd5e['CommentDescriptor'])return _0x4bc53a;if(!_0x2da725['isObject'](_0x4bc53a))throw TypeError('.CommentDescriptor:\x20object\x20expected');if(void 0x0===_0x4ccec8&&(_0x4ccec8=0x0),_0x4ccec8>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2807a8=new _0x4efd5e['CommentDescriptor']();return null!=_0x4bc53a['commentId']&&(_0x2807a8['commentId']=String(_0x4bc53a['commentId'])),null!=_0x4bc53a['commentThreadId']&&(_0x2807a8['commentThreadId']=String(_0x4bc53a['commentThreadId'])),null!=_0x4bc53a['userId']&&(_0x2807a8['userId']=String(_0x4bc53a['userId'])),null!=_0x4bc53a['content']&&(_0x2807a8['content']=String(_0x4bc53a['content'])),null!=_0x4bc53a['documentId']&&(_0x2807a8['documentId']=String(_0x4bc53a['documentId'])),null!=_0x4bc53a['createdAt']&&(_0x2807a8['createdAt']=String(_0x4bc53a['createdAt'])),null!=_0x4bc53a['attributes']&&(_0x2807a8['attributes']=String(_0x4bc53a['attributes'])),_0x2807a8;},_0x201f38['toObject']=function(_0x2adcd5,_0x2ba4a7,_0x4c5f37){if(_0x2ba4a7||(_0x2ba4a7={}),void 0x0===_0x4c5f37&&(_0x4c5f37=0x0),_0x4c5f37>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x3b4c7f={};return _0x2ba4a7['defaults']&&(_0x3b4c7f['commentId']='',_0x3b4c7f['commentThreadId']='',_0x3b4c7f['userId']='',_0x3b4c7f['content']='',_0x3b4c7f['documentId']='',_0x3b4c7f['createdAt']='',_0x3b4c7f['attributes']=''),null!=_0x2adcd5['commentId']&&Object['hasOwnProperty']['call'](_0x2adcd5,'commentId')&&(_0x3b4c7f['commentId']=_0x2adcd5['commentId']),null!=_0x2adcd5['commentThreadId']&&Object['hasOwnProperty']['call'](_0x2adcd5,'commentThreadId')&&(_0x3b4c7f['commentThreadId']=_0x2adcd5['commentThreadId']),null!=_0x2adcd5['userId']&&Object['hasOwnProperty']['call'](_0x2adcd5,'userId')&&(_0x3b4c7f['userId']=_0x2adcd5['userId']),null!=_0x2adcd5['content']&&Object['hasOwnProperty']['call'](_0x2adcd5,'content')&&(_0x3b4c7f['content']=_0x2adcd5['content']),null!=_0x2adcd5['documentId']&&Object['hasOwnProperty']['call'](_0x2adcd5,'documentId')&&(_0x3b4c7f['documentId']=_0x2adcd5['documentId']),null!=_0x2adcd5['createdAt']&&Object['hasOwnProperty']['call'](_0x2adcd5,'createdAt')&&(_0x3b4c7f['createdAt']=_0x2adcd5['createdAt']),null!=_0x2adcd5['attributes']&&Object['hasOwnProperty']['call'](_0x2adcd5,'attributes')&&(_0x3b4c7f['attributes']=_0x2adcd5['attributes']),_0x3b4c7f;},_0x201f38['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x201f38['getTypeUrl']=function(_0x4b87ae){return void 0x0===_0x4b87ae&&(_0x4b87ae='type.googleapis.com'),_0x4b87ae+'/CommentDescriptor';},_0x201f38;}()),_0x4efd5e['GetDocumentDetailsResponse']=(function(){function _0x18ee03(_0x9dad77){if(_0x9dad77){for(var _0x48f1b5=Object['keys'](_0x9dad77),_0x1a8e3c=0x0;_0x1a8e3c<_0x48f1b5['length'];++_0x1a8e3c)null!=_0x9dad77[_0x48f1b5[_0x1a8e3c]]&&'__proto__'!==_0x48f1b5[_0x1a8e3c]&&(this[_0x48f1b5[_0x1a8e3c]]=_0x9dad77[_0x48f1b5[_0x1a8e3c]]);}}return _0x18ee03['prototype']['lastDocumentSessionId']='',_0x18ee03['prototype']['lastDocumentSessionOperationId']='',_0x18ee03['prototype']['currentDocumentSessionId']='',_0x18ee03['prototype']['currentDocumentSessionVersion']=0x0,_0x18ee03['prototype']['currentDocumentSessionOperationId']='',_0x18ee03['create']=function(_0x2e9312){return new _0x18ee03(_0x2e9312);},_0x18ee03['encode']=function(_0x4bce74,_0x4c95d9,_0x3fc3c8){if(_0x4c95d9||(_0x4c95d9=_0x42a0bf['create']()),void 0x0===_0x3fc3c8&&(_0x3fc3c8=0x0),_0x3fc3c8>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x4bce74['lastDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x4bce74,'lastDocumentSessionId')&&_0x4c95d9['uint32'](0xa)['string'](_0x4bce74['lastDocumentSessionId']),null!=_0x4bce74['lastDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x4bce74,'lastDocumentSessionOperationId')&&_0x4c95d9['uint32'](0x12)['string'](_0x4bce74['lastDocumentSessionOperationId']),null!=_0x4bce74['currentDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x4bce74,'currentDocumentSessionId')&&_0x4c95d9['uint32'](0x1a)['string'](_0x4bce74['currentDocumentSessionId']),null!=_0x4bce74['currentDocumentSessionVersion']&&Object['hasOwnProperty']['call'](_0x4bce74,'currentDocumentSessionVersion')&&_0x4c95d9['uint32'](0x20)['uint32'](_0x4bce74['currentDocumentSessionVersion']),null!=_0x4bce74['currentDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x4bce74,'currentDocumentSessionOperationId')&&_0x4c95d9['uint32'](0x2a)['string'](_0x4bce74['currentDocumentSessionOperationId']),_0x4c95d9;},_0x18ee03['encodeDelimited']=function(_0x1df9e9,_0x583ba5){return this['encode'](_0x1df9e9,_0x583ba5)['ldelim']();},_0x18ee03['decode']=function(_0x5dc733,_0x1e9290,_0x1b4e4c,_0x4d85cb){if(_0x5dc733 instanceof _0x34a44d||(_0x5dc733=_0x34a44d['create'](_0x5dc733)),void 0x0===_0x4d85cb&&(_0x4d85cb=0x0),_0x4d85cb>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4ec60f=void 0x0===_0x1e9290?_0x5dc733['len']:_0x5dc733['pos']+_0x1e9290,_0xd1e429=new _0x4efd5e['GetDocumentDetailsResponse']();_0x5dc733['pos']<_0x4ec60f;){var _0xb61679=_0x5dc733['uint32']();if(_0xb61679===_0x1b4e4c)break;switch(_0xb61679>>>0x3){case 0x1:_0xd1e429['lastDocumentSessionId']=_0x5dc733['string']();break;case 0x2:_0xd1e429['lastDocumentSessionOperationId']=_0x5dc733['string']();break;case 0x3:_0xd1e429['currentDocumentSessionId']=_0x5dc733['string']();break;case 0x4:_0xd1e429['currentDocumentSessionVersion']=_0x5dc733['uint32']();break;case 0x5:_0xd1e429['currentDocumentSessionOperationId']=_0x5dc733['string']();break;default:_0x5dc733['skipType'](0x7&_0xb61679,_0x4d85cb);}}return _0xd1e429;},_0x18ee03['decodeDelimited']=function(_0x1d90ee){return _0x1d90ee instanceof _0x34a44d||(_0x1d90ee=new _0x34a44d(_0x1d90ee)),this['decode'](_0x1d90ee,_0x1d90ee['uint32']());},_0x18ee03['verify']=function(_0x50fbb6,_0x42ab06){return'object'!=typeof _0x50fbb6||null===_0x50fbb6?'object\x20expected':(void 0x0===_0x42ab06&&(_0x42ab06=0x0),_0x42ab06>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x50fbb6['lastDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x50fbb6,'lastDocumentSessionId')&&!_0x2da725['isString'](_0x50fbb6['lastDocumentSessionId'])?'lastDocumentSessionId:\x20string\x20expected':null!=_0x50fbb6['lastDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x50fbb6,'lastDocumentSessionOperationId')&&!_0x2da725['isString'](_0x50fbb6['lastDocumentSessionOperationId'])?'lastDocumentSessionOperationId:\x20string\x20expected':null!=_0x50fbb6['currentDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x50fbb6,'currentDocumentSessionId')&&!_0x2da725['isString'](_0x50fbb6['currentDocumentSessionId'])?'currentDocumentSessionId:\x20string\x20expected':null!=_0x50fbb6['currentDocumentSessionVersion']&&Object['hasOwnProperty']['call'](_0x50fbb6,'currentDocumentSessionVersion')&&!_0x2da725['isInteger'](_0x50fbb6['currentDocumentSessionVersion'])?'currentDocumentSessionVersion:\x20integer\x20expected':null!=_0x50fbb6['currentDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x50fbb6,'currentDocumentSessionOperationId')&&!_0x2da725['isString'](_0x50fbb6['currentDocumentSessionOperationId'])?'currentDocumentSessionOperationId:\x20string\x20expected':null);},_0x18ee03['fromObject']=function(_0x479c4a,_0x3315af){if(_0x479c4a instanceof _0x4efd5e['GetDocumentDetailsResponse'])return _0x479c4a;if(!_0x2da725['isObject'](_0x479c4a))throw TypeError('.GetDocumentDetailsResponse:\x20object\x20expected');if(void 0x0===_0x3315af&&(_0x3315af=0x0),_0x3315af>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4711e6=new _0x4efd5e['GetDocumentDetailsResponse']();return null!=_0x479c4a['lastDocumentSessionId']&&(_0x4711e6['lastDocumentSessionId']=String(_0x479c4a['lastDocumentSessionId'])),null!=_0x479c4a['lastDocumentSessionOperationId']&&(_0x4711e6['lastDocumentSessionOperationId']=String(_0x479c4a['lastDocumentSessionOperationId'])),null!=_0x479c4a['currentDocumentSessionId']&&(_0x4711e6['currentDocumentSessionId']=String(_0x479c4a['currentDocumentSessionId'])),null!=_0x479c4a['currentDocumentSessionVersion']&&(_0x4711e6['currentDocumentSessionVersion']=_0x479c4a['currentDocumentSessionVersion']>>>0x0),null!=_0x479c4a['currentDocumentSessionOperationId']&&(_0x4711e6['currentDocumentSessionOperationId']=String(_0x479c4a['currentDocumentSessionOperationId'])),_0x4711e6;},_0x18ee03['toObject']=function(_0x38004f,_0x29271e,_0x2dfdc5){if(_0x29271e||(_0x29271e={}),void 0x0===_0x2dfdc5&&(_0x2dfdc5=0x0),_0x2dfdc5>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x385a33={};return _0x29271e['defaults']&&(_0x385a33['lastDocumentSessionId']='',_0x385a33['lastDocumentSessionOperationId']='',_0x385a33['currentDocumentSessionId']='',_0x385a33['currentDocumentSessionVersion']=0x0,_0x385a33['currentDocumentSessionOperationId']=''),null!=_0x38004f['lastDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x38004f,'lastDocumentSessionId')&&(_0x385a33['lastDocumentSessionId']=_0x38004f['lastDocumentSessionId']),null!=_0x38004f['lastDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x38004f,'lastDocumentSessionOperationId')&&(_0x385a33['lastDocumentSessionOperationId']=_0x38004f['lastDocumentSessionOperationId']),null!=_0x38004f['currentDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x38004f,'currentDocumentSessionId')&&(_0x385a33['currentDocumentSessionId']=_0x38004f['currentDocumentSessionId']),null!=_0x38004f['currentDocumentSessionVersion']&&Object['hasOwnProperty']['call'](_0x38004f,'currentDocumentSessionVersion')&&(_0x385a33['currentDocumentSessionVersion']=_0x38004f['currentDocumentSessionVersion']),null!=_0x38004f['currentDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x38004f,'currentDocumentSessionOperationId')&&(_0x385a33['currentDocumentSessionOperationId']=_0x38004f['currentDocumentSessionOperationId']),_0x385a33;},_0x18ee03['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x18ee03['getTypeUrl']=function(_0x1afe58){return void 0x0===_0x1afe58&&(_0x1afe58='type.googleapis.com'),_0x1afe58+'/GetDocumentDetailsResponse';},_0x18ee03;}()),_0x4efd5e['CollaborativeEditingResponse']=(function(){function _0x948c0b(_0x26ba73){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x26ba73){for(var _0x25763d=Object['keys'](_0x26ba73),_0x46954b=0x0;_0x46954b<_0x25763d['length'];++_0x46954b)null!=_0x26ba73[_0x25763d[_0x46954b]]&&'__proto__'!==_0x25763d[_0x46954b]&&(this[_0x25763d[_0x46954b]]=_0x26ba73[_0x25763d[_0x46954b]]);}}return _0x948c0b['prototype']['version']=0x0,_0x948c0b['prototype']['buffers']=_0x2da725['emptyArray'],_0x948c0b['prototype']['types']=_0x2da725['emptyArray'],_0x948c0b['prototype']['metadata']=_0x2da725['emptyArray'],_0x948c0b['prototype']['lastOperationId']='',_0x948c0b['prototype']['lastOperationAcceptedAt']='',_0x948c0b['create']=function(_0x12ca72){return new _0x948c0b(_0x12ca72);},_0x948c0b['encode']=function(_0x34be5f,_0x4b0931,_0x28e5b2){if(_0x4b0931||(_0x4b0931=_0x42a0bf['create']()),void 0x0===_0x28e5b2&&(_0x28e5b2=0x0),_0x28e5b2>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x34be5f['version']&&Object['hasOwnProperty']['call'](_0x34be5f,'version')&&_0x4b0931['uint32'](0x8)['uint32'](_0x34be5f['version']),null!=_0x34be5f['buffers']&&_0x34be5f['buffers']['length']){for(var _0x4a78be=0x0;_0x4a78be<_0x34be5f['buffers']['length'];++_0x4a78be)_0x4b0931['uint32'](0x12)['bytes'](_0x34be5f['buffers'][_0x4a78be]);}if(null!=_0x34be5f['types']&&_0x34be5f['types']['length']){for(_0x4b0931['uint32'](0x1a)['fork'](),_0x4a78be=0x0;_0x4a78be<_0x34be5f['types']['length'];++_0x4a78be)_0x4b0931['uint32'](_0x34be5f['types'][_0x4a78be]);_0x4b0931['ldelim']();}if(null!=_0x34be5f['metadata']&&_0x34be5f['metadata']['length']){for(_0x4a78be=0x0;_0x4a78be<_0x34be5f['metadata']['length'];++_0x4a78be)_0x4efd5e['OperationMetadataDescriptor']['encode'](_0x34be5f['metadata'][_0x4a78be],_0x4b0931['uint32'](0x2a)['fork'](),_0x28e5b2+0x1)['ldelim']();}return null!=_0x34be5f['lastOperationId']&&Object['hasOwnProperty']['call'](_0x34be5f,'lastOperationId')&&_0x4b0931['uint32'](0x32)['string'](_0x34be5f['lastOperationId']),null!=_0x34be5f['lastOperationAcceptedAt']&&Object['hasOwnProperty']['call'](_0x34be5f,'lastOperationAcceptedAt')&&_0x4b0931['uint32'](0x3a)['string'](_0x34be5f['lastOperationAcceptedAt']),_0x4b0931;},_0x948c0b['encodeDelimited']=function(_0x1fc856,_0x1f2939){return this['encode'](_0x1fc856,_0x1f2939)['ldelim']();},_0x948c0b['decode']=function(_0x261310,_0x15ed11,_0x4273b6,_0x455960){if(_0x261310 instanceof _0x34a44d||(_0x261310=_0x34a44d['create'](_0x261310)),void 0x0===_0x455960&&(_0x455960=0x0),_0x455960>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x398d10=void 0x0===_0x15ed11?_0x261310['len']:_0x261310['pos']+_0x15ed11,_0x435ee7=new _0x4efd5e['CollaborativeEditingResponse']();_0x261310['pos']<_0x398d10;){var _0x3f1220=_0x261310['uint32']();if(_0x3f1220===_0x4273b6)break;switch(_0x3f1220>>>0x3){case 0x1:_0x435ee7['version']=_0x261310['uint32']();break;case 0x2:_0x435ee7['buffers']&&_0x435ee7['buffers']['length']||(_0x435ee7['buffers']=[]),_0x435ee7['buffers']['push'](_0x261310['bytes']());break;case 0x3:if(_0x435ee7['types']&&_0x435ee7['types']['length']||(_0x435ee7['types']=[]),0x2==(0x7&_0x3f1220)){for(var _0x441327=_0x261310['uint32']()+_0x261310['pos'];_0x261310['pos']<_0x441327;)_0x435ee7['types']['push'](_0x261310['uint32']());}else _0x435ee7['types']['push'](_0x261310['uint32']());break;case 0x5:_0x435ee7['metadata']&&_0x435ee7['metadata']['length']||(_0x435ee7['metadata']=[]),_0x435ee7['metadata']['push'](_0x4efd5e['OperationMetadataDescriptor']['decode'](_0x261310,_0x261310['uint32'](),void 0x0,_0x455960+0x1));break;case 0x6:_0x435ee7['lastOperationId']=_0x261310['string']();break;case 0x7:_0x435ee7['lastOperationAcceptedAt']=_0x261310['string']();break;default:_0x261310['skipType'](0x7&_0x3f1220,_0x455960);}}return _0x435ee7;},_0x948c0b['decodeDelimited']=function(_0x1c35ad){return _0x1c35ad instanceof _0x34a44d||(_0x1c35ad=new _0x34a44d(_0x1c35ad)),this['decode'](_0x1c35ad,_0x1c35ad['uint32']());},_0x948c0b['verify']=function(_0x4784b3,_0x47ab33){if('object'!=typeof _0x4784b3||null===_0x4784b3)return'object\x20expected';if(void 0x0===_0x47ab33&&(_0x47ab33=0x0),_0x47ab33>_0x2da725['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x4784b3['version']&&Object['hasOwnProperty']['call'](_0x4784b3,'version')&&!_0x2da725['isInteger'](_0x4784b3['version']))return'version:\x20integer\x20expected';if(null!=_0x4784b3['buffers']&&Object['hasOwnProperty']['call'](_0x4784b3,'buffers')){if(!Array['isArray'](_0x4784b3['buffers']))return'buffers:\x20array\x20expected';for(var _0x3bf74f=0x0;_0x3bf74f<_0x4784b3['buffers']['length'];++_0x3bf74f)if(!(_0x4784b3['buffers'][_0x3bf74f]&&'number'==typeof _0x4784b3['buffers'][_0x3bf74f]['length']||_0x2da725['isString'](_0x4784b3['buffers'][_0x3bf74f])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x4784b3['types']&&Object['hasOwnProperty']['call'](_0x4784b3,'types')){if(!Array['isArray'](_0x4784b3['types']))return'types:\x20array\x20expected';for(_0x3bf74f=0x0;_0x3bf74f<_0x4784b3['types']['length'];++_0x3bf74f)if(!_0x2da725['isInteger'](_0x4784b3['types'][_0x3bf74f]))return'types:\x20integer[]\x20expected';}if(null!=_0x4784b3['metadata']&&Object['hasOwnProperty']['call'](_0x4784b3,'metadata')){if(!Array['isArray'](_0x4784b3['metadata']))return'metadata:\x20array\x20expected';for(_0x3bf74f=0x0;_0x3bf74f<_0x4784b3['metadata']['length'];++_0x3bf74f){var _0x2dd9c6=_0x4efd5e['OperationMetadataDescriptor']['verify'](_0x4784b3['metadata'][_0x3bf74f],_0x47ab33+0x1);if(_0x2dd9c6)return'metadata.'+_0x2dd9c6;}}return null!=_0x4784b3['lastOperationId']&&Object['hasOwnProperty']['call'](_0x4784b3,'lastOperationId')&&!_0x2da725['isString'](_0x4784b3['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x4784b3['lastOperationAcceptedAt']&&Object['hasOwnProperty']['call'](_0x4784b3,'lastOperationAcceptedAt')&&!_0x2da725['isString'](_0x4784b3['lastOperationAcceptedAt'])?'lastOperationAcceptedAt:\x20string\x20expected':null;},_0x948c0b['fromObject']=function(_0x797af,_0x21b18c){if(_0x797af instanceof _0x4efd5e['CollaborativeEditingResponse'])return _0x797af;if(!_0x2da725['isObject'](_0x797af))throw TypeError('.CollaborativeEditingResponse:\x20object\x20expected');if(void 0x0===_0x21b18c&&(_0x21b18c=0x0),_0x21b18c>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5a233b=new _0x4efd5e['CollaborativeEditingResponse']();if(null!=_0x797af['version']&&(_0x5a233b['version']=_0x797af['version']>>>0x0),_0x797af['buffers']){if(!Array['isArray'](_0x797af['buffers']))throw TypeError('.CollaborativeEditingResponse.buffers:\x20array\x20expected');_0x5a233b['buffers']=[];for(var _0x2eb6bf=0x0;_0x2eb6bf<_0x797af['buffers']['length'];++_0x2eb6bf)'string'==typeof _0x797af['buffers'][_0x2eb6bf]?_0x2da725['base64']['decode'](_0x797af['buffers'][_0x2eb6bf],_0x5a233b['buffers'][_0x2eb6bf]=_0x2da725['newBuffer'](_0x2da725['base64']['length'](_0x797af['buffers'][_0x2eb6bf])),0x0):_0x797af['buffers'][_0x2eb6bf]['length']>=0x0&&(_0x5a233b['buffers'][_0x2eb6bf]=_0x797af['buffers'][_0x2eb6bf]);}if(_0x797af['types']){if(!Array['isArray'](_0x797af['types']))throw TypeError('.CollaborativeEditingResponse.types:\x20array\x20expected');for(_0x5a233b['types']=[],_0x2eb6bf=0x0;_0x2eb6bf<_0x797af['types']['length'];++_0x2eb6bf)_0x5a233b['types'][_0x2eb6bf]=_0x797af['types'][_0x2eb6bf]>>>0x0;}if(_0x797af['metadata']){if(!Array['isArray'](_0x797af['metadata']))throw TypeError('.CollaborativeEditingResponse.metadata:\x20array\x20expected');for(_0x5a233b['metadata']=[],_0x2eb6bf=0x0;_0x2eb6bf<_0x797af['metadata']['length'];++_0x2eb6bf){if(!_0x2da725['isObject'](_0x797af['metadata'][_0x2eb6bf]))throw TypeError('.CollaborativeEditingResponse.metadata:\x20object\x20expected');_0x5a233b['metadata'][_0x2eb6bf]=_0x4efd5e['OperationMetadataDescriptor']['fromObject'](_0x797af['metadata'][_0x2eb6bf],_0x21b18c+0x1);}}return null!=_0x797af['lastOperationId']&&(_0x5a233b['lastOperationId']=String(_0x797af['lastOperationId'])),null!=_0x797af['lastOperationAcceptedAt']&&(_0x5a233b['lastOperationAcceptedAt']=String(_0x797af['lastOperationAcceptedAt'])),_0x5a233b;},_0x948c0b['toObject']=function(_0xcbff35,_0x18f0ac,_0x22892c){if(_0x18f0ac||(_0x18f0ac={}),void 0x0===_0x22892c&&(_0x22892c=0x0),_0x22892c>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x29a2f9={};if((_0x18f0ac['arrays']||_0x18f0ac['defaults'])&&(_0x29a2f9['buffers']=[],_0x29a2f9['types']=[],_0x29a2f9['metadata']=[]),_0x18f0ac['defaults']&&(_0x29a2f9['version']=0x0,_0x29a2f9['lastOperationId']='',_0x29a2f9['lastOperationAcceptedAt']=''),null!=_0xcbff35['version']&&Object['hasOwnProperty']['call'](_0xcbff35,'version')&&(_0x29a2f9['version']=_0xcbff35['version']),_0xcbff35['buffers']&&_0xcbff35['buffers']['length']){_0x29a2f9['buffers']=[];for(var _0x2c9417=0x0;_0x2c9417<_0xcbff35['buffers']['length'];++_0x2c9417)_0x29a2f9['buffers'][_0x2c9417]=_0x18f0ac['bytes']===String?_0x2da725['base64']['encode'](_0xcbff35['buffers'][_0x2c9417],0x0,_0xcbff35['buffers'][_0x2c9417]['length']):_0x18f0ac['bytes']===Array?Array['prototype']['slice']['call'](_0xcbff35['buffers'][_0x2c9417]):_0xcbff35['buffers'][_0x2c9417];}if(_0xcbff35['types']&&_0xcbff35['types']['length']){for(_0x29a2f9['types']=[],_0x2c9417=0x0;_0x2c9417<_0xcbff35['types']['length'];++_0x2c9417)_0x29a2f9['types'][_0x2c9417]=_0xcbff35['types'][_0x2c9417];}if(_0xcbff35['metadata']&&_0xcbff35['metadata']['length']){for(_0x29a2f9['metadata']=[],_0x2c9417=0x0;_0x2c9417<_0xcbff35['metadata']['length'];++_0x2c9417)_0x29a2f9['metadata'][_0x2c9417]=_0x4efd5e['OperationMetadataDescriptor']['toObject'](_0xcbff35['metadata'][_0x2c9417],_0x18f0ac,_0x22892c+0x1);}return null!=_0xcbff35['lastOperationId']&&Object['hasOwnProperty']['call'](_0xcbff35,'lastOperationId')&&(_0x29a2f9['lastOperationId']=_0xcbff35['lastOperationId']),null!=_0xcbff35['lastOperationAcceptedAt']&&Object['hasOwnProperty']['call'](_0xcbff35,'lastOperationAcceptedAt')&&(_0x29a2f9['lastOperationAcceptedAt']=_0xcbff35['lastOperationAcceptedAt']),_0x29a2f9;},_0x948c0b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x948c0b['getTypeUrl']=function(_0x53caa2){return void 0x0===_0x53caa2&&(_0x53caa2='type.googleapis.com'),_0x53caa2+'/CollaborativeEditingResponse';},_0x948c0b;}()),_0x4efd5e['CollaborativeEditingConnectResponse']=(function(){function _0x5bf80e(_0x5c2124){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x5c2124){for(var _0xc68b52=Object['keys'](_0x5c2124),_0x52081f=0x0;_0x52081f<_0xc68b52['length'];++_0x52081f)null!=_0x5c2124[_0xc68b52[_0x52081f]]&&'__proto__'!==_0xc68b52[_0x52081f]&&(this[_0xc68b52[_0x52081f]]=_0x5c2124[_0xc68b52[_0x52081f]]);}}return _0x5bf80e['prototype']['channel']='',_0x5bf80e['prototype']['offset']=0x0,_0x5bf80e['prototype']['version']=0x0,_0x5bf80e['prototype']['buffers']=_0x2da725['emptyArray'],_0x5bf80e['prototype']['types']=_0x2da725['emptyArray'],_0x5bf80e['prototype']['metadata']=_0x2da725['emptyArray'],_0x5bf80e['prototype']['initData']='',_0x5bf80e['prototype']['isInitialized']=!0x1,_0x5bf80e['prototype']['sessionId']='',_0x5bf80e['prototype']['lastOperationId']='',_0x5bf80e['prototype']['sessionCreatedAt']='',_0x5bf80e['create']=function(_0x26dde3){return new _0x5bf80e(_0x26dde3);},_0x5bf80e['encode']=function(_0x137669,_0x580f48,_0x3aebd9){if(_0x580f48||(_0x580f48=_0x42a0bf['create']()),void 0x0===_0x3aebd9&&(_0x3aebd9=0x0),_0x3aebd9>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x137669['channel']&&Object['hasOwnProperty']['call'](_0x137669,'channel')&&_0x580f48['uint32'](0xa)['string'](_0x137669['channel']),null!=_0x137669['offset']&&Object['hasOwnProperty']['call'](_0x137669,'offset')&&_0x580f48['uint32'](0x10)['uint32'](_0x137669['offset']),null!=_0x137669['version']&&Object['hasOwnProperty']['call'](_0x137669,'version')&&_0x580f48['uint32'](0x18)['uint32'](_0x137669['version']),null!=_0x137669['buffers']&&_0x137669['buffers']['length']){for(var _0x379df1=0x0;_0x379df1<_0x137669['buffers']['length'];++_0x379df1)_0x580f48['uint32'](0x22)['bytes'](_0x137669['buffers'][_0x379df1]);}if(null!=_0x137669['types']&&_0x137669['types']['length']){for(_0x580f48['uint32'](0x2a)['fork'](),_0x379df1=0x0;_0x379df1<_0x137669['types']['length'];++_0x379df1)_0x580f48['uint32'](_0x137669['types'][_0x379df1]);_0x580f48['ldelim']();}if(null!=_0x137669['metadata']&&_0x137669['metadata']['length']){for(_0x379df1=0x0;_0x379df1<_0x137669['metadata']['length'];++_0x379df1)_0x4efd5e['OperationMetadataDescriptor']['encode'](_0x137669['metadata'][_0x379df1],_0x580f48['uint32'](0x3a)['fork'](),_0x3aebd9+0x1)['ldelim']();}return null!=_0x137669['initData']&&Object['hasOwnProperty']['call'](_0x137669,'initData')&&_0x580f48['uint32'](0x42)['string'](_0x137669['initData']),null!=_0x137669['isInitialized']&&Object['hasOwnProperty']['call'](_0x137669,'isInitialized')&&_0x580f48['uint32'](0x48)['bool'](_0x137669['isInitialized']),null!=_0x137669['sessionId']&&Object['hasOwnProperty']['call'](_0x137669,'sessionId')&&_0x580f48['uint32'](0x52)['string'](_0x137669['sessionId']),null!=_0x137669['lastOperationId']&&Object['hasOwnProperty']['call'](_0x137669,'lastOperationId')&&_0x580f48['uint32'](0x5a)['string'](_0x137669['lastOperationId']),null!=_0x137669['sessionCreatedAt']&&Object['hasOwnProperty']['call'](_0x137669,'sessionCreatedAt')&&_0x580f48['uint32'](0x62)['string'](_0x137669['sessionCreatedAt']),_0x580f48;},_0x5bf80e['encodeDelimited']=function(_0x293764,_0x20e639){return this['encode'](_0x293764,_0x20e639)['ldelim']();},_0x5bf80e['decode']=function(_0x40ba6a,_0x262d35,_0x5a596b,_0x505ce1){if(_0x40ba6a instanceof _0x34a44d||(_0x40ba6a=_0x34a44d['create'](_0x40ba6a)),void 0x0===_0x505ce1&&(_0x505ce1=0x0),_0x505ce1>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x597c61=void 0x0===_0x262d35?_0x40ba6a['len']:_0x40ba6a['pos']+_0x262d35,_0x4aefa9=new _0x4efd5e['CollaborativeEditingConnectResponse']();_0x40ba6a['pos']<_0x597c61;){var _0x420e07=_0x40ba6a['uint32']();if(_0x420e07===_0x5a596b)break;switch(_0x420e07>>>0x3){case 0x1:_0x4aefa9['channel']=_0x40ba6a['string']();break;case 0x2:_0x4aefa9['offset']=_0x40ba6a['uint32']();break;case 0x3:_0x4aefa9['version']=_0x40ba6a['uint32']();break;case 0x4:_0x4aefa9['buffers']&&_0x4aefa9['buffers']['length']||(_0x4aefa9['buffers']=[]),_0x4aefa9['buffers']['push'](_0x40ba6a['bytes']());break;case 0x5:if(_0x4aefa9['types']&&_0x4aefa9['types']['length']||(_0x4aefa9['types']=[]),0x2==(0x7&_0x420e07)){for(var _0x19b46c=_0x40ba6a['uint32']()+_0x40ba6a['pos'];_0x40ba6a['pos']<_0x19b46c;)_0x4aefa9['types']['push'](_0x40ba6a['uint32']());}else _0x4aefa9['types']['push'](_0x40ba6a['uint32']());break;case 0x7:_0x4aefa9['metadata']&&_0x4aefa9['metadata']['length']||(_0x4aefa9['metadata']=[]),_0x4aefa9['metadata']['push'](_0x4efd5e['OperationMetadataDescriptor']['decode'](_0x40ba6a,_0x40ba6a['uint32'](),void 0x0,_0x505ce1+0x1));break;case 0x8:_0x4aefa9['initData']=_0x40ba6a['string']();break;case 0x9:_0x4aefa9['isInitialized']=_0x40ba6a['bool']();break;case 0xa:_0x4aefa9['sessionId']=_0x40ba6a['string']();break;case 0xb:_0x4aefa9['lastOperationId']=_0x40ba6a['string']();break;case 0xc:_0x4aefa9['sessionCreatedAt']=_0x40ba6a['string']();break;default:_0x40ba6a['skipType'](0x7&_0x420e07,_0x505ce1);}}return _0x4aefa9;},_0x5bf80e['decodeDelimited']=function(_0x1776ff){return _0x1776ff instanceof _0x34a44d||(_0x1776ff=new _0x34a44d(_0x1776ff)),this['decode'](_0x1776ff,_0x1776ff['uint32']());},_0x5bf80e['verify']=function(_0x350493,_0x1e9b2b){if('object'!=typeof _0x350493||null===_0x350493)return'object\x20expected';if(void 0x0===_0x1e9b2b&&(_0x1e9b2b=0x0),_0x1e9b2b>_0x2da725['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x350493['channel']&&Object['hasOwnProperty']['call'](_0x350493,'channel')&&!_0x2da725['isString'](_0x350493['channel']))return'channel:\x20string\x20expected';if(null!=_0x350493['offset']&&Object['hasOwnProperty']['call'](_0x350493,'offset')&&!_0x2da725['isInteger'](_0x350493['offset']))return'offset:\x20integer\x20expected';if(null!=_0x350493['version']&&Object['hasOwnProperty']['call'](_0x350493,'version')&&!_0x2da725['isInteger'](_0x350493['version']))return'version:\x20integer\x20expected';if(null!=_0x350493['buffers']&&Object['hasOwnProperty']['call'](_0x350493,'buffers')){if(!Array['isArray'](_0x350493['buffers']))return'buffers:\x20array\x20expected';for(var _0x36f6d9=0x0;_0x36f6d9<_0x350493['buffers']['length'];++_0x36f6d9)if(!(_0x350493['buffers'][_0x36f6d9]&&'number'==typeof _0x350493['buffers'][_0x36f6d9]['length']||_0x2da725['isString'](_0x350493['buffers'][_0x36f6d9])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x350493['types']&&Object['hasOwnProperty']['call'](_0x350493,'types')){if(!Array['isArray'](_0x350493['types']))return'types:\x20array\x20expected';for(_0x36f6d9=0x0;_0x36f6d9<_0x350493['types']['length'];++_0x36f6d9)if(!_0x2da725['isInteger'](_0x350493['types'][_0x36f6d9]))return'types:\x20integer[]\x20expected';}if(null!=_0x350493['metadata']&&Object['hasOwnProperty']['call'](_0x350493,'metadata')){if(!Array['isArray'](_0x350493['metadata']))return'metadata:\x20array\x20expected';for(_0x36f6d9=0x0;_0x36f6d9<_0x350493['metadata']['length'];++_0x36f6d9){var _0x3cd852=_0x4efd5e['OperationMetadataDescriptor']['verify'](_0x350493['metadata'][_0x36f6d9],_0x1e9b2b+0x1);if(_0x3cd852)return'metadata.'+_0x3cd852;}}return null!=_0x350493['initData']&&Object['hasOwnProperty']['call'](_0x350493,'initData')&&!_0x2da725['isString'](_0x350493['initData'])?'initData:\x20string\x20expected':null!=_0x350493['isInitialized']&&Object['hasOwnProperty']['call'](_0x350493,'isInitialized')&&'boolean'!=typeof _0x350493['isInitialized']?'isInitialized:\x20boolean\x20expected':null!=_0x350493['sessionId']&&Object['hasOwnProperty']['call'](_0x350493,'sessionId')&&!_0x2da725['isString'](_0x350493['sessionId'])?'sessionId:\x20string\x20expected':null!=_0x350493['lastOperationId']&&Object['hasOwnProperty']['call'](_0x350493,'lastOperationId')&&!_0x2da725['isString'](_0x350493['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x350493['sessionCreatedAt']&&Object['hasOwnProperty']['call'](_0x350493,'sessionCreatedAt')&&!_0x2da725['isString'](_0x350493['sessionCreatedAt'])?'sessionCreatedAt:\x20string\x20expected':null;},_0x5bf80e['fromObject']=function(_0x29457a,_0xabc668){if(_0x29457a instanceof _0x4efd5e['CollaborativeEditingConnectResponse'])return _0x29457a;if(!_0x2da725['isObject'](_0x29457a))throw TypeError('.CollaborativeEditingConnectResponse:\x20object\x20expected');if(void 0x0===_0xabc668&&(_0xabc668=0x0),_0xabc668>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xdb0b6a=new _0x4efd5e['CollaborativeEditingConnectResponse']();if(null!=_0x29457a['channel']&&(_0xdb0b6a['channel']=String(_0x29457a['channel'])),null!=_0x29457a['offset']&&(_0xdb0b6a['offset']=_0x29457a['offset']>>>0x0),null!=_0x29457a['version']&&(_0xdb0b6a['version']=_0x29457a['version']>>>0x0),_0x29457a['buffers']){if(!Array['isArray'](_0x29457a['buffers']))throw TypeError('.CollaborativeEditingConnectResponse.buffers:\x20array\x20expected');_0xdb0b6a['buffers']=[];for(var _0x341d8c=0x0;_0x341d8c<_0x29457a['buffers']['length'];++_0x341d8c)'string'==typeof _0x29457a['buffers'][_0x341d8c]?_0x2da725['base64']['decode'](_0x29457a['buffers'][_0x341d8c],_0xdb0b6a['buffers'][_0x341d8c]=_0x2da725['newBuffer'](_0x2da725['base64']['length'](_0x29457a['buffers'][_0x341d8c])),0x0):_0x29457a['buffers'][_0x341d8c]['length']>=0x0&&(_0xdb0b6a['buffers'][_0x341d8c]=_0x29457a['buffers'][_0x341d8c]);}if(_0x29457a['types']){if(!Array['isArray'](_0x29457a['types']))throw TypeError('.CollaborativeEditingConnectResponse.types:\x20array\x20expected');for(_0xdb0b6a['types']=[],_0x341d8c=0x0;_0x341d8c<_0x29457a['types']['length'];++_0x341d8c)_0xdb0b6a['types'][_0x341d8c]=_0x29457a['types'][_0x341d8c]>>>0x0;}if(_0x29457a['metadata']){if(!Array['isArray'](_0x29457a['metadata']))throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20array\x20expected');for(_0xdb0b6a['metadata']=[],_0x341d8c=0x0;_0x341d8c<_0x29457a['metadata']['length'];++_0x341d8c){if(!_0x2da725['isObject'](_0x29457a['metadata'][_0x341d8c]))throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20object\x20expected');_0xdb0b6a['metadata'][_0x341d8c]=_0x4efd5e['OperationMetadataDescriptor']['fromObject'](_0x29457a['metadata'][_0x341d8c],_0xabc668+0x1);}}return null!=_0x29457a['initData']&&(_0xdb0b6a['initData']=String(_0x29457a['initData'])),null!=_0x29457a['isInitialized']&&(_0xdb0b6a['isInitialized']=Boolean(_0x29457a['isInitialized'])),null!=_0x29457a['sessionId']&&(_0xdb0b6a['sessionId']=String(_0x29457a['sessionId'])),null!=_0x29457a['lastOperationId']&&(_0xdb0b6a['lastOperationId']=String(_0x29457a['lastOperationId'])),null!=_0x29457a['sessionCreatedAt']&&(_0xdb0b6a['sessionCreatedAt']=String(_0x29457a['sessionCreatedAt'])),_0xdb0b6a;},_0x5bf80e['toObject']=function(_0x4aae2e,_0x48c1fb,_0x9c1dfb){if(_0x48c1fb||(_0x48c1fb={}),void 0x0===_0x9c1dfb&&(_0x9c1dfb=0x0),_0x9c1dfb>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x52b50a={};if((_0x48c1fb['arrays']||_0x48c1fb['defaults'])&&(_0x52b50a['buffers']=[],_0x52b50a['types']=[],_0x52b50a['metadata']=[]),_0x48c1fb['defaults']&&(_0x52b50a['channel']='',_0x52b50a['offset']=0x0,_0x52b50a['version']=0x0,_0x52b50a['initData']='',_0x52b50a['isInitialized']=!0x1,_0x52b50a['sessionId']='',_0x52b50a['lastOperationId']='',_0x52b50a['sessionCreatedAt']=''),null!=_0x4aae2e['channel']&&Object['hasOwnProperty']['call'](_0x4aae2e,'channel')&&(_0x52b50a['channel']=_0x4aae2e['channel']),null!=_0x4aae2e['offset']&&Object['hasOwnProperty']['call'](_0x4aae2e,'offset')&&(_0x52b50a['offset']=_0x4aae2e['offset']),null!=_0x4aae2e['version']&&Object['hasOwnProperty']['call'](_0x4aae2e,'version')&&(_0x52b50a['version']=_0x4aae2e['version']),_0x4aae2e['buffers']&&_0x4aae2e['buffers']['length']){_0x52b50a['buffers']=[];for(var _0x1114af=0x0;_0x1114af<_0x4aae2e['buffers']['length'];++_0x1114af)_0x52b50a['buffers'][_0x1114af]=_0x48c1fb['bytes']===String?_0x2da725['base64']['encode'](_0x4aae2e['buffers'][_0x1114af],0x0,_0x4aae2e['buffers'][_0x1114af]['length']):_0x48c1fb['bytes']===Array?Array['prototype']['slice']['call'](_0x4aae2e['buffers'][_0x1114af]):_0x4aae2e['buffers'][_0x1114af];}if(_0x4aae2e['types']&&_0x4aae2e['types']['length']){for(_0x52b50a['types']=[],_0x1114af=0x0;_0x1114af<_0x4aae2e['types']['length'];++_0x1114af)_0x52b50a['types'][_0x1114af]=_0x4aae2e['types'][_0x1114af];}if(_0x4aae2e['metadata']&&_0x4aae2e['metadata']['length']){for(_0x52b50a['metadata']=[],_0x1114af=0x0;_0x1114af<_0x4aae2e['metadata']['length'];++_0x1114af)_0x52b50a['metadata'][_0x1114af]=_0x4efd5e['OperationMetadataDescriptor']['toObject'](_0x4aae2e['metadata'][_0x1114af],_0x48c1fb,_0x9c1dfb+0x1);}return null!=_0x4aae2e['initData']&&Object['hasOwnProperty']['call'](_0x4aae2e,'initData')&&(_0x52b50a['initData']=_0x4aae2e['initData']),null!=_0x4aae2e['isInitialized']&&Object['hasOwnProperty']['call'](_0x4aae2e,'isInitialized')&&(_0x52b50a['isInitialized']=_0x4aae2e['isInitialized']),null!=_0x4aae2e['sessionId']&&Object['hasOwnProperty']['call'](_0x4aae2e,'sessionId')&&(_0x52b50a['sessionId']=_0x4aae2e['sessionId']),null!=_0x4aae2e['lastOperationId']&&Object['hasOwnProperty']['call'](_0x4aae2e,'lastOperationId')&&(_0x52b50a['lastOperationId']=_0x4aae2e['lastOperationId']),null!=_0x4aae2e['sessionCreatedAt']&&Object['hasOwnProperty']['call'](_0x4aae2e,'sessionCreatedAt')&&(_0x52b50a['sessionCreatedAt']=_0x4aae2e['sessionCreatedAt']),_0x52b50a;},_0x5bf80e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x5bf80e['getTypeUrl']=function(_0x517a7c){return void 0x0===_0x517a7c&&(_0x517a7c='type.googleapis.com'),_0x517a7c+'/CollaborativeEditingConnectResponse';},_0x5bf80e;}()),_0x4efd5e['GetDocumentDetailsMessage']=(function(){function _0x1a4f39(_0x3a8ebf){if(_0x3a8ebf){for(var _0x2bb3e7=Object['keys'](_0x3a8ebf),_0x2d8a0f=0x0;_0x2d8a0f<_0x2bb3e7['length'];++_0x2d8a0f)null!=_0x3a8ebf[_0x2bb3e7[_0x2d8a0f]]&&'__proto__'!==_0x2bb3e7[_0x2d8a0f]&&(this[_0x2bb3e7[_0x2d8a0f]]=_0x3a8ebf[_0x2bb3e7[_0x2d8a0f]]);}}return _0x1a4f39['prototype']['documentId']='',_0x1a4f39['prototype']['environmentId']='',_0x1a4f39['create']=function(_0x3e24c3){return new _0x1a4f39(_0x3e24c3);},_0x1a4f39['encode']=function(_0x363974,_0x5c553e,_0x589447){if(_0x5c553e||(_0x5c553e=_0x42a0bf['create']()),void 0x0===_0x589447&&(_0x589447=0x0),_0x589447>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x363974['documentId']&&Object['hasOwnProperty']['call'](_0x363974,'documentId')&&_0x5c553e['uint32'](0xa)['string'](_0x363974['documentId']),null!=_0x363974['environmentId']&&Object['hasOwnProperty']['call'](_0x363974,'environmentId')&&_0x5c553e['uint32'](0x12)['string'](_0x363974['environmentId']),_0x5c553e;},_0x1a4f39['encodeDelimited']=function(_0x20e599,_0x3ff2c4){return this['encode'](_0x20e599,_0x3ff2c4)['ldelim']();},_0x1a4f39['decode']=function(_0x4d5570,_0x5505ef,_0x56e444,_0x596756){if(_0x4d5570 instanceof _0x34a44d||(_0x4d5570=_0x34a44d['create'](_0x4d5570)),void 0x0===_0x596756&&(_0x596756=0x0),_0x596756>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x41141f=void 0x0===_0x5505ef?_0x4d5570['len']:_0x4d5570['pos']+_0x5505ef,_0x3414aa=new _0x4efd5e['GetDocumentDetailsMessage']();_0x4d5570['pos']<_0x41141f;){var _0x13f161=_0x4d5570['uint32']();if(_0x13f161===_0x56e444)break;switch(_0x13f161>>>0x3){case 0x1:_0x3414aa['documentId']=_0x4d5570['string']();break;case 0x2:_0x3414aa['environmentId']=_0x4d5570['string']();break;default:_0x4d5570['skipType'](0x7&_0x13f161,_0x596756);}}return _0x3414aa;},_0x1a4f39['decodeDelimited']=function(_0x239707){return _0x239707 instanceof _0x34a44d||(_0x239707=new _0x34a44d(_0x239707)),this['decode'](_0x239707,_0x239707['uint32']());},_0x1a4f39['verify']=function(_0x460487,_0x43afed){return'object'!=typeof _0x460487||null===_0x460487?'object\x20expected':(void 0x0===_0x43afed&&(_0x43afed=0x0),_0x43afed>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x460487['documentId']&&Object['hasOwnProperty']['call'](_0x460487,'documentId')&&!_0x2da725['isString'](_0x460487['documentId'])?'documentId:\x20string\x20expected':null!=_0x460487['environmentId']&&Object['hasOwnProperty']['call'](_0x460487,'environmentId')&&!_0x2da725['isString'](_0x460487['environmentId'])?'environmentId:\x20string\x20expected':null);},_0x1a4f39['fromObject']=function(_0x299d97,_0x51f9ba){if(_0x299d97 instanceof _0x4efd5e['GetDocumentDetailsMessage'])return _0x299d97;if(!_0x2da725['isObject'](_0x299d97))throw TypeError('.GetDocumentDetailsMessage:\x20object\x20expected');if(void 0x0===_0x51f9ba&&(_0x51f9ba=0x0),_0x51f9ba>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xa865f9=new _0x4efd5e['GetDocumentDetailsMessage']();return null!=_0x299d97['documentId']&&(_0xa865f9['documentId']=String(_0x299d97['documentId'])),null!=_0x299d97['environmentId']&&(_0xa865f9['environmentId']=String(_0x299d97['environmentId'])),_0xa865f9;},_0x1a4f39['toObject']=function(_0x518328,_0x4c2cfb,_0x37735){if(_0x4c2cfb||(_0x4c2cfb={}),void 0x0===_0x37735&&(_0x37735=0x0),_0x37735>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x457da5={};return _0x4c2cfb['defaults']&&(_0x457da5['documentId']='',_0x457da5['environmentId']=''),null!=_0x518328['documentId']&&Object['hasOwnProperty']['call'](_0x518328,'documentId')&&(_0x457da5['documentId']=_0x518328['documentId']),null!=_0x518328['environmentId']&&Object['hasOwnProperty']['call'](_0x518328,'environmentId')&&(_0x457da5['environmentId']=_0x518328['environmentId']),_0x457da5;},_0x1a4f39['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x1a4f39['getTypeUrl']=function(_0x37445b){return void 0x0===_0x37445b&&(_0x37445b='type.googleapis.com'),_0x37445b+'/GetDocumentDetailsMessage';},_0x1a4f39;}()),_0x4efd5e['CollaborativeEditingUpdateMessage']=(function(){function _0x167912(_0x27224c){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x27224c){for(var _0x2b5f78=Object['keys'](_0x27224c),_0x452d13=0x0;_0x452d13<_0x2b5f78['length'];++_0x452d13)null!=_0x27224c[_0x2b5f78[_0x452d13]]&&'__proto__'!==_0x2b5f78[_0x452d13]&&(this[_0x2b5f78[_0x452d13]]=_0x27224c[_0x2b5f78[_0x452d13]]);}}return _0x167912['prototype']['id']='',_0x167912['prototype']['baseVersion']=0x0,_0x167912['prototype']['buffers']=_0x2da725['emptyArray'],_0x167912['prototype']['types']=_0x2da725['emptyArray'],_0x167912['prototype']['metadata']=_0x2da725['emptyArray'],_0x167912['prototype']['lastOperationId']='',_0x167912['create']=function(_0x4e2151){return new _0x167912(_0x4e2151);},_0x167912['encode']=function(_0x2bb7ab,_0x19604e,_0x5999c4){if(_0x19604e||(_0x19604e=_0x42a0bf['create']()),void 0x0===_0x5999c4&&(_0x5999c4=0x0),_0x5999c4>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x2bb7ab['id']&&Object['hasOwnProperty']['call'](_0x2bb7ab,'id')&&_0x19604e['uint32'](0xa)['string'](_0x2bb7ab['id']),null!=_0x2bb7ab['baseVersion']&&Object['hasOwnProperty']['call'](_0x2bb7ab,'baseVersion')&&_0x19604e['uint32'](0x10)['uint32'](_0x2bb7ab['baseVersion']),null!=_0x2bb7ab['buffers']&&_0x2bb7ab['buffers']['length']){for(var _0x270d57=0x0;_0x270d57<_0x2bb7ab['buffers']['length'];++_0x270d57)_0x19604e['uint32'](0x1a)['bytes'](_0x2bb7ab['buffers'][_0x270d57]);}if(null!=_0x2bb7ab['types']&&_0x2bb7ab['types']['length']){for(_0x19604e['uint32'](0x22)['fork'](),_0x270d57=0x0;_0x270d57<_0x2bb7ab['types']['length'];++_0x270d57)_0x19604e['uint32'](_0x2bb7ab['types'][_0x270d57]);_0x19604e['ldelim']();}if(null!=_0x2bb7ab['metadata']&&_0x2bb7ab['metadata']['length']){for(_0x270d57=0x0;_0x270d57<_0x2bb7ab['metadata']['length'];++_0x270d57)_0x4efd5e['OperationMetadataDescriptor']['encode'](_0x2bb7ab['metadata'][_0x270d57],_0x19604e['uint32'](0x32)['fork'](),_0x5999c4+0x1)['ldelim']();}return null!=_0x2bb7ab['lastOperationId']&&Object['hasOwnProperty']['call'](_0x2bb7ab,'lastOperationId')&&_0x19604e['uint32'](0x3a)['string'](_0x2bb7ab['lastOperationId']),_0x19604e;},_0x167912['encodeDelimited']=function(_0x10fdb6,_0x4593e5){return this['encode'](_0x10fdb6,_0x4593e5)['ldelim']();},_0x167912['decode']=function(_0x4d42a1,_0x1bf572,_0x146194,_0x1eeb74){if(_0x4d42a1 instanceof _0x34a44d||(_0x4d42a1=_0x34a44d['create'](_0x4d42a1)),void 0x0===_0x1eeb74&&(_0x1eeb74=0x0),_0x1eeb74>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x39dc63=void 0x0===_0x1bf572?_0x4d42a1['len']:_0x4d42a1['pos']+_0x1bf572,_0x2ae30c=new _0x4efd5e['CollaborativeEditingUpdateMessage']();_0x4d42a1['pos']<_0x39dc63;){var _0xc10cb8=_0x4d42a1['uint32']();if(_0xc10cb8===_0x146194)break;switch(_0xc10cb8>>>0x3){case 0x1:_0x2ae30c['id']=_0x4d42a1['string']();break;case 0x2:_0x2ae30c['baseVersion']=_0x4d42a1['uint32']();break;case 0x3:_0x2ae30c['buffers']&&_0x2ae30c['buffers']['length']||(_0x2ae30c['buffers']=[]),_0x2ae30c['buffers']['push'](_0x4d42a1['bytes']());break;case 0x4:if(_0x2ae30c['types']&&_0x2ae30c['types']['length']||(_0x2ae30c['types']=[]),0x2==(0x7&_0xc10cb8)){for(var _0x439a4d=_0x4d42a1['uint32']()+_0x4d42a1['pos'];_0x4d42a1['pos']<_0x439a4d;)_0x2ae30c['types']['push'](_0x4d42a1['uint32']());}else _0x2ae30c['types']['push'](_0x4d42a1['uint32']());break;case 0x6:_0x2ae30c['metadata']&&_0x2ae30c['metadata']['length']||(_0x2ae30c['metadata']=[]),_0x2ae30c['metadata']['push'](_0x4efd5e['OperationMetadataDescriptor']['decode'](_0x4d42a1,_0x4d42a1['uint32'](),void 0x0,_0x1eeb74+0x1));break;case 0x7:_0x2ae30c['lastOperationId']=_0x4d42a1['string']();break;default:_0x4d42a1['skipType'](0x7&_0xc10cb8,_0x1eeb74);}}return _0x2ae30c;},_0x167912['decodeDelimited']=function(_0x2213e5){return _0x2213e5 instanceof _0x34a44d||(_0x2213e5=new _0x34a44d(_0x2213e5)),this['decode'](_0x2213e5,_0x2213e5['uint32']());},_0x167912['verify']=function(_0x3a4534,_0xba40d5){if('object'!=typeof _0x3a4534||null===_0x3a4534)return'object\x20expected';if(void 0x0===_0xba40d5&&(_0xba40d5=0x0),_0xba40d5>_0x2da725['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3a4534['id']&&Object['hasOwnProperty']['call'](_0x3a4534,'id')&&!_0x2da725['isString'](_0x3a4534['id']))return'id:\x20string\x20expected';if(null!=_0x3a4534['baseVersion']&&Object['hasOwnProperty']['call'](_0x3a4534,'baseVersion')&&!_0x2da725['isInteger'](_0x3a4534['baseVersion']))return'baseVersion:\x20integer\x20expected';if(null!=_0x3a4534['buffers']&&Object['hasOwnProperty']['call'](_0x3a4534,'buffers')){if(!Array['isArray'](_0x3a4534['buffers']))return'buffers:\x20array\x20expected';for(var _0x5ec831=0x0;_0x5ec831<_0x3a4534['buffers']['length'];++_0x5ec831)if(!(_0x3a4534['buffers'][_0x5ec831]&&'number'==typeof _0x3a4534['buffers'][_0x5ec831]['length']||_0x2da725['isString'](_0x3a4534['buffers'][_0x5ec831])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x3a4534['types']&&Object['hasOwnProperty']['call'](_0x3a4534,'types')){if(!Array['isArray'](_0x3a4534['types']))return'types:\x20array\x20expected';for(_0x5ec831=0x0;_0x5ec831<_0x3a4534['types']['length'];++_0x5ec831)if(!_0x2da725['isInteger'](_0x3a4534['types'][_0x5ec831]))return'types:\x20integer[]\x20expected';}if(null!=_0x3a4534['metadata']&&Object['hasOwnProperty']['call'](_0x3a4534,'metadata')){if(!Array['isArray'](_0x3a4534['metadata']))return'metadata:\x20array\x20expected';for(_0x5ec831=0x0;_0x5ec831<_0x3a4534['metadata']['length'];++_0x5ec831){var _0x55ce21=_0x4efd5e['OperationMetadataDescriptor']['verify'](_0x3a4534['metadata'][_0x5ec831],_0xba40d5+0x1);if(_0x55ce21)return'metadata.'+_0x55ce21;}}return null!=_0x3a4534['lastOperationId']&&Object['hasOwnProperty']['call'](_0x3a4534,'lastOperationId')&&!_0x2da725['isString'](_0x3a4534['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x167912['fromObject']=function(_0x5bcfbe,_0x2ff97d){if(_0x5bcfbe instanceof _0x4efd5e['CollaborativeEditingUpdateMessage'])return _0x5bcfbe;if(!_0x2da725['isObject'](_0x5bcfbe))throw TypeError('.CollaborativeEditingUpdateMessage:\x20object\x20expected');if(void 0x0===_0x2ff97d&&(_0x2ff97d=0x0),_0x2ff97d>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x167f40=new _0x4efd5e['CollaborativeEditingUpdateMessage']();if(null!=_0x5bcfbe['id']&&(_0x167f40['id']=String(_0x5bcfbe['id'])),null!=_0x5bcfbe['baseVersion']&&(_0x167f40['baseVersion']=_0x5bcfbe['baseVersion']>>>0x0),_0x5bcfbe['buffers']){if(!Array['isArray'](_0x5bcfbe['buffers']))throw TypeError('.CollaborativeEditingUpdateMessage.buffers:\x20array\x20expected');_0x167f40['buffers']=[];for(var _0x2d8f67=0x0;_0x2d8f67<_0x5bcfbe['buffers']['length'];++_0x2d8f67)'string'==typeof _0x5bcfbe['buffers'][_0x2d8f67]?_0x2da725['base64']['decode'](_0x5bcfbe['buffers'][_0x2d8f67],_0x167f40['buffers'][_0x2d8f67]=_0x2da725['newBuffer'](_0x2da725['base64']['length'](_0x5bcfbe['buffers'][_0x2d8f67])),0x0):_0x5bcfbe['buffers'][_0x2d8f67]['length']>=0x0&&(_0x167f40['buffers'][_0x2d8f67]=_0x5bcfbe['buffers'][_0x2d8f67]);}if(_0x5bcfbe['types']){if(!Array['isArray'](_0x5bcfbe['types']))throw TypeError('.CollaborativeEditingUpdateMessage.types:\x20array\x20expected');for(_0x167f40['types']=[],_0x2d8f67=0x0;_0x2d8f67<_0x5bcfbe['types']['length'];++_0x2d8f67)_0x167f40['types'][_0x2d8f67]=_0x5bcfbe['types'][_0x2d8f67]>>>0x0;}if(_0x5bcfbe['metadata']){if(!Array['isArray'](_0x5bcfbe['metadata']))throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20array\x20expected');for(_0x167f40['metadata']=[],_0x2d8f67=0x0;_0x2d8f67<_0x5bcfbe['metadata']['length'];++_0x2d8f67){if(!_0x2da725['isObject'](_0x5bcfbe['metadata'][_0x2d8f67]))throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20object\x20expected');_0x167f40['metadata'][_0x2d8f67]=_0x4efd5e['OperationMetadataDescriptor']['fromObject'](_0x5bcfbe['metadata'][_0x2d8f67],_0x2ff97d+0x1);}}return null!=_0x5bcfbe['lastOperationId']&&(_0x167f40['lastOperationId']=String(_0x5bcfbe['lastOperationId'])),_0x167f40;},_0x167912['toObject']=function(_0x87c72a,_0x2a0c8b,_0x3f5270){if(_0x2a0c8b||(_0x2a0c8b={}),void 0x0===_0x3f5270&&(_0x3f5270=0x0),_0x3f5270>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x39130b={};if((_0x2a0c8b['arrays']||_0x2a0c8b['defaults'])&&(_0x39130b['buffers']=[],_0x39130b['types']=[],_0x39130b['metadata']=[]),_0x2a0c8b['defaults']&&(_0x39130b['id']='',_0x39130b['baseVersion']=0x0,_0x39130b['lastOperationId']=''),null!=_0x87c72a['id']&&Object['hasOwnProperty']['call'](_0x87c72a,'id')&&(_0x39130b['id']=_0x87c72a['id']),null!=_0x87c72a['baseVersion']&&Object['hasOwnProperty']['call'](_0x87c72a,'baseVersion')&&(_0x39130b['baseVersion']=_0x87c72a['baseVersion']),_0x87c72a['buffers']&&_0x87c72a['buffers']['length']){_0x39130b['buffers']=[];for(var _0x316a3f=0x0;_0x316a3f<_0x87c72a['buffers']['length'];++_0x316a3f)_0x39130b['buffers'][_0x316a3f]=_0x2a0c8b['bytes']===String?_0x2da725['base64']['encode'](_0x87c72a['buffers'][_0x316a3f],0x0,_0x87c72a['buffers'][_0x316a3f]['length']):_0x2a0c8b['bytes']===Array?Array['prototype']['slice']['call'](_0x87c72a['buffers'][_0x316a3f]):_0x87c72a['buffers'][_0x316a3f];}if(_0x87c72a['types']&&_0x87c72a['types']['length']){for(_0x39130b['types']=[],_0x316a3f=0x0;_0x316a3f<_0x87c72a['types']['length'];++_0x316a3f)_0x39130b['types'][_0x316a3f]=_0x87c72a['types'][_0x316a3f];}if(_0x87c72a['metadata']&&_0x87c72a['metadata']['length']){for(_0x39130b['metadata']=[],_0x316a3f=0x0;_0x316a3f<_0x87c72a['metadata']['length'];++_0x316a3f)_0x39130b['metadata'][_0x316a3f]=_0x4efd5e['OperationMetadataDescriptor']['toObject'](_0x87c72a['metadata'][_0x316a3f],_0x2a0c8b,_0x3f5270+0x1);}return null!=_0x87c72a['lastOperationId']&&Object['hasOwnProperty']['call'](_0x87c72a,'lastOperationId')&&(_0x39130b['lastOperationId']=_0x87c72a['lastOperationId']),_0x39130b;},_0x167912['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x167912['getTypeUrl']=function(_0x292426){return void 0x0===_0x292426&&(_0x292426='type.googleapis.com'),_0x292426+'/CollaborativeEditingUpdateMessage';},_0x167912;}()),_0x4efd5e['CollaborativeEditingReconnectMessage']=(function(){function _0x461baa(_0x7e6bea){if(_0x7e6bea){for(var _0x233aa8=Object['keys'](_0x7e6bea),_0xb8c63=0x0;_0xb8c63<_0x233aa8['length'];++_0xb8c63)null!=_0x7e6bea[_0x233aa8[_0xb8c63]]&&'__proto__'!==_0x233aa8[_0xb8c63]&&(this[_0x233aa8[_0xb8c63]]=_0x7e6bea[_0x233aa8[_0xb8c63]]);}}return _0x461baa['prototype']['id']='',_0x461baa['prototype']['bundleVersion']='',_0x461baa['prototype']['lastKnowVersion']=0x0,_0x461baa['create']=function(_0x45f542){return new _0x461baa(_0x45f542);},_0x461baa['encode']=function(_0x356237,_0x87b743,_0x21f047){if(_0x87b743||(_0x87b743=_0x42a0bf['create']()),void 0x0===_0x21f047&&(_0x21f047=0x0),_0x21f047>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x356237['id']&&Object['hasOwnProperty']['call'](_0x356237,'id')&&_0x87b743['uint32'](0xa)['string'](_0x356237['id']),null!=_0x356237['bundleVersion']&&Object['hasOwnProperty']['call'](_0x356237,'bundleVersion')&&_0x87b743['uint32'](0x12)['string'](_0x356237['bundleVersion']),null!=_0x356237['lastKnowVersion']&&Object['hasOwnProperty']['call'](_0x356237,'lastKnowVersion')&&_0x87b743['uint32'](0x18)['uint32'](_0x356237['lastKnowVersion']),_0x87b743;},_0x461baa['encodeDelimited']=function(_0x2534fd,_0x373f23){return this['encode'](_0x2534fd,_0x373f23)['ldelim']();},_0x461baa['decode']=function(_0x2061f9,_0x16b0d7,_0x56942c,_0x41a023){if(_0x2061f9 instanceof _0x34a44d||(_0x2061f9=_0x34a44d['create'](_0x2061f9)),void 0x0===_0x41a023&&(_0x41a023=0x0),_0x41a023>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x186e90=void 0x0===_0x16b0d7?_0x2061f9['len']:_0x2061f9['pos']+_0x16b0d7,_0x2410d7=new _0x4efd5e['CollaborativeEditingReconnectMessage']();_0x2061f9['pos']<_0x186e90;){var _0x282385=_0x2061f9['uint32']();if(_0x282385===_0x56942c)break;switch(_0x282385>>>0x3){case 0x1:_0x2410d7['id']=_0x2061f9['string']();break;case 0x2:_0x2410d7['bundleVersion']=_0x2061f9['string']();break;case 0x3:_0x2410d7['lastKnowVersion']=_0x2061f9['uint32']();break;default:_0x2061f9['skipType'](0x7&_0x282385,_0x41a023);}}return _0x2410d7;},_0x461baa['decodeDelimited']=function(_0x3ef5eb){return _0x3ef5eb instanceof _0x34a44d||(_0x3ef5eb=new _0x34a44d(_0x3ef5eb)),this['decode'](_0x3ef5eb,_0x3ef5eb['uint32']());},_0x461baa['verify']=function(_0x36a57b,_0x5ab692){return'object'!=typeof _0x36a57b||null===_0x36a57b?'object\x20expected':(void 0x0===_0x5ab692&&(_0x5ab692=0x0),_0x5ab692>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x36a57b['id']&&Object['hasOwnProperty']['call'](_0x36a57b,'id')&&!_0x2da725['isString'](_0x36a57b['id'])?'id:\x20string\x20expected':null!=_0x36a57b['bundleVersion']&&Object['hasOwnProperty']['call'](_0x36a57b,'bundleVersion')&&!_0x2da725['isString'](_0x36a57b['bundleVersion'])?'bundleVersion:\x20string\x20expected':null!=_0x36a57b['lastKnowVersion']&&Object['hasOwnProperty']['call'](_0x36a57b,'lastKnowVersion')&&!_0x2da725['isInteger'](_0x36a57b['lastKnowVersion'])?'lastKnowVersion:\x20integer\x20expected':null);},_0x461baa['fromObject']=function(_0x2df084,_0x1b5815){if(_0x2df084 instanceof _0x4efd5e['CollaborativeEditingReconnectMessage'])return _0x2df084;if(!_0x2da725['isObject'](_0x2df084))throw TypeError('.CollaborativeEditingReconnectMessage:\x20object\x20expected');if(void 0x0===_0x1b5815&&(_0x1b5815=0x0),_0x1b5815>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x25e0c6=new _0x4efd5e['CollaborativeEditingReconnectMessage']();return null!=_0x2df084['id']&&(_0x25e0c6['id']=String(_0x2df084['id'])),null!=_0x2df084['bundleVersion']&&(_0x25e0c6['bundleVersion']=String(_0x2df084['bundleVersion'])),null!=_0x2df084['lastKnowVersion']&&(_0x25e0c6['lastKnowVersion']=_0x2df084['lastKnowVersion']>>>0x0),_0x25e0c6;},_0x461baa['toObject']=function(_0x209584,_0x35bddf,_0x44dcd1){if(_0x35bddf||(_0x35bddf={}),void 0x0===_0x44dcd1&&(_0x44dcd1=0x0),_0x44dcd1>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x631bb7={};return _0x35bddf['defaults']&&(_0x631bb7['id']='',_0x631bb7['bundleVersion']='',_0x631bb7['lastKnowVersion']=0x0),null!=_0x209584['id']&&Object['hasOwnProperty']['call'](_0x209584,'id')&&(_0x631bb7['id']=_0x209584['id']),null!=_0x209584['bundleVersion']&&Object['hasOwnProperty']['call'](_0x209584,'bundleVersion')&&(_0x631bb7['bundleVersion']=_0x209584['bundleVersion']),null!=_0x209584['lastKnowVersion']&&Object['hasOwnProperty']['call'](_0x209584,'lastKnowVersion')&&(_0x631bb7['lastKnowVersion']=_0x209584['lastKnowVersion']),_0x631bb7;},_0x461baa['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x461baa['getTypeUrl']=function(_0x5a73e6){return void 0x0===_0x5a73e6&&(_0x5a73e6='type.googleapis.com'),_0x5a73e6+'/CollaborativeEditingReconnectMessage';},_0x461baa;}()),_0x4efd5e['CollaborativeEditingConnectMessage']=(function(){function _0x19c206(_0x1848b9){if(this['buffers']=[],this['types']=[],_0x1848b9){for(var _0x274f0a=Object['keys'](_0x1848b9),_0xd63c78=0x0;_0xd63c78<_0x274f0a['length'];++_0xd63c78)null!=_0x1848b9[_0x274f0a[_0xd63c78]]&&'__proto__'!==_0x274f0a[_0xd63c78]&&(this[_0x274f0a[_0xd63c78]]=_0x1848b9[_0x274f0a[_0xd63c78]]);}}return _0x19c206['prototype']['id']='',_0x19c206['prototype']['bundleVersion']='',_0x19c206['prototype']['buffers']=_0x2da725['emptyArray'],_0x19c206['prototype']['types']=_0x2da725['emptyArray'],_0x19c206['prototype']['lastOperationId']='',_0x19c206['create']=function(_0x4e506b){return new _0x19c206(_0x4e506b);},_0x19c206['encode']=function(_0x5c83e8,_0x555bf5,_0x141b5d){if(_0x555bf5||(_0x555bf5=_0x42a0bf['create']()),void 0x0===_0x141b5d&&(_0x141b5d=0x0),_0x141b5d>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x5c83e8['id']&&Object['hasOwnProperty']['call'](_0x5c83e8,'id')&&_0x555bf5['uint32'](0xa)['string'](_0x5c83e8['id']),null!=_0x5c83e8['bundleVersion']&&Object['hasOwnProperty']['call'](_0x5c83e8,'bundleVersion')&&_0x555bf5['uint32'](0x12)['string'](_0x5c83e8['bundleVersion']),null!=_0x5c83e8['buffers']&&_0x5c83e8['buffers']['length']){for(var _0x54b8f5=0x0;_0x54b8f5<_0x5c83e8['buffers']['length'];++_0x54b8f5)_0x555bf5['uint32'](0x1a)['bytes'](_0x5c83e8['buffers'][_0x54b8f5]);}if(null!=_0x5c83e8['types']&&_0x5c83e8['types']['length']){for(_0x555bf5['uint32'](0x22)['fork'](),_0x54b8f5=0x0;_0x54b8f5<_0x5c83e8['types']['length'];++_0x54b8f5)_0x555bf5['uint32'](_0x5c83e8['types'][_0x54b8f5]);_0x555bf5['ldelim']();}return null!=_0x5c83e8['lastOperationId']&&Object['hasOwnProperty']['call'](_0x5c83e8,'lastOperationId')&&_0x555bf5['uint32'](0x2a)['string'](_0x5c83e8['lastOperationId']),_0x555bf5;},_0x19c206['encodeDelimited']=function(_0x2900e4,_0x460ef7){return this['encode'](_0x2900e4,_0x460ef7)['ldelim']();},_0x19c206['decode']=function(_0x14c8ac,_0x15c5f4,_0x3c4385,_0x4e6524){if(_0x14c8ac instanceof _0x34a44d||(_0x14c8ac=_0x34a44d['create'](_0x14c8ac)),void 0x0===_0x4e6524&&(_0x4e6524=0x0),_0x4e6524>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4b3940=void 0x0===_0x15c5f4?_0x14c8ac['len']:_0x14c8ac['pos']+_0x15c5f4,_0x1f6eac=new _0x4efd5e['CollaborativeEditingConnectMessage']();_0x14c8ac['pos']<_0x4b3940;){var _0x4801f0=_0x14c8ac['uint32']();if(_0x4801f0===_0x3c4385)break;switch(_0x4801f0>>>0x3){case 0x1:_0x1f6eac['id']=_0x14c8ac['string']();break;case 0x2:_0x1f6eac['bundleVersion']=_0x14c8ac['string']();break;case 0x3:_0x1f6eac['buffers']&&_0x1f6eac['buffers']['length']||(_0x1f6eac['buffers']=[]),_0x1f6eac['buffers']['push'](_0x14c8ac['bytes']());break;case 0x4:if(_0x1f6eac['types']&&_0x1f6eac['types']['length']||(_0x1f6eac['types']=[]),0x2==(0x7&_0x4801f0)){for(var _0x1a28dc=_0x14c8ac['uint32']()+_0x14c8ac['pos'];_0x14c8ac['pos']<_0x1a28dc;)_0x1f6eac['types']['push'](_0x14c8ac['uint32']());}else _0x1f6eac['types']['push'](_0x14c8ac['uint32']());break;case 0x5:_0x1f6eac['lastOperationId']=_0x14c8ac['string']();break;default:_0x14c8ac['skipType'](0x7&_0x4801f0,_0x4e6524);}}return _0x1f6eac;},_0x19c206['decodeDelimited']=function(_0x3ed566){return _0x3ed566 instanceof _0x34a44d||(_0x3ed566=new _0x34a44d(_0x3ed566)),this['decode'](_0x3ed566,_0x3ed566['uint32']());},_0x19c206['verify']=function(_0x1d737c,_0x4f9798){if('object'!=typeof _0x1d737c||null===_0x1d737c)return'object\x20expected';if(void 0x0===_0x4f9798&&(_0x4f9798=0x0),_0x4f9798>_0x2da725['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x1d737c['id']&&Object['hasOwnProperty']['call'](_0x1d737c,'id')&&!_0x2da725['isString'](_0x1d737c['id']))return'id:\x20string\x20expected';if(null!=_0x1d737c['bundleVersion']&&Object['hasOwnProperty']['call'](_0x1d737c,'bundleVersion')&&!_0x2da725['isString'](_0x1d737c['bundleVersion']))return'bundleVersion:\x20string\x20expected';if(null!=_0x1d737c['buffers']&&Object['hasOwnProperty']['call'](_0x1d737c,'buffers')){if(!Array['isArray'](_0x1d737c['buffers']))return'buffers:\x20array\x20expected';for(var _0x7c8624=0x0;_0x7c8624<_0x1d737c['buffers']['length'];++_0x7c8624)if(!(_0x1d737c['buffers'][_0x7c8624]&&'number'==typeof _0x1d737c['buffers'][_0x7c8624]['length']||_0x2da725['isString'](_0x1d737c['buffers'][_0x7c8624])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x1d737c['types']&&Object['hasOwnProperty']['call'](_0x1d737c,'types')){if(!Array['isArray'](_0x1d737c['types']))return'types:\x20array\x20expected';for(_0x7c8624=0x0;_0x7c8624<_0x1d737c['types']['length'];++_0x7c8624)if(!_0x2da725['isInteger'](_0x1d737c['types'][_0x7c8624]))return'types:\x20integer[]\x20expected';}return null!=_0x1d737c['lastOperationId']&&Object['hasOwnProperty']['call'](_0x1d737c,'lastOperationId')&&!_0x2da725['isString'](_0x1d737c['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x19c206['fromObject']=function(_0x576f7d,_0x5252d4){if(_0x576f7d instanceof _0x4efd5e['CollaborativeEditingConnectMessage'])return _0x576f7d;if(!_0x2da725['isObject'](_0x576f7d))throw TypeError('.CollaborativeEditingConnectMessage:\x20object\x20expected');if(void 0x0===_0x5252d4&&(_0x5252d4=0x0),_0x5252d4>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2a3070=new _0x4efd5e['CollaborativeEditingConnectMessage']();if(null!=_0x576f7d['id']&&(_0x2a3070['id']=String(_0x576f7d['id'])),null!=_0x576f7d['bundleVersion']&&(_0x2a3070['bundleVersion']=String(_0x576f7d['bundleVersion'])),_0x576f7d['buffers']){if(!Array['isArray'](_0x576f7d['buffers']))throw TypeError('.CollaborativeEditingConnectMessage.buffers:\x20array\x20expected');_0x2a3070['buffers']=[];for(var _0x1b1e1c=0x0;_0x1b1e1c<_0x576f7d['buffers']['length'];++_0x1b1e1c)'string'==typeof _0x576f7d['buffers'][_0x1b1e1c]?_0x2da725['base64']['decode'](_0x576f7d['buffers'][_0x1b1e1c],_0x2a3070['buffers'][_0x1b1e1c]=_0x2da725['newBuffer'](_0x2da725['base64']['length'](_0x576f7d['buffers'][_0x1b1e1c])),0x0):_0x576f7d['buffers'][_0x1b1e1c]['length']>=0x0&&(_0x2a3070['buffers'][_0x1b1e1c]=_0x576f7d['buffers'][_0x1b1e1c]);}if(_0x576f7d['types']){if(!Array['isArray'](_0x576f7d['types']))throw TypeError('.CollaborativeEditingConnectMessage.types:\x20array\x20expected');for(_0x2a3070['types']=[],_0x1b1e1c=0x0;_0x1b1e1c<_0x576f7d['types']['length'];++_0x1b1e1c)_0x2a3070['types'][_0x1b1e1c]=_0x576f7d['types'][_0x1b1e1c]>>>0x0;}return null!=_0x576f7d['lastOperationId']&&(_0x2a3070['lastOperationId']=String(_0x576f7d['lastOperationId'])),_0x2a3070;},_0x19c206['toObject']=function(_0x474746,_0x454919,_0x6f3a49){if(_0x454919||(_0x454919={}),void 0x0===_0x6f3a49&&(_0x6f3a49=0x0),_0x6f3a49>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0xdbded5={};if((_0x454919['arrays']||_0x454919['defaults'])&&(_0xdbded5['buffers']=[],_0xdbded5['types']=[]),_0x454919['defaults']&&(_0xdbded5['id']='',_0xdbded5['bundleVersion']='',_0xdbded5['lastOperationId']=''),null!=_0x474746['id']&&Object['hasOwnProperty']['call'](_0x474746,'id')&&(_0xdbded5['id']=_0x474746['id']),null!=_0x474746['bundleVersion']&&Object['hasOwnProperty']['call'](_0x474746,'bundleVersion')&&(_0xdbded5['bundleVersion']=_0x474746['bundleVersion']),_0x474746['buffers']&&_0x474746['buffers']['length']){_0xdbded5['buffers']=[];for(var _0x5e1a9f=0x0;_0x5e1a9f<_0x474746['buffers']['length'];++_0x5e1a9f)_0xdbded5['buffers'][_0x5e1a9f]=_0x454919['bytes']===String?_0x2da725['base64']['encode'](_0x474746['buffers'][_0x5e1a9f],0x0,_0x474746['buffers'][_0x5e1a9f]['length']):_0x454919['bytes']===Array?Array['prototype']['slice']['call'](_0x474746['buffers'][_0x5e1a9f]):_0x474746['buffers'][_0x5e1a9f];}if(_0x474746['types']&&_0x474746['types']['length']){for(_0xdbded5['types']=[],_0x5e1a9f=0x0;_0x5e1a9f<_0x474746['types']['length'];++_0x5e1a9f)_0xdbded5['types'][_0x5e1a9f]=_0x474746['types'][_0x5e1a9f];}return null!=_0x474746['lastOperationId']&&Object['hasOwnProperty']['call'](_0x474746,'lastOperationId')&&(_0xdbded5['lastOperationId']=_0x474746['lastOperationId']),_0xdbded5;},_0x19c206['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x19c206['getTypeUrl']=function(_0x29502a){return void 0x0===_0x29502a&&(_0x29502a='type.googleapis.com'),_0x29502a+'/CollaborativeEditingConnectMessage';},_0x19c206;}()),_0x4efd5e['OperationMetadataDescriptor']=(function(){function _0x2c3ad5(_0x736fea){if(_0x736fea){for(var _0x346c5c=Object['keys'](_0x736fea),_0xd14e4=0x0;_0xd14e4<_0x346c5c['length'];++_0xd14e4)null!=_0x736fea[_0x346c5c[_0xd14e4]]&&'__proto__'!==_0x346c5c[_0xd14e4]&&(this[_0x346c5c[_0xd14e4]]=_0x736fea[_0x346c5c[_0xd14e4]]);}}return _0x2c3ad5['prototype']['userId']='',_0x2c3ad5['prototype']['type']='',_0x2c3ad5['prototype']['createdAt']='',_0x2c3ad5['create']=function(_0x594796){return new _0x2c3ad5(_0x594796);},_0x2c3ad5['encode']=function(_0x3f9cb2,_0x1d1f48,_0x467724){if(_0x1d1f48||(_0x1d1f48=_0x42a0bf['create']()),void 0x0===_0x467724&&(_0x467724=0x0),_0x467724>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x3f9cb2['userId']&&Object['hasOwnProperty']['call'](_0x3f9cb2,'userId')&&_0x1d1f48['uint32'](0xa)['string'](_0x3f9cb2['userId']),null!=_0x3f9cb2['type']&&Object['hasOwnProperty']['call'](_0x3f9cb2,'type')&&_0x1d1f48['uint32'](0x12)['string'](_0x3f9cb2['type']),null!=_0x3f9cb2['createdAt']&&Object['hasOwnProperty']['call'](_0x3f9cb2,'createdAt')&&_0x1d1f48['uint32'](0x1a)['string'](_0x3f9cb2['createdAt']),_0x1d1f48;},_0x2c3ad5['encodeDelimited']=function(_0x31a7e6,_0x5a61d7){return this['encode'](_0x31a7e6,_0x5a61d7)['ldelim']();},_0x2c3ad5['decode']=function(_0x58dd7c,_0x54337c,_0x419859,_0x1d2560){if(_0x58dd7c instanceof _0x34a44d||(_0x58dd7c=_0x34a44d['create'](_0x58dd7c)),void 0x0===_0x1d2560&&(_0x1d2560=0x0),_0x1d2560>_0x34a44d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x53ebb8=void 0x0===_0x54337c?_0x58dd7c['len']:_0x58dd7c['pos']+_0x54337c,_0x1852e0=new _0x4efd5e['OperationMetadataDescriptor']();_0x58dd7c['pos']<_0x53ebb8;){var _0x19827d=_0x58dd7c['uint32']();if(_0x19827d===_0x419859)break;switch(_0x19827d>>>0x3){case 0x1:_0x1852e0['userId']=_0x58dd7c['string']();break;case 0x2:_0x1852e0['type']=_0x58dd7c['string']();break;case 0x3:_0x1852e0['createdAt']=_0x58dd7c['string']();break;default:_0x58dd7c['skipType'](0x7&_0x19827d,_0x1d2560);}}return _0x1852e0;},_0x2c3ad5['decodeDelimited']=function(_0x5df6c0){return _0x5df6c0 instanceof _0x34a44d||(_0x5df6c0=new _0x34a44d(_0x5df6c0)),this['decode'](_0x5df6c0,_0x5df6c0['uint32']());},_0x2c3ad5['verify']=function(_0x3ea1c5,_0xe9cb47){return'object'!=typeof _0x3ea1c5||null===_0x3ea1c5?'object\x20expected':(void 0x0===_0xe9cb47&&(_0xe9cb47=0x0),_0xe9cb47>_0x2da725['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x3ea1c5['userId']&&Object['hasOwnProperty']['call'](_0x3ea1c5,'userId')&&!_0x2da725['isString'](_0x3ea1c5['userId'])?'userId:\x20string\x20expected':null!=_0x3ea1c5['type']&&Object['hasOwnProperty']['call'](_0x3ea1c5,'type')&&!_0x2da725['isString'](_0x3ea1c5['type'])?'type:\x20string\x20expected':null!=_0x3ea1c5['createdAt']&&Object['hasOwnProperty']['call'](_0x3ea1c5,'createdAt')&&!_0x2da725['isString'](_0x3ea1c5['createdAt'])?'createdAt:\x20string\x20expected':null);},_0x2c3ad5['fromObject']=function(_0x323c7d,_0x345515){if(_0x323c7d instanceof _0x4efd5e['OperationMetadataDescriptor'])return _0x323c7d;if(!_0x2da725['isObject'](_0x323c7d))throw TypeError('.OperationMetadataDescriptor:\x20object\x20expected');if(void 0x0===_0x345515&&(_0x345515=0x0),_0x345515>_0x2da725['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x180bcf=new _0x4efd5e['OperationMetadataDescriptor']();return null!=_0x323c7d['userId']&&(_0x180bcf['userId']=String(_0x323c7d['userId'])),null!=_0x323c7d['type']&&(_0x180bcf['type']=String(_0x323c7d['type'])),null!=_0x323c7d['createdAt']&&(_0x180bcf['createdAt']=String(_0x323c7d['createdAt'])),_0x180bcf;},_0x2c3ad5['toObject']=function(_0xabb69b,_0x13935f,_0x4f2c41){if(_0x13935f||(_0x13935f={}),void 0x0===_0x4f2c41&&(_0x4f2c41=0x0),_0x4f2c41>_0x2da725['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x5c0815={};return _0x13935f['defaults']&&(_0x5c0815['userId']='',_0x5c0815['type']='',_0x5c0815['createdAt']=''),null!=_0xabb69b['userId']&&Object['hasOwnProperty']['call'](_0xabb69b,'userId')&&(_0x5c0815['userId']=_0xabb69b['userId']),null!=_0xabb69b['type']&&Object['hasOwnProperty']['call'](_0xabb69b,'type')&&(_0x5c0815['type']=_0xabb69b['type']),null!=_0xabb69b['createdAt']&&Object['hasOwnProperty']['call'](_0xabb69b,'createdAt')&&(_0x5c0815['createdAt']=_0xabb69b['createdAt']),_0x5c0815;},_0x2c3ad5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x2c3ad5['getTypeUrl']=function(_0x5434d5){return void 0x0===_0x5434d5&&(_0x5434d5='type.googleapis.com'),_0x5434d5+'/OperationMetadataDescriptor';},_0x2c3ad5;}()),_0x4efd5e;})());var lk=class{static['decode'](_0x15750a,_0x2022c9){const _0x5733f5=hk(_0x2022c9)['decode']('undefined'==typeof window?_0x15750a:new Uint8Array(_0x15750a));return _0x2022c9['fromJSON']({..._0x5733f5});}static['encode'](_0x54ada6){const _0x57b5d8=hk(_0x54ada6['constructor']),_0x14b6d7=_0x54ada6['toJSON'](),_0x4dcab9=_0x57b5d8['verify'](_0x14b6d7);if(_0x4dcab9)throw Error(_0x4dcab9);return _0x57b5d8['encode'](_0x57b5d8['create'](_0x14b6d7))['finish']();}};function hk(_0x2fc647){return ck[_0x2fc647['DESCRIPTOR_NAME']];}var uk=class GetManyUsersMessage extends rk{['ids'];static ['TYPE']='22';static ['READABLE_TYPE_NAME']='getManyUsers';static ['DESCRIPTOR_NAME']='GetManyUsersMessage';static ['DESCRIPTOR']={'fields':{'ids':{'id':0x1,'type':'string','rule':'repeated'}}};constructor(_0x1a4a68){super(),this['ids']=_0x1a4a68;}['toJSON'](){return{'ids':this['ids']};}static['fromJSON'](_0x4edea0){return new GetManyUsersMessage(_0x4edea0['ids']);}},dk=class GetManyUsersResponse extends rk{['users'];static ['DESCRIPTOR_NAME']='GetManyUsersResponse';static ['DESCRIPTOR']={'fields':{'users':{'rule':'repeated','type':'UserDescriptor','id':0x1}}};constructor(_0x5b58e0){super(),this['users']=_0x5b58e0;}['toJSON'](){return{'users':this['users']['map'](fk)};}static['fromJSON'](_0x2be6c7){return new GetManyUsersResponse(_0x2be6c7['users']['map'](mk));}};function fk(_0x5d5a7d){return{'attributes':Object['keys'](_0x5d5a7d)['map'](_0x5d78e3=>({'key':_0x5d78e3,'value':JSON['stringify'](_0x5d5a7d[_0x5d78e3])}))};}function mk(_0x5e608f){return _0x5e608f['attributes']['reduce']((_0x14f63b,_0x4fd99d)=>(_0x14f63b[_0x4fd99d['key']]=_0x4fd99d['value']?JSON['parse'](_0x4fd99d['value']):null,_0x14f63b),{});}var pk=class User$1{static ['_SERVICE']=0x2;constructor(_0x50a031={}){this['_attributes']=new Map();for(const _0x2c0573 of Object['keys'](_0x50a031))'id'!==_0x2c0573?(this['_attributes']['set'](_0x2c0573,_0x50a031[_0x2c0573]),Object['defineProperty'](this,_0x2c0573,{'enumerable':!0x0,'configurable':!0x1,'get':()=>this['_attributes']['get'](_0x2c0573)})):this['id']=_0x50a031['id'];}static['fromData'](_0x3e6788){return new User$1(_0x3e6788);}static async['get'](_0x1a8fa0,_0x2c2476){const _0x19b229=new ok(_0x2c2476);try{const _0x4ffbde=await _0x1a8fa0['_sendRequest'](User$1['_SERVICE'],ok['TYPE'],lk['encode'](_0x19b229));return new User$1(lk['decode'](_0x4ffbde,ak)['attributes']);}catch{return new User$1({'id':_0x2c2476});}}static async['getMany'](_0x384b38,_0x5e354c){const _0x454f22=new uk(_0x5e354c);try{const _0x470ec0=await _0x384b38['_sendRequest'](User$1['_SERVICE'],uk['TYPE'],lk['encode'](_0x454f22));return lk['decode'](_0x470ec0,dk)['users']['map'](_0x1cf79e=>new User$1(_0x1cf79e));}catch{return _0x5e354c['map'](_0x17bfbd=>new User$1({'id':_0x17bfbd}));}}},gk=class ChannelMessage extends rk{['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(_0x55a96b,_0x38ee01,_0x5bafd9){super(),this['type']=_0x55a96b,this['socketId']=_0x38ee01,this['data']=_0x5bafd9;}['toJSON'](){return{'type':this['type'],'socketId':this['socketId'],'data':this['data']};}static['fromJSON'](_0x1d7aef){return new ChannelMessage(_0x1d7aef['type'],_0x1d7aef['socketId'],_0x1d7aef['data']);}},Ok=class extends _0x3cd689(){['_channelName'];['_wsGateway'];['_socket'];constructor(_0x71fb0c,_0x22b1b7,_0x49a49a){super(),this['_channelName']=_0x71fb0c,this['_wsGateway']=_0x22b1b7,this['_socket']=_0x49a49a,this['_subscribeToChannel']();}['remove'](){this['_socket']['off'](this['_channelName']);}['getEventName'](_0x11c743,_0x427c27=!0x1){let _0x10e688='';return _0x427c27&&(_0x10e688+='all:'),_0x10e688+='event',_0x11c743&&(_0x10e688+=':'+_0x11c743),_0x10e688;}['_subscribeToChannel'](){this['_socket']['on'](this['_channelName'],_0x47c601=>{const _0x213ae3=lk['decode'](_0x47c601,gk);this['fire'](this['getEventName'](_0x213ae3['type'],!0x0),_0x213ae3['data'],_0x213ae3['socketId']),_0x213ae3['socketId']!==this['_wsGateway']['socketId']&&this['fire'](this['getEventName'](_0x213ae3['type']),_0x213ae3['data'],_0x213ae3['socketId']);});}},wk=class CKEditorCloudServicesError extends Error{['context'];['code'];['data'];constructor(_0x3a6ac4,_0x4fffbe,_0x884325=null,_0x3ddc49={}){super('cloud-services-internal-error:\x20'+_0x3a6ac4),this['context']=_0x4fffbe,this['code']=_0x884325,this['data']=_0x3ddc49,this['name']='CKEditorError';}static['fromPublicError'](_0x18be5b){return new CKEditorCloudServicesError(function(_0xb83040){let _0x1062f5='cloud-services-error:\x20'+_0xb83040['message'];return _0xb83040['data']&&(_0x1062f5+='\x0aError\x20data:\x20'+JSON['stringify'](_0xb83040['data'])),_0xb83040['explanation']&&(_0x1062f5+='\x0aExplanation:\x20'+_0xb83040['explanation']),_0xb83040['action']&&(_0x1062f5+='\x0aAction:\x20'+_0xb83040['action']),_0xb83040['traceId']&&(_0x1062f5+='\x0aTraceId:\x20'+_0xb83040['traceId']),_0xb83040['code']&&(_0x1062f5+='\x0aCode:\x20'+_0xb83040['code']),_0x1062f5;}(_0x18be5b),_0x18be5b);}},bk=class CKEditorCloudServicesServerError extends Error{['code'];['traceId'];['data'];constructor(_0x100eb7,_0x5d3e00){super(),this['name']='CKEditorCloudServicesServerError',this['stack']=void 0x0,this['message']=_0x100eb7,this['code']=_0x5d3e00['code'],this['traceId']=_0x5d3e00['traceId'],this['data']=_0x5d3e00['data'];}static['fromPublicError'](_0x2a2b13){return new CKEditorCloudServicesServerError(function(_0x78d884){let _0x277172='cloud-services-server-error:\x20'+_0x78d884['message'];return _0x78d884['explanation']&&(_0x277172+='\x0aExplanation:\x20'+_0x78d884['explanation']),_0x78d884['action']&&(_0x277172+='\x0aAction:\x20'+_0x78d884['action']),_0x78d884['traceId']&&(_0x277172+='\x0aTraceId:\x20'+_0x78d884['traceId']),_0x78d884['code']&&(_0x277172+='\x0aCode:\x20'+_0x78d884['code']),_0x277172;}(_0x2a2b13),_0x2a2b13);}},yk=class PacketOptionsMessage extends rk{['flags'];['rooms'];['except'];static ['TYPE']=0xb;static ['DESCRIPTOR_NAME']='PacketOptionsMessage';static ['DESCRIPTOR']=((()=>({'fields':{'flags':{'type':'string','id':0x1},'rooms':{'type':'string','id':0x2,'rule':'repeated'},'except':{'type':'string','id':0x3,'rule':'repeated'}}}))());constructor(_0x3c0651,_0x59b78a=[],_0xfb55d4=[]){super(),this['flags']=_0x3c0651,this['rooms']=_0x59b78a,this['except']=_0xfb55d4;}['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'](_0xc99585){return new PacketOptionsMessage(_0xc99585['flags']&&JSON['parse'](_0xc99585['flags']),_0xc99585['rooms'],_0xc99585['except']);}};const vk=((()=>!('undefined'==typeof process||!process['versions']?.['node']))());var _k=class ParserUtils{static['getPacketType'](..._0x2b7b65){let _0x177959=0x0;for(let _0x5a1186=0x0;_0x5a1186<_0x2b7b65['length'];_0x5a1186++)_0x177959+=_0x2b7b65[_0x5a1186]*Math['pow'](0xa,_0x2b7b65['length']-_0x5a1186-0x1);return _0x177959;}static['getType'](_0x3ad298){if(ParserUtils['isBuffer'](_0x3ad298))return 0x1;const _0x31841f=typeof _0x3ad298;return'string'===_0x31841f?0x2:'number'===_0x31841f?0x3:0x4;}static['isBuffer'](_0x46a1ce){return vk&&Buffer['isBuffer'](_0x46a1ce)||_0x46a1ce instanceof ArrayBuffer||_0x46a1ce instanceof Uint8Array||this['_isBufferView'](_0x46a1ce);}static['_isBufferView'](_0x504989){return'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x504989):_0x504989['buffer']instanceof ArrayBuffer;}},Ek=class extends rk{['data'];['data1'];static['create'](_0x3c3004,_0x55abaa){throw new TypeError('Must\x20be\x20implemented\x20in\x20a\x20child\x20class!');}},Tk=class NumberBytesPacketDataMessage extends Ek{['data'];['data1'];static ['TYPE']=((()=>_k['getPacketType'](0x3,0x1))());static ['DESCRIPTOR_NAME']='NumberBytesPacketDataMessage';static ['DESCRIPTOR']=((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x27e3db,_0xc2ccd4){super(),this['data']=_0x27e3db,this['data1']=_0xc2ccd4;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x5ccc1f){return new NumberBytesPacketDataMessage(_0x5ccc1f['data'],_0x5ccc1f['data1']);}static['create'](_0x5a42c7,_0x9d7968){return new NumberBytesPacketDataMessage(_0x5a42c7,_0x9d7968);}},Ak=class StringBytesPacketDataMessage extends Ek{['data'];['data1'];static ['TYPE']=((()=>_k['getPacketType'](0x2,0x1))());static ['DESCRIPTOR_NAME']='StringBytesPacketDataMessage';static ['DESCRIPTOR']=((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x51e501,_0x25585c){super(),this['data']=_0x51e501,this['data1']=_0x25585c;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0xfd9117){return new StringBytesPacketDataMessage(_0xfd9117['data'],_0xfd9117['data1']);}static['create'](_0x535976,_0x21c190){return new StringBytesPacketDataMessage(_0x535976,_0x21c190);}},Sk=class BytesBytesPacketDataMessage extends Ek{['data'];['data1'];static ['TYPE']=((()=>_k['getPacketType'](0x1,0x1))());static ['DESCRIPTOR_NAME']='BytesBytesPacketDataMessage';static ['DESCRIPTOR']=((()=>({'fields':{'data':{'type':'bytes','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x180b6e,_0x19294f){super(),this['data']=_0x180b6e,this['data1']=_0x19294f;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x17b90f){return new BytesBytesPacketDataMessage(_0x17b90f['data'],_0x17b90f['data1']);}static['create'](_0x4184ef,_0x12e6d1){return new BytesBytesPacketDataMessage(_0x4184ef,_0x12e6d1);}},Ik=class StringObjectPacketDataMessage extends Ek{['data'];['data1'];static ['TYPE']=((()=>_k['getPacketType'](0x2,0x4))());static ['DESCRIPTOR_NAME']='StringObjectPacketDataMessage';static ['DESCRIPTOR']=((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x159a55,_0x466d61){super(),this['data']=_0x159a55,this['data1']=_0x466d61;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x351848){return new StringObjectPacketDataMessage(_0x351848['data'],_0x351848['data1']&&JSON['parse'](_0x351848['data1']));}static['create'](_0x40a57c,_0x3e6bd1){return new StringObjectPacketDataMessage(_0x40a57c,_0x3e6bd1);}},kk=class NumberObjectPacketDataMessage extends Ek{['data'];['data1'];static ['TYPE']=((()=>_k['getPacketType'](0x3,0x4))());static ['DESCRIPTOR_NAME']='NumberObjectPacketDataMessage';static ['DESCRIPTOR']=((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x5788c1,_0x1c8409){super(),this['data']=_0x5788c1,this['data1']=_0x1c8409;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x204040){return new NumberObjectPacketDataMessage(_0x204040['data'],_0x204040['data1']&&JSON['parse'](_0x204040['data1']));}static['create'](_0x3c8c4c,_0x1954d4){return new NumberObjectPacketDataMessage(_0x3c8c4c,_0x1954d4);}},xk=class ObjectObjectPacketDataMessage extends Ek{['data'];['data1'];static ['TYPE']=((()=>_k['getPacketType'](0x4,0x4))());static ['DESCRIPTOR_NAME']='ObjectObjectPacketDataMessage';static ['DESCRIPTOR']=((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x303525,_0x4205f7){super(),this['data']=_0x303525,this['data1']=_0x4205f7;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x50db0b){return new ObjectObjectPacketDataMessage(_0x50db0b['data']&&JSON['parse'](_0x50db0b['data']),_0x50db0b['data1']&&JSON['parse'](_0x50db0b['data1']));}static['create'](_0xfa3d7b,_0x34f32a){return new ObjectObjectPacketDataMessage(_0xfa3d7b,_0x34f32a);}},Ck=class ObjectBufferPacketDataMessage extends Ek{['data'];['data1'];static ['TYPE']=((()=>_k['getPacketType'](0x4,0x1))());static ['DESCRIPTOR_NAME']='ObjectBufferPacketDataMessage';static ['DESCRIPTOR']=((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x219a34,_0x17afcf){super(),this['data']=_0x219a34,this['data1']=_0x17afcf;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']};}static['fromJSON'](_0x59f4d1){return new ObjectBufferPacketDataMessage(_0x59f4d1['data']&&JSON['parse'](_0x59f4d1['data']),_0x59f4d1['data1']);}static['create'](_0x20f07c,_0x3bf944){return new ObjectBufferPacketDataMessage(_0x20f07c,_0x3bf944);}},Rk=class StringStringPacketDataMessage extends Ek{['data'];['data1'];static ['TYPE']=((()=>_k['getPacketType'](0x2,0x2))());static ['DESCRIPTOR_NAME']='StringStringPacketDataMessage';static ['DESCRIPTOR']=((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x747914,_0x55688b){super(),this['data']=_0x747914,this['data1']=_0x55688b;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x564b35){return new StringStringPacketDataMessage(_0x564b35['data'],_0x564b35['data1']);}static['create'](_0x2ad195,_0x4c11bc){return new StringStringPacketDataMessage(_0x2ad195,_0x4c11bc);}},Pk=class StringNumberPacketDataMessage extends Ek{['data'];['data1'];static ['TYPE']=((()=>_k['getPacketType'](0x2,0x3))());static ['DESCRIPTOR_NAME']='StringNumberPacketDataMessage';static ['DESCRIPTOR']=((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'uint32','id':0x2}}}))());constructor(_0x49629f,_0x844b82){super(),this['data']=_0x49629f,this['data1']=_0x844b82;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x5b473b){return new StringNumberPacketDataMessage(_0x5b473b['data'],_0x5b473b['data1']);}static['create'](_0x1a52a6,_0x163f4c){return new StringNumberPacketDataMessage(_0x1a52a6,_0x163f4c);}},Mk=class NumberNumberPacketDataMessage extends Ek{['data'];['data1'];static ['TYPE']=((()=>_k['getPacketType'](0x3,0x3))());static ['DESCRIPTOR_NAME']='NumberNumberPacketDataMessage';static ['DESCRIPTOR']={'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'uint32','id':0x2}}};constructor(_0x523044,_0x46e830){super(),this['data']=_0x523044,this['data1']=_0x46e830;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x42585e){return new NumberNumberPacketDataMessage(_0x42585e['data'],_0x42585e['data1']);}static['create'](_0x560f6d,_0x580e0e){return new NumberNumberPacketDataMessage(_0x560f6d,_0x580e0e);}},Nk=class NumberStringPacketDataMessage extends Ek{['data'];['data1'];static ['TYPE']=((()=>_k['getPacketType'](0x3,0x2))());static ['DESCRIPTOR_NAME']='NumberStringPacketDataMessage';static ['DESCRIPTOR']=((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x33d0dc,_0x23a638){super(),this['data']=_0x33d0dc,this['data1']=_0x23a638;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x461fea){return new NumberStringPacketDataMessage(_0x461fea['data'],_0x461fea['data1']);}static['create'](_0x29b5cb,_0x42627e){return new NumberStringPacketDataMessage(_0x29b5cb,_0x42627e);}};const Lk=((()=>[Tk,Ak,Sk,Ik,kk,xk,Ck,Rk,Pk,Mk,Nk]['reduce']((_0x8d7312,_0x1df8a5)=>(_0x8d7312[_0x1df8a5['TYPE']]=_0x1df8a5,_0x8d7312),{}))());var $k=class PacketMessage extends rk{['type'];['data'];['id'];['nsp'];['options'];static ['TYPE']=0xa;static ['DESCRIPTOR_NAME']='PacketMessage';static ['DESCRIPTOR']=((()=>({'fields':{'type':{'type':'uint32','id':0x1},'id':{'type':'uint32','id':0x2},'nsp':{'type':'string','id':0x3},'data':{'type':'bytes','id':0x4},'options':{'type':'bytes','id':0x5}}}))());constructor(_0x32b07c,_0x149192,_0x19b001,_0x5c668d='/',_0x20bc01){super(),this['type']=_0x32b07c,this['data']=_0x149192,this['id']=_0x19b001,this['nsp']=_0x5c668d,this['options']=_0x20bc01??new yk();}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 _0x522871=lk['encode'](this['options']),_0x48f69c=lk['encode'](this['data']);return{'type':this['type']+0xa*this['data']['constructor']['TYPE'],'id':this['id'],'nsp':'/'===this['nsp']?void 0x0:this['nsp'],'data':_0x48f69c,'options':_0x522871};}static['fromJSON'](_0x2387f7){const _0x45620b=Math['floor'](_0x2387f7['type']/0xa);return new PacketMessage(_0x2387f7['type']-0xa*_0x45620b,lk['decode'](_0x2387f7['data'],Lk[_0x45620b]),_0x2387f7['id'],_0x2387f7['nsp'],_0x2387f7['options']?lk['decode'](_0x2387f7['options'],yk):new yk());}static['create'](_0x27cb88,_0x5257b4={}){const _0x3ed1d8=_k['getPacketType'](_k['getType'](_0x27cb88['data'][0x0]),_k['getType'](_0x27cb88['data'][0x1]??_0x27cb88['data'][0x0]));return new PacketMessage(_0x27cb88['type'],Lk[_0x3ed1d8]['create'](_0x27cb88['data'][0x0],_0x27cb88['data'][0x1]),_0x27cb88['id'],_0x27cb88['nsp'],new yk(_0x5257b4['flags'],_0x5257b4['rooms'],_0x5257b4['except']));}},Dk=class{['encode'](_0x2fe4d0,_0x934572,_0x8ec46e,_0xc17ed4='/',_0xe4e5b3={}){if(_0x934572['length']>0x2)throw new Error('PacketParser\x20supports\x20only\x202\x20elements\x20in\x20data');const _0x25e985={'type':_0x2fe4d0,'data':_0x934572,'id':_0x8ec46e,'nsp':_0xc17ed4};return lk['encode']($k['create'](_0x25e985,_0xe4e5b3));}['decode'](_0x2b5718){const _0x1d0303=lk['decode'](_0x2b5718,$k);return{'packet':{'id':_0x1d0303['id'],'type':_0x1d0303['type'],'data':_0x1d0303['packetData'],'nsp':_0x1d0303['nsp']},'options':{'flags':_0x1d0303['options']['flags'],'rooms':_0x1d0303['options']['rooms'],'except':_0x1d0303['options']['except']}};}};const Qk=((()=>[$I['EVENT'],$I['ACK'],$I['BINARY_ACK'],$I['BINARY_EVENT']])());var jk=class extends DI{['_packetParser'];constructor(_0x552f58){super(),this['_packetParser']=_0x552f58??new Dk();}['encode'](_0xb8a1d0){if(Qk['includes'](_0xb8a1d0['type']))try{return[this['_packetParser']['encode'](_0xb8a1d0['type'],_0xb8a1d0['data'],_0xb8a1d0['id'],_0xb8a1d0['nsp'])];}catch(_0xdba0f4){console['error']('Can\x20not\x20properly\x20serialize\x20or\x20deserialize\x20messages.\x20Check\x20the\x20original\x20error.',{'originalError':{'message':_0xdba0f4['message']}});}return super['encode'](_0xb8a1d0);}},Uk=class extends QI{['_packetParser'];constructor(_0x321a32){super(),this['_packetParser']=_0x321a32??new Dk();}['add'](_0x223fc2){if(!_k['isBuffer'](_0x223fc2))return super['add'](_0x223fc2);let _0x393d4c;try{_0x393d4c=this['_packetParser']['decode'](_0x223fc2)['packet'];}catch{return super['add'](_0x223fc2);}super['emitReserved']('decoded',_0x393d4c);}},Vk=class{['_context'];['_deferredPromise']=/* #__PURE__ -- @preserve */
Fk();['timeout'];constructor(_0xcd3f48,_0x332b49){this['_context']=_0xcd3f48,this['timeout']=setTimeout(()=>this['error'](new wk('Request\x20timeout.',this['_context'])),_0x332b49);}get['promise'](){return this['_deferredPromise']['promise'];}['response'](_0x5517af){this['_deferredPromise']['resolve'](_0x5517af);}['error'](_0xa228a7){this['_deferredPromise']['reject'](_0xa228a7);}},Bk=class{['_context'];['_requests']=new Set();constructor(_0x99211f){this['_context']=_0x99211f;}async['send'](_0x449b99,_0x357cf3=0xafc8){const _0x467ce1=this['_createRequest'](_0x357cf3);try{return _0x449b99(_0x467ce1),await _0x467ce1['promise'];}finally{this['_finishRequest'](_0x467ce1);}}['errorAll'](_0x5114d7){for(const _0x4abce4 of this['_requests'])_0x4abce4['error'](_0x5114d7);}['waitForAllRequests'](_0x2a4a4d=0xafc8){return this['_waitForRequests'](_0x2a4a4d);}['_createRequest'](_0x326713){const _0x149ff4=new Vk(this['_context'],_0x326713);return this['_requests']['add'](_0x149ff4),_0x149ff4;}['_finishRequest'](_0x454992){this['_requests']['delete'](_0x454992),clearTimeout(_0x454992['timeout']);}async['_waitForRequests'](_0x4eba68=0x1388,_0x2fb13c=0x0){return!this['_requests']['size']||_0x2fb13c>=_0x4eba68/0x1f4?Promise['resolve']():(await new Promise(_0x31a073=>{setTimeout(_0x31a073,0x1f4);}),this['_waitForRequests'](_0x4eba68,_0x2fb13c++));}};function Fk(){let _0x44f52f,_0x28337a;const _0x32ec62=new Promise((_0x48acee,_0x1d68cc)=>{_0x44f52f=_0x48acee,_0x28337a=_0x1d68cc;});return{'resolve':_0x44f52f,'reject':_0x28337a,'promise':_0x32ec62};}const Hk='disconnected',Zk='connecting',Gk='connected';var Xk=class WebSocketGateway$1 extends _0x5b14e3(){['_requestsManager'];['_url'];['_socket'];['_socketAuth'];['_channels'];['_connectionAttempt']=0x0;['_token'];['_options'];['_connectionProvider'];['_userFactory'];static ['STATE_DISCONNECTED']=((()=>Hk)());static ['STATE_CONNECTING']=((()=>Zk)());static ['STATE_CONNECTED']=((()=>Gk)());static ['_CHANGE_STATE_EVENT_PRIORITY']=((()=>_0x38a185['get']('highest')+0xf423f)());constructor(_0x228120,_0x30ab62,_0x36f3a3,_0x1f9b47,_0x1caa8d){if(super(),this['_token']=_0x30ab62,this['_options']=_0x36f3a3??{},this['_connectionProvider']=_0x1f9b47??WI,this['_userFactory']=_0x1caa8d??pk['get'],this['_requestsManager']=new Bk(this),this['_channels']=new Map(),!_0x228120)throw new TypeError('Api\x20address\x20must\x20be\x20provided.');if(!this['_token'])throw new TypeError('Token\x20must\x20be\x20provided.');this['_options']['requestTimeout']??=0x4e20,this['_url']=(0x0,sk['default'])(_0x228120['replace'](/^(?!(?:\w+:)?\/\/)/,'https://')),this['set']('state',Hk),this['set']('socketId',void 0x0),this['set']('me',void 0x0),this['on']('change:state',async(_0x30e575,_0x217348,_0x560454)=>{if(this['_debugEvent']('ws-gw:change:state',_0x560454),_0x560454!==WebSocketGateway$1['STATE_CONNECTED']){if(_0x560454===WebSocketGateway$1['STATE_DISCONNECTED'])return this['_requestsManager']['errorAll'](new wk('Not\x20connected.',this));}else try{this['me']=await this['_userFactory']['call'](pk,this,this['_socketAuth']?.['userId']);}catch{}},{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),this['on']('error',(_0x37c497,_0x377002)=>{this['_options']['onError']?this['_options']['onError'](_0x377002):console['error'](_0x377002);});}get['sessionId'](){return this['socketId'];}['waitForAllRequests'](_0x3b838a){return this['_requestsManager']['waitForAllRequests'](_0x3b838a);}['disconnect'](){this['state']!==Hk&&(this['_socket']?.['disconnect'](),this['_socket']=void 0x0,this['state']=Hk);}async['reconnect'](){this['_socket']||this['state']!==Hk||(await this['_token']['refreshToken'](),await this['_connect']());}static async['connect'](_0x522295,_0x481f2c='local.cs.dev:443/ws-v2',_0x55779f={},_0x3e4b4c=WI,_0x456544=pk['get']){const _0x11a6b6=new this(_0x481f2c,_0x522295,_0x55779f,_0x3e4b4c,_0x456544);return await _0x11a6b6['_connect'](),_0x11a6b6;}['_sendRequest'](_0x22b24b,_0x32920d,_0x1259e5){if(!_0x22b24b)throw new wk('`serviceName`\x20must\x20be\x20provided.',this);if(this['state']!==WebSocketGateway$1['STATE_CONNECTED'])throw new wk('Not\x20connected.',this);if(!this['_socketAuth']?.['isAuthenticated'])throw new wk('Not\x20authenticated.',this);const _0x5dabcd=new ArrayBuffer(_0x1259e5['length']+0x2),_0x249db4=new Uint8Array(_0x5dabcd);return _0x249db4[0x0]=_0x22b24b,_0x249db4[0x1]=parseInt(_0x32920d),_0x249db4['set'](_0x1259e5,0x2),this['_emit'](0x1,_0x249db4);}['_getChannel'](_0x89cd03,_0x3c5e52){const _0x13e3a6=''+_0x89cd03+_0x3c5e52;return!this['_channels']['has'](_0x13e3a6)&&this['_socket']&&this['_channels']['set'](_0x13e3a6,new Ok(_0x13e3a6,this,this['_socket'])),this['_channels']['get'](_0x13e3a6);}['_connect'](){return new Promise((_0x3052ed,_0x4caee1)=>{const _0x38b9a8=this['_setupSocket']();!this['socketId']&&_0x38b9a8['io']['on']('reconnect_error',()=>{this['_debugEvent']('reconnect_error'),this['_reconnectionAttemptError'](_0x4caee1);}),_0x38b9a8['once']('connect',async()=>{this['_debugEvent']('once-connect');try{await this['_onConnect'](),_0x3052ed();}catch(_0x473034){_0x4caee1(_0x473034);}}),_0x38b9a8['connect']();});}['_getPortByProtocol'](_0x3a5706){return['http:','ws:']['includes'](_0x3a5706)?0x50:0x1bb;}['_setupSocket'](){if(this['_socket'])return this['_socket'];const _0x2a5f31=this['_url']['port']||this['_getPortByProtocol'](this['_url']['protocol']),_0x4986dd=(this['_url']['protocol']||'https:')+'//'+this['_url']['hostname']+':'+_0x2a5f31,_0x4f51d0=this['_url']['pathname']['match'](/^\/.*\/ws/)?this['_url']['pathname']['split']('/ws')[0x0]:'',_0x31ceef=this['_connectionProvider'](_0x4986dd,{'parser':{'Encoder':jk,'Decoder':Uk},'path':_0x4f51d0+'/ws-v2/ws','transports':['websocket'],'timeout':void 0x0!==this['_options']['timeout']?this['_options']['timeout']:0x1388,'reconnection':void 0x0===this['_options']['autoReconnect']||this['_options']['autoReconnect'],'reconnectionDelay':0x3e8,'reconnectionDelayMax':0x1388,'rejectUnauthorized':void 0x0===this['_options']['rejectUnauthorized']||this['_options']['rejectUnauthorized'],'query':{'version':'54.2.6'},'agent':this['_options']['agent']??!0x1,'closeOnBeforeunload':!0x1});return this['state']=Zk,_0x31ceef['on']('connect',()=>{this['_debugEvent']('connect'),this['socketId']=_0x31ceef['id'];}),_0x31ceef['on']('connect_error',_0x18464a=>{this['_debugEvent']('connect_error',_0x18464a);}),_0x31ceef['on']('disconnect',()=>{this['_debugEvent']('disconnect'),this['_onDisconnect']();}),_0x31ceef['io']['on']('reconnect',async()=>{this['_debugEvent']('reconnect'),await this['_onReconnect']();}),_0x31ceef['io']['on']('reconnect_attempt',_0x145a14=>{this['_debugEvent']('reconnect_attempt',_0x145a14),this['state']=Zk,this['_connectionAttempt']=_0x145a14;}),_0x31ceef['on']('unauthorized',_0x585ec2=>{this['_debugEvent']('unauthorized'),this['_onUnauthorized'](_0x585ec2);}),_0x31ceef['on']('authenticationRequest',async _0xc0b006=>{this['_debugEvent']('authenticationRequest',_0xc0b006['attempt']),await this['_onReconnect']();}),this['_socket']=_0x31ceef,_0x31ceef;}['_emit'](_0x3d731d,_0x59e10a){const _0x59e430=this['_socket'];return this['_requestsManager']['send'](_0x2e5660=>{_0x59e430['emit'](_0x3d731d,_0x59e10a,(_0x1d16ed,_0x5cb280)=>{if(_0x1d16ed)return _0x2e5660['error'](bk['fromPublicError'](_0x1d16ed));_0x2e5660['response'](_0x5cb280);});},this['_options']['requestTimeout']);}['_addAuthData'](_0x32da38,_0x183641){this['_socketAuth']={'environmentId':_0x32da38,'userId':_0x183641,'isAuthenticated':!0x0};}['_removeAuthData'](){this['_socketAuth']=void 0x0;}async['_onConnect'](){await this['_authenticate'](this['_token']['value']),this['state']=Gk;const _0x45046e=async(_0x2339d5,_0x10d54b,_0x5d9434)=>{this['_debugEvent']('token:value:change');try{await this['_authenticate'](_0x5d9434);}catch{}};this['_token']['on']('change:value',_0x45046e),this['_socket']['io']['off']('reconnect_error'),this['on']('disconnect',()=>{this['_token']['off']('change:value',_0x45046e);});}async['_onReconnect'](){await this['_token']['refreshToken'](),await this['_onConnect']();}['_onDisconnect'](){this['state']=Hk,this['_connectionAttempt']=0x0,this['fire']('disconnect');for(const _0x26aa6d of this['_channels']['values']())_0x26aa6d['remove']();this['_channels']['clear'](),void 0x0===this['_options']['autoReconnect']||this['_options']['autoReconnect']||(this['_socket']=void 0x0);}['_debugEvent'](_0x202432,_0x3cc3c1){if(!this['_isDebugModeEnabled']())return;const _0xe498f6=void 0x0!==_0x3cc3c1?',\x20data:\x20'+_0x3cc3c1:'';console['info'](new Date()['toLocaleString']()+'\x20'+_0x202432+_0xe498f6);}['_reconnectionAttemptError'](_0x2b049f){this['_connectionAttempt']>=0x2&&(this['disconnect'](),_0x2b049f(wk['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:_0x6862d5}){this['_removeAuthData'](),this['fire']('error',bk['fromPublicError'](_0x6862d5));}async['_authenticate'](_0x345c21){try{this['_debugEvent']('authenticate:start');const _0x275ed6=await this['_emit'](0x2,{'token':_0x345c21});this['_debugEvent']('authenticate:success','envId:\x20'+_0x275ed6['environmentId']+',\x20userId:\x20'+_0x275ed6['userId']),this['_addAuthData'](_0x275ed6['environmentId'],_0x275ed6['userId']);}catch(_0x56e37d){throw this['_debugEvent']('authenticate:error',_0x56e37d['message']),this['_removeAuthData'](),_0x56e37d;}}['_isDebugModeEnabled'](){return!!_0x22955f['window']['localStorage']&&'true'===(_0x22955f['window']['localStorage']['getItem']('csClientDebugMode')??'false')['toLowerCase']();}},qk=class IsEditorBundleUploadedMessage extends rk{['bundleVersion'];static ['TYPE']='131';static ['READABLE_TYPE_NAME']='isEditorBundleUploaded';static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedMessage';static ['DESCRIPTOR']={'fields':{'bundleVersion':{'type':'string','id':0x1}}};constructor(_0x3ca693){super(),this['bundleVersion']=_0x3ca693;}['toJSON'](){return{'bundleVersion':this['bundleVersion']};}static['fromJSON'](_0x1ca3de){return new IsEditorBundleUploadedMessage(_0x1ca3de['bundleVersion']);}},Wk=class IsEditorBundleUploadedResponse extends rk{['isUploaded'];static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedResponse';static ['DESCRIPTOR']={'fields':{'isUploaded':{'type':'bool','id':0x1}}};constructor(_0x2c7bc4){super(),this['isUploaded']=_0x2c7bc4;}['toJSON'](){return{'isUploaded':this['isUploaded']};}static['fromJSON'](_0xa0fde6){return new IsEditorBundleUploadedResponse(_0xa0fde6['isUploaded']);}},zk=class EditorService extends _0x3cd689(){static ['_SERVICE']=0xd;static async['isBundleUploaded'](_0x35614f,_0x12665a){const _0x50eb3b=new qk(_0x12665a);if(_0x35614f['state']!==Gk)throw new wk('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x35614f);const _0x276410=await _0x35614f['_sendRequest'](EditorService['_SERVICE'],qk['TYPE'],lk['encode'](_0x50eb3b));return lk['decode'](_0x276410,Wk)['isUploaded'];}},Yk=class RevisionHistoryGetRevisionMessage extends rk{['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(_0x6b038b,_0xa203e3){super(),this['documentId']=_0x6b038b,this['revisionId']=_0xa203e3;}['toJSON'](){return{'documentId':this['documentId'],'revisionId':this['revisionId']};}static['fromJSON'](_0x1bf1ce){return new RevisionHistoryGetRevisionMessage(_0x1bf1ce['documentId'],_0x1bf1ce['revisionId']);}},Kk=class extends nk{static ['DESCRIPTOR_NAME']='RevisionDescriptor';static ['DESCRIPTOR']=((()=>({'fields':{'revisionId':{'type':'string','id':0x1},'name':{'type':'string','id':0x2},'creatorId':{'type':'string','id':0x3},'authorsIds':{'type':'string','id':0x4},'diffData':{'type':'string','id':0x5},'createdAt':{'type':'string','id':0x6},'attributes':{'type':'string','id':0x7},'toVersion':{'type':'uint32','id':0x8},'fromVersion':{'type':'uint32','id':0x9},'isEmptyCurrent':{'type':'bool','id':0xa}}}))());static['create'](_0x102dae){return{'revisionId':_0x102dae['id'],'name':_0x102dae['name'],'creatorId':_0x102dae['creatorId'],'createdAt':_0x102dae['createdAt'],'fromVersion':_0x102dae['fromVersion'],'toVersion':_0x102dae['toVersion'],'isEmptyCurrent':_0x102dae['isEmptyCurrent'],'diffData':_0x102dae['diffData']?JSON['stringify'](_0x102dae['diffData']):void 0x0,'attributes':_0x102dae['attributes'],'authorsIds':_0x102dae['authorsIds']};}static['toJSON'](_0x19bee5){return{'revisionId':_0x19bee5['revisionId'],'name':_0x19bee5['name'],'creatorId':_0x19bee5['creatorId'],'authorsIds':_0x19bee5['authorsIds']?JSON['stringify'](_0x19bee5['authorsIds']):void 0x0,'diffData':_0x19bee5['diffData'],'createdAt':_0x19bee5['createdAt']?.['toISOString'](),'attributes':_0x19bee5['attributes']?JSON['stringify'](_0x19bee5['attributes']):void 0x0,'toVersion':_0x19bee5['toVersion'],'fromVersion':_0x19bee5['fromVersion'],'isEmptyCurrent':_0x19bee5['isEmptyCurrent']};}static['fromJSON'](_0x2cce3e){return{'revisionId':(_0x2cce3e={..._0x2cce3e})['revisionId'],'name':_0x2cce3e['name'],'creatorId':_0x2cce3e['creatorId'],'authorsIds':_0x2cce3e['authorsIds']?JSON['parse'](_0x2cce3e['authorsIds']):void 0x0,'diffData':_0x2cce3e['diffData'],'createdAt':_0x2cce3e['createdAt']?new Date(_0x2cce3e['createdAt']):void 0x0,'attributes':_0x2cce3e['attributes']?JSON['parse'](_0x2cce3e['attributes']):void 0x0,'toVersion':_0x2cce3e['toVersion'],'fromVersion':_0x2cce3e['fromVersion'],'isEmptyCurrent':_0x2cce3e['isEmptyCurrent']};}static['toObject'](_0x1c62e1){return function(_0x32c6e9){for(const [_0x473301,_0x495398]of Object['entries'](_0x32c6e9))void 0x0===_0x495398&&delete _0x32c6e9[_0x473301];return _0x32c6e9;}({'id':_0x1c62e1['revisionId'],'name':_0x1c62e1['name'],'creatorId':_0x1c62e1['creatorId'],'createdAt':_0x1c62e1['createdAt'],'fromVersion':_0x1c62e1['fromVersion'],'toVersion':_0x1c62e1['toVersion'],'isEmptyCurrent':_0x1c62e1['isEmptyCurrent'],'diffData':_0x1c62e1['diffData']?JSON['parse'](_0x1c62e1['diffData']):void 0x0,'attributes':_0x1c62e1['attributes'],'authorsIds':_0x1c62e1['authorsIds']});}},Jk=class RevisionHistoryGetRevisionResponse extends rk{['revisionId'];['name'];['creatorId'];['authorsIds'];['createdAt'];['diffData'];['attributes'];['fromVersion'];['toVersion'];['isEmptyCurrent'];static ['DESCRIPTOR_NAME']='RevisionHistoryGetRevisionResponse';static ['DESCRIPTOR']=((()=>Kk['DESCRIPTOR'])());constructor(_0x11e480,_0x23ccca,_0x249b2c,_0x13fe6b,_0x28d2d4,_0x3f1989,_0x4e454d,_0x518e68,_0x3ba2e2,_0x4293fd){super(),this['revisionId']=_0x11e480,this['name']=_0x23ccca,this['creatorId']=_0x249b2c,this['authorsIds']=_0x13fe6b,this['createdAt']=_0x28d2d4,this['diffData']=_0x3f1989,this['attributes']=_0x4e454d,this['fromVersion']=_0x518e68,this['toVersion']=_0x3ba2e2,this['isEmptyCurrent']=_0x4293fd;}['toJSON'](){return Kk['toJSON'](this);}['toObject'](){return Kk['toObject'](this);}static['create'](_0x1c6b42){return new RevisionHistoryGetRevisionResponse(_0x1c6b42['revisionId'],_0x1c6b42['name'],_0x1c6b42['creatorId'],_0x1c6b42['authorsIds'],_0x1c6b42['createdAt'],_0x1c6b42['diffData'],_0x1c6b42['attributes'],_0x1c6b42['fromVersion'],_0x1c6b42['toVersion'],_0x1c6b42['isEmptyCurrent']);}static['fromJSON'](_0x1cbdaf){return new RevisionHistoryGetRevisionResponse(_0x1cbdaf['revisionId'],_0x1cbdaf['name'],_0x1cbdaf['creatorId'],_0x1cbdaf['authorsIds']?JSON['parse'](_0x1cbdaf['authorsIds']):void 0x0,_0x1cbdaf['createdAt']?new Date(_0x1cbdaf['createdAt']):void 0x0,_0x1cbdaf['diffData'],_0x1cbdaf['attributes']?JSON['parse'](_0x1cbdaf['attributes']):void 0x0,_0x1cbdaf['fromVersion'],_0x1cbdaf['toVersion'],_0x1cbdaf['isEmptyCurrent']);}},tx=class RevisionHistoryUpdateRevisionsMessage extends rk{['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(_0x29e53b,_0x107191,_0x56266b){super(),this['documentId']=_0x29e53b,this['requestId']=_0x107191,this['revisions']=_0x56266b;}['toJSON'](){return{'documentId':this['documentId'],'requestId':this['requestId'],'revisions':this['revisions']['map'](Kk['toJSON'])};}['toObject'](){return{'documentId':this['documentId'],'requestId':this['requestId'],'revisions':this['revisions']['map'](Kk['toObject'])};}static['create'](_0x156573){return new RevisionHistoryUpdateRevisionsMessage(_0x156573['documentId'],_0x156573['requestId'],_0x156573['revisions']['map'](Kk['create']));}static['fromJSON'](_0x4deaf4){return new RevisionHistoryUpdateRevisionsMessage(_0x4deaf4['documentId'],_0x4deaf4['requestId'],_0x4deaf4['revisions']['map'](Kk['fromJSON']));}},ex=class RevisionHistoryUpdateRevisionsResponse extends rk{['requestId'];static ['DESCRIPTOR_NAME']='RevisionHistoryUpdateRevisionsResponse';static ['DESCRIPTOR']={'fields':{'requestId':{'type':'uint32','id':0x1}}};constructor(_0x502f5b){super(),this['requestId']=_0x502f5b;}['toJSON'](){return{'requestId':this['requestId']};}static['fromJSON'](_0x533712){return new RevisionHistoryUpdateRevisionsResponse(_0x533712['requestId']);}},ix=class RevisionHistoryConnectMessage extends rk{['documentId'];static ['TYPE']='121';static ['READABLE_TYPE_NAME']='connectToRevisionHistory';static ['DESCRIPTOR_NAME']='RevisionHistoryConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x5af5e1){super(),this['documentId']=_0x5af5e1;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x326a67){return new RevisionHistoryConnectMessage(_0x326a67['documentId']);}},sx=class RevisionHistoryConnectResponse extends rk{['channel'];['requestId'];['revisions'];static ['DESCRIPTOR_NAME']='RevisionHistoryConnectResponse';static ['DESCRIPTOR']=((()=>({'fields':{'channel':{'type':'string','id':0x1},'requestId':{'type':'uint32','id':0x2},'revisions':{'type':'RevisionDescriptor','id':0x3,'rule':'repeated'}}}))());constructor(_0xece87e,_0x137862,_0x15f80f){super(),this['channel']=_0xece87e,this['requestId']=_0x137862,this['revisions']=_0x15f80f;}['toJSON'](){return{'channel':this['channel'],'requestId':this['requestId'],'revisions':this['revisions']['map'](Kk['toJSON'])};}['toObject'](){return{'channel':this['channel'],'requestId':this['requestId'],'revisions':this['revisions']['map'](Kk['toObject'])};}static['fromJSON'](_0x142622){return new RevisionHistoryConnectResponse(_0x142622['channel'],_0x142622['requestId'],_0x142622['revisions']['map'](Kk['fromJSON']));}},nx=class RevisionHistoryReconnectMessage extends rk{['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(_0x109159,_0x2fff46){super(),this['documentId']=_0x109159,this['requestId']=_0x2fff46;}['toJSON'](){return{'documentId':this['documentId'],'requestId':this['requestId']};}static['fromJSON'](_0x288731){return new RevisionHistoryReconnectMessage(_0x288731['documentId'],_0x288731['requestId']);}},rx=class ChannelDisconnectedMessage extends rk{static ['TYPE']='15';static ['READABLE_TYPE_NAME']='channelDisconnected';static ['DESCRIPTOR_NAME']='ChannelDisconnectedMessage';static ['DESCRIPTOR']={'fields':{}};['toJSON'](){return{};}static['fromJSON'](){return new ChannelDisconnectedMessage();}},ox=class extends wk{constructor(_0x1059f9,_0xe8ab79){super(_0x1059f9+'\x20Service\x20is\x20not\x20connected.',_0xe8ab79);}},ax=class RevisionHistoryService extends _0x3cd689(){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];static ['_SERVICE']=0xc;constructor(_0x494083){super(),this['_documentId']=_0x494083;}get['isConnected'](){return this['_isConnected'];}['connect'](_0x1c6d09){return this['_isConnected']?Promise['resolve']():this['_connect'](_0x1c6d09,new ix(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'](_0x2b97ef,_0x691d5b){if(this['isConnected'])throw new wk('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0x2b97ef);return this['_connect'](_0x2b97ef,new nx(this['_documentId'],_0x691d5b));}async['updateRevisions'](_0x2057a9,_0x29558d){const _0x4a1e23=tx['create']({'documentId':this['_documentId'],'requestId':_0x29558d,'revisions':_0x2057a9}),_0x1387f3=await this['_sendRequest'](tx['TYPE'],_0x4a1e23),{requestId:_0x32aaa9}=lk['decode'](_0x1387f3,ex);return _0x32aaa9;}async['getRevision'](_0x2a8a7a){const _0x53d6b5=new Yk(this['_documentId'],_0x2a8a7a),_0xb0b6c6=await this['_sendRequest'](Yk['TYPE'],_0x53d6b5);return lk['decode'](_0xb0b6c6,Jk)['toObject']();}async['_connect'](_0x3396d4,_0xdb1688){if(_0x3396d4['state']!==Gk)throw new wk('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x3396d4);this['_wsGateway']=_0x3396d4,this['stopListening'](_0x3396d4,'change:state');const _0x531fbb=await _0x3396d4['_sendRequest'](0xc,_0xdb1688['constructor']['TYPE'],lk['encode'](_0xdb1688)),{channel:_0x51801a,requestId:_0x20971a,revisions:_0x2b737a}=lk['decode'](_0x531fbb,sx)['toObject']();return this['listenTo'](_0x3396d4,'change:state',(_0x2bf0ca,_0x18a2e6,_0xb1693a)=>this['_onWsGatewayStateChange'](_0xb1693a),{'priority':Xk['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x3396d4,_0x51801a),this['_isConnected']=!0x0,this['fire']('connected'),{'revisions':_0x2b737a,'requestId':_0x20971a};}['_connectToChannel'](_0x2ea3f1,_0x5bc0ef){this['_channel']=_0x2ea3f1['_getChannel'](RevisionHistoryService['_SERVICE'],_0x5bc0ef),this['_channel']&&(this['listenTo'](this['_channel'],this['_channel']['getEventName'](tx['TYPE']),(_0x2f92d0,_0x57cb52)=>{const {documentId:_0x1c8c87,requestId:_0x1b2a4b,revisions:_0x3bf991}=lk['decode'](_0x57cb52,tx)['toObject']();this['fire']('revisionsUpdated',{'documentId':_0x1c8c87,'requestId':_0x1b2a4b,'revisionsData':_0x3bf991});}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](rx['TYPE']),()=>{this['disconnect']();}));}['_onWsGatewayStateChange'](_0x425ba9){_0x425ba9===Hk&&this['disconnect']();}['_sendRequest'](_0x448510,_0x1627e1){if(!this['_wsGateway']||!this['_isConnected'])throw new ox('Revision\x20History',this);return this['_wsGateway']['_sendRequest'](0xc,_0x448510,lk['encode'](_0x1627e1));}},cx=class AddSuggestionMessage extends rk{['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(_0x10adb0,_0x13c901,_0x1e1796,_0x27e346={},_0x52de82=null,_0xe69a9f=null){super(),this['id']=_0x10adb0,this['documentId']=_0x13c901,this['type']=_0x1e1796,this['data']=_0x27e346,this['originalSuggestionId']=_0x52de82,this['attributes']=_0xe69a9f;}['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'](_0x4af1d7){return new AddSuggestionMessage(_0x4af1d7['id'],_0x4af1d7['documentId'],_0x4af1d7['type'],JSON['parse'](_0x4af1d7['data']),_0x4af1d7['originalSuggestionId']??null,_0x4af1d7['attributes']?JSON['parse'](_0x4af1d7['attributes']):null);}},lx=class AddSuggestionResponse extends rk{['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(_0x2e8b2e,_0x596477,_0x15324b,_0x35b2b2,_0x53e1b5,_0x4a3ac9,_0x157744={},_0x113091=null){super(),this['id']=_0x2e8b2e,this['authorId']=_0x596477,this['type']=_0x15324b,this['hasComments']=_0x53e1b5,this['state']=_0x4a3ac9,this['data']=_0x157744,this['attributes']=_0x113091,this['createdAt']=_0x35b2b2?new Date(_0x35b2b2):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'](_0x37c3e7){return new AddSuggestionResponse(_0x37c3e7['id'],_0x37c3e7['authorId'],_0x37c3e7['type'],_0x37c3e7['createdAt'],_0x37c3e7['hasComments'],_0x37c3e7['state'],JSON['parse'](_0x37c3e7['data']),_0x37c3e7['attributes']?JSON['parse'](_0x37c3e7['attributes']):null);}},hx=class GetSuggestionMessage extends rk{['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(_0x5377d3,_0x1fcfea){super(),this['id']=_0x5377d3,this['documentId']=_0x1fcfea;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId']};}static['fromJSON'](_0x59e933){return new GetSuggestionMessage(_0x59e933['id'],_0x59e933['documentId']);}},ux=class GetSuggestionResponse extends rk{['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(_0x5ccb17,_0x440a5e,_0x12cd9c,_0x5bf714,_0x4bed4b,_0x3b0482,_0x4e28b1={},_0x55dd42=null){super(),this['id']=_0x5ccb17,this['authorId']=_0x440a5e,this['type']=_0x12cd9c,this['hasComments']=_0x4bed4b,this['state']=_0x3b0482,this['data']=_0x4e28b1,this['attributes']=_0x55dd42,this['createdAt']=new Date(_0x5bf714);}['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'](_0x128b5f){return new GetSuggestionResponse(_0x128b5f['id'],_0x128b5f['authorId'],_0x128b5f['type'],_0x128b5f['createdAt'],_0x128b5f['hasComments'],_0x128b5f['state'],JSON['parse'](_0x128b5f['data']),_0x128b5f['attributes']?JSON['parse'](_0x128b5f['attributes']):null);}},dx=class GetAllSuggestionsMessage extends rk{['documentId'];static ['TYPE']='102';static ['READABLE_TYPE_NAME']='getAllSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesGetAllSuggestionMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0xeb0fc1){super(),this['documentId']=_0xeb0fc1;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0xb685d0){return new GetAllSuggestionsMessage(_0xb685d0['documentId']);}},fx=class extends nk{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'](_0x687da1){return{..._0x687da1,'data':_0x687da1['data']?JSON['stringify'](_0x687da1['data']):_0x687da1['data'],'attributes':_0x687da1['attributes']?JSON['stringify'](_0x687da1['attributes']):_0x687da1['attributes'],'createdAt':_0x687da1['createdAt']?.['toISOString']()};}static['fromJSON'](_0x50f1f2){return{..._0x50f1f2,'data':_0x50f1f2['data']?JSON['parse'](_0x50f1f2['data']):_0x50f1f2['data'],'attributes':_0x50f1f2['attributes']?JSON['parse'](_0x50f1f2['attributes']):_0x50f1f2['attributes'],'createdAt':_0x50f1f2['createdAt']?new Date(_0x50f1f2['createdAt']):void 0x0};}},mx=class GetAllSuggestionResponse extends rk{['_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(_0x550588,_0x55cb62){super(),this['_suggestions']=_0x550588,this['_suggestionsV2']=_0x55cb62,this['suggestions']=_0x55cb62?.['length']?_0x55cb62:_0x550588;}['toJSON'](){return{'suggestions':this['_suggestions']?.['map'](_0xec6aba=>JSON['stringify'](_0xec6aba)),'suggestionsV2':this['_suggestionsV2']?.['map'](fx['toJSON'])};}static['fromJSON'](_0x1ebc32){return new GetAllSuggestionResponse(_0x1ebc32['suggestions']?.['map'](px),_0x1ebc32['suggestionsV2']?.['map'](fx['fromJSON']));}};function px(_0x2d441f){const _0x2f3593=JSON['parse'](_0x2d441f);return _0x2f3593['createdAt']=_0x2f3593['createdAt']?new Date(_0x2f3593['createdAt']):void 0x0,_0x2f3593;}var gx=class UpdateSuggestionMessage extends rk{['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(_0x177127,_0x1c2cb0,_0x2f7cbd,_0x370584,_0x1075bb,_0x8dd39b=null){super(),this['id']=_0x177127,this['documentId']=_0x1c2cb0,this['hasComments']=_0x2f7cbd,this['isHasCommentsModified']=_0x370584,this['state']=_0x1075bb,this['attributes']=_0x8dd39b;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId'],'hasComments':this['hasComments'],'isHasCommentsModified':this['isHasCommentsModified'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](_0xebb030){return new UpdateSuggestionMessage(_0xebb030['id'],_0xebb030['documentId'],_0xebb030['hasComments'],_0xebb030['isHasCommentsModified'],_0xebb030['state'],_0xebb030['attributes']?JSON['parse'](_0xebb030['attributes']):null);}};let Ox=class ConnectMessage extends rk{['documentId'];static ['TYPE']='105';static ['READABLE_TYPE_NAME']='connectToSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x3e2a51){super(),this['documentId']=_0x3e2a51;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x58427b){return new ConnectMessage(_0x58427b['documentId']);}},wx=class ConnectResponse extends rk{['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(_0x3ad55b,_0x451184,_0x572b72){super(),this['channel']=_0x3ad55b,this['_suggestions']=_0x451184,this['_suggestionsV2']=_0x572b72,this['suggestions']=_0x572b72?.['length']?_0x572b72:_0x451184;}['toJSON'](){return{'channel':this['channel'],'suggestions':this['_suggestions']?.['map'](_0x7dc854=>JSON['stringify'](_0x7dc854)),'suggestionsV2':this['_suggestionsV2']?.['map'](fx['toJSON'])};}static['fromJSON'](_0x39b1a9){return new ConnectResponse(_0x39b1a9['channel'],_0x39b1a9['suggestions']?.['map'](_0x1da5af=>JSON['parse'](_0x1da5af)),_0x39b1a9['suggestionsV2']?.['map'](fx['fromJSON']));}};var bx=class BatchUpdateSuggestionsStateMessage extends rk{['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(_0x5d00d7,_0x708c5b,_0x202027){super(),this['ids']=_0x5d00d7,this['documentId']=_0x708c5b,this['state']=_0x202027;}['toJSON'](){return{'ids':this['ids'],'documentId':this['documentId'],'state':this['state']};}static['fromJSON'](_0x1034ed){return new BatchUpdateSuggestionsStateMessage(_0x1034ed['ids'],_0x1034ed['documentId'],_0x1034ed['state']);}},yx=class TrackChangesService extends _0x3cd689(){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];static ['_SERVICE']=0xa;constructor(_0x53e99c){super(),this['_documentId']=_0x53e99c;}get['isConnected'](){return this['_isConnected'];}async['connect'](_0x3582ea){if(this['_isConnected'])return;if(_0x3582ea['state']!==Gk)throw new wk('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x3582ea);const _0x5379e7=new Ox(this['_documentId']);this['_wsGateway']=_0x3582ea,this['stopListening'](_0x3582ea,'change:state');const _0xbf86d4=await _0x3582ea['_sendRequest'](0xa,Ox['TYPE'],lk['encode'](_0x5379e7)),_0x10ab27=lk['decode'](_0xbf86d4,wx);return this['listenTo'](_0x3582ea,'change:state',(_0x4bde20,_0x13ae99,_0x59bed8)=>this['_onWsGatewayStateChange'](_0x59bed8),{'priority':Xk['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x3582ea,_0x10ab27['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0x10ab27['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'](_0x2cd256,_0x1643fb,_0x23c051,_0x482984=null,_0x44fe82){const _0x44fb4b=new cx(_0x2cd256,this['_documentId'],_0x1643fb,_0x23c051,_0x482984,_0x44fe82),_0x4c1660=await this['_sendRequest'](cx['TYPE'],_0x44fb4b);return lk['decode'](_0x4c1660,lx);}async['get'](_0x17b1f2,_0x3714e7=0x1){const _0x57dc4a=new hx(_0x17b1f2,this['_documentId']);try{const _0x1ee591=await this['_sendRequest'](hx['TYPE'],_0x57dc4a);return lk['decode'](_0x1ee591,ux);}catch(_0x35b962){if('CKEditorCloudServicesServerError'===_0x35b962['name']&&'404'===_0x35b962['code']&&_0x3714e7<0x5)return await(_0x2a0d90=0x64*_0x3714e7,new Promise(_0x58adf2=>{setTimeout(_0x58adf2,_0x2a0d90);})),this['get'](_0x17b1f2,_0x3714e7+0x1);if('CKEditorCloudServicesServerError'===_0x35b962['name'])throw _0x35b962;throw bk['fromPublicError'](_0x35b962);}var _0x2a0d90;}async['getAll'](){const _0x19f805=new dx(this['_documentId']),_0x4e2d61=await this['_sendRequest'](dx['TYPE'],_0x19f805),{suggestions:_0x5775d3}=lk['decode'](_0x4e2d61,mx);return _0x5775d3;}async['update'](_0x47f9ab,_0xcc3de4={}){const {hasComments:_0x14b069,state:_0x25e341,attributes:_0x1c2267}=_0xcc3de4,_0x342bbb=void 0x0!==_0x14b069,_0x422ff6=new gx(_0x47f9ab,this['_documentId'],_0x14b069,_0x342bbb,_0x25e341,_0x1c2267);await this['_sendRequest'](gx['TYPE'],_0x422ff6);}async['batchUpdateState'](_0x4ebda0){const _0x4f4729=new bx(_0x4ebda0['ids'],this['_documentId'],_0x4ebda0['state']);await this['_sendRequest'](bx['TYPE'],_0x4f4729);}['_connectToChannel'](_0x1cd92b,_0x55e2f9){this['_channel']=_0x1cd92b['_getChannel'](TrackChangesService['_SERVICE'],_0x55e2f9),this['_channel']&&(this['listenTo'](this['_channel'],this['_channel']['getEventName'](gx['TYPE']),(_0x470114,_0x969bf9)=>{const _0x38024f=lk['decode'](_0x969bf9,gx);this['fire']('suggestionUpdated',_0x38024f);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](rx['TYPE']),()=>{this['disconnect']();}));}['_onWsGatewayStateChange'](_0x2fffec){_0x2fffec===Hk&&this['disconnect']();}['_sendRequest'](_0x2203b7,_0x3e8138){if(!this['_wsGateway']||!this['_isConnected'])throw new ox('Track\x20Changes',this);return this['_wsGateway']['_sendRequest'](0xa,_0x2203b7,lk['encode'](_0x3e8138));}},vx=class SessionsConnectResponse extends rk{['channel'];['sockets'];static ['DESCRIPTOR_NAME']='SessionsConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'sockets':{'rule':'repeated','type':'SessionsSocketDescriptor','id':0x2}}};constructor(_0x4771be,_0x3611f5=[]){super(),this['channel']=_0x4771be,this['sockets']=_0x3611f5;}['toJSON'](){return{'channel':this['channel'],'sockets':this['sockets']['map'](_0x17e142=>({'user':_0x17e142['userId'],'session':_0x17e142['id'],'role':_0x17e142['role'],'permissions':_0x17e142['permissions']}))};}static['fromJSON'](_0x24cc02){return new SessionsConnectResponse(_0x24cc02['channel'],_0x24cc02['sockets']['map'](_0x49d9c3=>({'id':_0x49d9c3['session'],'userId':_0x49d9c3['user'],'role':_0x49d9c3['role'],'permissions':_0x49d9c3['permissions']})));}},_x=class SessionsConnectMessage extends rk{['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(_0xf5fa2b,_0x56d828){super(),this['id']=_0xf5fa2b,this['sessionType']=_0x56d828;}['toJSON'](){return{'id':this['id'],'sessionType':this['sessionType']};}static['fromJSON'](_0x5616f9){return new SessionsConnectMessage(_0x5616f9['id'],_0x5616f9['sessionType']);}},Ex=class SocketConnectMessage extends rk{['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(_0x408d4b,_0x1f6e68,_0x22aad2,_0x19d497){super(),this['id']=_0x408d4b,this['userId']=_0x1f6e68,this['role']=_0x22aad2,this['permissions']=_0x19d497;}['toJSON'](){return{'id':this['id'],'userId':this['userId']??void 0x0,'role':this['role']??void 0x0,'permissions':this['permissions']??void 0x0};}static['fromJSON'](_0x365f04){return new SocketConnectMessage(_0x365f04['id'],_0x365f04['userId'],_0x365f04['role'],_0x365f04['permissions']);}},Tx=class SocketDisconnectMessage extends rk{['id'];static ['TYPE']='33';static ['READABLE_TYPE_NAME']='disconnectSocket';static ['DESCRIPTOR_NAME']='SocketDisconnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x4fa68b){super(),this['id']=_0x4fa68b;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](_0x516c19){return new SocketDisconnectMessage(_0x516c19['id']);}},Ax=class extends _0x23ea50{['_id'];['_sessionType'];['_handlers']=new Map();['_channel'];['_wsGateway'];['_connected'];['_eventsQueue']=[];['_isRunning']=!0x1;constructor(_0x2aebb6,_0x5ce5f7){super({'idProperty':'id'}),this['_id']=_0x2aebb6,this['_sessionType']=_0x5ce5f7;}async['connect'](_0x271e88){this['_wsGateway']=_0x271e88,this['stopListening'](_0x271e88,'change:state');const _0x52cf4a=new _x(this['_id'],this['_sessionType']);let _0x44220e;try{const _0x8b3f5a=await this['_wsGateway']['_sendRequest'](0x3,_x['TYPE'],lk['encode'](_0x52cf4a));_0x44220e=lk['decode'](_0x8b3f5a,vx);}catch{_0x44220e=new vx(this['_id'],[]);}this['_connectToChannel'](this['_wsGateway'],_0x44220e['channel'],this['_sessionType']);const _0x43183e=await async function(_0x30d2d7,_0xafe794){const _0x3bb183=_0xafe794['map'](_0x5c217d=>_0x5c217d['userId']),_0x2bb6fe=_0x3bb183['length']?await pk['getMany'](_0x30d2d7,_0x3bb183):[];return _0xafe794['map'](_0x2b2880=>{const _0x361f0b={'id':_0x2b2880['id'],'role':_0x2b2880['role'],'permissions':_0x2b2880['permissions']};return _0x361f0b['user']=_0x2b2880['userId']&&_0x2bb6fe['find'](_0x4cb0a0=>_0x4cb0a0['id']===_0x2b2880['userId'])||new pk(),_0x361f0b;});}(this['_wsGateway'],_0x44220e['sockets']);for(const _0x148ade of _0x43183e)super['add'](_0x148ade);this['_connected']=!0x0,this['fire']('connected'),this['listenTo'](this['_wsGateway'],'change:state',(_0x4e2d5a,_0x5d618b,_0x19a51f)=>this['_onWsGatewayStateChange'](_0x19a51f),{'priority':Xk['_CHANGE_STATE_EVENT_PRIORITY']}),await this['_runQueue']();}['disconnect'](_0x36815a=!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']&&_0x36815a&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['fire']('disconnected'),_0x36815a&&this['stopListening']();}}['add'](_0x28608e,_0x4e2435){throw new TypeError('The\x20collection\x20is\x20read-only.');}['remove'](_0x14bb3a){throw new TypeError('The\x20collection\x20is\x20read-only.');}['_connectToChannel'](_0x4fe2ee,_0x16fbbc,_0x61e2ed){this['_channel']=_0x4fe2ee['_getChannel'](_0x61e2ed,_0x16fbbc),this['_channel']&&(this['_addHandler'](this['_channel'],Ex['TYPE'],async _0x32d27a=>{const _0x35ffdc=lk['decode'](_0x32d27a,Ex);if(-0x1===this['getIndex'](_0x35ffdc['id'])){const _0x11635e={'id':_0x35ffdc['id'],'role':_0x35ffdc['role'],'permissions':_0x35ffdc['permissions']};_0x35ffdc['userId']&&(_0x11635e['user']=await pk['get'](_0x4fe2ee,_0x35ffdc['userId'])),super['add'](_0x11635e);}}),this['_addHandler'](this['_channel'],Tx['TYPE'],_0x4c3952=>{const _0xf98d34=lk['decode'](_0x4c3952,Tx);-0x1!==this['getIndex'](_0xf98d34['id'])&&super['remove'](_0xf98d34['id']);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](rx['TYPE']),()=>{this['disconnect']();}));}async['_onWsGatewayStateChange'](_0x4973e2){_0x4973e2===Xk['STATE_DISCONNECTED']&&this['disconnect'](!0x1),_0x4973e2===Xk['STATE_CONNECTED']&&await this['connect'](this['_wsGateway']);}async['_runQueue'](){if(this['_isRunning']||!this['_connected'])return;let _0xa40530;for(this['_isRunning']=!0x0;_0xa40530=this['_eventsQueue']['shift']();){const _0x250a35=this['_handlers']['get'](_0xa40530['eventName']);_0x250a35&&await _0x250a35(_0xa40530['data']);}this['_isRunning']=!0x1;}['_addHandler'](_0x3c25f0,_0x381698,_0x461950){const _0x35e904=_0x3c25f0['getEventName'](_0x381698,!0x0);this['listenTo'](_0x3c25f0,_0x35e904,async(_0x1dda4e,_0x359006)=>{const _0x23aacf=_0x1dda4e['name'];this['_eventsQueue']['push']({'eventName':_0x23aacf,'data':_0x359006}),await this['_runQueue']();}),this['_handlers']['set'](_0x35e904,_0x461950);}},Sx=class{static async['getConnectedSessions'](_0x4629e7,_0x3d658a,_0x5bb0e6){const _0x240219=new Ax(_0x3d658a,_0x5bb0e6);return await _0x240219['connect'](_0x4629e7),_0x240219;}},Ix=class CollaborativeEditingConnectMessage extends rk{['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(_0x59a6d4,_0x27cbb1,_0x312545,_0x105154,_0x41b7a3=''){super(),this['id']=_0x59a6d4,this['buffers']=_0x27cbb1,this['types']=_0x312545,this['bundleVersion']=_0x105154,this['lastOperationId']=_0x41b7a3;}['toJSON'](){return{'id':this['id'],'buffers':this['buffers'],'types':this['types'],'bundleVersion':this['bundleVersion'],'lastOperationId':this['lastOperationId']};}static['fromJSON'](_0x5b840b){return new CollaborativeEditingConnectMessage(_0x5b840b['id'],_0x5b840b['buffers'],_0x5b840b['types'],_0x5b840b['bundleVersion'],_0x5b840b['lastOperationId']);}},kx=class{static['prepareMetadataForOperations'](_0x4d40d9,_0x18b6f2){if(!_0x4d40d9?.['length']||!_0x18b6f2?.['length'])return[];const _0x5bf892=[];let _0x475610=0x0;for(const _0x58f7e4 of _0x4d40d9)if(0x0!==_0x58f7e4){if(!_0x18b6f2[_0x475610])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0x5bf892['push'](_0x18b6f2[_0x475610]),_0x475610++;}else _0x5bf892['push'](_0x5bf892[_0x5bf892['length']-0x1]);return _0x5bf892;}static['removeUnnecessaryMetadata'](_0x3476d0,_0x2d0c11){if(!_0x3476d0?.['length']||!_0x2d0c11?.['length'])return[];const _0x3c2902=[];for(let _0x2910c6=0x0;_0x2910c6<_0x3476d0['length'];_0x2910c6++)if(0x0!==_0x3476d0[_0x2910c6]){if(!_0x2d0c11[_0x2910c6])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0x3c2902['push'](_0x2d0c11[_0x2910c6]);}return _0x3c2902;}},xx=class extends nk{static ['DESCRIPTOR_NAME']='OperationMetadataDescriptor';static ['DESCRIPTOR']=((()=>({'fields':{'userId':{'type':'string','id':0x1},'type':{'type':'string','id':0x2},'createdAt':{'type':'string','id':0x3}}}))());static['toJSON']({createdAt:_0x1628df,..._0x53a793}){const _0x5ce6bc={..._0x53a793};return _0x1628df?.['toISOString']&&(_0x5ce6bc['createdAt']=_0x1628df['toISOString']()),_0x5ce6bc;}static['fromJSON']({createdAt:_0x5a512c,..._0x1ee26e}){const _0x255925={..._0x1ee26e};return _0x5a512c&&(_0x255925['createdAt']=new Date(_0x5a512c)),_0x255925;}},Cx=class CollaborativeEditingUpdateMessage extends rk{['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(_0x56e49a,_0x1508d2,_0x220f77,_0x5ac3e0,_0x21ae85=[],_0x58d34f=''){super(),this['id']=_0x56e49a,this['buffers']=_0x1508d2,this['types']=_0x220f77,this['baseVersion']=_0x5ac3e0,this['metadata']=_0x21ae85,this['lastOperationId']=_0x58d34f;}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':kx['removeUnnecessaryMetadata'](this['types'],this['metadata'])['map'](xx['toJSON']),'lastOperationId':this['lastOperationId']};}static['fromJSON'](_0xa3f956){return new CollaborativeEditingUpdateMessage(_0xa3f956['id'],_0xa3f956['buffers'],_0xa3f956['types'],_0xa3f956['baseVersion'],kx['prepareMetadataForOperations'](_0xa3f956['types'],_0xa3f956['metadata'])['map'](xx['fromJSON']),_0xa3f956['lastOperationId']);}},Rx=class CollaborativeEditingReconnectMessage extends rk{['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(_0x2d0546,_0x524518,_0x13f37f){super(),this['id']=_0x2d0546,this['lastKnowVersion']=_0x524518,this['bundleVersion']=_0x13f37f;}['toJSON'](){return{'id':this['id'],'bundleVersion':this['bundleVersion'],'lastKnowVersion':this['lastKnowVersion']};}static['fromJSON'](_0x46251a){return new CollaborativeEditingReconnectMessage(_0x46251a['id'],_0x46251a['lastKnowVersion'],_0x46251a['bundleVersion']);}},Px=class CollaborativeEditingResponse extends rk{['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(_0x408191,_0x3dadd9=[],_0x1ac55d=[],_0x430c7e=[],_0x3038e3='',_0x125a11=null){super(),this['version']=_0x408191,this['buffers']=_0x3dadd9,this['types']=_0x1ac55d,this['metadata']=_0x430c7e,this['lastOperationId']=_0x3038e3,this['lastOperationAcceptedAt']=_0x125a11;}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':kx['removeUnnecessaryMetadata'](this['types'],this['metadata'])['map'](xx['toJSON']),'lastOperationId':this['lastOperationId'],'lastOperationAcceptedAt':this['lastOperationAcceptedAt']instanceof Date?this['lastOperationAcceptedAt']['toISOString']():this['lastOperationAcceptedAt']};}static['fromJSON'](_0x1cffc4){return new CollaborativeEditingResponse(_0x1cffc4['version'],_0x1cffc4['buffers'],_0x1cffc4['types'],kx['prepareMetadataForOperations'](_0x1cffc4['types'],_0x1cffc4['metadata'])['map'](xx['fromJSON']),_0x1cffc4['lastOperationId'],_0x1cffc4['lastOperationAcceptedAt']?new Date(_0x1cffc4['lastOperationAcceptedAt']):null);}static['create'](_0x33fec7){return new CollaborativeEditingResponse(_0x33fec7['version'],_0x33fec7['buffers'],_0x33fec7['types'],_0x33fec7['metadata'],_0x33fec7['lastOperationId'],_0x33fec7['lastOperationAcceptedAt']?new Date(_0x33fec7['lastOperationAcceptedAt']):null);}},Mx=class CollaborativeEditingConnectResponse extends rk{['channel'];['version'];['buffers'];['types'];['offset'];['metadata'];['initData'];['sessionId'];['lastOperationId'];['sessionCreatedAt'];static ['DESCRIPTOR_NAME']='CollaborativeEditingConnectResponse';static ['DESCRIPTOR']=((()=>({'fields':{'channel':{'type':'string','id':0x1},'offset':{'type':'uint32','id':0x2},'version':{'type':'uint32','id':0x3},'buffers':{'rule':'repeated','type':'bytes','id':0x4},'types':{'rule':'repeated','type':'uint32','id':0x5},'metadata':{'rule':'repeated','type':xx['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(_0x36009d,_0x479831,_0x237793=[],_0x562ee8=[],_0x21745c=0x0,_0x140872=[],_0x38d1e4=null,_0x28c10c='',_0x2625b9='',_0xbe2161=null){super(),this['channel']=_0x36009d,this['version']=_0x479831,this['buffers']=_0x237793,this['types']=_0x562ee8,this['offset']=_0x21745c,this['metadata']=_0x140872,this['initData']=_0x38d1e4,this['sessionId']=_0x28c10c,this['lastOperationId']=_0x2625b9,this['sessionCreatedAt']=_0xbe2161;}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':kx['removeUnnecessaryMetadata'](this['types'],this['metadata'])['map'](xx['toJSON']),'initData':this['initData']??'','isInitialized':'string'==typeof this['initData'],'lastOperationId':this['lastOperationId'],'sessionCreatedAt':this['sessionCreatedAt']?this['sessionCreatedAt']['toISOString']():null};}static['create'](_0xf95476){return new CollaborativeEditingConnectResponse(_0xf95476['channel'],_0xf95476['version'],_0xf95476['buffers'],_0xf95476['types'],_0xf95476['offset'],_0xf95476['metadata'],_0xf95476['initData'],_0xf95476['sessionId'],_0xf95476['lastOperationId'],_0xf95476['sessionCreatedAt']);}static['fromJSON'](_0x38a453){let _0xf6aec2=null;return!0x0===_0x38a453['isInitialized']?_0xf6aec2=_0x38a453['initData']??'':'boolean'!=typeof _0x38a453['isInitialized']&&_0x38a453['initData']&&(_0xf6aec2=_0x38a453['initData']),CollaborativeEditingConnectResponse['create']({'channel':_0x38a453['channel'],'version':_0x38a453['version'],'buffers':_0x38a453['buffers'],'types':_0x38a453['types'],'offset':_0x38a453['offset'],'metadata':kx['prepareMetadataForOperations'](_0x38a453['types'],_0x38a453['metadata'])['map'](xx['fromJSON']),'initData':_0xf6aec2,'sessionId':_0x38a453['sessionId'],'lastOperationId':_0x38a453['lastOperationId'],'sessionCreatedAt':_0x38a453['sessionCreatedAt']?new Date(_0x38a453['sessionCreatedAt']):null});}},Nx=class GetDocumentDetailsResponse extends rk{['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(_0x31bd66,_0x22d04d){super(),this['lastDocumentSession']=_0x31bd66,this['currentDocumentSession']=_0x22d04d;}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'](_0x29853b){return new GetDocumentDetailsResponse(_0x29853b['lastDocumentSessionId']?{'id':_0x29853b['lastDocumentSessionId'],'lastOperationId':_0x29853b['lastDocumentSessionOperationId']}:void 0x0,_0x29853b['currentDocumentSessionId']?{'lastOperationId':_0x29853b['currentDocumentSessionOperationId'],'version':_0x29853b['currentDocumentSessionVersion'],'id':_0x29853b['currentDocumentSessionId']}:void 0x0);}},Lx=class GetDocumentDetailsMessage extends rk{['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(_0x2f04ce){super(),this['documentId']=_0x2f04ce;}get['data'](){return{'documentId':this['documentId']};}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x2aac94){return new GetDocumentDetailsMessage(_0x2aac94['documentId']);}},$x=class extends _0x3cd689(){static ['_SERVICE']=0x1;['_bundleVersion'];['_id'];['_isConnected'];['_wsGateway'];['_channel'];['_connectedSessions'];constructor(_0x97c77f,_0x4ca224){if(super(),!_0x97c77f)throw new TypeError('Param\x20\x22bundleVersion\x22\x20must\x20be\x20provided.');this['_id']=_0x4ca224??ek(),this['_isConnected']=!0x1,this['_bundleVersion']=_0x97c77f;}['getId'](){return this['_id'];}['isConnected'](){return this['_isConnected'];}['connect'](_0x57b90f,_0x48e6eb={'buffers':[],'types':[]},_0x2524af){const _0x45873b=new Ix(this['getId'](),_0x48e6eb['buffers'],_0x48e6eb['types'],this['_bundleVersion'],_0x2524af);return this['_connect'](_0x57b90f,_0x45873b);}['reconnect'](_0x4f81c8,_0x518b16){if(this['isConnected']())throw new wk('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0x4f81c8);return this['_connect'](_0x4f81c8,new Rx(this['getId'](),_0x518b16,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 _0x54eef5=new Lx(this['getId']());if(!this['_wsGateway'])throw new ox('Collaborative\x20Editing',this);const _0x1dca1c=await this['_wsGateway']['_sendRequest'](0x1,Lx['TYPE'],lk['encode'](_0x54eef5));return lk['decode'](_0x1dca1c,Nx);}async['sendOperations'](_0x3a761e,_0x295442,_0x1e3492){if(!_0x3a761e?.['types']?.['length'])throw new wk('Cannot\x20send\x20empty\x20update.',this['_wsGateway']);const _0x580d99='number'==typeof _0x295442?_0x295442:parseInt(_0x295442);if(!Number['isInteger'](_0x580d99)||_0x580d99<0x0)throw new wk('Base\x20version\x20not\x20provided.',this['_wsGateway']);const _0x8ed8a0=new Cx(this['getId'](),_0x3a761e['buffers'],_0x3a761e['types'],_0x580d99,[],_0x1e3492);if(!this['_wsGateway']||!this['_isConnected'])throw new ox('Collaborative\x20Editing',this);const _0x108f85=await this['_wsGateway']['_sendRequest'](0x1,Cx['TYPE'],lk['encode'](_0x8ed8a0));return lk['decode'](_0x108f85,Px);}async['getConnectedSessions'](){if(!this['_isConnected'])throw new ox('Collaborative\x20Editing',this);return this['_connectedSessions']??=await Sx['getConnectedSessions'](this['_wsGateway'],this['_id'],0x1),this['_connectedSessions'];}static['getConnectedSessions'](_0x18e733,_0x2e9b01){return Sx['getConnectedSessions'](_0x18e733,_0x2e9b01,0x1);}async['_connect'](_0x2d1fa5,_0x47f39a){if(this['isConnected']())return;if(_0x2d1fa5['state']!==Xk['STATE_CONNECTED'])throw new wk('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x2d1fa5);this['_wsGateway']=_0x2d1fa5,this['stopListening'](_0x2d1fa5,'change:state');const _0x56dc74=await _0x2d1fa5['_sendRequest'](0x1,_0x47f39a['constructor']['TYPE'],lk['encode'](_0x47f39a)),_0x26d06a=lk['decode'](_0x56dc74,Mx);return this['listenTo'](_0x2d1fa5,'change:state',(_0x29404c,_0x228f8e,_0xfcf9cb)=>this['_onWsGatewayStateChange'](_0xfcf9cb),{'priority':Xk['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x2d1fa5,_0x26d06a['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0x26d06a;}['_connectToChannel'](_0x14e79a,_0x9ab1ef){this['_channel']=_0x14e79a['_getChannel'](0x1,_0x9ab1ef),this['listenTo'](this['_channel'],this['_channel']['getEventName'](Cx['TYPE']),(_0x24e84e,_0x36d6ed)=>{const _0x3d8186=lk['decode'](_0x36d6ed,Cx);this['fire']('operationsReceived',_0x3d8186['baseVersion'],_0x3d8186['data'],_0x3d8186['metadata']);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](rx['TYPE']),()=>{this['disconnect']();});}['_onWsGatewayStateChange'](_0x5c37ce){_0x5c37ce===Xk['STATE_DISCONNECTED']&&this['disconnect']();}},Dx=class extends nk{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'](_0x18e728){return{..._0x18e728,'createdAt':_0x18e728['createdAt']?.['toISOString'](),'attributes':_0x18e728['attributes']?JSON['stringify'](_0x18e728['attributes']):null};}static['fromJSON'](_0x4725d9){return{..._0x4725d9,'createdAt':new Date(_0x4725d9['createdAt']),'attributes':_0x4725d9['attributes']?JSON['parse'](_0x4725d9['attributes']):null};}},Qx=class extends nk{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'](_0x5bfead){return{..._0x5bfead,'createdAt':_0x5bfead['createdAt']?.['toISOString'](),'deletedAt':_0x5bfead['deletedAt']?.['toISOString'](),'resolvedAt':_0x5bfead['resolvedAt']?.['toISOString'](),'attributes':_0x5bfead['attributes']?JSON['stringify'](_0x5bfead['attributes']):null,'context':_0x5bfead['context']?JSON['stringify'](_0x5bfead['context']):_0x5bfead['context'],'comments':_0x5bfead['comments']?.['map'](Dx['toJSON']),'unlinkedAt':_0x5bfead['unlinkedAt']?.['toISOString']()};}static['fromJSON'](_0x21191e){return{..._0x21191e,'createdAt':_0x21191e['createdAt']?new Date(_0x21191e['createdAt']):void 0x0,'deletedAt':_0x21191e['deletedAt']?new Date(_0x21191e['deletedAt']):void 0x0,'resolvedAt':_0x21191e['resolvedAt']?new Date(_0x21191e['resolvedAt']):void 0x0,'attributes':_0x21191e['attributes']?JSON['parse'](_0x21191e['attributes']):null,'context':_0x21191e['context']?JSON['parse'](_0x21191e['context']):void 0x0,'comments':_0x21191e['comments']?.['map'](Dx['fromJSON']),'unlinkedAt':_0x21191e['unlinkedAt']?new Date(_0x21191e['unlinkedAt']):void 0x0};}},jx=class AddCommentMessage extends rk{['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(_0x26877c,_0x13987d,_0x13581f,_0x169c7='',_0x5a5b8d,_0x3ff32e='',_0x113bde=null,_0x44d64e){super(),this['documentId']=_0x26877c,this['commentThreadId']=_0x13987d,this['content']=_0x13581f,this['commentId']=_0x169c7,this['userId']=_0x3ff32e,this['attributes']=_0x113bde,this['commentThread']=_0x44d64e,this['createdAt']=_0x5a5b8d?new Date(_0x5a5b8d):'';}['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']?Qx['toJSON'](this['commentThread']):void 0x0};}static['fromJSON'](_0x152f3a){return new AddCommentMessage(_0x152f3a['documentId'],_0x152f3a['commentThreadId'],_0x152f3a['content'],_0x152f3a['commentId']?_0x152f3a['commentId']:void 0x0,_0x152f3a['createdAt']?new Date(_0x152f3a['createdAt']):void 0x0,_0x152f3a['userId']?_0x152f3a['userId']:void 0x0,_0x152f3a['attributes']?JSON['parse'](_0x152f3a['attributes']):{},_0x152f3a['commentThread']?Qx['fromJSON'](_0x152f3a['commentThread']):void 0x0);}},Ux=class AddCommentResponse extends rk{['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(_0x5f1002,_0x442386,_0x72a286){super(),this['commentThreadId']=_0x5f1002,this['commentId']=_0x442386,this['createdAt']=new Date(_0x72a286);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'commentId':this['commentId'],'createdAt':this['createdAt']['toISOString']()};}static['fromJSON'](_0x54da7d){return new AddCommentResponse(_0x54da7d['commentThreadId'],_0x54da7d['commentId'],_0x54da7d['createdAt']);}},Vx=class ConnectMessage extends rk{['documentId'];static ['TYPE']='92';static ['READABLE_TYPE_NAME']='connectToComment';static ['DESCRIPTOR_NAME']='CommentsV2ConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x5ed66a){super(),this['documentId']=_0x5ed66a;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x51e51c){return new ConnectMessage(_0x51e51c['documentId']);}},Bx=class ConnectResponse extends rk{['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(_0x10972c,_0x1b272f,_0x184c0a){super(),this['channel']=_0x10972c,this['_threads']=_0x1b272f,this['_threadsV2']=_0x184c0a,this['threads']=_0x184c0a?.['length']?_0x184c0a:_0x1b272f;}['toJSON'](){return{'channel':this['channel'],'threads':this['_threads']?.['map'](_0x46c5ee=>JSON['stringify'](_0x46c5ee)),'threadsV2':this['_threadsV2']?.['map'](Qx['toJSON'])};}static['fromJSON'](_0x3fc130){return new ConnectResponse(_0x3fc130['channel'],_0x3fc130['threads']?.['map'](_0xfab310=>JSON['parse'](_0xfab310)),_0x3fc130['threadsV2']?.['map'](Qx['fromJSON']));}},Fx=class RemoveCommentMessage extends rk{['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(_0x1d654e,_0x457763,_0x42dcf0){super(),this['documentId']=_0x1d654e,this['commentThreadId']=_0x457763,this['commentId']=_0x42dcf0;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'commentId':this['commentId']};}static['fromJSON'](_0x3029a3){return new RemoveCommentMessage(_0x3029a3['documentId'],_0x3029a3['commentThreadId'],_0x3029a3['commentId']);}},Hx=class RemoveCommentThreadMessage extends rk{['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(_0x1f9eb0,_0x54a872){super(),this['documentId']=_0x1f9eb0,this['commentThreadId']=_0x54a872;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0x691544){return new RemoveCommentThreadMessage(_0x691544['documentId'],_0x691544['commentThreadId']);}},Zx=class UpdateCommentMessage extends rk{['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(_0x2c76e5,_0x1821c8,_0x189dcf,_0x3b0ca5,_0x2a418e=null,_0x1a6b0c=!0x1,_0x2d9350){super(),this['documentId']=_0x2c76e5,this['commentThreadId']=_0x1821c8,this['commentId']=_0x189dcf,this['content']=_0x3b0ca5,this['attributes']=_0x2a418e,this['isAttributesUpdated']=_0x1a6b0c,this['commentThread']=_0x2d9350;}['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']?Qx['toJSON'](this['commentThread']):void 0x0};}static['fromJSON'](_0x3c739b){return new UpdateCommentMessage(_0x3c739b['documentId'],_0x3c739b['commentThreadId'],_0x3c739b['commentId'],_0x3c739b['content'],_0x3c739b['attributes']?JSON['parse'](_0x3c739b['attributes']):null,_0x3c739b['isAttributesUpdated'],_0x3c739b['commentThread']?Qx['fromJSON'](_0x3c739b['commentThread']):void 0x0);}},Gx=class GetCommentThreadMessage extends rk{['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(_0x334b6a,_0x3c4cc3){super(),this['commentThreadId']=_0x334b6a,this['documentId']=_0x3c4cc3;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId']};}static['fromJSON'](_0x168a9b){return new GetCommentThreadMessage(_0x168a9b['commentThreadId'],_0x168a9b['documentId']);}},Xx=class GetCommentThreadResponse extends rk{['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(_0x221f54,_0x4ba9ad,_0x5d38e3,_0x5c764f,_0x2c6b97,_0x25f1e9,_0x36b137,_0x3c9c21,_0x15998b,_0x510ce6){super(),this['commentThreadId']=_0x221f54,this['_comments']=_0x4ba9ad,this['_commentsV2']=_0x5d38e3,this['resolvedBy']=_0x2c6b97,this['comments']=_0x5d38e3?.['length']?_0x5d38e3:_0x4ba9ad,this['createdAt']=_0x36b137?new Date(_0x36b137):void 0x0,this['deletedAt']='string'==typeof _0x3c9c21?new Date(_0x3c9c21):_0x3c9c21,this['resolvedAt']='string'==typeof _0x15998b?new Date(_0x15998b):_0x15998b,this['unlinkedAt']='string'==typeof _0x510ce6?new Date(_0x510ce6):_0x510ce6,this['attributes']='string'==typeof _0x5c764f?JSON['parse'](_0x5c764f):_0x5c764f,this['context']='string'==typeof _0x25f1e9?JSON['parse'](_0x25f1e9):_0x25f1e9;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'comments':this['_comments']?.['map'](_0x20ca73=>JSON['stringify'](_0x20ca73)),'commentsV2':this['_commentsV2']?.['map'](Dx['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'](_0x27cc07){return new GetCommentThreadResponse(_0x27cc07['commentThreadId'],_0x27cc07['comments']?.['map'](_0x35fb14=>function(_0x2533b6){const _0x183f6c=JSON['parse'](_0x2533b6);return{..._0x183f6c,'createdAt':new Date(_0x183f6c['createdAt'])};}(_0x35fb14)),_0x27cc07['commentsV2']?.['map'](Dx['fromJSON']),_0x27cc07['attributes']?JSON['parse'](_0x27cc07['attributes']):_0x27cc07['attributes'],_0x27cc07['resolvedBy'],_0x27cc07['context']?JSON['parse'](_0x27cc07['context']):_0x27cc07['context'],_0x27cc07['createdAt'],_0x27cc07['deletedAt'],_0x27cc07['resolvedAt'],_0x27cc07['unlinkedAt']);}},qx=class GetDocumentThreadsMessage extends rk{['documentId'];static ['TYPE']='94';static ['READABLE_TYPE_NAME']='getDocumentThreads';static ['DESCRIPTOR_NAME']='CommentsV2GetDocumentThreadsMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x57ef58){super(),this['documentId']=_0x57ef58;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x5a32de){return new GetDocumentThreadsMessage(_0x5a32de['documentId']);}},Wx=class GetDocumentThreadsResponse extends rk{['_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(_0x20d2a8,_0x1033fa){super(),this['_threads']=_0x20d2a8,this['_threadsV2']=_0x1033fa,this['threads']=_0x1033fa?.['length']?_0x1033fa:_0x20d2a8;}['toJSON'](){return{'threads':this['_threads']?.['map'](_0x28327b=>JSON['stringify'](_0x28327b)),'threadsV2':this['_threadsV2']?.['map'](Qx['toJSON'])};}static['fromJSON'](_0x578cbe){return new GetDocumentThreadsResponse(_0x578cbe['threads']?.['map'](_0x46b54a=>function(_0x203ec2){const _0x369301=JSON['parse'](_0x203ec2),_0x1c0769={..._0x369301};return _0x369301['comments']&&(_0x1c0769['comments']=_0x369301['comments']?.['map'](_0x52f416=>({..._0x52f416,'createdAt':new Date(_0x52f416['createdAt'])}))),_0x1c0769;}(_0x46b54a)),_0x578cbe['threadsV2']?.['map'](Qx['fromJSON']));}},zx=class extends nk{static ['DESCRIPTOR_NAME']='CommentThreadAddedCommentDescriptor';static ['DESCRIPTOR']={'fields':{'commentId':{'id':0x1,'type':'string'},'createdAt':{'id':0x2,'type':'string'}}};static['toJSON'](_0x1c717f){return{'commentId':_0x1c717f['commentId'],'createdAt':_0x1c717f['createdAt']?.['toISOString']()};}static['fromJSON'](_0x138089){return{'commentId':_0x138089['commentId'],'createdAt':new Date(_0x138089['createdAt'])};}},Yx=class AddCommentThreadResponse extends rk{['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(_0x4aa619,_0x1b2151,_0x36a751=[]){super(),this['commentThreadId']=_0x4aa619,this['comments']=_0x36a751,this['createdAt']=new Date(_0x1b2151);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'createdAt':this['createdAt']['toISOString'](),'comments':this['comments']['map'](_0x305e77=>zx['toJSON'](_0x305e77))};}static['fromJSON'](_0x508b87){return new AddCommentThreadResponse(_0x508b87['commentThreadId'],_0x508b87['createdAt'],_0x508b87['comments']['map'](_0x3d4900=>zx['fromJSON'](_0x3d4900)));}},Kx=class AddCommentThreadMessage extends rk{['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(_0x5c7747,_0x590421,_0x2cd9ef=[],_0x2d1e9d,_0x3c642b=null,_0x31a7a3=null,_0x1f0b1f=null,_0x15d8b7=null,_0x1d0c8c=null){super(),this['documentId']=_0x5c7747,this['commentThreadId']=_0x590421,this['comments']=_0x2cd9ef,this['context']=_0x2d1e9d,this['resolvedBy']=_0x3c642b,this['attributes']=_0x1d0c8c,this['createdAt']=_0x31a7a3?new Date(_0x31a7a3):'',this['resolvedAt']=_0x1f0b1f?new Date(_0x1f0b1f):'',this['deletedAt']=_0x15d8b7?new Date(_0x15d8b7):'';}['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'](_0x238dfc=>Dx['toJSON'](_0x238dfc))};}static['fromJSON'](_0x5d2292){return new AddCommentThreadMessage(_0x5d2292['documentId'],_0x5d2292['commentThreadId'],_0x5d2292['comments']?.['map'](_0x41c7d0=>Dx['fromJSON']({..._0x41c7d0,'documentId':_0x5d2292['documentId'],'commentThreadId':_0x5d2292['commentThreadId']})),_0x5d2292['context']?JSON['parse'](_0x5d2292['context']):_0x5d2292['context'],_0x5d2292['resolvedBy'],_0x5d2292['createdAt']?new Date(_0x5d2292['createdAt']):void 0x0,_0x5d2292['resolvedAt']?new Date(_0x5d2292['resolvedAt']):void 0x0,_0x5d2292['deletedAt']?new Date(_0x5d2292['deletedAt']):void 0x0,_0x5d2292['attributes']?JSON['parse'](_0x5d2292['attributes']):_0x5d2292['attributes']);}},Jx=class ResolveCommentThreadMessage extends rk{['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(_0x5a5c48,_0x2a3da0,_0x899b1f,_0x5c0a4a){super(),this['commentThreadId']=_0x5a5c48,this['documentId']=_0x2a3da0,this['resolvedBy']=_0x899b1f,this['resolvedAt']=_0x5c0a4a?new Date(_0x5c0a4a):void 0x0;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']?.['toISOString']()};}static['fromJSON'](_0x758492){return new ResolveCommentThreadMessage(_0x758492['commentThreadId'],_0x758492['documentId'],_0x758492['resolvedBy'],_0x758492['resolvedAt']);}},tC=class ReopenCommentThreadMessage extends rk{['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(_0x5c244d,_0x37c327){super(),this['commentThreadId']=_0x5c244d,this['documentId']=_0x37c327;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0x4150f4){return new ReopenCommentThreadMessage(_0x4150f4['commentThreadId'],_0x4150f4['documentId']);}},eC=class UpdateCommentThreadMessage extends rk{['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(_0x4ad433,_0x11af66,_0x4e0065,_0x59d8a2=null,_0x597ca0=null){super(),this['commentThreadId']=_0x4ad433,this['documentId']=_0x11af66,this['context']=_0x4e0065,this['attributes']=_0x59d8a2,this['unlinkedAt']=_0x597ca0?new Date(_0x597ca0):'';}['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'](_0x4be821){return new UpdateCommentThreadMessage(_0x4be821['commentThreadId'],_0x4be821['documentId'],_0x4be821['context']?JSON['parse'](_0x4be821['context']):_0x4be821['context'],_0x4be821['attributes']?JSON['parse'](_0x4be821['attributes']):null,_0x4be821['unlinkedAt']?new Date(_0x4be821['unlinkedAt']):null);}},iC=class ResolveCommentThreadResponse extends rk{['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(_0x369fc8,_0x2b353b,_0x3f6648,_0x2b7dff){super(),this['commentThreadId']=_0x369fc8,this['documentId']=_0x2b353b,this['resolvedBy']=_0x3f6648,this['resolvedAt']=new Date(_0x2b7dff);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']['toISOString']()};}static['fromJSON'](_0x5ac539){return new ResolveCommentThreadResponse(_0x5ac539['commentThreadId'],_0x5ac539['documentId'],_0x5ac539['resolvedBy'],_0x5ac539['resolvedAt']);}},sC=class CommentsService extends _0x3cd689(){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];['_connectedSessions'];static ['_SERVICE']=0x9;constructor(_0x502d33){super(),this['_documentId']=_0x502d33;}get['isConnected'](){return this['_isConnected'];}async['connect'](_0x9f1b8f){if(this['_isConnected'])return;if(_0x9f1b8f['state']!==Gk)throw new wk('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x9f1b8f);const _0x199d1f=new Vx(this['_documentId']);this['_wsGateway']=_0x9f1b8f,this['stopListening'](_0x9f1b8f,'change:state');const _0x59c7ba=await _0x9f1b8f['_sendRequest'](0x9,Vx['TYPE'],lk['encode'](_0x199d1f)),{channel:_0x58be62,threads:_0x272bfc}=lk['decode'](_0x59c7ba,Bx);return this['listenTo'](_0x9f1b8f,'change:state',(_0x120e52,_0x2549ad,_0x3b2985)=>this['_onWsGatewayStateChange'](_0x3b2985),{'priority':Xk['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x9f1b8f,_0x58be62),this['_isConnected']=!0x0,this['fire']('connected'),_0x272bfc;}['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'](_0x8978ee,_0xc1acf5,_0x2e3f59,_0xb7b4e5){const _0xf8c1c7=new jx(this['_documentId'],_0x8978ee,_0x2e3f59,_0xc1acf5,void 0x0,void 0x0,_0xb7b4e5),_0x4692cf=await this['_sendRequest'](jx['TYPE'],_0xf8c1c7);return lk['decode'](_0x4692cf,Ux);}async['updateComment'](_0x163750,_0x3eb2bd,_0x4ed449,_0x4efd68){const _0x469c97=void 0x0!==_0x4efd68,_0x3541f9=new Zx(this['_documentId'],_0x163750,_0x3eb2bd,_0x4ed449,_0x4efd68,_0x469c97);await this['_sendRequest'](Zx['TYPE'],_0x3541f9);}async['removeComment'](_0x596304,_0x16501a){const _0x230d95=new Fx(this['_documentId'],_0x596304,_0x16501a);await this['_sendRequest'](Fx['TYPE'],_0x230d95);}async['removeCommentThread'](_0x4017c0){const _0x1cab0b=new Hx(this['_documentId'],_0x4017c0);await this['_sendRequest'](Hx['TYPE'],_0x1cab0b);}async['addCommentThread'](_0x640348){const _0x14a7de=new Kx(this['_documentId'],_0x640348['commentThreadId'],_0x640348['comments']?.['map'](_0x51ed99=>({..._0x51ed99,'documentId':this['_documentId'],'commentThreadId':_0x640348['commentThreadId']})),_0x640348['context'],_0x640348['resolvedBy'],_0x640348['createdAt'],_0x640348['resolvedAt'],_0x640348['deletedAt'],_0x640348['attributes']),_0x6cae29=await this['_sendRequest'](Kx['TYPE'],_0x14a7de);return lk['decode'](_0x6cae29,Yx);}async['resolveCommentThread'](_0xae3702){const _0x5385ef=new Jx(_0xae3702,this['_documentId']),_0xf87749=await this['_sendRequest'](Jx['TYPE'],_0x5385ef);return lk['decode'](_0xf87749,iC);}async['reopenCommentThread'](_0x41efa6){const _0x3b4127=new tC(_0x41efa6,this['_documentId']);await this['_sendRequest'](tC['TYPE'],_0x3b4127);}async['updateCommentThread'](_0x380f9f){const _0x38136c=new eC(_0x380f9f['commentThreadId'],this['_documentId'],_0x380f9f['context'],_0x380f9f['attributes'],_0x380f9f['unlinkedAt']);await this['_sendRequest'](eC['TYPE'],_0x38136c);}async['getCommentThread'](_0x58549d,_0x12dfc1=0x1){const _0x48cc8f=new Gx(_0x58549d,this['_documentId']);try{const _0x596a92=await this['_sendRequest'](Gx['TYPE'],_0x48cc8f),_0x325932=lk['decode'](_0x596a92,Xx);return{'commentThreadId':_0x325932['commentThreadId'],'comments':_0x325932['comments'],'attributes':_0x325932['attributes'],'context':_0x325932['context'],'resolvedAt':_0x325932['resolvedAt'],'resolvedBy':_0x325932['resolvedBy'],'deletedAt':_0x325932['deletedAt'],'unlinkedAt':_0x325932['unlinkedAt']};}catch(_0x309e5e){if('CKEditorCloudServicesServerError'===_0x309e5e['name']&&'404'===_0x309e5e['code']&&_0x12dfc1<0x5)return await(_0x1a4966=0x64*_0x12dfc1,new Promise(_0x50090a=>{setTimeout(_0x50090a,_0x1a4966);})),this['getCommentThread'](_0x58549d,_0x12dfc1+0x1);if('CKEditorCloudServicesServerError'===_0x309e5e['name'])throw _0x309e5e;throw bk['fromPublicError'](_0x309e5e);}var _0x1a4966;}async['getDocumentThreads'](){const _0x5181f6=new qx(this['_documentId']),_0x40dd98=await this['_sendRequest'](qx['TYPE'],_0x5181f6),{threads:_0x250bca}=lk['decode'](_0x40dd98,Wx);return{'threads':_0x250bca};}async['getConnectedSessions'](){if(!this['_isConnected'])throw new ox('Comments',this);return this['_connectedSessions']??=await Sx['getConnectedSessions'](this['_wsGateway'],this['_documentId'],0x9),this['_connectedSessions'];}['_connectToChannel'](_0x1d41e2,_0x2ac91a){this['_channel']=_0x1d41e2['_getChannel'](CommentsService['_SERVICE'],_0x2ac91a),this['_channel']&&(this['listenTo'](this['_channel'],this['_channel']['getEventName'](jx['TYPE']),(_0x274e44,_0xa68a57)=>{const _0x343747=lk['decode'](_0xa68a57,jx);this['fire']('commentAdded',_0x343747);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](Fx['TYPE']),(_0x3c9e6c,_0x929f2b)=>{const _0x11e552=lk['decode'](_0x929f2b,Fx);this['fire']('commentRemoved',_0x11e552);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](Zx['TYPE']),(_0x64aaa9,_0x594ee9)=>{const _0xe316a1=lk['decode'](_0x594ee9,Zx);this['fire']('commentUpdated',_0xe316a1);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](Hx['TYPE']),(_0x4b35c2,_0x2abaf6)=>{const _0x338a6e=lk['decode'](_0x2abaf6,Hx);this['fire']('commentThreadRemoved',_0x338a6e);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](Kx['TYPE']),(_0x487564,_0x1daddd)=>{const _0x2284e9=lk['decode'](_0x1daddd,Kx);this['fire']('commentThreadAdded',_0x2284e9);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](eC['TYPE']),(_0x4a8fce,_0x3a2931)=>{const _0x334f86=lk['decode'](_0x3a2931,eC);this['fire']('commentThreadUpdated',_0x334f86);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](Jx['TYPE']),(_0x1bdc45,_0x154637)=>{const _0x33f314=lk['decode'](_0x154637,Jx);this['fire']('commentThreadResolved',_0x33f314);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](tC['TYPE']),(_0x41b69c,_0x47b3eb)=>{const _0x4d2aee=lk['decode'](_0x47b3eb,tC);this['fire']('commentThreadReopened',_0x4d2aee);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](rx['TYPE']),()=>{this['disconnect']();}));}['_onWsGatewayStateChange'](_0x58a658){_0x58a658===Hk&&this['disconnect']();}['_sendRequest'](_0x2bffe1,_0x10975b){if(!this['_wsGateway']||!this['_isConnected'])throw new ox('Comments',this);return this['_wsGateway']['_sendRequest'](0x9,_0x2bffe1,lk['encode'](_0x10975b));}},nC=class WebSocketGateway extends _0x2de7b2{static ['WebSocketGateway']=/* #__PURE__ -- @preserve */
((()=>Xk)());static ['initialReconnectionInterval']=0x3e8;['connection'];['_reconnectionStack'];['_shouldPluginsReconnect'];['_domEmitter'];static get['requires'](){return[_0x5ed504,_0x5bbd4b];}static get['pluginName'](){return'WebSocketGateway';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x77db6d){super(_0x77db6d),this['set']('state',Gk),this['set']('_isBrowserOffline',!0x1),this['_reconnectionStack']=new Set(),this['_shouldPluginsReconnect']=!0x1,this['_domEmitter']=new(_0x40568c())();}['init'](){const _0x4c40b3=this['context'],_0x368b79=_0x4c40b3['plugins']['get'](_0x5ed504),_0x4d1fd2=_0x4c40b3['plugins']['get'](_0x5bbd4b);if(!_0x368b79['token'])throw new _0x5b5a95('websocketgateway-missing-token',this);if(!_0x368b79['webSocketUrl'])throw new _0x5b5a95('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'](_0x368b79['token'],_0x368b79['webSocketUrl'],{'timeout':0x3e8*this['context']['config']['get']('cloudServices.connectionTimeout'),'requestTimeout':0x3e8*this['context']['config']['get']('cloudServices.requestTimeout')})['then'](_0x150bed=>{if(this['connection']=_0x150bed,this['bind']('state')['to'](_0x150bed,'state',this,'_isBrowserOffline',(_0x19203f,_0x1ebc65)=>('connected'!==_0x19203f&&(this['_shouldPluginsReconnect']=!0x0),_0x1ebc65||_0x19203f!==Gk?Hk:this['state']==Hk&&this['_shouldPluginsReconnect']?(this['_shouldPluginsReconnect']=!0x1,this['_reconnect'](),Zk):Gk)),this['connection']['on']('error',(_0x514498,_0x423e08)=>{if('limitExceeded'!==_0x423e08['code'])throw console['error'](_0x423e08),new _0x5b5a95('cloudservices-init',null,{'originalError':_0x423e08});_0x4d1fd2['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'});}),!_0x150bed['me'])return new Promise(_0x21eb74=>_0x150bed['on']('change:me',_0x21eb74));})['catch'](_0x5b0ff9=>{throw console['error'](_0x5b0ff9),new _0x5b5a95('cloudservices-init',null,{'originalError':_0x5b0ff9});});}['addToReconnectionStack'](_0x198ec5){if('function'!=typeof _0x198ec5['reconnect'])throw new _0x5b5a95('websocketgateway-invalid-plugin-interface',this);if(this['isInReconnectionStack'](_0x198ec5))throw new _0x5b5a95('websocketgateway-plugin-already-registered',this,{'name':_0x198ec5['constructor']['pluginName']});this['_reconnectionStack']['add'](_0x198ec5);}['removeFromReconnectionStack'](_0x595d89){this['_reconnectionStack']['delete'](_0x595d89);}['isInReconnectionStack'](_0x4362ac){return this['_reconnectionStack']['has'](_0x4362ac);}['_reconnect'](){return this['connection']['reconnect']()['then'](()=>Promise['all'](Array['from'](this['_reconnectionStack'],_0x3178e7=>_0x3178e7['reconnect']())))['then'](()=>this['state']=Gk)['catch'](_0x54da7b=>{throw console['error'](_0x54da7b),new _0x5b5a95('cloudservices-reconnection-error',this['context']);});}['disconnect'](){this['connection']&&this['connection']['disconnect'](),this['state']=Hk,this['_domEmitter']['stopListening']();}['destroy'](){this['disconnect'](),super['destroy']();}},rC=class extends _0x2de7b2{['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[nC,ha];}constructor(_0x2ec24a){super(_0x2ec24a),this['channelSessions']=new Map(),this['channelConnectedUsers']=new Map(),this['allConnectedUsers']=new _0x23ea50(),this['_registeredSessions']=new Map(),this['_uniqueUsersCount']=0x0,this['_users']=this['context']['plugins']['get'](ha);}['init'](){const _0x354ae5=this['context']['plugins']['get'](nC);this['listenTo'](_0x354ae5,'change:state',(_0x26b463,_0xabea8c,_0x3357ed)=>{if('connected'!==_0x3357ed)this['channelSessions']['forEach'](_0x3d7e47=>_0x3d7e47['clear']()),this['channelConnectedUsers']['forEach'](_0x565006=>_0x565006['clear']()),this['allConnectedUsers']['clear']();else{for(const [_0x48b062,_0x586cf6]of this['_registeredSessions'])for(const _0x187d86 of _0x586cf6)this['_handleSessionAdd'](_0x48b062,_0x187d86);}}),this['_createUser'](_0x354ae5['connection']['me'],!0x0);}['register'](_0x49a15b,_0x34d760){if(this['_registeredSessions']['has'](_0x49a15b))throw new _0x5b5a95('sessions-register-already-registered',null,{'channelId':_0x49a15b});this['_registeredSessions']['set'](_0x49a15b,_0x34d760),this['channelSessions']['set'](_0x49a15b,new _0x23ea50()),this['channelConnectedUsers']['set'](_0x49a15b,new _0x23ea50()),this['listenTo'](_0x34d760,'add',(_0x382a1b,_0x106545)=>this['_handleSessionAdd'](_0x49a15b,_0x106545)),this['listenTo'](_0x34d760,'remove',(_0x31bb83,_0x477bca)=>this['_handleSessionRemove'](_0x49a15b,_0x477bca));for(const _0x48cdce of _0x34d760)this['_handleSessionAdd'](_0x49a15b,_0x48cdce);}['unregister'](_0x263f8b){if(!this['_registeredSessions']['has'](_0x263f8b))throw new _0x5b5a95('sessions-unregister-not-exist',null,{'channelId':_0x263f8b});const _0x4100a4=this['_registeredSessions']['get'](_0x263f8b);this['stopListening'](_0x4100a4);for(const _0x228609 of _0x4100a4)'connected'===this['context']['plugins']['get'](nC)['state']&&this['_handleSessionRemove'](_0x263f8b,_0x228609);this['_registeredSessions']['delete'](_0x263f8b),this['channelSessions']['delete'](_0x263f8b),this['channelConnectedUsers']['delete'](_0x263f8b);}get['mySessionId'](){return this['context']['plugins']['get'](nC)['connection']['sessionId'];}['getUserBySessionId'](_0x2e0f05){for(const _0x2c7b93 of this['channelSessions']['values']())for(const _0xe490f9 of _0x2c7b93)if(_0xe490f9['id']===_0x2e0f05)return _0xe490f9['user'];}['getUserSessions'](_0x2ff01c,_0x1844b8){const _0x44c84f=_0x1844b8?[this['channelSessions']['get'](_0x1844b8)]:this['channelSessions']['values'](),_0x277039=new Set();for(const _0x54a338 of _0x44c84f)for(const _0x118f49 of _0x54a338)_0x118f49['user']['id']===_0x2ff01c['id']&&_0x277039['add'](_0x118f49['id']);return _0x277039;}['getUserRole'](_0x53ab0c){for(const _0x3ac670 of this['channelSessions']['values']())for(const _0x4c4c3b of _0x3ac670)if(_0x4c4c3b['user']===_0x53ab0c)return _0x4c4c3b['role'];}['_handleSessionAdd'](_0x2f308a,_0x4e32cd){if('connected'!==this['context']['plugins']['get'](nC)['state'])return;const _0xd85713=_0x4e32cd['user'],_0x1612dc=this['_users']['getUser'](_0xd85713['id'])||this['_createUser'](_0xd85713),_0x1ced42=Object['assign']({},_0x4e32cd,{'user':_0x1612dc});if(this['channelSessions']['get'](_0x2f308a)['add'](_0x1ced42),!_0xd85713['hiddenInPresenceList']){const _0x3563ea=this['channelConnectedUsers']['get'](_0x2f308a);_0x3563ea['has'](_0x1612dc['id'])||_0x3563ea['add'](_0x1612dc),this['allConnectedUsers']['has'](_0x1612dc['id'])||_0xd85713['hiddenInPresenceList']||this['allConnectedUsers']['add'](_0x1612dc,_0x1612dc['isMe']?0x0:void 0x0);}this['fire']('sessionAdd:'+_0x2f308a,{'channelId':_0x2f308a,'session':_0x1ced42});}['_handleSessionRemove'](_0x31b156,_0x424943){if('connected'!==this['context']['plugins']['get'](nC)['state'])return;const _0x49f6a0=this['channelConnectedUsers']['get'](_0x31b156),_0xa5a3df=_0x424943['user'];_0xa5a3df['id']&&(this['channelSessions']['get'](_0x31b156)['remove'](_0x424943['id']),_0x49f6a0['has'](_0xa5a3df['id'])&&!this['getUserSessions'](_0xa5a3df,_0x31b156)['size']&&_0x49f6a0['remove'](_0xa5a3df['id']),this['allConnectedUsers']['get'](_0xa5a3df['id'])&&!this['getUserSessions'](_0xa5a3df)['size']&&this['allConnectedUsers']['remove'](_0xa5a3df['id']));}['_createUser'](_0x3fda96,_0x5ee79a){const _0x3f87a2=this['_users']['addUser'](_0x3fda96);return _0x5ee79a&&this['_users']['defineMe'](_0x3fda96['id']),_0x3f87a2['orderNumber']=this['_uniqueUsersCount']++,_0x3f87a2;}},oC=class extends _0x36b920{['_domEmitter']=new(_0x40568c())();static get['requires'](){return[rC];}static get['pluginName'](){return'UserMarkers';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x73ad2e=this['editor'],_0x271551=_0x73ad2e['plugins']['get'](rC);_0x73ad2e['conversion']['for']('editingDowncast')['markerToElement']({'model':'user:position','view':(_0x1a9d4f,{writer:_0x274fcc})=>function(_0x4bb02d,_0x27d1ea,_0x1469be,_0x13d957){const _0x40c412=_0x4bb02d['markerName']['split'](':')[0x2],_0x4c53fc=_0x1469be['getUserBySessionId'](_0x40c412);if(!_0x4c53fc||_0x40c412===_0x1469be['mySessionId'])return;if(!_0x13d957['model']['schema']['checkChild'](_0x4bb02d['markerRange']['start'],'$text'))return;const _0x514705={'class':'ck-user__marker\x20'+_0x4c53fc['color']['getMarkerClass'](),'style':cC(_0x4c53fc),'data-name':_0x4c53fc['name'],'data-session-id':_0x40c412},_0x27d52e=_0x13d957['model']['markers']['get'](_0x4bb02d['markerName'])['getStart'](),_0x148b05=_0x27d52e['nodeAfter'],_0xd27874=_0x13d957['model']['schema'];if(_0x148b05&&_0xd27874['isObject'](_0x148b05)&&_0xd27874['isInline'](_0x148b05)&&!_0x13d957['model']['markers']['get']('user:range:'+_0x40c412)['getRange']()['isCollapsed'])return;const _0x133b7f=_0x27d52e['parent'];return _0x13d957['model']['schema']['isLimit'](_0x133b7f)&&!_0x13d957['model']['hasContent'](_0x133b7f)&&(_0x514705['contenteditable']=!0x1),function(_0x1432bd,_0x2d07e7,_0x577318){const _0x2d6af3=_0x1432bd['createUIElement']('span',_0x2d07e7);return _0x1432bd['setCustomProperty']('userPositionMarker',!0x0,_0x2d6af3),_0x2d6af3['render']=function(_0xbb7e1d){const _0x1e2269=this['toDomElement'](_0xbb7e1d),_0x1226b8=document['createElement']('span');return _0x1226b8['classList']['add']('ck-user__marker-tooltip'),_0x1226b8['setAttribute']('contenteditable','false'),_0x1226b8['setAttribute']('spellcheck','false'),_0x1226b8['textContent']=_0x577318['name'],_0x1e2269['innerHTML']='⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>'+_0x1226b8['outerHTML']+'⁠',_0x1e2269['addEventListener']('mouseenter',()=>{_0x1e2269['classList']['add']('ck-user__marker_hovered');}),_0x1e2269['addEventListener']('mouseleave',()=>{_0x1e2269['classList']['remove']('ck-user__marker_hovered');}),_0x1e2269;},_0x2d6af3['isSimilar']=function(_0x4617e9){return!(!this['getCustomProperty']('userPositionMarker')||!_0x4617e9['getCustomProperty']('userPositionMarker')||this['getAttribute']('data-session-id')!=_0x4617e9['getAttribute']('data-session-id'));},_0x2d6af3;}(_0x27d1ea,_0x514705,_0x4c53fc);}(_0x1a9d4f,_0x274fcc,_0x271551,_0x73ad2e)}),_0x73ad2e['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'user:range','view':_0x594de8=>function(_0x7dcd3f,_0x4a28e4){const _0x5573e0=_0x7dcd3f['markerName']['split'](':')[0x2];if(_0x5573e0===_0x4a28e4['mySessionId'])return null;const _0x2180e0=_0x4a28e4['getUserBySessionId'](_0x5573e0);return _0x2180e0?{'id':_0x5573e0,'classes':['ck-user__selection',_0x2180e0['color']['getSelectionClass']()],'attributes':{'style':cC(_0x2180e0),'data-session-id':_0x5573e0},'priority':0x7d0+_0x2180e0['orderNumber']}:{'id':_0x5573e0,'classes':[]};}(_0x594de8,_0x271551)}),function(_0x5a3ef3){const _0x1f2cf0=_0x5a3ef3['model'],_0x14ac37=new Map(),_0x14144b=_0x5a3ef3['plugins']['get'](rC);_0x1f2cf0['markers']['on']('update:user:range',(_0x40297f,_0x4863c9,_0x1bba45,_0x580b5e)=>{if(!_0x580b5e&&_0x14ac37['get'](_0x4863c9['name']))return _0x14ac37['get'](_0x4863c9['name'])['detach'](),void _0x14ac37['delete'](_0x4863c9['name']);const _0x32f4bc=_0x4863c9['name']['split'](':')[0x2];if(_0x32f4bc===_0x14144b['mySessionId'])return;const _0x1601ef='user:position:'+_0x32f4bc;_0x1f2cf0['markers']['has'](_0x1601ef)&&_0x5a3ef3['editing']['reconvertMarker'](_0x1601ef),_0x4863c9['on']('change:range',(_0x5444c5,_0x138e9c,_0x446a8d)=>{if('$graveyard'!=_0x138e9c['root']['rootName']&&'$graveyard'==_0x4863c9['getRange']()['root']['rootName']&&!_0x14ac37['has'](_0x4863c9['name'])){const _0x8c003c=_0x1f2cf0['schema']['getNearestSelectionRange'](_0x446a8d['deletionPosition']);if(_0x8c003c){const _0x3ae5a0=_0x52b1ee['fromRange'](_0x8c003c);_0x14ac37['set'](_0x4863c9['name'],_0x3ae5a0),_0x3ae5a0['on']('change:range',(_0x4dc984,_0x295b8e,_0x20b3f7)=>{if('$graveyard'==_0x3ae5a0['root']['rootName']){const _0x37e2f5=_0x1f2cf0['schema']['getNearestSelectionRange'](_0x20b3f7['deletionPosition']);_0x37e2f5?(_0x3ae5a0['start']=_0x37e2f5['start'],_0x3ae5a0['end']=_0x37e2f5['end']):(_0x14ac37['delete'](_0x4863c9['name']),_0x3ae5a0['detach']());}});}}});}),_0x1f2cf0['document']['on']('change',()=>{_0x14ac37['size']>0x0&&_0x1f2cf0['enqueueChange']({'isUndoable':!0x1},_0x300141=>{for(const [_0x270339,_0x34e8f3]of _0x14ac37)'$graveyard'==_0x1f2cf0['markers']['get'](_0x270339)['getRange']()['root']['rootName']&&(aC(_0x270339['split'](':')[0x2],_0x34e8f3['toRange'](),_0x1f2cf0,_0x300141),_0x34e8f3['detach']());_0x14ac37['clear']();});});}(_0x73ad2e),this['_domEmitter']['listenTo'](_0x22955f['document'],'keydown',(_0x227155,{key:_0x546f54})=>{'Escape'===_0x546f54&&function(_0x2c22c3){_0x2c22c3['editing']['view']['change'](_0x290a07=>{for(const _0xe61c4e of _0x2c22c3['model']['markers']){if(!_0xe61c4e['name']['startsWith']('user:position'))continue;const _0x173b0b=_0x2c22c3['editing']['mapper']['markerNameToElements'](_0xe61c4e['name']);if(_0x173b0b){for(const _0xd482b7 of _0x173b0b)_0x290a07['removeClass']('ck-user__marker_hovered',_0xd482b7);}}});}(_0x73ad2e);},{'useCapture':!0x0});}['afterInit'](){const _0x26c954=this['editor'],_0x1b45ce=_0x26c954['commands']['get']('undo');_0x1b45ce&&_0x26c954['model']['on']('applyOperation',(_0xcf3e1a,_0xd3df51)=>{const _0x45f67e=_0xd3df51[0x0];if(!_0x45f67e['isDocumentOperation'])return;if('marker'!=_0x45f67e['type']||!_0x45f67e['name']['startsWith']('user:'))return;const _0x521336=_0x45f67e['batch'];_0x1b45ce['_createdBatches']['has'](_0x521336)&&(_0x45f67e['newRange']=_0x45f67e['oldRange']?_0x26c954['model']['createRange'](_0x45f67e['oldRange']['start'],_0x45f67e['oldRange']['end']):null);},{'priority':'highest'});}['destroy'](){return this['_domEmitter']['stopListening'](),super['destroy']();}['createUserMarkerOperations'](){const _0x422dcc=this['editor'],_0x221464=_0x422dcc['model']['document'],_0x455db1=_0x422dcc['plugins']['get'](rC);_0x422dcc['model']['enqueueChange']({'isUndoable':!0x1},_0x5c1eaf=>{const _0x135b26='user:range:'+_0x455db1['mySessionId'],_0xc69e10='user:position:'+_0x455db1['mySessionId'],_0x2024d3=_0x422dcc['model']['markers']['has'](_0x135b26);_0x422dcc['editing']['view']['hasDomSelection']?aC(_0x455db1['mySessionId'],_0x221464['selection']['getFirstRange'](),_0x422dcc['model'],_0x5c1eaf):_0x2024d3&&(_0x5c1eaf['removeMarker'](_0x135b26),_0x5c1eaf['removeMarker'](_0xc69e10));});}};function aC(_0x27ca6e,_0x2b25b9,_0x1e83bf,_0x4e0b45){const _0x461cdc='user:range:'+_0x27ca6e,_0x11b736='user:position:'+_0x27ca6e,_0x715d26=_0x2b25b9['getContainedElement']();let _0x23972f=_0x2b25b9['start'];if(_0x715d26&&_0x715d26['is']('element','tableCell')){const _0x4f4169=function(_0x9a5a4f,_0x5669fd){for(const _0x31cedf of _0x9a5a4f['getPositions']())if(_0x5669fd['schema']['checkChild'](_0x31cedf,'$text'))return _0x31cedf;}(_0x2b25b9,_0x1e83bf);_0x4f4169&&(_0x23972f=_0x4f4169,_0x2b25b9=_0x4e0b45['createRange'](_0x23972f));}const _0x5257de=_0x4e0b45['createRange'](_0x23972f);_0x1e83bf['markers']['has'](_0x461cdc)?(_0x4e0b45['updateMarker'](_0x461cdc,{'range':_0x2b25b9}),_0x4e0b45['updateMarker'](_0x11b736,{'range':_0x5257de})):(_0x4e0b45['addMarker'](_0x461cdc,{'range':_0x2b25b9,'usingOperation':!0x0}),_0x4e0b45['addMarker'](_0x11b736,{'range':_0x5257de,'usingOperation':!0x0}));}function cC(_0x2920be){return'--ck-user-color:'+_0x2920be['color']['getColorVariable']()+';--ck-user-color-alpha:'+_0x2920be['color']['getColorAlphaVariable']()+';';}function lC(_0x3877ed,_0x539b2a,_0x4e2f8a){const _0x50d226=_0x3877ed['t'],t=_0x3877ed['t'];switch(_0x539b2a){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 _0x50d226({'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'},_0x4e2f8a);default:return'';}}const hC=/* #__PURE__ -- @preserve */
((()=>{var _0x1778da=ik['default']['Reader'],_0x192238=ik['default']['Writer'],_0x1524dd=ik['default']['util'],_0x9aa060=ik['default']['roots']['default']||(ik['default']['roots']['default']={});return _0x9aa060['AttributeOperation']=(function(){function _0x2dc842(_0x710903){if(_0x710903){for(var _0x1ad00e=Object['keys'](_0x710903),_0x2f5f3d=0x0;_0x2f5f3d<_0x1ad00e['length'];++_0x2f5f3d)null!=_0x710903[_0x1ad00e[_0x2f5f3d]]&&'__proto__'!==_0x1ad00e[_0x2f5f3d]&&(this[_0x1ad00e[_0x2f5f3d]]=_0x710903[_0x1ad00e[_0x2f5f3d]]);}}return _0x2dc842['prototype']['range']=null,_0x2dc842['prototype']['key']='',_0x2dc842['prototype']['oldValueBoolean']=!0x1,_0x2dc842['prototype']['oldValueJson']='',_0x2dc842['prototype']['newValueBoolean']=!0x1,_0x2dc842['prototype']['newValueJson']='',_0x2dc842['prototype']['wasUndone']=!0x1,_0x2dc842['prototype']['_aiSource']='',_0x2dc842['create']=function(_0x100a14){return new _0x2dc842(_0x100a14);},_0x2dc842['encode']=function(_0x479127,_0x15521c){return _0x15521c||(_0x15521c=_0x192238['create']()),null!=_0x479127['range']&&Object['hasOwnProperty']['call'](_0x479127,'range')&&_0x9aa060['Range']['encode'](_0x479127['range'],_0x15521c['uint32'](0xa)['fork']())['ldelim'](),null!=_0x479127['key']&&Object['hasOwnProperty']['call'](_0x479127,'key')&&_0x15521c['uint32'](0x12)['string'](_0x479127['key']),null!=_0x479127['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x479127,'oldValueBoolean')&&_0x15521c['uint32'](0x18)['bool'](_0x479127['oldValueBoolean']),null!=_0x479127['oldValueJson']&&Object['hasOwnProperty']['call'](_0x479127,'oldValueJson')&&_0x15521c['uint32'](0x22)['string'](_0x479127['oldValueJson']),null!=_0x479127['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x479127,'newValueBoolean')&&_0x15521c['uint32'](0x28)['bool'](_0x479127['newValueBoolean']),null!=_0x479127['newValueJson']&&Object['hasOwnProperty']['call'](_0x479127,'newValueJson')&&_0x15521c['uint32'](0x32)['string'](_0x479127['newValueJson']),null!=_0x479127['wasUndone']&&Object['hasOwnProperty']['call'](_0x479127,'wasUndone')&&_0x15521c['uint32'](0x38)['bool'](_0x479127['wasUndone']),null!=_0x479127['_aiSource']&&Object['hasOwnProperty']['call'](_0x479127,'_aiSource')&&_0x15521c['uint32'](0x42)['string'](_0x479127['_aiSource']),_0x15521c;},_0x2dc842['encodeDelimited']=function(_0x164cfb,_0x84f504){return this['encode'](_0x164cfb,_0x84f504)['ldelim']();},_0x2dc842['decode']=function(_0x1d635a,_0x287dd0,_0x1be55b,_0x579c47){if(_0x1d635a instanceof _0x1778da||(_0x1d635a=_0x1778da['create'](_0x1d635a)),void 0x0===_0x579c47&&(_0x579c47=0x0),_0x579c47>_0x1778da['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1cef5f=void 0x0===_0x287dd0?_0x1d635a['len']:_0x1d635a['pos']+_0x287dd0,_0x5c1201=new _0x9aa060['AttributeOperation']();_0x1d635a['pos']<_0x1cef5f;){var _0xafd6ae=_0x1d635a['uint32']();if(_0xafd6ae===_0x1be55b)break;switch(_0xafd6ae>>>0x3){case 0x1:_0x5c1201['range']=_0x9aa060['Range']['decode'](_0x1d635a,_0x1d635a['uint32'](),void 0x0,_0x579c47+0x1);break;case 0x2:_0x5c1201['key']=_0x1d635a['string']();break;case 0x3:_0x5c1201['oldValueBoolean']=_0x1d635a['bool']();break;case 0x4:_0x5c1201['oldValueJson']=_0x1d635a['string']();break;case 0x5:_0x5c1201['newValueBoolean']=_0x1d635a['bool']();break;case 0x6:_0x5c1201['newValueJson']=_0x1d635a['string']();break;case 0x7:_0x5c1201['wasUndone']=_0x1d635a['bool']();break;case 0x8:_0x5c1201['_aiSource']=_0x1d635a['string']();break;default:_0x1d635a['skipType'](0x7&_0xafd6ae,_0x579c47);}}return _0x5c1201;},_0x2dc842['decodeDelimited']=function(_0x325e8e){return _0x325e8e instanceof _0x1778da||(_0x325e8e=new _0x1778da(_0x325e8e)),this['decode'](_0x325e8e,_0x325e8e['uint32']());},_0x2dc842['verify']=function(_0x2a3afa,_0x2d5dec){if('object'!=typeof _0x2a3afa||null===_0x2a3afa)return'object\x20expected';if(void 0x0===_0x2d5dec&&(_0x2d5dec=0x0),_0x2d5dec>_0x1524dd['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x2a3afa['range']&&_0x2a3afa['hasOwnProperty']('range')){var _0x379ca2=_0x9aa060['Range']['verify'](_0x2a3afa['range'],_0x2d5dec+0x1);if(_0x379ca2)return'range.'+_0x379ca2;}return null!=_0x2a3afa['key']&&_0x2a3afa['hasOwnProperty']('key')&&!_0x1524dd['isString'](_0x2a3afa['key'])?'key:\x20string\x20expected':null!=_0x2a3afa['oldValueBoolean']&&_0x2a3afa['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x2a3afa['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x2a3afa['oldValueJson']&&_0x2a3afa['hasOwnProperty']('oldValueJson')&&!_0x1524dd['isString'](_0x2a3afa['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x2a3afa['newValueBoolean']&&_0x2a3afa['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x2a3afa['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x2a3afa['newValueJson']&&_0x2a3afa['hasOwnProperty']('newValueJson')&&!_0x1524dd['isString'](_0x2a3afa['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x2a3afa['wasUndone']&&_0x2a3afa['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x2a3afa['wasUndone']?'wasUndone:\x20boolean\x20expected':null!=_0x2a3afa['_aiSource']&&_0x2a3afa['hasOwnProperty']('_aiSource')&&!_0x1524dd['isString'](_0x2a3afa['_aiSource'])?'_aiSource:\x20string\x20expected':null;},_0x2dc842['fromObject']=function(_0x42601d,_0x48a27e){if(_0x42601d instanceof _0x9aa060['AttributeOperation'])return _0x42601d;if(void 0x0===_0x48a27e&&(_0x48a27e=0x0),_0x48a27e>_0x1524dd['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2ee1f4=new _0x9aa060['AttributeOperation']();if(null!=_0x42601d['range']){if('object'!=typeof _0x42601d['range'])throw TypeError('.AttributeOperation.range:\x20object\x20expected');_0x2ee1f4['range']=_0x9aa060['Range']['fromObject'](_0x42601d['range'],_0x48a27e+0x1);}return null!=_0x42601d['key']&&(_0x2ee1f4['key']=String(_0x42601d['key'])),null!=_0x42601d['oldValueBoolean']&&(_0x2ee1f4['oldValueBoolean']=Boolean(_0x42601d['oldValueBoolean'])),null!=_0x42601d['oldValueJson']&&(_0x2ee1f4['oldValueJson']=String(_0x42601d['oldValueJson'])),null!=_0x42601d['newValueBoolean']&&(_0x2ee1f4['newValueBoolean']=Boolean(_0x42601d['newValueBoolean'])),null!=_0x42601d['newValueJson']&&(_0x2ee1f4['newValueJson']=String(_0x42601d['newValueJson'])),null!=_0x42601d['wasUndone']&&(_0x2ee1f4['wasUndone']=Boolean(_0x42601d['wasUndone'])),null!=_0x42601d['_aiSource']&&(_0x2ee1f4['_aiSource']=String(_0x42601d['_aiSource'])),_0x2ee1f4;},_0x2dc842['toObject']=function(_0x53197e,_0x1c27a0){_0x1c27a0||(_0x1c27a0={});var _0x4a7a51={};return _0x1c27a0['defaults']&&(_0x4a7a51['range']=null,_0x4a7a51['key']='',_0x4a7a51['oldValueBoolean']=!0x1,_0x4a7a51['oldValueJson']='',_0x4a7a51['newValueBoolean']=!0x1,_0x4a7a51['newValueJson']='',_0x4a7a51['wasUndone']=!0x1,_0x4a7a51['_aiSource']=''),null!=_0x53197e['range']&&_0x53197e['hasOwnProperty']('range')&&(_0x4a7a51['range']=_0x9aa060['Range']['toObject'](_0x53197e['range'],_0x1c27a0)),null!=_0x53197e['key']&&_0x53197e['hasOwnProperty']('key')&&(_0x4a7a51['key']=_0x53197e['key']),null!=_0x53197e['oldValueBoolean']&&_0x53197e['hasOwnProperty']('oldValueBoolean')&&(_0x4a7a51['oldValueBoolean']=_0x53197e['oldValueBoolean']),null!=_0x53197e['oldValueJson']&&_0x53197e['hasOwnProperty']('oldValueJson')&&(_0x4a7a51['oldValueJson']=_0x53197e['oldValueJson']),null!=_0x53197e['newValueBoolean']&&_0x53197e['hasOwnProperty']('newValueBoolean')&&(_0x4a7a51['newValueBoolean']=_0x53197e['newValueBoolean']),null!=_0x53197e['newValueJson']&&_0x53197e['hasOwnProperty']('newValueJson')&&(_0x4a7a51['newValueJson']=_0x53197e['newValueJson']),null!=_0x53197e['wasUndone']&&_0x53197e['hasOwnProperty']('wasUndone')&&(_0x4a7a51['wasUndone']=_0x53197e['wasUndone']),null!=_0x53197e['_aiSource']&&_0x53197e['hasOwnProperty']('_aiSource')&&(_0x4a7a51['_aiSource']=_0x53197e['_aiSource']),_0x4a7a51;},_0x2dc842['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x2dc842['getTypeUrl']=function(_0x41f0b3){return void 0x0===_0x41f0b3&&(_0x41f0b3='type.googleapis.com'),_0x41f0b3+'/AttributeOperation';},_0x2dc842;}()),_0x9aa060['InsertOperation']=(function(){function _0x3e5dc2(_0x38d5e1){if(this['nodes']=[],_0x38d5e1){for(var _0x25ffee=Object['keys'](_0x38d5e1),_0x4f5174=0x0;_0x4f5174<_0x25ffee['length'];++_0x4f5174)null!=_0x38d5e1[_0x25ffee[_0x4f5174]]&&'__proto__'!==_0x25ffee[_0x4f5174]&&(this[_0x25ffee[_0x4f5174]]=_0x38d5e1[_0x25ffee[_0x4f5174]]);}}return _0x3e5dc2['prototype']['position']=null,_0x3e5dc2['prototype']['nodes']=_0x1524dd['emptyArray'],_0x3e5dc2['prototype']['shouldReceiveAttributes']=!0x1,_0x3e5dc2['prototype']['wasUndone']=!0x1,_0x3e5dc2['prototype']['_aiSource']='',_0x3e5dc2['create']=function(_0x2b050d){return new _0x3e5dc2(_0x2b050d);},_0x3e5dc2['encode']=function(_0x119092,_0x32b937){if(_0x32b937||(_0x32b937=_0x192238['create']()),null!=_0x119092['position']&&Object['hasOwnProperty']['call'](_0x119092,'position')&&_0x9aa060['Position']['encode'](_0x119092['position'],_0x32b937['uint32'](0xa)['fork']())['ldelim'](),null!=_0x119092['nodes']&&_0x119092['nodes']['length']){for(var _0x1d4953=0x0;_0x1d4953<_0x119092['nodes']['length'];++_0x1d4953)_0x9aa060['Element']['encode'](_0x119092['nodes'][_0x1d4953],_0x32b937['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x119092['shouldReceiveAttributes']&&Object['hasOwnProperty']['call'](_0x119092,'shouldReceiveAttributes')&&_0x32b937['uint32'](0x18)['bool'](_0x119092['shouldReceiveAttributes']),null!=_0x119092['wasUndone']&&Object['hasOwnProperty']['call'](_0x119092,'wasUndone')&&_0x32b937['uint32'](0x20)['bool'](_0x119092['wasUndone']),null!=_0x119092['_aiSource']&&Object['hasOwnProperty']['call'](_0x119092,'_aiSource')&&_0x32b937['uint32'](0x2a)['string'](_0x119092['_aiSource']),_0x32b937;},_0x3e5dc2['encodeDelimited']=function(_0x344542,_0x24a7a7){return this['encode'](_0x344542,_0x24a7a7)['ldelim']();},_0x3e5dc2['decode']=function(_0x453b8e,_0x1e97c8,_0x53fddf,_0x5bfbcd){if(_0x453b8e instanceof _0x1778da||(_0x453b8e=_0x1778da['create'](_0x453b8e)),void 0x0===_0x5bfbcd&&(_0x5bfbcd=0x0),_0x5bfbcd>_0x1778da['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x33fdd1=void 0x0===_0x1e97c8?_0x453b8e['len']:_0x453b8e['pos']+_0x1e97c8,_0x152110=new _0x9aa060['InsertOperation']();_0x453b8e['pos']<_0x33fdd1;){var _0x1d1703=_0x453b8e['uint32']();if(_0x1d1703===_0x53fddf)break;switch(_0x1d1703>>>0x3){case 0x1:_0x152110['position']=_0x9aa060['Position']['decode'](_0x453b8e,_0x453b8e['uint32'](),void 0x0,_0x5bfbcd+0x1);break;case 0x2:_0x152110['nodes']&&_0x152110['nodes']['length']||(_0x152110['nodes']=[]),_0x152110['nodes']['push'](_0x9aa060['Element']['decode'](_0x453b8e,_0x453b8e['uint32'](),void 0x0,_0x5bfbcd+0x1));break;case 0x3:_0x152110['shouldReceiveAttributes']=_0x453b8e['bool']();break;case 0x4:_0x152110['wasUndone']=_0x453b8e['bool']();break;case 0x5:_0x152110['_aiSource']=_0x453b8e['string']();break;default:_0x453b8e['skipType'](0x7&_0x1d1703,_0x5bfbcd);}}return _0x152110;},_0x3e5dc2['decodeDelimited']=function(_0x104aab){return _0x104aab instanceof _0x1778da||(_0x104aab=new _0x1778da(_0x104aab)),this['decode'](_0x104aab,_0x104aab['uint32']());},_0x3e5dc2['verify']=function(_0x37ac78,_0x24c61d){if('object'!=typeof _0x37ac78||null===_0x37ac78)return'object\x20expected';if(void 0x0===_0x24c61d&&(_0x24c61d=0x0),_0x24c61d>_0x1524dd['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x37ac78['position']&&_0x37ac78['hasOwnProperty']('position')&&(_0x229312=_0x9aa060['Position']['verify'](_0x37ac78['position'],_0x24c61d+0x1)))return'position.'+_0x229312;if(null!=_0x37ac78['nodes']&&_0x37ac78['hasOwnProperty']('nodes')){if(!Array['isArray'](_0x37ac78['nodes']))return'nodes:\x20array\x20expected';for(var _0x158934=0x0;_0x158934<_0x37ac78['nodes']['length'];++_0x158934){var _0x229312;if(_0x229312=_0x9aa060['Element']['verify'](_0x37ac78['nodes'][_0x158934],_0x24c61d+0x1))return'nodes.'+_0x229312;}}return null!=_0x37ac78['shouldReceiveAttributes']&&_0x37ac78['hasOwnProperty']('shouldReceiveAttributes')&&'boolean'!=typeof _0x37ac78['shouldReceiveAttributes']?'shouldReceiveAttributes:\x20boolean\x20expected':null!=_0x37ac78['wasUndone']&&_0x37ac78['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x37ac78['wasUndone']?'wasUndone:\x20boolean\x20expected':null!=_0x37ac78['_aiSource']&&_0x37ac78['hasOwnProperty']('_aiSource')&&!_0x1524dd['isString'](_0x37ac78['_aiSource'])?'_aiSource:\x20string\x20expected':null;},_0x3e5dc2['fromObject']=function(_0x1e3f32,_0x53c7d6){if(_0x1e3f32 instanceof _0x9aa060['InsertOperation'])return _0x1e3f32;if(void 0x0===_0x53c7d6&&(_0x53c7d6=0x0),_0x53c7d6>_0x1524dd['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5122a4=new _0x9aa060['InsertOperation']();if(null!=_0x1e3f32['position']){if('object'!=typeof _0x1e3f32['position'])throw TypeError('.InsertOperation.position:\x20object\x20expected');_0x5122a4['position']=_0x9aa060['Position']['fromObject'](_0x1e3f32['position'],_0x53c7d6+0x1);}if(_0x1e3f32['nodes']){if(!Array['isArray'](_0x1e3f32['nodes']))throw TypeError('.InsertOperation.nodes:\x20array\x20expected');_0x5122a4['nodes']=[];for(var _0x53751c=0x0;_0x53751c<_0x1e3f32['nodes']['length'];++_0x53751c){if('object'!=typeof _0x1e3f32['nodes'][_0x53751c])throw TypeError('.InsertOperation.nodes:\x20object\x20expected');_0x5122a4['nodes'][_0x53751c]=_0x9aa060['Element']['fromObject'](_0x1e3f32['nodes'][_0x53751c],_0x53c7d6+0x1);}}return null!=_0x1e3f32['shouldReceiveAttributes']&&(_0x5122a4['shouldReceiveAttributes']=Boolean(_0x1e3f32['shouldReceiveAttributes'])),null!=_0x1e3f32['wasUndone']&&(_0x5122a4['wasUndone']=Boolean(_0x1e3f32['wasUndone'])),null!=_0x1e3f32['_aiSource']&&(_0x5122a4['_aiSource']=String(_0x1e3f32['_aiSource'])),_0x5122a4;},_0x3e5dc2['toObject']=function(_0x3dac97,_0x536123){_0x536123||(_0x536123={});var _0x1ce262={};if((_0x536123['arrays']||_0x536123['defaults'])&&(_0x1ce262['nodes']=[]),_0x536123['defaults']&&(_0x1ce262['position']=null,_0x1ce262['shouldReceiveAttributes']=!0x1,_0x1ce262['wasUndone']=!0x1,_0x1ce262['_aiSource']=''),null!=_0x3dac97['position']&&_0x3dac97['hasOwnProperty']('position')&&(_0x1ce262['position']=_0x9aa060['Position']['toObject'](_0x3dac97['position'],_0x536123)),_0x3dac97['nodes']&&_0x3dac97['nodes']['length']){_0x1ce262['nodes']=[];for(var _0x45d5a5=0x0;_0x45d5a5<_0x3dac97['nodes']['length'];++_0x45d5a5)_0x1ce262['nodes'][_0x45d5a5]=_0x9aa060['Element']['toObject'](_0x3dac97['nodes'][_0x45d5a5],_0x536123);}return null!=_0x3dac97['shouldReceiveAttributes']&&_0x3dac97['hasOwnProperty']('shouldReceiveAttributes')&&(_0x1ce262['shouldReceiveAttributes']=_0x3dac97['shouldReceiveAttributes']),null!=_0x3dac97['wasUndone']&&_0x3dac97['hasOwnProperty']('wasUndone')&&(_0x1ce262['wasUndone']=_0x3dac97['wasUndone']),null!=_0x3dac97['_aiSource']&&_0x3dac97['hasOwnProperty']('_aiSource')&&(_0x1ce262['_aiSource']=_0x3dac97['_aiSource']),_0x1ce262;},_0x3e5dc2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x3e5dc2['getTypeUrl']=function(_0x2bc5e6){return void 0x0===_0x2bc5e6&&(_0x2bc5e6='type.googleapis.com'),_0x2bc5e6+'/InsertOperation';},_0x3e5dc2;}()),_0x9aa060['MarkerOperation']=(function(){function _0xe71e87(_0x18157e){if(_0x18157e){for(var _0x1d5e87=Object['keys'](_0x18157e),_0x5d019f=0x0;_0x5d019f<_0x1d5e87['length'];++_0x5d019f)null!=_0x18157e[_0x1d5e87[_0x5d019f]]&&'__proto__'!==_0x1d5e87[_0x5d019f]&&(this[_0x1d5e87[_0x5d019f]]=_0x18157e[_0x1d5e87[_0x5d019f]]);}}return _0xe71e87['prototype']['name']='',_0xe71e87['prototype']['oldRange']=null,_0xe71e87['prototype']['newRange']=null,_0xe71e87['prototype']['affectsData']=!0x1,_0xe71e87['prototype']['wasUndone']=!0x1,_0xe71e87['prototype']['_aiSource']='',_0xe71e87['create']=function(_0x5896e7){return new _0xe71e87(_0x5896e7);},_0xe71e87['encode']=function(_0x18ff79,_0x3bf420){return _0x3bf420||(_0x3bf420=_0x192238['create']()),null!=_0x18ff79['name']&&Object['hasOwnProperty']['call'](_0x18ff79,'name')&&_0x3bf420['uint32'](0xa)['string'](_0x18ff79['name']),null!=_0x18ff79['oldRange']&&Object['hasOwnProperty']['call'](_0x18ff79,'oldRange')&&_0x9aa060['Range']['encode'](_0x18ff79['oldRange'],_0x3bf420['uint32'](0x12)['fork']())['ldelim'](),null!=_0x18ff79['newRange']&&Object['hasOwnProperty']['call'](_0x18ff79,'newRange')&&_0x9aa060['Range']['encode'](_0x18ff79['newRange'],_0x3bf420['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x18ff79['affectsData']&&Object['hasOwnProperty']['call'](_0x18ff79,'affectsData')&&_0x3bf420['uint32'](0x20)['bool'](_0x18ff79['affectsData']),null!=_0x18ff79['wasUndone']&&Object['hasOwnProperty']['call'](_0x18ff79,'wasUndone')&&_0x3bf420['uint32'](0x28)['bool'](_0x18ff79['wasUndone']),null!=_0x18ff79['_aiSource']&&Object['hasOwnProperty']['call'](_0x18ff79,'_aiSource')&&_0x3bf420['uint32'](0x32)['string'](_0x18ff79['_aiSource']),_0x3bf420;},_0xe71e87['encodeDelimited']=function(_0x473e7e,_0x35d4c9){return this['encode'](_0x473e7e,_0x35d4c9)['ldelim']();},_0xe71e87['decode']=function(_0xc38f,_0x1dcfde,_0x548feb,_0x1bcf78){if(_0xc38f instanceof _0x1778da||(_0xc38f=_0x1778da['create'](_0xc38f)),void 0x0===_0x1bcf78&&(_0x1bcf78=0x0),_0x1bcf78>_0x1778da['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x23960a=void 0x0===_0x1dcfde?_0xc38f['len']:_0xc38f['pos']+_0x1dcfde,_0x464800=new _0x9aa060['MarkerOperation']();_0xc38f['pos']<_0x23960a;){var _0x1dab07=_0xc38f['uint32']();if(_0x1dab07===_0x548feb)break;switch(_0x1dab07>>>0x3){case 0x1:_0x464800['name']=_0xc38f['string']();break;case 0x2:_0x464800['oldRange']=_0x9aa060['Range']['decode'](_0xc38f,_0xc38f['uint32'](),void 0x0,_0x1bcf78+0x1);break;case 0x3:_0x464800['newRange']=_0x9aa060['Range']['decode'](_0xc38f,_0xc38f['uint32'](),void 0x0,_0x1bcf78+0x1);break;case 0x4:_0x464800['affectsData']=_0xc38f['bool']();break;case 0x5:_0x464800['wasUndone']=_0xc38f['bool']();break;case 0x6:_0x464800['_aiSource']=_0xc38f['string']();break;default:_0xc38f['skipType'](0x7&_0x1dab07,_0x1bcf78);}}return _0x464800;},_0xe71e87['decodeDelimited']=function(_0x1e5e37){return _0x1e5e37 instanceof _0x1778da||(_0x1e5e37=new _0x1778da(_0x1e5e37)),this['decode'](_0x1e5e37,_0x1e5e37['uint32']());},_0xe71e87['verify']=function(_0x468325,_0x5a3f48){if('object'!=typeof _0x468325||null===_0x468325)return'object\x20expected';if(void 0x0===_0x5a3f48&&(_0x5a3f48=0x0),_0x5a3f48>_0x1524dd['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x468325['name']&&_0x468325['hasOwnProperty']('name')&&!_0x1524dd['isString'](_0x468325['name']))return'name:\x20string\x20expected';var _0x33d928;if(null!=_0x468325['oldRange']&&_0x468325['hasOwnProperty']('oldRange')&&(_0x33d928=_0x9aa060['Range']['verify'](_0x468325['oldRange'],_0x5a3f48+0x1)))return'oldRange.'+_0x33d928;if(null!=_0x468325['newRange']&&_0x468325['hasOwnProperty']('newRange')&&(_0x33d928=_0x9aa060['Range']['verify'](_0x468325['newRange'],_0x5a3f48+0x1)))return'newRange.'+_0x33d928;return null!=_0x468325['affectsData']&&_0x468325['hasOwnProperty']('affectsData')&&'boolean'!=typeof _0x468325['affectsData']?'affectsData:\x20boolean\x20expected':null!=_0x468325['wasUndone']&&_0x468325['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x468325['wasUndone']?'wasUndone:\x20boolean\x20expected':null!=_0x468325['_aiSource']&&_0x468325['hasOwnProperty']('_aiSource')&&!_0x1524dd['isString'](_0x468325['_aiSource'])?'_aiSource:\x20string\x20expected':null;},_0xe71e87['fromObject']=function(_0x1878cb,_0x2758d3){if(_0x1878cb instanceof _0x9aa060['MarkerOperation'])return _0x1878cb;if(void 0x0===_0x2758d3&&(_0x2758d3=0x0),_0x2758d3>_0x1524dd['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1f3de3=new _0x9aa060['MarkerOperation']();if(null!=_0x1878cb['name']&&(_0x1f3de3['name']=String(_0x1878cb['name'])),null!=_0x1878cb['oldRange']){if('object'!=typeof _0x1878cb['oldRange'])throw TypeError('.MarkerOperation.oldRange:\x20object\x20expected');_0x1f3de3['oldRange']=_0x9aa060['Range']['fromObject'](_0x1878cb['oldRange'],_0x2758d3+0x1);}if(null!=_0x1878cb['newRange']){if('object'!=typeof _0x1878cb['newRange'])throw TypeError('.MarkerOperation.newRange:\x20object\x20expected');_0x1f3de3['newRange']=_0x9aa060['Range']['fromObject'](_0x1878cb['newRange'],_0x2758d3+0x1);}return null!=_0x1878cb['affectsData']&&(_0x1f3de3['affectsData']=Boolean(_0x1878cb['affectsData'])),null!=_0x1878cb['wasUndone']&&(_0x1f3de3['wasUndone']=Boolean(_0x1878cb['wasUndone'])),null!=_0x1878cb['_aiSource']&&(_0x1f3de3['_aiSource']=String(_0x1878cb['_aiSource'])),_0x1f3de3;},_0xe71e87['toObject']=function(_0x3dff13,_0x42f47b){_0x42f47b||(_0x42f47b={});var _0xbdee7a={};return _0x42f47b['defaults']&&(_0xbdee7a['name']='',_0xbdee7a['oldRange']=null,_0xbdee7a['newRange']=null,_0xbdee7a['affectsData']=!0x1,_0xbdee7a['wasUndone']=!0x1,_0xbdee7a['_aiSource']=''),null!=_0x3dff13['name']&&_0x3dff13['hasOwnProperty']('name')&&(_0xbdee7a['name']=_0x3dff13['name']),null!=_0x3dff13['oldRange']&&_0x3dff13['hasOwnProperty']('oldRange')&&(_0xbdee7a['oldRange']=_0x9aa060['Range']['toObject'](_0x3dff13['oldRange'],_0x42f47b)),null!=_0x3dff13['newRange']&&_0x3dff13['hasOwnProperty']('newRange')&&(_0xbdee7a['newRange']=_0x9aa060['Range']['toObject'](_0x3dff13['newRange'],_0x42f47b)),null!=_0x3dff13['affectsData']&&_0x3dff13['hasOwnProperty']('affectsData')&&(_0xbdee7a['affectsData']=_0x3dff13['affectsData']),null!=_0x3dff13['wasUndone']&&_0x3dff13['hasOwnProperty']('wasUndone')&&(_0xbdee7a['wasUndone']=_0x3dff13['wasUndone']),null!=_0x3dff13['_aiSource']&&_0x3dff13['hasOwnProperty']('_aiSource')&&(_0xbdee7a['_aiSource']=_0x3dff13['_aiSource']),_0xbdee7a;},_0xe71e87['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0xe71e87['getTypeUrl']=function(_0x2d888a){return void 0x0===_0x2d888a&&(_0x2d888a='type.googleapis.com'),_0x2d888a+'/MarkerOperation';},_0xe71e87;}()),_0x9aa060['MergeOperation']=(function(){function _0x253898(_0x51d43b){if(_0x51d43b){for(var _0x37a9ad=Object['keys'](_0x51d43b),_0x182fa2=0x0;_0x182fa2<_0x37a9ad['length'];++_0x182fa2)null!=_0x51d43b[_0x37a9ad[_0x182fa2]]&&'__proto__'!==_0x37a9ad[_0x182fa2]&&(this[_0x37a9ad[_0x182fa2]]=_0x51d43b[_0x37a9ad[_0x182fa2]]);}}return _0x253898['prototype']['sourcePosition']=null,_0x253898['prototype']['targetPosition']=null,_0x253898['prototype']['graveyardPosition']=null,_0x253898['prototype']['howMany']=0x0,_0x253898['prototype']['wasUndone']=!0x1,_0x253898['prototype']['_aiSource']='',_0x253898['create']=function(_0x3283aa){return new _0x253898(_0x3283aa);},_0x253898['encode']=function(_0x2cac06,_0x2a262a){return _0x2a262a||(_0x2a262a=_0x192238['create']()),null!=_0x2cac06['sourcePosition']&&Object['hasOwnProperty']['call'](_0x2cac06,'sourcePosition')&&_0x9aa060['Position']['encode'](_0x2cac06['sourcePosition'],_0x2a262a['uint32'](0xa)['fork']())['ldelim'](),null!=_0x2cac06['targetPosition']&&Object['hasOwnProperty']['call'](_0x2cac06,'targetPosition')&&_0x9aa060['Position']['encode'](_0x2cac06['targetPosition'],_0x2a262a['uint32'](0x12)['fork']())['ldelim'](),null!=_0x2cac06['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x2cac06,'graveyardPosition')&&_0x9aa060['Position']['encode'](_0x2cac06['graveyardPosition'],_0x2a262a['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x2cac06['howMany']&&Object['hasOwnProperty']['call'](_0x2cac06,'howMany')&&_0x2a262a['uint32'](0x20)['uint32'](_0x2cac06['howMany']),null!=_0x2cac06['wasUndone']&&Object['hasOwnProperty']['call'](_0x2cac06,'wasUndone')&&_0x2a262a['uint32'](0x28)['bool'](_0x2cac06['wasUndone']),null!=_0x2cac06['_aiSource']&&Object['hasOwnProperty']['call'](_0x2cac06,'_aiSource')&&_0x2a262a['uint32'](0x32)['string'](_0x2cac06['_aiSource']),_0x2a262a;},_0x253898['encodeDelimited']=function(_0x28d738,_0x5df9a9){return this['encode'](_0x28d738,_0x5df9a9)['ldelim']();},_0x253898['decode']=function(_0x35e42d,_0x3ca45d,_0x557be4,_0x539ed1){if(_0x35e42d instanceof _0x1778da||(_0x35e42d=_0x1778da['create'](_0x35e42d)),void 0x0===_0x539ed1&&(_0x539ed1=0x0),_0x539ed1>_0x1778da['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x248e36=void 0x0===_0x3ca45d?_0x35e42d['len']:_0x35e42d['pos']+_0x3ca45d,_0x5784db=new _0x9aa060['MergeOperation']();_0x35e42d['pos']<_0x248e36;){var _0x5936c5=_0x35e42d['uint32']();if(_0x5936c5===_0x557be4)break;switch(_0x5936c5>>>0x3){case 0x1:_0x5784db['sourcePosition']=_0x9aa060['Position']['decode'](_0x35e42d,_0x35e42d['uint32'](),void 0x0,_0x539ed1+0x1);break;case 0x2:_0x5784db['targetPosition']=_0x9aa060['Position']['decode'](_0x35e42d,_0x35e42d['uint32'](),void 0x0,_0x539ed1+0x1);break;case 0x3:_0x5784db['graveyardPosition']=_0x9aa060['Position']['decode'](_0x35e42d,_0x35e42d['uint32'](),void 0x0,_0x539ed1+0x1);break;case 0x4:_0x5784db['howMany']=_0x35e42d['uint32']();break;case 0x5:_0x5784db['wasUndone']=_0x35e42d['bool']();break;case 0x6:_0x5784db['_aiSource']=_0x35e42d['string']();break;default:_0x35e42d['skipType'](0x7&_0x5936c5,_0x539ed1);}}return _0x5784db;},_0x253898['decodeDelimited']=function(_0xfbde14){return _0xfbde14 instanceof _0x1778da||(_0xfbde14=new _0x1778da(_0xfbde14)),this['decode'](_0xfbde14,_0xfbde14['uint32']());},_0x253898['verify']=function(_0x3a5666,_0x3c7bb7){if('object'!=typeof _0x3a5666||null===_0x3a5666)return'object\x20expected';if(void 0x0===_0x3c7bb7&&(_0x3c7bb7=0x0),_0x3c7bb7>_0x1524dd['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0xefc153;if(null!=_0x3a5666['sourcePosition']&&_0x3a5666['hasOwnProperty']('sourcePosition')&&(_0xefc153=_0x9aa060['Position']['verify'](_0x3a5666['sourcePosition'],_0x3c7bb7+0x1)))return'sourcePosition.'+_0xefc153;if(null!=_0x3a5666['targetPosition']&&_0x3a5666['hasOwnProperty']('targetPosition')&&(_0xefc153=_0x9aa060['Position']['verify'](_0x3a5666['targetPosition'],_0x3c7bb7+0x1)))return'targetPosition.'+_0xefc153;if(null!=_0x3a5666['graveyardPosition']&&_0x3a5666['hasOwnProperty']('graveyardPosition')&&(_0xefc153=_0x9aa060['Position']['verify'](_0x3a5666['graveyardPosition'],_0x3c7bb7+0x1)))return'graveyardPosition.'+_0xefc153;return null!=_0x3a5666['howMany']&&_0x3a5666['hasOwnProperty']('howMany')&&!_0x1524dd['isInteger'](_0x3a5666['howMany'])?'howMany:\x20integer\x20expected':null!=_0x3a5666['wasUndone']&&_0x3a5666['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x3a5666['wasUndone']?'wasUndone:\x20boolean\x20expected':null!=_0x3a5666['_aiSource']&&_0x3a5666['hasOwnProperty']('_aiSource')&&!_0x1524dd['isString'](_0x3a5666['_aiSource'])?'_aiSource:\x20string\x20expected':null;},_0x253898['fromObject']=function(_0x57350f,_0x352ca0){if(_0x57350f instanceof _0x9aa060['MergeOperation'])return _0x57350f;if(void 0x0===_0x352ca0&&(_0x352ca0=0x0),_0x352ca0>_0x1524dd['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x42ee18=new _0x9aa060['MergeOperation']();if(null!=_0x57350f['sourcePosition']){if('object'!=typeof _0x57350f['sourcePosition'])throw TypeError('.MergeOperation.sourcePosition:\x20object\x20expected');_0x42ee18['sourcePosition']=_0x9aa060['Position']['fromObject'](_0x57350f['sourcePosition'],_0x352ca0+0x1);}if(null!=_0x57350f['targetPosition']){if('object'!=typeof _0x57350f['targetPosition'])throw TypeError('.MergeOperation.targetPosition:\x20object\x20expected');_0x42ee18['targetPosition']=_0x9aa060['Position']['fromObject'](_0x57350f['targetPosition'],_0x352ca0+0x1);}if(null!=_0x57350f['graveyardPosition']){if('object'!=typeof _0x57350f['graveyardPosition'])throw TypeError('.MergeOperation.graveyardPosition:\x20object\x20expected');_0x42ee18['graveyardPosition']=_0x9aa060['Position']['fromObject'](_0x57350f['graveyardPosition'],_0x352ca0+0x1);}return null!=_0x57350f['howMany']&&(_0x42ee18['howMany']=_0x57350f['howMany']>>>0x0),null!=_0x57350f['wasUndone']&&(_0x42ee18['wasUndone']=Boolean(_0x57350f['wasUndone'])),null!=_0x57350f['_aiSource']&&(_0x42ee18['_aiSource']=String(_0x57350f['_aiSource'])),_0x42ee18;},_0x253898['toObject']=function(_0x732127,_0x499741){_0x499741||(_0x499741={});var _0x1b9360={};return _0x499741['defaults']&&(_0x1b9360['sourcePosition']=null,_0x1b9360['targetPosition']=null,_0x1b9360['graveyardPosition']=null,_0x1b9360['howMany']=0x0,_0x1b9360['wasUndone']=!0x1,_0x1b9360['_aiSource']=''),null!=_0x732127['sourcePosition']&&_0x732127['hasOwnProperty']('sourcePosition')&&(_0x1b9360['sourcePosition']=_0x9aa060['Position']['toObject'](_0x732127['sourcePosition'],_0x499741)),null!=_0x732127['targetPosition']&&_0x732127['hasOwnProperty']('targetPosition')&&(_0x1b9360['targetPosition']=_0x9aa060['Position']['toObject'](_0x732127['targetPosition'],_0x499741)),null!=_0x732127['graveyardPosition']&&_0x732127['hasOwnProperty']('graveyardPosition')&&(_0x1b9360['graveyardPosition']=_0x9aa060['Position']['toObject'](_0x732127['graveyardPosition'],_0x499741)),null!=_0x732127['howMany']&&_0x732127['hasOwnProperty']('howMany')&&(_0x1b9360['howMany']=_0x732127['howMany']),null!=_0x732127['wasUndone']&&_0x732127['hasOwnProperty']('wasUndone')&&(_0x1b9360['wasUndone']=_0x732127['wasUndone']),null!=_0x732127['_aiSource']&&_0x732127['hasOwnProperty']('_aiSource')&&(_0x1b9360['_aiSource']=_0x732127['_aiSource']),_0x1b9360;},_0x253898['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x253898['getTypeUrl']=function(_0x450fba){return void 0x0===_0x450fba&&(_0x450fba='type.googleapis.com'),_0x450fba+'/MergeOperation';},_0x253898;}()),_0x9aa060['MoveOperation']=(function(){function _0x37dd29(_0x5a0866){if(_0x5a0866){for(var _0x5daa45=Object['keys'](_0x5a0866),_0xa05ebe=0x0;_0xa05ebe<_0x5daa45['length'];++_0xa05ebe)null!=_0x5a0866[_0x5daa45[_0xa05ebe]]&&'__proto__'!==_0x5daa45[_0xa05ebe]&&(this[_0x5daa45[_0xa05ebe]]=_0x5a0866[_0x5daa45[_0xa05ebe]]);}}return _0x37dd29['prototype']['sourcePosition']=null,_0x37dd29['prototype']['howMany']=0x0,_0x37dd29['prototype']['targetPosition']=null,_0x37dd29['prototype']['wasUndone']=!0x1,_0x37dd29['prototype']['_aiSource']='',_0x37dd29['create']=function(_0x5f30a8){return new _0x37dd29(_0x5f30a8);},_0x37dd29['encode']=function(_0x203197,_0x41002c){return _0x41002c||(_0x41002c=_0x192238['create']()),null!=_0x203197['sourcePosition']&&Object['hasOwnProperty']['call'](_0x203197,'sourcePosition')&&_0x9aa060['Position']['encode'](_0x203197['sourcePosition'],_0x41002c['uint32'](0xa)['fork']())['ldelim'](),null!=_0x203197['howMany']&&Object['hasOwnProperty']['call'](_0x203197,'howMany')&&_0x41002c['uint32'](0x10)['uint32'](_0x203197['howMany']),null!=_0x203197['targetPosition']&&Object['hasOwnProperty']['call'](_0x203197,'targetPosition')&&_0x9aa060['Position']['encode'](_0x203197['targetPosition'],_0x41002c['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x203197['wasUndone']&&Object['hasOwnProperty']['call'](_0x203197,'wasUndone')&&_0x41002c['uint32'](0x20)['bool'](_0x203197['wasUndone']),null!=_0x203197['_aiSource']&&Object['hasOwnProperty']['call'](_0x203197,'_aiSource')&&_0x41002c['uint32'](0x2a)['string'](_0x203197['_aiSource']),_0x41002c;},_0x37dd29['encodeDelimited']=function(_0x5e7a9b,_0x161db0){return this['encode'](_0x5e7a9b,_0x161db0)['ldelim']();},_0x37dd29['decode']=function(_0x31890c,_0x3ca03f,_0x1d71fd,_0x375ea6){if(_0x31890c instanceof _0x1778da||(_0x31890c=_0x1778da['create'](_0x31890c)),void 0x0===_0x375ea6&&(_0x375ea6=0x0),_0x375ea6>_0x1778da['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x48a954=void 0x0===_0x3ca03f?_0x31890c['len']:_0x31890c['pos']+_0x3ca03f,_0x5a7b9b=new _0x9aa060['MoveOperation']();_0x31890c['pos']<_0x48a954;){var _0x448dc3=_0x31890c['uint32']();if(_0x448dc3===_0x1d71fd)break;switch(_0x448dc3>>>0x3){case 0x1:_0x5a7b9b['sourcePosition']=_0x9aa060['Position']['decode'](_0x31890c,_0x31890c['uint32'](),void 0x0,_0x375ea6+0x1);break;case 0x2:_0x5a7b9b['howMany']=_0x31890c['uint32']();break;case 0x3:_0x5a7b9b['targetPosition']=_0x9aa060['Position']['decode'](_0x31890c,_0x31890c['uint32'](),void 0x0,_0x375ea6+0x1);break;case 0x4:_0x5a7b9b['wasUndone']=_0x31890c['bool']();break;case 0x5:_0x5a7b9b['_aiSource']=_0x31890c['string']();break;default:_0x31890c['skipType'](0x7&_0x448dc3,_0x375ea6);}}return _0x5a7b9b;},_0x37dd29['decodeDelimited']=function(_0x1bb5f1){return _0x1bb5f1 instanceof _0x1778da||(_0x1bb5f1=new _0x1778da(_0x1bb5f1)),this['decode'](_0x1bb5f1,_0x1bb5f1['uint32']());},_0x37dd29['verify']=function(_0xe7e31,_0x40005a){if('object'!=typeof _0xe7e31||null===_0xe7e31)return'object\x20expected';if(void 0x0===_0x40005a&&(_0x40005a=0x0),_0x40005a>_0x1524dd['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x571663;if(null!=_0xe7e31['sourcePosition']&&_0xe7e31['hasOwnProperty']('sourcePosition')&&(_0x571663=_0x9aa060['Position']['verify'](_0xe7e31['sourcePosition'],_0x40005a+0x1)))return'sourcePosition.'+_0x571663;if(null!=_0xe7e31['howMany']&&_0xe7e31['hasOwnProperty']('howMany')&&!_0x1524dd['isInteger'](_0xe7e31['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0xe7e31['targetPosition']&&_0xe7e31['hasOwnProperty']('targetPosition')&&(_0x571663=_0x9aa060['Position']['verify'](_0xe7e31['targetPosition'],_0x40005a+0x1)))return'targetPosition.'+_0x571663;return null!=_0xe7e31['wasUndone']&&_0xe7e31['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0xe7e31['wasUndone']?'wasUndone:\x20boolean\x20expected':null!=_0xe7e31['_aiSource']&&_0xe7e31['hasOwnProperty']('_aiSource')&&!_0x1524dd['isString'](_0xe7e31['_aiSource'])?'_aiSource:\x20string\x20expected':null;},_0x37dd29['fromObject']=function(_0x292e1a,_0x534642){if(_0x292e1a instanceof _0x9aa060['MoveOperation'])return _0x292e1a;if(void 0x0===_0x534642&&(_0x534642=0x0),_0x534642>_0x1524dd['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1efbee=new _0x9aa060['MoveOperation']();if(null!=_0x292e1a['sourcePosition']){if('object'!=typeof _0x292e1a['sourcePosition'])throw TypeError('.MoveOperation.sourcePosition:\x20object\x20expected');_0x1efbee['sourcePosition']=_0x9aa060['Position']['fromObject'](_0x292e1a['sourcePosition'],_0x534642+0x1);}if(null!=_0x292e1a['howMany']&&(_0x1efbee['howMany']=_0x292e1a['howMany']>>>0x0),null!=_0x292e1a['targetPosition']){if('object'!=typeof _0x292e1a['targetPosition'])throw TypeError('.MoveOperation.targetPosition:\x20object\x20expected');_0x1efbee['targetPosition']=_0x9aa060['Position']['fromObject'](_0x292e1a['targetPosition'],_0x534642+0x1);}return null!=_0x292e1a['wasUndone']&&(_0x1efbee['wasUndone']=Boolean(_0x292e1a['wasUndone'])),null!=_0x292e1a['_aiSource']&&(_0x1efbee['_aiSource']=String(_0x292e1a['_aiSource'])),_0x1efbee;},_0x37dd29['toObject']=function(_0x213e16,_0x1173a5){_0x1173a5||(_0x1173a5={});var _0x59de4c={};return _0x1173a5['defaults']&&(_0x59de4c['sourcePosition']=null,_0x59de4c['howMany']=0x0,_0x59de4c['targetPosition']=null,_0x59de4c['wasUndone']=!0x1,_0x59de4c['_aiSource']=''),null!=_0x213e16['sourcePosition']&&_0x213e16['hasOwnProperty']('sourcePosition')&&(_0x59de4c['sourcePosition']=_0x9aa060['Position']['toObject'](_0x213e16['sourcePosition'],_0x1173a5)),null!=_0x213e16['howMany']&&_0x213e16['hasOwnProperty']('howMany')&&(_0x59de4c['howMany']=_0x213e16['howMany']),null!=_0x213e16['targetPosition']&&_0x213e16['hasOwnProperty']('targetPosition')&&(_0x59de4c['targetPosition']=_0x9aa060['Position']['toObject'](_0x213e16['targetPosition'],_0x1173a5)),null!=_0x213e16['wasUndone']&&_0x213e16['hasOwnProperty']('wasUndone')&&(_0x59de4c['wasUndone']=_0x213e16['wasUndone']),null!=_0x213e16['_aiSource']&&_0x213e16['hasOwnProperty']('_aiSource')&&(_0x59de4c['_aiSource']=_0x213e16['_aiSource']),_0x59de4c;},_0x37dd29['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x37dd29['getTypeUrl']=function(_0x2256ea){return void 0x0===_0x2256ea&&(_0x2256ea='type.googleapis.com'),_0x2256ea+'/MoveOperation';},_0x37dd29;}()),_0x9aa060['RenameOperation']=(function(){function _0x3a9bee(_0xcd849e){if(_0xcd849e){for(var _0x211da5=Object['keys'](_0xcd849e),_0x300af4=0x0;_0x300af4<_0x211da5['length'];++_0x300af4)null!=_0xcd849e[_0x211da5[_0x300af4]]&&'__proto__'!==_0x211da5[_0x300af4]&&(this[_0x211da5[_0x300af4]]=_0xcd849e[_0x211da5[_0x300af4]]);}}return _0x3a9bee['prototype']['position']=null,_0x3a9bee['prototype']['oldName']='',_0x3a9bee['prototype']['newName']='',_0x3a9bee['prototype']['wasUndone']=!0x1,_0x3a9bee['prototype']['_aiSource']='',_0x3a9bee['create']=function(_0x250ffe){return new _0x3a9bee(_0x250ffe);},_0x3a9bee['encode']=function(_0x185db0,_0x2360f9){return _0x2360f9||(_0x2360f9=_0x192238['create']()),null!=_0x185db0['position']&&Object['hasOwnProperty']['call'](_0x185db0,'position')&&_0x9aa060['Position']['encode'](_0x185db0['position'],_0x2360f9['uint32'](0xa)['fork']())['ldelim'](),null!=_0x185db0['oldName']&&Object['hasOwnProperty']['call'](_0x185db0,'oldName')&&_0x2360f9['uint32'](0x12)['string'](_0x185db0['oldName']),null!=_0x185db0['newName']&&Object['hasOwnProperty']['call'](_0x185db0,'newName')&&_0x2360f9['uint32'](0x1a)['string'](_0x185db0['newName']),null!=_0x185db0['wasUndone']&&Object['hasOwnProperty']['call'](_0x185db0,'wasUndone')&&_0x2360f9['uint32'](0x20)['bool'](_0x185db0['wasUndone']),null!=_0x185db0['_aiSource']&&Object['hasOwnProperty']['call'](_0x185db0,'_aiSource')&&_0x2360f9['uint32'](0x2a)['string'](_0x185db0['_aiSource']),_0x2360f9;},_0x3a9bee['encodeDelimited']=function(_0x232835,_0x1688ec){return this['encode'](_0x232835,_0x1688ec)['ldelim']();},_0x3a9bee['decode']=function(_0x3addee,_0x3a565e,_0x21a1d8,_0x324f96){if(_0x3addee instanceof _0x1778da||(_0x3addee=_0x1778da['create'](_0x3addee)),void 0x0===_0x324f96&&(_0x324f96=0x0),_0x324f96>_0x1778da['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x39f827=void 0x0===_0x3a565e?_0x3addee['len']:_0x3addee['pos']+_0x3a565e,_0x3902a3=new _0x9aa060['RenameOperation']();_0x3addee['pos']<_0x39f827;){var _0xf5ed30=_0x3addee['uint32']();if(_0xf5ed30===_0x21a1d8)break;switch(_0xf5ed30>>>0x3){case 0x1:_0x3902a3['position']=_0x9aa060['Position']['decode'](_0x3addee,_0x3addee['uint32'](),void 0x0,_0x324f96+0x1);break;case 0x2:_0x3902a3['oldName']=_0x3addee['string']();break;case 0x3:_0x3902a3['newName']=_0x3addee['string']();break;case 0x4:_0x3902a3['wasUndone']=_0x3addee['bool']();break;case 0x5:_0x3902a3['_aiSource']=_0x3addee['string']();break;default:_0x3addee['skipType'](0x7&_0xf5ed30,_0x324f96);}}return _0x3902a3;},_0x3a9bee['decodeDelimited']=function(_0x1188f8){return _0x1188f8 instanceof _0x1778da||(_0x1188f8=new _0x1778da(_0x1188f8)),this['decode'](_0x1188f8,_0x1188f8['uint32']());},_0x3a9bee['verify']=function(_0x562354,_0x429828){if('object'!=typeof _0x562354||null===_0x562354)return'object\x20expected';if(void 0x0===_0x429828&&(_0x429828=0x0),_0x429828>_0x1524dd['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x562354['position']&&_0x562354['hasOwnProperty']('position')){var _0x3da462=_0x9aa060['Position']['verify'](_0x562354['position'],_0x429828+0x1);if(_0x3da462)return'position.'+_0x3da462;}return null!=_0x562354['oldName']&&_0x562354['hasOwnProperty']('oldName')&&!_0x1524dd['isString'](_0x562354['oldName'])?'oldName:\x20string\x20expected':null!=_0x562354['newName']&&_0x562354['hasOwnProperty']('newName')&&!_0x1524dd['isString'](_0x562354['newName'])?'newName:\x20string\x20expected':null!=_0x562354['wasUndone']&&_0x562354['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x562354['wasUndone']?'wasUndone:\x20boolean\x20expected':null!=_0x562354['_aiSource']&&_0x562354['hasOwnProperty']('_aiSource')&&!_0x1524dd['isString'](_0x562354['_aiSource'])?'_aiSource:\x20string\x20expected':null;},_0x3a9bee['fromObject']=function(_0x2c8067,_0x40f2bd){if(_0x2c8067 instanceof _0x9aa060['RenameOperation'])return _0x2c8067;if(void 0x0===_0x40f2bd&&(_0x40f2bd=0x0),_0x40f2bd>_0x1524dd['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x50e961=new _0x9aa060['RenameOperation']();if(null!=_0x2c8067['position']){if('object'!=typeof _0x2c8067['position'])throw TypeError('.RenameOperation.position:\x20object\x20expected');_0x50e961['position']=_0x9aa060['Position']['fromObject'](_0x2c8067['position'],_0x40f2bd+0x1);}return null!=_0x2c8067['oldName']&&(_0x50e961['oldName']=String(_0x2c8067['oldName'])),null!=_0x2c8067['newName']&&(_0x50e961['newName']=String(_0x2c8067['newName'])),null!=_0x2c8067['wasUndone']&&(_0x50e961['wasUndone']=Boolean(_0x2c8067['wasUndone'])),null!=_0x2c8067['_aiSource']&&(_0x50e961['_aiSource']=String(_0x2c8067['_aiSource'])),_0x50e961;},_0x3a9bee['toObject']=function(_0xcd6a9a,_0x3e2bad){_0x3e2bad||(_0x3e2bad={});var _0xe69c67={};return _0x3e2bad['defaults']&&(_0xe69c67['position']=null,_0xe69c67['oldName']='',_0xe69c67['newName']='',_0xe69c67['wasUndone']=!0x1,_0xe69c67['_aiSource']=''),null!=_0xcd6a9a['position']&&_0xcd6a9a['hasOwnProperty']('position')&&(_0xe69c67['position']=_0x9aa060['Position']['toObject'](_0xcd6a9a['position'],_0x3e2bad)),null!=_0xcd6a9a['oldName']&&_0xcd6a9a['hasOwnProperty']('oldName')&&(_0xe69c67['oldName']=_0xcd6a9a['oldName']),null!=_0xcd6a9a['newName']&&_0xcd6a9a['hasOwnProperty']('newName')&&(_0xe69c67['newName']=_0xcd6a9a['newName']),null!=_0xcd6a9a['wasUndone']&&_0xcd6a9a['hasOwnProperty']('wasUndone')&&(_0xe69c67['wasUndone']=_0xcd6a9a['wasUndone']),null!=_0xcd6a9a['_aiSource']&&_0xcd6a9a['hasOwnProperty']('_aiSource')&&(_0xe69c67['_aiSource']=_0xcd6a9a['_aiSource']),_0xe69c67;},_0x3a9bee['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x3a9bee['getTypeUrl']=function(_0x15dbb3){return void 0x0===_0x15dbb3&&(_0x15dbb3='type.googleapis.com'),_0x15dbb3+'/RenameOperation';},_0x3a9bee;}()),_0x9aa060['RootAttributeOperation']=(function(){function _0x5ee5e2(_0x1dfe63){if(_0x1dfe63){for(var _0xa246f5=Object['keys'](_0x1dfe63),_0x38a0c7=0x0;_0x38a0c7<_0xa246f5['length'];++_0x38a0c7)null!=_0x1dfe63[_0xa246f5[_0x38a0c7]]&&'__proto__'!==_0xa246f5[_0x38a0c7]&&(this[_0xa246f5[_0x38a0c7]]=_0x1dfe63[_0xa246f5[_0x38a0c7]]);}}return _0x5ee5e2['prototype']['root']='',_0x5ee5e2['prototype']['key']='',_0x5ee5e2['prototype']['oldValueBoolean']=!0x1,_0x5ee5e2['prototype']['oldValueJson']='',_0x5ee5e2['prototype']['newValueBoolean']=!0x1,_0x5ee5e2['prototype']['newValueJson']='',_0x5ee5e2['prototype']['wasUndone']=!0x1,_0x5ee5e2['prototype']['_aiSource']='',_0x5ee5e2['create']=function(_0x342ba5){return new _0x5ee5e2(_0x342ba5);},_0x5ee5e2['encode']=function(_0x163e7c,_0x6e0982){return _0x6e0982||(_0x6e0982=_0x192238['create']()),null!=_0x163e7c['root']&&Object['hasOwnProperty']['call'](_0x163e7c,'root')&&_0x6e0982['uint32'](0xa)['string'](_0x163e7c['root']),null!=_0x163e7c['key']&&Object['hasOwnProperty']['call'](_0x163e7c,'key')&&_0x6e0982['uint32'](0x12)['string'](_0x163e7c['key']),null!=_0x163e7c['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x163e7c,'oldValueBoolean')&&_0x6e0982['uint32'](0x18)['bool'](_0x163e7c['oldValueBoolean']),null!=_0x163e7c['oldValueJson']&&Object['hasOwnProperty']['call'](_0x163e7c,'oldValueJson')&&_0x6e0982['uint32'](0x22)['string'](_0x163e7c['oldValueJson']),null!=_0x163e7c['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x163e7c,'newValueBoolean')&&_0x6e0982['uint32'](0x28)['bool'](_0x163e7c['newValueBoolean']),null!=_0x163e7c['newValueJson']&&Object['hasOwnProperty']['call'](_0x163e7c,'newValueJson')&&_0x6e0982['uint32'](0x32)['string'](_0x163e7c['newValueJson']),null!=_0x163e7c['wasUndone']&&Object['hasOwnProperty']['call'](_0x163e7c,'wasUndone')&&_0x6e0982['uint32'](0x38)['bool'](_0x163e7c['wasUndone']),null!=_0x163e7c['_aiSource']&&Object['hasOwnProperty']['call'](_0x163e7c,'_aiSource')&&_0x6e0982['uint32'](0x42)['string'](_0x163e7c['_aiSource']),_0x6e0982;},_0x5ee5e2['encodeDelimited']=function(_0x34989f,_0x3d57ea){return this['encode'](_0x34989f,_0x3d57ea)['ldelim']();},_0x5ee5e2['decode']=function(_0xcfb13a,_0x3e827e,_0x5ebed8,_0x3e574f){if(_0xcfb13a instanceof _0x1778da||(_0xcfb13a=_0x1778da['create'](_0xcfb13a)),void 0x0===_0x3e574f&&(_0x3e574f=0x0),_0x3e574f>_0x1778da['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x125990=void 0x0===_0x3e827e?_0xcfb13a['len']:_0xcfb13a['pos']+_0x3e827e,_0x162069=new _0x9aa060['RootAttributeOperation']();_0xcfb13a['pos']<_0x125990;){var _0x386dfb=_0xcfb13a['uint32']();if(_0x386dfb===_0x5ebed8)break;switch(_0x386dfb>>>0x3){case 0x1:_0x162069['root']=_0xcfb13a['string']();break;case 0x2:_0x162069['key']=_0xcfb13a['string']();break;case 0x3:_0x162069['oldValueBoolean']=_0xcfb13a['bool']();break;case 0x4:_0x162069['oldValueJson']=_0xcfb13a['string']();break;case 0x5:_0x162069['newValueBoolean']=_0xcfb13a['bool']();break;case 0x6:_0x162069['newValueJson']=_0xcfb13a['string']();break;case 0x7:_0x162069['wasUndone']=_0xcfb13a['bool']();break;case 0x8:_0x162069['_aiSource']=_0xcfb13a['string']();break;default:_0xcfb13a['skipType'](0x7&_0x386dfb,_0x3e574f);}}return _0x162069;},_0x5ee5e2['decodeDelimited']=function(_0x459b7b){return _0x459b7b instanceof _0x1778da||(_0x459b7b=new _0x1778da(_0x459b7b)),this['decode'](_0x459b7b,_0x459b7b['uint32']());},_0x5ee5e2['verify']=function(_0x5487c1,_0x125fe1){return'object'!=typeof _0x5487c1||null===_0x5487c1?'object\x20expected':(void 0x0===_0x125fe1&&(_0x125fe1=0x0),_0x125fe1>_0x1524dd['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5487c1['root']&&_0x5487c1['hasOwnProperty']('root')&&!_0x1524dd['isString'](_0x5487c1['root'])?'root:\x20string\x20expected':null!=_0x5487c1['key']&&_0x5487c1['hasOwnProperty']('key')&&!_0x1524dd['isString'](_0x5487c1['key'])?'key:\x20string\x20expected':null!=_0x5487c1['oldValueBoolean']&&_0x5487c1['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x5487c1['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x5487c1['oldValueJson']&&_0x5487c1['hasOwnProperty']('oldValueJson')&&!_0x1524dd['isString'](_0x5487c1['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x5487c1['newValueBoolean']&&_0x5487c1['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x5487c1['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x5487c1['newValueJson']&&_0x5487c1['hasOwnProperty']('newValueJson')&&!_0x1524dd['isString'](_0x5487c1['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x5487c1['wasUndone']&&_0x5487c1['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x5487c1['wasUndone']?'wasUndone:\x20boolean\x20expected':null!=_0x5487c1['_aiSource']&&_0x5487c1['hasOwnProperty']('_aiSource')&&!_0x1524dd['isString'](_0x5487c1['_aiSource'])?'_aiSource:\x20string\x20expected':null);},_0x5ee5e2['fromObject']=function(_0xd3afa9,_0x5e048e){if(_0xd3afa9 instanceof _0x9aa060['RootAttributeOperation'])return _0xd3afa9;if(void 0x0===_0x5e048e&&(_0x5e048e=0x0),_0x5e048e>_0x1524dd['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x40b9a9=new _0x9aa060['RootAttributeOperation']();return null!=_0xd3afa9['root']&&(_0x40b9a9['root']=String(_0xd3afa9['root'])),null!=_0xd3afa9['key']&&(_0x40b9a9['key']=String(_0xd3afa9['key'])),null!=_0xd3afa9['oldValueBoolean']&&(_0x40b9a9['oldValueBoolean']=Boolean(_0xd3afa9['oldValueBoolean'])),null!=_0xd3afa9['oldValueJson']&&(_0x40b9a9['oldValueJson']=String(_0xd3afa9['oldValueJson'])),null!=_0xd3afa9['newValueBoolean']&&(_0x40b9a9['newValueBoolean']=Boolean(_0xd3afa9['newValueBoolean'])),null!=_0xd3afa9['newValueJson']&&(_0x40b9a9['newValueJson']=String(_0xd3afa9['newValueJson'])),null!=_0xd3afa9['wasUndone']&&(_0x40b9a9['wasUndone']=Boolean(_0xd3afa9['wasUndone'])),null!=_0xd3afa9['_aiSource']&&(_0x40b9a9['_aiSource']=String(_0xd3afa9['_aiSource'])),_0x40b9a9;},_0x5ee5e2['toObject']=function(_0x15e454,_0x2fb3f0){_0x2fb3f0||(_0x2fb3f0={});var _0x230dd6={};return _0x2fb3f0['defaults']&&(_0x230dd6['root']='',_0x230dd6['key']='',_0x230dd6['oldValueBoolean']=!0x1,_0x230dd6['oldValueJson']='',_0x230dd6['newValueBoolean']=!0x1,_0x230dd6['newValueJson']='',_0x230dd6['wasUndone']=!0x1,_0x230dd6['_aiSource']=''),null!=_0x15e454['root']&&_0x15e454['hasOwnProperty']('root')&&(_0x230dd6['root']=_0x15e454['root']),null!=_0x15e454['key']&&_0x15e454['hasOwnProperty']('key')&&(_0x230dd6['key']=_0x15e454['key']),null!=_0x15e454['oldValueBoolean']&&_0x15e454['hasOwnProperty']('oldValueBoolean')&&(_0x230dd6['oldValueBoolean']=_0x15e454['oldValueBoolean']),null!=_0x15e454['oldValueJson']&&_0x15e454['hasOwnProperty']('oldValueJson')&&(_0x230dd6['oldValueJson']=_0x15e454['oldValueJson']),null!=_0x15e454['newValueBoolean']&&_0x15e454['hasOwnProperty']('newValueBoolean')&&(_0x230dd6['newValueBoolean']=_0x15e454['newValueBoolean']),null!=_0x15e454['newValueJson']&&_0x15e454['hasOwnProperty']('newValueJson')&&(_0x230dd6['newValueJson']=_0x15e454['newValueJson']),null!=_0x15e454['wasUndone']&&_0x15e454['hasOwnProperty']('wasUndone')&&(_0x230dd6['wasUndone']=_0x15e454['wasUndone']),null!=_0x15e454['_aiSource']&&_0x15e454['hasOwnProperty']('_aiSource')&&(_0x230dd6['_aiSource']=_0x15e454['_aiSource']),_0x230dd6;},_0x5ee5e2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x5ee5e2['getTypeUrl']=function(_0x1a55e0){return void 0x0===_0x1a55e0&&(_0x1a55e0='type.googleapis.com'),_0x1a55e0+'/RootAttributeOperation';},_0x5ee5e2;}()),_0x9aa060['RootOperation']=(function(){function _0x3159a2(_0x22924c){if(_0x22924c){for(var _0x140eb5=Object['keys'](_0x22924c),_0x7a6d5a=0x0;_0x7a6d5a<_0x140eb5['length'];++_0x7a6d5a)null!=_0x22924c[_0x140eb5[_0x7a6d5a]]&&'__proto__'!==_0x140eb5[_0x7a6d5a]&&(this[_0x140eb5[_0x7a6d5a]]=_0x22924c[_0x140eb5[_0x7a6d5a]]);}}return _0x3159a2['prototype']['rootName']='',_0x3159a2['prototype']['elementName']='',_0x3159a2['prototype']['isAdd']=!0x1,_0x3159a2['prototype']['wasUndone']=!0x1,_0x3159a2['prototype']['_aiSource']='',_0x3159a2['create']=function(_0xd459e0){return new _0x3159a2(_0xd459e0);},_0x3159a2['encode']=function(_0x6e5125,_0x682fdd){return _0x682fdd||(_0x682fdd=_0x192238['create']()),null!=_0x6e5125['rootName']&&Object['hasOwnProperty']['call'](_0x6e5125,'rootName')&&_0x682fdd['uint32'](0xa)['string'](_0x6e5125['rootName']),null!=_0x6e5125['elementName']&&Object['hasOwnProperty']['call'](_0x6e5125,'elementName')&&_0x682fdd['uint32'](0x12)['string'](_0x6e5125['elementName']),null!=_0x6e5125['isAdd']&&Object['hasOwnProperty']['call'](_0x6e5125,'isAdd')&&_0x682fdd['uint32'](0x18)['bool'](_0x6e5125['isAdd']),null!=_0x6e5125['wasUndone']&&Object['hasOwnProperty']['call'](_0x6e5125,'wasUndone')&&_0x682fdd['uint32'](0x20)['bool'](_0x6e5125['wasUndone']),null!=_0x6e5125['_aiSource']&&Object['hasOwnProperty']['call'](_0x6e5125,'_aiSource')&&_0x682fdd['uint32'](0x2a)['string'](_0x6e5125['_aiSource']),_0x682fdd;},_0x3159a2['encodeDelimited']=function(_0x30021d,_0x488bb4){return this['encode'](_0x30021d,_0x488bb4)['ldelim']();},_0x3159a2['decode']=function(_0xcd1f80,_0x386f50,_0x5ca2ba,_0x13914a){if(_0xcd1f80 instanceof _0x1778da||(_0xcd1f80=_0x1778da['create'](_0xcd1f80)),void 0x0===_0x13914a&&(_0x13914a=0x0),_0x13914a>_0x1778da['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x29e9b9=void 0x0===_0x386f50?_0xcd1f80['len']:_0xcd1f80['pos']+_0x386f50,_0x29284f=new _0x9aa060['RootOperation']();_0xcd1f80['pos']<_0x29e9b9;){var _0x354437=_0xcd1f80['uint32']();if(_0x354437===_0x5ca2ba)break;switch(_0x354437>>>0x3){case 0x1:_0x29284f['rootName']=_0xcd1f80['string']();break;case 0x2:_0x29284f['elementName']=_0xcd1f80['string']();break;case 0x3:_0x29284f['isAdd']=_0xcd1f80['bool']();break;case 0x4:_0x29284f['wasUndone']=_0xcd1f80['bool']();break;case 0x5:_0x29284f['_aiSource']=_0xcd1f80['string']();break;default:_0xcd1f80['skipType'](0x7&_0x354437,_0x13914a);}}return _0x29284f;},_0x3159a2['decodeDelimited']=function(_0x579c59){return _0x579c59 instanceof _0x1778da||(_0x579c59=new _0x1778da(_0x579c59)),this['decode'](_0x579c59,_0x579c59['uint32']());},_0x3159a2['verify']=function(_0x8edd1,_0x1f0563){return'object'!=typeof _0x8edd1||null===_0x8edd1?'object\x20expected':(void 0x0===_0x1f0563&&(_0x1f0563=0x0),_0x1f0563>_0x1524dd['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x8edd1['rootName']&&_0x8edd1['hasOwnProperty']('rootName')&&!_0x1524dd['isString'](_0x8edd1['rootName'])?'rootName:\x20string\x20expected':null!=_0x8edd1['elementName']&&_0x8edd1['hasOwnProperty']('elementName')&&!_0x1524dd['isString'](_0x8edd1['elementName'])?'elementName:\x20string\x20expected':null!=_0x8edd1['isAdd']&&_0x8edd1['hasOwnProperty']('isAdd')&&'boolean'!=typeof _0x8edd1['isAdd']?'isAdd:\x20boolean\x20expected':null!=_0x8edd1['wasUndone']&&_0x8edd1['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x8edd1['wasUndone']?'wasUndone:\x20boolean\x20expected':null!=_0x8edd1['_aiSource']&&_0x8edd1['hasOwnProperty']('_aiSource')&&!_0x1524dd['isString'](_0x8edd1['_aiSource'])?'_aiSource:\x20string\x20expected':null);},_0x3159a2['fromObject']=function(_0x206757,_0x3b664b){if(_0x206757 instanceof _0x9aa060['RootOperation'])return _0x206757;if(void 0x0===_0x3b664b&&(_0x3b664b=0x0),_0x3b664b>_0x1524dd['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x39dd64=new _0x9aa060['RootOperation']();return null!=_0x206757['rootName']&&(_0x39dd64['rootName']=String(_0x206757['rootName'])),null!=_0x206757['elementName']&&(_0x39dd64['elementName']=String(_0x206757['elementName'])),null!=_0x206757['isAdd']&&(_0x39dd64['isAdd']=Boolean(_0x206757['isAdd'])),null!=_0x206757['wasUndone']&&(_0x39dd64['wasUndone']=Boolean(_0x206757['wasUndone'])),null!=_0x206757['_aiSource']&&(_0x39dd64['_aiSource']=String(_0x206757['_aiSource'])),_0x39dd64;},_0x3159a2['toObject']=function(_0x3d49b9,_0x213cda){_0x213cda||(_0x213cda={});var _0x1406bb={};return _0x213cda['defaults']&&(_0x1406bb['rootName']='',_0x1406bb['elementName']='',_0x1406bb['isAdd']=!0x1,_0x1406bb['wasUndone']=!0x1,_0x1406bb['_aiSource']=''),null!=_0x3d49b9['rootName']&&_0x3d49b9['hasOwnProperty']('rootName')&&(_0x1406bb['rootName']=_0x3d49b9['rootName']),null!=_0x3d49b9['elementName']&&_0x3d49b9['hasOwnProperty']('elementName')&&(_0x1406bb['elementName']=_0x3d49b9['elementName']),null!=_0x3d49b9['isAdd']&&_0x3d49b9['hasOwnProperty']('isAdd')&&(_0x1406bb['isAdd']=_0x3d49b9['isAdd']),null!=_0x3d49b9['wasUndone']&&_0x3d49b9['hasOwnProperty']('wasUndone')&&(_0x1406bb['wasUndone']=_0x3d49b9['wasUndone']),null!=_0x3d49b9['_aiSource']&&_0x3d49b9['hasOwnProperty']('_aiSource')&&(_0x1406bb['_aiSource']=_0x3d49b9['_aiSource']),_0x1406bb;},_0x3159a2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x3159a2['getTypeUrl']=function(_0x174c8e){return void 0x0===_0x174c8e&&(_0x174c8e='type.googleapis.com'),_0x174c8e+'/RootOperation';},_0x3159a2;}()),_0x9aa060['SplitOperation']=(function(){function _0x1ba248(_0x4cf7fa){if(_0x4cf7fa){for(var _0x20050e=Object['keys'](_0x4cf7fa),_0x2da063=0x0;_0x2da063<_0x20050e['length'];++_0x2da063)null!=_0x4cf7fa[_0x20050e[_0x2da063]]&&'__proto__'!==_0x20050e[_0x2da063]&&(this[_0x20050e[_0x2da063]]=_0x4cf7fa[_0x20050e[_0x2da063]]);}}return _0x1ba248['prototype']['splitPosition']=null,_0x1ba248['prototype']['graveyardPosition']=null,_0x1ba248['prototype']['howMany']=0x0,_0x1ba248['prototype']['insertionPosition']=null,_0x1ba248['prototype']['wasUndone']=!0x1,_0x1ba248['prototype']['_aiSource']='',_0x1ba248['create']=function(_0x49b593){return new _0x1ba248(_0x49b593);},_0x1ba248['encode']=function(_0x1ba874,_0x1ac097){return _0x1ac097||(_0x1ac097=_0x192238['create']()),null!=_0x1ba874['splitPosition']&&Object['hasOwnProperty']['call'](_0x1ba874,'splitPosition')&&_0x9aa060['Position']['encode'](_0x1ba874['splitPosition'],_0x1ac097['uint32'](0xa)['fork']())['ldelim'](),null!=_0x1ba874['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x1ba874,'graveyardPosition')&&_0x9aa060['Position']['encode'](_0x1ba874['graveyardPosition'],_0x1ac097['uint32'](0x12)['fork']())['ldelim'](),null!=_0x1ba874['howMany']&&Object['hasOwnProperty']['call'](_0x1ba874,'howMany')&&_0x1ac097['uint32'](0x18)['uint32'](_0x1ba874['howMany']),null!=_0x1ba874['insertionPosition']&&Object['hasOwnProperty']['call'](_0x1ba874,'insertionPosition')&&_0x9aa060['Position']['encode'](_0x1ba874['insertionPosition'],_0x1ac097['uint32'](0x22)['fork']())['ldelim'](),null!=_0x1ba874['wasUndone']&&Object['hasOwnProperty']['call'](_0x1ba874,'wasUndone')&&_0x1ac097['uint32'](0x28)['bool'](_0x1ba874['wasUndone']),null!=_0x1ba874['_aiSource']&&Object['hasOwnProperty']['call'](_0x1ba874,'_aiSource')&&_0x1ac097['uint32'](0x32)['string'](_0x1ba874['_aiSource']),_0x1ac097;},_0x1ba248['encodeDelimited']=function(_0xb3b61f,_0x17ac15){return this['encode'](_0xb3b61f,_0x17ac15)['ldelim']();},_0x1ba248['decode']=function(_0x150597,_0x94a111,_0x4e2ae2,_0x58e7fd){if(_0x150597 instanceof _0x1778da||(_0x150597=_0x1778da['create'](_0x150597)),void 0x0===_0x58e7fd&&(_0x58e7fd=0x0),_0x58e7fd>_0x1778da['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2f1337=void 0x0===_0x94a111?_0x150597['len']:_0x150597['pos']+_0x94a111,_0x511047=new _0x9aa060['SplitOperation']();_0x150597['pos']<_0x2f1337;){var _0xc68f8d=_0x150597['uint32']();if(_0xc68f8d===_0x4e2ae2)break;switch(_0xc68f8d>>>0x3){case 0x1:_0x511047['splitPosition']=_0x9aa060['Position']['decode'](_0x150597,_0x150597['uint32'](),void 0x0,_0x58e7fd+0x1);break;case 0x2:_0x511047['graveyardPosition']=_0x9aa060['Position']['decode'](_0x150597,_0x150597['uint32'](),void 0x0,_0x58e7fd+0x1);break;case 0x3:_0x511047['howMany']=_0x150597['uint32']();break;case 0x4:_0x511047['insertionPosition']=_0x9aa060['Position']['decode'](_0x150597,_0x150597['uint32'](),void 0x0,_0x58e7fd+0x1);break;case 0x5:_0x511047['wasUndone']=_0x150597['bool']();break;case 0x6:_0x511047['_aiSource']=_0x150597['string']();break;default:_0x150597['skipType'](0x7&_0xc68f8d,_0x58e7fd);}}return _0x511047;},_0x1ba248['decodeDelimited']=function(_0x36f616){return _0x36f616 instanceof _0x1778da||(_0x36f616=new _0x1778da(_0x36f616)),this['decode'](_0x36f616,_0x36f616['uint32']());},_0x1ba248['verify']=function(_0x46e973,_0x41a587){if('object'!=typeof _0x46e973||null===_0x46e973)return'object\x20expected';if(void 0x0===_0x41a587&&(_0x41a587=0x0),_0x41a587>_0x1524dd['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x379aed;if(null!=_0x46e973['splitPosition']&&_0x46e973['hasOwnProperty']('splitPosition')&&(_0x379aed=_0x9aa060['Position']['verify'](_0x46e973['splitPosition'],_0x41a587+0x1)))return'splitPosition.'+_0x379aed;if(null!=_0x46e973['graveyardPosition']&&_0x46e973['hasOwnProperty']('graveyardPosition')&&(_0x379aed=_0x9aa060['Position']['verify'](_0x46e973['graveyardPosition'],_0x41a587+0x1)))return'graveyardPosition.'+_0x379aed;if(null!=_0x46e973['howMany']&&_0x46e973['hasOwnProperty']('howMany')&&!_0x1524dd['isInteger'](_0x46e973['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x46e973['insertionPosition']&&_0x46e973['hasOwnProperty']('insertionPosition')&&(_0x379aed=_0x9aa060['Position']['verify'](_0x46e973['insertionPosition'],_0x41a587+0x1)))return'insertionPosition.'+_0x379aed;return null!=_0x46e973['wasUndone']&&_0x46e973['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x46e973['wasUndone']?'wasUndone:\x20boolean\x20expected':null!=_0x46e973['_aiSource']&&_0x46e973['hasOwnProperty']('_aiSource')&&!_0x1524dd['isString'](_0x46e973['_aiSource'])?'_aiSource:\x20string\x20expected':null;},_0x1ba248['fromObject']=function(_0x36d810,_0x62efd7){if(_0x36d810 instanceof _0x9aa060['SplitOperation'])return _0x36d810;if(void 0x0===_0x62efd7&&(_0x62efd7=0x0),_0x62efd7>_0x1524dd['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3a38c9=new _0x9aa060['SplitOperation']();if(null!=_0x36d810['splitPosition']){if('object'!=typeof _0x36d810['splitPosition'])throw TypeError('.SplitOperation.splitPosition:\x20object\x20expected');_0x3a38c9['splitPosition']=_0x9aa060['Position']['fromObject'](_0x36d810['splitPosition'],_0x62efd7+0x1);}if(null!=_0x36d810['graveyardPosition']){if('object'!=typeof _0x36d810['graveyardPosition'])throw TypeError('.SplitOperation.graveyardPosition:\x20object\x20expected');_0x3a38c9['graveyardPosition']=_0x9aa060['Position']['fromObject'](_0x36d810['graveyardPosition'],_0x62efd7+0x1);}if(null!=_0x36d810['howMany']&&(_0x3a38c9['howMany']=_0x36d810['howMany']>>>0x0),null!=_0x36d810['insertionPosition']){if('object'!=typeof _0x36d810['insertionPosition'])throw TypeError('.SplitOperation.insertionPosition:\x20object\x20expected');_0x3a38c9['insertionPosition']=_0x9aa060['Position']['fromObject'](_0x36d810['insertionPosition'],_0x62efd7+0x1);}return null!=_0x36d810['wasUndone']&&(_0x3a38c9['wasUndone']=Boolean(_0x36d810['wasUndone'])),null!=_0x36d810['_aiSource']&&(_0x3a38c9['_aiSource']=String(_0x36d810['_aiSource'])),_0x3a38c9;},_0x1ba248['toObject']=function(_0x4de45c,_0x404d06){_0x404d06||(_0x404d06={});var _0x42a028={};return _0x404d06['defaults']&&(_0x42a028['splitPosition']=null,_0x42a028['graveyardPosition']=null,_0x42a028['howMany']=0x0,_0x42a028['insertionPosition']=null,_0x42a028['wasUndone']=!0x1,_0x42a028['_aiSource']=''),null!=_0x4de45c['splitPosition']&&_0x4de45c['hasOwnProperty']('splitPosition')&&(_0x42a028['splitPosition']=_0x9aa060['Position']['toObject'](_0x4de45c['splitPosition'],_0x404d06)),null!=_0x4de45c['graveyardPosition']&&_0x4de45c['hasOwnProperty']('graveyardPosition')&&(_0x42a028['graveyardPosition']=_0x9aa060['Position']['toObject'](_0x4de45c['graveyardPosition'],_0x404d06)),null!=_0x4de45c['howMany']&&_0x4de45c['hasOwnProperty']('howMany')&&(_0x42a028['howMany']=_0x4de45c['howMany']),null!=_0x4de45c['insertionPosition']&&_0x4de45c['hasOwnProperty']('insertionPosition')&&(_0x42a028['insertionPosition']=_0x9aa060['Position']['toObject'](_0x4de45c['insertionPosition'],_0x404d06)),null!=_0x4de45c['wasUndone']&&_0x4de45c['hasOwnProperty']('wasUndone')&&(_0x42a028['wasUndone']=_0x4de45c['wasUndone']),null!=_0x4de45c['_aiSource']&&_0x4de45c['hasOwnProperty']('_aiSource')&&(_0x42a028['_aiSource']=_0x4de45c['_aiSource']),_0x42a028;},_0x1ba248['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x1ba248['getTypeUrl']=function(_0xeaf231){return void 0x0===_0xeaf231&&(_0xeaf231='type.googleapis.com'),_0xeaf231+'/SplitOperation';},_0x1ba248;}()),_0x9aa060['Position']=(function(){function _0x3134ef(_0x5c002d){if(this['path']=[],_0x5c002d){for(var _0x2ef5f6=Object['keys'](_0x5c002d),_0x248455=0x0;_0x248455<_0x2ef5f6['length'];++_0x248455)null!=_0x5c002d[_0x2ef5f6[_0x248455]]&&'__proto__'!==_0x2ef5f6[_0x248455]&&(this[_0x2ef5f6[_0x248455]]=_0x5c002d[_0x2ef5f6[_0x248455]]);}}return _0x3134ef['prototype']['root']='',_0x3134ef['prototype']['rootMain']=!0x1,_0x3134ef['prototype']['rootGraveyard']=!0x1,_0x3134ef['prototype']['path']=_0x1524dd['emptyArray'],_0x3134ef['prototype']['stickiness']='',_0x3134ef['create']=function(_0xdac850){return new _0x3134ef(_0xdac850);},_0x3134ef['encode']=function(_0x2c7b07,_0x1b6de4){if(_0x1b6de4||(_0x1b6de4=_0x192238['create']()),null!=_0x2c7b07['root']&&Object['hasOwnProperty']['call'](_0x2c7b07,'root')&&_0x1b6de4['uint32'](0xa)['string'](_0x2c7b07['root']),null!=_0x2c7b07['rootMain']&&Object['hasOwnProperty']['call'](_0x2c7b07,'rootMain')&&_0x1b6de4['uint32'](0x10)['bool'](_0x2c7b07['rootMain']),null!=_0x2c7b07['rootGraveyard']&&Object['hasOwnProperty']['call'](_0x2c7b07,'rootGraveyard')&&_0x1b6de4['uint32'](0x18)['bool'](_0x2c7b07['rootGraveyard']),null!=_0x2c7b07['path']&&_0x2c7b07['path']['length']){_0x1b6de4['uint32'](0x22)['fork']();for(var _0x5732dc=0x0;_0x5732dc<_0x2c7b07['path']['length'];++_0x5732dc)_0x1b6de4['uint32'](_0x2c7b07['path'][_0x5732dc]);_0x1b6de4['ldelim']();}return null!=_0x2c7b07['stickiness']&&Object['hasOwnProperty']['call'](_0x2c7b07,'stickiness')&&_0x1b6de4['uint32'](0x2a)['string'](_0x2c7b07['stickiness']),_0x1b6de4;},_0x3134ef['encodeDelimited']=function(_0x3c275b,_0x3c3f8b){return this['encode'](_0x3c275b,_0x3c3f8b)['ldelim']();},_0x3134ef['decode']=function(_0x522f6a,_0x31af87,_0x46627a,_0x5ed671){if(_0x522f6a instanceof _0x1778da||(_0x522f6a=_0x1778da['create'](_0x522f6a)),void 0x0===_0x5ed671&&(_0x5ed671=0x0),_0x5ed671>_0x1778da['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3b4828=void 0x0===_0x31af87?_0x522f6a['len']:_0x522f6a['pos']+_0x31af87,_0x2dd5c0=new _0x9aa060['Position']();_0x522f6a['pos']<_0x3b4828;){var _0x1a5fa2=_0x522f6a['uint32']();if(_0x1a5fa2===_0x46627a)break;switch(_0x1a5fa2>>>0x3){case 0x1:_0x2dd5c0['root']=_0x522f6a['string']();break;case 0x2:_0x2dd5c0['rootMain']=_0x522f6a['bool']();break;case 0x3:_0x2dd5c0['rootGraveyard']=_0x522f6a['bool']();break;case 0x4:if(_0x2dd5c0['path']&&_0x2dd5c0['path']['length']||(_0x2dd5c0['path']=[]),0x2==(0x7&_0x1a5fa2)){for(var _0x475e5a=_0x522f6a['uint32']()+_0x522f6a['pos'];_0x522f6a['pos']<_0x475e5a;)_0x2dd5c0['path']['push'](_0x522f6a['uint32']());}else _0x2dd5c0['path']['push'](_0x522f6a['uint32']());break;case 0x5:_0x2dd5c0['stickiness']=_0x522f6a['string']();break;default:_0x522f6a['skipType'](0x7&_0x1a5fa2,_0x5ed671);}}return _0x2dd5c0;},_0x3134ef['decodeDelimited']=function(_0x4c3930){return _0x4c3930 instanceof _0x1778da||(_0x4c3930=new _0x1778da(_0x4c3930)),this['decode'](_0x4c3930,_0x4c3930['uint32']());},_0x3134ef['verify']=function(_0x56579c,_0x569560){if('object'!=typeof _0x56579c||null===_0x56579c)return'object\x20expected';if(void 0x0===_0x569560&&(_0x569560=0x0),_0x569560>_0x1524dd['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x56579c['root']&&_0x56579c['hasOwnProperty']('root')&&!_0x1524dd['isString'](_0x56579c['root']))return'root:\x20string\x20expected';if(null!=_0x56579c['rootMain']&&_0x56579c['hasOwnProperty']('rootMain')&&'boolean'!=typeof _0x56579c['rootMain'])return'rootMain:\x20boolean\x20expected';if(null!=_0x56579c['rootGraveyard']&&_0x56579c['hasOwnProperty']('rootGraveyard')&&'boolean'!=typeof _0x56579c['rootGraveyard'])return'rootGraveyard:\x20boolean\x20expected';if(null!=_0x56579c['path']&&_0x56579c['hasOwnProperty']('path')){if(!Array['isArray'](_0x56579c['path']))return'path:\x20array\x20expected';for(var _0x1d5021=0x0;_0x1d5021<_0x56579c['path']['length'];++_0x1d5021)if(!_0x1524dd['isInteger'](_0x56579c['path'][_0x1d5021]))return'path:\x20integer[]\x20expected';}return null!=_0x56579c['stickiness']&&_0x56579c['hasOwnProperty']('stickiness')&&!_0x1524dd['isString'](_0x56579c['stickiness'])?'stickiness:\x20string\x20expected':null;},_0x3134ef['fromObject']=function(_0x389a51,_0x953912){if(_0x389a51 instanceof _0x9aa060['Position'])return _0x389a51;if(void 0x0===_0x953912&&(_0x953912=0x0),_0x953912>_0x1524dd['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x202f11=new _0x9aa060['Position']();if(null!=_0x389a51['root']&&(_0x202f11['root']=String(_0x389a51['root'])),null!=_0x389a51['rootMain']&&(_0x202f11['rootMain']=Boolean(_0x389a51['rootMain'])),null!=_0x389a51['rootGraveyard']&&(_0x202f11['rootGraveyard']=Boolean(_0x389a51['rootGraveyard'])),_0x389a51['path']){if(!Array['isArray'](_0x389a51['path']))throw TypeError('.Position.path:\x20array\x20expected');_0x202f11['path']=[];for(var _0x707766=0x0;_0x707766<_0x389a51['path']['length'];++_0x707766)_0x202f11['path'][_0x707766]=_0x389a51['path'][_0x707766]>>>0x0;}return null!=_0x389a51['stickiness']&&(_0x202f11['stickiness']=String(_0x389a51['stickiness'])),_0x202f11;},_0x3134ef['toObject']=function(_0x208920,_0x1408c8){_0x1408c8||(_0x1408c8={});var _0xaab2c0={};if((_0x1408c8['arrays']||_0x1408c8['defaults'])&&(_0xaab2c0['path']=[]),_0x1408c8['defaults']&&(_0xaab2c0['root']='',_0xaab2c0['rootMain']=!0x1,_0xaab2c0['rootGraveyard']=!0x1,_0xaab2c0['stickiness']=''),null!=_0x208920['root']&&_0x208920['hasOwnProperty']('root')&&(_0xaab2c0['root']=_0x208920['root']),null!=_0x208920['rootMain']&&_0x208920['hasOwnProperty']('rootMain')&&(_0xaab2c0['rootMain']=_0x208920['rootMain']),null!=_0x208920['rootGraveyard']&&_0x208920['hasOwnProperty']('rootGraveyard')&&(_0xaab2c0['rootGraveyard']=_0x208920['rootGraveyard']),_0x208920['path']&&_0x208920['path']['length']){_0xaab2c0['path']=[];for(var _0x584daf=0x0;_0x584daf<_0x208920['path']['length'];++_0x584daf)_0xaab2c0['path'][_0x584daf]=_0x208920['path'][_0x584daf];}return null!=_0x208920['stickiness']&&_0x208920['hasOwnProperty']('stickiness')&&(_0xaab2c0['stickiness']=_0x208920['stickiness']),_0xaab2c0;},_0x3134ef['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x3134ef['getTypeUrl']=function(_0x421bb9){return void 0x0===_0x421bb9&&(_0x421bb9='type.googleapis.com'),_0x421bb9+'/Position';},_0x3134ef;}()),_0x9aa060['Range']=(function(){function _0x4b9781(_0x353438){if(_0x353438){for(var _0x2ea241=Object['keys'](_0x353438),_0x48dcfb=0x0;_0x48dcfb<_0x2ea241['length'];++_0x48dcfb)null!=_0x353438[_0x2ea241[_0x48dcfb]]&&'__proto__'!==_0x2ea241[_0x48dcfb]&&(this[_0x2ea241[_0x48dcfb]]=_0x353438[_0x2ea241[_0x48dcfb]]);}}return _0x4b9781['prototype']['start']=null,_0x4b9781['prototype']['end']=null,_0x4b9781['create']=function(_0x1e146f){return new _0x4b9781(_0x1e146f);},_0x4b9781['encode']=function(_0x2bb65b,_0x433a67){return _0x433a67||(_0x433a67=_0x192238['create']()),null!=_0x2bb65b['start']&&Object['hasOwnProperty']['call'](_0x2bb65b,'start')&&_0x9aa060['Position']['encode'](_0x2bb65b['start'],_0x433a67['uint32'](0xa)['fork']())['ldelim'](),null!=_0x2bb65b['end']&&Object['hasOwnProperty']['call'](_0x2bb65b,'end')&&_0x9aa060['Position']['encode'](_0x2bb65b['end'],_0x433a67['uint32'](0x12)['fork']())['ldelim'](),_0x433a67;},_0x4b9781['encodeDelimited']=function(_0x1aa2a2,_0x12e7a9){return this['encode'](_0x1aa2a2,_0x12e7a9)['ldelim']();},_0x4b9781['decode']=function(_0x4baeb6,_0x13e51f,_0x1597b7,_0x59e30a){if(_0x4baeb6 instanceof _0x1778da||(_0x4baeb6=_0x1778da['create'](_0x4baeb6)),void 0x0===_0x59e30a&&(_0x59e30a=0x0),_0x59e30a>_0x1778da['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5c7f74=void 0x0===_0x13e51f?_0x4baeb6['len']:_0x4baeb6['pos']+_0x13e51f,_0x55d412=new _0x9aa060['Range']();_0x4baeb6['pos']<_0x5c7f74;){var _0x309037=_0x4baeb6['uint32']();if(_0x309037===_0x1597b7)break;switch(_0x309037>>>0x3){case 0x1:_0x55d412['start']=_0x9aa060['Position']['decode'](_0x4baeb6,_0x4baeb6['uint32'](),void 0x0,_0x59e30a+0x1);break;case 0x2:_0x55d412['end']=_0x9aa060['Position']['decode'](_0x4baeb6,_0x4baeb6['uint32'](),void 0x0,_0x59e30a+0x1);break;default:_0x4baeb6['skipType'](0x7&_0x309037,_0x59e30a);}}return _0x55d412;},_0x4b9781['decodeDelimited']=function(_0x18ced6){return _0x18ced6 instanceof _0x1778da||(_0x18ced6=new _0x1778da(_0x18ced6)),this['decode'](_0x18ced6,_0x18ced6['uint32']());},_0x4b9781['verify']=function(_0x1e5845,_0x7c2492){if('object'!=typeof _0x1e5845||null===_0x1e5845)return'object\x20expected';if(void 0x0===_0x7c2492&&(_0x7c2492=0x0),_0x7c2492>_0x1524dd['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x5a66d0;if(null!=_0x1e5845['start']&&_0x1e5845['hasOwnProperty']('start')&&(_0x5a66d0=_0x9aa060['Position']['verify'](_0x1e5845['start'],_0x7c2492+0x1)))return'start.'+_0x5a66d0;if(null!=_0x1e5845['end']&&_0x1e5845['hasOwnProperty']('end')&&(_0x5a66d0=_0x9aa060['Position']['verify'](_0x1e5845['end'],_0x7c2492+0x1)))return'end.'+_0x5a66d0;return null;},_0x4b9781['fromObject']=function(_0x3eb1a5,_0x2479f1){if(_0x3eb1a5 instanceof _0x9aa060['Range'])return _0x3eb1a5;if(void 0x0===_0x2479f1&&(_0x2479f1=0x0),_0x2479f1>_0x1524dd['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x54a638=new _0x9aa060['Range']();if(null!=_0x3eb1a5['start']){if('object'!=typeof _0x3eb1a5['start'])throw TypeError('.Range.start:\x20object\x20expected');_0x54a638['start']=_0x9aa060['Position']['fromObject'](_0x3eb1a5['start'],_0x2479f1+0x1);}if(null!=_0x3eb1a5['end']){if('object'!=typeof _0x3eb1a5['end'])throw TypeError('.Range.end:\x20object\x20expected');_0x54a638['end']=_0x9aa060['Position']['fromObject'](_0x3eb1a5['end'],_0x2479f1+0x1);}return _0x54a638;},_0x4b9781['toObject']=function(_0x42b57c,_0x3dd5fd){_0x3dd5fd||(_0x3dd5fd={});var _0x3342a3={};return _0x3dd5fd['defaults']&&(_0x3342a3['start']=null,_0x3342a3['end']=null),null!=_0x42b57c['start']&&_0x42b57c['hasOwnProperty']('start')&&(_0x3342a3['start']=_0x9aa060['Position']['toObject'](_0x42b57c['start'],_0x3dd5fd)),null!=_0x42b57c['end']&&_0x42b57c['hasOwnProperty']('end')&&(_0x3342a3['end']=_0x9aa060['Position']['toObject'](_0x42b57c['end'],_0x3dd5fd)),_0x3342a3;},_0x4b9781['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x4b9781['getTypeUrl']=function(_0x2a8a4a){return void 0x0===_0x2a8a4a&&(_0x2a8a4a='type.googleapis.com'),_0x2a8a4a+'/Range';},_0x4b9781;}()),_0x9aa060['Element']=(function(){function _0x1c9931(_0x2ceef5){if(this['children']=[],this['attributesBoolean']={},_0x2ceef5){for(var _0x45ea87=Object['keys'](_0x2ceef5),_0xd5ede0=0x0;_0xd5ede0<_0x45ea87['length'];++_0xd5ede0)null!=_0x2ceef5[_0x45ea87[_0xd5ede0]]&&'__proto__'!==_0x45ea87[_0xd5ede0]&&(this[_0x45ea87[_0xd5ede0]]=_0x2ceef5[_0x45ea87[_0xd5ede0]]);}}return _0x1c9931['prototype']['name']='',_0x1c9931['prototype']['children']=_0x1524dd['emptyArray'],_0x1c9931['prototype']['data']='',_0x1c9931['prototype']['attributesBoolean']=_0x1524dd['emptyObject'],_0x1c9931['prototype']['attributesJson']='',_0x1c9931['create']=function(_0x18e553){return new _0x1c9931(_0x18e553);},_0x1c9931['encode']=function(_0x117912,_0x42cc17){if(_0x42cc17||(_0x42cc17=_0x192238['create']()),null!=_0x117912['name']&&Object['hasOwnProperty']['call'](_0x117912,'name')&&_0x42cc17['uint32'](0xa)['string'](_0x117912['name']),null!=_0x117912['children']&&_0x117912['children']['length']){for(var _0x2792bd=0x0;_0x2792bd<_0x117912['children']['length'];++_0x2792bd)_0x9aa060['Element']['encode'](_0x117912['children'][_0x2792bd],_0x42cc17['uint32'](0x12)['fork']())['ldelim']();}if(null!=_0x117912['data']&&Object['hasOwnProperty']['call'](_0x117912,'data')&&_0x42cc17['uint32'](0x1a)['string'](_0x117912['data']),null!=_0x117912['attributesBoolean']&&Object['hasOwnProperty']['call'](_0x117912,'attributesBoolean')){var _0x43ba5d=Object['keys'](_0x117912['attributesBoolean']);for(_0x2792bd=0x0;_0x2792bd<_0x43ba5d['length'];++_0x2792bd)_0x42cc17['uint32'](0x22)['fork']()['uint32'](0xa)['string'](_0x43ba5d[_0x2792bd])['uint32'](0x10)['bool'](_0x117912['attributesBoolean'][_0x43ba5d[_0x2792bd]])['ldelim']();}return null!=_0x117912['attributesJson']&&Object['hasOwnProperty']['call'](_0x117912,'attributesJson')&&_0x42cc17['uint32'](0x2a)['string'](_0x117912['attributesJson']),_0x42cc17;},_0x1c9931['encodeDelimited']=function(_0x29b7eb,_0x3aeffa){return this['encode'](_0x29b7eb,_0x3aeffa)['ldelim']();},_0x1c9931['decode']=function(_0x2ed3b9,_0x3fde13,_0x58bda0,_0x35184e){if(_0x2ed3b9 instanceof _0x1778da||(_0x2ed3b9=_0x1778da['create'](_0x2ed3b9)),void 0x0===_0x35184e&&(_0x35184e=0x0),_0x35184e>_0x1778da['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x354e09,_0x3f0723,_0x56b24a=void 0x0===_0x3fde13?_0x2ed3b9['len']:_0x2ed3b9['pos']+_0x3fde13,_0x386966=new _0x9aa060['Element']();_0x2ed3b9['pos']<_0x56b24a;){var _0x2027af=_0x2ed3b9['uint32']();if(_0x2027af===_0x58bda0)break;switch(_0x2027af>>>0x3){case 0x1:_0x386966['name']=_0x2ed3b9['string']();break;case 0x2:_0x386966['children']&&_0x386966['children']['length']||(_0x386966['children']=[]),_0x386966['children']['push'](_0x9aa060['Element']['decode'](_0x2ed3b9,_0x2ed3b9['uint32'](),void 0x0,_0x35184e+0x1));break;case 0x3:_0x386966['data']=_0x2ed3b9['string']();break;case 0x4:_0x386966['attributesBoolean']===_0x1524dd['emptyObject']&&(_0x386966['attributesBoolean']={});var _0x2aac7b=_0x2ed3b9['uint32']()+_0x2ed3b9['pos'];for(_0x354e09='',_0x3f0723=!0x1;_0x2ed3b9['pos']<_0x2aac7b;){var _0x29b5ef=_0x2ed3b9['uint32']();switch(_0x29b5ef>>>0x3){case 0x1:_0x354e09=_0x2ed3b9['string']();break;case 0x2:_0x3f0723=_0x2ed3b9['bool']();break;default:_0x2ed3b9['skipType'](0x7&_0x29b5ef,_0x35184e);}}'__proto__'===_0x354e09&&_0x1524dd['makeProp'](_0x386966['attributesBoolean'],_0x354e09),_0x386966['attributesBoolean'][_0x354e09]=_0x3f0723;break;case 0x5:_0x386966['attributesJson']=_0x2ed3b9['string']();break;default:_0x2ed3b9['skipType'](0x7&_0x2027af,_0x35184e);}}return _0x386966;},_0x1c9931['decodeDelimited']=function(_0x3235d0){return _0x3235d0 instanceof _0x1778da||(_0x3235d0=new _0x1778da(_0x3235d0)),this['decode'](_0x3235d0,_0x3235d0['uint32']());},_0x1c9931['verify']=function(_0x358fce,_0x3e288d){if('object'!=typeof _0x358fce||null===_0x358fce)return'object\x20expected';if(void 0x0===_0x3e288d&&(_0x3e288d=0x0),_0x3e288d>_0x1524dd['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x358fce['name']&&_0x358fce['hasOwnProperty']('name')&&!_0x1524dd['isString'](_0x358fce['name']))return'name:\x20string\x20expected';if(null!=_0x358fce['children']&&_0x358fce['hasOwnProperty']('children')){if(!Array['isArray'](_0x358fce['children']))return'children:\x20array\x20expected';for(var _0x121cf2=0x0;_0x121cf2<_0x358fce['children']['length'];++_0x121cf2){var _0x472525=_0x9aa060['Element']['verify'](_0x358fce['children'][_0x121cf2],_0x3e288d+0x1);if(_0x472525)return'children.'+_0x472525;}}if(null!=_0x358fce['data']&&_0x358fce['hasOwnProperty']('data')&&!_0x1524dd['isString'](_0x358fce['data']))return'data:\x20string\x20expected';if(null!=_0x358fce['attributesBoolean']&&_0x358fce['hasOwnProperty']('attributesBoolean')){if(!_0x1524dd['isObject'](_0x358fce['attributesBoolean']))return'attributesBoolean:\x20object\x20expected';var _0x388d67=Object['keys'](_0x358fce['attributesBoolean']);for(_0x121cf2=0x0;_0x121cf2<_0x388d67['length'];++_0x121cf2)if('boolean'!=typeof _0x358fce['attributesBoolean'][_0x388d67[_0x121cf2]])return'attributesBoolean:\x20boolean{k:string}\x20expected';}return null!=_0x358fce['attributesJson']&&_0x358fce['hasOwnProperty']('attributesJson')&&!_0x1524dd['isString'](_0x358fce['attributesJson'])?'attributesJson:\x20string\x20expected':null;},_0x1c9931['fromObject']=function(_0x37f5d5,_0x21faf1){if(_0x37f5d5 instanceof _0x9aa060['Element'])return _0x37f5d5;if(void 0x0===_0x21faf1&&(_0x21faf1=0x0),_0x21faf1>_0x1524dd['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x193f4c=new _0x9aa060['Element']();if(null!=_0x37f5d5['name']&&(_0x193f4c['name']=String(_0x37f5d5['name'])),_0x37f5d5['children']){if(!Array['isArray'](_0x37f5d5['children']))throw TypeError('.Element.children:\x20array\x20expected');_0x193f4c['children']=[];for(var _0x2fa050=0x0;_0x2fa050<_0x37f5d5['children']['length'];++_0x2fa050){if('object'!=typeof _0x37f5d5['children'][_0x2fa050])throw TypeError('.Element.children:\x20object\x20expected');_0x193f4c['children'][_0x2fa050]=_0x9aa060['Element']['fromObject'](_0x37f5d5['children'][_0x2fa050],_0x21faf1+0x1);}}if(null!=_0x37f5d5['data']&&(_0x193f4c['data']=String(_0x37f5d5['data'])),_0x37f5d5['attributesBoolean']){if('object'!=typeof _0x37f5d5['attributesBoolean'])throw TypeError('.Element.attributesBoolean:\x20object\x20expected');_0x193f4c['attributesBoolean']={};var _0x2421c9=Object['keys'](_0x37f5d5['attributesBoolean']);for(_0x2fa050=0x0;_0x2fa050<_0x2421c9['length'];++_0x2fa050)'__proto__'===_0x2421c9[_0x2fa050]&&_0x1524dd['makeProp'](_0x193f4c['attributesBoolean'],_0x2421c9[_0x2fa050]),_0x193f4c['attributesBoolean'][_0x2421c9[_0x2fa050]]=Boolean(_0x37f5d5['attributesBoolean'][_0x2421c9[_0x2fa050]]);}return null!=_0x37f5d5['attributesJson']&&(_0x193f4c['attributesJson']=String(_0x37f5d5['attributesJson'])),_0x193f4c;},_0x1c9931['toObject']=function(_0x35ae66,_0x2bb9ff){_0x2bb9ff||(_0x2bb9ff={});var _0x2815f4,_0x5ace79={};if((_0x2bb9ff['arrays']||_0x2bb9ff['defaults'])&&(_0x5ace79['children']=[]),(_0x2bb9ff['objects']||_0x2bb9ff['defaults'])&&(_0x5ace79['attributesBoolean']={}),_0x2bb9ff['defaults']&&(_0x5ace79['name']='',_0x5ace79['data']='',_0x5ace79['attributesJson']=''),null!=_0x35ae66['name']&&_0x35ae66['hasOwnProperty']('name')&&(_0x5ace79['name']=_0x35ae66['name']),_0x35ae66['children']&&_0x35ae66['children']['length']){_0x5ace79['children']=[];for(var _0x5eb084=0x0;_0x5eb084<_0x35ae66['children']['length'];++_0x5eb084)_0x5ace79['children'][_0x5eb084]=_0x9aa060['Element']['toObject'](_0x35ae66['children'][_0x5eb084],_0x2bb9ff);}if(null!=_0x35ae66['data']&&_0x35ae66['hasOwnProperty']('data')&&(_0x5ace79['data']=_0x35ae66['data']),_0x35ae66['attributesBoolean']&&(_0x2815f4=Object['keys'](_0x35ae66['attributesBoolean']))['length']){_0x5ace79['attributesBoolean']={};for(_0x5eb084=0x0;_0x5eb084<_0x2815f4['length'];++_0x5eb084)'__proto__'===_0x2815f4[_0x5eb084]&&_0x1524dd['makeProp'](_0x5ace79['attributesBoolean'],_0x2815f4[_0x5eb084]),_0x5ace79['attributesBoolean'][_0x2815f4[_0x5eb084]]=_0x35ae66['attributesBoolean'][_0x2815f4[_0x5eb084]];}return null!=_0x35ae66['attributesJson']&&_0x35ae66['hasOwnProperty']('attributesJson')&&(_0x5ace79['attributesJson']=_0x35ae66['attributesJson']),_0x5ace79;},_0x1c9931['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,ik['default']['util']['toJSONOptions']);},_0x1c9931['getTypeUrl']=function(_0x332524){return void 0x0===_0x332524&&(_0x332524='type.googleapis.com'),_0x332524+'/Element';},_0x1c9931;}()),_0x9aa060;})());var uC=class{['_protobufRoot'];constructor(){this['_protobufRoot']=hC;}['getDescriptor'](_0x26b388){return new dC(this['_protobufRoot'][_0x26b388]);}},dC=class{['_protobuf'];constructor(_0x1bc674){this['_protobuf']=_0x1bc674;}['compress'](_0x361f28){const _0x120b4e=this['_protobuf']['verify'](_0x361f28);if(_0x120b4e)throw Error(_0x120b4e);return this['_protobuf']['encode'](this['_protobuf']['create'](_0x361f28))['finish']();}['decompress'](_0x59baa0){return this['_protobuf']['toObject'](this['_protobuf']['decode'](_0x59baa0),{'oneofs':!0x0});}};function fC(_0x2befb6,_0x5ecad8){const _0x6be4fa=Jr(_0x2befb6);return _0x6be4fa['path'][_0x6be4fa['path']['length']-0x1]+=_0x5ecad8,_0x6be4fa;}function mC(_0x481078,_0x1b4481){return _0x481078['root']===_0x1b4481['root']&&qr(_0x481078['path'],_0x1b4481['path']);}function pC(_0x1170a7){OC(_0x1170a7,_0x3ad9cd=>('main'==_0x3ad9cd['root']?(_0x3ad9cd['rootMain']=!0x0,delete _0x3ad9cd['root']):'$graveyard'==_0x3ad9cd['root']&&(_0x3ad9cd['rootGraveyard']=!0x0,delete _0x3ad9cd['root']),_0x3ad9cd));}function gC(_0x5674b1){OC(_0x5674b1,_0xcca7b3=>(_0xcca7b3['rootMain']?(_0xcca7b3['root']='main',delete _0xcca7b3['rootMain']):_0xcca7b3['rootGraveyard']&&(_0xcca7b3['root']='$graveyard',delete _0xcca7b3['rootGraveyard']),_0xcca7b3));}function OC(_0x1a9cd4,_0x51583d){for(const _0x3cc654 in _0x1a9cd4){const _0x22bb9b=_0x1a9cd4[_0x3cc654];'nodes'!==_0x3cc654&&Eo(_0x22bb9b)&&(_0x22bb9b['path']&&(_0x22bb9b['root']||_0x22bb9b['rootMain']||_0x22bb9b['rootGraveyard'])?_0x1a9cd4[_0x3cc654]=_0x51583d(_0x22bb9b):OC(_0x22bb9b,_0x51583d));}return _0x1a9cd4;}var wC=class{['_id'];['_operationName'];['_protobufDescriptor'];constructor(_0x5b572c,_0x102e33,_0x45d6bd){this['_id']=_0x5b572c,this['_operationName']=_0x102e33,this['_protobufDescriptor']=_0x45d6bd;}['compress'](_0x1e0f57,_0x1e4681){const _0x3cd145=_0x1e4681['operations'][_0x1e4681['index']++];return pC(_0x3cd145),_0x1e0f57['buffers']['push'](this['_protobufDescriptor']['compress'](_0x3cd145)),_0x1e0f57['types']['push'](this['_id']),!0x0;}['decompress'](_0x3df686,_0x4d3517){_0x4d3517['typeIndex']++;const _0x5d597b=_0x4d3517['buffers'][_0x4d3517['bufferIndex']++],_0x120554=this['_protobufDescriptor']['decompress'](_0x5d597b);gC(_0x120554),_0x120554['__className']=this['_operationName'],_0x3df686['push'](_0x120554);}},bC=class extends wC{['compress'](_0x343d74,_0x4511c3){const _0xcd3798=_0x4511c3['operations'][_0x4511c3['index']++];return this['_serializeOneOf']('oldValue',_0xcd3798),this['_serializeOneOf']('newValue',_0xcd3798),pC(_0xcd3798),_0x343d74['buffers']['push'](this['_protobufDescriptor']['compress'](_0xcd3798)),_0x343d74['types']['push'](this['_id']),!0x0;}['decompress'](_0x49c8e2,_0x249ffa){_0x249ffa['typeIndex']++;const _0x43f27b=_0x249ffa['buffers'][_0x249ffa['bufferIndex']++],_0x3ae719=this['_protobufDescriptor']['decompress'](_0x43f27b);this['_deserializeOneOf']('oldValue',_0x3ae719),this['_deserializeOneOf']('newValue',_0x3ae719),gC(_0x3ae719),_0x3ae719['__className']=this['_operationName'],_0x49c8e2['push'](_0x3ae719);}['_serializeOneOf'](_0x431673,_0x4871d4){const _0x37aed7=_0x4871d4[_0x431673];'boolean'==typeof _0x37aed7?_0x4871d4[_0x431673+'Boolean']=_0x37aed7:_0x4871d4[_0x431673+'Json']=JSON['stringify'](_0x37aed7);}['_deserializeOneOf'](_0x3560a6,_0x211e82){const _0x5c8eda=_0x3560a6+'Json';_0x211e82[_0x5c8eda]?(_0x211e82[_0x3560a6]=JSON['parse'](_0x211e82[_0x5c8eda]),delete _0x211e82[_0x5c8eda]):(_0x211e82[_0x3560a6]=_0x211e82[_0x3560a6+'Boolean'],delete _0x211e82[_0x3560a6+'Boolean']);}},yC=class extends wC{['compress'](_0x112703,_0x3fc877){const _0x1aadbd=_0x3fc877['operations'][_0x3fc877['index']++];return this['_serializeNodesAttributes'](_0x1aadbd['nodes']),pC(_0x1aadbd),_0x112703['buffers']['push'](this['_protobufDescriptor']['compress'](_0x1aadbd)),_0x112703['types']['push'](this['_id']),!0x0;}['decompress'](_0x5ed8f2,_0x1dcf4e){_0x1dcf4e['typeIndex']++;const _0x9b948f=_0x1dcf4e['buffers'][_0x1dcf4e['bufferIndex']++],_0x4aecbb=this['_protobufDescriptor']['decompress'](_0x9b948f);_0x4aecbb['nodes']||(_0x4aecbb['nodes']=[]),this['_deserializeNodesAttributes'](_0x4aecbb['nodes']),gC(_0x4aecbb),_0x4aecbb['__className']=this['_operationName'],_0x5ed8f2['push'](_0x4aecbb);}['_serializeNodesAttributes'](_0x26722a){for(const _0x3535b9 of _0x26722a){if(_0x3535b9['attributes']){const _0x11e75d=_0x3535b9['attributes'];this['_areValuesBoolean'](_0x11e75d)?_0x3535b9['attributesBoolean']=_0x11e75d:_0x3535b9['attributesJson']=JSON['stringify'](_0x11e75d);}_0x3535b9['children']&&this['_serializeNodesAttributes'](_0x3535b9['children']);}}['_deserializeNodesAttributes'](_0x2146ce){for(const _0x1de1a6 of _0x2146ce)(_0x1de1a6['attributesBoolean']||_0x1de1a6['attributesJson'])&&(_0x1de1a6['attributesBoolean']?(_0x1de1a6['attributes']=_0x1de1a6['attributesBoolean'],delete _0x1de1a6['attributesBoolean']):(_0x1de1a6['attributes']=JSON['parse'](_0x1de1a6['attributesJson']),delete _0x1de1a6['attributesJson'])),_0x1de1a6['children']&&this['_deserializeNodesAttributes'](_0x1de1a6['children']);}['_areValuesBoolean'](_0x3933ae){return Object['keys'](_0x3933ae)['every'](_0x2bbb1e=>'boolean'==typeof _0x3933ae[_0x2bbb1e]);}},vC=class extends wC{['decompress'](_0xe715cc,_0x18e1f1){super['decompress'](_0xe715cc,_0x18e1f1);const _0x4e1e2f=_0xe715cc[_0xe715cc['length']-0x1];_0x4e1e2f['oldRange']||(_0x4e1e2f['oldRange']=null),_0x4e1e2f['newRange']||(_0x4e1e2f['newRange']=null);}},_C=class extends wC{['compress'](_0x34a47f,_0x558ef7){return _0x558ef7['index']++,_0x34a47f['types']['push'](this['_id']),!0x0;}['decompress'](_0x4cf0b4,_0x1a813c){_0x1a813c['typeIndex']++,_0x4cf0b4['push']({'__className':this['_operationName']});}},EC=class extends vC{['_omittedNamespace'];constructor(_0xff9b7a,_0x37b9c2,_0x48f299,_0x366c95){super(_0xff9b7a,_0x37b9c2,_0x48f299),this['_omittedNamespace']=_0x366c95+':';}['compress'](_0x474150,_0x450940){const _0x1dae78=_0x450940['operations'][_0x450940['index']];return!('MarkerOperation'!=_0x1dae78['__className']||!_0x1dae78['name']['startsWith'](this['_omittedNamespace']))&&(_0x1dae78['name']=_0x1dae78['name']['replace'](new RegExp('^'+this['_omittedNamespace']),''),super['compress'](_0x474150,_0x450940),!0x0);}['decompress'](_0x1b2d02,_0x621a14){super['decompress'](_0x1b2d02,_0x621a14);const _0xcca3af=_0x1b2d02[_0x1b2d02['length']-0x1];_0xcca3af['name']=this['_omittedNamespace']+_0xcca3af['name'];}},TC=class{['_id'];['_context'];constructor(_0x5273f1,_0x507cc5){this['_id']=_0x5273f1,this['_context']=_0x507cc5;}['compress'](_0x51d068,_0x224232){let _0x486547,_0x55c704=_0x224232['operations'][_0x224232['index']],_0x198142=_0x224232['operations'][_0x224232['index']+0x1];for(;_0x198142&&this['_compareOperations'](_0x55c704,_0x198142);)_0x486547?(_0x486547=this['_combineNext'](_0x55c704,_0x486547),_0x51d068['types']['push'](0x0)):(_0x486547=Jr(_0x55c704),_0x51d068['types']['push'](this['_id'])),_0x224232['index']++,_0x55c704=_0x224232['operations'][_0x224232['index']],_0x198142=_0x224232['operations'][_0x224232['index']+0x1];return!!_0x486547&&(_0x486547=this['_combineNext'](_0x224232['operations'][_0x224232['index']++],_0x486547),_0x51d068['types']['push'](0x0),_0x51d068['buffers']['push'](this['_compressSingleOperation'](_0x486547)),!0x0);}['decompress'](_0x49db08,_0x11a3ef){const _0x1e868e=this['_decompressSingleOperation'](_0x11a3ef);for(;0x0==_0x11a3ef['types'][_0x11a3ef['typeIndex']];)_0x11a3ef['typeIndex']++,_0x49db08['push'](this['_splitCurrent'](_0x1e868e));_0x49db08['push'](_0x1e868e);}},AC=class extends TC{['_combineNext'](_0x41f7f9,_0x3d177f){return _0x3d177f['nodes'][0x0]['data']+=_0x41f7f9['nodes'][0x0]['data'],_0x3d177f;}['_splitCurrent'](_0x1015c6){const _0x21f0c1=Jr(_0x1015c6),_0x230e24=_0x21f0c1['nodes'][0x0],_0x301c6c=_0x1015c6['nodes'][0x0],_0x5aae6e=_0x301c6c['data'][Symbol['iterator']]()['next']()['value'],_0x168ffe=_0x5aae6e['length'];return _0x230e24['data']=_0x5aae6e,_0x301c6c['data']=_0x301c6c['data']['substr'](_0x168ffe),_0x1015c6['position']=fC(_0x1015c6['position'],_0x168ffe),_0x21f0c1;}['_compareOperations'](_0x2e06ac,_0x5265b5){if(this['_checkOperation'](_0x2e06ac)&&this['_checkOperation'](_0x5265b5)){const _0xfb16f8=_0x2e06ac['nodes'][0x0]['data']['length'],_0xb75309=mC(fC(_0x2e06ac['position'],_0xfb16f8),_0x5265b5['position']),_0x35b98c=_0x2e06ac['nodes'][0x0],_0x10b17b=_0x5265b5['nodes'][0x0];return _0xb75309&&this['_compareAttributes'](_0x35b98c,_0x10b17b)&&_0x2e06ac['_aiSource']==_0x5265b5['_aiSource'];}return!0x1;}['_compressSingleOperation'](_0x1f2041){const _0x3a4fad={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('InsertOperation')['compress'](_0x3a4fad,{'operations':[_0x1f2041],'index':0x0}),_0x3a4fad['buffers'][0x0];}['_decompressSingleOperation'](_0x220ef7){const _0x681b2e=[];return this['_context']['_getCompressorByName']('InsertOperation')['decompress'](_0x681b2e,_0x220ef7),_0x681b2e[0x0];}['_checkOperation'](_0x75dacc){return'InsertOperation'==_0x75dacc['__className']&&0x1==_0x75dacc['nodes']['length']&&_0x75dacc['nodes'][0x0]['data']&&!_0x75dacc['wasUndone']&&0x1==Array['from'](_0x75dacc['nodes'][0x0]['data'])['length'];}['_compareAttributes'](_0x1fce24,_0x5b5ea0){const _0x54fc3a=Object['keys'](_0x1fce24['attributes']||{}),_0x38dc66=Object['keys'](_0x5b5ea0['attributes']||{});return _0x54fc3a['length']===_0x38dc66['length']&&_0x54fc3a['every'](_0x2fd58e=>_0x5b5ea0['attributes'][_0x2fd58e]&&_0x5b5ea0['attributes'][_0x2fd58e]===_0x1fce24['attributes'][_0x2fd58e]);}},SC=class extends TC{['_combineNext'](_0x116e4b,_0x4e84ba){return _0x4e84ba['howMany']++,_0x4e84ba['sourcePosition']=Jr(_0x116e4b['sourcePosition']),_0x4e84ba;}['_splitCurrent'](_0x51fa40){const _0x277827=Jr(_0x51fa40);return _0x51fa40['howMany']--,_0x277827['howMany']=0x1,_0x277827['sourcePosition']=fC(_0x277827['sourcePosition'],_0x51fa40['howMany']),_0x277827;}['_compareOperations'](_0x5a754d,_0x45822e){return!(!this['_checkOperation'](_0x5a754d)||!this['_checkOperation'](_0x45822e))&&(mC(fC(_0x5a754d['sourcePosition'],-0x1),_0x45822e['sourcePosition'])&&mC(_0x5a754d['targetPosition'],_0x45822e['targetPosition'])&&_0x5a754d['_aiSource']==_0x45822e['_aiSource']);}['_compressSingleOperation'](_0x3ad5aa){const _0x300c3f={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x300c3f,{'operations':[_0x3ad5aa],'index':0x0}),_0x300c3f['buffers'][0x0];}['_decompressSingleOperation'](_0x451977){const _0x1cb48f=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x1cb48f,_0x451977),_0x1cb48f[0x0];}['_checkOperation'](_0x18fdb7){return'MoveOperation'==_0x18fdb7['__className']&&'$graveyard'==_0x18fdb7['targetPosition']['root']&&0x1==_0x18fdb7['howMany']&&!_0x18fdb7['wasUndone'];}},IC=class extends TC{['_combineNext'](_0x566df4,_0x189299){return _0x189299['howMany']++,_0x189299;}['_splitCurrent'](_0x403d10){const _0x12b647=Jr(_0x403d10);return _0x12b647['howMany']=0x1,_0x403d10['howMany']--,_0x12b647;}['_compareOperations'](_0x1c8134,_0x251ece){return!(!this['_checkOperation'](_0x1c8134)||!this['_checkOperation'](_0x251ece))&&(mC(_0x1c8134['sourcePosition'],_0x251ece['sourcePosition'])&&mC(_0x1c8134['targetPosition'],_0x251ece['targetPosition'])&&_0x1c8134['_aiSource']==_0x251ece['_aiSource']);}['_compressSingleOperation'](_0x76f3ab){const _0x5b4fb0={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x5b4fb0,{'operations':[_0x76f3ab],'index':0x0}),_0x5b4fb0['buffers'][0x0];}['_decompressSingleOperation'](_0x310caa){const _0x2b35af=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x2b35af,_0x310caa),_0x2b35af[0x0];}['_checkOperation'](_0x582ad5){return'MoveOperation'==_0x582ad5['__className']&&'$graveyard'==_0x582ad5['targetPosition']['root']&&0x1==_0x582ad5['howMany']&&!_0x582ad5['wasUndone'];}},kC=class extends TC{['compress'](_0x34536e,_0x1008df){if(!this['_compareOperations'](_0x1008df['operations'][_0x1008df['index']],_0x1008df['operations'][_0x1008df['index']+0x1]))return!0x1;const _0x204f17=_0x1008df['operations'][_0x1008df['index']++];return _0x204f17['oldRange']=null,_0x204f17['newRange']&&mC(_0x204f17['newRange']['start'],_0x204f17['newRange']['end'])&&(_0x204f17['newRange']['end']=null),_0x1008df['index']++,_0x34536e['types']['push'](this['_id']),_0x34536e['types']['push'](0x0),_0x34536e['buffers']['push'](this['_compressSingleOperation'](_0x204f17)),!0x0;}['decompress'](_0x3c5ca5,_0x2b8193){const _0x20ee48=this['_decompressSingleOperation'](_0x2b8193);_0x20ee48['newRange']&&!_0x20ee48['newRange']['end']&&(_0x20ee48['newRange']['end']=Jr(_0x20ee48['newRange']['start']));const _0x516af3=Jr(_0x20ee48);_0x516af3['newRange']&&(_0x516af3['newRange']['start']['stickiness']='toNone',_0x516af3['newRange']['end']=Jr(_0x516af3['newRange']['start'])),_0x516af3['name']='user:position:'+_0x516af3['name']['split'](':')[0x2],_0x2b8193['typeIndex']++,_0x3c5ca5['push'](_0x20ee48),_0x3c5ca5['push'](_0x516af3);}['_compressSingleOperation'](_0x2f0918){const _0x3d5599={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MarkerOperation')['compress'](_0x3d5599,{'operations':[_0x2f0918],'index':0x0}),_0x3d5599['buffers'][0x0];}['_decompressSingleOperation'](_0x244db2){const _0x310544=[];return this['_context']['_getCompressorByName']('MarkerOperation')['decompress'](_0x310544,_0x244db2),_0x310544[0x0];}['_compareOperations'](_0xf3f6bf,_0x545010){return!(!_0xf3f6bf||!_0x545010)&&('MarkerOperation'==_0xf3f6bf['__className']&&'MarkerOperation'==_0x545010['__className']&&!(!_0xf3f6bf['name']['startsWith']('user:')||!_0x545010['name']['startsWith']('user:')||_0xf3f6bf['name']==_0x545010['name']));}},xC=class{['_compressorById'];['_compressorByName'];['_protobufFactory'];constructor(){this['_compressorById']=new Map(),this['_compressorByName']=new Map(),this['_protobufFactory']=new uC();const _0x2e0e37=this['_protobufFactory']['getDescriptor']('MarkerOperation');this['_registerCompressor'](0x1,'NoOperation',new _C(0x1,'NoOperation',void 0x0)),this['_registerOperationCompressor'](0xa,'AttributeOperation',bC),this['_registerOperationCompressor'](0xb,'InsertOperation',yC),this['_registerOperationCompressor'](0xc,'MarkerOperation',vC),this['_registerOperationCompressor'](0xd,'MergeOperation',wC),this['_registerOperationCompressor'](0xe,'MoveOperation',wC),this['_registerOperationCompressor'](0xf,'RenameOperation',wC),this['_registerOperationCompressor'](0x10,'RootAttributeOperation',bC),this['_registerOperationCompressor'](0x11,'SplitOperation',wC),this['_registerCompressor'](0x12,'CommentMarkerOperation',new EC(0x12,'MarkerOperation',_0x2e0e37,'comment')),this['_registerCompressor'](0x13,'SuggestionMarkerOperation',new EC(0x13,'MarkerOperation',_0x2e0e37,'suggestion')),this['_registerOperationCompressor'](0x14,'RootOperation',wC),this['_registerActionCompressor'](0x64,'TypingAction',AC),this['_registerActionCompressor'](0x65,'DeletingAction',SC),this['_registerActionCompressor'](0x66,'ForwardDeletingAction',IC),this['_registerActionCompressor'](0x67,'UserSelectionAction',kC);}['compress'](_0x10ac33){if(!_0x10ac33||!_0x10ac33[0x0])throw new _0x5b5a95('no-operations-provided',this);const _0x50a20a={'operations':_0x10ac33,'index':0x0},_0x54a4c6={'types':[],'buffers':[],'baseVersion':_0x10ac33[0x0]['baseVersion']};for(;_0x50a20a['index']<_0x50a20a['operations']['length'];){if(this['_getCompressorByName']('UserSelectionAction')['compress'](_0x54a4c6,_0x50a20a))continue;if(this['_getCompressorByName']('TypingAction')['compress'](_0x54a4c6,_0x50a20a))continue;if(this['_getCompressorByName']('DeletingAction')['compress'](_0x54a4c6,_0x50a20a))continue;if(this['_getCompressorByName']('ForwardDeletingAction')['compress'](_0x54a4c6,_0x50a20a))continue;if(this['_getCompressorByName']('CommentMarkerOperation')['compress'](_0x54a4c6,_0x50a20a))continue;if(this['_getCompressorByName']('SuggestionMarkerOperation')['compress'](_0x54a4c6,_0x50a20a))continue;const _0x396a85=_0x50a20a['operations'][_0x50a20a['index']]['__className'];this['_getCompressorByName'](_0x396a85)['compress'](_0x54a4c6,_0x50a20a);}return _0x54a4c6;}['decompress'](_0x106637){const _0x1c9a7b=[],_0x40ccde={'types':_0x106637['types'],'buffers':_0x106637['buffers'],'baseVersion':_0x106637['baseVersion'],'typeIndex':0x0,'bufferIndex':0x0};for(;_0x40ccde['typeIndex']<_0x40ccde['types']['length'];){const _0x2792aa=_0x40ccde['types'][_0x40ccde['typeIndex']],_0x2746fe=this['_compressorById']['get'](_0x2792aa);if(!_0x2746fe)throw new _0x5b5a95('decompress-compressor-not-found',this,{'type':_0x2792aa});_0x2746fe['decompress'](_0x1c9a7b,_0x40ccde);}return _0x1c9a7b['forEach']((_0x405a97,_0xd80bca)=>_0x405a97['baseVersion']=_0x106637['baseVersion']+_0xd80bca),_0x1c9a7b;}['_getCompressorByName'](_0xe7f757){return this['_compressorByName']['get'](_0xe7f757);}['_registerOperationCompressor'](_0x547ef6,_0x28b849,_0xc9deb){const _0x113784=new _0xc9deb(_0x547ef6,_0x28b849,this['_protobufFactory']['getDescriptor'](_0x28b849));this['_registerCompressor'](_0x547ef6,_0x28b849,_0x113784);}['_registerActionCompressor'](_0x210e02,_0x57d712,_0x2e4234){const _0x85b442=new _0x2e4234(_0x210e02,this);this['_registerCompressor'](_0x210e02,_0x57d712,_0x85b442);}['_registerCompressor'](_0x3d3c6b,_0x421a40,_0x4fb0ea){this['_compressorById']['set'](_0x3d3c6b,_0x4fb0ea),this['_compressorByName']['set'](_0x421a40,_0x4fb0ea);}};let CC=0x1;var RC=class RealTimeCollaborationClient extends _0x36b920{static ['CollaborativeEditingService']=/* #__PURE__ -- @preserve */
((()=>$x)());['_offset'];['sessionId'];['serverHistory'];['_channelId'];['_service'];['_document'];['_compressor'];['_bufferedOperations'];['_knownOperations'];['_knownRootNames'];['_pendingAction'];['_hasSelectionChanged'];['_sendBufferedOperationsDelayId'];['_baseBufferDelay'];['_currentBufferDelay'];['_lastSyncedOperationId'];['_disconnectionOperations'];['_operationIdentifier'];static get['requires'](){return[nC,rC,oC,_0x56f92e,ha,_0x5bbd4b];}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 _0x43746b=this['serverHistory']['getOperations']();for(let _0x5270f0=_0x43746b['length']-0x1;_0x5270f0>=0x0;_0x5270f0--){const _0x2e3dd7=_0x43746b[_0x5270f0];if(!this['_disconnectionOperations']['has'](_0x2e3dd7))return _0x2e3dd7['baseVersion']+0x1-this['_offset'];}return 0x0;}constructor(_0x3d4b75){if(super(_0x3d4b75),this['_offset']=0x0,this['sessionId']=null,this['serverHistory']=new _0x1f2d5f(),this['editor']['config']['define']('collaboration',{}),this['_channelId']=this['editor']['config']['get']('collaboration.channelId'),!this['_channelId'])throw new _0x5b5a95('collaboration-missing-channelid',this);const _0x599842=_0x3d4b75['config']['get']('cloudServices.bundleVersion')||_0x211424;this['_service']=new RealTimeCollaborationClient['CollaborativeEditingService'](_0x599842,this['_channelId']),this['_document']=this['editor']['model']['document'],this['_compressor']=new xC(),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 NC(this['_disconnectionOperations']);}['init'](){const _0x5d0544=this['editor'],_0x37f4c0=_0x5d0544['plugins']['get'](ha),_0x80373a=_0x5d0544['plugins']['get'](nC);this['listenTo'](_0x37f4c0,'getOperationAuthor',(_0xc4f20d,_0x44f606)=>{const _0x2ce634=_0x44f606[0x0];_0x2ce634['_authorId']&&(_0xc4f20d['return']=_0x37f4c0['getUser'](_0x2ce634['_authorId']),_0xc4f20d['stop']()),null===_0x2ce634['_authorId']&&(_0xc4f20d['return']=null,_0xc4f20d['stop']());},{'priority':'high'}),this['listenTo'](_0x5d0544['model']['document']['selection'],'change:range',(_0x5c72db,_0x4d6e45)=>{_0x4d6e45['directChange']&&this['_refreshUserSelectionMarkers']();}),this['listenTo'](_0x5d0544['editing']['view'],'change:hasDomSelection',()=>{this['_refreshUserSelectionMarkers']();}),this['_initThrowingOnDataSet'](),_0x5d0544['model']['on']('applyOperation',(_0x3bed36,_0x83b583)=>{const _0x6b5ca1=_0x83b583[0x0];_0x6b5ca1['isDocumentOperation']&&(this['_saveOperationInBuffer'](_0x6b5ca1),this['_shouldSendUpdate']()&&this['_sendBufferedOperationsDelayed']());}),this['_setUpDataInit'](),this['set']('_isChannelFlushed',!0x1),this['bind']('_isEditingAllowed')['to'](_0x80373a,'state',this,'_hasSynchronizationProblem',this,'_isChannelFlushed',(_0x4fdf07,_0x3c2b7c,_0x2a7346)=>'connected'===_0x4fdf07&&!_0x3c2b7c&&!_0x2a7346),this['on']('change:_isEditingAllowed',()=>{this['_isEditingAllowed']?_0x5d0544['disableReadOnlyMode']('rtc-offline'):_0x5d0544['enableReadOnlyMode']('rtc-offline');}),this['_isEditingAllowed']?_0x5d0544['disableReadOnlyMode']('rtc-offline'):_0x5d0544['enableReadOnlyMode']('rtc-offline'),this['set']('_isConnected',!0x1);}async['reconnect'](){const _0x245aca=this['editor']['plugins']['get'](rC),_0x513498=this['editor']['plugins']['get'](nC);try{this['_isPendingUpdate']=!0x0,_0x245aca['unregister'](this['_channelId']);const _0x420777=await this['_service']['reconnect'](_0x513498['connection'],this['lastSyncVersion']);await this['_handleReconnectionResponse'](_0x420777)&&(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());const _0x27d6a8=await this['_service']['getConnectedSessions']();_0x245aca['register'](this['_channelId'],_0x27d6a8),this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}catch(_0x4f2ef4){if(function(_0x29e8a1){return'404'===_0x29e8a1['code'];}(_0x4f2ef4)&&this['sessionId'])await this['_connectAfterSessionHasBeenFlushed']();else{if(function(_0x832e35){return'409'===_0x832e35['code'];}(_0x4f2ef4)){const _0x151d89=lC(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'](_0x151d89);}else{if(!(_0x4f2ef4 instanceof PC))throw _0x4f2ef4;this['_handleReconnectionError']();}}}}['destroy'](){const _0x94e714=this['editor']['plugins']['get'](nC),_0x10a60d=this['editor']['plugins']['get'](rC);this['editor']['enableReadOnlyMode']('rtc-destroyed'),_0x10a60d['channelSessions']['has'](this['_channelId'])&&_0x10a60d['unregister'](this['_channelId']),_0x94e714['removeFromReconnectionStack'](this),this['_disconnectService'](),super['destroy']();}async['_handleReconnectionResponse'](_0x1998fa){if(this['sessionId']!==_0x1998fa['sessionId']&&this['_lastSyncedOperationId']!==_0x1998fa['lastOperationId'])throw new PC();return this['sessionId']=_0x1998fa['sessionId'],this['_handleServerResponse']([],{..._0x1998fa,'wereChangesApplied':!0x1,'data':_0x1998fa['data']},'reconnect');}async['_connectService'](_0x5e3c8b,_0x16b991=!0x1){const {connection:_0x30229b}=this['editor']['plugins']['get'](nC);RealTimeCollaborationClient['CollaborativeEditingService']['getConnectedSessions'](_0x30229b,this['_channelId'])['then'](_0x1c1507=>this['_initSessionsHandling'](_0x1c1507))['catch'](_0x5682a=>{this['_crash']('realtimecollaborationclient-init-session-connection-error',_0x5682a);}),this['listenTo'](this['_service'],'operationsReceived',this['_handleReceivedOperations']['bind'](this)),this['listenTo'](this['_service'],'error',(_0x4d6436,_0xea244f)=>{this['_crash']('realtimecollaborationclient-init-service-internal-error',_0xea244f);}),this['listenTo'](this['_service'],'disconnected',()=>{this['_handleChannelDisconnected']();});const _0x411650=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x5e3c8b);this['_isPendingUpdate']=!0x0;const _0x55bb2b=await this['_service']['connect'](_0x30229b,this['_compressOperations'](_0x5e3c8b),_0x411650);if(this['sessionId']=_0x55bb2b['sessionId'],_0x16b991){if(!_0x55bb2b['wereChangesApplied'])return void this['_handleReconnectionError']();this['_isPendingUpdate']=!0x1,this['_clearPendingAction'](),this['serverHistory']['reset'](),this['_offset']=_0x55bb2b['offset'],this['serverHistory']['version']=this['_offset'],await this['_handleServerResponse'](_0x5e3c8b,_0x55bb2b,'reconnection:\x20flushed\x20session');}else await this['_handleInitialConnectionData'](_0x55bb2b,_0x5e3c8b);this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}['_handleSendingSelectionMarkers'](){const _0x174b7e=this['editor']['plugins']['get'](rC),_0xa22c62=this['editor']['plugins']['get'](oC),_0x28e72f=_0x174b7e['channelSessions']['get'](this['_channelId']);_0x28e72f&&_0x28e72f['length']>0x1?_0xa22c62['createUserMarkerOperations']():this['listenTo'](_0x174b7e,'sessionAdd:'+this['_channelId'],()=>{0x2===_0x174b7e['channelSessions']['get'](this['_channelId'])['length']&&_0xa22c62['createUserMarkerOperations']();});}async['_handleReceivedOperations'](_0x28ad9a,_0x484184,_0x186738,_0x5dcdad){if(!this['_isPendingUpdate']&&this['_document']['version']==_0x484184){const _0x217cd9=this['_decompressOperations'](_0x186738,_0x5dcdad);await this['_fetchMissingUsers'](_0x217cd9),this['_handleExternalOperations'](_0x217cd9,_0x484184,_0x186738['lastOperationId'])||this['_crash']('realtimecollaborationclient-init-service-incorrect-server-operation');}}async['_connectAfterSessionHasBeenFlushed'](){this['_disconnectService']();const {locale:_0x598f95}=this['editor'];let _0x50724b;try{_0x50724b=await this['_service']['getDocumentDetails']();}catch{const _0x46ce81=lC(_0x598f95,'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'](_0x46ce81);}const _0x2b3e15=_0x50724b['currentDocumentSession']||_0x50724b['lastDocumentSession'];if(this['_lastSyncedOperationId']!==_0x2b3e15['lastOperationId']){const _0x39ea7b=lC(_0x598f95,'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'](_0x39ea7b);}await this['_connectService'](this['editor']['model']['document']['history']['getOperations'](),!0x0);}['_handleChannelDisconnected'](){const _0x2bd973=this['editor']['plugins']['get'](nC);if(this['_isConnected']=!0x1,!_0x2bd973['connection']||'connected'!==_0x2bd973['connection']['state'])return;this['_isChannelFlushed']=!0x0;const _0x12b0ff=this['editor']['plugins']['get'](rC);_0x12b0ff['channelSessions']['has'](this['_channelId'])&&_0x12b0ff['unregister'](this['_channelId']),_0x2bd973['removeFromReconnectionStack'](this),this['_disconnectService']();}['_disconnectService'](){this['_service']['disconnect'](),this['_bufferedOperations']=[],clearTimeout(this['_sendBufferedOperationsDelayId']),this['_isPendingUpdate']=!0x1,this['_clearPendingAction'](),this['stopListening'](this['_service']);}['_initSessionsHandling'](_0x3901b3){const _0x3b0c58=this['editor']['plugins']['get'](rC);this['listenTo'](_0x3b0c58,'sessionAdd:'+this['_channelId'],(_0x5d7adc,{session:_0x37cee8})=>{if(_0x37cee8['id']===_0x3b0c58['mySessionId']){_0x5d7adc['off']();const _0x5c79e9=this['editor']['plugins']['has']('CommentsOnly')&&this['editor']['plugins']['get']('CommentsOnly');let _0x22255c=_0x37cee8['permissions'];_0x5c79e9&&_0x5c79e9['isEnabled']&&(_0x22255c=_0x22255c['filter'](_0x384969=>'document:write'!==_0x384969)),this['editor']['plugins']['get']('Permissions')['setPermissions'](_0x22255c,this['_channelId']);}}),_0x3b0c58['register'](this['_channelId'],_0x3901b3);}['_initThrowingOnDataSet'](){const _0x139aef=this['editor']['data']['set'];this['editor']['data']['set']=(..._0x548329)=>{if(!_0x548329[_0x548329['length']-0x1]['suppressErrorInCollaboration'])throw new _0x5b5a95('realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration',this);_0x139aef['apply'](this['editor']['data'],_0x548329);};}['_setUpDataInit'](){this['editor']['data']['on']('init',(_0x229470,[_0x8887cb])=>{if(this['_document']['version'])throw new _0x5b5a95('realtimecollaborationclient-init-document-already-initialized',this);_0x229470['stop'](),this['_setPendingAction']();const _0xcf227e=Object['fromEntries'](Object['entries'](this['editor']['config']['get']('roots')||{})['filter'](([,_0x50d335])=>!_0x50d335['lazyLoad'])['map'](([_0x52e059,_0x549fa3])=>[_0x52e059,_0x549fa3['modelAttributes']||{}])),_0x17afa6=this['_getOperationsFromInitData'](_0x8887cb,_0xcf227e);0x0==_0x17afa6['length']&&_0x17afa6['push'](new _0x30fb02(0x0)),_0x229470['return']=this['_connectService'](_0x17afa6)['then'](()=>{this['editor']['plugins']['get'](nC)['addToReconnectionStack'](this),this['editor']['data']['fire']('ready');})['catch'](_0x5555df=>this['_crash']('realtimecollaborationclient-init-connection-failed',_0x5555df))['finally'](()=>this['_clearPendingAction']());},{'priority':'high'}),this['editor']['on']('loadRoot',async(_0x2baa48,[_0x8c690b,_0x292be3])=>{_0x2baa48['stop']();const _0x2d00cd=this['editor']['model']['document']['getRoot'](_0x8c690b);if(!this['_knownRootNames']['has'](_0x8c690b)){const _0x1e8f7d=_0x292be3&&_0x292be3['data']?_0x292be3['data']:'',_0x1f93a9=_0x292be3&&_0x292be3['attributes']?_0x292be3['attributes']:{};await this['_loadRoot'](_0x8c690b,_0x1e8f7d,_0x1f93a9);}this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x2d00cd['_isLoaded']=!0x0,this['editor']['model']['document']['differ']['_bufferRootLoad'](_0x2d00cd);});},{'priority':'high'});}async['_fetchMissingUsers'](_0x8394a){const _0x26edc2=this['editor']['plugins']['get'](ha),{connection:_0x2a9c91}=this['editor']['plugins']['get'](nC),_0x31f827=new Set();for(const _0x58d5ae of _0x8394a){const _0x4c1efa=_0x58d5ae['_authorId'];_0x4c1efa&&!_0x26edc2['getUser'](_0x4c1efa)&&_0x31f827['add'](_0x4c1efa);}if(0x0===_0x31f827['size'])return;const _0x321e3b=await pk['getMany'](_0x2a9c91,Array['from'](_0x31f827));for(const _0x39178f of _0x321e3b)_0x26edc2['getUser'](_0x39178f['id'])||_0x26edc2['addUser'](_0x39178f);}['_getOperationsFromInitData'](_0xbd964,_0xb5c19c={}){const _0x5205be=this['editor']['model'],_0x436e14=[];let _0x38e644=0x0;const _0x39dc5c='string'==typeof _0xbd964?{'main':_0xbd964}:_0xbd964;for(const _0x3677d3 of Object['keys'](_0x39dc5c)){if(!this['_document']['roots']['has'](_0x3677d3))throw new _0x5b5a95('realtimecollaborationclient-init-non-existent-root',this);const _0x253869=this['_document']['getRoot'](_0x3677d3),_0x5744b1=this['editor']['data']['parse'](_0x39dc5c[_0x3677d3],_0x253869),_0x460fd0=new _0x114814(_0x5205be['createPositionAt'](_0x253869,0x0),_0x5744b1,_0x38e644++);_0x436e14['push'](_0x460fd0);for(const [_0x367703,_0x1fea9e]of _0x5744b1['markers']){const _0x2955f6=new _0x538fe9(_0x367703,null,_0x5205be['createRange'](_0x5205be['createPositionFromPath'](_0x253869,_0x1fea9e['start']['path']['slice']()),_0x5205be['createPositionFromPath'](_0x253869,_0x1fea9e['end']['path']['slice']())),_0x5205be['markers'],!0x0,_0x38e644++);_0x436e14['push'](_0x2955f6);}}if(_0xb5c19c)for(const [_0x42854a,_0x186823]of Object['entries'](_0xb5c19c)){const _0x2701f7=_0x5205be['document']['getRoot'](_0x42854a);if(!_0x2701f7)throw new _0x5b5a95('multi-root-editor-root-attributes-no-root',null);for(const [_0x2fdffc,_0x4b3d2e]of Object['entries'](_0x186823))if(null!==_0x4b3d2e){const _0xcc1c3f=new _0x28304f(_0x2701f7,_0x2fdffc,null,_0x4b3d2e,_0x38e644++);_0x436e14['push'](_0xcc1c3f);}}return _0x436e14;}async['_loadRoot'](_0x5738a3,_0x45b892,_0x5c69eb){this['_getOperationsFromInitData']({[_0x5738a3]:_0x45b892},{[_0x5738a3]:_0x5c69eb})['forEach']((_0x43f6e6,_0x1fc289)=>{_0x43f6e6['baseVersion']=this['_document']['version']+_0x1fc289,_0x43f6e6['_isInit']=!0x0,this['_saveOperationInBuffer'](_0x43f6e6);}),this['_sendBufferedOperationsDelayed'](),await this['_waitUntilSynced']();}async['_handleInitialConnectionData'](_0x15856b,_0x53a659){let _0x307a39;this['_offset']=_0x15856b['offset'];const _0x253fbe=_0x15856b['wereChangesApplied']&&!_0x15856b['initData'],_0x4d6af6=_0x253fbe?0x0:_0x15856b['data']['baseVersion'];if(_0x53a659['forEach'](_0x1d188a=>{_0x1d188a['_isInit']=!0x0,_0x1d188a['createdAt']=_0x15856b['sessionCreatedAt'],_0x1d188a['_authorId']=null;}),_0x253fbe)_0x307a39=_0x53a659,this['_applyOperationsSet'](_0x307a39,_0x253fbe);else{if(_0x15856b['initData']){const _0x278a54=this['_getOperationsFromInitData'](_0x15856b['initData']);this['_document']['history']['version']=-_0x278a54['length'],_0x278a54['forEach'](_0x176a77=>{_0x176a77['baseVersion']-=_0x278a54['length'],_0x176a77['createdAt']=_0x15856b['sessionCreatedAt'],_0x176a77['_isInit']=!0x0,_0x176a77['_authorId']=null;}),this['_applyOperationsSet'](_0x278a54,!0x0),this['serverHistory']['version']=-_0x278a54['length']+this['_offset'],this['_updateServerHistory'](_0x278a54);}this['_document']['history']['version']=_0x4d6af6,_0x307a39=this['_decompressOperations'](_0x15856b['data'],_0x15856b['metadata']),await this['_fetchMissingUsers'](_0x307a39),this['_applyOperationsSet'](_0x307a39,_0x253fbe);}_0x15856b['lastOperationId']&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x307a39,_0x15856b['lastOperationId']),this['_lastSyncedOperationId']=_0x15856b['lastOperationId']),this['serverHistory']['version']=_0x4d6af6+this['_offset'],this['_updateServerHistory'](_0x307a39),_0x53a659['filter'](_0x3c7327=>{const _0x7c2f6d=this['_getAffectedRoot'](_0x3c7327);return _0x7c2f6d&&!this['_knownRootNames']['has'](_0x7c2f6d);})['forEach']((_0x4788a5,_0x20cfc4)=>{_0x4788a5['baseVersion']=this['_document']['version']+_0x20cfc4,this['_saveOperationInBuffer'](_0x4788a5);}),this['_shouldSendUpdate']()?(this['_currentBufferDelay']=0x0,this['_sendBufferedOperationsDelayed'](!0x0),await this['_waitUntilSynced']()):(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());}['_crash'](_0x3df9e9,_0x5a6fbc){const _0x2eb191=_0x5a6fbc&&_0x5a6fbc['message'];if(_0x2eb191&&_0x2eb191['startsWith']('realtimecollaborationclient'))throw _0x5a6fbc;const _0x44edc7=this['editor']['plugins']['get'](nC);throw this['_isPendingUpdate']=!0x0,_0x44edc7['disconnect'](),this['editor']['enableReadOnlyMode']('realtimecollaborationclient-error'),new _0x5b5a95(_0x3df9e9,this['editor'],_0x2eb191?{'originalError':_0x2eb191}:void 0x0);}['_saveOperationInBuffer'](_0x5b8320){this['_knownOperations']['has'](_0x5b8320)||(this['_knownOperations']['add'](_0x5b8320),this['_bufferedOperations']['push'](_0x5b8320),this['_pendingAction']||'marker'==_0x5b8320['type']&&!_0x5b8320['affectsData']||this['_setPendingAction']());}['_sendBufferedOperationsDelayed'](_0x297b72=!0x1){!_0x297b72&&this['_isPendingUpdate']||(this['_isPendingUpdate']=!0x0,clearTimeout(this['_sendBufferedOperationsDelayId']),this['_sendBufferedOperationsDelayId']=setTimeout(()=>{this['_sendBufferedOperations']()['then'](_0x7a612c=>{_0x7a612c&&(this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1);})['catch'](_0x468e6d=>{this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1,function(_0x1fb6f3){return _0x1fb6f3['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x1fb6f3['message']['startsWith']('cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.')||_0x1fb6f3['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}(_0x468e6d)||this['_crash'](_0x468e6d['message'],_0x468e6d);});},this['_currentBufferDelay']));}['_waitUntilSynced'](){return new Promise(_0x33a8be=>{this['on']('change:_isPendingUpdate',()=>{_0x33a8be();});});}async['_sendBufferedOperations'](){const _0x4e979b=this['editor']['plugins']['get'](oC);if(this['_shouldSendSelectionUpdate']()&&(_0x4e979b['createUserMarkerOperations'](),this['_hasSelectionChanged']=!0x1),!this['_shouldSendUpdate']())return!0x0;const _0x1e3fe7=[...this['_bufferedOperations']];for(const _0x2de849 of _0x1e3fe7)_0x2de849['wasUndone']=this['_document']['history']['isUndoneOperation'](_0x2de849);const _0x440fae=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x1e3fe7),_0x469a22=CC++,_0x483350=this['_compressOperations'](_0x1e3fe7),_0x2ae86d=await this['_service']['sendOperations'](_0x483350,_0x483350['baseVersion'],_0x440fae);try{return await this['_handleServerResponse'](_0x1e3fe7,_0x2ae86d,_0x469a22);}catch(_0x5f441e){return this['_crash']('realtimecollaborationclient-sendbufferedoperations',_0x5f441e);}}async['_handleServerResponse'](_0x2a4b8d,_0x2345a5,_0x166cc1){if('error'in _0x2345a5)throw _0x2345a5['error'];let _0x4f5130=!0x1;if(_0x2345a5['wereChangesApplied']){_0x2345a5['lastOperationId']&&(this['_lastSyncedOperationId']=_0x2345a5['lastOperationId']),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0x21a7b9=>!_0x2a4b8d['includes'](_0x21a7b9));for(const _0x222583 of _0x2a4b8d)_0x222583['createdAt']='lastOperationAcceptedAt'in _0x2345a5&&_0x2345a5['lastOperationAcceptedAt']||void 0x0;MC(_0x2a4b8d,_0x2345a5['version']-_0x2a4b8d['length']),this['_updateServerHistory'](_0x2a4b8d);const _0x1049a4=_0x2a4b8d['filter'](_0x531053=>{if(!_0x531053['_isInit'])return!0x1;const _0x2720f8=this['_getAffectedRoot'](_0x531053);return _0x2720f8&&!this['_knownRootNames']['has'](_0x2720f8);});MC(_0x1049a4,this['_document']['version']),this['_applyOperationsSet'](_0x1049a4),_0x4f5130=!0x0,this['_currentBufferDelay']=this['_baseBufferDelay'];}else{const _0x17617d=this['_decompressOperations'](_0x2345a5['data'],_0x2345a5['metadata'])['filter'](_0x2b0e18=>_0x2b0e18['baseVersion']>=this['_lastServerVersion']);_0x17617d['forEach'](_0x4ad0d1=>this['_addKnownRoot'](_0x4ad0d1)),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0x433cdc=>!_0x433cdc['_isInit']||!this['_knownRootNames']['has'](this['_getAffectedRoot'](_0x433cdc))),this['_bufferedOperations']['length']&&MC(this['_bufferedOperations'],this['_bufferedOperations'][0x0]['baseVersion']),await this['_fetchMissingUsers'](_0x17617d),_0x4f5130=this['_handleExternalOperations'](_0x17617d,_0x2345a5['version'],_0x2345a5['lastOperationId']),this['_currentBufferDelay']=Math['round'](this['_currentBufferDelay']/0x2);}return _0x4f5130?!this['_shouldSendUpdate']()||(this['_sendBufferedOperationsDelayed'](!0x0),!0x1):this['_crash']('realtimecollaborationclient-handleserverresponse');}['_handleExternalOperations'](_0x5dd91e,_0x46d28a,_0x477e69){try{const _0x430803={'document':this['_document'],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x28efad,operationsB:_0x4922b2,originalOperations:_0x118353}=_0x2283bf(_0x5dd91e,this['_bufferedOperations'],_0x430803);MC(_0x28efad,this['_document']['version']),MC(_0x4922b2,_0x46d28a);for(const _0x8ffbb2 of _0x28efad){const _0x573550=_0x118353['get'](_0x8ffbb2);_0x573550?(_0x8ffbb2['_authorId']=_0x573550['_authorId'],'noop'!==_0x8ffbb2['type']&&(_0x8ffbb2['_aiSource']=_0x573550['_aiSource'])):_0x8ffbb2['_authorId']=null;}for(const _0xeec32e of _0x4922b2)'noop'!==_0xeec32e['type']&&(_0xeec32e['_aiSource']=_0x118353['get'](_0xeec32e)?.['_aiSource']);_0x477e69&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x5dd91e,_0x477e69),this['_lastSyncedOperationId']=_0x477e69),this['_bufferedOperations']=[..._0x4922b2],this['_applyOperationsSet'](_0x28efad),this['_updateServerHistory'](_0x5dd91e);}catch(_0x27d81b){return console['error'](_0x27d81b),!0x1;}return!0x0;}['_applyOperationsSet'](_0x5c86d1,_0x5836fc=!0x1){this['editor']['model']['enqueueChange']({'isUndoable':!0x1,'isLocal':!0x1},_0x1f7875=>{for(const _0x43f3ea of _0x5c86d1)this['_knownOperations']['add'](_0x43f3ea),this['_addKnownRoot'](_0x43f3ea),_0x1f7875['batch']['addOperation'](_0x43f3ea),this['editor']['model']['applyOperation'](_0x43f3ea);});}['_addKnownRoot'](_0x1b70f0){const _0x346047=this['_getAffectedRoot'](_0x1b70f0);_0x346047&&this['_knownRootNames']['add'](_0x346047);}['_getAffectedRoot'](_0x168fb6){let _0x5c003d,_0x7bacce;switch(_0x168fb6['type']){case'insert':_0x5c003d=_0x168fb6['position']['root'];break;case'marker':if(_0x7bacce=_0x168fb6['newRange'],!_0x7bacce)return null;_0x5c003d=_0x7bacce['root'];break;case'addRootAttribute':_0x5c003d=_0x168fb6['root'];break;case'addRoot':_0x5c003d=_0x168fb6['affectedSelectable'];break;case'move':_0x5c003d=_0x168fb6['targetPosition']['root'];break;default:return null;}return _0x5c003d['rootName'];}['_updateServerHistory'](_0xd3fe1f){_0xd3fe1f['forEach'](_0x5de8ec=>{const _0x41dd51=_0x5de8ec['clone']();_0x41dd51['_authorId']=_0x5de8ec['_authorId'],_0x41dd51['_isInit']=!!_0x5de8ec['_isInit'],_0x41dd51['_aiSource']=_0x5de8ec['_aiSource'],_0x41dd51['createdAt']=_0x5de8ec['createdAt'],_0x41dd51['baseVersion']+=this['_offset'],_0x5de8ec['_isDisconnection']&&this['_disconnectionOperations']['add'](_0x41dd51),this['serverHistory']['addOperation'](_0x41dd51);});}['_handleReconnectionError'](_0x1469a7){const _0x1183c0=this['editor']['plugins']['get']('Notification'),_0x2fb092=this['editor']['locale'];_0x1469a7||(_0x1469a7=lC(_0x2fb092,'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.')),_0x1183c0['showWarning'](_0x1469a7,{'title':lC(_0x2fb092,'Synchronization\x20issue'),'namespace':'real-time-collaboration'}),this['_hasSynchronizationProblem']=!0x0,clearTimeout(this['_sendBufferedOperationsDelayId']),this['_bufferedOperations']=[],this['editor']['plugins']['get'](nC)['disconnect']();}['_setPendingAction'](){this['_pendingAction']||(this['_pendingAction']=this['editor']['plugins']['get'](_0x56f92e)['add'](lC(this['editor']['locale'],'PENDING_ACTION_SENDING_DATA')));}['_clearPendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get'](_0x56f92e)['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_compressOperations'](_0x3622ce){const _0x309d7f=_0x3622ce['map'](_0xa55d98=>_0xa55d98['toJSON']());return this['_compressor']['compress'](_0x309d7f);}['_decompressOperations'](_0x118b14,_0x5976d1){return this['_compressor']['decompress'](_0x118b14)['map']((_0x4e4d7b,_0x47f27d)=>{const _0x3d7520='init'==_0x5976d1[_0x47f27d]['type'];if('InsertOperation'==_0x4e4d7b['__className']){const _0x23bd47=_0x4e4d7b['position']['root'];!this['_document']['getRoot'](_0x23bd47)&&(this['_document']['createRoot']('$unknown',_0x23bd47)['_isAttached']=!0x1);}else{if('RootOperation'==_0x4e4d7b['__className']){const _0x248b64=this['_document']['getRoot'](_0x4e4d7b['rootName']);_0x248b64&&'$unknown'==_0x248b64['name']&&_0x4e4d7b['elementName']!=_0x248b64['name']&&(_0x248b64['name']=_0x4e4d7b['elementName']);}}const _0x263b17=_0x4528d3['fromJSON'](_0x4e4d7b,this['_document']);return _0x263b17['wasUndone']=_0x4e4d7b['wasUndone'],_0x263b17['_isInit']=_0x3d7520,_0x263b17['_authorId']=_0x3d7520?null:_0x5976d1[_0x47f27d]['userId'],_0x263b17['_isDisconnection']='cs:removeUser'===_0x5976d1[_0x47f27d]['type'],_0x263b17['_aiSource']=_0x4e4d7b['_aiSource']||void 0x0,_0x263b17['createdAt']=_0x5976d1[_0x47f27d]['createdAt'],_0x263b17;});}['_refreshUserSelectionMarkers'](){this['_hasSelectionChanged']=!0x0,this['_shouldSendSelectionUpdate']()?this['_sendBufferedOperationsDelayed']():this['_hasSelectionChanged']=!0x1;}['_shouldSendSelectionUpdate'](){const _0x16d43f=this['editor']['plugins']['get'](rC)['channelSessions']['get'](this['_channelId']);return!this['editor']['isReadOnly']&&!!_0x16d43f&&_0x16d43f['length']>0x1&&this['_hasSelectionChanged'];}['_shouldSendUpdate'](){return this['_bufferedOperations']['length']>0x0||this['_shouldSendSelectionUpdate']();}},PC=class extends Error{};function MC(_0x456913,_0x3ced92){for(const _0x11aa70 of _0x456913)_0x11aa70['baseVersion']=_0x3ced92++;}var NC=class{['_ignoredOperations'];['_operationToId'];constructor(_0xbdc882){this['_ignoredOperations']=_0xbdc882,this['_operationToId']=new WeakMap();}['getIdOfTheLastOperation'](_0x31f823){let _0x5f4b9e=_0x31f823['length'];for(;_0x5f4b9e--;){const _0x5c9d5c=_0x31f823[_0x5f4b9e];if(!this['_ignoredOperations']['has'](_0x5c9d5c)){if(!this['_operationToId']['has'](_0x5c9d5c)){const _0x16c466=_0x10825a()['slice'](0x1,0x12);this['_operationToId']['set'](_0x5c9d5c,_0x16c466);}return this['_operationToId']['get'](_0x5c9d5c);}}}['setIdForTheLastOperation'](_0x5d92f6,_0x23bdb0){if(!_0x23bdb0)return;let _0x377396=_0x5d92f6['length'];for(;_0x377396--;){const _0x578304=_0x5d92f6[_0x377396];this['_ignoredOperations']['has'](_0x578304)||this['_operationToId']['set'](_0x578304,_0x23bdb0);}}},LC=class extends _0x36b920{static get['requires'](){return[RC];}static get['pluginName'](){return'RealTimeCollaborativeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}},$C=class extends _0x32be70{['_enabledCommands'];constructor(_0x5ca496,_0x6c9b7e){super(_0x5ca496),this['_enabledCommands']=_0x6c9b7e,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 _0x3dc3f9 of this['editor']['commands']['commands']())_0x3dc3f9['affectsData']&&!this['_enabledCommands']['has'](_0x3dc3f9)&&_0x3dc3f9['forceDisabled']('TrackChangesCommand');}['_enableCommands'](){for(const _0x453284 of this['editor']['commands']['commands']())_0x453284['affectsData']&&!this['_enabledCommands']['has'](_0x453284)&&_0x453284['clearForceDisabled']('TrackChangesCommand');}},DC=class extends _0x32be70{['_suggestions'];constructor(_0x2e0519,_0x40be65){super(_0x2e0519),this['_suggestions']=_0x40be65,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x206fba){const _0x1813b3=this['_suggestions']['get'](_0x206fba);if(!_0x1813b3)throw new _0x5b5a95('track-changes-accept-suggestion-not-found',this);const _0x256f73=_0x1813b3['getRanges']();this['editor']['model']['canEditAt'](_0x256f73)&&this['editor']['plugins']['get']('TrackChangesEditing')['acceptSuggestion'](_0x1813b3);}},QC=class extends _0x32be70{['_suggestions'];constructor(_0x4fbbfc,_0x36ca23){super(_0x4fbbfc),this['_suggestions']=_0x36ca23,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x189e68){const _0x5e8e77=this['_suggestions']['get'](_0x189e68);if(!_0x5e8e77)throw new _0x5b5a95('track-changes-discard-suggestion-not-found',this);const _0x54030c=_0x5e8e77['getRanges']();this['editor']['model']['canEditAt'](_0x54030c)&&this['editor']['plugins']['get']('TrackChangesEditing')['discardSuggestion'](_0x5e8e77);}};function jC(_0x3a0cc7,_0x255a83){let _0x2badc8='';return _0x2badc8+=_0x3a0cc7['split']('*')['map']((_0xfef1c4,_0x15315e)=>_0x15315e%0x2!=0x0?'<span\x20class=\x22ck-suggestion-type\x22>'+UC(_0xfef1c4)+'</span>':UC(_0xfef1c4))['join'](''),_0x255a83&&(_0x2badc8+='<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20'+_0x255a83['value']+'\x22\x20title=\x22'+_0x255a83['title']+'\x22></span>'),_0x2badc8;}function UC(_0x340c14){const _0x34455e=document['createElement']('span');return _0x34455e['innerText']=_0x340c14,_0x34455e['innerHTML'];}function VC(_0x52c1b2){return _0x52c1b2['sort']((_0x409efa,_0x5ee888)=>'attribute'===_0x409efa['type']&&'attribute'!==_0x5ee888['type']?-0x1:'attribute'!==_0x409efa['type']&&'attribute'===_0x5ee888['type']?0x1:'deletion'==_0x409efa['type']&&'deletion'!=_0x5ee888['type']?-0x1:'deletion'!=_0x409efa['type']&&'deletion'==_0x5ee888['type']?0x1:0x0);}function BC(_0x5559be,_0x18c048){let _0x3d72a2,_0x54332d=0x0;const _0x37b833=[],_0x219642=_0x18c048['schema'];for(;_0x54332d<_0x5559be['length'];){const _0x25f863=_0x5559be[_0x54332d],_0x2d1f41=_0x5559be[_0x54332d+0x1];_0x3d72a2||(_0x3d72a2=_0x18c048['createPositionBefore'](_0x25f863)),FC(_0x18c048,_0x25f863,_0x2d1f41)||(_0x37b833['push'](_0x18c048['createRange'](_0x3d72a2,_0x219642['isObject'](_0x25f863)?_0x18c048['createPositionAfter'](_0x25f863):_0x18c048['createPositionAt'](_0x25f863,'end'))),_0x3d72a2=null),_0x54332d++;}return _0x37b833;}function FC(_0x4b1994,_0xdfc4b6,_0x320135){if(!_0x320135)return!0x1;const _0x174278=_0x4b1994['createPositionAfter'](_0xdfc4b6),_0x4a539b=_0x4b1994['createPositionBefore'](_0x320135);return _0x174278['isTouching'](_0x4a539b);}function HC(_0xd458a5,_0x30aacc,_0x48442b){for(;_0x48442b['length'];){const _0x5dd17c=_0x48442b['splice'](0x0,0x64);_0xd458a5['change'](()=>{for(const _0x58ea48 of _0x5dd17c)_0x58ea48['isInContent']&&_0x30aacc['execute'](_0x58ea48['id']);});}}var ZC=class extends _0x32be70{['_command'];['_suggestions'];constructor(_0x3394d9,_0x58469a,_0x5ad0fe){super(_0x3394d9),this['_command']=_0x58469a,this['_suggestions']=_0x5ad0fe,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x47aa31=Array['from'](this['_suggestions']['values']())['some'](_0x3418ba=>_0x3418ba['isInContent']);this['isEnabled']=this['_command']['isEnabled']&&_0x47aa31;}['execute'](){const _0x5ae8cd=VC(Array['from'](this['_suggestions']['values']()));for(const _0xbfc90f of _0x5ae8cd){const _0x44d09d=_0xbfc90f['getRanges']();if(!this['editor']['model']['canEditAt'](_0x44d09d))return;}HC(this['editor']['model'],this['_command'],_0x5ae8cd);}},GC=class extends _0x32be70{['_command'];['_suggestions'];['_selectedSuggestions'];constructor(_0x21a5c0,_0x29cb23,_0x2076b7){super(_0x21a5c0),this['_command']=_0x29cb23,this['_suggestions']=_0x2076b7,this['_selectedSuggestions']=new Set(),this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x396fb3=this['editor']['model']['document']['selection'],_0xfc8264=Array['from'](this['_suggestions']['values']());this['_selectedSuggestions']=function(_0x45b14b,_0x5c81eb){const _0x37ca09=Array['from'](_0x45b14b['getRanges']()),_0x4e39e3=new Set();for(const _0x4e10c6 of _0x5c81eb)if(_0x4e10c6['isInContent']){for(const _0x9ebc1f of _0x37ca09)for(const _0x872f87 of _0x4e10c6['getRanges']())(_0x9ebc1f['isIntersecting'](_0x872f87)||_0x45b14b['isCollapsed']&&!_0x4e10c6['isMultiRange']&&_0x4e10c6['next']&&_0x872f87['end']['isTouching'](_0x9ebc1f['start']))&&_0x4e39e3['add'](_0x4e10c6);}return _0x4e39e3;}(_0x396fb3,_0xfc8264),this['isEnabled']=this['_command']['isEnabled']&&!!this['_selectedSuggestions']['size'];}['execute'](){const _0x591c44=VC(Array['from'](this['_selectedSuggestions']));for(const _0xc930c5 of _0x591c44){const _0x517b90=_0xc930c5['getRanges']();if(!this['editor']['model']['canEditAt'](_0x517b90))return;}HC(this['editor']['model'],this['_command'],_0x591c44);}};const XC=/* #__PURE__ -- @preserve */
_0x5b14e3();var qC=class Suggestion extends XC{['id'];['type'];['subType'];['author'];['creator'];['data'];['createdAt'];['_originalSuggestionId'];['_isDataLoaded']=!0x1;['_model'];['_onAccept'];['_onDiscard'];['_onAttributesChange'];['_markerNames'];constructor(_0x35750a,_0x2d9e1b){super(),this['id']=_0x2d9e1b['id'],this['type']=_0x2d9e1b['type'],this['subType']=_0x2d9e1b['subType']||null,this['author']=_0x2d9e1b['author'],this['creator']=_0x2d9e1b['creator']||_0x2d9e1b['author'],this['data']=null,this['_originalSuggestionId']=_0x2d9e1b['originalSuggestionId']||null,this['_model']=_0x35750a,this['_onAccept']=_0x2d9e1b['onAccept'],this['_onDiscard']=_0x2d9e1b['onDiscard'],this['_onAttributesChange']=_0x2d9e1b['onAttributesChange'],this['_markerNames']=new Set(),this['createdAt']=null,this['set']('authoredAt',null),this['set']('attributes',_0x2d9e1b['attributes']||{}),this['set']('previous',null),this['set']('next',null),this['set']('commentThread',null),this['set']('_saved',!0x1),this['decorate']('accept'),this['decorate']('discard');}get['isExternal'](){return Boolean(this['attributes']&&this['attributes']['@external']);}get['aiSource'](){return this['attributes']&&this['attributes']['@ai']?.['type']||null;}get['head'](){let _0x4b3a04=this;for(;_0x4b3a04['previous'];)_0x4b3a04=_0x4b3a04['previous'];return _0x4b3a04;}get['hasComments'](){return!!this['commentThread']&&this['commentThread']['length']>0x0;}get['isMultiRange'](){return 0x0!=this['_markerNames']['size']&&0x6==Array['from'](this['_markerNames'])[0x0]['split'](':')['length'];}get['isInContent'](){return null!==this['getFirstMarker']();}['addMarkerName'](_0x44fe56){this['_markerNames']['add'](_0x44fe56);}['getMarkerNames'](){return Array['from'](this['_markerNames']);}['getMarkers'](){return this['getMarkerNames']()['map'](_0x19372a=>this['_model']['markers']['get'](_0x19372a))['filter'](_0xe51ca6=>_0xe51ca6);}['getFirstMarker'](){return this['getMarkers']()[0x0]||null;}['removeMarkers'](){this['_model']['change'](_0x384e26=>{for(const _0x1691b5 of this['getMarkers']())_0x384e26['removeMarker'](_0x1691b5);}),this['_markerNames']['clear']();}['removeMarker'](_0x36d732){this['_model']['change'](_0x48ffbf=>{_0x48ffbf['removeMarker'](_0x36d732);}),this['_markerNames']['delete'](_0x36d732);}['addRange'](_0x1668d7){const _0x4746d7='suggestion:'+this['type']+':'+this['subType']+':'+this['id']+':'+this['creator']['id']+':'+Suggestion['getMultiRangeId']();this['addMarkerName'](_0x4746d7),this['_model']['change'](_0x388d3e=>{_0x388d3e['addMarker'](_0x4746d7,{'range':_0x1668d7,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x59d3a4){for(const _0x599602 of this['getRanges']())if(_0x599602['isIntersecting'](_0x59d3a4))return!0x0;return!0x1;}['getRanges'](){return this['getMarkers']()['map'](_0x1ba8d6=>_0x1ba8d6['getRange']());}['getItems'](){return this['getRanges']()['reduce']((_0x5abb94,_0x3ba456)=>[..._0x5abb94,..._0x3ba456['getItems']()],[]);}['getFirstRange'](){return this['getFirstMarker']()?.['getRange']()||null;}['getContainedElement'](){const _0x4593dc=this['getRanges']();if(0x1!=_0x4593dc['length'])return null;const _0x99be0d=_0x4593dc[0x0],_0x3782b1=_0x99be0d['start']['nodeAfter'],_0x413056=_0x99be0d['end']['nodeBefore'];return _0x3782b1 instanceof _0x33dcdb?_0x3782b1!=_0x413056?null:_0x3782b1: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 _0x3cf740=[];let _0xc77062=this['head'];for(;_0xc77062;)_0x3cf740['push'](_0xc77062),_0xc77062=_0xc77062['next'];return _0x3cf740;}['setAttribute'](_0x10ea1a,_0x52d1b3){const _0x34315b=Jr(this['attributes']);Ao(_0x34315b,_0x10ea1a,_0x52d1b3),qr(_0x34315b,this['attributes'])||(this['attributes']=_0x34315b,this['_onAttributesChange'](_0x34315b));}['removeAttribute'](_0x185d30){const _0x254d1c=Jr(this['attributes']);fo(_0x254d1c,_0x185d30),qr(_0x254d1c,this['attributes'])||(this['attributes']=_0x254d1c,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 _0x10825a()['substr'](0x1,0x5);}};function WC(_0x2a7bf5,_0x272dca,_0x21abaf){const _0x39d762=_0x2a7bf5['t'],t=_0x2a7bf5['t'];switch(_0x272dca){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',_0x21abaf);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x21abaf);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x21abaf);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x21abaf);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x21abaf);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',_0x21abaf);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x21abaf);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',_0x21abaf);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x21abaf);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x21abaf);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x21abaf);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x21abaf);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x21abaf);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x21abaf);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x21abaf);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x21abaf);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x21abaf);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x21abaf);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x21abaf);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x21abaf);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x21abaf);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x21abaf);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x21abaf);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x21abaf);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x21abaf);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'},_0x21abaf);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x21abaf);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x21abaf);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x21abaf);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x21abaf);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x21abaf);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x21abaf);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x21abaf);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_RAW_HTML':return t({'string':'raw\x20HTML','id':'ELEMENT_RAW_HTML'});case'ELEMENT_HTML_TAG':return t({'string':'%1\x20element','plural':'%0\x20%1\x20elements','id':'ELEMENT_HTML_TAG'},_0x21abaf);case'FORMAT_RAW_HTML_CONTENT':return t({'string':'raw\x20HTML\x20content','id':'FORMAT_RAW_HTML_CONTENT'});case'FORMAT_HTML_CLASS':return t({'string':'style','id':'FORMAT_HTML_CLASS'});case'FORMAT_HTML_ATTRIBUTE':return t({'string':'metadata','id':'FORMAT_HTML_ATTRIBUTE'});case'FORMAT_HTML_LIST_ITEM':return t({'string':'list\x20item\x20HTML','id':'FORMAT_HTML_LIST_ITEM'});case'FORMAT_HTML_BULLETED_LIST':return t({'string':'list\x20HTML','id':'FORMAT_HTML_BULLETED_LIST'});case'FORMAT_HTML_NUMBERED_LIST':return t({'string':'list\x20HTML','id':'FORMAT_HTML_NUMBERED_LIST'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x21abaf);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x21abaf);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x21abaf);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x21abaf);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x21abaf);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'},_0x21abaf);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x21abaf);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'},_0x21abaf);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_FOOTER_ROW':return t({'string':'footer\x20row','id':'FORMAT_FOOTER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_MEDIA_SIZE':return t({'string':'media\x20size','id':'FORMAT_MEDIA_SIZE'});case'FORMAT_MEDIA_ALIGN_LEFT':return t({'string':'align\x20left','id':'FORMAT_MEDIA_ALIGN_LEFT'});case'FORMAT_MEDIA_ALIGN_BLOCK_LEFT':return t({'string':'align\x20block\x20left','id':'FORMAT_MEDIA_ALIGN_BLOCK_LEFT'});case'FORMAT_MEDIA_ALIGN_CENTER':return t({'string':'align\x20center','id':'FORMAT_MEDIA_ALIGN_CENTER'});case'FORMAT_MEDIA_ALIGN_BLOCK_RIGHT':return t({'string':'align\x20block\x20right','id':'FORMAT_MEDIA_ALIGN_BLOCK_RIGHT'});case'FORMAT_MEDIA_ALIGN_RIGHT':return t({'string':'align\x20right','id':'FORMAT_MEDIA_ALIGN_RIGHT'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_TYPE':return t({'string':'table\x20cell\x20type','id':'FORMAT_TABLE_CELL_TYPE'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x21abaf);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x21abaf);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'},_0x21abaf);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x21abaf);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'},_0x21abaf);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x21abaf);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x21abaf);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x21abaf);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x21abaf);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x21abaf);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'},_0x21abaf);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x21abaf);case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'AI_SOURCE_PILL_LABEL':return t({'string':'AI-generated','id':'AI_SOURCE_PILL_LABEL'});case'AI_SOURCE_PILL_TOOLTIP':return t({'string':'This\x20suggestion\x20was\x20proposed\x20by\x20AI.','id':'AI_SOURCE_PILL_TOOLTIP'});case'AI_AUTHOR_DEFAULT_NAME':return t({'string':'AI\x20Assistant','id':'AI_AUTHOR_DEFAULT_NAME'});case'EXTERNAL_AVATAR':return _0x39d762({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x21abaf);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x39d762({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x21abaf);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x21abaf);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'},_0x21abaf);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'},_0x21abaf);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'},_0x21abaf);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x272dca;}}var zC=class{['_customCallbacks'];['_itemLabels'];['_itemLabelsCallbacks'];['_attributeLabels'];['_schema'];['_locale'];constructor(_0x59d0a5,_0x478170){this['_customCallbacks']=[],this['_itemLabels']=new Map(),this['_itemLabelsCallbacks']=[],this['_attributeLabels']=new Map(),this['_schema']=_0x59d0a5,this['_locale']=_0x478170;}['getDescriptions'](_0xf11021){const _0x1c6ca9=[],_0xedb12f=new Set(),_0x3511da=new Set();for(let _0x5e0ae4=0x0;_0x5e0ae4<_0xf11021['length'];_0x5e0ae4++){const _0x1ccc54=_0xf11021[_0x5e0ae4];if(!_0x1ccc54['isInContent'])continue;const _0x51e65b=this['_handleCustomCallbackDescription'](_0x1ccc54);if(_0x51e65b){if(null!=_0x1ccc54['subType']){if(_0xedb12f['has'](_0x1ccc54['subType']))continue;_0xedb12f['add'](_0x1ccc54['subType']);}_0x1c6ca9['push'](_0x51e65b);}else{if('attribute'==_0x1ccc54['type']){const _0x23ff5d=_0x1ccc54['data']['key'];if(_0x3511da['has'](_0x23ff5d))continue;_0x3511da['add'](_0x1ccc54['data']['key']),'$elementName'==_0x23ff5d?this['_handleRenameSuggestionDescription'](_0x1c6ca9,_0x1ccc54):this['_handleAttributeSuggestionDescription'](_0x1c6ca9,_0x1ccc54);continue;}'insertion'!=_0x1ccc54['type']&&'deletion'!=_0x1ccc54['type']||this['_handleInsertRemoveSuggestionDescription'](_0x1c6ca9,_0x1ccc54,_0xf11021[_0x5e0ae4+0x1]);}}return this['_resolveDescriptionItems'](_0x1c6ca9);}['registerDescriptionCallback'](_0x525d76){this['_customCallbacks']['push'](_0x525d76);}['registerElementLabel'](_0x344962,_0x32e26d,_0x544b66=_0x38a185['normal']){'function'==typeof _0x344962?_0x3169a6(this['_itemLabelsCallbacks'],{'matchingCallback':_0x344962,'label':_0x32e26d,'priority':_0x544b66}):this['_itemLabels']['set'](_0x344962,_0x32e26d);}['registerAttributeLabel'](_0xb6cfc3,_0x40a648){this['_attributeLabels']['set'](_0xb6cfc3,_0x40a648);}['getItemLabel'](_0x5e91a9,_0x1a1a90=0x1){let _0x2d5f63;for(const _0x361f54 of this['_itemLabelsCallbacks'])if(_0x361f54['matchingCallback'](_0x5e91a9)){_0x2d5f63=_0x361f54['label'];break;}return _0x2d5f63||(_0x2d5f63=this['_itemLabels']['get'](_0x5e91a9['name'])),_0x2d5f63?_0x2d5f63(_0x1a1a90):0x1!==_0x1a1a90?_0x1a1a90+'\x20'+_0x5e91a9['name']+'s':''+_0x5e91a9['name'];}['_addDescriptionItems'](_0x33ca3f,_0x57a6bf){const _0x13cd2b=_0x57a6bf['getFirstRange']()['getWalker'](),_0xdf2e93='insertion'==_0x57a6bf['type']?'add':'remove';for(const _0x14a843 of _0x13cd2b){const _0x217fbc=_0x14a843['item'],_0x3f07d8=_0x33ca3f[_0x33ca3f['length']-0x1];if(_0x217fbc['is']('$textProxy'))_0x3f07d8&&_0x3f07d8['type']['indexOf']('Container')>-0x1&&_0x33ca3f['pop'](),_0x3f07d8&&'text'==_0x3f07d8['type']?_0x3f07d8[_0xdf2e93]+=_0x217fbc['data']:_0x33ca3f['push']({'type':'text','add':'add'==_0xdf2e93?_0x217fbc['data']:'','remove':'remove'==_0xdf2e93?_0x217fbc['data']:''});else{if(this['_schema']['isObject'](_0x217fbc)){const _0x5cac80=_0x217fbc;if(_0x3f07d8&&_0x3f07d8['type']['indexOf']('Container')>-0x1&&_0x33ca3f['pop'](),'elementEnd'==_0x14a843['type'])continue;_0x3f07d8&&_0x3f07d8['type']==_0xdf2e93+'Object'&&_0x3f07d8['element']['name']==_0x5cac80['name']?_0x3f07d8['quantity']++:_0x33ca3f['push']({'type':_0xdf2e93+'Object','element':_0x5cac80,'quantity':0x1}),_0x13cd2b['skip'](_0x478c2c=>!('elementEnd'==_0x478c2c['type']&&_0x478c2c['item']==_0x217fbc));}else{if(this['_schema']['checkChild'](_0x217fbc,'$text')||_0x217fbc['is']('element','softBreak')){const _0x40048e=_0x217fbc;if('add'==_0xdf2e93&&'elementStart'==_0x14a843['type']||'remove'==_0xdf2e93&&'elementEnd'==_0x14a843['type'])continue;if(_0x3f07d8&&-0x1==_0x3f07d8['type']['indexOf']('Container')){'text'==_0x3f07d8['type']&&(_0x3f07d8[_0xdf2e93]+='\x0a');continue;}let _0x12bd81;if(_0x12bd81='add'==_0xdf2e93?_0x40048e['nextSibling']&&!this['_schema']['isObject'](_0x40048e['nextSibling'])?_0x40048e['nextSibling']:null:_0x40048e['previousSibling']&&!this['_schema']['isObject'](_0x40048e['previousSibling'])?_0x40048e['previousSibling']:null,_0x40048e['isEmpty']||_0x12bd81&&_0x12bd81['isEmpty']){const _0x25b2c6=_0x12bd81&&_0x12bd81['isEmpty']?_0x12bd81:_0x40048e;_0x3f07d8&&_0x3f07d8['type']==_0xdf2e93+'EmptyContainer'&&_0x3f07d8['element']['name']==_0x25b2c6['name']?_0x3f07d8['quantity']++:_0x33ca3f['push']({'type':_0xdf2e93+'EmptyContainer','element':_0x25b2c6,'quantity':0x1});}else _0x33ca3f['push']({'type':_0xdf2e93+'Container','element':_0x40048e});}}}}}['_resolveDescriptionItems'](_0x424586){const _0x3b5eca=this['_locale'],_0xa5b5c4=[],_0xb1d814=[],_0xcfd343=[];for(const _0x3134c1 of _0x424586)switch(_0x3134c1['type']){case'text':if(_0x3134c1['add']=_0x3134c1['add']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),_0x3134c1['remove']=_0x3134c1['remove']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),''!=_0x3134c1['add']&&''!=_0x3134c1['remove']){_0xa5b5c4['push']({'type':'replace','content':WC(_0x3b5eca,'REPLACE_TEXT',['\x22'+_0x3134c1['remove']+'\x22','\x22'+_0x3134c1['add']+'\x22'])});continue;}if(null!=_0x3134c1['add']['match'](/^ +$/)){_0xa5b5c4['push']({'type':'insertion','content':WC(_0x3b5eca,'*Insert:*\x20%0',WC(_0x3b5eca,'ELEMENT_SPACE',_0x3134c1['add']['length']))});continue;}if(null!=_0x3134c1['remove']['match'](/^ +$/)){_0xa5b5c4['push']({'type':'deletion','content':WC(_0x3b5eca,'*Remove:*\x20%0',WC(_0x3b5eca,'ELEMENT_SPACE',_0x3134c1['remove']['length']))});continue;}if(''!=_0x3134c1['add']){_0xa5b5c4['push']({'type':'insertion','content':WC(_0x3b5eca,'*Insert:*\x20%0','\x22'+_0x3134c1['add']+'\x22')});continue;}_0xa5b5c4['push']({'type':'deletion','content':WC(_0x3b5eca,'*Remove:*\x20%0','\x22'+_0x3134c1['remove']+'\x22')});continue;case'addEmptyContainer':case'addObject':_0xa5b5c4['push']({'type':'insertion','content':WC(_0x3b5eca,'*Insert:*\x20%0',this['getItemLabel'](_0x3134c1['element'],_0x3134c1['quantity']))});continue;case'removeEmptyContainer':case'removeObject':_0xa5b5c4['push']({'type':'deletion','content':WC(_0x3b5eca,'*Remove:*\x20%0',this['getItemLabel'](_0x3134c1['element'],_0x3134c1['quantity']))});continue;case'addContainer':_0xa5b5c4['push']({'type':'insertion','content':WC(_0x3b5eca,'*Split:*\x20%0',this['getItemLabel'](_0x3134c1['element'],_0x3134c1['quantity']))});continue;case'removeContainer':_0xa5b5c4['push']({'type':'deletion','content':WC(_0x3b5eca,'*Merge:*\x20%0',this['getItemLabel'](_0x3134c1['element'],_0x3134c1['quantity']))});continue;case'addFormat':_0xb1d814['push'](_0x3134c1['key']);continue;case'removeFormat':_0xcfd343['push'](_0x3134c1['key']);continue;default:_0xa5b5c4['push'](_0x3134c1);}if(_0xb1d814['length']){const _0x44de42=_0xb1d814['map'](_0xa56587=>this['_attributeLabels']['has'](_0xa56587)?this['_attributeLabels']['get'](_0xa56587):_0xa56587)['join'](',\x20');_0xa5b5c4['push']({'type':'format','content':WC(this['_locale'],'*Set\x20format:*\x20%0',_0x44de42)});}if(_0xcfd343['length']){const _0xbe61c4=_0xcfd343['map'](_0x4e29bf=>this['_attributeLabels']['has'](_0x4e29bf)?this['_attributeLabels']['get'](_0x4e29bf):_0x4e29bf)['join'](',\x20');_0xa5b5c4['push']({'type':'format','content':WC(this['_locale'],'*Remove\x20format:*\x20%0',_0xbe61c4)});}return _0xa5b5c4;}['_handleCustomCallbackDescription'](_0x14589c){for(const _0xcd7e02 of this['_customCallbacks']){const _0x3f7b81=_0xcd7e02(_0x14589c);if(_0x3f7b81&&'type'in _0x3f7b81)return _0x3f7b81;}}['_handleAttributeSuggestionDescription'](_0x28344a,_0x4e9218){const _0x448f69=_0x4e9218['data'],_0x401066=void 0x0===_0x448f69['newValue']?'removeFormat':'addFormat';_0x28344a['push']({'type':_0x401066,'key':_0x448f69['key']});}['_handleRenameSuggestionDescription'](_0x1c5d4a,_0xe0f387){_0x1c5d4a['push']({'type':'format','content':WC(this['_locale'],'*Change\x20to:*\x20%0',this['getItemLabel'](_0xe0f387['getFirstRange']()['start']['nodeAfter'],0x1))});}['_handleInsertRemoveSuggestionDescription'](_0x45a2fc,_0x177f73,_0x2a922c){if(this['_addDescriptionItems'](_0x45a2fc,_0x177f73),_0x2a922c&&_0x2a922c['getFirstRange']()&&!_0x177f73['getFirstRange']()['end']['isEqual'](_0x2a922c['getFirstRange']()['start'])){const _0x1fe817=_0x45a2fc[_0x45a2fc['length']-0x1],_0x455b07='insertion'==_0x177f73['type']?'add':'remove';_0x1fe817&&'text'==_0x1fe817['type']&&(_0x1fe817[_0x455b07]+='\x0a');}}},YC=class extends _0x36b920{['afterInit'](){const _0x1a5426=this['editor'],_0x59f8a3=_0x1a5426['plugins']['get']('TrackChangesEditing');_0x1a5426['commands']['get']('showAIAssistant')&&_0x59f8a3['enableCommand']('showAIAssistant');}},KC=class extends _0x36b920{['afterInit'](){const _0x51455b=this['editor'],_0x57c4c8=_0x51455b['plugins']['get']('TrackChangesEditing');_0x51455b['commands']['get']('toggleAi')&&_0x57c4c8['enableCommand']('toggleAi');}},JC=class extends _0x36b920{['afterInit'](){const _0x576258=this['editor'],_0x200944=_0x576258['plugins']['get']('TrackChangesEditing');_0x576258['commands']['get']('aiQuickAction')&&_0x200944['enableCommand']('aiQuickAction');}},tR=class extends _0x36b920{['afterInit'](){const _0x41db83=this['editor'],_0x291b1f=_0x41db83['locale'];if(!_0x41db83['plugins']['has']('AlignmentEditing'))return;const _0x46875a=_0x41db83['plugins']['get']('TrackChangesEditing');_0x46875a['enableDefaultAttributesIntegration']('alignment'),_0x46875a['descriptionFactory']['registerAttributeLabel']('alignment',WC(_0x291b1f,'FORMAT_ALIGNMENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x3966b6=this['editor'],_0x20304f=_0x3966b6['locale'];_0x3966b6['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x1e8510=>{if('formatBlock'!=_0x1e8510['type'])return;const {data:_0x257da1}=_0x1e8510;if(_0x257da1&&'alignment'==_0x257da1['commandName']){const _0x109c6c=_0x257da1['commandParams'][0x0]['value'];return{'type':'format','content':WC(_0x20304f,'*Format:*\x20%0',function(_0x366080){switch(_0x366080){case'left':return WC(_0x20304f,'FORMAT_ALIGN_TO_LEFT');case'right':return WC(_0x20304f,'FORMAT_ALIGN_TO_RIGHT');case'center':return WC(_0x20304f,'FORMAT_ALIGN_TO_CENTER');case'justify':return WC(_0x20304f,'FORMAT_JUSTIFY_TEXT');}}(_0x109c6c))};}});}};const eR=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];var iR=class extends _0x36b920{['afterInit'](){const _0x5ccdfa=this['editor'],_0x2e5b19=_0x5ccdfa['plugins']['get']('TrackChangesEditing'),_0xe509e3=_0x5ccdfa['locale'];for(const _0x5854e8 of eR){if(!_0x5ccdfa['plugins']['has'](_0x5854e8))continue;const _0x19b097=_0x5854e8['slice'](0x0,-0x7)['toLowerCase'](),_0x1c4607='FORMAT_'+_0x19b097['toUpperCase']();_0x2e5b19['enableDefaultAttributesIntegration'](_0x19b097),_0x2e5b19['descriptionFactory']['registerAttributeLabel'](_0x19b097,WC(_0xe509e3,_0x1c4607));}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x1f3deb=this['editor'],_0x487250=_0x1f3deb['locale'],_0x5dfac8=_0x1f3deb['plugins']['get']('TrackChangesEditing');function _0x3050fe(_0x41db0f,_0x2fe9c2){_0x5dfac8['descriptionFactory']['registerDescriptionCallback'](_0x5a7add=>{if('formatInline'!=_0x5a7add['type'])return;const {data:_0x5de6d1}=_0x5a7add;return _0x5de6d1&&_0x5de6d1['commandName']===_0x41db0f?_0x5de6d1['commandParams'][0x0]['forceValue']?{'type':'format','content':WC(_0x487250,'*Format:*\x20%0',_0x2fe9c2)}:{'type':'format','content':WC(_0x487250,'*Remove\x20format:*\x20%0',_0x2fe9c2)}:void 0x0;});}_0x3050fe('bold',WC(_0x487250,'FORMAT_BOLD')),_0x3050fe('italic',WC(_0x487250,'FORMAT_ITALIC')),_0x3050fe('underline',WC(_0x487250,'FORMAT_UNDERLINE')),_0x3050fe('code',WC(_0x487250,'FORMAT_CODE')),_0x3050fe('strikethrough',WC(_0x487250,'FORMAT_STRIKETHROUGH')),_0x3050fe('subscript',WC(_0x487250,'FORMAT_SUBSCRIPT')),_0x3050fe('superscript',WC(_0x487250,'FORMAT_SUPERSCRIPT'));}},sR=class extends _0x36b920{['afterInit'](){const _0x9de3d8=this['editor'],_0x255b4c=_0x9de3d8['locale'];if(!_0x9de3d8['plugins']['has']('BlockQuoteEditing'))return;const _0x2129ff=_0x9de3d8['plugins']['get']('TrackChangesEditing'),_0x5926e3=this['editor']['commands']['get']('blockQuote');_0x2129ff['enableCommand']('blockQuote',(_0x8cd738,_0x559878={})=>{const _0x634c66=this['editor']['model']['document']['selection'],_0x24f10d=_0x559878&&void 0x0!==_0x559878['forceValue']?_0x559878['forceValue']:!_0x5926e3['value'];let _0x33d2c5=[];_0x33d2c5=BC(_0x24f10d?Array['from'](_0x634c66['getSelectedBlocks']())['filter'](_0x47fbff=>nR(_0x47fbff)||function(_0x50f29c,_0x269148){const _0x4d4892=_0x269148['createContext'](_0x50f29c['parent']);return!!_0x269148['checkChild'](_0x4d4892,'blockQuote')&&!!_0x269148['checkChild'](_0x4d4892['push']('blockQuote'),_0x50f29c);}(_0x47fbff,this['editor']['model']['schema'])):Array['from'](_0x634c66['getSelectedBlocks']())['filter'](_0xf91eaa=>nR(_0xf91eaa)),_0x9de3d8['model']),_0x9de3d8['model']['change'](()=>{for(const _0x345943 of _0x33d2c5)_0x2129ff['markBlockFormat'](_0x345943,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x24f10d}]});});}),_0x2129ff['descriptionFactory']['registerDescriptionCallback'](_0x5018db=>{const {data:_0x328625}=_0x5018db;if(_0x328625&&'blockQuote'==_0x328625['commandName']){const _0x34f8c0=WC(_0x255b4c,'ELEMENT_BLOCK_QUOTE');return _0x328625['commandParams'][0x0]['forceValue']?{'type':'format','content':WC(_0x255b4c,'*Set\x20format:*\x20%0',_0x34f8c0)}:{'type':'format','content':WC(_0x255b4c,'*Remove\x20format:*\x20%0',_0x34f8c0)};}});}};function nR(_0x45e4bc){return'blockQuote'==_0x45e4bc['parent']['name'];}var rR=class extends _0x36b920{['afterInit'](){const _0x4d95b4=this['editor'],_0xcc8e63=_0x4d95b4['locale'],_0x139679=_0x4d95b4['plugins']['get']('TrackChangesEditing');_0x4d95b4['plugins']['has']('BookmarkEditing')&&(_0x139679['enableCommand']('insertBookmark'),_0x139679['enableDefaultAttributesIntegration']('updateBookmark'),_0x139679['descriptionFactory']['registerDescriptionCallback'](_0x245509=>{if('insertion'!=_0x245509['type']&&'deletion'!=_0x245509['type']&&'attribute'!=_0x245509['type'])return;const _0x2d8282=_0x245509['getContainedElement']();if(null==_0x2d8282)return;if(!_0x2d8282['is']('element','bookmark'))return;const _0x29d4c3=_0x2d8282['getAttribute']('bookmarkId');if('insertion'==_0x245509['type'])return{'type':'insertion','content':WC(_0xcc8e63,'*Insert:*\x20%0','\x22'+_0x29d4c3+'\x22\x20'+WC(_0xcc8e63,'ELEMENT_BOOKMARK'))};if('deletion'==_0x245509['type'])return{'type':'deletion','content':WC(_0xcc8e63,'*Remove:*\x20%0','\x22'+_0x29d4c3+'\x22\x20'+WC(_0xcc8e63,'ELEMENT_BOOKMARK'))};const {data:_0x161413}=_0x245509;return _0x161413&&'bookmarkId'==_0x161413['key']?{'type':'format','content':WC(_0xcc8e63,'*Set\x20bookmark:*\x20%0','\x22'+_0x161413['newValue']+'\x22')}:void 0x0;}));}},oR=class extends _0x36b920{['afterInit'](){const _0x5130bc=this['editor'];_0x5130bc['plugins']['has']('CaseChange')&&(_0x5130bc['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseUpper'),_0x5130bc['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseLower'),_0x5130bc['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseTitle'));}},aR=class extends _0x36b920{['afterInit'](){const _0xa1e850=this['editor'];_0xa1e850['commands']['get']('ckbox')&&_0xa1e850['plugins']['get']('TrackChangesEditing')['enableCommand']('ckbox');}},cR=class extends _0x36b920{['afterInit'](){const _0x7de631=this['editor'];if(!_0x7de631['plugins']['has']('CodeBlock'))return;const _0x55bfcd=_0x7de631['plugins']['get']('TrackChangesEditing'),_0x558d28=_0x7de631['locale'],_0x246f20=_0x7de631['config']['get']('codeBlock')['languages'],_0x11fd4a=_0x7de631['commands']['get']('codeBlock');_0x55bfcd['enableCommand']('indentCodeBlock'),_0x55bfcd['enableCommand']('outdentCodeBlock'),_0x55bfcd['enableCommand']('codeBlock',(_0x240098,_0x440770={})=>{const _0x17de6e=_0x7de631['model'],_0x1ac989=_0x7de631['model']['document']['selection'],_0xc3a868=_0x440770&&void 0x0!==_0x440770['forceValue']?_0x440770['forceValue']:!_0x11fd4a['value'];let _0x18210d;_0x440770['language']||(_0x440770['language']=_0x246f20[0x0]['language']),_0x18210d=_0xc3a868?Array['from'](_0x1ac989['getSelectedBlocks']())['filter'](_0x411a3f=>lR(_0x411a3f)||function(_0x4dc034,_0x5ce161){return!_0x4dc034['is']('rootElement')&&!_0x5ce161['isLimit'](_0x4dc034)&&_0x5ce161['checkChild'](_0x4dc034['parent'],'codeBlock');}(_0x411a3f,_0x17de6e['schema'])):Array['from'](_0x1ac989['getSelectedBlocks']())['filter'](_0x264fdf=>lR(_0x264fdf));const _0x36b167=BC(_0x18210d,_0x17de6e);_0x17de6e['change'](()=>{for(const _0xd8484c of _0x36b167)_0x55bfcd['markBlockFormat'](_0xd8484c,{'commandName':'codeBlock','commandParams':[{..._0x440770,'forceValue':_0xc3a868}],'formatGroupId':'blockName'});});}),(_0x55bfcd['descriptionFactory']['registerElementLabel']('codeBlock',_0x47777a=>WC(_0x558d28,'ELEMENT_CODE_BLOCK',_0x47777a)),_0x55bfcd['descriptionFactory']['registerDescriptionCallback'](_0x589933=>{if('formatBlock'!=_0x589933['type'])return;const _0xc0522f=_0x558d28['t'],{data:_0x470900}=_0x589933;if(!_0x470900||'codeBlock'!=_0x470900['commandName'])return;const _0x532733=_0x470900['commandParams'][0x0]['language'],_0x4d8538=_0x246f20['find'](_0x3862d4=>_0x3862d4['language']===_0x532733)['label'],_0xfa9c7c=_0xc0522f(_0x4d8538)['toLowerCase']();return _0x470900['commandParams'][0x0]['forceValue']?{'type':'format','content':WC(_0x558d28,'*Set\x20format:*\x20%0',WC(_0x558d28,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0xfa9c7c+')')}:{'type':'format','content':WC(_0x558d28,'*Remove\x20format:*\x20%0',WC(_0x558d28,'ELEMENT_CODE_BLOCK',0x1))};}));}};function lR(_0x22403b){return'codeBlock'==_0x22403b['name'];}var hR=class extends _0x36b920{['afterInit'](){const _0x3668c9=this['editor'];_0x3668c9['plugins']['has']('CommentsEditing')&&_0x3668c9['plugins']['get']('TrackChangesEditing')['enableCommand']('addCommentThread');}},uR=class extends _0x36b920{static get['requires'](){return[_0x38d3cf];}['init'](){const _0x56110d=this['editor'],_0x140e8c=_0x56110d['plugins']['get']('TrackChangesEditing');_0x140e8c['enableCommand']('delete');const _0x225454=_0x56110d['commands']['get']('deleteForward');_0x140e8c['enableCommand']('deleteForward',(_0x39bd38,_0x348b14={})=>{const _0x2565af=_0x56110d['model']['createSelection'](_0x56110d['model']['document']['selection']);_0x2565af['isCollapsed']&&_0x56110d['model']['modifySelection'](_0x2565af,{'direction':'forward','unit':_0x348b14['unit']});const _0x5189f1=_0x2565af['getFirstRange'](),_0x499b8d=_0x52b1ee['fromRange'](_0x5189f1);let _0x363fd0;_0x39bd38(_0x348b14),_0x363fd0='$graveyard'==_0x499b8d['root']['rootName']?_0x56110d['model']['createRange'](_0x5189f1['start']):_0x56110d['model']['createRange'](_0x499b8d['start'],_0x499b8d['end']),_0x499b8d['detach'](),_0x56110d['model']['enqueueChange'](_0x225454['buffer']['batch'],_0xcce5dd=>{_0x225454['buffer']['lock'](),_0xcce5dd['setSelection'](_0xcce5dd['createRange'](_0x363fd0['end'])),_0x225454['buffer']['unlock']();});});}},dR=class extends _0x36b920{['afterInit'](){const _0x135232=this['editor'];if(!_0x135232['plugins']['has']('ListEditing'))return;const _0x10ee4b=_0x135232['locale'],_0x3b5eda=_0x135232['plugins']['get']('TrackChangesEditing'),_0x4f57f1=_0x135232['plugins']['has']('TodoListEditing'),_0xa57c2b=!!_0x135232['config']['get']('list.multiBlock');function _0x4aa2b2(_0x4afc69){return{'type':'format','content':''+WC(_0x10ee4b,'*Set\x20format:*\x20%0',_0x4afc69)};}function _0x2582f3(_0x3ee288){return{'type':'format','content':''+WC(_0x10ee4b,'*Remove\x20format:*\x20%0',_0x3ee288)};}_0x3b5eda['enableDefaultAttributesIntegration']('numberedList'),_0x3b5eda['enableDefaultAttributesIntegration']('bulletedList'),_0x3b5eda['enableDefaultAttributesIntegration']('customNumberedList'),_0x3b5eda['enableDefaultAttributesIntegration']('customBulletedList'),_0x3b5eda['enableDefaultAttributesIntegration']('indentList'),_0x3b5eda['enableDefaultAttributesIntegration']('outdentList'),_0x3b5eda['enableDefaultAttributesIntegration']('splitListItemAfter'),_0x3b5eda['enableDefaultAttributesIntegration']('splitListItemBefore'),_0xa57c2b&&(_0x3b5eda['enableDefaultAttributesIntegration']('mergeListItemBackward'),_0x3b5eda['enableDefaultAttributesIntegration']('mergeListItemForward')),_0x4f57f1&&(_0x3b5eda['enableDefaultAttributesIntegration']('todoList'),_0x3b5eda['enableDefaultAttributesIntegration']('checkTodoList'),_0x3b5eda['descriptionFactory']['registerDescriptionCallback'](_0x44662b=>{const {data:_0x157542}=_0x44662b;if(_0x157542&&'todoListChecked'==_0x157542['key'])return{'type':'format','content':_0x157542['newValue']?WC(_0x10ee4b,'*Check\x20item*'):WC(_0x10ee4b,'*Uncheck\x20item*')};}),this['editor']['model']['document']['registerPostFixer'](_0x130e2d=>{if(_0x130e2d['batch']['isUndo'])return!0x1;let _0x51c9a6=!0x1;const _0x28f0ed=_0x3b5eda['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x5625e8=>'todoListChecked'===_0x3b5eda['_getAttributeKey'](_0x5625e8));for(const _0x433dd9 of _0x28f0ed)'todo'!=_0x433dd9['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')&&(_0x3b5eda['_findSuggestions'](_0x433dd9['getFirstRange'](),'attribute')['find'](_0x37230e=>'listType'===_0x3b5eda['_getAttributeKey'](_0x37230e['suggestion']))||(_0x130e2d['removeMarker'](_0x433dd9['getFirstMarker']()),_0x51c9a6=!0x0));return _0x51c9a6;})),_0x3b5eda['descriptionFactory']['registerAttributeLabel']('listIndent',WC(_0x10ee4b,'FORMAT_INDENT'));const _0x47a618={'type':'format','content':''};_0x3b5eda['descriptionFactory']['registerDescriptionCallback'](_0x36bf3d=>{const {data:_0x569cc2}=_0x36bf3d;if(!_0x569cc2||'listType'!=_0x569cc2['key'])return;let _0x57ff63=_0x36bf3d['head'];for(;_0x57ff63;){if(_0x57ff63['data']&&(('listStyle'==_0x57ff63['data']['key']||'listMarkerStyle'==_0x57ff63['data']['key'])&&(_0x57ff63['data']['newValue']&&'default'!=_0x57ff63['data']['newValue']||'default'!=_0x57ff63['data']['oldValue']&&!_0x569cc2['newValue'])||!_0xa57c2b&&'$elementName'==_0x57ff63['data']['key']))return _0x47a618;_0x57ff63=_0x57ff63['next'];}if(null==_0x569cc2['newValue'])switch(_0x569cc2['oldValue']){case'bulleted':return _0x2582f3(WC(_0x10ee4b,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x2582f3(WC(_0x10ee4b,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x2582f3(WC(_0x10ee4b,'ELEMENT_TODO_LIST'));}switch(_0x569cc2['newValue']){case'bulleted':return _0x4aa2b2(WC(_0x10ee4b,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x4aa2b2(WC(_0x10ee4b,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x4aa2b2(WC(_0x10ee4b,'ELEMENT_TODO_LIST'));}}),_0x3b5eda['descriptionFactory']['registerDescriptionCallback'](_0x4e1df1=>{const {data:_0x5131ae}=_0x4e1df1;if(_0x5131ae&&'listIndent'==_0x5131ae['key'])return null==_0x5131ae['newValue']||null==_0x5131ae['oldValue']&&0x0==_0x5131ae['newValue']?_0x47a618:void 0x0;}),_0x3b5eda['descriptionFactory']['registerDescriptionCallback'](_0x4c6e7b=>{if('attribute'!=_0x4c6e7b['type'])return;const {data:_0x256b6d}=_0x4c6e7b;if(!_0x256b6d||'listItemId'!=_0x256b6d['key'])return;const _0x2426d3=fR(_0x4c6e7b);return'newValue'==_0x2426d3?{'type':'format','content':WC(_0x10ee4b,'*Merge:*\x20list\x20item')}:'oldValue'==_0x2426d3?{'type':'format','content':WC(_0x10ee4b,'*Split:*\x20list\x20item')}:_0x47a618;}),_0x135232['model']['document']['registerPostFixer'](_0x4bbad7=>this['listItemIdFixer'](_0x4bbad7)),_0x135232['model']['document']['registerPostFixer'](_0x131174=>this['noTrackChangesFixer'](_0x131174)),_0x135232['model']['document']['on']('change:data',(_0x22bfc0,_0x148c86)=>{if(_0x148c86['isUndo']||!_0x148c86['isLocal'])return!0x1;this['assureChains']();},{'priority':'high'}),this['_supportLegacySuggestions']();}['listItemIdFixer'](_0x4c7135){if(_0x4c7135['batch']['isUndo']||!_0x4c7135['batch']['isLocal'])return!0x1;let _0x4ca828=!0x1;const _0x69448d=this['editor']['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x435592=>_0x435592['data']&&'listItemId'==_0x435592['data']['key'])['filter'](_0x5248c3=>_0x5248c3['data']['newValue']&&_0x5248c3['data']['oldValue']);for(const _0x281525 of _0x69448d)fR(_0x281525)||(_0x4c7135['removeMarker'](_0x281525['getFirstMarker']()),_0x4ca828=!0x0);return _0x4ca828;}['noTrackChangesFixer'](_0x3ad90a){if(_0x3ad90a['batch']['isUndo']||!_0x3ad90a['batch']['isLocal'])return!0x1;const _0x265d91=this['editor']['model']['document']['differ'],_0x207a24=this['editor']['plugins']['get']('TrackChangesEditing');if(_0x207a24['trackChangesCommand']['value'])return!0x1;let _0x56ced2=!0x1;const _0xe23cdf=new Set(['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle','htmlLiAttributes','htmlUlAttributes','htmlOlAttributes']),_0x325e9b=_0x265d91['getChanges']()['filter'](_0x55c9b7=>'attribute'==_0x55c9b7['type'])['filter'](_0x3dd481=>_0xe23cdf['has'](_0x3dd481['attributeKey']));if(0x0==_0x325e9b['length'])return _0x56ced2;const _0x794fbb=new Set(_0x265d91['getMarkersToAdd']()['filter'](_0x3ceec2=>{if(!_0x3ceec2['name']['startsWith']('suggestion:attribute:'))return!0x1;const _0x3ae6e3=ya(_0x3ceec2['name'])['subType']['split']('|')[0x0];return _0xe23cdf['has'](_0x3ae6e3);})['map'](_0x569e00=>ya(_0x569e00['name'])['id']));for(const _0x496225 of _0x325e9b){const _0x44ac58=_0x207a24['_findSuggestions'](_0x496225['range'],'attribute')['filter'](_0x12d890=>{if(_0x12d890['meta']['isNextTo'])return!0x1;if(_0x794fbb['has'](_0x12d890['suggestion']['id']))return!0x1;const _0x3c1b84=_0x207a24['_getAttributeKey'](_0x12d890['suggestion']);return _0xe23cdf['has'](_0x3c1b84);})['map'](_0x509f5d=>_0x509f5d['suggestion']);if(_0x44ac58['length']){for(const _0x3ea90e of _0x44ac58)_0x3ad90a['removeMarker'](_0x3ea90e['getFirstMarker']());_0x56ced2=!0x0;}}return _0x56ced2;}['assureChains'](){const _0x5c54e2=this['editor']['plugins']['get']('TrackChangesEditing'),_0x2cd1f1=['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle','htmlLiAttributes','htmlUlAttributes','htmlOlAttributes'];let _0x10c64a;const _0x121785=new Set(this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x4e1426=>{if(_0x4e1426['data']['oldRange']||!_0x4e1426['data']['newRange'])return null;if(!_0x4e1426['name']['startsWith']('suggestion:attribute:'))return null;const {id:_0x416117}=ya(_0x4e1426['name']);if(!_0x5c54e2['hasSuggestion'](_0x416117))return null;const _0x5e4c92=_0x5c54e2['getSuggestion'](_0x416117);return _0x2cd1f1['includes'](_0x5e4c92['data']['key']);})['map'](_0x5a06d2=>{const {id:_0x434e85}=ya(_0x5a06d2['name']),_0x5609cf=_0x5c54e2['getSuggestion'](_0x434e85);return _0x10c64a=_0x5609cf['attributes']['groupId'],_0x5609cf['getFirstRange']()['start']['nodeAfter'];}));if(0x0==_0x121785['size'])return;const _0x4b6150=_0x5c54e2['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x21b2a8=>'attribute'==_0x21b2a8['type']&&_0x21b2a8['data']&&_0x2cd1f1['includes'](_0x21b2a8['data']['key'])&&_0x21b2a8['attributes']['groupId']!=_0x10c64a)['map'](_0x6d5dc2=>({'listItem':_0x6d5dc2['getFirstRange']()['start']['nodeAfter'],'groupId':_0x6d5dc2['attributes']['groupId']})),_0x296dfe=new Set();for(const {groupId:_0x5662a3,listItem:_0x53421e}of _0x4b6150)_0x121785['has'](_0x53421e)&&_0x296dfe['add'](_0x5662a3);for(const _0x2a10db of _0x5c54e2['getSuggestions']())_0x296dfe['has'](_0x2a10db['attributes']['groupId'])&&_0x2a10db['setAttribute']('groupId',_0x10c64a);}['_supportLegacySuggestions'](){const _0x44ae25=this['editor'],_0x3a1382=_0x44ae25['locale'],_0x4af5ec=_0x44ae25['plugins']['get']('TrackChangesEditing');this['_registerLegacyDescription'](),_0x4af5ec['_suggestionFactory']['registerCustomCallback']('formatBlock','documentList','accept',function(_0x4505f3,_0xb47f33){const _0x31ced1=[];for(let _0x140033 of _0x4505f3)_0x140033['start']['nodeAfter']===_0x140033['end']['parent']&&(_0x140033=_0x44ae25['model']['createRange'](_0x44ae25['model']['createPositionAt'](_0x140033['start']['nodeAfter'],0x0))),_0x31ced1['push'](_0x140033);_0x44ae25['model']['change'](_0x23730d=>{const _0x38682a=_0x44ae25['model']['document']['selection'],_0x4eb5af=Array['from'](_0x38682a['getRanges']())['map'](_0x37ae5d=>_0x52b1ee['fromRange'](_0x37ae5d));_0x23730d['setSelection'](_0x31ced1),_0x44ae25['commands']['get'](_0xb47f33['commandName'])['refresh'](),_0xb47f33['commandParams']['push']({'forceDefaultExecution':!0x0}),_0x44ae25['execute'](_0xb47f33['commandName'],..._0xb47f33['commandParams']),_0x23730d['setSelection'](_0x4eb5af);for(const _0x5f4049 of _0x4eb5af)_0x5f4049['detach']();});}),_0x4af5ec['descriptionFactory']['registerElementLabel'](function(_0x3d5e09){const _0x762aeb=!_0x44ae25['model']['schema']['isObject'](_0x3d5e09),_0x5edb51=_0x3d5e09['previousSibling'],_0x5e2440=_0x3d5e09['nextSibling'],_0x29009e=_0x3d5e09['getAttribute']('listItemId'),_0x409e61=!_0x5edb51||_0x5edb51['getAttribute']('listItemId')!==_0x29009e,_0x2a790d=!_0x5e2440||_0x5e2440['getAttribute']('listItemId')!==_0x29009e;return _0x762aeb&&Boolean(_0x29009e)&&_0x409e61&&_0x2a790d;},_0x16a6f5=>WC(_0x3a1382,'ELEMENT_LIST_ITEM',_0x16a6f5));}['_registerLegacyDescription'](){const _0x247bb7=this['editor'],_0x1ed379=_0x247bb7['locale'];function _0x3bec8b(_0x39535f){const _0x2e50b0=_0x247bb7['commands']['get']('bulletedList')['value'],_0x318600=_0x247bb7['commands']['get']('numberedList')['value'];return'numberedList'===_0x39535f?_0x2e50b0:_0x318600;}_0x247bb7['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](function(_0x471c5f){if('formatBlock'!=_0x471c5f['type'])return;const {data:_0xc138b8}=_0x471c5f;if(!_0xc138b8)return;let _0x118538,_0x27ba24,_0x405061,_0x5047b6;switch(_0xc138b8['commandName']){case'bulletedList':_0x405061=_0xc138b8['commandParams'][0x0]['forceValue'],_0x5047b6=_0x3bec8b(_0xc138b8['commandName']),_0x118538=_0x405061?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x5047b6&&_0x247bb7['config']['get']('list.multiBlock')||(_0x118538='*Change\x20to:*\x20%0'),_0x27ba24={'type':'format','content':WC(_0x1ed379,_0x118538,WC(_0x1ed379,'ELEMENT_BULLETED_LIST'))};break;case'numberedList':_0x405061=_0xc138b8['commandParams'][0x0]['forceValue'],_0x5047b6=_0x3bec8b(_0xc138b8['commandName']),_0x118538=_0x405061?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x5047b6&&_0x247bb7['config']['get']('list.multiBlock')||(_0x118538='*Change\x20to:*\x20%0'),_0x27ba24={'type':'format','content':WC(_0x1ed379,_0x118538,WC(_0x1ed379,'ELEMENT_NUMBERED_LIST'))};break;case'indentList':_0x118538='*Indent:*\x20%0',_0x27ba24={'type':'format','content':WC(_0x1ed379,_0x118538,WC(_0x1ed379,'ELEMENT_LIST_ITEM'))};break;case'outdentList':_0x118538=function(_0x99db0e){const _0x2242d5=_0x99db0e['getFirstRange']();let _0xd38449=_0x2242d5['start']['nodeAfter'];for(;_0xd38449&&_0x2242d5['containsItem'](_0xd38449);){if(_0xd38449['getAttribute']('listIndent')>0x0)return!0x1;_0xd38449=_0xd38449['nextSibling'];}return!0x0;}(_0x471c5f)?WC(_0x1ed379,'*Format:*\x20remove\x20from\x20%0',WC(_0x1ed379,function(_0x55ec0f){return'ELEMENT_'+_0x55ec0f['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST';}(_0x471c5f))):WC(_0x1ed379,'*Outdent:*\x20%0',WC(_0x1ed379,'ELEMENT_LIST_ITEM')),_0x27ba24={'type':'format','content':_0x118538};break;case'mergeListItemBackward':case'mergeListItemForward':!0x1===_0xc138b8['multipleBlocks']&&(_0x118538='*Merge:*\x20%0',_0x27ba24={'type':'deletion','content':WC(_0x1ed379,_0x118538,WC(_0x1ed379,'ELEMENT_LIST_ITEM'))});}return _0x27ba24;});}};function fR(_0x24d135){let _0x1837cf=_0x24d135['getFirstRange']()['start']['nodeAfter']['previousSibling'];for(;_0x1837cf;){const _0x3866cd=_0x1837cf['getAttribute']('listItemId');if(!_0x3866cd)return!0x1;if(_0x3866cd==_0x24d135['data']['newValue'])return'newValue';if(_0x3866cd==_0x24d135['data']['oldValue'])return'oldValue';_0x1837cf=_0x1837cf['previousSibling'];}return!0x1;}var mR=class extends _0x36b920{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x40c8b3=this['editor']['config']['get']('list.properties'),_0x4d6e73=this['editor']['plugins']['get']('TrackChangesEditing');_0x40c8b3['styles']&&_0x4d6e73['enableDefaultAttributesIntegration']('listStyle'),_0x40c8b3['reversed']&&_0x4d6e73['enableDefaultAttributesIntegration']('listReversed'),_0x40c8b3['startIndex']&&_0x4d6e73['enableDefaultAttributesIntegration']('listStart');const _0x407c84={'type':'format','content':''};_0x4d6e73['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));const _0xda00ad=this['editor']['locale'];_0x4d6e73['descriptionFactory']['registerAttributeLabel']('listReversed',WC(_0xda00ad,'FORMAT_LIST_REVERSED')),_0x4d6e73['descriptionFactory']['registerDescriptionCallback'](_0xcb1921=>{const {data:_0x32170d}=_0xcb1921;if(_0x32170d&&'listReversed'==_0x32170d['key'])return null==_0x32170d['newValue']||0x0==_0x32170d['newValue']&&null==_0x32170d['oldValue']?_0x407c84:void 0x0;}),_0x4d6e73['descriptionFactory']['registerAttributeLabel']('listStart',WC(_0xda00ad,'FORMAT_LIST_START')),_0x4d6e73['descriptionFactory']['registerDescriptionCallback'](_0x25c814=>{const {data:_0x3f36f5}=_0x25c814;if(_0x3f36f5&&'listStart'==_0x3f36f5['key'])return null==_0x3f36f5['newValue']||0x1==_0x3f36f5['newValue']&&null==_0x3f36f5['oldValue']?_0x407c84:void 0x0;}),this['editor']['model']['document']['registerPostFixer'](_0x15e299=>{if(_0x15e299['batch']['isUndo'])return!0x1;let _0x37cd72=!0x1;const _0x3bcc21=_0x4d6e73['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x299654=>{const _0x857cec=_0x4d6e73['_getAttributeKey'](_0x299654);return'listStart'==_0x857cec||'listReversed'==_0x857cec;});for(const _0x97409c of _0x3bcc21){const _0x4baaf1=_0x97409c['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType');'numbered'!=_0x4baaf1&&'customNumbered'!=_0x4baaf1&&(_0x4d6e73['_findSuggestions'](_0x97409c['getFirstRange'](),'attribute')['find'](_0xaf7ecb=>'listType'==_0x4d6e73['_getAttributeKey'](_0xaf7ecb['suggestion']))||(_0x15e299['removeMarker'](_0x97409c['getFirstMarker']()),_0x37cd72=!0x0));}return _0x37cd72;}),this['_registerLegacyDescription']();}['handleDescriptions'](_0x386b49){const _0x358104=this['editor']['locale'],{data:_0x3da283}=_0x386b49,_0x2c445d={'type':'format','content':''};if(!_0x3da283||'listStyle'!=_0x3da283['key'])return;if(!_0x3da283['oldValue'])return'default'==_0x3da283['newValue']?_0x2c445d:{'type':'format','content':''+WC(_0x358104,'*Set\x20format:*\x20%0',WC(_0x358104,this['_getTranslationKeyForListStyle'](_0x3da283['newValue'])))};if(!_0x3da283['newValue']){if('default'==_0x3da283['oldValue'])return _0x2c445d;let _0x20d71d=_0x386b49['head'];for(;_0x20d71d;){if(_0x20d71d['data']&&'listType'==_0x20d71d['data']['key']&&_0x20d71d['data']['newValue'])return _0x2c445d;_0x20d71d=_0x20d71d['next'];}return{'type':'format','content':''+WC(_0x358104,'*Remove\x20format:*\x20%0',WC(_0x358104,this['_getTranslationKeyForListStyle'](_0x3da283['oldValue'])))};}if('default'!=_0x3da283['newValue'])return{'type':'format','content':''+WC(_0x358104,'*Set\x20format:*\x20%0',WC(_0x358104,this['_getTranslationKeyForListStyle'](_0x3da283['newValue'])))};let _0x176a25=_0x386b49['head'];for(;_0x176a25;){if(_0x176a25['data']&&'listType'==_0x176a25['data']['key']&&_0x176a25['data']['newValue']&&_0x176a25['data']['oldValue'])return _0x2c445d;_0x176a25=_0x176a25['next'];}return{'type':'format','content':WC(_0x358104,'*Set\x20format:*\x20%0',WC(_0x358104,'ELEMENT_'+_0x386b49['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST_DEFAULT'))};}['_registerLegacyDescription'](){const _0x270a52=this['editor'],_0x16794b=_0x270a52['locale'];_0x270a52['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x24db01=>{if('formatBlock'!=_0x24db01['type'])return;const {data:_0x302b48}=_0x24db01;if(!_0x302b48)return;let _0x1a88d6,_0x12355b;switch(_0x302b48['commandName']){case'listStyle':_0x1a88d6='*Change\x20to:*\x20%0',_0x12355b={'type':'format','content':WC(_0x16794b,_0x1a88d6,WC(_0x16794b,this['_getTranslationKeyForListStyle'](_0x302b48['commandParams'][0x0]['type'])))};break;case'listReversed':_0x1a88d6=_0x302b48['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x12355b={'type':'format','content':WC(_0x16794b,_0x1a88d6)};break;case'listStart':_0x1a88d6='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x12355b={'type':'format','content':WC(_0x16794b,_0x1a88d6,_0x302b48['commandParams'][0x0]['startIndex'])};}return _0x12355b;});}['_getTranslationKeyForListStyle'](_0x558dc2){return'ELEMENT_'+(_0x5a468e=_0x558dc2,pR['includes'](_0x5a468e)?'bulleted':gR['includes'](_0x5a468e)?'numbered':null)['toUpperCase']()+'_LIST_'+_0x558dc2['toUpperCase']()['replace'](/-/g,'_');var _0x5a468e;}};const pR=['disc','circle','square'],gR=['decimal','decimal-leading-zero','lower-roman','upper-roman','lower-latin','upper-latin','arabic-indic'];var OR=class extends _0x36b920{['afterInit'](){const _0x581994=this['editor'];_0x581994['commands']['get']('emoji')&&_0x581994['plugins']['get']('TrackChangesEditing')['enableCommand']('emoji');}},wR=class extends _0x36b920{static get['requires'](){return[_0x3f2624];}['init'](){const _0x4b12e9=this['editor'],_0x37a44d=_0x4b12e9['plugins']['get']('TrackChangesEditing'),_0x4124d8=_0x4b12e9['commands']['get']('enter');_0x37a44d['enableCommand']('enter',()=>{_0x4b12e9['model']['change'](_0x49e1ec=>{const _0x341b5a=_0x4b12e9['model']['document']['selection'],_0x433cac=_0x341b5a['getFirstPosition'](),_0x1bd415=_0x52b1ee['fromRange'](_0x341b5a['getFirstRange']());if(_0x4124d8['enterBlock'](_0x49e1ec)){const _0x433d34=_0x4b12e9['model']['createPositionAt'](_0x433cac['parent']['nextSibling'],0x0),_0x240acd=_0x49e1ec['createRange'](_0x433cac,_0x433d34);_0x37a44d['markInsertion'](_0x240acd);}else _0x49e1ec['setSelection'](_0x49e1ec['createRange'](_0x1bd415['end']));_0x1bd415['detach'](),_0x4124d8['fire']('afterExecute',{'writer':_0x49e1ec});});});}},bR=class extends _0x36b920{['afterInit'](){if(!this['editor']['plugins']['has']('FindAndReplaceEditing'))return;const _0x2ee0d1=this['editor']['plugins']['get']('TrackChangesEditing');_0x2ee0d1['enableCommand']('find',this['handleFindCommand']['bind'](this)),_0x2ee0d1['enableCommand']('findNext'),_0x2ee0d1['enableCommand']('findPrevious'),_0x2ee0d1['enableCommand']('replace'),_0x2ee0d1['enableCommand']('replaceAll');}['handleFindCommand'](_0x22461a,_0x430bbd,_0x53da41={}){const _0x58409c=this['editor']['plugins']['get']('FindAndReplaceUtils');return _0x22461a(_0x91d5d1=>{let _0x247a9e=('string'==typeof _0x430bbd?_0x58409c['findByTextCallback'](_0x430bbd,_0x53da41):_0x430bbd)(_0x91d5d1);Array['isArray'](_0x247a9e)&&(_0x247a9e={'results':_0x247a9e,'searchText':'string'==typeof _0x430bbd?_0x430bbd:''});const _0x1080f2=_0x247a9e['results']['filter'](_0x1bca03=>!0x1===this['_isInDeletionRange'](_0x1bca03,_0x91d5d1['item']));return{..._0x247a9e,'results':_0x1080f2};},_0x53da41);}['_isInDeletionRange'](_0x3cc7f7,_0x535604){const _0x242c9a=this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x535604,_0x3cc7f7['start']),this['editor']['model']['createPositionAt'](_0x535604,_0x3cc7f7['end']));for(const _0x363d11 of this['editor']['model']['markers']['getMarkersGroup']('suggestion:deletion'))if(null!==_0x242c9a['getIntersection'](_0x363d11['getRange']()))return!0x0;return!0x1;}};const yR=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];var vR=class extends _0x36b920{['afterInit'](){const _0x55b6be=this['editor']['locale'],_0x5101cb=this['editor']['plugins']['get']('TrackChangesEditing');for(const {pluginName:_0x4b724f,commandName:_0x2b744a}of yR)this['editor']['plugins']['has'](_0x4b724f)&&_0x5101cb['enableDefaultAttributesIntegration'](_0x2b744a);_0x5101cb['descriptionFactory']['registerAttributeLabel']('fontSize',WC(_0x55b6be,'FORMAT_FONT_SIZE')),_0x5101cb['descriptionFactory']['registerAttributeLabel']('fontFamily',WC(_0x55b6be,'FORMAT_FONT_FAMILY')),_0x5101cb['descriptionFactory']['registerAttributeLabel']('fontColor',WC(_0x55b6be,'FORMAT_FONT_COLOR')),_0x5101cb['descriptionFactory']['registerAttributeLabel']('fontBackgroundColor',WC(_0x55b6be,'FORMAT_FONT_BACKGROUND')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x11f119=this['editor'],_0x2e8115=_0x11f119['locale'];_0x11f119['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x189664=>{const _0x441348=_0x2e8115['t'];if('formatInline'!=_0x189664['type'])return;const {data:_0x14f08b}=_0x189664;if(null!=_0x14f08b){if('fontSize'==_0x14f08b['commandName']){const _0xdabfa1=_0x14f08b['commandParams'][0x0]['value'];if(_0xdabfa1){const _0x551510=this['editor']['plugins']['get']('FontSize')['normalizeSizeOptions'](this['editor']['config']['get']('fontSize.options'))['find'](_0x18496c=>_0x18496c['model']==_0xdabfa1)['title'];return{'type':'format','content':WC(_0x2e8115,'*Set\x20font\x20size:*\x20%0',_0x441348(_0x551510)['toLowerCase']())};}return{'type':'format','content':WC(_0x2e8115,'*Reset\x20font\x20size*')};}if('fontFamily'==_0x14f08b['commandName']){const _0x4103bc=_0x14f08b['commandParams'][0x0]['value'];return _0x4103bc?{'type':'format','content':WC(_0x2e8115,'*Set\x20font\x20family:*\x20%0',_0x4103bc)}:{'type':'format','content':WC(_0x2e8115,'*Reset\x20font\x20family*')};}if('fontColor'==_0x14f08b['commandName']){const _0x15c206=_0x14f08b['commandParams'][0x0]['value'];if(_0x15c206){const _0x1acdfc=_0x256da3(this['editor']['config']['get']('fontColor.colors'))['find'](_0x2846d7=>_0x2846d7['model']==_0x15c206);let _0x3f3b2a=_0x15c206,_0x5a19dd='';return _0x1acdfc&&(_0x3f3b2a=_0x1acdfc['label'],_0x5a19dd=_0x441348(_0x3f3b2a)['toLowerCase']()),{'type':'format','content':WC(_0x2e8115,'*Set\x20font\x20color:*\x20%0',_0x5a19dd)['trim'](),'color':{'value':_0x15c206,'title':_0x5a19dd||_0x3f3b2a}};}return{'type':'format','content':WC(_0x2e8115,'*Reset\x20font\x20color*')};}if('fontBackgroundColor'==_0x14f08b['commandName']){const _0x1ca7d8=_0x14f08b['commandParams'][0x0]['value'];if(_0x1ca7d8){const _0x2dff7e=_0x256da3(this['editor']['config']['get']('fontBackgroundColor.colors'))['find'](_0x331f65=>_0x331f65['model']==_0x1ca7d8);let _0xcca157=_0x1ca7d8,_0x15b17e='';return _0x2dff7e&&(_0xcca157=_0x2dff7e['label'],_0x15b17e=_0x441348(_0xcca157)['toLowerCase']()),{'type':'format','content':WC(_0x2e8115,'*Set\x20font\x20background\x20color:*\x20%0',_0x15b17e)['trim'](),'color':{'value':_0x1ca7d8,'title':_0x15b17e||_0xcca157}};}return{'type':'format','content':WC(_0x2e8115,'*Reset\x20font\x20background\x20color*')};}}});}},_R=class extends _0x36b920{['afterInit'](){const {plugins:_0x3f9007}=this['editor'];_0x3f9007['has']('FootnotesEditing')&&this['_registerFootnotesEditingIntegration'](),_0x3f9007['has']('FootnotesPropertiesEditing')&&this['_registerFootnotesPropertiesEditingIntegration']();}['_registerFootnotesPropertiesEditingIntegration'](){const {locale:_0x4ca23c,plugins:_0x2fbb9c,commands:_0x1ab0a1}=this['editor'],_0x1365e4=_0x2fbb9c['get']('TrackChangesEditing');_0x1ab0a1['get']('footnotesStyle')&&_0x1365e4['enableDefaultAttributesIntegration']('footnotesStyle'),_0x1ab0a1['get']('footnotesStart')&&_0x1365e4['enableDefaultAttributesIntegration']('footnotesStart'),_0x1365e4['descriptionFactory']['registerAttributeLabel']('footnotesListStyle',WC(_0x4ca23c,'FORMAT_FOOTNOTES_LIST_STYLE')),_0x1365e4['descriptionFactory']['registerAttributeLabel']('footnotesListStart',WC(_0x4ca23c,'FORMAT_FOOTNOTES_LIST_START'));}['_registerFootnotesEditingIntegration'](){const _0x47e868=this['editor']['plugins']['get']('TrackChangesEditing'),{locale:_0x184ab6,commands:_0xdee099}=this['editor'];_0xdee099['get']('insertFootnote')&&_0x47e868['enableCommand']('insertFootnote'),_0x47e868['descriptionFactory']['registerElementLabel']('footnoteRef',_0x218f31=>WC(_0x184ab6,'ELEMENT_FOOTNOTE_REF',_0x218f31)),_0x47e868['descriptionFactory']['registerElementLabel']('footnoteDefinition',_0x21d93b=>WC(_0x184ab6,'ELEMENT_FOOTNOTE_DEFINITION',_0x21d93b)),_0x47e868['descriptionFactory']['registerElementLabel']('footnotesDefinitions',_0x3b209f=>WC(_0x184ab6,'ELEMENT_FOOTNOTES_DEFINITIONS_LIST',_0x3b209f));}},ER=class extends _0x36b920{['afterInit'](){const _0x2de808=this['editor'],_0x51e8a0=_0x2de808['plugins']['get']('TrackChangesEditing'),_0x4f3028=_0x2de808['commands']['get']('copyFormat'),_0xb83815=_0x2de808['commands']['get']('pasteFormat');_0x4f3028&&_0xb83815&&(_0x51e8a0['enableDefaultAttributesIntegration']('pasteFormat'),_0x51e8a0['enableCommand']('copyFormat'),this['_registerLegacyDescription']());}['_registerLegacyDescription'](){const _0x2cf671=this['editor'],_0x16a77d=_0x2cf671['locale'];_0x2cf671['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x1ece76=>{if('formatBlock'!=_0x1ece76['type']&&'formatInline'!=_0x1ece76['type'])return;const {data:_0x2363ff}=_0x1ece76;if(_0x2363ff&&'pasteFormat'===_0x2363ff['commandName']){const _0x2298c2=[],_0x5b9218=_0x2363ff['commandParams'][0x0];for(const [_0x173135,_0x53d92b]of Object['entries'](_0x5b9218))_0x2298c2['push'](TR(_0x2cf671,_0x173135,_0x53d92b));return _0x2298c2['length']?{'type':'format','content':WC(_0x16a77d,'*Set\x20format\x20to:*\x20%0',_0x2298c2['join'](',\x20'))}:{'type':'format','content':WC(_0x16a77d,'*Remove\x20all\x20formatting*')};}});}};function TR(_0x39f5d8,_0x162c29,_0x36ae2e){const _0x5d27c1=_0x39f5d8['locale']['t'],_0x3e3885=_0x162c29['split'](/(?=[A-Z])/)['join']('\x20'),_0x5cb909=_0x5d27c1(_0x3e3885['charAt'](0x0)['toUpperCase']()+_0x3e3885['slice'](0x1))['toLowerCase']();if('boolean'==typeof _0x36ae2e)return _0x5cb909;if('fontColor'===_0x162c29||'fontBackgroundColor'===_0x162c29){const _0x22bb65=_0x256da3(_0x39f5d8['config']['get']('fontColor.colors'))['find'](_0x3016a7=>_0x3016a7['model']==_0x36ae2e);return _0x5cb909+'\x20('+(_0x22bb65?_0x5d27c1(_0x22bb65['label'])['toLowerCase']():_0x36ae2e)+')';}if('fontSize'===_0x162c29&&isNaN(parseFloat(_0x36ae2e))){const _0xfb340d=_0x39f5d8['plugins']['get']('FontSize')['normalizeSizeOptions'](_0x39f5d8['config']['get']('fontSize.options'))['find'](_0x18b81d=>_0x18b81d['model']==_0x36ae2e);return _0x5cb909+'\x20('+(_0xfb340d?_0x5d27c1(_0xfb340d['title'])['toLowerCase']():_0x36ae2e)+')';}return _0x5cb909+'\x20('+_0x36ae2e+')';}var AR=class extends _0x36b920{['afterInit'](){const _0x5098be=this['editor'];if(!_0x5098be['plugins']['has']('GeneralHtmlSupport')||!_0x5098be['plugins']['has']('DataSchema'))return;const _0xeeb458=_0x5098be['plugins']['get']('TrackChangesEditing'),_0x1954dd=_0x5098be['plugins']['get']('GeneralHtmlSupport'),_0x4be6d4=_0x5098be['plugins']['get']('DataSchema'),_0x40caf8=_0x5098be['locale'],_0x1aab30=new Set(['htmlContent']);for(const _0x2d3dfe of _0x4be6d4['getDefinitionsForView'](/.*/,!0x1)){const _0x430ad4=_0x2d3dfe['view'],_0x12e6a9=_0x1954dd['getGhsAttributeNameForElement'](_0x430ad4);_0x1aab30['add'](_0x12e6a9),!_0x2d3dfe['isInline']||_0x2d3dfe['isObject']||'appliesToBlock'in _0x2d3dfe&&_0x2d3dfe['appliesToBlock']||_0xeeb458['descriptionFactory']['registerAttributeLabel'](_0x12e6a9,_0x430ad4),_0x2d3dfe['model']['startsWith']('html')&&_0xeeb458['descriptionFactory']['registerElementLabel'](_0x2d3dfe['model'],_0x39b396=>WC(_0x40caf8,'ELEMENT_HTML_TAG',[_0x39b396,_0x430ad4]));}_0xeeb458['descriptionFactory']['registerAttributeLabel']('htmlContent',WC(_0x40caf8,'FORMAT_RAW_HTML_CONTENT')),_0xeeb458['descriptionFactory']['registerAttributeLabel']('htmlLiAttributes',WC(_0x40caf8,'FORMAT_HTML_LIST_ITEM')),_0xeeb458['descriptionFactory']['registerAttributeLabel']('htmlUlAttributes',WC(_0x40caf8,'FORMAT_HTML_BULLETED_LIST')),_0xeeb458['descriptionFactory']['registerAttributeLabel']('htmlOlAttributes',WC(_0x40caf8,'FORMAT_HTML_NUMBERED_LIST')),_0xeeb458['descriptionFactory']['registerDescriptionCallback'](_0x1b3dfd=>{if('attribute'!==_0x1b3dfd['type'])return;const _0x108f87=_0x1b3dfd['data'];if(!_0x108f87||!_0x1aab30['has'](_0x108f87['key']))return;if('htmlContent'===_0x108f87['key'])return{'type':'format','content':WC(_0x40caf8,'*Change\x20%0\x20content*',WC(_0x40caf8,'ELEMENT_RAW_HTML'))};const {setItems:_0x506d12,removeItems:_0xfef8d7}=function(_0x5421ac,_0x4ff992,_0x59e6ee){const _0x179106=[],_0x340339=[],_0x508993=_0x5421ac['styles']??{},_0x6dc75b=_0x4ff992['styles']??{};for(const _0x524b0f of new Set([...Object['keys'](_0x508993),...Object['keys'](_0x6dc75b)]))_0x508993[_0x524b0f]!==_0x6dc75b[_0x524b0f]&&(void 0x0===_0x6dc75b[_0x524b0f]?_0x340339['push'](_0x524b0f):_0x179106['push'](_0x524b0f+'\x20('+_0x6dc75b[_0x524b0f]+')'));const _0x3b4fa5=WC(_0x59e6ee,'FORMAT_HTML_CLASS'),_0x18c2aa=new Set(_0x5421ac['classes']??[]),_0xeb5724=new Set(_0x4ff992['classes']??[]),_0x2b8483=[..._0xeb5724]['some'](_0x314d69=>!_0x18c2aa['has'](_0x314d69)),_0xffe86d=[..._0x18c2aa]['some'](_0x1e0880=>!_0xeb5724['has'](_0x1e0880));_0x2b8483&&_0x179106['push'](_0x3b4fa5),_0xffe86d&&_0x340339['push'](_0x3b4fa5);const _0x516367=WC(_0x59e6ee,'FORMAT_HTML_ATTRIBUTE'),_0x4cc0a7=_0x5421ac['attributes']??{},_0x5183ac=_0x4ff992['attributes']??{};let _0x3436b9=!0x1,_0x4975fb=!0x1;for(const _0xb6aaa3 of new Set([...Object['keys'](_0x4cc0a7),...Object['keys'](_0x5183ac)]))_0x4cc0a7[_0xb6aaa3]!==_0x5183ac[_0xb6aaa3]&&(void 0x0===_0x5183ac[_0xb6aaa3]?_0x4975fb=!0x0:_0x3436b9=!0x0);return _0x3436b9&&_0x179106['push'](_0x516367),_0x4975fb&&_0x340339['push'](_0x516367),{'setItems':_0x179106,'removeItems':_0x340339};}(_0x108f87['oldValue']??{},_0x108f87['newValue']??{},_0x40caf8);if(!_0x506d12['length']&&!_0xfef8d7['length'])return;const _0x20d583=[];return _0x506d12['length']&&_0x20d583['push'](WC(_0x40caf8,'*Set\x20format:*\x20%0',_0x506d12['join'](',\x20'))),_0xfef8d7['length']&&_0x20d583['push'](WC(_0x40caf8,'*Remove\x20format:*\x20%0',_0xfef8d7['join'](',\x20'))),{'type':'format','content':_0x20d583['join']('\x0a')};});}},SR=class extends _0x36b920{['_headingOptions'];['afterInit'](){const _0x3393db=this['editor'];if(!_0x3393db['plugins']['has']('HeadingEditing'))return;this['_headingOptions']=_0x3393db['config']['get']('heading.options');const _0x5d1168=_0x3393db['locale'],_0x2964a9=_0x3393db['plugins']['get']('TrackChangesEditing');_0x2964a9['enableDefaultAttributesIntegration']('heading');for(const _0x4060ed of this['_headingOptions'])'paragraph'!=_0x4060ed['model']&&_0x2964a9['descriptionFactory']['registerElementLabel'](_0x4060ed['model'],_0x1546c0=>{const _0xdb63f3=this['_getHeadingLevel'](_0x4060ed['model']);return null!==_0xdb63f3?_0x3b2112(_0x1546c0,_0xdb63f3):_0x54ec28(_0x1546c0,_0x4060ed['title']);});function _0x3b2112(_0x19b9f7,_0x4ba854){return WC(_0x5d1168,'ELEMENT_HEADING',[_0x19b9f7,_0x4ba854]);}function _0x54ec28(_0x358aa0,_0x21593d){return WC(_0x5d1168,'ELEMENT_HEADING_CUSTOM',[_0x358aa0,_0x21593d]);}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x1d37f0=this['editor'],_0x17b672=_0x1d37f0['locale'];function _0x135a5d(_0x501daf,_0x435933){return WC(_0x17b672,'ELEMENT_HEADING_CUSTOM',[_0x501daf,_0x435933]);}_0x1d37f0['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x386219=>{if('formatBlock'!=_0x386219['type'])return;const {data:_0x2d8b66}=_0x386219;if(_0x2d8b66&&'heading'==_0x2d8b66['commandName']){const _0x54c808=_0x2d8b66['commandParams'][0x0]['value'],_0x23af35=this['_getHeadingLevel'](_0x54c808);if(null!==_0x23af35)return{'type':'format','content':WC(_0x17b672,'*Change\x20to:*\x20%0',(_0x22b05a=0x1,_0xa56113=_0x23af35,WC(_0x17b672,'ELEMENT_HEADING',[_0x22b05a,_0xa56113])))};const _0x3b056f=this['_headingOptions']['find'](_0x336320=>_0x336320['model']===_0x54c808)['title'];return{'type':'format','content':WC(_0x17b672,'*Change\x20to:*\x20%0',_0x135a5d(0x1,_0x3b056f))};}var _0x22b05a,_0xa56113;});}['_getHeadingLevel'](_0xabb04){const _0x4f5b53=_0xabb04['match'](/^heading(\d+)/);if(_0x4f5b53)return _0x4f5b53[0x1];const _0x2d2d97=this['_headingOptions']?.['find'](_0x6742fb=>_0x6742fb['model']==_0xabb04);if(_0x2d2d97&&_0x2d2d97['view']){const _0x11a59e=_0x2d2d97['view'],_0x4df90d=(_0x11a59e['name']??_0x11a59e)['match'](/^h(\d+)/);if(_0x4df90d)return _0x4df90d[0x1];}return null;}},IR=class extends _0x36b920{['afterInit'](){const _0x3fcbf4=this['editor'];if(!_0x3fcbf4['plugins']['has']('HighlightEditing'))return;const _0x25dfdc=_0x3fcbf4['plugins']['get']('TrackChangesEditing'),_0x169e8b=_0x3fcbf4['locale'];_0x25dfdc['enableDefaultAttributesIntegration']('highlight'),_0x25dfdc['descriptionFactory']['registerAttributeLabel']('highlight',WC(_0x169e8b,'FORMAT_HIGHLIGHT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x481145=this['editor'],_0xd863fc=_0x481145['locale'];_0x481145['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x563177=>{if('formatInline'!=_0x563177['type'])return;const {data:_0x26364e}=_0x563177;if(_0x26364e&&'highlight'==_0x26364e['commandName']){const _0x5b6830=_0xd863fc['t'],_0x3db7fe=_0x26364e['commandParams'][0x0]['value'];if(_0x3db7fe){const _0x35c0a1=_0x481145['config']['get']('highlight.options')['find'](_0x42b5d9=>_0x42b5d9['model']==_0x3db7fe);return{'type':'format','content':WC(_0xd863fc,'*Set\x20highlight:*\x20%0',_0x5b6830(_0x35c0a1['title'])['toLowerCase']()),'color':{'value':_0x35c0a1['color'],'title':_0x35c0a1['title']}};}return{'type':'format','content':WC(_0xd863fc,'*Remove\x20highlight*',WC(_0xd863fc,'FORMAT_HIGHLIGHT'))};}});}},kR=class extends _0x36b920{['afterInit'](){const _0x545753=this['editor'];if(!_0x545753['plugins']['has']('HorizontalLineEditing'))return;_0x545753['plugins']['get']('TrackChangesEditing')['enableCommand']('horizontalLine');const _0x285c86=_0x545753['plugins']['get']('TrackChangesEditing'),_0x3b9c9d=_0x545753['locale'];_0x285c86['descriptionFactory']['registerElementLabel']('horizontalLine',_0x1cefd8=>WC(_0x3b9c9d,'ELEMENT_HORIZONTAL_LINE',_0x1cefd8));}},xR=class extends _0x36b920{['afterInit'](){const _0x930920=this['editor'];if(!_0x930920['plugins']['has']('HtmlEmbed'))return;const _0x5553c2=_0x930920['plugins']['get']('TrackChangesEditing'),_0x16906c=_0x930920['locale'];_0x5553c2['descriptionFactory']['registerElementLabel']('rawHtml',_0x71e828=>WC(_0x16906c,'ELEMENT_HTML_EMBED',_0x71e828)),_0x5553c2['enableDefaultAttributesIntegration']('htmlEmbed'),_0x5553c2['descriptionFactory']['registerDescriptionCallback'](_0x2e7cd5=>{if('attribute'!=_0x2e7cd5['type'])return;const {data:_0x4e254c}=_0x2e7cd5;return _0x4e254c&&'value'==_0x4e254c['key']&&_0x2e7cd5['getFirstRange']()['start']['nodeAfter']['is']('element','rawHtml')?{'type':'format','content':WC(_0x16906c,'*Change\x20%0\x20content*',WC(_0x16906c,'ELEMENT_HTML_EMBED'))}:void 0x0;}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x351b70=this['editor'],_0x3b979c=_0x351b70['locale'];_0x351b70['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x294e3b=>{if('formatBlock'!=_0x294e3b['type'])return;const {data:_0x3d8886}=_0x294e3b;return _0x3d8886&&'htmlEmbed'==_0x3d8886['commandName']?{'type':'format','content':WC(_0x3b979c,'*Change\x20%0\x20content*',WC(_0x3b979c,'ELEMENT_HTML_EMBED'))}:void 0x0;});}},CR=class extends _0x36b920{['afterInit'](){const _0xd67e39=this['editor'];if(!_0xd67e39['plugins']['has']('ImageEditing'))return;const _0x4f6cf6=_0xd67e39['plugins']['get']('TrackChangesEditing'),_0x1f245e=_0xd67e39['plugins']['get']('ImageUtils'),_0x4c445c=_0xd67e39['locale'];_0x4f6cf6['enableCommand']('insertImage'),_0x4f6cf6['descriptionFactory']['registerElementLabel']('imageBlock',_0xab8d07=>WC(_0x4c445c,'ELEMENT_IMAGE',_0xab8d07)),_0x4f6cf6['descriptionFactory']['registerElementLabel']('imageInline',_0x18f14e=>WC(_0x4c445c,'ELEMENT_INLINE_IMAGE',_0x18f14e)),_0x4f6cf6['descriptionFactory']['registerElementLabel']('caption',()=>WC(_0x4c445c,'ELEMENT_CAPTION')),_0xd67e39['plugins']['has']('ImageUploadEditing')&&_0x4f6cf6['enableCommand']('uploadImage'),_0xd67e39['plugins']['has']('ImageBlockEditing')&&_0xd67e39['plugins']['has']('ImageInlineEditing')&&(_0x4f6cf6['enableCommand']('imageTypeInline',(_0x24434c,_0xa83946)=>{const _0x43d874=_0x1f245e['getClosestSelectedImageElement'](_0xd67e39['model']['document']['selection']);_0xd67e39['model']['change'](()=>{_0x4f6cf6['markBlockFormat'](_0x43d874,{'commandName':'imageTypeInline','commandParams':[_0xa83946]},[],'convertBlockImageToInline');});}),_0x4f6cf6['enableCommand']('imageTypeBlock',(_0x936d91,_0x31918e)=>{_0xd67e39['model']['change'](_0x258b75=>{let _0x43689e=_0x1f245e['getClosestSelectedImageElement'](_0xd67e39['model']['document']['selection']),_0x4a32ad=_0x258b75['createRangeOn'](_0x43689e);const _0x59770b=_0x58260d['fromPosition'](_0x4a32ad['start'],'toPrevious'),_0x5d72b9=_0x58260d['fromPosition'](_0x4a32ad['end'],'toNext');_0x4f6cf6['forceDefaultExecution'](()=>_0x936d91(_0x31918e)),_0x43689e=_0x1f245e['getClosestSelectedImageElement'](_0xd67e39['model']['document']['selection']),_0x4a32ad=_0x258b75['createRangeOn'](_0x43689e);const _0x350a3=_0x258b75['createRange'](_0x59770b,_0x5d72b9);_0x59770b['detach'](),_0x5d72b9['detach'](),_0x4f6cf6['markBlockFormat'](_0x43689e,{'commandName':'imageTypeInline','commandParams':[_0x31918e]},[],'convertInlineImageToBlock'),_0x350a3['start']['isBefore'](_0x4a32ad['start'])&&_0x4f6cf6['markInsertion'](_0x258b75['createRange'](_0x350a3['start'],_0x4a32ad['start']),'convertInlineImageToBlock'),_0x4a32ad['end']['isBefore'](_0x350a3['end'])&&_0x4f6cf6['markInsertion'](_0x258b75['createRange'](_0x4a32ad['end'],_0x350a3['end']),'convertInlineImageToBlock');});}),_0x4f6cf6['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','join',()=>!0x1),_0x4f6cf6['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','accept',()=>!0x1),_0x4f6cf6['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','discard',_0x4f6cf6['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')),_0x4f6cf6['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','join',()=>!0x1),_0x4f6cf6['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','discard',([_0x541934])=>{const _0x53a42d=_0x4f6cf6['_suggestionFactory']['getSuggestionCallback']('insertion','','discard');let _0x205ed4=_0x541934['start'],_0x3c1dc2=_0x541934['end'];const _0x1eee55=_0xd67e39['model']['schema']['getNearestSelectionRange'](_0x205ed4,'backward'),_0x124cbc=_0xd67e39['model']['schema']['getNearestSelectionRange'](_0x3c1dc2,'forward');_0x1eee55['isCollapsed']&&(_0x205ed4=_0x1eee55['start']),_0x124cbc['isCollapsed']&&(_0x3c1dc2=_0x124cbc['end']),_0x53a42d([_0xd67e39['model']['createRange'](_0x205ed4,_0x3c1dc2)]);}),_0x4f6cf6['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','chain',_0x2247af),_0x4f6cf6['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','chain',_0x2247af)),_0xd67e39['plugins']['has']('ImageCaptionEditing')&&(_0x4f6cf6['enableCommand']('toggleImageCaption',(_0x25bd38,_0x197d43)=>{const _0x360e61=_0xd67e39['plugins']['get']('ImageCaptionUtils');let _0x4c1e9f=_0x1f245e['getClosestSelectedImageElement'](_0xd67e39['model']['document']['selection']),_0x4132ef=_0x360e61['getCaptionFromImageModelElement'](_0x4c1e9f);_0xd67e39['model']['change'](()=>{if(_0x4132ef)return void _0x4f6cf6['markDeletion'](_0xd67e39['model']['createRangeOn'](_0x4132ef));const _0x2b0f2c=_0x1f245e['isBlockImage'](_0x4c1e9f);_0x25bd38(_0x197d43),_0x4c1e9f=_0x1f245e['getClosestSelectedImageElement'](_0xd67e39['model']['document']['selection']),_0x4132ef=_0x360e61['getCaptionFromImageModelElement'](_0x4c1e9f),_0x4f6cf6['markInsertion'](_0xd67e39['model']['createRangeOn'](_0x4132ef),_0x2b0f2c?null:'imageCaption');});}),_0x4f6cf6['_suggestionFactory']['registerCustomCallback']('insertion','imageCaption','chain',_0x2247af));const _0x323d4c=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x535e7f(_0x3410da,_0x4ff112){const _0x27fca9=_0x323d4c['findIndex'](({type:_0x24d68f,subType:_0xd82a3a})=>_0x3410da['type']==_0x24d68f&&_0x3410da['subType']==_0xd82a3a),_0x3460dd=_0x323d4c['findIndex'](({type:_0x285e4f,subType:_0x4d71ab})=>_0x4ff112['type']==_0x285e4f&&_0x4ff112['subType']==_0x4d71ab);if(_0x27fca9<0x0||_0x3460dd<0x0)return!0x1;const _0xa5a0a3=_0x3410da['getFirstRange'](),_0x1f9fdf=_0x4ff112['getFirstRange']();if((0x0==_0x27fca9||0x1==_0x27fca9)&&0x2==_0x3460dd&&_0xa5a0a3['isIntersecting'](_0x1f9fdf))return!0x0;if(0x2==_0x27fca9&&0x3==_0x3460dd){const _0x3c5414=_0x4f6cf6['_findSuggestions'](_0xa5a0a3,'insertion')['filter'](({suggestion:_0x592ecd,meta:_0x16d6b6})=>_0x16d6b6['isOwn']&&'convertInlineImageToBlock'==_0x592ecd['subType']);if(_0x3c5414['length']>0x1&&_0x1f9fdf['end']['isEqual'](_0xa5a0a3['start']))return!0x0;if(0x1==_0x3c5414['length']&&(_0xa5a0a3['start']['isEqual'](_0x1f9fdf['end'])||_0xa5a0a3['end']['isEqual'](_0x1f9fdf['start'])))return!0x0;}if(0x3==_0x27fca9&&0x3==_0x3460dd&&_0xa5a0a3['start']['isBefore'](_0x1f9fdf['start'])){const _0x5ef3a0=_0xa5a0a3['end']['nodeAfter'],_0x104ddd=_0x1f9fdf['start']['nodeBefore'];return _0x1f245e['isBlockImage'](_0x5ef3a0)&&_0x5ef3a0===_0x104ddd;}return!0x1;}function _0x2247af(_0xf58afe,_0x1014a4){return _0x535e7f(_0xf58afe,_0x1014a4)?[_0xf58afe,_0x1014a4]:_0x535e7f(_0x1014a4,_0xf58afe)?[_0x1014a4,_0xf58afe]:null;}_0xd67e39['plugins']['has']('ImageResize')&&(_0x4f6cf6['enableDefaultAttributesIntegration']('resizeImage'),_0x4f6cf6['descriptionFactory']['registerAttributeLabel']('resizedWidth',WC(_0x4c445c,'FORMAT_IMAGE_SIZE'))),_0xd67e39['plugins']['has']('ImageTextAlternativeEditing')&&_0x4f6cf6['enableDefaultAttributesIntegration']('imageTextAlternative'),_0xd67e39['plugins']['has']('PictureEditing')&&_0x4f6cf6['descriptionFactory']['registerDescriptionCallback'](_0x2f4241=>{if('attribute'!=_0x2f4241['type'])return;const {data:_0x7db8b7}=_0x2f4241;return _0x7db8b7&&'sources'==_0x7db8b7['key']?{'type':'format','content':''}:void 0x0;}),_0xd67e39['plugins']['has']('ImageSizeAttributes')&&_0x4f6cf6['descriptionFactory']['registerDescriptionCallback'](_0x2bc806=>{if('attribute'!=_0x2bc806['type'])return;const {data:_0x205ca0}=_0x2bc806;return!_0x205ca0||'width'!=_0x205ca0['key']&&'height'!=_0x205ca0['key']?void 0x0:{'type':'format','content':''};}),_0x4f6cf6['descriptionFactory']['registerDescriptionCallback'](_0x1a718f=>{if(_0x323d4c['find'](({type:_0x2737e7,subType:_0x83f4f0})=>_0x1a718f['type']==_0x2737e7&&_0x1a718f['subType']==_0x83f4f0))return _0x1a718f['previous']?{}:void 0x0;}),_0x4f6cf6['descriptionFactory']['registerDescriptionCallback'](_0x15e1ec=>{if('insertion'==_0x15e1ec['type']||'deletion'==_0x15e1ec['type']){const _0x4a2161=_0x15e1ec['getContainedElement']();if(_0x4a2161&&_0x4a2161['is']('element','caption'))return{'type':'insertion'==_0x15e1ec['type']?'addObject':'removeObject','element':_0x4a2161,'quantity':0x1};}}),_0x4f6cf6['descriptionFactory']['registerDescriptionCallback'](_0x405482=>'formatBlock'==_0x405482['type']&&'convertInlineImageToBlock'==_0x405482['subType']?{'type':'format','content':'Inline\x20image\x20to\x20block\x20image'}:'formatBlock'==_0x405482['type']&&'convertBlockImageToInline'==_0x405482['subType']?{'type':'format','content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x4f6cf6['descriptionFactory']['registerDescriptionCallback'](_0x239306=>{if('attribute'!=_0x239306['type'])return;const {data:_0xd45ddf}=_0x239306;if(!_0xd45ddf||'alt'!=_0xd45ddf['key'])return;const _0x54a9f2=_0xd45ddf['newValue'];return _0x54a9f2?{'type':'format','content':WC(_0x4c445c,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x54a9f2+'\x22')}:{'type':'format','content':WC(_0x4c445c,'*Remove\x20image\x20text\x20alternative*')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x3beb4d=this['editor'],_0x1500d1=_0x3beb4d['locale'];_0x3beb4d['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x24d756=>{if('formatBlock'!=_0x24d756['type']&&'formatInline'!=_0x24d756['type'])return;const {data:_0x322e44}=_0x24d756;if(_0x322e44){if('imageTextAlternative'==_0x322e44['commandName']){const _0x14f932=_0x322e44['commandParams'][0x0]['newValue'];return _0x14f932?{'type':'format','content':WC(_0x1500d1,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x14f932+'\x22')}:{'type':'format','content':WC(_0x1500d1,'*Remove\x20image\x20text\x20alternative*')};}if('resizeImage'==_0x322e44['commandName']){const _0x324baf=_0x322e44['commandParams'][0x0]['width'];return _0x324baf?{'type':'format','content':WC(_0x1500d1,'*Set\x20image\x20width:*\x20%0',_0x324baf)}:{'type':'format','content':WC(_0x1500d1,'*Reset\x20image\x20width*')};}}});}},RR=class extends _0x36b920{['afterInit'](){if(!this['editor']['plugins']['has']('ImageEditing'))return;const _0x2a4aeb=this['editor']['locale'],_0x896674=this['editor']['plugins']['get']('TrackChangesEditing');_0x896674['enableDefaultAttributesIntegration']('replaceImageSource'),_0x896674['descriptionFactory']['registerDescriptionCallback'](_0xb2a702=>{if('attribute'!=_0xb2a702['type'])return;const {data:_0x4d0362}=_0xb2a702;return _0x4d0362&&'src'==_0x4d0362['key']?_0x4d0362['newValue']&&_0x4d0362['oldValue']?{'type':'format','content':WC(_0x2a4aeb,'*Replace\x20image*')}:{'type':'format','content':''}:void 0x0;}),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x274fe3=this['editor']['plugins']['get']('TrackChangesEditing');_0x274fe3['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','accept',_0x274fe3['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x274fe3['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','discard',_0x274fe3['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x5ad54a=this['editor'],_0x5a06d1=_0x5ad54a['locale'];_0x5ad54a['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x5c69f8=>{if('formatBlock'!=_0x5c69f8['type']&&'formatInline'!=_0x5c69f8['type'])return;const {data:_0x2b07b1}=_0x5c69f8;return _0x2b07b1&&'replaceImageSource'==_0x2b07b1['commandName']?{'type':'format','content':WC(_0x5a06d1,'*Format:*\x20replace\x20image\x20URL')}:void 0x0;});}},PR=class extends _0x36b920{['afterInit'](){const _0x2346d6=this['editor'];if(!_0x2346d6['plugins']['has']('ImageStyleEditing'))return;const _0x446e37=_0x2346d6['plugins']['get']('TrackChangesEditing'),_0x1bdb5d=_0x2346d6['plugins']['get']('ImageUtils'),_0x57a545={};_0x446e37['enableCommand']('imageStyle',(_0x3c6204,_0x3b0b31)=>{const _0x5876e8=_0x2346d6['plugins']['get']('Users')['me'],_0x32ce05=_0x2346d6['commands']['get']('imageStyle');let _0x317a67=_0x1bdb5d['getClosestSelectedImageElement'](_0x2346d6['model']['document']['selection']),_0x10eb50=_0x2346d6['model']['createRangeOn'](_0x317a67),_0x5bdb9f=_0x32ce05['value'];if(_0x5bdb9f==_0x3b0b31['value'])return;if(_0x3b0b31['value']&&_0x1bdb5d['isInlineImage'](_0x317a67)&&!_0x32ce05['isStyleEnabled'](_0x3b0b31['value']))return;const _0x3b6a16={'commandName':'imageStyle','commandParams':[_0x3b0b31],'formatGroupId':_0x10825a()};_0x2346d6['model']['change'](()=>{if(_0x446e37['getSuggestions']()['filter'](_0xda53b0=>_0xda53b0['isInContent']&&_0x5876e8==_0xda53b0['author']&&('formatBlock'==_0xda53b0['type']||'formatInline'==_0xda53b0['type'])&&('imageStylePreApply'==_0xda53b0['subType']||'imageStylePostApply'==_0xda53b0['subType'])&&_0xda53b0['getFirstRange']()['isEqual'](_0x10eb50))['forEach'](_0x44a359=>_0x446e37['discardSuggestion'](_0x44a359['head'])),_0x317a67=_0x1bdb5d['getClosestSelectedImageElement'](_0x2346d6['model']['document']['selection']),_0x10eb50=_0x2346d6['model']['createRangeOn'](_0x317a67),_0x32ce05['refresh'](),_0x2346d6['commands']['get']('imageTypeInline')['refresh'](),_0x2346d6['commands']['get']('imageTypeBlock')['refresh'](),_0x5bdb9f=_0x32ce05['value'],_0x5bdb9f!=_0x3b0b31['value'])return _0x1bdb5d['isInlineImage'](_0x317a67)&&_0x32ce05['shouldConvertImageType'](_0x3b0b31['value'],_0x317a67)?(_0x3c6204({..._0x3b0b31,'setImageSizes':!0x1}),_0x317a67=_0x1bdb5d['getClosestSelectedImageElement'](_0x2346d6['model']['document']['selection']),void _0x446e37['markBlockFormat'](_0x317a67,{..._0x3b6a16,'commandReversedParams':[{'value':_0x5bdb9f||null,'setImageSizes':!0x1}]},[],'imageStylePreApply')):void(_0x1bdb5d['isBlockImage'](_0x317a67)?_0x446e37['markBlockFormat'](_0x317a67,_0x3b6a16,[],'imageStylePostApply'):_0x446e37['markInlineFormat'](_0x10eb50,_0x3b6a16,'imageStylePostApply'));});});for(const _0x5345b1 of _0x2346d6['plugins']['get']('ImageStyleEditing')['normalizedStyles'])_0x57a545[_0x5345b1['name']]=_0x5345b1['title']['toLowerCase']();_0x446e37['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','join',()=>!0x1),_0x446e37['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePostApply','join',()=>!0x1),_0x446e37['_suggestionFactory']['registerCustomCallback']('formatInline','imageStylePostApply','join',()=>!0x1),_0x446e37['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','accept',([_0x4128a7])=>{_0x1bdb5d['setImageNaturalSizeAttributes'](_0x4128a7['getContainedElement']());}),_0x446e37['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','discard',(_0xa83986,_0x28c91e)=>{_0x446e37['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')(_0xa83986,{'commandName':_0x28c91e['commandName'],'commandParams':_0x28c91e['commandReversedParams']});}),_0x446e37['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','chain',function(_0x1d91dd,_0x7f88cf){return _0x8823e(_0x1d91dd,_0x7f88cf)?[_0x1d91dd,_0x7f88cf]:_0x8823e(_0x7f88cf,_0x1d91dd)?[_0x7f88cf,_0x1d91dd]:null;});const _0x528aa5=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x8823e(_0x1518ce,_0x43bd77){const _0x4a8839=_0x528aa5['findIndex'](({type:_0x5a1f1a,subType:_0x2fa044})=>_0x1518ce['type']==_0x5a1f1a&&_0x1518ce['subType']==_0x2fa044),_0x2408d7=_0x528aa5['findIndex'](({type:_0x161164,subType:_0x25e5d8})=>_0x43bd77['type']==_0x161164&&_0x43bd77['subType']==_0x25e5d8);if(_0x4a8839<0x0||_0x2408d7<0x0)return!0x1;const _0x308c03=_0x1518ce['getFirstRange'](),_0xdcba27=_0x43bd77['getFirstRange']();if((0x0==_0x4a8839||0x1==_0x4a8839)&&0x2==_0x2408d7&&_0x308c03['isIntersecting'](_0xdcba27))return!0x0;if(0x2==_0x4a8839&&0x3==_0x2408d7){const _0x166931=_0x446e37['_findSuggestions'](_0x308c03,'insertion')['filter'](({suggestion:_0x57981c,meta:_0x534d92})=>_0x534d92['isOwn']&&'convertInlineImageToBlock'==_0x57981c['subType']);if(_0x166931['length']>0x1&&_0xdcba27['end']['isEqual'](_0x308c03['start']))return!0x0;if(0x1==_0x166931['length']&&(_0x308c03['start']['isEqual'](_0xdcba27['end'])||_0x308c03['end']['isEqual'](_0xdcba27['start'])))return!0x0;}if(0x3==_0x4a8839&&0x3==_0x2408d7&&_0x308c03['start']['isBefore'](_0xdcba27['start'])){const _0x538539=_0x308c03['end']['nodeAfter'],_0x4d8eb8=_0xdcba27['start']['nodeBefore'];return _0x1bdb5d['isBlockImage'](_0x538539)&&_0x538539===_0x4d8eb8;}return!0x1;}_0x2346d6['model']['document']['registerPostFixer'](()=>{let _0x4a0196=!0x1;const _0x3a7ebf=Array['from'](_0x2346d6['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x2c4899,data:_0x50fcdf}of _0x3a7ebf){const {group:_0x276576,type:_0x50a363,subType:_0x11b0ca,id:_0x1b003b}=ya(_0x2c4899);if('suggestion'==_0x276576&&_0x446e37['hasSuggestion'](_0x1b003b)){if('formatBlock'==_0x50a363&&('imageStylePreApply'==_0x11b0ca||'imageStylePostApply'==_0x11b0ca)){const _0x42392f=_0x446e37['getSuggestion'](_0x1b003b);if(_0x50fcdf['newRange']){const _0x1d1489=_0x42392f['getFirstRange']()['getContainedElement']();if(_0x1bdb5d['isBlockImage'](_0x1d1489))continue;_0x446e37['discardSuggestion'](_0x42392f),_0x4a0196=!0x0;}}if('insertion'==_0x50a363&&'imageCaption'==_0x11b0ca&&!_0x50fcdf['newRange']){const _0x5a6c8f=_0x446e37['getSuggestion'](_0x1b003b);_0x5a6c8f['next']&&_0x5a6c8f['next']['isInContent']&&(_0x446e37['discardSuggestion'](_0x5a6c8f['next']),_0x4a0196=!0x0);}}}return _0x4a0196;}),this['_registerLegacyDescription'](_0x57a545);}['_registerLegacyDescription'](_0x138550){const _0x2476b8=this['editor'],_0x466619=_0x2476b8['locale'];_0x2476b8['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x11e6d4=>{if('formatBlock'!=_0x11e6d4['type']&&'formatInline'!=_0x11e6d4['type'])return;const {data:_0x22f982}=_0x11e6d4;if(!_0x22f982||'imageStyle'!=_0x22f982['commandName'])return;const _0x4fbf3d=_0x22f982['commandParams'][0x0]['value'];return _0x170325('side'===_0x4fbf3d?WC(_0x466619,'FORMAT_SIDE_IMAGE'):_0x138550[_0x4fbf3d]||_0x4fbf3d);function _0x170325(_0x204770){return{'type':'format','content':WC(_0x466619,'*Format:*\x20%0',_0x204770)};}});}},MR=class extends _0x36b920{['_trackChangesValueDuringImport'];['_trackChangesExecuted'];constructor(_0x22b8f7){super(_0x22b8f7),this['_trackChangesValueDuringImport']=!0x1,this['_trackChangesExecuted']=!0x1;}['afterInit'](){const _0x4e5414=this['editor'],_0x3274e9=_0x4e5414['commands']['get']('importWord'),_0x1db3ee=_0x4e5414['commands']['get']('trackChanges');_0x3274e9&&(_0x3274e9['on']('execute',(_0x214997,[,_0x4138d4])=>{this['_trackChangesValueDuringImport']=_0x1db3ee['value'],_0x4138d4['collaboration_features']['track_changes']=!this['_trackChangesValueDuringImport'];},{'priority':'high'}),this['listenTo'](_0x3274e9,'dataInsert',this['_handleImportedData']['bind'](this)),this['listenTo'](_0x3274e9,'dataInsert',()=>{this['_trackChangesExecuted']&&(_0x1db3ee['execute'](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0x4e5414['plugins']['get']('TrackChangesEditing')['enableCommand']('importWord'));}['_handleImportedData'](_0x5ed68c,_0x89238a){const {suggestions:_0x17fbc6}=_0x89238a,_0x245ae8=this['editor']['commands']['get']('trackChanges'),_0x35c25e=_0x245ae8['value'];this['_trackChangesValueDuringImport']!==_0x35c25e&&(_0x245ae8['execute'](),this['_trackChangesExecuted']=!0x0),_0x17fbc6&&_0x17fbc6['forEach'](({id:_0x4aa447,type:_0x59efcb,author:_0x2e1875,created_at:_0xb3c996})=>{const _0x15cb1c={'id':_0x4aa447,'type':_0x59efcb,'authorId':this['editor']['plugins']['get']('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x2e1875,'createdAt':_0xb3c996?new Date(_0xb3c996):new Date(),'source':'importWord'}}};this['editor']['plugins']['get']('TrackChangesEditing')['_setSuggestionData'](_0x15cb1c);});}},NR=class extends _0x36b920{['afterInit'](){const _0x4766b2=this['editor'],_0x3a85ee=_0x4766b2['plugins']['get']('TrackChangesEditing');if(_0x4766b2['plugins']['has']('IndentEditing')&&(_0x3a85ee['enableCommand']('indent'),_0x3a85ee['enableCommand']('outdent')),_0x4766b2['plugins']['has']('IndentBlock')){for(const _0x52d9d3 of['indentBlock','outdentBlock'])_0x3a85ee['enableDefaultAttributesIntegration'](_0x52d9d3);if(_0x4766b2['plugins']['has']('ListEditing')){for(const _0x57b510 of['indentBlockList','indentBlockListItem','outdentBlockList','outdentBlockListItem'])_0x3a85ee['enableDefaultAttributesIntegration'](_0x57b510);}}const _0x146883=_0x4766b2['locale'];_0x3a85ee['descriptionFactory']['registerAttributeLabel']('blockIndent',WC(_0x146883,'FORMAT_INDENT')),_0x3a85ee['descriptionFactory']['registerAttributeLabel']('blockIndentList',WC(_0x146883,'FORMAT_INDENT')),_0x3a85ee['descriptionFactory']['registerAttributeLabel']('blockIndentListItem',WC(_0x146883,'FORMAT_INDENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0xd3766f=this['editor'],_0x3a83ae=_0xd3766f['locale'],_0x9ed636=_0xd3766f['plugins']['get']('TrackChangesEditing');_0x9ed636['descriptionFactory']['registerDescriptionCallback'](_0x412330=>{if('formatBlock'!=_0x412330['type'])return;const {data:_0x4b282b}=_0x412330;if(!_0x4b282b)return;if('indentBlock'!=_0x4b282b['commandName']&&'outdentBlock'!=_0x4b282b['commandName'])return;const _0x2d4079=_0x412330['getItems']()[0x0],_0x342d99=_0x9ed636['descriptionFactory']['getItemLabel'](_0x2d4079);return'indentBlock'==_0x4b282b['commandName']?{'type':'format','content':WC(_0x3a83ae,'*Indent:*\x20%0',_0x342d99)}:'outdentBlock'==_0x4b282b['commandName']?{'type':'format','content':WC(_0x3a83ae,'*Outdent:*\x20%0',_0x342d99)}:void 0x0;});}},LR=class extends _0x36b920{static get['requires'](){return[_0x4cfd91];}['init'](){this['editor']['plugins']['get']('TrackChangesEditing')['enableCommand']('input');}},$R=class extends _0x36b920{['afterInit'](){const _0x3f6491=this['editor'];if(!_0x3f6491['plugins']['has']('LinkEditing'))return;const _0x3ebb02=_0x3f6491['plugins']['get']('TrackChangesEditing'),_0x3be813=_0x3f6491['commands']['get']('link');_0x3ebb02['enableDefaultAttributesIntegration']('link'),_0x3ebb02['enableDefaultAttributesIntegration']('unlink');for(const _0x3ccd82 of _0x3be813['manualDecorators'])_0x3ebb02['descriptionFactory']['registerAttributeLabel'](_0x3ccd82['id'],'link\x20('+_0x3ccd82['label']['toLowerCase']()+')');_0x3ebb02['descriptionFactory']['registerDescriptionCallback'](_0x5e3e2b=>{if('attribute'!=_0x5e3e2b['type'])return;const {data:_0x37854d}=_0x5e3e2b;if(!_0x37854d||'linkHref'!=_0x37854d['key'])return;const _0x246121=_0x37854d['newValue'],_0x4d9721=_0x3f6491['locale'];return{'type':'format','content':null==_0x246121?WC(_0x4d9721,'*Remove\x20link*'):WC(_0x4d9721,'*Set\x20link:*\x20%0','\x22'+_0x246121+'\x22')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0xb4fe58=this['editor'],_0x11fc9e=_0xb4fe58['locale'];_0xb4fe58['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x25970d=>{if('formatInline'!=_0x25970d['type'])return;const {data:_0x37a274}=_0x25970d;if(_0x37a274){if('link'==_0x37a274['commandName']){const _0x39a489=_0x37a274['commandParams'][0x0];return{'type':'format','content':WC(_0x11fc9e,'*Set\x20link:*\x20%0','\x22'+_0x39a489+'\x22')};}return'unlink'==_0x37a274['commandName']?{'type':'format','content':WC(_0x11fc9e,'*Remove\x20link*')}:void 0x0;}});}},DR=class extends _0x36b920{['afterInit'](){const _0x2aa96f=this['editor'],_0x55f5ac=_0x2aa96f['locale'];if(!_0x2aa96f['plugins']['has']('LegacyListEditing'))return;const _0x5116b5=_0x2aa96f['plugins']['get']('TrackChangesEditing'),_0x421ba5=_0x2aa96f['plugins']['has']('LegacyTodoListEditing');function _0x1cdd84(_0x3ff43a){return()=>{const _0x522714=_0x2aa96f['model']['document']['selection'],_0x12c209=_0x2aa96f['commands']['get'](_0x3ff43a);if(_0x12c209['value'])return void _0x2aa96f['execute']('paragraph',{});const _0x4dccf2=_0x3ff43a['slice'](0x0,-0x4),_0x3271be=function(_0x2eb926,_0x5d9718,_0x249a8b){let _0x2106d7=Array['from'](_0x2eb926)['filter'](_0x5f0c4f=>function(_0x385428,_0x39635b){return _0x39635b['checkChild'](_0x385428['parent'],'listItem')&&!_0x39635b['isObject'](_0x385428);}(_0x5f0c4f,_0x249a8b));_0x2106d7=_0x2106d7['filter'](_0x1bd281=>!_0x1bd281['is']('element','listItem')||_0x1bd281['getAttribute']('listType')!=_0x5d9718);const _0x37841b=new Set();for(const _0x355cf1 of _0x2106d7)_0x355cf1['is']('element','listItem')?_0x37841b['add'](QR(_0x355cf1)):_0x37841b['add'](_0x355cf1);return Array['from'](_0x37841b);}(_0x522714['getSelectedBlocks'](),_0x4dccf2,_0x2aa96f['model']['schema']);_0x2aa96f['model']['change'](()=>{for(const _0x2b154e of _0x3271be)_0x5116b5['markBlockFormat'](_0x2b154e,{'commandName':_0x3ff43a,'commandParams':[{'forceValue':!_0x12c209['value']}],'formatGroupId':'blockName'},jR(_0x2b154e));});};}function _0x19b299(_0x473fb8){return()=>{const _0x2d47c6=function(_0x253483){let _0x25b8ef=Array['from'](_0x253483);const _0x4ac07d=_0x25b8ef['findIndex'](_0x23f2a9=>'listItem'!=_0x23f2a9['name']);return _0x4ac07d>-0x1&&(_0x25b8ef=_0x25b8ef['slice'](0x0,_0x4ac07d)),_0x25b8ef;}(_0x2aa96f['model']['document']['selection']['getSelectedBlocks']()),_0x5245be=_0x2aa96f['model']['createRange'](_0x2aa96f['model']['createPositionAt'](_0x2d47c6[0x0],'before'),_0x2aa96f['model']['createPositionAt'](_0x2d47c6[_0x2d47c6['length']-0x1],'end'));_0x2aa96f['model']['change'](()=>{_0x5116b5['markBlockFormat'](_0x5245be,{'commandName':_0x473fb8,'commandParams':[],'formatGroupId':'listIndent'},function(_0x66552){const _0x25fb44=new Set();for(const _0x5d0786 of _0x66552){let _0x28967f=_0x5d0786['nextSibling'];for(;_0x28967f&&_0x28967f['getAttribute']('listIndent')>_0x5d0786['getAttribute']('listIndent');)_0x25fb44['add'](_0x28967f),_0x28967f=_0x28967f['nextSibling'];}return Array['from'](_0x25fb44);}(_0x2d47c6));});};}_0x5116b5['enableCommand']('numberedList',_0x1cdd84('numberedList')),_0x5116b5['enableCommand']('bulletedList',_0x1cdd84('bulletedList')),_0x421ba5&&_0x5116b5['enableCommand']('todoList',_0x1cdd84('todoList')),_0x5116b5['enableCommand']('indentList',_0x19b299('indentList')),_0x5116b5['enableCommand']('outdentList',_0x19b299('outdentList')),_0x421ba5&&_0x5116b5['enableCommand']('checkTodoList',()=>{const _0x1d6211=_0x2aa96f['commands']['get']('checkTodoList'),_0x281576=Array['from'](_0x1d6211['_selectedElements']);_0x281576['filter'](_0x28ff53=>_0x28ff53['getAttribute']('todoListChecked')!=_0x1d6211['value']),_0x2aa96f['model']['change'](()=>{for(const _0x35b508 of _0x281576)_0x5116b5['markBlockFormat'](_0x35b508,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x1d6211['value']}]});});}),_0x5116b5['descriptionFactory']['registerElementLabel']('listItem',_0x5ed832=>WC(_0x55f5ac,'ELEMENT_LIST_ITEM',_0x5ed832)),_0x5116b5['descriptionFactory']['registerDescriptionCallback'](_0x61369d=>{if('formatBlock'!=_0x61369d['type']&&'formatInline'!=_0x61369d['type'])return;const {data:_0x57aa73}=_0x61369d;if(_0x57aa73){if('numberedList'==_0x57aa73['commandName']||'bulletedList'==_0x57aa73['commandName']||'todoList'==_0x57aa73['commandName'])switch(_0x57aa73['commandName']['replace']('List','')){case'bulleted':return _0x4dcbbe(WC(_0x55f5ac,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x4dcbbe(WC(_0x55f5ac,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x4dcbbe(WC(_0x55f5ac,'ELEMENT_TODO_LIST'));}if('indentList'==_0x57aa73['commandName'])return{'type':'format','content':WC(_0x55f5ac,'*Indent:*\x20%0',WC(_0x55f5ac,'ELEMENT_LIST_ITEM'))};if('outdentList'==_0x57aa73['commandName'])return{'type':'format','content':WC(_0x55f5ac,'*Outdent:*\x20%0',WC(_0x55f5ac,'ELEMENT_LIST_ITEM'))};if('checkTodoList'==_0x57aa73['commandName'])return _0x57aa73['commandParams'][0x0]['forceValue']?{'type':'format','content':WC(_0x55f5ac,'*Check\x20item*')}:{'type':'format','content':WC(_0x55f5ac,'*Uncheck\x20item*')};}function _0x4dcbbe(_0x283f6c){return{'type':'format','content':WC(_0x55f5ac,'*Change\x20to:*\x20%0',_0x283f6c)};}});}};function QR(_0x3fe0df){const _0x17fe8d=_0x3fe0df['getAttribute']('listIndent');if(0x0==_0x17fe8d)return _0x3fe0df;let _0x368584=_0x3fe0df;for(;_0x3fe0df['previousSibling']&&_0x3fe0df['previousSibling']['is']('element','listItem');){const _0x5bbafe=_0x3fe0df['previousSibling']['getAttribute']('listIndent');if(_0x5bbafe==_0x17fe8d)_0x368584=_0x3fe0df['previousSibling'];else{if(_0x5bbafe<_0x17fe8d)break;}_0x3fe0df=_0x3fe0df['previousSibling'];}return _0x368584;}function jR(_0x1883a2){const _0x49e56e=[];if(_0x1883a2['is']('element','listItem')&&_0x1883a2['getAttribute']('listIndent')>0x0){let _0x28ea97=_0x1883a2['nextSibling'];for(;_0x28ea97&&'listItem'==_0x28ea97['name']&&_0x28ea97['getAttribute']('listIndent')==_0x1883a2['getAttribute']('listIndent');)_0x49e56e['push'](_0x28ea97),_0x28ea97=_0x28ea97['nextSibling'];}return _0x49e56e;}var UR=class extends _0x36b920{['afterInit'](){if(!this['editor']['plugins']['has']('LegacyListPropertiesEditing'))return;const _0x413096=this['editor']['config']['get']('list.properties'),_0x24025a=this['editor']['plugins']['get']('TrackChangesEditing');_0x413096['styles']&&_0x24025a['enableCommand']('listStyle',this['handleListStyleCommand']['bind'](this)),_0x413096['reversed']&&_0x24025a['enableCommand']('listReversed',this['handleListReversedCommand']['bind'](this)),_0x413096['startIndex']&&_0x24025a['enableCommand']('listStart',this['handleListStartCommand']['bind'](this)),_0x24025a['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));}['handleListStyleCommand'](_0x13f5f0,_0x2d2907={}){const _0x2ec8c2=this['editor']['plugins']['get']('TrackChangesEditing'),_0x5a2022=this['_getSuggestionBlocksForListStyle']();this['editor']['model']['change'](()=>{_0x2ec8c2['markMultiRangeBlockFormat'](_0x5a2022,{'commandName':'listStyle','commandParams':[{'type':_0x2d2907['type']}],'formatGroupId':'listStyle'});});}['handleListReversedCommand'](_0x548c5d,_0x57f747={}){const _0x449e37=this['editor']['plugins']['get']('TrackChangesEditing'),_0x47a833=this['_getSuggestionBlocks'](_0x17164b=>_0x17164b['is']('element','listItem')&&'numbered'===_0x17164b['getAttribute']('listType'));if(_0x47a833['length']<0x1)return;const _0x256d58=_0x47a833['map'](_0x3b28d1=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x3b28d1,'before'),this['editor']['model']['createPositionAt'](_0x3b28d1,0x0)));this['editor']['model']['change'](()=>{_0x449e37['markMultiRangeBlockFormat'](_0x256d58,{'commandName':'listReversed','commandParams':[{'reversed':_0x57f747['reversed']}],'formatGroupId':'listReversed'});});}['handleListStartCommand'](_0x15576f,_0x55ecfe={}){const _0xcc0f56=this['editor']['plugins']['get']('TrackChangesEditing'),_0x18d434=this['_getSuggestionBlocks'](_0x34382e=>_0x34382e['is']('element','listItem')&&'numbered'===_0x34382e['getAttribute']('listType'));if(_0x18d434['length']<0x1)return;const _0x1e579f=_0x18d434['map'](_0x69a890=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x69a890,'before'),this['editor']['model']['createPositionAt'](_0x69a890,0x0)));this['editor']['model']['change'](()=>{_0xcc0f56['markMultiRangeBlockFormat'](_0x1e579f,{'commandName':'listStart','commandParams':[{'startIndex':_0x55ecfe['startIndex']}],'formatGroupId':'listStart'});});}['handleDescriptions'](_0xda4c3a){if('formatBlock'!=_0xda4c3a['type']&&'formatInline'!=_0xda4c3a['type'])return;const _0x5995e6=this['editor']['locale'],{data:_0x2a614c}=_0xda4c3a;if(!_0x2a614c)return;let _0x3d46eb,_0x3015ed;switch(_0x2a614c['commandName']){case'listStyle':_0x3d46eb='*Change\x20to:*\x20%0',_0x3015ed={'type':'format','content':WC(_0x5995e6,_0x3d46eb,WC(_0x5995e6,this['_getTranslationKeyForListStyle'](_0x2a614c['commandParams'][0x0]['type'])))};break;case'listReversed':_0x3d46eb=_0x2a614c['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x3015ed={'type':'format','content':WC(_0x5995e6,_0x3d46eb)};break;case'listStart':_0x3d46eb='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x3015ed={'type':'format','content':WC(_0x5995e6,_0x3d46eb,_0x2a614c['commandParams'][0x0]['startIndex'])};}return _0x3015ed;}['_getSuggestionBlocksForListStyle'](){const _0xa7c75a=this['editor']['plugins']['get']('LegacyListUtils');let _0x2b815a=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']());return _0x2b815a[0x0]?.['is']('element','listItem')&&_0x2b815a['unshift'](..._0xa7c75a['getSiblingNodes'](this['editor']['model']['document']['selection']['getFirstPosition'](),'backward')),_0x2b815a[_0x2b815a['length']-0x1]?.['is']('element','listItem')&&_0x2b815a['push'](..._0xa7c75a['getSiblingNodes'](this['editor']['model']['document']['selection']['getLastPosition'](),'forward')),_0x2b815a=[...new Set(_0x2b815a)],this['editor']['model']['document']['selection']['getFirstPosition']()?.['parent']?.['is']('element','listItem')&&(_0x2b815a=_0x2b815a['filter'](_0x556417=>_0x556417['is']('element','listItem'))),_0x2b815a;}['_getSuggestionBlocks'](_0x1fa53c){const _0x3d0f4b=this['editor']['plugins']['get']('LegacyListUtils');let _0x4ccf1f=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']())['filter'](_0x1fa53c)['map'](_0x45cb2f=>{const _0x15b96d=this['editor']['model']['createPositionAt'](_0x45cb2f,0x0);return[..._0x3d0f4b['getSiblingNodes'](_0x15b96d,'backward'),..._0x3d0f4b['getSiblingNodes'](_0x15b96d,'forward')];})['flat']();return _0x4ccf1f=[...new Set(_0x4ccf1f)],_0x4ccf1f;}['_getTranslationKeyForListStyle'](_0x4e14ff){return'ELEMENT_'+(this['editor']['plugins']['get']('LegacyListUtils')['getListTypeFromListStyleType'](_0x4e14ff)||'default')['toUpperCase']()+'_LIST_'+_0x4e14ff['toUpperCase']()['replace'](/-/g,'_');}},VR=class extends _0x36b920{['afterInit'](){const _0x512f8d=this['editor'];if(!_0x512f8d['plugins']['has']('MediaEmbedEditing'))return;const _0xf85985=_0x512f8d['plugins']['get']('TrackChangesEditing'),_0x1872b6=_0x512f8d['locale'];_0xf85985['enableCommand']('mediaEmbed'),_0xf85985['descriptionFactory']['registerElementLabel']('media',_0x2f22b2=>WC(_0x1872b6,'ELEMENT_MEDIA',_0x2f22b2)),_0x512f8d['plugins']['has']('MediaEmbedResizeEditing')&&(_0xf85985['enableDefaultAttributesIntegration']('resizeMediaEmbed'),_0xf85985['descriptionFactory']['registerDescriptionCallback'](_0x4ad687=>{if('attribute'!=_0x4ad687['type'])return;const {data:_0x415af4}=_0x4ad687;if(!_0x415af4||'resizedWidth'!=_0x415af4['key'])return;const _0x493fab=_0x4ad687['getContainedElement']();return _0x493fab&&_0x493fab['is']('element','media')?{'type':'format','content':WC(_0x1872b6,'*Set\x20format:*\x20%0',WC(_0x1872b6,'FORMAT_MEDIA_SIZE'))}:void 0x0;}));}},BR=class extends _0x36b920{['afterInit'](){const _0x207509=this['editor'];if(!_0x207509['plugins']['has']('MediaEmbedStyleEditing'))return;const _0x1e4c0f=_0x207509['plugins']['get']('TrackChangesEditing'),_0xaed79=_0x207509['locale'],_0x34ae7b=_0x207509['plugins']['get']('MediaEmbedStyleEditing'),_0x50180f={};for(const _0x56100f of _0x34ae7b['normalizedStyles'])_0x50180f[_0x56100f['name']]=_0x56100f['title']['toLowerCase']();const _0xce39c5=_0x34ae7b['normalizedStyles']['find'](_0xef3f9b=>_0xef3f9b['isDefault'])?.['name'];_0x1e4c0f['enableCommand']('mediaStyle',(_0x5e7cc6,_0x5e484f)=>{const _0x57275b=_0x207509['plugins']['get']('Users')['me'],_0x12b6db=_0x207509['commands']['get']('mediaStyle'),_0x49ffd0=function(_0x3a70ff){const _0x5b151e=_0x3a70ff['model']['document']['selection']['getSelectedElement']();return _0x5b151e&&_0x5b151e['is']('element','media')?_0x5b151e:null;}(_0x207509);if(!_0x49ffd0)return;const _0x36e138=_0x207509['model']['createRangeOn'](_0x49ffd0);let _0x15c823=_0x12b6db['value'];if(_0x15c823==_0x5e484f['value'])return;const _0x37c700={'commandName':'mediaStyle','commandParams':[_0x5e484f],'formatGroupId':_0x10825a()};_0x207509['model']['change'](()=>{_0x1e4c0f['getSuggestions']()['filter'](_0x33d5b9=>_0x33d5b9['isInContent']&&_0x57275b==_0x33d5b9['author']&&'formatBlock'==_0x33d5b9['type']&&'mediaStylePostApply'==_0x33d5b9['subType']&&_0x33d5b9['getFirstRange']()['isEqual'](_0x36e138))['forEach'](_0x146ee4=>_0x1e4c0f['discardSuggestion'](_0x146ee4['head'])),_0x12b6db['refresh'](),_0x15c823=_0x12b6db['value'],_0x15c823!=_0x5e484f['value']&&_0x1e4c0f['markBlockFormat'](_0x49ffd0,{..._0x37c700,'commandReversedParams':[{'value':'string'==typeof _0x15c823?_0x15c823:null}]},[],'mediaStylePostApply');});}),_0x1e4c0f['_suggestionFactory']['registerCustomCallback']('formatBlock','mediaStylePostApply','join',()=>!0x1),_0x1e4c0f['_suggestionFactory']['registerCustomCallback']('formatBlock','mediaStylePostApply','discard',(_0x225358,_0x531426)=>{_0x1e4c0f['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')(_0x225358,{'commandName':_0x531426['commandName'],'commandParams':_0x531426['commandReversedParams']});}),_0x1e4c0f['descriptionFactory']['registerDescriptionCallback'](_0x3f9821=>{if('formatBlock'!=_0x3f9821['type'])return;const {data:_0x1cc7f2}=_0x3f9821;if(!_0x1cc7f2||'mediaStyle'!=_0x1cc7f2['commandName'])return;const _0x466a35=_0x1cc7f2['commandParams'][0x0]['value']||_0xce39c5;return _0x466a35?{'type':'format','content':WC(_0xaed79,'*Format:*\x20%0',_0x50180f[_0x466a35]||_0x466a35)}:void 0x0;});}},FR=class extends _0x36b920{['afterInit'](){const _0xac1e80=this['editor'];_0xac1e80['plugins']['has']('MentionEditing')&&_0xac1e80['plugins']['get']('TrackChangesEditing')['enableCommand']('mention');}},HR=class extends _0x36b920{['afterInit'](){const _0x4febbb=this['editor'];if(!_0x4febbb['plugins']['has']('MergeFieldsEditing'))return;const _0xc796b3=_0x4febbb['plugins']['get']('TrackChangesEditing'),_0x4d041e=_0x4febbb['locale'];_0xc796b3['enableCommand']('insertMergeField'),_0xc796b3['enableCommand']('insertMergeFieldBlock'),_0xc796b3['enableCommand']('insertMergeFieldImage'),_0xc796b3['descriptionFactory']['registerElementLabel']('mergeField',_0x3a2f60=>WC(_0x4d041e,'ELEMENT_MERGE_FIELD',_0x3a2f60)),_0xc796b3['descriptionFactory']['registerElementLabel']('mergeFieldBlock',_0x48029e=>WC(_0x4d041e,'ELEMENT_MERGE_FIELD',_0x48029e)),_0xc796b3['descriptionFactory']['registerDescriptionCallback'](_0x24371b=>{if('insertion'!=_0x24371b['type']&&'deletion'!=_0x24371b['type'])return;const _0x286329=_0x24371b['getContainedElement']();if(null==_0x286329)return;const _0x475036=_0x4febbb['plugins']['get']('MergeFieldsEditing');let _0x24a167;switch(_0x475036['getMergeFieldType'](_0x286329)){case null:return;case'image':{const _0x3d0c89=_0x475036['unwrapAffixes'](_0x286329['getAttribute']('src'));_0x24a167=_0x475036['getLabel'](_0x3d0c89)||_0x3d0c89;break;}default:{const _0xe4325a=_0x286329['getAttribute']('id');_0x24a167=_0x475036['getLabel'](_0xe4325a)||_0xe4325a;break;}}return'insertion'==_0x24371b['type']?{'type':'insertion','content':WC(_0x4d041e,'*Insert:*\x20%0','\x22'+_0x24a167+'\x22\x20'+WC(_0x4d041e,'ELEMENT_MERGE_FIELD'))}:{'type':'deletion','content':WC(_0x4d041e,'*Remove:*\x20%0','\x22'+_0x24a167+'\x22\x20'+WC(_0x4d041e,'ELEMENT_MERGE_FIELD'))};});}},ZR=class extends _0x36b920{['afterInit'](){const _0x51b2f6=this['editor'],_0x27c788=_0x51b2f6['plugins']['get']('TrackChangesEditing');_0x51b2f6['plugins']['has']('MultiLevelList')&&(_0x27c788['enableDefaultAttributesIntegration']('multiLevelList'),_0x27c788['descriptionFactory']['registerDescriptionCallback'](_0x35ed0a=>this['handleDescriptions'](_0x35ed0a)));}['handleDescriptions'](_0x3884cc){const _0x213155=this['editor']['locale'],{data:_0x2ea858}=_0x3884cc,_0x508654={'type':'format','content':''};if(_0x2ea858&&'listMarkerStyle'==_0x2ea858['key']){if(!_0x2ea858['oldValue'])return{'type':'format','content':WC(_0x213155,'*Set\x20format:*\x20%0',WC(_0x213155,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0x2ea858['newValue']+')'};if(!_0x2ea858['newValue']){let _0x5971c0=_0x3884cc['head'];for(;_0x5971c0;){if(_0x5971c0['data']&&'listType'==_0x5971c0['data']['key']&&_0x5971c0['data']['newValue'])return _0x508654;_0x5971c0=_0x5971c0['next'];}return{'type':'format','content':WC(_0x213155,'*Remove\x20format:*\x20%0',WC(_0x213155,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0x2ea858['oldValue']+')'};}}}},GR=class extends _0x36b920{['afterInit'](){const _0xd0709e=this['editor'];if(!_0xd0709e['plugins']['has']('PageBreakEditing'))return;_0xd0709e['plugins']['get']('TrackChangesEditing')['enableCommand']('pageBreak');const _0x245fe7=_0xd0709e['plugins']['get']('TrackChangesEditing'),_0x2f95be=_0xd0709e['locale'];_0x245fe7['descriptionFactory']['registerElementLabel']('pageBreak',_0x2023fd=>WC(_0x2f95be,'ELEMENT_PAGE_BREAK',_0x2023fd));}},XR=class extends _0x36b920{['afterInit'](){const _0x321c04=this['editor'];if(!_0x321c04['plugins']['has']('Paragraph'))return;const _0x5cb4f3=_0x321c04['locale'],_0xa6cfe2=_0x321c04['plugins']['get']('TrackChangesEditing');_0xa6cfe2['descriptionFactory']['registerElementLabel']('paragraph',_0x278c74=>WC(_0x5cb4f3,'ELEMENT_PARAGRAPH',_0x278c74)),_0xa6cfe2['enableDefaultAttributesIntegration']('paragraph'),_0xa6cfe2['enableCommand']('insertParagraph');const _0x3aaeb7=_0xa6cfe2['descriptionFactory'];_0x3aaeb7['registerDescriptionCallback'](_0x525739=>{if('insertion'!==_0x525739['type'])return;const {start:_0x412bc1,end:_0x19e076}=_0x525739['getFirstRange']();if(!_0x412bc1['isTouching'](_0x19e076)||!_0x412bc1['nodeAfter'])return;const _0x5c3817=_0x321c04['model']['schema'],_0x1b24f1=_0x412bc1['nodeAfter'];return _0x5c3817['isBlock'](_0x1b24f1)&&!_0x5c3817['isLimit'](_0x1b24f1)&&_0x5c3817['checkChild'](_0x1b24f1,'$text')?{'type':'insertion','content':WC(_0x5cb4f3,'*Insert:*\x20%0',_0x3aaeb7['getItemLabel'](_0x1b24f1,0x1))}:void 0x0;}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0xc9c72e=this['editor'],_0x245750=_0xc9c72e['locale'];_0xc9c72e['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x24bf7c=>{if('formatBlock'!=_0x24bf7c['type'])return;const {data:_0x334868}=_0x24bf7c;return _0x334868&&'paragraph'==_0x334868['commandName']?{'type':'format','content':WC(_0x245750,'*Change\x20to:*\x20%0',WC(_0x245750,'ELEMENT_PARAGRAPH'))}:void 0x0;});}},qR=class extends _0x36b920{['afterInit'](){const _0x15db65=this['editor'];_0x15db65['commands']['get']('replaceSource')&&_0x15db65['plugins']['get']('TrackChangesEditing')['enableCommand']('replaceSource');}},WR=class extends _0x36b920{['afterInit'](){const _0x425a93=this['editor'];_0x425a93['plugins']['has']('RemoveFormatEditing')&&(_0x425a93['plugins']['get']('TrackChangesEditing')['enableDefaultAttributesIntegration']('removeFormat'),this['_registerLegacyDescription']());}['_registerLegacyDescription'](){const _0x306df8=this['editor'];_0x306df8['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x1b97e3=>{if('formatBlock'!=_0x1b97e3['type']&&'formatInline'!=_0x1b97e3['type'])return;const {data:_0x1f296}=_0x1b97e3;return _0x1f296&&'removeFormat'==_0x1f296['commandName']?{'type':'format','content':WC(_0x306df8['locale'],'*Remove\x20all\x20formatting*')}:void 0x0;});}},zR=class extends _0x36b920{['afterInit'](){const _0x558713=this['editor'];if(!_0x558713['plugins']['has']('RestrictedEditingModeEditing'))return;const _0x56287c=_0x558713['plugins']['get']('TrackChangesEditing');_0x56287c['enableCommand']('goToPreviousRestrictedEditingException'),_0x56287c['enableCommand']('goToNextRestrictedEditingException');const _0x38fd79=_0x558713['plugins']['get']('RestrictedEditingModeEditing');_0x38fd79['enableCommand']('trackChanges'),_0x38fd79['enableCommand']('acceptSuggestion'),_0x38fd79['enableCommand']('discardSuggestion'),_0x38fd79['enableCommand']('acceptAllSuggestions'),_0x38fd79['enableCommand']('discardAllSuggestions'),_0x38fd79['enableCommand']('acceptSelectedSuggestions'),_0x38fd79['enableCommand']('discardSelectedSuggestions');}},YR=class extends _0x36b920{['afterInit'](){const _0x38aa9e=this['editor'];if(!_0x38aa9e['plugins']['has']('ShiftEnter'))return;const _0x12ab2c=_0x38aa9e['plugins']['get']('TrackChangesEditing');_0x12ab2c['enableCommand']('shiftEnter'),_0x12ab2c['descriptionFactory']['registerElementLabel']('softBreak',_0x1b0b7b=>WC(_0x38aa9e['locale'],'ELEMENT_LINE_BREAK',_0x1b0b7b));}};function KR(_0x3b67ec,_0x1f03a6,_0x4bdf74){const _0x4ebb68=[];for(const _0x2c1368 of _0x1f03a6['getItems']())_0x2c1368['hasAttribute'](_0x3b67ec)&&_0x4ebb68['push'](_0x4bdf74['createRangeOn'](_0x2c1368));return _0x4ebb68;}var JR=class extends _0x36b920{['afterInit'](){const _0x30dc18=this['editor'],_0x13bb8f=_0x30dc18['plugins']['get']('TrackChangesEditing');_0x30dc18['plugins']['has']('StandardEditingModeEditing')&&(this['_enableEditingExceptionCommand'](),this['_enableEditingExceptionBlockCommand'](),_0x13bb8f['enableCommand']('restrictedEditingExceptionAuto'));}['_enableEditingExceptionCommand'](){const _0x2b06cc=this['editor'],_0x1d0863=_0x2b06cc['model'],_0x1b3d59=_0x2b06cc['locale'],_0x5da7cd=_0x2b06cc['plugins']['get']('TrackChangesEditing'),_0x54466d='restrictedEditingException',_0x2dbc2d=_0x2b06cc['commands']['get'](_0x54466d);_0x5da7cd['enableCommand'](_0x54466d,(_0x60e36,_0x4911b6={})=>{const _0x3272e9=_0x1d0863['document']['selection'];if(_0x3272e9['isCollapsed'])return void _0x60e36(_0x4911b6);const _0x10090f=void 0x0!==_0x4911b6['forceValue']?_0x4911b6['forceValue']:!_0x2dbc2d['value'];_0x1d0863['change'](()=>{const _0x4a025e=Array['from'](_0x3272e9['getRanges']());for(const _0x110bcd of _0x4a025e){const _0xba024c=_0x10090f?[_0x110bcd]:KR(_0x54466d,_0x110bcd,_0x1d0863);for(const _0x4548ac of _0xba024c)_0x5da7cd['markInlineFormat'](_0x4548ac,{'commandName':_0x54466d,'commandParams':[{'forceValue':_0x10090f}]});}});}),_0x5da7cd['descriptionFactory']['registerDescriptionCallback'](_0x2d3571=>{if('formatBlock'!=_0x2d3571['type']&&'formatInline'!=_0x2d3571['type'])return;const {data:_0x259960}=_0x2d3571;return _0x259960&&_0x259960['commandName']==_0x54466d?_0x259960['commandParams'][0x0]['forceValue']?{'type':'format','content':WC(_0x1b3d59,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':WC(_0x1b3d59,'FORMAT_RESTRICTED_DISABLED')}:void 0x0;});}['_enableEditingExceptionBlockCommand'](){const _0x446910=this['editor'],_0x4c5511=_0x446910['locale'],_0x488c43=_0x446910['plugins']['get']('TrackChangesEditing'),_0x572faa='restrictedEditingExceptionBlock',_0x33ce26=this['editor']['commands']['get'](_0x572faa);_0x488c43['enableCommand'](_0x572faa,(_0x3bc431,_0x3c61d7={})=>{const _0x375be1=this['editor']['model']['document']['selection'],_0x4bf417=_0x3c61d7&&void 0x0!==_0x3c61d7['forceValue']?_0x3c61d7['forceValue']:!_0x33ce26['value'];let _0x1c6043=[];_0x1c6043=BC(_0x4bf417?Array['from'](_0x375be1['getSelectedBlocks']())['filter'](_0x2a39c9=>function(_0x117b0a){return!!_0x117b0a['findAncestor']('restrictedEditingException',{'includeSelf':!0x0});}(_0x2a39c9)||function(_0x288406,_0x5bd1c7){const _0x266711=_0x5bd1c7['createContext'](_0x288406['parent']);return!!_0x5bd1c7['checkChild'](_0x266711,'restrictedEditingException')&&!!_0x5bd1c7['checkChild'](_0x266711['push']('restrictedEditingException'),_0x288406);}(_0x2a39c9,this['editor']['model']['schema'])):Array['from'](_0x375be1['getSelectedBlocks']())['map'](_0x19ed7f=>function(_0x475da7){let _0x2dd152=_0x475da7;for(;_0x2dd152['parent'];){if('restrictedEditingException'==_0x2dd152['parent']['name'])return _0x2dd152;_0x2dd152=_0x2dd152['parent'];}return null;}(_0x19ed7f))['filter'](_0xb124e4=>!!_0xb124e4),_0x446910['model']),_0x446910['model']['change'](()=>{for(const _0x4f16b3 of _0x1c6043)_0x488c43['markBlockFormat'](_0x4f16b3,{'commandName':_0x572faa,'commandParams':[{'forceValue':_0x4bf417}]});});}),_0x488c43['descriptionFactory']['registerDescriptionCallback'](_0x28793f=>{const {data:_0x4b6833}=_0x28793f;if(_0x4b6833&&_0x4b6833['commandName']==_0x572faa)return _0x4b6833['commandParams'][0x0]['forceValue']?{'type':'format','content':WC(_0x4c5511,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':WC(_0x4c5511,'FORMAT_RESTRICTED_DISABLED')};});}},tP=class extends _0x36b920{['afterInit'](){const _0x14ec64=this['editor'];_0x14ec64['plugins']['has']('Style')&&_0x14ec64['plugins']['has']('DataSchema')&&(_0x14ec64['plugins']['get']('TrackChangesEditing')['enableDefaultAttributesIntegration']('style'),this['_registerLegacyDescription']());}['_registerLegacyDescription'](){const _0x58dabd=this['editor'],_0x3f6ff0=_0x58dabd['locale'];_0x58dabd['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x19f6ab=>{if('formatBlock'!=_0x19f6ab['type']&&'formatInline'!=_0x19f6ab['type'])return;const {data:_0x97d566}=_0x19f6ab;return _0x97d566&&'style'===_0x97d566['commandName']?_0x97d566['commandParams'][0x0]['forceValue']?{'type':'format','content':WC(_0x3f6ff0,'*Set\x20format:*\x20%0',_0x97d566['commandParams'][0x0]['styleName']['toLowerCase']())}:{'type':'format','content':WC(_0x3f6ff0,'*Remove\x20format:*\x20%0',_0x97d566['commandParams'][0x0]['styleName']['toLowerCase']())}:void 0x0;});}},eP=class extends _0x36b920{['_tablePostFixingSubtypes'];['_tableSuggestions'];constructor(_0x1057b4){super(_0x1057b4),this['_tablePostFixingSubtypes']=['tableRow','tableColumn'],this['_tableSuggestions']=new Set();}['afterInit'](){const _0x3abe51=this['editor'],_0x4c275a=_0x3abe51['model']['document']['selection'];if(!_0x3abe51['plugins']['has']('TableEditing'))return;const _0xd5a287=_0x3abe51['locale'],_0x93f840=_0x3abe51['plugins']['get']('TrackChangesEditing'),_0xdd7e2a=_0x3abe51['plugins']['get']('TableUtils');_0x93f840['descriptionFactory']['registerElementLabel']('table',_0x487c3f=>WC(_0xd5a287,'ELEMENT_TABLE',_0x487c3f)),this['_setupColumnsRowsFixing'](),_0x93f840['enableCommand']('insertTable'),_0x93f840['enableCommand']('selectTableRow'),_0x93f840['enableCommand']('selectTableColumn');for(const _0x2f8f3b of['insertTableRowAbove','insertTableRowBelow']){const _0x58ab53=_0x3abe51['commands']['get'](_0x2f8f3b);_0x93f840['enableCommand'](_0x2f8f3b,_0x23cfc7=>{_0x3abe51['model']['change'](_0xe01530=>{_0x23cfc7();const _0x5f2e23='above'===_0x58ab53['order'],_0x20a1b2=_0xdd7e2a['getSelectionAffectedTableCells'](_0x4c275a),_0x22706a=_0xdd7e2a['getRowIndexes'](_0x20a1b2),_0x13e3d8=_0x5f2e23?_0x22706a['first']-0x1:_0x22706a['last']+0x1,_0x1d1705=_0x20a1b2[0x0]['findAncestor']('table'),_0x2fb394=_0xdd7e2a['createTableWalker'](_0x1d1705,{'startRow':_0x13e3d8,'endRow':_0x13e3d8}),_0x1b7014=Array['from'](_0x2fb394)['map'](_0xf9bec4=>_0xe01530['createRangeOn'](_0xf9bec4['cell']));_0x93f840['markMultiRangeInsertion'](_0x1b7014,'tableRow');});});}for(const _0x5a4a65 of['insertTableColumnLeft','insertTableColumnRight']){const _0x945437=_0x3abe51['commands']['get'](_0x5a4a65);_0x93f840['enableCommand'](_0x5a4a65,_0x1e01f5=>{_0x3abe51['model']['change'](_0x5c3d02=>{_0x1e01f5();const _0x4bf163='left'===_0x945437['order'],_0x574a96=_0xdd7e2a['getSelectionAffectedTableCells'](_0x4c275a),_0x59b104=_0xdd7e2a['getColumnIndexes'](_0x574a96),_0x5361ac=_0x4bf163?_0x59b104['first']-0x1:_0x59b104['last']+0x1,_0x1b7a05=_0x574a96[0x0]['findAncestor']('table'),_0x4d41e7=_0xdd7e2a['createTableWalker'](_0x1b7a05,{'startRow':0x0,'column':_0x5361ac,'includeAllSlots':!0x1}),_0x2bb966=Array['from'](_0x4d41e7)['map'](_0x5d52f2=>_0x5c3d02['createRangeOn'](_0x5d52f2['cell']));_0x93f840['markMultiRangeInsertion'](_0x2bb966,'tableColumn');});});}for(const _0x100e99 of['removeTableRow','removeTableColumn']){const _0x1a5c02=_0x100e99['substr'](0xb),_0x242171=_0x1a5c02['toLowerCase'](),_0x360d4f=_0x242171['substr'](0x0,0x3)+'span',_0x3a6005='table'+_0x1a5c02,_0x37a6b5='min'+_0x1a5c02,_0x717079='max'+_0x1a5c02;_0x93f840['enableCommand'](_0x100e99,()=>{_0x3abe51['model']['change'](_0x3246fe=>{const _0x4ac10f=_0xdd7e2a['getSelectionAffectedTableCells'](_0x4c275a),_0x2ea9e1=_0x4ac10f[0x0]['findAncestor']('table');let _0x5b181b;if('removeTableRow'==_0x100e99){const _0x20d269=_0xdd7e2a['getRowIndexes'](_0x4ac10f);_0x5b181b={'startRow':_0x20d269['first'],'endRow':_0x20d269['last'],'includeAllSlots':!0x0};}else{const _0x55f131=_0xdd7e2a['getColumnIndexes'](_0x4ac10f);_0x5b181b={'startColumn':_0x55f131['first'],'endColumn':_0x55f131['last'],'includeAllSlots':!0x0};}const _0x4cdf3d=_0xdd7e2a['createTableWalker'](_0x2ea9e1,_0x5b181b),_0x4680b2=Array['from'](_0x4cdf3d)['map'](({cell:_0x112386})=>_0x112386),_0x5e7171=iP(_0x4680b2['filter'](_0x1207ca=>_0x1207ca['hasAttribute'](_0x360d4f))),_0x158089=iP(_0x4680b2['filter'](_0x3eab68=>!_0x3eab68['hasAttribute'](_0x360d4f)))['map'](_0xbbcac8=>_0x3246fe['createRangeOn'](_0xbbcac8)),_0x1860c1=_0x93f840['markMultiRangeDeletion'](_0x158089,_0x3a6005);if(_0x1860c1&&('tableRow'==_0x1860c1['subType']||'tableColumn'==_0x1860c1['subType'])){const _0x34fcb2=this['_getSuggestionCoords'](_0x1860c1);for(const _0x5c07a9 of _0x5e7171){const _0x29c4ee=_0x3246fe['createRangeOn'](_0x5c07a9),_0x261346=_0xdd7e2a['getCellLocation'](_0x5c07a9),_0x23002a=_0x5c07a9['getAttribute'](_0x360d4f)-0x1,_0x2f7e8c=_0x34fcb2[_0x37a6b5],_0x568ea6=_0x34fcb2[_0x717079];_0x2f7e8c<=_0x261346[_0x242171]&&_0x261346[_0x242171]+_0x23002a<=_0x568ea6&&_0x1860c1['addRange'](_0x29c4ee);}}});});}function _0x4baf03(_0x1c785f){const _0x260647=Array['from'](_0x4c275a['getRanges']())['map'](_0x9a1adf=>_0x52b1ee['fromRange'](_0x9a1adf));_0x3abe51['model']['change'](_0x3bdfc1=>{const _0x52dd5c=_0x3bdfc1['batch'];_0x1c785f=_0x1c785f['filter'](_0x238732=>'$graveyard'!=_0x238732['root']['rootName']),_0x3bdfc1['setSelection'](_0x1c785f),_0x3abe51['commands']['get']('removeTableRow')['refresh'](),_0x3abe51['execute']('removeTableRow',{'forceDefaultExecution':!0x0}),_0x3abe51['model']['enqueueChange'](()=>{_0x3abe51['model']['enqueueChange'](_0x52dd5c,_0xeb2f3b=>{const _0x1ebf04=_0x260647['filter'](_0x2c3d7b=>'$graveyard'!=_0x2c3d7b['root']['rootName']);_0x1ebf04['length']>0x0&&_0xeb2f3b['setSelection'](_0x1ebf04);for(const _0x595e82 of _0x260647)_0x595e82['detach']();});});});}function _0x30332b(_0x222ad1){_0x3abe51['model']['change'](_0x44a509=>{const _0x109962=Array['from'](_0x4c275a['getRanges']())['map'](_0x5d45bd=>_0x52b1ee['fromRange'](_0x5d45bd)),_0x101638=[];for(const _0x5efbd2 of _0x222ad1)for(const _0x5865e3 of _0x5efbd2['getItems']({'shallow':!0x0}))_0x101638['push'](_0x5865e3);for(const _0x4a2271 of _0x101638)'$graveyard'!=_0x4a2271['root']['rootName']&&(_0x44a509['setSelection'](_0x44a509['createPositionAt'](_0x4a2271,0x0)),_0x3abe51['commands']['get']('removeTableColumn')['refresh'](),_0x3abe51['execute']('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0xb49b08=_0x109962['filter'](_0x6ca8f7=>'$graveyard'!=_0x6ca8f7['root']['rootName']);_0xb49b08['length']>0x0&&_0x44a509['setSelection'](_0xb49b08);for(const _0x223f23 of _0x109962)_0x223f23['detach']();});}function _0x374d2c(_0x3ea731,_0x1016ad){return _0x1016ad['every'](_0x34df4a=>_0x3ea731['some'](_0x18f7d7=>_0x18f7d7['end']['isEqual'](_0x34df4a['start'])||_0x34df4a['end']['isEqual'](_0x18f7d7['start'])));}function _0x5d87db(_0x3775a7,_0x4e4ed5){return!_0x3775a7['some'](_0x1f76ce=>_0x4e4ed5['some'](_0x1fe5ff=>_0x1f76ce['isIntersecting'](_0x1fe5ff)))&&_0x3775a7['some'](_0x53feb0=>_0x4e4ed5['some'](_0x3f1f37=>_0x53feb0['end']['isTouching'](_0x3f1f37['start'])));}_0x93f840['descriptionFactory']['registerDescriptionCallback'](_0x4f27ca=>{if('insertion'!=_0x4f27ca['type']&&'deletion'!=_0x4f27ca['type'])return;const _0x726883=_0x4f27ca['getContainedElement']();if(null!=_0x726883&&_0x726883['is']('element','table')){if('insertion'==_0x4f27ca['type']){const _0x2a0e86=_0x4f27ca['getItems']()['filter'](_0x52201e=>_0x52201e['is']('$textProxy'))['map'](_0x5b9789=>_0x5b9789['data']);if(_0x2a0e86['length'])return{'type':'insertion','content':WC(_0xd5a287,'*Insert:*\x20%0',WC(_0xd5a287,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x2a0e86['join']('\x20')+'\x22'))};}if('deletion'==_0x4f27ca['type']){const _0x5033d8=_0x4f27ca['getItems']()['filter'](_0x6527d5=>_0x6527d5['is']('$textProxy'))['map'](_0x16c77e=>_0x16c77e['data']);if(_0x5033d8['length'])return{'type':'deletion','content':WC(_0xd5a287,'*Remove:*\x20%0',WC(_0xd5a287,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x5033d8['join']('\x20')+'\x22'))};}}}),_0x93f840['descriptionFactory']['registerDescriptionCallback'](_0x3e6965=>{if('tableRow'==_0x3e6965['subType']){const _0xd1c919=_0x3e6965['getItems']()['filter'](_0x1471b4=>_0x1471b4['is']('$textProxy'))['map'](_0x13ef2b=>_0x13ef2b['data']),_0x1e40c3=this['_getSuggestionCoords'](_0x3e6965),_0x3a5aa7=_0x1e40c3['maxRow']-_0x1e40c3['minRow']+0x1;if('insertion'==_0x3e6965['type'])return _0xd1c919['length']?{'type':'insertion','content':WC(_0xd5a287,'*Insert:*\x20%0',WC(_0xd5a287,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x3a5aa7,'\x22'+_0xd1c919['join']('\x20')+'\x22']))}:{'type':'insertion','content':WC(_0xd5a287,'*Insert:*\x20%0',WC(_0xd5a287,'ELEMENT_TABLE_ROW',_0x3a5aa7))};if('deletion'==_0x3e6965['type'])return _0xd1c919['length']?{'type':'deletion','content':WC(_0xd5a287,'*Remove:*\x20%0',WC(_0xd5a287,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x3a5aa7,'\x22'+_0xd1c919['join']('\x20')+'\x22']))}:{'type':'deletion','content':WC(_0xd5a287,'*Remove:*\x20%0',WC(_0xd5a287,'ELEMENT_TABLE_ROW',_0x3a5aa7))};}if('tableColumn'==_0x3e6965['subType']){const _0xcb4668=_0x3e6965['getItems']()['filter'](_0x4314b7=>_0x4314b7['is']('$textProxy'))['map'](_0x3c0ce3=>_0x3c0ce3['data']),_0x507d58=this['_getSuggestionCoords'](_0x3e6965),_0xf6e7f5=_0x507d58['maxColumn']-_0x507d58['minColumn']+0x1;if('insertion'==_0x3e6965['type'])return _0xcb4668['length']?{'type':'insertion','content':WC(_0xd5a287,'*Insert:*\x20%0',WC(_0xd5a287,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0xf6e7f5,'\x22'+_0xcb4668['join']('\x20')+'\x22']))}:{'type':'insertion','content':WC(_0xd5a287,'*Insert:*\x20%0',WC(_0xd5a287,'ELEMENT_TABLE_COLUMN',_0xf6e7f5))};if('deletion'==_0x3e6965['type'])return _0xcb4668['length']?{'type':'deletion','content':WC(_0xd5a287,'*Remove:*\x20%0',WC(_0xd5a287,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0xf6e7f5,'\x22'+_0xcb4668['join']('\x20')+'\x22']))}:{'type':'deletion','content':WC(_0xd5a287,'*Remove:*\x20%0',WC(_0xd5a287,'ELEMENT_TABLE_COLUMN',_0xf6e7f5))};}}),_0x93f840['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','discard',_0x4baf03),_0x93f840['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','accept',_0x4baf03),_0x93f840['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','discard',_0x30332b),_0x93f840['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','accept',_0x30332b),_0x93f840['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','join',_0x374d2c),_0x93f840['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','join',_0x374d2c),_0x93f840['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','join',_0x5d87db),_0x93f840['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','join',_0x5d87db);}['_acceptFormatSuggestionCallbackFactory'](){const _0x5dc391=this['editor'],_0xb42f62=_0x5dc391['model']['document']['selection'];return(_0x47e299,_0x351b21)=>{_0x5dc391['model']['change'](_0x31ea54=>{const {commandName:_0x44414e,commandParams:_0x5be2d6}=_0x351b21;let _0x176dbb=_0x47e299[0x0]['end']['nodeBefore'];_0x5be2d6&&_0x5be2d6[0x0]&&!0x1===_0x5be2d6[0x0]['forceValue']&&(_0x176dbb=_0x47e299[0x0]['start']['nodeAfter']);const _0x1b307b=_0x31ea54['createRangeIn'](_0x176dbb);if('$graveyard'==_0x1b307b['root']['rootName'])return;const _0x2a0c9e=Array['from'](_0xb42f62['getRanges']())['map'](_0x5bb4e1=>_0x52b1ee['fromRange'](_0x5bb4e1));_0x31ea54['setSelection'](_0x1b307b),_0x5dc391['commands']['get'](_0x44414e)['refresh'](),_0x5be2d6['push']({'forceDefaultExecution':!0x0}),_0x5dc391['execute'](_0x44414e,..._0x5be2d6);const _0x392449=_0x2a0c9e['filter'](_0x568d3b=>'$graveyard'!=_0x568d3b['root']['rootName']);_0x392449['length']>0x0&&_0x31ea54['setSelection'](_0x392449);for(const _0x2db652 of _0x2a0c9e)_0x2db652['detach']();});};}['_getCoordsForCells'](_0x1042fc){const _0x5041fb=this['editor']['plugins']['get']('TableUtils');let _0x2744f0=Number['MAX_SAFE_INTEGER'],_0x2c812d=Number['MIN_SAFE_INTEGER'],_0x777f1f=Number['MAX_SAFE_INTEGER'],_0x4352c8=Number['MIN_SAFE_INTEGER'];for(const _0x3bd809 of _0x1042fc){if('$graveyard'==_0x3bd809['root']['rootName'])continue;const {row:_0x418a36,column:_0x12132c}=_0x5041fb['getCellLocation'](_0x3bd809),_0x3c28d0=_0x3bd809['hasAttribute']('rowspan')?_0x3bd809['getAttribute']('rowspan')-0x1:0x0,_0x359c8a=_0x3bd809['hasAttribute']('colspan')?_0x3bd809['getAttribute']('colspan')-0x1:0x0;_0x2744f0=_0x418a36<_0x2744f0?_0x418a36:_0x2744f0,_0x2c812d=_0x418a36+_0x3c28d0>_0x2c812d?_0x418a36+_0x3c28d0:_0x2c812d,_0x777f1f=_0x12132c<_0x777f1f?_0x12132c:_0x777f1f,_0x4352c8=_0x12132c+_0x359c8a>_0x4352c8?_0x12132c+_0x359c8a:_0x4352c8;}return{'minRow':_0x2744f0,'maxRow':_0x2c812d,'minColumn':_0x777f1f,'maxColumn':_0x4352c8};}['_setupColumnsRowsFixing'](){const _0x1dacb9=this['editor'],_0x3fd2e0=_0x1dacb9['plugins']['get']('TrackChangesEditing'),_0x5aabb1=_0x1dacb9['plugins']['get']('TableUtils');_0x1dacb9['model']['document']['on']('change:data',()=>{const _0x421be5=Array['from'](_0x1dacb9['model']['document']['differ']['getChangedMarkers']());for(const {name:_0xfbc4aa,data:_0x201717}of _0x421be5){const {group:_0x2f5782,id:_0x495f4e,subType:_0x501ccb}=ya(_0xfbc4aa);if('suggestion'!=_0x2f5782)continue;if(null!=_0x201717['oldRange'])continue;const _0x5f2687=_0x3fd2e0['getSuggestion'](_0x495f4e);this['_tablePostFixingSubtypes']['includes'](_0x501ccb)&&this['_tableSuggestions']['add'](_0x5f2687);}},{'priority':'low'});const _0x2e047d=(_0xee7efe,_0x35ed87)=>{let _0x31dd7f=!0x1;const _0xa0f6a1=_0x35ed87['createRangeOn'](_0xee7efe),_0x163068=_0xee7efe['findAncestor']('table'),_0x1277ab=_0x5aabb1['getCellLocation'](_0xee7efe);for(const _0x447c58 of this['_tableSuggestions']){const _0x3a12f6=_0x447c58['subType'],_0x2bf7f9=_0x3a12f6['startsWith']('tablePaste'),_0x508c9d=_0x3a12f6['substr'](_0x2bf7f9?0xa:0x5),_0x51e492=_0x508c9d['toLowerCase'](),_0xab5e6c=_0x51e492['substr'](0x0,0x3)+'span',_0x3c4fce='min'+_0x508c9d,_0x2072bf='max'+_0x508c9d;if(!_0x447c58['isInContent'])continue;if(_0x163068!=_0x447c58['getFirstRange']()['start']['findAncestor']('table'))continue;if(_0x447c58['isIntersectingWithRange'](_0xa0f6a1))continue;const _0x3b5306=_0xee7efe['hasAttribute'](_0xab5e6c)?_0xee7efe['getAttribute'](_0xab5e6c)-0x1:0x0,_0x3bbf3a=this['_getSuggestionCoords'](_0x447c58),_0x4ca90b=_0x3bbf3a[_0x3c4fce],_0x77dcf5=_0x3bbf3a[_0x2072bf];_0x4ca90b<=_0x1277ab[_0x51e492]&&_0x1277ab[_0x51e492]+_0x3b5306<=_0x77dcf5&&(_0x447c58['addRange'](_0xa0f6a1),_0x31dd7f=!0x0);}return _0x31dd7f;};_0x1dacb9['model']['document']['registerPostFixer'](_0x495959=>{let _0x15b37a=!0x1;for(const _0x4a323a of _0x1dacb9['model']['document']['differ']['getChanges']())if('insert'==_0x4a323a['type']){if('tableRow'==_0x4a323a['name']){for(const _0x532e77 of _0x4a323a['position']['nodeAfter']['getChildren']())_0x15b37a=_0x15b37a||_0x2e047d(_0x532e77,_0x495959);}else'tableCell'==_0x4a323a['name']&&(_0x15b37a=_0x15b37a||_0x2e047d(_0x4a323a['position']['nodeAfter'],_0x495959));}return _0x15b37a;});}['_getSuggestionCoords'](_0x1b44fd){return this['_getCoordsForCells'](_0x1b44fd['getRanges']()['map'](_0x23f28a=>_0x23f28a['start']['nodeAfter']));}};function iP(_0x42040f){return Array['from'](new Set(_0x42040f)['values']());}var sP=class extends _0x36b920{static get['requires'](){return[eP];}['afterInit'](){const _0x3f598b=this['editor'],_0x1cf536=_0x3f598b['model']['document']['selection'],_0x56ce74=_0x3f598b['locale'];if(!_0x3f598b['plugins']['has']('TableEditing'))return;const _0x4d1a0a=_0x3f598b['plugins']['get']('TrackChangesEditing'),_0xc66a3b=_0x3f598b['plugins']['get']('TableUtils'),_0x5142f5=_0x3f598b['plugins']['get'](eP);_0x5142f5['_tablePostFixingSubtypes']['push']('mergeTableCells'),_0x4d1a0a['enableCommand']('mergeTableCells',()=>{const _0x424094=_0xc66a3b['getSelectionAffectedTableCells'](_0x3f598b['model']['document']['selection']);_0x3f598b['model']['change'](()=>{_0x4d1a0a['markMultiRangeBlockFormat'](_0x424094,{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});}),_0x3f598b['commands']['get']('mergeTableCells')['on']('execute',(_0x339d9,_0x14d2af)=>{_0x3f598b['commands']['get']('trackChanges')['value']&&(_0x14d2af['length']>0x0&&_0x14d2af[_0x14d2af['length']-0x1]&&_0x14d2af[_0x14d2af['length']-0x1]['forceDefaultExecution']||_0x4d1a0a['_isForcedDefaultExecutionBlock']||this['_areSelectedCellsMergable']()||_0x339d9['stop']());},{'priority':'highest'});for(const _0x556854 of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft']){const _0x571381=_0x3f598b['commands']['get'](_0x556854);_0x4d1a0a['enableCommand'](_0x556854,()=>{const _0x1160a9=_0x3f598b['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0x10bc50=>_0x10bc50['is']('element','tableCell')),_0x43825c=_0x571381['value'];_0x3f598b['model']['change'](()=>{_0x4d1a0a['markMultiRangeBlockFormat']([_0x1160a9,_0x43825c],{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});});}for(const _0x5986ab of['splitTableCellVertically','splitTableCellHorizontally']){const _0x36ed12=_0x3f598b['commands']['get'](_0x5986ab);_0x4d1a0a['enableCommand'](_0x5986ab,()=>{const _0x2ca207=_0xc66a3b['getSelectionAffectedTableCells'](_0x3f598b['model']['document']['selection'])[0x0],_0x58d222=_0x2ca207['findAncestor']('table'),{column:_0x49272d,row:_0x306035}=_0xc66a3b['getCellLocation'](_0x2ca207);let _0x403418=[];if('horizontally'==_0x36ed12['direction']){const _0x119e4f=_0xc66a3b['createTableWalker'](_0x58d222,{'startRow':_0x306035,'endRow':_0x306035,'includeAllSlots':!0x0});_0x403418=Array['from'](_0x119e4f)['map'](_0x32b85f=>_0x32b85f['cell']);}else{const _0x15d8cc=_0xc66a3b['createTableWalker'](_0x58d222,{'column':_0x49272d,'includeAllSlots':!0x0});_0x403418=Array['from'](_0x15d8cc)['map'](_0x2e5738=>_0x2e5738['cell']);}_0x3f598b['model']['change'](_0x5192b4=>{_0x4d1a0a['markBlockFormat'](_0x5192b4['createRangeOn'](_0x2ca207),{'commandName':_0x5986ab,'commandParams':[]},_0x403418,_0x5986ab);});});}_0x4d1a0a['descriptionFactory']['registerDescriptionCallback'](_0x2bf3a6=>{if('formatBlock'!=_0x2bf3a6['type']&&'formatInline'!=_0x2bf3a6['type'])return;const {data:_0x29ce9d}=_0x2bf3a6;return _0x29ce9d&&'mergeTableCells'==_0x29ce9d['commandName']?{'type':'format','content':WC(_0x56ce74,'*Merge\x20cells*')}:void 0x0;}),_0x4d1a0a['descriptionFactory']['registerDescriptionCallback'](_0x5c09b3=>{if('formatBlock'!=_0x5c09b3['type']&&'formatInline'!=_0x5c09b3['type'])return;const {data:_0x38fd8f}=_0x5c09b3;return _0x38fd8f?'splitTableCellVertically'==_0x38fd8f['commandName']?{'type':'format','content':WC(_0x56ce74,'*Split\x20cell:*\x20vertically')}:'splitTableCellHorizontally'==_0x38fd8f['commandName']?{'type':'format','content':WC(_0x56ce74,'*Split\x20cell:*\x20horizontally')}:void 0x0:void 0x0;});const _0x5ef15e=_0x5142f5['_acceptFormatSuggestionCallbackFactory']();for(const _0x21ed5c of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft'])_0x4d1a0a['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x21ed5c,'accept',_0x5ef15e);for(const _0x548baa of['splitTableCellVertically','splitTableCellHorizontally'])_0x4d1a0a['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x548baa,'accept',_0x5ef15e);_0x4d1a0a['_suggestionFactory']['registerCustomCallback']('formatBlock','mergeTableCells','accept',_0x1c99bd=>{_0x3f598b['model']['change'](_0x358454=>{const _0x154df6=Array['from'](_0x1cf536['getRanges']())['map'](_0x352478=>_0x52b1ee['fromRange'](_0x352478));_0x358454['setSelection'](_0x1c99bd),_0x3f598b['commands']['get']('mergeTableCells')['refresh'](),_0x3f598b['execute']('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x2ee2bb=_0x154df6['filter'](_0x5c5c52=>'$graveyard'!=_0x5c5c52['root']['rootName']);_0x2ee2bb['length']>0x0&&_0x358454['setSelection'](_0x2ee2bb);for(const _0x5818c2 of _0x154df6)_0x5818c2['detach']();});});for(const _0x53c23f of['mergeTableCellUp','mergeTableCellDown','mergeTableCellLeft','mergeTableCellRight']){const _0x4614e3=_0x3f598b['commands']['get'](_0x53c23f);_0x4614e3['on']('set:isEnabled',(_0x57097c,_0x5b858a,_0x10292b)=>{if(_0x10292b){const _0x5d09e0=_0x3f598b['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0x407a07=>_0x407a07['is']('element','tableCell'));this['_areMergableCells'](_0x4614e3['value'],_0x5d09e0)||(_0x57097c['return']=!0x1,_0x57097c['stop']());}},{'priority':'low'});}}['_areSelectedCellsMergable'](){const _0x11d6b1=this['editor']['commands']['get']('mergeTableCells'),_0x3fb191=this['editor']['plugins']['get']('TableUtils');if(!_0x11d6b1['isEnabled'])return!0x1;const _0x1db262=_0x3fb191['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);for(const _0x144343 of _0x1db262)for(const _0x226763 of _0x1db262)if(_0x144343!=_0x226763&&!this['_areMergableCells'](_0x144343,_0x226763))return!0x1;return!0x0;}['_areMergableCells'](_0x18fafd,_0x34a83e){const _0x46cef0=this['editor']['plugins']['get']('TrackChangesEditing'),_0x151d73=this['editor']['model']['createRangeOn'](_0x18fafd),_0x2fe603=this['editor']['model']['createRangeOn'](_0x34a83e),_0x24eb0d=new Set(),_0x4c16f2=new Set();for(const _0x5261c3 of _0x46cef0['getSuggestions']())if(('insertion'==_0x5261c3['type']||'deletion'==_0x5261c3['type']||'mergeTableCells'==_0x5261c3['subType'])&&_0x5261c3['isInContent']){for(const _0x460d3a of _0x5261c3['getRanges']())_0x460d3a['containsRange'](_0x151d73,!0x0)&&_0x24eb0d['add'](_0x5261c3['type']+':'+_0x5261c3['author']['id']),_0x460d3a['containsRange'](_0x2fe603,!0x0)&&_0x4c16f2['add'](_0x5261c3['type']+':'+_0x5261c3['author']['id']);}if(_0x24eb0d['size']!=_0x4c16f2['size'])return!0x1;for(const _0xeb0925 of _0x24eb0d)if(!_0x4c16f2['has'](_0xeb0925))return!0x1;return!0x0;}},nP=class extends _0x36b920{static get['requires'](){return[eP];}['afterInit'](){const _0x47f331=this['editor'];if(!_0x47f331['plugins']['has']('TableEditing'))return;const _0x46f403=_0x47f331['locale'],_0x4b4ad4=_0x47f331['plugins']['get']('TrackChangesEditing');_0x4b4ad4['enableDefaultAttributesIntegration']('setTableRowHeader'),_0x4b4ad4['enableDefaultAttributesIntegration']('setTableColumnHeader'),_0x4b4ad4['descriptionFactory']['registerAttributeLabel']('headingRows',WC(_0x46f403,'FORMAT_HEADER_ROW')),_0x4b4ad4['descriptionFactory']['registerAttributeLabel']('headingColumns',WC(_0x46f403,'FORMAT_HEADER_COLUMN')),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x5b35ee=this['editor']['plugins']['get']('TrackChangesEditing'),_0x3c6619=this['editor']['plugins']['get'](eP)['_acceptFormatSuggestionCallbackFactory']();_0x5b35ee['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableRowHeader','accept',_0x3c6619),_0x5b35ee['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableColumnHeader','accept',_0x3c6619),this['_registerLegacyConverters'](),this['_registerLegacyDescription']();}['_registerLegacyConverters'](){const _0x12c836=this['editor']['plugins']['get']('TrackChangesEditing'),_0x1bf5b1=this['editor']['plugins']['get']('TableUtils');function _0x2ec6c9({showActiveMarker:_0x420d8f=!0x0,setDataAttribute:_0x34605d=!0x0}={}){return(_0x4ac71d,_0x313d15,_0x56a102)=>{const {type:_0x1d6101,id:_0x1b5d52}=ya(_0x313d15['markerName']);if(!_0x12c836['hasSuggestion'](_0x1b5d52))return;const _0x58472e=_0x12c836['getSuggestion'](_0x1b5d52),_0x23986b=_0x58472e['data'];if('formatBlock'!=_0x58472e['type']||!_0x23986b||'setTableColumnHeader'!=_0x23986b['commandName'])return;if(_0x313d15['item'])return void _0x4ac71d['stop']();if(!_0x56a102['consumable']['consume'](_0x313d15['markerRange'],_0x4ac71d['name']))return;const _0x5ef734=_0x313d15['markerRange']['start']['nodeAfter'],_0x2e194c=_0x313d15['markerRange']['end']['nodeBefore'],_0xa9f779=_0x5ef734['parent']['parent'],{column:_0x55b0a0}=_0x1bf5b1['getCellLocation'](_0x5ef734),{column:_0x4aeb45}=_0x1bf5b1['getCellLocation'](_0x2e194c);for(let _0x36e928=_0x55b0a0;_0x36e928<=_0x4aeb45;_0x36e928++){const _0x5b590d=_0x1bf5b1['createTableWalker'](_0xa9f779,{'column':_0x36e928,'includeAllSlots':!0x1});for(const _0x7ebc57 of _0x5b590d){const _0x42040d=_0x7ebc57['cell'],_0x505092=_0x56a102['mapper']['toViewElement'](_0x42040d);_0x56a102['writer']['addClass']('ck-suggestion-marker-'+_0x1d6101,_0x505092),_0x34605d&&_0x56a102['writer']['setAttribute']('data-suggestion',_0x1b5d52,_0x505092),_0x56a102['mapper']['bindElementToMarker'](_0x505092,_0x313d15['markerName']),_0x420d8f&&(_0x12c836['activeMarkers']['includes'](_0x313d15['markerName'])?_0x56a102['writer']['addClass']('ck-suggestion-marker--active',_0x505092):_0x56a102['writer']['removeClass']('ck-suggestion-marker--active',_0x505092));}}};}this['editor']['editing']['downcastDispatcher']['on']('addMarker:suggestion',_0x2ec6c9(),{'priority':'highest'}),this['editor']['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x4816e6,_0x10fcc9,_0x4094df)=>{_0x4094df['options']['showSuggestionHighlights']&&_0x2ec6c9({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x4816e6,_0x10fcc9,_0x4094df);},{'priority':'highest'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x3924a8,_0x2bb863,_0x225e30)=>{const {type:_0x572509,id:_0x4cc502}=ya(_0x2bb863['markerName']);if(!_0x12c836['hasSuggestion'](_0x4cc502))return;const _0x5822c0=_0x12c836['getSuggestion'](_0x4cc502),_0x2435e9=_0x5822c0['data'];if('formatBlock'!=_0x5822c0['type']||!_0x2435e9||'setTableColumnHeader'!=_0x2435e9['commandName'])return;const _0x4f9dba=_0x225e30['mapper']['markerNameToElements'](_0x2bb863['markerName']);if(_0x4f9dba){for(const _0x38eb63 of _0x4f9dba)_0x225e30['writer']['removeClass']('ck-suggestion-marker-'+_0x572509,_0x38eb63),_0x225e30['writer']['removeClass']('ck-suggestion-marker--active',_0x38eb63),_0x225e30['writer']['removeAttribute']('data-suggestion',_0x38eb63),_0x225e30['mapper']['unbindElementFromMarkerName'](_0x38eb63,_0x2bb863['markerName']);}},{'priority':'highest'});}['_registerLegacyDescription'](){const _0x3eb455=this['editor'],_0xda9b1f=_0x3eb455['locale'];function _0x349ce9(_0x1db351){return{'type':'format','content':WC(_0xda9b1f,'*Format:*\x20%0',_0x1db351)};}_0x3eb455['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x2509cd=>{if('formatBlock'!=_0x2509cd['type'])return;const {data:_0x4ad399}=_0x2509cd;return _0x4ad399?'setTableRowHeader'==_0x4ad399['commandName']?_0x4ad399['commandParams'][0x0]['forceValue']?_0x349ce9(WC(_0xda9b1f,'FORMAT_HEADER_ROW')):_0x349ce9(WC(_0xda9b1f,'FORMAT_REGULAR_ROW')):'setTableColumnHeader'==_0x4ad399['commandName']?_0x4ad399['commandParams'][0x0]['forceValue']?_0x349ce9(WC(_0xda9b1f,'FORMAT_HEADER_COLUMN')):_0x349ce9(WC(_0xda9b1f,'FORMAT_REGULAR_COLUMN')):void 0x0:void 0x0;});}},rP=class extends _0x36b920{static get['requires'](){return[eP];}['afterInit'](){const _0x25a81b=this['editor'];if(!_0x25a81b['plugins']['has']('TableEditing')||!_0x25a81b['config']['get']('table.enableFooters'))return;const _0x125c8f=_0x25a81b['locale'],_0x240249=_0x25a81b['plugins']['get']('TrackChangesEditing');_0x240249['enableDefaultAttributesIntegration']('setTableFooterRow'),_0x240249['descriptionFactory']['registerAttributeLabel']('footerRows',WC(_0x125c8f,'FORMAT_FOOTER_ROW'));}},oP=class extends _0x36b920{['afterInit'](){const _0x541fbf=this['editor'],_0x13f367=_0x541fbf['locale'],_0x49264f=_0x541fbf['plugins']['get']('TrackChangesEditing');function _0x40e818(_0x13d79c){return{'type':'format','content':''+WC(_0x13f367,'*Set\x20table\x20type:*\x20%0',_0x13d79c)};}_0x541fbf['plugins']['has']('TableLayout')&&(_0x49264f['enableCommand']('insertTableLayout'),_0x49264f['enableDefaultAttributesIntegration']('tableType'),_0x49264f['descriptionFactory']['registerElementLabel'](_0x457d4c=>_0x457d4c['is']('element','table')&&'layout'===_0x457d4c['getAttribute']('tableType'),_0x136928=>WC(_0x13f367,'ELEMENT_LAYOUT_TABLE',_0x136928)),_0x49264f['descriptionFactory']['registerDescriptionCallback'](_0x41ad7d=>{const {data:_0x33e868}=_0x41ad7d;if(_0x33e868&&'tableType'==_0x33e868['key'])switch(_0x33e868['newValue']){case'layout':return _0x40e818(WC(_0x13f367,'ELEMENT_LAYOUT_TABLE'));case'content':return _0x40e818(WC(_0x13f367,'ELEMENT_CONTENT_TABLE'));}}));}};const aP=['tableCellBorderWidth','tableCellBorderColor','tableCellBorderStyle','tableCellHorizontalAlignment','tableCellVerticalAlignment','tableCellBackgroundColor','tableCellPadding'],cP=/* #__PURE__ -- @preserve */
Object['fromEntries'](aP['map'](_0x8db21=>[_0x8db21,null]));var lP=class extends _0x36b920{static get['requires'](){return[eP];}['afterInit'](){const _0x4d0c58=this['editor'];if(!_0x4d0c58['plugins']['has']('TableClipboard'))return;const _0x4a6520=_0x4d0c58['plugins']['get']('TrackChangesEditing'),_0x177b2c=_0x4d0c58['plugins']['get']('TableUtils'),_0x1bbcd5=_0x4d0c58['plugins']['get'](eP),_0x4d518e=_0x4d0c58['plugins']['get']('TableClipboard'),_0x1bbd62=_0x4d0c58['plugins']['get']('TableSelection'),_0x5eaa71=_0x4d0c58['plugins']['get'](_0xa80fd9);_0x1bbcd5['_tablePostFixingSubtypes']['push']('tablePasteRow','tablePasteColumn'),_0x4d0c58['model']['schema']['register']('tableCellSuggestion',{'allowIn':'tableCell','allowContentOf':'tableCell','isLimit':!0x0}),_0x4d0c58['conversion']['elementToElement']({'model':'tableCellSuggestion','view':'suggestion-td'});let _0x52ef61=null,_0x49e452=!0x1;_0x5eaa71['on']('contentInsertion',(_0x7fe834,_0x1ee935)=>{_0x49e452='paste'===_0x1ee935['method'];}),_0x4d0c58['model']['on']('insertContent',(_0x1e3e75,_0x3fc76d)=>{if(!_0x49e452&&null===_0x1bbd62['getSelectedTableCells']())return;const [_0x1722e6,_0x3d9acf]=_0x3fc76d,_0x11a0ac=_0x3fc76d[_0x3fc76d['length']-0x1];_0x11a0ac&&_0x11a0ac['forceDefaultExecution']||_0x4a6520['_isForcedDefaultExecutionBlock']||this['editor']['commands']['get']('trackChanges')['value']&&function(_0x38d00f,_0x4d7aa9,_0x2d9bf2,_0x4bbd76,_0x1a9b36){if(_0x4d7aa9&&!_0x4d7aa9['is']('documentSelection'))return!0x1;const _0x15abf0=_0x1a9b36['getTableIfOnlyTableInContent'](_0x38d00f,_0x2d9bf2);if(!_0x15abf0||!uP(_0x15abf0,void 0x0,_0x4bbd76))return!0x1;const _0xd58d37=_0x4bbd76['getSelectionAffectedTableCells'](_0x2d9bf2['document']['selection']);if(!_0xd58d37['length'])return!0x1;const _0x4d5fa8=_0xd58d37[0x0]['findAncestor']('table'),_0xecc115=_0x4bbd76['getRowIndexes'](_0xd58d37),_0xcd7448=_0x4bbd76['getColumnIndexes'](_0xd58d37),_0x219aa7={'startRow':_0xecc115['first'],'endRow':_0xecc115['last'],'startColumn':_0xcd7448['first'],'endColumn':_0xcd7448['last']};return 0x1==_0xd58d37['length']&&(_0x219aa7['endRow']+=_0x4bbd76['getRows'](_0x15abf0)-0x1,_0x219aa7['endColumn']+=_0x4bbd76['getColumns'](_0x15abf0)-0x1),uP(_0x4d5fa8,_0x219aa7,_0x4bbd76);}(_0x1722e6,_0x3d9acf,_0x4d0c58['model'],_0x177b2c,_0x4d518e)&&(_0x1e3e75['stop'](),_0x52ef61={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x4d0c58['model']['change'](()=>{_0x4d0c58['model']['insertContent'](_0x3fc76d[0x0],_0x3fc76d[0x1],_0x3fc76d[0x2],{'forceDefaultExecution':!0x0});const _0x11c9e6=_0x10825a(),{rowInsertionRanges:_0x3be9d2,columnInsertionRanges:_0x59892f,insertionRanges:_0x39b22b,deletionRanges:_0x1931cd,cells:_0x26ffa2}=_0x52ef61;_0x3be9d2['length']&&_0x4a6520['markMultiRangeInsertion'](_0x3be9d2,'tablePasteRow',{'tablePasteChainId':_0x11c9e6}),_0x59892f['length']&&_0x4a6520['markMultiRangeInsertion'](_0x59892f,'tablePasteColumn',{'tablePasteChainId':_0x11c9e6}),_0x39b22b['length']&&(_0x4a6520['markMultiRangeInsertion'](_0x39b22b,'tablePaste',{'tablePasteChainId':_0x11c9e6,'skipNestingCheck':!0x0}),_0x39b22b['forEach'](_0x46693f=>_0x46693f['detach']?.())),_0x1931cd['length']&&(_0x4a6520['markMultiRangeDeletion'](_0x1931cd,'tablePaste',{'tablePasteChainId':_0x11c9e6,'skipNestingCheck':!0x0}),_0x1931cd['forEach'](_0x1e30e4=>_0x1e30e4['detach']?.()));const _0x13354d=_0x4a6520['markMultiRangeBlockFormat'](_0x26ffa2['map'](({element:_0x188466})=>_0x188466),{'formatGroupId':_0x10825a()},[],'tablePasteCell',{'tablePasteChainId':_0x11c9e6});if(_0x13354d){const _0x161e6c=_0x13354d['getMarkers'](),_0x19eab9=[];for(const {element:_0x512f04,attributes:_0x4745ae}of _0x26ffa2){if(!_0x4745ae)continue;const _0x285f8=_0x4d0c58['model']['createRangeOn'](_0x512f04),_0x1d0011=_0x161e6c['find'](_0x53f9b2=>_0x53f9b2['getRange']()['isEqual'](_0x285f8));_0x1d0011&&_0x19eab9['push']([_0x1d0011['name'],_0x4745ae]);}_0x19eab9['length']&&_0x13354d['setAttribute']('markerAttributes',Object['fromEntries'](_0x19eab9));}_0x52ef61=null;}));},{'priority':_0x38a185['high']+0xa}),_0x5eaa71['on']('contentInsertion',()=>{_0x49e452=!0x1;},{'priority':'lowest'}),_0x4d0c58['plugins']['get']('TableClipboard')['on']('_replaceTableSlotCell',(_0x1cbb33,_0x5cac24)=>{const [_0x2e50e4,_0xd54d10,,_0x133824]=_0x5cac24;if(!_0x52ef61)return;_0x1cbb33['stop']();const _0x1cac51=_0x2e50e4['cell'],_0x446813=_0xd54d10,_0x51a35e=hP(_0x1cac51),_0x15fd8a=hP(_0x446813);_0x1cbb33['return']=_0x1cac51;let _0xe44e9e=null,_0xa2f6af=null;if(_0x15fd8a||_0x51a35e){if(_0x51a35e&&!_0x15fd8a){_0x133824['remove'](_0x1cac51['getChild'](0x0));for(const _0x2f527c of Array['from'](_0x446813['getChildren']()))_0x133824['insert'](_0x2f527c,_0x1cac51,'end');const _0x1220c4=_0x52ef61['rowInsertionIndexes']['includes'](_0x2e50e4['row']),_0x118bf6=_0x52ef61['columnInsertionIndexes']['includes'](_0x2e50e4['column']);_0x1220c4||_0x118bf6||(_0xe44e9e=_0x52b1ee['fromRange'](_0x133824['createRangeIn'](_0x1cac51)));}else _0x15fd8a&&!_0x51a35e&&(_0xa2f6af=_0x133824['createRangeIn'](_0x1cac51));}else{const _0x32026b=_0x133824['createElement']('tableCellSuggestion'),_0x579292=_0x133824['createElement']('tableCellSuggestion');_0x133824['wrap'](_0x133824['createRangeIn'](_0x1cac51),_0x579292),_0x133824['insert'](_0x32026b,_0x1cac51,0x0);for(const _0x4820ce of Array['from'](_0x446813['getChildren']()))_0x133824['insert'](_0x4820ce,_0x32026b,'end');_0xe44e9e=_0x52b1ee['fromRange'](_0x133824['createRangeOn'](_0x32026b)),_0xa2f6af=_0x52b1ee['fromRange'](_0x133824['createRangeOn'](_0x579292));}const _0x5367d7=Array['from'](_0x446813['getAttributes']())['filter'](([_0x129d18])=>aP['includes'](_0x129d18));_0x52ef61['cells']['push']({'element':_0x1cac51,'attributes':_0x5367d7['length']?Object['fromEntries'](_0x5367d7):null}),_0xe44e9e&&_0x52ef61['insertionRanges']['push'](_0xe44e9e),_0xa2f6af&&_0x52ef61['deletionRanges']['push'](_0xa2f6af);},{'priority':'high'}),_0x177b2c['on']('insertColumns',(_0xf4e694,_0x1c7f6a)=>{const [_0xcc32fe,_0x277046={}]=_0x1c7f6a;if(!_0x52ef61)return;const _0x507548=_0x277046['at']||0x0,_0x59a9c3=_0x277046['columns']||0x1;_0x52ef61['columnInsertionIndexes']=new Array(_0x59a9c3)['fill'](_0x507548)['map']((_0x5c88ae,_0x2c85d9)=>_0x5c88ae+_0x2c85d9);for(const {cell:_0x1191c2}of _0x177b2c['createTableWalker'](_0xcc32fe,{'startColumn':_0x507548,'endColumn':_0x507548+_0x59a9c3-0x1}))_0x52ef61['columnInsertionRanges']['push'](_0x4d0c58['model']['createRangeOn'](_0x1191c2));},{'priority':'low'}),_0x177b2c['on']('insertRows',(_0x4c9977,_0x123e87)=>{const [_0x6e876,_0x2b86af={}]=_0x123e87;if(!_0x52ef61)return;const _0x2569ba=_0x2b86af['at']||0x0,_0x1a60b1=_0x2b86af['rows']||0x1;_0x52ef61['rowInsertionIndexes']=new Array(_0x1a60b1)['fill'](_0x2569ba)['map']((_0x1b3de1,_0x19c0c7)=>_0x1b3de1+_0x19c0c7);for(const {cell:_0x585d7d}of _0x177b2c['createTableWalker'](_0x6e876,{'startRow':_0x2569ba,'endRow':_0x2569ba+_0x1a60b1-0x1}))_0x52ef61['rowInsertionRanges']['push'](_0x4d0c58['model']['createRangeOn'](_0x585d7d));},{'priority':'low'}),_0x4a6520['descriptionFactory']['registerDescriptionCallback'](_0xcde8ba=>{if(_0xcde8ba['subType']&&_0xcde8ba['subType']['startsWith']('tablePaste'))return _0xcde8ba['previous']?{}:{'type':'insertion','content':WC(_0x4d0c58['locale'],'*Replace\x20table\x20cells*')};});const _0x2e7194=()=>!0x1;for(const _0x4e6378 of['tablePaste','tablePasteColumn','tablePasteRow','tablePasteCell'])_0x4a6520['_suggestionFactory']['registerCustomCallback']('insertion',_0x4e6378,'join',_0x2e7194),_0x4a6520['_suggestionFactory']['registerCustomCallback']('deletion',_0x4e6378,'join',_0x2e7194),_0x4a6520['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x4e6378,'join',_0x2e7194);_0x4a6520['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','discard',_0x2e7194),_0x4a6520['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','accept',(_0x2db962,_0x3c5b34,_0x27112d)=>{const _0x52ad31=_0x2db962['map'](_0x599365=>_0x599365['getContainedElement']())['filter'](_0x385efc=>_0x385efc),_0x227873=new Map(_0x52ad31['map'](_0x2ab90f=>[_0x2ab90f,null]));if(_0x52ef61){for(const {element:_0x318b7d,attributes:_0x5860d2}of _0x52ef61['cells'])_0x5860d2&&_0x227873['set'](_0x318b7d,_0x5860d2);}else{if(_0x27112d&&_0x27112d['markerAttributes'])for(const [_0x1e5fc7,_0x3829a4]of Object['entries'](_0x27112d['markerAttributes'])){const _0x295b9c=_0x4d0c58['model']['markers']['get'](_0x1e5fc7),_0x42f17a=_0x295b9c?_0x295b9c['getRange']()['getContainedElement']():null;_0x42f17a&&_0x227873['set'](_0x42f17a,_0x3829a4);}}_0x4d0c58['model']['change'](_0x36c4b1=>{for(const [_0x5a8dc2,_0x30cb52]of _0x227873)_0x36c4b1['setAttributes']({...cP,..._0x30cb52},_0x5a8dc2);});});const _0x54e356=(_0xcc571f,_0x41afd8)=>{_0x4a6520['_suggestionFactory']['registerCustomCallback'](_0xcc571f,'tablePaste',_0x41afd8,(_0x4e72ff,_0x16faf3,_0x2a98f3)=>{_0x4d0c58['model']['change'](_0x10461e=>{const _0xa236e7=[];for(const _0x23d191 of _0x4e72ff){const _0x262799=_0x23d191['start']['nodeAfter'];_0x262799['is']('element','tableCellSuggestion')&&_0xa236e7['push'](_0x262799);}_0x4a6520['_suggestionFactory']['getSuggestionCallback'](_0xcc571f,null,_0x41afd8)(_0x4e72ff,_0x16faf3,_0x2a98f3);for(const _0x3f4a0e of _0xa236e7)'$graveyard'!=_0x3f4a0e['root']['rootName']&&_0x10461e['unwrap'](_0x3f4a0e);});});};_0x54e356('insertion','accept'),_0x54e356('insertion','discard'),_0x54e356('deletion','accept'),_0x54e356('deletion','discard'),_0x4a6520['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteRow','discard',_0x51f596=>{const _0x2ff6d3=_0x51f596['map'](_0x8c2782=>_0x8c2782['getContainedElement']()),_0x332475=_0x2ff6d3[0x0]['findAncestor']('table'),{minRow:_0x197f9f,maxRow:_0x4d107b}=_0x1bbcd5['_getCoordsForCells'](_0x2ff6d3);_0x177b2c['removeRows'](_0x332475,{'at':_0x197f9f,'rows':_0x4d107b-_0x197f9f+0x1});}),_0x4a6520['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteColumn','discard',_0x4d67f2=>{const _0x41563a=_0x4d67f2['map'](_0x2d1691=>_0x2d1691['getContainedElement']()),_0x3940a4=_0x41563a[0x0]['findAncestor']('table'),{minColumn:_0x35875a,maxColumn:_0x238095}=_0x1bbcd5['_getCoordsForCells'](_0x41563a);_0x177b2c['removeColumns'](_0x3940a4,{'at':_0x35875a,'columns':_0x238095-_0x35875a+0x1});});const _0x4bf667=(_0x3f0316,_0x282b56)=>{if(!_0x282b56['subType']||!_0x282b56['subType']['startsWith']('tablePaste'))return;const _0x4ec3b9=_0x282b56['attributes']['tablePasteChainId'],_0x20a38b=_0x4a6520['getSuggestions']()['filter'](_0x4602b8=>_0x4602b8['isInContent']&&_0x4602b8['attributes']&&_0x4602b8['attributes']['tablePasteChainId']==_0x4ec3b9);_0x20a38b['length']&&_0x282b56['getAllAdjacentSuggestions']()['length']!=_0x20a38b['length']&&_0x20a38b['reduce']((_0x1f9b51,_0x555048)=>(_0x1f9b51['next']=_0x555048,_0x555048['previous']=_0x1f9b51,_0x555048));};function _0x5b4bf1(_0x1659e9,_0x2b4402=!0x0){const {id:_0x40f6fc,authorId:_0x477162}=ya(_0x1659e9['markerName']),_0x4d840c=['ck-suggestion-marker','ck-suggestion-marker-insertion'],_0x2325ad=_0x4a6520['activeMarkers']['includes'](_0x1659e9['markerName']);return _0x2325ad&&_0x4d840c['push']('ck-suggestion-marker--active'),{'classes':_0x4d840c,'attributes':{'data-suggestion':_0x40f6fc,'data-author-id':_0x477162},'priority':_0x2325ad&&_0x2b4402?0xbc2:0xbb8};}_0x4a6520['on']('suggestionLoaded',_0x4bf667,{'priority':'high'}),_0x4a6520['on']('suggestionUnloaded',_0x4bf667,{'priority':'high'}),_0x4d0c58['model']['document']['registerPostFixer'](()=>{let _0x4cae8e=!0x1;const _0x29f4f1=Array['from'](_0x4d0c58['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x2331f1,data:_0x37bc5a}of _0x29f4f1){const {group:_0x555f82,type:_0x5a9d9b,id:_0x462b61}=ya(_0x2331f1);if('suggestion'!=_0x555f82||'deletion'!=_0x5a9d9b||_0x37bc5a['oldRange'])continue;if(!_0x4a6520['hasSuggestion'](_0x462b61))continue;const _0x1b71c7=_0x4a6520['getSuggestion'](_0x462b61)['getRanges'](),_0x39fb29=_0x4d0c58['plugins']['get']('Users')['me'];for(const _0x24e611 of _0x4a6520['getSuggestions']())if(_0x24e611['isInContent']&&_0x24e611['author']==_0x39fb29&&'formatBlock'==_0x24e611['type']&&'tablePasteCell'==_0x24e611['subType']&&_0x24e611['getRanges']()['every'](_0x43b93a=>_0x1b71c7['some'](_0xb56e47=>_0xb56e47['containsRange'](_0x43b93a,!0x0)))){for(const _0x2e6cd0 of _0x24e611['getAllAdjacentSuggestions']())_0x2e6cd0['isInContent']&&(_0x2e6cd0['discard'](),_0x4cae8e=!0x0);}}return _0x4cae8e;}),_0x4d0c58['model']['document']['registerPostFixer'](_0x3be0e9=>{const _0x1cee65=_0x4d0c58['commands']['get']('redo');if(!_0x1cee65||!_0x1cee65['_createdBatches']['has'](_0x3be0e9['batch']))return!0x1;let _0x56c0d9=!0x1;const _0xce55ec=_0x4d0c58['plugins']['get']('Users')['me'],_0x1b5b07=_0x4d0c58['model']['document']['differ']['getChanges'](),_0x209a31=Array['from'](_0x4d0c58['model']['document']['differ']['getChangedMarkers']())['filter'](({name:_0x40d0ed,data:_0x2e0923})=>{const {group:_0x27c6a0,subType:_0x2279a4,authorId:_0x4623d6}=ya(_0x40d0ed);return'suggestion'==_0x27c6a0&&'tablePaste'==_0x2279a4&&_0x4623d6==_0xce55ec['id']&&!_0x2e0923['oldRange'];});for(const _0x244537 of _0x1b5b07){if('insert'!=_0x244537['type']||'tableCellSuggestion'!=_0x244537['name']||0x1!=_0x244537['length'])continue;const _0x4ee9e7=_0x3be0e9['createRange'](_0x244537['position'],_0x244537['position']['getShiftedBy'](0x1));if(!_0x209a31['find'](({data:_0x26d569})=>_0x26d569['newRange']['isEqual'](_0x4ee9e7))){for(const {name:_0x3870b8,data:_0x1c75fb}of _0x209a31)if(_0x4ee9e7['containsRange'](_0x1c75fb['newRange'])){_0x3be0e9['updateMarker'](_0x3870b8,{'range':_0x4ee9e7}),_0x56c0d9=!0x0;break;}}}return _0x56c0d9;}),_0x4d0c58['model']['document']['registerPostFixer'](_0x4dbd28=>{let _0x1ca295=!0x1;const _0x44373d=_0x4d0c58['plugins']['get']('Users')['me'],_0xb457=_0x4a6520['getSuggestions']()['filter'](_0xe6aa6e=>_0xe6aa6e['isInContent']&&_0xe6aa6e['author']==_0x44373d),_0x2def9c=new Set(),_0xeeae6c=new Set();for(const _0x560bae of _0xb457)if('tablePaste'==_0x560bae['subType'])for(const _0x36862e of _0x560bae['getMarkers']()){const _0x3f308e=_0x36862e['getRange']()['getContainedElement']();if(_0x3f308e){if(_0x3f308e['is']('element','tableCellSuggestion')&&hP(_0x3f308e)){_0x560bae['removeMarker'](_0x36862e['name']),_0x2def9c['add'](_0x3f308e),_0x1ca295=!0x0;const _0xa4e24c=_0x3f308e['nextSibling'],_0x2d5075=_0x3f308e['previousSibling'],_0x48e929=_0xa4e24c&&_0xa4e24c['is']('element','tableCellSuggestion'),_0x499f82=_0x2d5075&&_0x2d5075['is']('element','tableCellSuggestion');_0x48e929&&!_0x2def9c['has'](_0xa4e24c)&&_0xeeae6c['add'](_0xa4e24c),_0x499f82&&!_0x2def9c['has'](_0x2d5075)&&_0xeeae6c['add'](_0x2d5075);}else _0x3f308e['is']('element','paragraph')&&_0x3f308e['isEmpty']&&(_0x560bae['removeMarker'](_0x36862e['name']),_0x1ca295=!0x0);}}else{if('tablePasteCell'==_0x560bae['subType']){if(!_0x560bae['attributes']||!_0x560bae['attributes']['tablePasteChainId'])continue;const _0x561644=_0x560bae['attributes']['markerAttributes'];if(_0x561644&&Object['keys'](_0x561644)['length'])continue;const _0x239216=_0x560bae['attributes']['tablePasteChainId'];let _0x5e7deb=!0x0,_0x3e67a8=!0x0;for(const _0x250206 of _0xb457)if(_0x250206['subType']&&_0x250206['subType']['startsWith']('tablePaste')){if(!_0x250206['attributes']['tablePasteChainId']){_0x3e67a8=!0x1;break;}if(_0x250206['id']!=_0x560bae['id']&&_0x250206['attributes']['tablePasteChainId']==_0x239216){_0x5e7deb=!0x1;break;}}_0x3e67a8&&_0x5e7deb&&(_0x560bae['removeMarkers'](),_0x1ca295=!0x0);}}for(const _0x256ea4 of _0x2def9c)_0x4dbd28['remove'](_0x256ea4);for(const _0x4fbf55 of _0xeeae6c)_0x4dbd28['unwrap'](_0x4fbf55);return _0x1ca295;}),_0x4d0c58['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':_0x296adc=>_0x5b4bf1(_0x296adc),'converterPriority':'high'}),_0x4d0c58['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x621c25,_0x562c98)=>_0x562c98['options']['showSuggestionHighlights']?_0x5b4bf1(_0x621c25,!0x1):null,'converterPriority':'high'});const _0x3eb8a3=_0x4d0c58['editing']['view'];this['listenTo'](_0x3eb8a3['document'],'clipboardOutput',(_0x44ff4d,_0x364716)=>{const _0x2e0ff9=[];for(const _0x4370eb of _0x3eb8a3['createRangeIn'](_0x364716['content'])['getItems']())_0x4370eb['is']('element','suggestion-td')&&_0x2e0ff9['push'](_0x4370eb);_0x3eb8a3['change'](_0x32cedb=>{for(const _0x119e7d of _0x2e0ff9)_0x32cedb['move'](_0x32cedb['createRangeIn'](_0x119e7d),_0x32cedb['createPositionBefore'](_0x119e7d)),_0x32cedb['remove'](_0x119e7d);});});}};function hP(_0x4e16f2){if(_0x4e16f2['isEmpty'])return!0x0;const _0x49cc84=_0x4e16f2['getChild'](0x0);return _0x49cc84['is']('element','paragraph')&&_0x49cc84['isEmpty'];}function uP(_0x125b2b,_0x750c2f={},_0x4d06e0){for(const {isAnchor:_0x412c23,cellHeight:_0x4e385e,cellWidth:_0x53bf67}of _0x4d06e0['createTableWalker'](_0x125b2b,{'includeAllSlots':!0x0,..._0x750c2f}))if(!_0x412c23||0x1!=_0x4e385e||0x1!=_0x53bf67)return!0x1;return!0x0;}var dP=class extends _0x36b920{['afterInit'](){if(!this['editor']['plugins']['has']('TableColumnResizeEditing'))return;const _0x592371=this['editor']['plugins']['get']('TrackChangesEditing');_0x592371['enableCommand']('resizeTableWidth',this['handleResizeTableWidthCommand']['bind'](this)),_0x592371['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','accept',_0x592371['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x592371['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','discard',_0x592371['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),_0x592371['descriptionFactory']['registerDescriptionCallback'](this['handleSuggestionDescription']['bind'](this));}['handleResizeTableWidthCommand'](_0x25311a,_0x2dce88){const _0x43128b=this['editor']['plugins']['get']('TrackChangesEditing'),_0x8a5b5e=this['editor']['plugins']['get']('TableColumnResizeEditing'),_0x389268=_0x2dce88['table']||this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](()=>{const _0x5f0286=_0x8a5b5e['getColumnGroupElement'](_0x389268);let _0x2617c4=_0x5f0286?_0x8a5b5e['getTableColumnsWidths'](_0x5f0286):null,_0x2274d9=_0x389268['getAttribute']('tableWidth')||null;const _0x4fc93f=_0x2dce88['tableWidth']||_0x2274d9,_0xa1c703=_0x2dce88['columnWidths']||_0x2617c4,_0x1c6817=this['editor']['plugins']['get']('Users')['me'];for(const _0x4eb23b of _0x43128b['getSuggestions']()){const _0x35262b=_0x4eb23b['getContainedElement']();if('resizeTable'===_0x4eb23b['subType']&&_0x35262b===_0x389268){_0x4eb23b['author']!==_0x1c6817&&_0x4eb23b['discard']();const _0x29268d=_0x4eb23b['data']['commandParams'];_0x2274d9=_0x29268d[0x0]['tableWidth'],_0x2617c4=_0x29268d[0x0]['columnWidths'];break;}}_0x25311a({'table':_0x389268,'tableWidth':_0x4fc93f,'columnWidths':_0xa1c703}),_0x43128b['markBlockFormat'](_0x389268,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x2274d9,'columnWidths':_0x2617c4}],'formatGroupId':'resizeTable'},[],'resizeTable');});}['handleSuggestionDescription'](_0x578575){if('formatBlock'!=_0x578575['type']&&'formatInline'!=_0x578575['type'])return;const {data:_0x2cf587}=_0x578575;return _0x2cf587&&'resizeTable'===_0x2cf587['formatGroupId']?{'type':'format','content':WC(this['editor']['locale'],'*Format:*\x20resize\x20table')}:void 0x0;}},fP=class extends _0x36b920{['afterInit'](){const _0x3f0bc5=this['editor'];_0x3f0bc5['plugins']['has']('Template')&&_0x3f0bc5['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTemplate');}},mP=class extends _0x36b920{['afterInit'](){const _0x2d3d31=this['editor'];if(!_0x2d3d31['commands']['get']('insertTableOfContents'))return;_0x2d3d31['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTableOfContents');const _0x527c0a=_0x2d3d31['plugins']['get']('TrackChangesEditing'),_0x53e465=_0x2d3d31['locale'];_0x527c0a['descriptionFactory']['registerElementLabel']('tableOfContents',_0x12f811=>WC(_0x53e465,'ELEMENT_TABLE_OF_CONTENTS',_0x12f811));}},pP=class extends _0x36b920{['afterInit'](){const _0x46b7fb=this['editor'];_0x46b7fb['plugins']['has']('Title')&&(_0x46b7fb['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerElementLabel']('title-content',()=>WC(_0x46b7fb['locale'],'ELEMENT_TITLE')),_0x46b7fb['model']['document']['registerPostFixer'](_0x2a5b04=>{let _0x4f6d8d=!0x1;const _0x48f81e=Array['from'](_0x46b7fb['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x122bbc,data:_0x1ffb6c}of _0x48f81e){const {group:_0x283498}=ya(_0x122bbc);if('suggestion'!==_0x283498||!_0x1ffb6c['newRange'])continue;const _0x580110=_0x1ffb6c['newRange'],_0xbef2e7=_0x580110['end']['nodeBefore'];if(!_0xbef2e7||!_0xbef2e7['is']('element','title-content'))continue;if(!_0x580110['start']['isTouching'](_0x580110['end']))continue;const _0x516c68=_0x46b7fb['model']['schema']['getNearestSelectionRange'](_0x580110['end'],'forward');if(_0x516c68&&_0x516c68['isCollapsed']){const _0x184021=_0x2a5b04['createRange'](_0x580110['start'],_0x516c68['start']);_0x184021['isEqual'](_0x580110)||(_0x2a5b04['updateMarker'](_0x122bbc,{'range':_0x184021}),_0x4f6d8d=!0x0);}_0x4f6d8d||(_0x2a5b04['removeMarker'](_0x122bbc),_0x4f6d8d=!0x0);}return _0x4f6d8d;}));}},gP=class extends _0x36b920{['afterInit'](){const _0x47ca6c=this['editor'],_0x1eb89c=_0x47ca6c['plugins']['get']('TrackChangesEditing');_0x47ca6c['plugins']['has']('Uploadcare')&&(_0x1eb89c['enableCommand']('uploadcare'),_0x47ca6c['plugins']['has']('UploadcareImageEdit')&&(_0x1eb89c['enableCommand']('uploadcareImageEdit'),_0x1eb89c['enableDefaultAttributesIntegration']('uploadcareImageReplace'),_0x1eb89c['descriptionFactory']['registerDescriptionCallback'](_0x45a93d=>{if('attribute'!=_0x45a93d['type'])return;const {data:_0x402680}=_0x45a93d;return _0x402680&&'uploadcareImageId'==_0x402680['key']?{'type':'format','content':''}:void 0x0;})));}},OP=class extends _0x36b920{['afterInit'](){const _0x55fa51=this['editor'],_0x422738=_0x55fa51['plugins']['get']('TrackChangesEditing');_0x55fa51['plugins']['has']('UndoEditing')&&(_0x422738['enableCommand']('undo'),_0x422738['enableCommand']('redo'));}},wP=class extends _0x36b920{static get['requires'](){return[eP];}['afterInit'](){const _0x40d987=this['editor'];_0x40d987['plugins']['has']('TableCaptionEditing')&&_0x40d987['plugins']['get']('TrackChangesEditing')['enableCommand']('toggleTableCaption');}},bP=class extends _0x36b920{['tableProperties'];['tableCellProperties'];constructor(_0x487882){super(_0x487882),this['tableProperties']=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'],this['tableCellProperties']=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment','tableCellType'];}static get['pluginName'](){return'TrackChangesTableProperties';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x1bb359=this['editor']['plugins']['get']('TrackChangesEditing');if(this['editor']['plugins']['has']('TablePropertiesEditing')){for(const _0x3775fa of this['tableProperties'])_0x1bb359['enableCommand'](_0x3775fa,(_0x6a808d,_0x3319d0)=>{const _0x5cef72=this['editor']['model']['document']['selection']['getFirstPosition']()['findAncestor']('table');this['_handlePropertyChange'](_0x3775fa,[_0x5cef72],this['tableProperties'],'tableProperties',_0x6a808d,_0x3319d0);});_0x1bb359['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','accept',_0x1bb359['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x1bb359['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','discard',(_0x5d9184,_0x40cee6)=>this['handleDiscardAction'](this['tableProperties'],_0x5d9184,_0x40cee6)),_0x1bb359['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','join',()=>!0x1);}if(this['editor']['plugins']['has']('TableCellPropertiesEditing')){for(const _0x31c701 of this['tableCellProperties'])this['editor']['commands']['get'](_0x31c701)&&_0x1bb359['enableCommand'](_0x31c701,(_0x1f9e69,_0x473c74)=>{const _0x2f9fa1=this['editor']['plugins']['get']('TableUtils')['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);this['_handlePropertyChange'](_0x31c701,_0x2f9fa1,this['tableCellProperties'],'tableCellProperties',_0x1f9e69,_0x473c74);});_0x1bb359['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','accept',_0x1bb359['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x1bb359['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','discard',(_0x187c1b,_0x12a83f)=>this['handleDiscardAction'](this['tableCellProperties'],_0x187c1b,_0x12a83f)),_0x1bb359['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','join',()=>!0x1),this['editor']['model']['schema']['checkAttribute']('tableCell','tableCellType')&&_0x1bb359['descriptionFactory']['registerAttributeLabel']('tableCellType',WC(this['editor']['locale'],'FORMAT_TABLE_CELL_TYPE'));}_0x1bb359['descriptionFactory']['registerDescriptionCallback'](_0x568ca5=>this['handleSuggestionDescription'](_0x568ca5)),this['_registerTablePropertiesAttributes']();}['_handlePropertyChange'](_0xd3e7b2,_0x2b8f01,_0x3d53c8,_0x4dda1a,_0x134dcb,_0x12ecb8){const _0xe99896=this['editor']['plugins']['get']('TrackChangesEditing');this['editor']['model']['enqueueChange'](_0x12ecb8['batch'],()=>{for(const _0x2605b0 of _0x2b8f01)if(this['_getSuggestion'](_0x2605b0,_0x4dda1a))_0x134dcb(_0x12ecb8);else{const _0x407e9e={};for(const _0xa36a10 of _0x3d53c8){const _0x148edc=_0x2605b0['getAttribute'](_0xa36a10);void 0x0!==_0x148edc&&(_0x407e9e[_0xa36a10]=_0x148edc);}_0x134dcb(_0x12ecb8),_0xe99896['markBlockFormat'](_0x2605b0,{'commandParams':[_0x407e9e]},[],_0x4dda1a);}});}['handleDiscardAction'](_0x711618,_0x47762b,_0x892f74){const _0x5a3a46=_0x47762b[0x0]['start']['nodeAfter'],_0x52d432=_0x892f74['commandParams'][0x0];this['editor']['model']['change'](_0x43ab17=>{for(const _0x8313b6 of _0x711618)void 0x0!==_0x52d432[_0x8313b6]?_0x43ab17['setAttribute'](_0x8313b6,_0x52d432[_0x8313b6],_0x5a3a46):_0x43ab17['removeAttribute'](_0x8313b6,_0x5a3a46);});}['handleSuggestionDescription'](_0x1e9197){if(_0x1e9197['data'])switch(_0x1e9197['subType']){case'tableProperties':return{'type':'format','content':WC(this['editor']['locale'],'*Format:*\x20change\x20table\x20properties')};case'tableCellProperties':return{'type':'format','content':WC(this['editor']['locale'],'*Format:*\x20change\x20table\x20cell\x20properties')};}}['_getSuggestion'](_0x1972ad,_0x36b59d){const _0x116bae=this['editor']['plugins']['get']('TrackChangesEditing');for(const _0x31324c of _0x116bae['getSuggestions']({'skipNotAttached':!0x0})){const _0x595a4a=_0x31324c['getContainedElement']();if(_0x31324c['subType']===_0x36b59d&&_0x595a4a===_0x1972ad)return _0x31324c;}return null;}['_registerTablePropertiesAttributes'](){const _0x4f98b1=this['editor']['plugins']['get']('TrackChangesEditing'),_0x1248b1=[...this['tableProperties'],...this['tableCellProperties']];for(const _0x479314 of _0x1248b1){const _0x2ec4b3=_0x479314['replace'](/([A-Z])/g,'_$1')['toUpperCase']();_0x4f98b1['descriptionFactory']['registerAttributeLabel'](_0x479314,WC(this['editor']['locale'],'FORMAT_'+_0x2ec4b3));}}},yP=class extends _0x36b920{['afterInit'](){const _0x2f5f2c=this['editor'];if(!_0x2f5f2c['plugins']['has']('LineHeight'))return;const _0x12b271=_0x2f5f2c['plugins']['get']('TrackChangesEditing'),_0x205073=_0x2f5f2c['locale'];_0x12b271['enableDefaultAttributesIntegration']('lineHeight'),_0x12b271['descriptionFactory']['registerAttributeLabel']('lineHeight',WC(_0x205073,'FORMAT_LINE_HEIGHT'));}};const vP='$elementName';var _P=class extends _0x36b920{['descriptionFactory'];['trackChangesCommand'];['_adapter'];['_suggestionFactory'];['_suggestions'];['_commentsRepository'];['_suggestionsConversion'];['_enabledCommands'];['_model'];['_suggestionState'];['_isForcedDefaultExecutionBlock'];['_trackFormatChanges'];['_mergeNestedSuggestions'];['_recordAttributeSuggestions']=!0x1;['_trackingSessionId']=null;static get['requires'](){return[Cv,Wa,ha,_0x56f92e,tf,YC,KC,JC,tR,iR,sR,rR,aR,oR,cR,hR,uR,OR,wR,bR,vR,_R,ER,AR,SR,IR,kR,xR,CR,PR,RR,MR,NR,LR,DR,UR,ZR,$R,dR,yP,mR,VR,BR,FR,HR,GR,XR,qR,WR,zR,YR,JR,tP,eP,sP,nP,rP,oP,wP,lP,dP,mP,bP,fP,pP,gP,OP];}static get['pluginName'](){return'TrackChangesEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x33e3b8){super(_0x33e3b8),this['set']('activeMarkers',[]),this['on']('change:activeMarkers',(_0x4c00a2,_0x4835a8,_0x2f190c,_0x43a5fe)=>{this['_model']['change'](()=>{for(const _0x18a3bc of[..._0x43a5fe,..._0x2f190c])this['_model']['markers']['has'](_0x18a3bc)&&_0x33e3b8['editing']['reconvertMarker'](_0x18a3bc);});}),this['descriptionFactory']=new zC(this['editor']['model']['schema'],this['editor']['locale']),this['_adapter']=null,this['_suggestionFactory']=new EP(this['editor']),this['_suggestions']=new Map(),this['_commentsRepository']=_0x33e3b8['plugins']['get'](Cv),this['_suggestionsConversion']=_0x33e3b8['plugins']['get'](Wa),this['_enabledCommands']=new Set(),this['_model']=this['editor']['model'],this['_suggestionState']=new WeakMap(),this['_isForcedDefaultExecutionBlock']=!0x1,_0x33e3b8['config']['define']('trackChanges.trackFormatChanges','default'),this['_trackFormatChanges']=_0x33e3b8['config']['get']('trackChanges.trackFormatChanges'),_0x33e3b8['config']['define']('trackChanges.mergeNestedSuggestions',!0x0),this['_mergeNestedSuggestions']=_0x33e3b8['config']['get']('trackChanges.mergeNestedSuggestions'),this['trackChangesCommand']=new $C(_0x33e3b8,this['_enabledCommands']),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x55a284=this['editor'];_0x55a284['conversion']['for']('upcast')['elementToElement']({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x331cc2,{writer:_0x3f19fc})=>{let _0x17bb48='suggestion:'+_0x331cc2['getAttribute']('suggestion-type')+':'+_0x331cc2['getAttribute']('id');return _0x331cc2['getAttribute']('marker-count')&&(_0x17bb48+=':'+_0x331cc2['getAttribute']('marker-count')),_0x3f19fc['createElement']('$marker',{'data-name':_0x17bb48});}}),_0x55a284['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion'}),_0x55a284['model']['document']['registerPostFixer'](_0x29bb0f=>{let _0x3509d8=!0x1;const _0x18a7d8=Array['from'](_0x55a284['model']['document']['differ']['getChangedMarkers']()),_0x32b96d=new Set();for(const {name:_0x370ebf,data:_0x64996d}of _0x18a7d8){const {group:_0x5ed52a,type:_0xb86b2c,subType:_0x45b326,id:_0x66c4bc}=ya(_0x370ebf);if('suggestion'!==_0x5ed52a)continue;const _0x5e016e=_0x45b326?'suggestion:'+_0xb86b2c+':'+_0x45b326+':'+_0x66c4bc:'suggestion:'+_0xb86b2c+':'+_0x66c4bc,_0x350dcc=_0x55a284['model']['markers']['getMarkersGroup'](_0x5e016e),_0x52f568=_0x55a284['model']['markers']['get'](_0x370ebf),_0x39afcf=this['_suggestions']['get'](_0x66c4bc);if(null!=_0x64996d['newRange']){'formatInline'==_0xb86b2c&&(_0x3509d8=_0x3509d8||SP(_0x64996d['newRange'],_0x370ebf,_0x29bb0f,_0x55a284['model']['schema']));const _0x2d1258='attribute'==_0xb86b2c&&this['_suggestionsConversion']['isBlockAttribute'](DP(_0x45b326)),_0x3180f6='attribute'==_0xb86b2c&&this['_suggestionsConversion']['isInlineAttribute'](DP(_0x45b326));if(_0x64996d['newRange']['isCollapsed']||'$graveyard'==_0x64996d['newRange']['root']['rootName']||'formatBlock'==_0xb86b2c&&!kP(_0x64996d['newRange'])||_0x2d1258&&!kP(_0x64996d['newRange'])||_0x3180f6&&xP(_0x64996d['newRange'])||'deletion'==_0xb86b2c&&xP(_0x64996d['newRange'])||_0x52f568&&CP(_0x52f568,_0x350dcc))_0x29bb0f['removeMarker'](_0x370ebf),_0x3509d8=!0x0;else{if(!_0x39afcf||!_0x39afcf['isInContent'])continue;if(_0x64996d['newRange']&&_0x64996d['oldRange']&&_0x64996d['newRange']['isEqual'](_0x64996d['oldRange']))continue;_0x32b96d['add'](_0x39afcf);}}}return _0x32b96d['size']>0x0&&(_0x3509d8=!!this['_joinWithAdjacentSuggestions'](_0x32b96d)||_0x3509d8),_0x3509d8;}),_0x55a284['model']['document']['registerPostFixer'](_0x4b3d2a=>{let _0xc92e34=!0x1;for(const _0x3433e6 of _0x55a284['model']['document']['differ']['getChanges']())if('insert'==_0x3433e6['type'])for(const _0x363f2a of this['_suggestions']['values']()){if(_0x363f2a['isMultiRange']||!_0x363f2a['isInContent'])continue;const _0x351639='formatBlock'==_0x363f2a['type'],_0xf71eeb=this['_getAttributeKey'](_0x363f2a),_0x3d6907=_0xf71eeb&&this['_suggestionsConversion']['isBlockAttribute'](_0xf71eeb);if(!_0x351639&&!_0x3d6907)continue;const _0x2d3c58=_0x363f2a['getFirstRange']();if(_0x2d3c58['start']['parent']!=_0x2d3c58['end']['parent']&&!_0x2d3c58['end']['isAtEnd']){const _0x2b52d2=_0x55a284['model']['createPositionAt'](_0x2d3c58['start']['nodeAfter'],'end'),_0x56f8b7=_0x55a284['model']['createRange'](_0x2d3c58['start'],_0x2b52d2);_0x4b3d2a['updateMarker'](_0x363f2a['getFirstMarker'](),{'range':_0x56f8b7}),_0xc92e34=!0x0;}}return _0xc92e34;}),_0x55a284['model']['document']['registerPostFixer'](_0x357765=>this['_processAttributeChanges'](_0x357765)),_0x55a284['model']['document']['registerPostFixer'](_0x220265=>!_0x220265['batch']['isLocal']&&this['_processAttributeSuggestions'](_0x220265)),_0x55a284['model']['on']('_afterChanges',()=>{this['_recordAttributeSuggestions']=!0x1;}),_0x55a284['model']['document']['on']('change:data',(_0x4a9755,_0x3b31f5)=>{if(!_0x3b31f5['isLocal']||_0x3b31f5['isUndo'])return;if(!this['_recordAttributeSuggestions'])return;const _0xc270a4=_0x55a284['model']['document']['differ']['getChanges']();if(0x0==_0xc270a4['length'])return;const _0x311500=[],_0x33e69c=_0xc270a4['filter'](_0x44ad28=>'attribute'==_0x44ad28['type']),_0x163f0d=_0xc270a4['filter'](_0x208e86=>'insert'==_0x208e86['type']&&'$text'!=_0x208e86['name']);for(const _0x13ab2e of _0x33e69c)this['_suggestionsConversion']['isRegisteredAttribute'](_0x13ab2e['attributeKey'])&&_0x311500['push']({'key':_0x13ab2e['attributeKey'],'newValue':_0x13ab2e['attributeNewValue'],'oldValue':_0x13ab2e['attributeOldValue'],'range':RP(_0x13ab2e['range'],_0x55a284['model'])});for(const _0x5c0122 of _0x163f0d){if('rename'!=_0x5c0122['action']&&'refresh'!=_0x5c0122['action'])continue;const _0x88462e=PP(_0x5c0122['position']['nodeAfter'],_0x55a284['model']),_0xdd0883=_0x5c0122['before'];'rename'==_0x5c0122['action']&&_0x311500['push']({'key':vP,'newValue':_0x5c0122['name'],'oldValue':_0xdd0883['name'],'range':_0x88462e});for(const [_0x3f3824,_0x181847]of _0xdd0883['attributes']){if(!this['_suggestionsConversion']['isRegisteredAttribute'](_0x3f3824))continue;const _0x1fb2dc=_0x5c0122['attributes']['get'](_0x3f3824);_0x181847!==_0x1fb2dc&&_0x311500['push']({'key':_0x3f3824,'newValue':_0x1fb2dc,'oldValue':_0x181847,'range':_0x88462e});}for(const [_0x417b6c,_0x490b25]of _0x5c0122['attributes'])this['_suggestionsConversion']['isRegisteredAttribute'](_0x417b6c)&&(_0xdd0883['attributes']['has'](_0x417b6c)||_0x311500['push']({'key':_0x417b6c,'newValue':_0x490b25,'oldValue':null,'range':_0x88462e}));}0x0!=_0x311500['length']&&_0x55a284['model']['enqueueChange'](_0x3b31f5,_0x5d7cb8=>{const _0x5f571e=_0x10825a();for(const {range:_0x4f41af,key:_0x34c374,oldValue:_0x2c0702,newValue:_0x5a46d9}of _0x311500)this['markAttributeChange'](_0x4f41af,_0x34c374,_0x2c0702,_0x5a46d9,{'groupId':_0x5f571e});this['_reduceExistingSuggestions'](_0x5d7cb8,_0x311500);});},{'priority':'lowest'}),_0x55a284['model']['markers']['on']('update:suggestion',(_0x22cd42,_0x587df0,_0x4d7be8)=>{if(null==_0x4d7be8){const {id:_0x27d2bf}=ya(_0x587df0['name']),_0x5c3173=this['_suggestions']['get'](_0x27d2bf);_0x5c3173&&_0x5c3173['addMarkerName'](_0x587df0['name']);}}),_0x55a284['model']['document']['on']('change:data',()=>{const _0x224a0b=Array['from'](_0x55a284['model']['document']['differ']['getChangedMarkers']())['filter'](_0x32358d=>'suggestion'===ya(_0x32358d['name'])['group']);if(0x0===_0x224a0b['length'])return;_0x224a0b['sort']((_0x2fb8b9,_0x3c05bb)=>{const _0x31e415=_0x2fb8b9['data']['oldRange'],_0x3694ab=_0x3c05bb['data']['oldRange'];return null===_0x31e415&&null===_0x3694ab?0x0:null===_0x31e415&&null!==_0x3694ab?-0x1:null!==_0x31e415&&null===_0x3694ab?0x1:_0x31e415['start']['isBefore'](_0x3694ab['start'])?-0x1:0x1;});const _0x351e9e=new Set(),_0x530db4=new Set();for(const {name:_0x52b065,data:_0x10c9a4}of _0x224a0b){const {id:_0x4b3003}=ya(_0x52b065);if(null===_0x10c9a4['oldRange']){const _0x511ca9=this['_handleNewSuggestionMarker'](_0x52b065);_0x530db4['add'](_0x511ca9);}else{const _0x3c3b39=this['_suggestions']['get'](_0x4b3003);null!==_0x10c9a4['newRange']||_0x3c3b39['isInContent']?(_0x351e9e['add'](_0x3c3b39['head']),_0x530db4['add'](_0x3c3b39)):this['_removeSuggestion'](_0x3c3b39);}}_0x530db4['size']>0x0&&this['_refreshSuggestionsChain'](_0x530db4);for(const _0x42cee2 of _0x351e9e)this['fire']('suggestionChanged',_0x42cee2);}),_0x55a284['model']['on']('applyOperation',(_0x2e714b,_0x5c6211)=>{const _0x33a0c2=_0x5c6211[0x0];if(!this['_suggestions']['size'])return;if(!_0x33a0c2['isDocumentOperation'])return;if(_0x33a0c2['batch']['isUndo']||!_0x33a0c2['batch']['isLocal'])return;let _0x5948ea,_0x220c58;switch(_0x33a0c2['type']){case'insert':_0x5948ea=_0x55a284['model']['createPositionAt'](_0x33a0c2['position']),_0x220c58=_0x5948ea['getShiftedBy'](_0x33a0c2['howMany']);break;case'split':_0x5948ea=_0x55a284['model']['createPositionAt'](_0x33a0c2['splitPosition']),_0x220c58=_0x55a284['model']['createPositionAt'](_0x33a0c2['moveTargetPosition']);break;case'move':_0x5948ea=_0x55a284['model']['createPositionAt'](_0x33a0c2['targetPosition']),_0x220c58=_0x5948ea['getShiftedBy'](_0x33a0c2['howMany']);break;default:return;}const _0x118e90=_0x55a284['model']['createRange'](_0x5948ea,_0x220c58);_0x55a284['model']['change'](()=>{for(const {suggestion:_0x576771,meta:_0x286830}of this['_findSuggestions'](_0x118e90)){if(_0x576771['isMultiRange'])continue;if('formatInline'==_0x576771['type'])continue;const _0x10fe1d=this['_getAttributeKey'](_0x576771);if(_0x10fe1d&&this['_suggestionsConversion']['isBlockAttribute'](_0x10fe1d)&&'split'!=_0x33a0c2['type'])continue;const _0x560340=_0x576771['data']&&_0x576771['data']['multipleBlocks'];('formatBlock'!=_0x576771['type']||'split'==_0x33a0c2['type']&&!_0x560340)&&(_0x286830['containsRangeInObject']||'insertion'==_0x576771['type']&&_0x286830['isOwn']||_0x576771['getFirstRange']()['containsRange'](_0x118e90)&&this['_breakSuggestionMarker'](_0x576771,_0x5948ea,_0x220c58));}});},{'priority':'lowest'}),_0x55a284['model']['on']('deleteContent',(_0x39f925,_0x1e5f5f)=>{const _0x57b4f7=_0x1e5f5f[0x0],_0x1a6cbe=_0x1e5f5f[0x1];if(_0x1a6cbe&&_0x1a6cbe['forceDefaultExecution'])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this['trackChangesCommand']['value'])return;if(_0x57b4f7['isCollapsed'])return;const _0x1f89f3=_0x55a284['model']['schema'],{start:_0x36639f,end:_0x539907}=_0x57b4f7['getFirstRange'](),_0x3b5842=_0x36639f['nodeAfter']&&_0x1f89f3['isLimit'](_0x36639f['nodeAfter'])?null:_0x1f89f3['getNearestSelectionRange'](_0x36639f,'forward'),_0x18e909=_0x539907['nodeBefore']&&_0x1f89f3['isLimit'](_0x539907['nodeBefore'])?null:_0x1f89f3['getNearestSelectionRange'](_0x539907,'backward'),_0x41fa7f=_0x55a284['model']['createRange'](_0x3b5842?_0x3b5842['start']:_0x36639f,_0x18e909?_0x18e909['end']:_0x539907);_0x55a284['model']['change'](_0x2c3479=>{this['markDeletion'](_0x41fa7f);const _0x3c39c0=_0x55a284['model']['schema']['getNearestSelectionRange'](_0x41fa7f['start']);_0x57b4f7['is']('documentSelection')?_0x2c3479['setSelection'](_0x3c39c0):_0x57b4f7['setTo'](_0x3c39c0);}),_0x39f925['stop']();},{'priority':_0x38a185['normal']+0xa}),_0x55a284['model']['on']('insertContent',(_0x31fc4f,_0x1edad4)=>{const _0x3bf3ee=_0x1edad4[_0x1edad4['length']-0x1];_0x3bf3ee&&_0x3bf3ee['forceDefaultExecution']||this['_isForcedDefaultExecutionBlock']||this['trackChangesCommand']['value']&&(_0x55a284['model']['change'](()=>{let _0x98f57=_0x55a284['model']['insertContent'](_0x1edad4[0x0],_0x1edad4[0x1],_0x1edad4[0x2],{'forceDefaultExecution':!0x0});if(!_0x98f57)return;_0x31fc4f['return']=_0x98f57['clone']();const _0x4af387=_0x98f57['end']['nodeBefore'],_0x7c8b0f=_0x55a284['model']['schema'];_0x4af387&&_0x7c8b0f['isBlock'](_0x4af387)&&!_0x7c8b0f['isObject'](_0x4af387)&&(_0x98f57=_0x55a284['model']['createRange'](_0x98f57['start'],_0x55a284['model']['createPositionAt'](_0x4af387,'end'))),this['markInsertion'](_0x98f57);}),_0x31fc4f['stop']());},{'priority':'high'}),this['editor']['commands']['add']('trackChanges',this['trackChangesCommand']),this['enableCommand']('trackChanges');const _0x21a45a=new DC(_0x55a284,this['_suggestions']);_0x55a284['commands']['add']('acceptSuggestion',_0x21a45a),this['enableCommand']('acceptSuggestion');const _0x52269c=new QC(_0x55a284,this['_suggestions']);_0x55a284['commands']['add']('discardSuggestion',_0x52269c),this['enableCommand']('discardSuggestion'),_0x55a284['commands']['add']('acceptAllSuggestions',new ZC(_0x55a284,_0x21a45a,this['_suggestions'])),this['enableCommand']('acceptAllSuggestions'),_0x55a284['commands']['add']('discardAllSuggestions',new ZC(_0x55a284,_0x52269c,this['_suggestions'])),this['enableCommand']('discardAllSuggestions'),_0x55a284['commands']['add']('acceptSelectedSuggestions',new GC(_0x55a284,_0x21a45a,this['_suggestions'])),this['enableCommand']('acceptSelectedSuggestions'),_0x55a284['commands']['add']('discardSelectedSuggestions',new GC(_0x55a284,_0x52269c,this['_suggestions'])),this['enableCommand']('discardSelectedSuggestions');const _0x48c3fe=_0x55a284['plugins']['get'](Cv);this['listenTo'](_0x48c3fe,'addComment',(_0x3ce59a,{threadId:_0x486839})=>{const _0xa67483=this['_suggestions']['get'](_0x486839);_0xa67483&&_0xa67483['commentThread']&&0x1===_0xa67483['commentThread']['length']&&this['_updateSuggestionData'](_0x486839,{'hasComments':!0x0});},{'priority':'low'}),this['listenTo'](_0x48c3fe,'removeComment',(_0x28e17a,{threadId:_0x1e7ff4})=>{const _0x2fcebf=this['_suggestions']['get'](_0x1e7ff4);_0x2fcebf&&_0x2fcebf['commentThread']&&!_0x2fcebf['commentThread']['length']&&this['_updateSuggestionData'](_0x1e7ff4,{'hasComments':!0x1});},{'priority':'low'});}['afterInit'](){!async function(_0x1b2935){const _0x17ccb9='RBcXdGf567mNjK9DTpP0Iyi3gea8ZvzlE4bFuWrwsH1hnOSLqkY2MQJxoVAUtC',_0x1267d9=0x78fc0,_0x57a654=window['Date']['now'](),_0x3fa0bc=_0x1b2935['editor'],_0x3d99a7=new window['Promise'](_0x5aa72f=>{_0x3fa0bc['once']('ready',_0x5aa72f);}),_0x52fe6b={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x42bd4f=_0x3fa0bc['config']['get']('licenseKey');async function _0x13b5fd(){let _0x1a2732,_0x2acfd1=null,_0x1e34f3=null;try{return'GPL'==_0x42bd4f?'NotAllowed':(_0x1a2732=_0xa2b840(),_0x1a2732?(_0x1a2732['usageEndpoint']&&(_0x1e34f3=_0x4d57f8(_0x1a2732['usageEndpoint'],_0x1a2732['jti'])),await _0x4cb23b()?_0x220850()?_0x33ef9a()?'Expired':_0xddee60()?('evaluation'==_0x1a2732['licenseType']&&(_0x2acfd1=_0x5abe58('EvaluationLimit')),await _0x406c3c()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x33ef9a(){const _0x273803=['evaluation','trial']['includes'](_0x1a2732['licenseType'])?_0x57a654/0x3e8:0xe10*_0x1267d9;return _0x1a2732['exp']<_0x273803;}function _0x220850(){const _0x1630e5=_0x1a2732['features'];if(!_0x1630e5)return!0x1;if(_0x1630e5['includes']('*'))return!0x0;if(_0x1630e5['includes']('TC'))return!0x0;if(_0x1630e5['includes']('RTC')){if(_0x55ff09())return!0x0;if(_0x53cafd()||_0x3e9628())return!0x0;}return!0x1;}function _0xddee60(){const _0x218996=_0x1a2732['licensedHosts'];if(!_0x218996||0x0==_0x218996['length'])return!0x0;const {hostname:_0x1fcc79}=new URL(window['location']['href']);if(_0x218996['includes'](_0x1fcc79))return!0x0;const _0x10a6c3=_0x1fcc79['split']('.');return _0x218996['filter'](_0x4b69c1=>_0x4b69c1['includes']('*'))['map'](_0xa93fa4=>_0xa93fa4['split']('.'))['filter'](_0x96f248=>_0x96f248['length']<=_0x10a6c3['length'])['map'](_0x31f185=>Array(_0x10a6c3['length']-_0x31f185['length'])['fill']('*'===_0x31f185[0x0]?'*':'')['concat'](_0x31f185))['some'](_0x314155=>_0x10a6c3['every']((_0x478452,_0x2acfce)=>_0x314155[_0x2acfce]===_0x478452||'*'===_0x314155[_0x2acfce]));}function _0x406c3c(){return _0x2acfd1&&_0x1e34f3?new window['Promise']((_0x51f6aa,_0x518657)=>{_0x2acfd1['then'](_0x51f6aa,_0x518657),_0x1e34f3['then'](_0x43889c=>{'Valid'!=_0x43889c&&_0x51f6aa(_0x43889c);},_0x518657);}):_0x2acfd1||_0x1e34f3||'Valid';}}function _0x4d57f8(_0xf80ec5,_0xef9e24){return new window['Promise'](_0x150f83=>{if(_0x4a82f1())return _0x150f83('Valid');_0x26ba8a(),_0x3fa0bc['decorate']('_sendUsageRequest');let _0xde4213=!0x1;const _0x6c9b97=_0x10825a();function _0x886e7d(_0xb8022f){return!!_0xb8022f&&('object'==typeof _0xb8022f||'function'==typeof _0xb8022f)&&'function'==typeof _0xb8022f['then']&&'function'==typeof _0xb8022f['catch'];}function _0x55fa98(_0x18a8df){_0x36139a(_0x18a8df)['then'](_0x57a7a5=>_0x57a7a5&&'ok'==_0x57a7a5['status']?_0x3994e5(_0x159759(_0x6c9b97+_0xef9e24))!=_0x57a7a5['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x3e1829=>(_0x7fd020(),_0x3e1829),()=>{const _0x4144cc=_0x4dee9c();return null==_0x4144cc?(_0x7fd020(),'Valid'):_0x57a654-_0x4144cc>0x240c8400?'UsageLimit':'Valid';})['then'](_0x150f83)['catch'](()=>{_0x150f83('UsageLimit');});const _0xaa5e77=0x36ee80;function _0x7fd020(){const _0x59e4d1='llct-'+_0x3994e5(_0x159759(_0xf80ec5)),_0x2e3303=_0x25ccb6(_0x3994e5(window['Math']['ceil'](_0x57a654/_0xaa5e77)));window['localStorage']['setItem'](_0x59e4d1,_0x2e3303);}function _0x4dee9c(){const _0x16a428='llct-'+_0x3994e5(_0x159759(_0xf80ec5)),_0x1ce9f6=window['localStorage']['getItem'](_0x16a428);return _0x1ce9f6?window['parseInt'](_0x25ccb6(_0x1ce9f6),0x10)*_0xaa5e77:null;}function _0x36139a(_0x2adc74){return new window['Promise']((_0x44fa3f,_0x1fc7f2)=>{_0x2adc74['then'](_0x44fa3f,_0x1fc7f2),window['setTimeout'](_0x1fc7f2,0x1d4c0);});}}_0x3fa0bc['on']('_sendUsageRequest',(_0x590b6f,_0x5c693f)=>{if(_0x5c693f[0x0]!=_0xf80ec5)return _0x150f83('UsageLimit');_0x5c693f[0x1]={..._0x5c693f[0x1],'requestId':_0x6c9b97};},{'priority':'high'}),_0x3fa0bc['on']('_sendUsageRequest',_0x3e6dad=>{_0x886e7d(_0x3e6dad['return'])&&(_0xde4213=!0x0,_0x55fa98(_0x3e6dad['return']));},{'priority':'low'}),_0x3d99a7['then'](()=>{_0xde4213||_0x150f83('UsageLimit');});});function _0x4a82f1(){return'auto'==_0x3fa0bc['editing']['view']['_overlayModeHint'];}function _0x26ba8a(){_0x3fa0bc['editing']['view']['_overlayModeHint']='auto';}}function _0x5abe58(_0x1bea76){const _0x50651d=[new window['Promise'](_0x183ba5=>setTimeout(_0x183ba5,0x93ecc)),_0x3d99a7['then'](()=>new window['Promise'](_0x518023=>{let _0x2e6d75=0x0;_0x3fa0bc['model']['on']('applyOperation',(_0x50a41f,_0x501d67)=>{_0x501d67[0x0]['isDocumentOperation']&&_0x2e6d75++,0x5e8==_0x2e6d75&&(_0x518023(),_0x50a41f['off']());});}))];return window['Promise']['race'](_0x50651d)['then'](()=>_0x1bea76);}async function _0x59aeab(){await _0x3d99a7,_0x3fa0bc['model']['change']=_0x293465,_0x3fa0bc['model']['enqueueChange']=_0x293465,_0x3fa0bc['enableReadOnlyMode']('model');}function _0x55ff09(){return _0x3e1519('WebSocketGateway')&&'connected'==_0x3f3c72('WebSocketGateway')['state'];}function _0x53cafd(){return _0x3e1519('RevisionViewerIntegration');}function _0x3e9628(){return _0x3e1519('TrackChangesDataGetter');}function _0x145a6e(_0x8efd6f){const _0x325abe=_0x407d19();_0x3fa0bc[_0x325abe]='trackChangesLicenseKey'+_0x8efd6f,'Valid'!=_0x8efd6f&&_0x59aeab();}function _0x407d19(){const _0x55afdd=window['String'](window['performance']['now']())['replace']('.','');let _0x590728='R';for(let _0x5c1431=0x0;_0x5c1431<_0x55afdd['length'];_0x5c1431+=0x2){let _0x3cec9b=window['parseInt'](_0x55afdd['substring'](_0x5c1431,_0x5c1431+0x2));_0x3cec9b>=0x3e&&(_0x3cec9b-=0x3e),_0x590728+=_0x17ccb9[_0x3cec9b];}return _0x590728;}function _0xa2b840(){const _0x22094b=_0x42bd4f['split']('.');if(0x3!=_0x22094b['length'])return null;return _0x5e38e2(_0x22094b[0x1]);function _0x5e38e2(_0x3e4a04){const _0x1d949b=_0x3f587e(_0x3e4a04);return _0x1d949b&&_0x504f98()?_0x1d949b:null;function _0x504f98(){const _0x1b101d=_0x1d949b['jti'],_0x2db42f=window['parseInt'](_0x1b101d['substring'](_0x1b101d['length']-0x8),0x10),_0x510464={..._0x1d949b,'jti':_0x1b101d['substring'](0x0,_0x1b101d['length']-0x8)};return delete _0x510464['vc'],_0x159759(_0x510464)==_0x2db42f;}}}async function _0x4cb23b(){let _0x4ef7e3=!0x0;try{const [_0x2cb675,_0x423c64,_0x1ef20c]=_0x42bd4f['split']('.');return _0x1a6293(_0x2cb675),await _0x437ee8(_0x2cb675,_0x423c64,_0x1ef20c),_0x4ef7e3;}catch{return!0x1;}function _0x1a6293(_0x485df5){const _0x3d199a=_0x3f587e(_0x485df5);_0x3d199a&&'ES256'==_0x3d199a['alg']||(_0x4ef7e3=!0x1);}async function _0x437ee8(_0x342daa,_0x533ba9,_0x457eff){const _0xf506bf=window['Uint8Array']['from'](_0x22c862(_0x457eff),_0x46e96e=>_0x46e96e['charCodeAt'](0x0)),_0x3c8a56=new window['TextEncoder']()['encode'](_0x342daa+'.'+_0x533ba9),_0x36d11d=window['crypto']['subtle'];if(!_0x36d11d)return;const _0x114515=await _0x36d11d['importKey']('jwk',_0x52fe6b,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x36d11d['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x114515,_0xf506bf,_0x3c8a56)||(_0x4ef7e3=!0x1);}}function _0x3f587e(_0xe032d3){return _0xe032d3['startsWith']('ey')?JSON['parse'](_0x22c862(_0xe032d3)):null;}function _0x22c862(_0x422ff2){return window['atob'](_0x422ff2['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x159759(_0x57beac){let _0x3aff52=0x1505;function _0x299566(_0x17f189){for(let _0x23c5e6=0x0;_0x23c5e6<_0x17f189['length'];_0x23c5e6++){const _0x3a257a=_0x17f189['charCodeAt'](_0x23c5e6);_0x3aff52=(_0x3aff52<<0x5)+_0x3aff52+_0x3a257a,_0x3aff52&=_0x3aff52;}}function _0x1ece07(_0x333b1e){Array['isArray'](_0x333b1e)?_0x333b1e['forEach'](_0x1ece07):_0x333b1e&&'object'==typeof _0x333b1e?Object['entries'](_0x333b1e)['sort']()['forEach'](([_0x3e064b,_0x57c23])=>{_0x299566(_0x3e064b),_0x1ece07(_0x57c23);}):_0x299566(window['String'](_0x333b1e));}return _0x1ece07(_0x57beac),_0x3aff52>>>0x0;}function _0x3994e5(_0x109419){return _0x109419['toString'](0x10)['padStart'](0x8,'0');}function _0x25ccb6(_0x18d117){return _0x18d117['split']('')['reverse']()['join']('');}function _0x3e1519(_0x5e5d8f){return _0x3fa0bc['plugins']['has'](_0x5e5d8f);}function _0x3f3c72(_0x54b35b){return _0x3fa0bc['plugins']['get'](_0x54b35b);}function _0x293465(){}_0x145a6e(await _0x13b5fd());}(this);}set['adapter'](_0xa112a7){if(this['_adapter'])throw new _0x5b5a95('track-changes-adapter-already-set',this);this['_adapter']=_0xa112a7;}get['adapter'](){return this['_adapter'];}['getSuggestions']({skipNotAttached:_0x1a83e0=!0x1,toJSON:_0x171b93=!0x1}={}){const _0x8fad9e=[];for(const _0x4dadea of this['_suggestions']['values']())_0x1a83e0&&!_0x4dadea['isInContent']||_0x8fad9e['push'](_0x4dadea);return _0x171b93?_0x8fad9e['map'](_0x4f5cb2=>_0x4f5cb2['toJSON']()):_0x8fad9e;}['getSuggestion'](_0x57f459){const _0x3a6522=this['_suggestions']['get'](_0x57f459);if(!_0x3a6522)throw new _0x5b5a95('track-changes-suggestion-not-found',this);return _0x3a6522;}['hasSuggestion'](_0x362a49){return this['_suggestions']['has'](_0x362a49);}['addSuggestionData'](_0x2c3bc8){const {authorId:_0x4d47b6,id:_0x210cda,originalSuggestionId:_0x30a6c7,attributes:_0x59d183}=_0x2c3bc8,[_0x1d9ac7,_0x453ef9]=_0x2c3bc8['type']['split'](':'),_0x1cdd2f=this['_suggestions']['get'](_0x210cda)||this['_createSuggestion'](_0x1d9ac7,_0x453ef9,_0x210cda,_0x4d47b6,_0x59d183,_0x30a6c7);if(this['_addThreadToSuggestion'](_0x1cdd2f),this['_checkSuggestionCorrectness'](_0x1cdd2f,_0x1d9ac7,_0x453ef9||null,_0x4d47b6),_0x1cdd2f['createdAt']=_0x2c3bc8['createdAt'],_0x1cdd2f['_isDataLoaded']=!0x0,_0x59d183&&_0x59d183['@external']){const _0x2c0d88=_0x59d183['@external'],_0x1412fc=this['_getExternalAuthor'](_0x2c0d88['authorName']);_0x1cdd2f['authoredAt']=_0x2c0d88['createdAt'],_0x1cdd2f['author']=_0x1412fc;}else _0x1cdd2f['authoredAt']=_0x2c3bc8['createdAt'];switch(_0x2c3bc8['data']&&(_0x1cdd2f['data']=_0x2c3bc8['data']),_0x2c3bc8['attributes']&&(_0x1cdd2f['attributes']=_0x2c3bc8['attributes']),this['_adapter']&&this['_adapter']['addSuggestion']||(_0x1cdd2f['_saved']=!0x0),this['_suggestionState']['get'](_0x1cdd2f)){case'notReady':this['_suggestionState']['set'](_0x1cdd2f,'dataReady');break;case'markerReady':_0x1cdd2f['isInContent']?(this['_joinWithAdjacentSuggestions'](new Set([_0x1cdd2f])),this['_refreshSuggestionsChain'](new Set([_0x1cdd2f])),this['_suggestionState']['set'](_0x1cdd2f,'ready'),this['fire']('suggestionLoaded',_0x1cdd2f)):this['_suggestionState']['set'](_0x1cdd2f,'removed');}return _0x1cdd2f;}['acceptSuggestion'](_0x5b050e){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x212c76 of _0x5b050e['getAllAdjacentSuggestions']())_0x212c76['accept']();});});}['discardSuggestion'](_0x25b719){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x33eeee of _0x25b719['getAllAdjacentSuggestions']())_0x33eeee['discard']();});});}['enableCommand'](_0x27f0a7,_0x521427){const _0x760530=this['editor']['commands']['get'](_0x27f0a7);if(!_0x760530)throw new _0x5b5a95('track-changes-command-not-found',this,{'commandName':_0x27f0a7});if(this['_enabledCommands']['has'](_0x760530))throw new _0x5b5a95('track-changes-enable-command-twice',this,{'commandName':_0x27f0a7});this['_enabledCommands']['add'](_0x760530),_0x521427&&_0x760530['on']('execute',(_0x204010,_0x492ee4)=>{this['trackChangesCommand']['value']&&(this['_isForcedDefaultExecutionBlock']||(_0x492ee4['length']>0x0&&_0x492ee4[_0x492ee4['length']-0x1]&&_0x492ee4[_0x492ee4['length']-0x1]['forceDefaultExecution']?_0x492ee4['pop']():(_0x204010['return']=_0x521427((..._0x513f1a)=>_0x760530['execute'](..._0x513f1a,{'forceDefaultExecution':!0x0}),..._0x492ee4),_0x204010['stop']())));},{'priority':'high'});}['forceDefaultExecution'](_0x5cad83){let _0x31a8a4,_0x11b994;const _0x54d248=this['_isForcedDefaultExecutionBlock'];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x31a8a4=_0x5cad83();}catch(_0x2254cd){_0x11b994=_0x2254cd;}return _0x54d248||(this['_isForcedDefaultExecutionBlock']=!0x1),_0x11b994&&_0x5b5a95['rethrowUnexpectedError'](_0x11b994,this),_0x31a8a4;}['markInsertion'](_0x330692,_0x23d0c0=null,_0x549762={}){if(_0x330692['isCollapsed'])return null;const _0x2fef13=this['editor']['plugins']['get']('Users')['me'];this['_trackingSessionId']&&(_0x549762['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x596a96,meta:_0x4178a6}of this['_findSuggestions'](_0x330692,'insertion'))if(_0x4178a6['isOwn']){if(!_0x4178a6['isNextTo']){if(_0x4178a6['containsRangeInObject']){if(!this['_mergeNestedSuggestions']||!LP(_0x596a96,_0x549762))continue;return _0x596a96;}if(LP(_0x596a96,_0x549762))return _0x596a96;this['_breakSuggestionMarker'](_0x596a96,_0x330692['start'],_0x330692['end']);break;}if(_0x23d0c0==_0x596a96['subType']&&LP(_0x596a96,_0x549762)){const _0x5e2d9d=_0x596a96['getFirstRange']();return _0x5e2d9d['start']['isEqual'](_0x330692['end'])?this['_setSuggestionRange'](_0x596a96,this['_model']['createRange'](_0x330692['start'],_0x5e2d9d['end'])):this['_setSuggestionRange'](_0x596a96,this['_model']['createRange'](_0x5e2d9d['start'],_0x330692['end'])),_0x596a96;}}const _0x3cc80d=_0x10825a(),_0x2b7c4d=_0x2fef13['id'],_0x56db86=_0x23d0c0?'insertion:'+_0x23d0c0:'insertion',_0x3d7d96=this['_setSuggestionData']({'id':_0x3cc80d,'type':_0x56db86,'createdAt':new Date(),'authorId':_0x2b7c4d,'attributes':_0x549762});return this['_addSuggestionMarker'](_0x56db86,_0x3cc80d,_0x2b7c4d,_0x330692),_0x3d7d96;}['markMultiRangeInsertion'](_0x34f9cc,_0x332874='multi',_0x16a4d4={}){const _0x391279=this['editor']['plugins']['get']('Users')['me'],_0x1270f2=this['_suggestionFactory']['getSuggestionCallback']('insertion',_0x332874,'join');this['_trackingSessionId']&&(_0x16a4d4['trackingSessionId']=this['_trackingSessionId']);for(const _0x31f0df of this['getSuggestions']())if(_0x31f0df['author']['id']==_0x391279['id']&&'insertion'==_0x31f0df['type']&&_0x31f0df['subType']==_0x332874&&LP(_0x31f0df,_0x16a4d4)&&(_0x1270f2(_0x31f0df['getRanges'](),_0x34f9cc)||_0x1270f2(_0x34f9cc,_0x31f0df['getRanges']()))){for(const _0xedd535 of _0x34f9cc)_0x31f0df['addRange'](_0xedd535);return _0x31f0df;}for(const {suggestion:_0x2cfd07,meta:_0x2f6766}of this['_findSuggestions'](_0x34f9cc,'insertion')){if(!_0x2f6766['isOwn'])continue;if(!this['_mergeNestedSuggestions']&&_0x2f6766['containsRangeInObject'])continue;if(!LP(_0x2cfd07,_0x16a4d4))continue;let _0x183b8a=!0x0;for(const _0x1f8a99 of _0x2cfd07['getRanges']())for(const _0x3d95bd of _0x34f9cc)if(!_0x1f8a99['containsRange'](_0x3d95bd)){_0x183b8a=!0x1;break;}if(_0x183b8a)return _0x2cfd07;}const _0x141f11=_0x10825a(),_0x1a0de6=_0x391279['id'],_0x2d8623='insertion:'+_0x332874,_0x3628c1=this['_setSuggestionData']({'id':_0x141f11,'type':_0x2d8623,'createdAt':new Date(),'authorId':_0x1a0de6,'attributes':_0x16a4d4});for(const _0x584c8a of _0x34f9cc)this['_addSuggestionMarker'](_0x2d8623,_0x141f11,_0x1a0de6,_0x584c8a,qC['getMultiRangeId']());return _0x3628c1;}['markInlineFormat'](_0x471c41,_0x37d73c,_0x5e709a=null,_0x333850={}){if(_0x5e709a=_0x5e709a||IP(_0x37d73c),_0x471c41['isCollapsed'])return null;if(this['_trackingSessionId']&&(_0x333850['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x5baaaf=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0x5e709a,'accept');return this['forceDefaultExecution'](()=>_0x5baaaf([_0x471c41],_0x37d73c,_0x333850)),null;}const _0x340119=this['editor']['plugins']['get']('Users')['me'],_0x494f5c=[];if('always'!==this['_trackFormatChanges']){for(const {suggestion:_0x2d1994,meta:_0x483f7a}of this['_findSuggestions'](_0x471c41,'insertion'))_0x483f7a['isOwn']&&!_0x483f7a['isInsideObject']&&_0x494f5c['push'](..._0x2d1994['getRanges']());}const _0x4e904e=function(_0x322cff,_0x314311){const _0x3c8b12=[];for(const _0x2fcf59 of _0x314311){const _0x18610d=_0x322cff['getIntersection'](_0x2fcf59);_0x18610d&&_0x3c8b12['push'](_0x18610d);}return _0x3c8b12;}(_0x471c41,_0x494f5c),_0x51160c=function(_0x916cbe,_0x25b2c0){const _0xb6a975=[_0x916cbe];for(const _0x132f6a of _0x25b2c0){let _0x32085f=0x0;for(;_0x32085f<_0xb6a975['length'];){const _0x3e6302=_0xb6a975[_0x32085f]['getDifference'](_0x132f6a);_0xb6a975['splice'](_0x32085f,0x1,..._0x3e6302),_0x32085f+=_0x3e6302['length'];}}return _0xb6a975;}(_0x471c41,_0x494f5c);_0x4e904e['length']&&this['_model']['change'](()=>{for(const _0x1c234f of _0x4e904e){const _0x45a7c7=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0x5e709a,'accept');this['forceDefaultExecution'](()=>_0x45a7c7([_0x1c234f],_0x37d73c,_0x333850));}});for(const _0x465316 of _0x51160c){let _0x13f21e=null,_0xd1e76c=_0x465316['start'],_0x453b0c=_0x465316['end'];for(const {suggestion:_0x441a95,meta:_0x344335}of this['_findSuggestions'](_0x465316,'formatInline')){if(!_0x344335['isOwn'])continue;if(_0x441a95['subType']!=_0x5e709a)continue;if(!LP(_0x441a95,_0x333850))continue;const _0x2010f9=_0x441a95['getFirstRange']();if(_0x2010f9['containsRange'](_0x465316,!0x0))return null;_0xd1e76c=_0xd1e76c['isBefore'](_0x2010f9['start'])?_0xd1e76c:_0x2010f9['start'],_0x453b0c=_0x453b0c['isAfter'](_0x2010f9['end'])?_0x453b0c:_0x2010f9['end'],_0x13f21e?_0x2010f9['start']['isBefore'](_0x13f21e['getFirstRange']()['start'])?(_0x13f21e['removeMarkers'](),_0x13f21e=_0x441a95):_0x441a95['removeMarkers']():_0x13f21e=_0x441a95;}const _0x18b31f=this['_model']['createRange'](_0xd1e76c,_0x453b0c);if(_0x13f21e)this['_setSuggestionRange'](_0x13f21e,_0x18b31f);else{const _0x37673b=_0x10825a(),_0x1729b6=_0x340119['id'];this['_setSuggestionData']({'id':_0x37673b,'type':'formatInline:'+_0x5e709a,'data':_0x37d73c,'createdAt':new Date(),'authorId':_0x1729b6,'attributes':_0x333850}),this['_addSuggestionMarker']('formatInline:'+_0x5e709a,_0x37673b,_0x1729b6,_0x18b31f);}}return null;}['markBlockFormat'](_0x194f58,_0xfc4948,_0x1ea552=[],_0xe653e8=null,_0x1ad382={}){_0xfc4948['formatGroupId']||(_0xfc4948['formatGroupId']=_0xfc4948['commandName']),_0xfc4948['multipleBlocks']=_0x194f58['is']('range'),_0xe653e8=_0xe653e8||IP(_0xfc4948);const _0x4e84de=_0x1ea552['map'](_0x107c8e=>PP(_0x107c8e,this['_model'])),_0x2e65cf=_0x194f58['is']('range')?_0x194f58:PP(_0x194f58,this['_model']);if(this['_trackingSessionId']&&(_0x1ad382['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0xf340e2=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0xe653e8,'accept');return this['forceDefaultExecution'](()=>_0xf340e2([_0x2e65cf],_0xfc4948,_0x1ad382)),null;}_0x4e84de['push'](_0x2e65cf);let _0x31f6f9=!0x0;for(const _0x5344c2 of _0x4e84de)if(!this['_rangeIsInLocalUserInsertion'](_0x5344c2)){_0x31f6f9=!0x1;break;}if(_0x31f6f9&&'always'!==this['_trackFormatChanges']){const _0x7fdd06=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0xe653e8,'accept');return this['forceDefaultExecution'](()=>_0x7fdd06([_0x2e65cf],_0xfc4948,_0x1ad382)),null;}let _0x2d9159=null,_0x21dbf1=_0x2e65cf['start'],_0x4a6217=_0x2e65cf['end'];for(const {suggestion:_0x1d2517,meta:_0x381b21}of this['_findSuggestions'](_0x2e65cf,'formatBlock')){if(!_0x381b21['isOwn'])continue;if(_0x381b21['isNextTo']||_0x381b21['containsRangeInObject']||_0x381b21['isInsideObject'])continue;if(_0x1d2517['data']['formatGroupId']!=_0xfc4948['formatGroupId'])continue;if(!LP(_0x1d2517,_0x1ad382))continue;const _0x53c707=_0x1d2517['getFirstRange']();if(_0x1d2517['subType']==_0xe653e8){if(_0x53c707['containsRange'](_0x2e65cf,!0x0))return null;_0x21dbf1=_0x21dbf1['isBefore'](_0x53c707['start'])?_0x21dbf1:_0x53c707['start'],_0x4a6217=_0x4a6217['isAfter'](_0x53c707['end'])?_0x4a6217:_0x53c707['end'],_0x2d9159?_0x53c707['start']['isBefore'](_0x2d9159['getFirstRange']()['start'])?(_0x2d9159['removeMarkers'](),_0x2d9159=_0x1d2517):_0x1d2517['removeMarkers']():_0x2d9159=_0x1d2517;}else{const _0x4b7862=_0x2e65cf['getIntersection'](_0x53c707);this['_cutOutSuggestionMarker'](_0x1d2517,_0x4b7862);}}const _0x41090c=this['editor']['plugins']['get']('Users')['me'],_0x4ca5dc=_0x10825a(),_0x558723=_0x41090c['id'];if(_0x2d9159)return this['_setSuggestionRange'](_0x2d9159,this['_model']['createRange'](_0x21dbf1,_0x4a6217)),_0x2d9159;{const _0x1806d9=this['_setSuggestionData']({'id':_0x4ca5dc,'type':'formatBlock:'+_0xe653e8,'data':_0xfc4948,'createdAt':new Date(),'authorId':_0x558723,'attributes':_0x1ad382});return this['_addSuggestionMarker']('formatBlock:'+_0xe653e8,_0x4ca5dc,_0x558723,this['_model']['createRange'](_0x21dbf1,_0x4a6217)),_0x1806d9;}}['markMultiRangeBlockFormat'](_0x1680c6,_0x1bfcdd,_0x58e2a2=[],_0x3da81f=null,_0x4a88e3={}){_0x1bfcdd['formatGroupId']||(_0x1bfcdd['formatGroupId']=_0x1bfcdd['commandName']);const _0x2cdf8b=_0x1680c6[0x0];_0x1bfcdd['multipleBlocks']=_0x2cdf8b['is']('range'),_0x3da81f=_0x3da81f||IP(_0x1bfcdd);const _0x29854b=_0x58e2a2['map'](_0x32e436=>PP(_0x32e436,this['_model'])),_0x32e237=_0x2cdf8b['is']('range')?_0x1680c6:_0x1680c6['map'](_0x323a4e=>PP(_0x323a4e,this['_model']));if(this['_trackingSessionId']&&(_0x4a88e3['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x5ca058=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x3da81f,'accept');return this['forceDefaultExecution'](()=>_0x5ca058(_0x32e237,_0x1bfcdd,_0x4a88e3)),null;}_0x29854b['push'](..._0x32e237);let _0x1c9d27=!0x0;for(const _0xbcfeb7 of _0x29854b)if(!this['_rangeIsInLocalUserInsertion'](_0xbcfeb7)){_0x1c9d27=!0x1;break;}if(_0x1c9d27&&'always'!==this['_trackFormatChanges']){const _0x1e1a29=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x3da81f,'accept');return this['forceDefaultExecution'](()=>_0x1e1a29(_0x32e237,_0x1bfcdd,_0x4a88e3)),null;}const _0x619ea6=this['editor']['plugins']['get']('Users')['me'];for(const _0x150fc8 of this['getSuggestions']()){const _0x69e932=_0x150fc8['data'];if(_0x150fc8['author']['id']!=_0x619ea6['id'])continue;if('formatBlock'!=_0x150fc8['type']||_0x69e932['formatGroupId']!=_0x1bfcdd['formatGroupId'])continue;if(!LP(_0x150fc8,_0x4a88e3))continue;const _0x17dc95=_0x150fc8['subType']==_0x3da81f;for(let _0x47d1e5=0x0;_0x47d1e5<_0x32e237['length'];_0x47d1e5++){const _0x1804d6=_0x32e237[_0x47d1e5];for(const _0x293416 of _0x150fc8['getMarkers']()){const _0x2dbead=_0x293416['getRange']();if(_0x1804d6['isEqual'](_0x2dbead)){_0x17dc95?(_0x32e237['splice'](_0x47d1e5,0x1),_0x47d1e5--):_0x150fc8['removeMarker'](_0x293416['name']);break;}}}}if(0x0==_0x32e237['length'])return null;const _0x1bef05=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x3da81f,'join');for(const _0x36f765 of this['getSuggestions']()){const _0x345d5f=_0x36f765['data'];if(_0x36f765['author']['id']==_0x619ea6['id']&&('formatBlock'==_0x36f765['type']&&_0x345d5f['formatGroupId']==_0x1bfcdd['formatGroupId']&&_0x36f765['subType']==_0x3da81f&&LP(_0x36f765,_0x4a88e3)&&(_0x1bef05(_0x36f765['getRanges'](),_0x32e237)||_0x1bef05(_0x32e237,_0x36f765['getRanges']())))){for(const _0x91eaf1 of _0x32e237)_0x36f765['addRange'](_0x91eaf1);return _0x36f765;}}const _0x72d628=_0x10825a(),_0x4e0736=_0x619ea6['id'],_0x56a9fd='formatBlock:'+_0x3da81f,_0x1372e1=this['_setSuggestionData']({'id':_0x72d628,'type':_0x56a9fd,'data':_0x1bfcdd,'createdAt':new Date(),'authorId':_0x4e0736,'attributes':_0x4a88e3});for(const _0x31932c of _0x32e237)this['_addSuggestionMarker'](_0x56a9fd,_0x72d628,_0x4e0736,_0x31932c,qC['getMultiRangeId']());return _0x1372e1;}['markDeletion'](_0x3419cc,_0x144ebd=null,_0xe56f65={}){if(_0x3419cc['isCollapsed'])return null;const _0x106b1a=this['editor']['plugins']['get']('Users')['me'],_0x3d7ca9=new _0x52b1ee(_0x3419cc['start'],_0x3419cc['end']);this['_trackingSessionId']&&(_0xe56f65['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x1d260e,meta:_0x307279}of this['_findSuggestions'](_0x3d7ca9,'insertion'))if(_0x307279['isOwn']&&!_0x307279['isNextTo']){if(_0x1d260e['isMultiRange']){const _0x3b7d86=_0x1d260e['getRanges']()['filter'](_0x89e33f=>'$graveyard'!=_0x89e33f['root']['rootName']);if(_0x3b7d86['every'](_0x1bbda5=>_0x3d7ca9['containsRange'](_0x1bbda5,!0x0))&&_0x1d260e['discard'](),_0x3b7d86['some'](_0x410e53=>_0x410e53['containsRange'](_0x3d7ca9,!0x0))){const _0x462374=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x144ebd,'accept');return this['forceDefaultExecution'](()=>_0x462374([_0x3d7ca9],null,_0xe56f65)),null;}}else{const _0x3711eb=_0x3d7ca9['getIntersection'](_0x1d260e['getFirstRange']());null!==_0x3711eb&&_0x1d260e['_onDiscard']([_0x3711eb],null,_0xe56f65);}}if(_0x3d7ca9['detach'](),_0x3d7ca9['isCollapsed']||'$graveyard'==_0x3d7ca9['root']['rootName'])return null;let _0x3431d8=null,_0x4808bb=_0x3d7ca9['start'],_0x3f552f=_0x3d7ca9['end'];const _0x130fb5=this['_findSuggestions'](_0x3d7ca9,'deletion');for(const {suggestion:_0x2932f1,meta:_0x2c6a33}of _0x130fb5){const _0x10ae1b=this['_model']['createRange'](_0x4808bb,_0x3f552f);if(_0x2c6a33['isOwn']&&(this['_mergeNestedSuggestions']||!_0x2c6a33['containsRangeInObject']&&!_0x2c6a33['isInsideObject'])){if(_0x2932f1['isMultiRange']){if(!LP(_0x2932f1,_0xe56f65))continue;let _0x3d29ca=!0x0;for(const _0x1af2ec of _0x2932f1['getRanges']()){if(_0x1af2ec['containsRange'](_0x10ae1b,!0x0))return _0x2932f1;_0x10ae1b['containsRange'](_0x1af2ec)||(_0x3d29ca=!0x1);}_0x3d29ca&&_0x2932f1['discard']();}else{const _0x47f98d=_0x2932f1['getFirstRange']();if(_0x47f98d['containsRange'](_0x10ae1b,!0x0))return _0x2932f1;if(!LP(_0x2932f1,_0xe56f65)){_0x10ae1b['containsRange'](_0x47f98d)?_0x2932f1['removeMarkers']():_0x47f98d['containsPosition'](_0x4808bb)?_0x4808bb=_0x47f98d['end']:_0x47f98d['containsPosition'](_0x3f552f)&&(_0x3f552f=_0x47f98d['start']);continue;}_0x4808bb=_0x4808bb['isBefore'](_0x47f98d['start'])?_0x4808bb:_0x47f98d['start'],_0x3f552f=_0x3f552f['isAfter'](_0x47f98d['end'])?_0x3f552f:_0x47f98d['end'],_0xe56f65=Object['assign']({},_0x2932f1['attributes']),_0x3431d8?_0x47f98d['start']['isBefore'](_0x3431d8['getFirstRange']()['start'])?(_0x3431d8['removeMarkers'](),_0x3431d8=_0x2932f1):_0x2932f1['removeMarkers']():_0x3431d8=_0x2932f1;}}}if(_0x3431d8)return this['_setSuggestionRange'](_0x3431d8,this['_model']['createRange'](_0x4808bb,_0x3f552f)),_0x3431d8;{const _0x2c2b3b=_0x10825a(),_0x495101=this['_model']['createRange'](_0x4808bb,_0x3f552f),_0x3e3681=_0x106b1a['id'],_0x501310=_0x144ebd?'deletion:'+_0x144ebd:'deletion',_0x298568=this['_setSuggestionData']({'id':_0x2c2b3b,'type':_0x501310,'createdAt':new Date(),'authorId':_0x3e3681,'attributes':_0xe56f65});return this['_addSuggestionMarker'](_0x501310,_0x2c2b3b,_0x3e3681,_0x495101),_0x298568;}}['markMultiRangeDeletion'](_0x4c3901,_0x5c1767='multi',_0x5afb78={}){const _0x5d00db=this['editor']['plugins']['get']('Users')['me'],_0x3e63a4=_0x4c3901['map'](_0xcb26c1=>new _0x52b1ee(_0xcb26c1['start'],_0xcb26c1['end'])),_0x2daea9=new Set();this['_trackingSessionId']&&(_0x5afb78['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x9fb4cb,meta:_0x4a730e}of this['_findSuggestions'](_0x3e63a4,'insertion'))_0x4a730e['isOwn']&&!_0x4a730e['isNextTo']&&_0x2daea9['add'](_0x9fb4cb);for(const _0x4301bf of _0x2daea9)if(_0x4301bf['isMultiRange']){const _0x1e5924=_0x4301bf['getRanges']();if(_0x4301bf['attributes']&&_0x4301bf['attributes']['skipNestingCheck']||_0x1e5924['every'](_0x2ef73b=>_0x3e63a4['some'](_0x28b14e=>_0x28b14e['containsRange'](_0x2ef73b,!0x0)))&&_0x4301bf['discard'](),_0x3e63a4['every'](_0xa0dfbd=>_0x1e5924['some'](_0x2de4de=>_0x2de4de['containsRange'](_0xa0dfbd,!0x0)))){const _0x165870=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x5c1767,'accept');return this['forceDefaultExecution'](()=>_0x165870(_0x4c3901,null,_0x5afb78)),null;}}else{const _0x383e57=_0x4301bf['getFirstRange']();if(_0x3e63a4['some'](_0x2d8099=>_0x2d8099['containsRange'](_0x383e57,!0x0))&&_0x4301bf['discard'](),_0x3e63a4['every'](_0x4346d6=>_0x383e57['containsRange'](_0x4346d6,!0x0))){const _0x36fa7c=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x5c1767,'accept');return this['forceDefaultExecution'](()=>_0x36fa7c(_0x3e63a4,null,_0x5afb78)),null;}}const _0x2e44b4=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x5c1767,'join');let _0x1b7ace=null;for(const _0x2b954c of this['getSuggestions']())if(_0x2b954c['author']['id']==_0x5d00db['id']&&_0x2b954c['isInContent']&&'deletion'==_0x2b954c['type']&&_0x2b954c['subType']==_0x5c1767&&LP(_0x2b954c,_0x5afb78)&&(_0x2e44b4(_0x2b954c['getRanges'](),_0x3e63a4)||_0x2e44b4(_0x3e63a4,_0x2b954c['getRanges']()))){if(_0x1b7ace){if(_0x2b954c['commentThread']&&_0x2b954c['commentThread']['length'])continue;for(const _0x481400 of _0x2b954c['getRanges']())_0x1b7ace['isIntersectingWithRange'](_0x481400)||_0x1b7ace['addRange'](_0x481400);_0x2b954c['removeMarkers']();}else{_0x1b7ace=_0x2b954c;for(const _0x55e189 of _0x3e63a4)_0x2b954c['isIntersectingWithRange'](_0x55e189)||_0x2b954c['addRange'](_0x55e189);}}if(_0x1b7ace)return _0x1b7ace;_0x2daea9['clear']();for(const {suggestion:_0x50b617,meta:_0xfafa18}of this['_findSuggestions'](_0x3e63a4,'deletion'))_0xfafa18['isOwn']&&(this['_mergeNestedSuggestions']||!_0xfafa18['containsRangeInObject']&&!_0xfafa18['isInsideObject'])&&LP(_0x50b617,_0x5afb78)&&_0x2daea9['add'](_0x50b617);for(const _0x470594 of _0x2daea9){const _0x4aa60a=_0x470594['getRanges']();if((!_0x5afb78||!_0x5afb78['skipNestingCheck'])&&_0x3e63a4['every'](_0x3678bf=>_0x4aa60a['some'](_0x2a7f42=>_0x2a7f42['containsRange'](_0x3678bf,!0x0))))return _0x470594;_0x470594['attributes']&&_0x470594['attributes']['skipNestingCheck']||_0x4aa60a['every'](_0x3a1dea=>_0x3e63a4['some'](_0x379c9b=>_0x379c9b['containsRange'](_0x3a1dea,!0x0)))&&_0x470594['discard']();}const _0x5e03d6=_0x10825a(),_0x501278=_0x5d00db['id'],_0x4cfff0='deletion:'+_0x5c1767,_0x2dc117=this['_setSuggestionData']({'id':_0x5e03d6,'type':_0x4cfff0,'createdAt':new Date(),'authorId':_0x501278,'attributes':_0x5afb78});for(const _0x2d5414 of _0x3e63a4)_0x2d5414['detach'](),_0x2d5414['isCollapsed']||'$graveyard'==_0x2d5414['root']['rootName']||this['_addSuggestionMarker'](_0x4cfff0,_0x5e03d6,_0x501278,_0x2d5414,qC['getMultiRangeId']());return _0x2dc117;}['markAttributeChange'](_0x1558a2,_0x336137,_0x81701b,_0x3182e2,_0x16d23f){if(_0x1558a2['isCollapsed'])return[];if('never'===this['_trackFormatChanges'])return[];const _0x4cf13f=this['editor']['plugins']['get']('Users')['me']['id'],_0xa678a4=Array['from'](this['_suggestions']['values']())['filter'](_0x241615=>'attribute'==_0x241615['type']&&_0x241615['data']['key']==_0x336137&&_0x241615['isIntersectingWithRange'](_0x1558a2));if(this['_trackingSessionId']&&(_0x16d23f['trackingSessionId']=this['_trackingSessionId']),'default'===this['_trackFormatChanges']){const _0x570c81=this['_findSuggestions'](_0x1558a2,'insertion')['filter'](({meta:_0x32c573})=>_0x32c573['isOwn']&&!_0x32c573['isInsideObject']&&!_0x32c573['isNextTo'])['map'](({suggestion:_0x103fa2})=>_0x103fa2);_0xa678a4['unshift'](..._0x570c81);}const _0x150cc5=new Map([[_0x1558a2,_0x81701b]]);for(const _0xc7d726 of _0xa678a4){const _0x5ed35b='attribute'==_0xc7d726['type']?_0xc7d726['data']['oldValue']:void 0x0,_0x5e7dbe=_0xc7d726['getFirstRange'](),_0x470e1a=Array['from'](_0x150cc5['keys']())['find'](_0x48887f=>_0x48887f['isIntersecting'](_0x5e7dbe));if(!_0x470e1a)continue;const _0x315175=_0x470e1a['getDifference'](_0x5e7dbe);this['_suggestionsConversion']['isBlockAttribute'](_0x336137)&&'insertion'==_0xc7d726['type']&&0x0!=_0x315175['length']||(_0x150cc5['delete'](_0x470e1a),_0x315175['forEach'](_0x23a5f8=>{_0x150cc5['set'](_0x23a5f8,_0x81701b);}),'insertion'!=_0xc7d726['type']&&_0x5ed35b!=_0x3182e2&&_0x150cc5['set'](_0x470e1a['getIntersection'](_0x5e7dbe),_0x5ed35b));}const _0x21acb9=[];for(const [_0x481aa3,_0x15f082]of _0x150cc5){const _0x157498=_0x10825a(),_0x2bd714={'key':_0x336137,'oldValue':_0x15f082,'newValue':_0x3182e2};_0x336137['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':_0x336137});const _0x392789=('attribute:'+_0x336137+'|'+IP({'newValue':_0x3182e2}))['substring'](0x0,0x3c),_0x40ab7d=this['_setSuggestionData']({'id':_0x157498,'type':_0x392789,'data':_0x2bd714,'createdAt':new Date(),'authorId':_0x4cf13f,'attributes':_0x16d23f});_0x21acb9['push'](_0x40ab7d),this['_addSuggestionMarker'](_0x392789,_0x157498,_0x4cf13f,_0x481aa3);}return _0x21acb9;}['enableDefaultAttributesIntegration'](_0x165ce2){this['enableCommand'](_0x165ce2,(_0x5c53e9,..._0x496492)=>{this['recordAttributeChanges'](()=>{_0x5c53e9(..._0x496492);});});}['startTrackingSession'](_0x323ff1){return this['_trackingSessionId']=void 0x0!==_0x323ff1?_0x323ff1:_0x10825a(),this['_trackingSessionId'];}['_getAttributeKey'](_0x25cda4){return'attribute'==_0x25cda4['type']?DP(_0x25cda4['subType']):null;}['_applyOperationsAsSuggestions'](_0x456044){if(0x0==_0x456044['length'])return;const _0x4efcbc=this['editor'],_0x1997df=_0x4efcbc['plugins']['get'](tf),_0x149519=[],_0x27211e=_0x128f4f=>{const _0x249942=_0x128f4f['_aiSource'];return _0x249942?{'@ai':{'type':_0x249942}}:{};},_0x26f4a7=(_0x11a5fb,_0xf09c05,_0x203da5)=>{for(let _0x4e56de=_0xf09c05;_0x4e56de<_0x11a5fb['operations']['length'];_0x4e56de++){const _0x1b7896=_0x11a5fb['operations'][_0x4e56de];'marker'===_0x1b7896['type']&&(_0x1b7896['_aiSource']=_0x203da5);}};_0x4efcbc['model']['change'](_0x2524e5=>{for(let _0x155d5b=0x0;_0x155d5b<_0x456044['length'];_0x155d5b++){const _0x33acb8=_0x456044[_0x155d5b],_0x5c9635=_0x33acb8['_aiSource'],_0x189993=_0x2524e5['batch']['operations']['length'];if(_0x33acb8['baseVersion']=_0x4efcbc['model']['document']['version'],_0x33acb8['isDocumentOperation']=!0x0,_0x1997df['isMarkedRemoveOperation'](_0x33acb8)){const _0x532f11=va(_0x33acb8['newRange'],_0x4efcbc['model']);_0x149519['unshift']({'range':_0x52b1ee['fromRange'](_0x532f11),'opAttributes':_0x27211e(_0x33acb8),'aiSource':_0x5c9635});}else{switch(_0x33acb8['type']){case'rename':{const _0x125c86=_0x33acb8['oldName'],_0x18df6a=_0x33acb8['newName'];if(_0x125c86==_0x18df6a)break;_0x2524e5['batch']['addOperation'](_0x33acb8),_0x4efcbc['model']['applyOperation'](_0x33acb8);const _0x2fb128='$elementName',_0x513bb3=_0x33acb8['position'],_0x10101c=_0x4efcbc['model']['createRange'](_0x513bb3,_0x4efcbc['model']['createPositionAt'](_0x513bb3['nodeAfter'],'end'));this['markAttributeChange'](_0x10101c,_0x2fb128,_0x125c86,_0x18df6a,{..._0x27211e(_0x33acb8),'groupId':_0x10825a()});break;}case'addAttribute':case'removeAttribute':case'changeAttribute':{const _0x34f463=_0x33acb8['oldValue'],_0xefa952=_0x33acb8['newValue'];if(_0x34f463==_0xefa952)break;_0x2524e5['batch']['addOperation'](_0x33acb8),_0x4efcbc['model']['applyOperation'](_0x33acb8);const _0x7e398=_0x33acb8['key'];if(!this['_suggestionsConversion']['isRegisteredAttribute'](_0x7e398))break;const _0x49cabb=va(_0x33acb8['range'],_0x4efcbc['model']);this['markAttributeChange'](_0x49cabb,_0x7e398,_0x34f463,_0xefa952,{..._0x27211e(_0x33acb8),'groupId':_0x10825a()});break;}case'insert':{if(_0x2524e5['batch']['addOperation'](_0x33acb8),_0x4efcbc['model']['applyOperation'](_0x33acb8),_0x456044[_0x155d5b+0x1]&&'move'==_0x456044[_0x155d5b+0x1]['type'])break;const _0x588941=_0x33acb8['position'],_0x4499b9=_0x33acb8['howMany'],_0x4b7bed=va(_0x4efcbc['model']['createRange'](_0x588941,_0x588941['getShiftedBy'](_0x4499b9)),_0x4efcbc['model']);this['markInsertion'](_0x4b7bed,null,{..._0x27211e(_0x33acb8)});break;}case'split':{_0x2524e5['batch']['addOperation'](_0x33acb8),_0x4efcbc['model']['applyOperation'](_0x33acb8);const _0x18c39a=_0x33acb8['splitPosition'],_0x301652=_0x33acb8['moveTargetPosition'],_0xdf3707=_0x4efcbc['model']['createRange'](_0x18c39a,_0x301652);this['markInsertion'](_0xdf3707,null,{..._0x27211e(_0x33acb8)});break;}case'move':case'remove':_0x2524e5['batch']['addOperation'](_0x33acb8),_0x4efcbc['model']['applyOperation'](_0x33acb8);}_0x5c9635&&_0x26f4a7(_0x2524e5['batch'],_0x189993,_0x5c9635);}}for(const {range:_0x6d36e3,opAttributes:_0x39b238,aiSource:_0x5715e9}of _0x149519){const _0x34d2c4=_0x2524e5['batch']['operations']['length'];_0x6d36e3['detach'](),this['markDeletion'](_0x6d36e3,null,{..._0x39b238}),_0x5715e9&&_0x26f4a7(_0x2524e5['batch'],_0x34d2c4,_0x5715e9);}});}['_setSuggestionRange'](_0x5e4827,_0x1c7080){const _0x17bf63=_0x5e4827['getFirstMarker']();this['_model']['change'](_0x3d6f43=>{_0x3d6f43['updateMarker'](_0x17bf63,{'range':_0x1c7080});});}['_addThreadToSuggestion'](_0x5c38d7){const _0x56321e=_0x5c38d7['id'],_0x27eab5=this['editor']['config']['get']('collaboration.channelId');this['_commentsRepository']['hasCommentThread'](_0x56321e)||this['_commentsRepository']['addCommentThread']({'channelId':_0x27eab5,'threadId':_0x56321e,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x4f5aaa=this['_commentsRepository']['getCommentThread'](_0x56321e);_0x4f5aaa['unbind']('isRemovable'),_0x4f5aaa['isRemovable']=!0x1,_0x5c38d7['commentThread']=_0x4f5aaa;}['_checkSuggestionCorrectness'](_0x23bf42,_0x59c92f,_0x3f09c5,_0xe86919){if(_0x23bf42['type']!=_0x59c92f||_0x23bf42['subType']!=_0x3f09c5||_0x23bf42['creator']['id']!=_0xe86919)throw this['editor']['enableReadOnlyMode']('track-changes-suggestion-data-mismatch'),new _0x5b5a95('track-changes-suggestion-data-mismatch',this);}['_cutOutSuggestionMarker'](_0x343dc5,_0x39cb0d){const _0x114b13=_0x343dc5['getFirstRange']();if(_0x39cb0d['isEqual'](_0x114b13))_0x343dc5['removeMarkers']();else{if(_0x114b13['containsRange'](_0x39cb0d)){const _0x5e82bd=this['_model']['createPositionAt'](_0x39cb0d['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x343dc5,this['_model']['createRange'](_0x114b13['start'],_0x5e82bd));const _0x5a8608=_0x10825a(),_0x1ebf7a=_0x343dc5['creator']['id'],_0x577b60=_0x343dc5['type']+':'+_0x343dc5['subType'];this['_setSuggestionData']({'id':_0x5a8608,'type':_0x577b60,'createdAt':new Date(),'authorId':_0x1ebf7a,'data':_0x343dc5['data'],'attributes':_0x343dc5['attributes']});const _0x7ab153=this['_model']['createPositionAt'](_0x39cb0d['end']['parent'],'after'),_0x267dcc=this['_model']['createRange'](_0x7ab153,_0x114b13['end']);this['_addSuggestionMarker'](_0x577b60,_0x5a8608,_0x1ebf7a,_0x267dcc);}else{if(_0x114b13['containsPosition'](_0x39cb0d['start'])){const _0x158c14=this['_model']['createPositionAt'](_0x39cb0d['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x343dc5,this['_model']['createRange'](_0x114b13['start'],_0x158c14));}else{const _0x4401f6=this['_model']['createPositionAt'](_0x39cb0d['end']['parent'],'after');this['_setSuggestionRange'](_0x343dc5,this['_model']['createRange'](_0x4401f6,_0x114b13['end']));}}}}['_rangeIsInLocalUserInsertion'](_0x207542){for(const {suggestion:_0x49867b,meta:_0x443eb6}of this['_findSuggestions'](_0x207542,'insertion')){if(!_0x443eb6['isOwn'])continue;const _0x253b86=_0x49867b['getRanges']();for(const _0x2a565b of _0x253b86)if(!_0x207542['getDifference'](_0x2a565b)['length'])return!0x0;}return!0x1;}['_getAuthorFromId'](_0x1ead7b){return this['editor']['plugins']['get']('Users')['getUser'](_0x1ead7b);}['_getExternalAuthor'](_0x2f422e){const _0x1158b3=this['editor']['plugins']['get']('Users'),_0x2fa0bd=bd('external:'+_0x2f422e),_0x529a0d=_0x1158b3['getUser'](_0x2fa0bd);return _0x529a0d||_0x1158b3['addUser']({'id':_0x2fa0bd,'name':_0x2f422e});}['_createSuggestion'](_0xdd8208,_0x38c9c6,_0x17eca6,_0x33a74e,_0x25ce37,_0x4d2d80){const _0x18b856=this['_getAuthorFromId'](_0x33a74e);if(!_0x18b856)throw new _0x5b5a95('track-changes-user-not-found',this,{'authorId':_0x33a74e,'suggestionId':_0x17eca6});const _0x1b3167=this['_suggestionFactory']['buildSuggestion'](_0xdd8208,_0x38c9c6,_0x17eca6,_0x18b856,_0x25ce37,_0x5a1108=>{this['_updateSuggestionData'](_0x17eca6,{'attributes':_0x5a1108});const _0x1a025a=this['getSuggestion'](_0x17eca6);this['_joinWithAdjacentSuggestions'](new Set([_0x1a025a])),this['_refreshSuggestionsChain'](new Set([_0x1a025a]));},_0x4d2d80);return this['listenTo'](_0x1b3167,'accept',()=>{this['_updateSuggestionData'](_0x17eca6,{'state':'accepted'});},{'priority':'high'}),this['listenTo'](_0x1b3167,'discard',()=>{this['_updateSuggestionData'](_0x17eca6,{'state':'rejected'});},{'priority':'high'}),this['_suggestions']['set'](_0x17eca6,_0x1b3167),this['_suggestionState']['set'](_0x1b3167,'notReady'),_0x1b3167;}['_breakSuggestionMarker'](_0x2d95c6,_0x2caee5,_0x1b2581){const _0x5e92e8=_0x2d95c6['getFirstRange'](),_0x5b9bd3=_0x5e92e8['start'],_0x24b1cb=_0x5e92e8['end'];this['_setSuggestionRange'](_0x2d95c6,this['_model']['createRange'](_0x5b9bd3,_0x2caee5));const _0xba92ed=_0x10825a(),_0x5b5c3c=_0x2d95c6['creator']['id'],_0x4e28fb=_0x2d95c6['type']+(_0x2d95c6['subType']?':'+_0x2d95c6['subType']:'');this['_setSuggestionData']({'id':_0xba92ed,'type':_0x4e28fb,'createdAt':new Date(),'authorId':_0x5b5c3c,'originalSuggestionId':_0x2d95c6['_originalSuggestionId']||_0x2d95c6['id'],'attributes':_0x2d95c6['attributes'],'data':_0x2d95c6['data']});const _0x4be674=this['_getAttributeKey'](_0x2d95c6);('formatBlock'==_0x2d95c6['type']||_0x4be674&&this['_suggestionsConversion']['isBlockAttribute'](_0x4be674))&&(_0x1b2581=this['_model']['createPositionBefore'](_0x1b2581['parent'])),this['_addSuggestionMarker'](_0x4e28fb,_0xba92ed,_0x5b5c3c,this['_model']['createRange'](_0x1b2581,_0x24b1cb));}['_findSuggestions'](_0x83a636,_0x2e1e26=null){const _0x5dda45=[],_0x39c051=this['editor']['plugins']['get']('Users')['me'];Array['isArray'](_0x83a636)||(_0x83a636=[_0x83a636]);for(const _0x559c41 of this['getSuggestions']()){if(!_0x559c41['isInContent'])continue;if(_0x2e1e26&&_0x559c41['type']!=_0x2e1e26)continue;let _0x574870=!0x1;for(const _0x26ad99 of _0x559c41['getRanges']()){for(const _0x14021a of _0x83a636){const _0x2e23d0=_0x14021a['start']['isEqual'](_0x26ad99['end'])||_0x14021a['end']['isEqual'](_0x26ad99['start']);if(_0x2e23d0||_0x14021a['getIntersection'](_0x26ad99)){const _0x5f213b=_0x14021a['containsRange'](_0x26ad99)&&TP(this['_model']['schema'],_0x26ad99['start'],_0x14021a),_0x221671=_0x26ad99['containsRange'](_0x14021a)&&TP(this['_model']['schema'],_0x14021a['start'],_0x26ad99);_0x5dda45['push']({'suggestion':_0x559c41,'meta':{'isOwn':_0x39c051==_0x559c41['author'],'isNextTo':_0x2e23d0,'isInsideObject':_0x5f213b,'containsRangeInObject':_0x221671}}),_0x574870=!0x0;break;}}if(_0x574870)break;}}return _0x5dda45;}['_addSuggestionMarker'](_0x13b8e9,_0x573597,_0x1d279b,_0x1869e6,_0x1cedff){this['_model']['change'](_0x388f7c=>{let _0x2c6e99='suggestion:'+_0x13b8e9+':'+_0x573597+':'+_0x1d279b;_0x1cedff&&(_0x2c6e99=_0x2c6e99+':'+_0x1cedff),_0x388f7c['addMarker'](_0x2c6e99,{'range':_0x1869e6,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0x37c6e2){const _0x2d14e2=_0x37c6e2['previous'],_0x5947a1=_0x37c6e2['next'];_0x37c6e2['previous']=null,_0x37c6e2['next']=null,null!=_0x2d14e2&&_0x2d14e2['next']==_0x37c6e2&&(_0x2d14e2['next']=_0x5947a1),null!=_0x5947a1&&_0x5947a1['previous']==_0x37c6e2&&(_0x5947a1['previous']=_0x2d14e2),'ready'==this['_suggestionState']['get'](_0x37c6e2)&&(this['_suggestionState']['set'](_0x37c6e2,'removed'),this['fire']('suggestionUnloaded',_0x37c6e2,_0x2d14e2,_0x5947a1));}['_setSuggestionData'](_0x297795){const _0x3fdf8c=_0x297795['id'],_0x3d9960=this['addSuggestionData'](_0x297795);if(this['_adapter']&&this['_adapter']['addSuggestion']){const _0x2401c1=this['editor']['plugins']['get']('PendingActions'),_0x4e5569=_0x3d9960['hasComments'],_0x1e30e7=_0x3d9960['subType']?_0x3d9960['type']+':'+_0x3d9960['subType']:_0x3d9960['type'],_0x147a9f=this['editor']['locale'],_0x4b9d0b=_0x2401c1['add'](WC(_0x147a9f,'PENDING_ACTION_SUGGESTION')),_0x4e1aa8={'id':_0x3fdf8c,'type':_0x1e30e7,'hasComments':_0x4e5569,'data':_0x297795['data']||null,'originalSuggestionId':_0x297795['originalSuggestionId']||null,'attributes':_0x3d9960['attributes']};this['_adapter']['addSuggestion'](_0x4e1aa8)['then'](_0x30d819=>{_0x3d9960['_saved']=!0x0,_0x2401c1['remove'](_0x4b9d0b),_0x30d819&&_0x30d819['createdAt']&&(this['_suggestions']['get'](_0x3fdf8c)['createdAt']=_0x30d819['createdAt']);})['catch'](_0x2dc65b=>{throw _0x43c457('error-saving-suggestion-data-suggestion-discarded'),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x3d9960['discard']();}),_0x3d9960['stopListening'](),this['_suggestions']['delete'](_0x3d9960['id']),this['_suggestionState']['delete'](_0x3d9960),_0x2dc65b;});}return _0x3d9960;}['_updateSuggestionData'](_0x25056e,_0x246f89){const _0xee6e5a=this['editor']['plugins']['get']('PendingActions'),_0x550852=this['getSuggestion'](_0x25056e);if(this['_adapter']&&this['_adapter']['updateSuggestion']){if(_0x550852['_saved']){const _0x43ce93=_0xee6e5a['add'](WC(this['editor']['locale'],'PENDING_ACTION_SUGGESTION'));this['_adapter']['updateSuggestion'](_0x25056e,_0x246f89)['then'](()=>{_0xee6e5a['remove'](_0x43ce93);});}else _0x550852['on']('change:_saved',()=>{this['_updateSuggestionData'](_0x25056e,_0x246f89);});}}['_getSuggestionData'](_0x47c279){if(!this['_adapter']||!this['_adapter']['getSuggestion'])throw new _0x5b5a95('track-changes-adapter-missing-getsuggestion',this);return this['_adapter']['getSuggestion'](_0x47c279);}['_handleNewSuggestionMarker'](_0x407e71){const {id:_0x54577d,type:_0x2b57ae,subType:_0x5550dc,authorId:_0x155ae4}=ya(_0x407e71),_0x514ad3=this['_suggestions']['get'](_0x54577d)||this['_createSuggestion'](_0x2b57ae,_0x5550dc,_0x54577d,_0x155ae4,{});switch(this['_checkSuggestionCorrectness'](_0x514ad3,_0x2b57ae,_0x5550dc,_0x155ae4),this['_suggestionState']['get'](_0x514ad3)){case'notReady':this['_getSuggestionData'](_0x54577d)['then'](_0x3ce5fb=>{let _0x129677=Promise['resolve']();_0x3ce5fb['hasComments']&&(_0x129677=this['_commentsRepository']['fetchCommentThread']({'channelId':this['editor']['config']['get']('collaboration.channelId'),'threadId':_0x54577d})),_0x129677['then'](()=>{this['addSuggestionData'](_0x3ce5fb)['_saved']=!0x0;});}),this['_suggestionState']['set'](_0x514ad3,'markerReady');break;case'removed':this['_updateSuggestionData'](_0x54577d,{'state':'open'});case'dataReady':this['_suggestionState']['set'](_0x514ad3,'ready'),this['fire']('suggestionLoaded',_0x514ad3);break;case'ready':this['fire']('suggestionChanged',_0x514ad3);}return _0x514ad3['addMarkerName'](_0x407e71),_0x514ad3;}['_refreshSuggestionsChain'](_0x30951e){const _0x3be267=Array['from'](_0x30951e),_0x1fa840=_0x3be267['filter'](_0x397327=>'attribute'==_0x397327['type']);this['_refreshAttributeSuggestionsChain'](_0x1fa840);const _0x130f09=_0x3be267['filter'](_0x228f40=>!_0x228f40['isMultiRange']&&'attribute'!=_0x228f40['type']),_0x135632=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x48ff40=>!_0x48ff40['isMultiRange']&&'attribute'!=_0x48ff40['type']),_0x403ce7=_0x135632['filter'](_0x3ab0c4=>!_0x30951e['has'](_0x3ab0c4)),_0xb261b8=new Map(_0x135632['map'](_0x353e6d=>[_0x353e6d,this['_suggestionFactory']['getSuggestionCallback'](_0x353e6d['type'],_0x353e6d['subType'],'chain')])),_0x4b7152=new Map(_0x135632['map'](_0x4eed99=>[_0x4eed99,_0x4eed99['getFirstRange']()])),_0x39c632=new Set(),_0x4e0464=new Set();for(let _0x291651=0x0;_0x291651<_0x130f09['length'];_0x291651++)_0x3b8444(_0x130f09[_0x291651],_0x130f09,_0x291651+0x1);for(let _0x5d441c=0x0;_0x5d441c<_0x130f09['length'];_0x5d441c++)_0x3b8444(_0x130f09[_0x5d441c],_0x403ce7,0x0);const _0x59ed15=new Set();for(let _0x1d35b8=0x0;_0x1d35b8<_0x130f09['length'];_0x1d35b8++){const _0x525ecf=_0x130f09[_0x1d35b8];!_0x4e0464['has'](_0x525ecf)&&_0x525ecf['previous']&&(_0x59ed15['add'](_0x525ecf['previous']),_0x525ecf['previous']['next']===_0x525ecf&&(_0x525ecf['previous']['next']=null),_0x525ecf['previous']=null),!_0x39c632['has'](_0x525ecf)&&_0x525ecf['next']&&(_0x59ed15['add'](_0x525ecf['next']),_0x525ecf['next']['previous']===_0x525ecf&&(_0x525ecf['next']['previous']=null),_0x525ecf['next']=null);}function _0x3b8444(_0x276029,_0x4888f6,_0x1329d9){for(let _0x526e47=_0x1329d9;_0x526e47<_0x4888f6['length'];_0x526e47++){const _0x1a578b=_0x4dde27(_0x276029,_0x4888f6[_0x526e47]);_0x1a578b&&(_0x1a578b[0x0]['next']=_0x1a578b[0x1],_0x1a578b[0x1]['previous']=_0x1a578b[0x0],_0x39c632['add'](_0x1a578b[0x0]),_0x4e0464['add'](_0x1a578b[0x1]));}}function _0x4dde27(_0xc0a557,_0x28b1a1){if(_0xc0a557['author']['id']!==_0x28b1a1['author']['id'])return null;const _0x534042=_0xb261b8['get'](_0xc0a557)(_0xc0a557,_0x28b1a1,_0x4b7152['get'](_0xc0a557),_0x4b7152['get'](_0x28b1a1));return _0x534042&&_0xb261b8['get'](_0x28b1a1)(_0xc0a557,_0x28b1a1,_0x4b7152['get'](_0xc0a557),_0x4b7152['get'](_0x28b1a1))?_0x534042[0x1]['commentThread']&&_0x534042[0x1]['commentThread']['length']?null:_0x534042:null;}_0x59ed15['size']&&this['_refreshSuggestionsChain'](_0x59ed15);}['_refreshAttributeSuggestionsChain'](_0x547434){if(0x0==_0x547434['length'])return;const _0x3b76c8=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x524b9d=>'attribute'==_0x524b9d['type']&&_0x524b9d['_isDataLoaded']),_0x80a4ad=[],_0x4dd333=new Map();for(const _0x1a24f5 of _0x3b76c8){const _0x595aa8=bd(_0x1a24f5['attributes']);_0x4dd333['has'](_0x595aa8)||(_0x4dd333['set'](_0x595aa8,_0x80a4ad['length']),_0x80a4ad['push']([])),_0x80a4ad[_0x4dd333['get'](_0x595aa8)]['push'](_0x1a24f5);}!(function(){_0x80a4ad['sort']((_0x63f95b,_0x4be7cd)=>{const _0x190514=_0x63f95b[0x0]['createdAt'],_0x24915c=_0x4be7cd[0x0]['createdAt'];return _0x190514==_0x24915c?_0x63f95b[0x0]['attributes']['groupId']<_0x4be7cd[0x0]['attributes']['groupId']?-0x1:0x1:_0x190514<_0x24915c?-0x1:0x1;});for(const _0x5da838 of _0x80a4ad)_0x5da838['sort']((_0x1eb9f1,_0x324bab)=>_0x1eb9f1['id']<_0x324bab['id']?-0x1:0x1);}());for(let _0x11d946=0x0;_0x11d946<_0x80a4ad['length'];_0x11d946++){if(0x0==_0x80a4ad[_0x11d946]['length'])continue;const _0x3b5b46=[];for(let _0x1c38d0=_0x11d946+0x1;_0x1c38d0<_0x80a4ad['length'];_0x1c38d0++)0x0!=_0x80a4ad[_0x1c38d0]['length']&&_0x28bd51(_0x80a4ad[_0x11d946],_0x80a4ad[_0x1c38d0])&&_0x3b5b46['push'](_0x1c38d0);for(const _0x15f58e of _0x3b5b46)_0x80a4ad[_0x11d946]=_0x80a4ad[_0x11d946]['concat'](_0x80a4ad[_0x15f58e]),_0x80a4ad[_0x15f58e]=[];}for(const _0x3ed6d3 of _0x80a4ad)for(let _0xaba88=0x0;_0xaba88<_0x3ed6d3['length'];_0xaba88++){const _0x269338=_0x3ed6d3[_0xaba88+0x1]||null;_0x3ed6d3[_0xaba88]['next']!==_0x269338&&(_0x3ed6d3[_0xaba88]['next']=_0x269338);}for(const _0x587c25 of _0x80a4ad)for(let _0x122a9f=0x0;_0x122a9f<_0x587c25['length'];_0x122a9f++){const _0x5aaf76=_0x587c25[_0x122a9f-0x1]||null;_0x587c25[_0x122a9f]['previous']!==_0x5aaf76&&(_0x587c25[_0x122a9f]['previous']=_0x5aaf76);}function _0x28bd51(_0x2cb557,_0x2ea4e6){return(_0x2cb557[0x0]['attributes']['groupId']===_0x2ea4e6[0x0]['attributes']['groupId']||_0x2cb557[0x0]['author']===_0x2ea4e6[0x0]['author'])&&(!!function(_0x33d579,_0x299247){return!_0x33d579['hasComments']&&!_0x299247['hasComments']||(!_0x33d579['hasComments']||!_0x299247['hasComments'])&&(!!(_0x33d579['hasComments']&&_0x299247['createdAt']<_0x33d579['commentThread']['comments']['get'](0x0)['createdAt'])||!!(_0x299247['hasComments']&&_0x33d579['createdAt']<_0x299247['commentThread']['comments']['get'](0x0)['createdAt']));}(_0x2cb557[0x0],_0x2ea4e6[0x0])&&(!!qr(Oo(_0x2cb557[0x0]['attributes'],['groupId','trackingSessionId']),Oo(_0x2ea4e6[0x0]['attributes'],['groupId','trackingSessionId']))&&(_0x2cb557[0x0]['attributes']['groupId']==_0x2ea4e6[0x0]['attributes']['groupId']||_0x2cb557[0x0]['attributes']['trackingSessionId']===_0x2ea4e6[0x0]['attributes']['trackingSessionId']&&(!!_0x2cb557['every'](_0xd24de6=>_0x2ea4e6['some'](_0x297c31=>_0xd24de6['getFirstRange']()['isEqual'](_0x297c31['getFirstRange']())))&&_0x2ea4e6['every'](_0xb19cf6=>_0x2cb557['some'](_0x4e3b36=>_0xb19cf6['getFirstRange']()['isEqual'](_0x4e3b36['getFirstRange']())))))));}}['_joinWithAdjacentSuggestions'](_0x52a616){const _0x20dadd=Array['from'](_0x52a616),_0x3616b5=this['getSuggestions']({'skipNotAttached':!0x0}),_0x399018=_0x3616b5['filter'](_0x4fcdec=>!_0x52a616['has'](_0x4fcdec)),_0x228e82=new Map(_0x20dadd['map'](_0x4be40d=>[_0x4be40d,this['_suggestionFactory']['getSuggestionCallback'](_0x4be40d['type'],_0x4be40d['subType'],'join')])),_0x43d98f=new Map(_0x3616b5['map'](_0x4287a3=>[_0x4287a3,_0x4287a3['getRanges']()]));for(let _0x5600ec=0x0;_0x5600ec<_0x20dadd['length'];_0x5600ec++)if(_0x258681(this,_0x20dadd[_0x5600ec],_0x20dadd,_0x5600ec+0x1))return!0x0;for(let _0x1dd7b6=0x0;_0x1dd7b6<_0x20dadd['length'];_0x1dd7b6++)if(_0x258681(this,_0x20dadd[_0x1dd7b6],_0x399018,0x0))return!0x0;return!0x1;function _0x258681(_0x189f7d,_0x44ab85,_0x3b4100,_0x5f4984){for(let _0x4bd122=_0x5f4984;_0x4bd122<_0x3b4100['length'];_0x4bd122++){const _0xba2ba5=_0x3b4100[_0x4bd122];if(_0xba2ba5['type']!==_0x44ab85['type']||_0xba2ba5['author']['id']!==_0x44ab85['author']['id']||_0xba2ba5['subType']!==_0x44ab85['subType'])continue;if(!NP(_0x44ab85,_0xba2ba5))continue;if('attribute'==_0x44ab85['type']&&_0x44ab85['data']['oldValue']!=_0xba2ba5['data']['oldValue'])continue;if('attribute'==_0x44ab85['type']&&_0x189f7d['_suggestionsConversion']['isBlockAttribute'](_0x44ab85['data']['key']))continue;if('formatBlock'==_0x44ab85['type']){const _0x2f26d8=_0x189f7d['editor']['model'],_0x1d2d6b=_0x44ab85['getContainedElement']();if(_0x1d2d6b&&(_0x2f26d8['schema']['isObject'](_0x1d2d6b)||_0x2f26d8['schema']['isLimit'](_0x1d2d6b)))continue;}const _0x29d0dd=_0x228e82['get'](_0x44ab85),_0x4b4ff3=_0x43d98f['get'](_0x44ab85),_0x318a54=_0x43d98f['get'](_0xba2ba5),_0x1f5155=_0x44ab85['commentThread']&&_0x44ab85['commentThread']['length'],_0x99853c=_0xba2ba5['commentThread']&&_0xba2ba5['commentThread']['length'];if(!_0x1f5155&&_0x29d0dd(_0x318a54,_0x4b4ff3))return _0x189f7d['_joinSuggestions'](_0xba2ba5,_0x44ab85),_0x43d98f['delete'](_0x44ab85),!0x0;if(!_0x99853c&&_0x29d0dd(_0x4b4ff3,_0x318a54))return _0x189f7d['_joinSuggestions'](_0x44ab85,_0xba2ba5),_0x43d98f['delete'](_0xba2ba5),!0x0;}return!0x1;}}['_joinSuggestions'](_0x1d585c,_0x54f3aa){if(_0x1d585c['isMultiRange']){for(const _0x109d73 of _0x54f3aa['getRanges']())_0x1d585c['addRange'](_0x109d73);}else{const _0x11a928=_0x54f3aa['getFirstRange']()['end'];this['_setSuggestionRange'](_0x1d585c,this['_model']['createRange'](_0x1d585c['getFirstRange']()['start'],_0x11a928));}_0x54f3aa['removeMarkers']();}['_getMarkerAnnouncementText'](_0x52fbaa,_0x189af9,_0x534d5e){const _0xa887f3=_0x52fbaa['startsWith']('format')||_0x52fbaa['startsWith']('attribute')?'FORMATTING':_0x52fbaa['toUpperCase']();return WC(this['editor']['locale'],_0x189af9+'_'+_0xa887f3+'_SUGGESTION_ANNOUNCEMENT',_0x534d5e);}['_initAriaMarkerChangeAnnouncements'](){const _0x5f1c85=this['editor'];if(!_0x5f1c85['ui'])return;const {ariaLiveAnnouncer:_0x42824a}=_0x5f1c85['ui'];xd(this['_model'],({left:_0x58edba,entered:_0x4b4e64})=>{for(const _0x1bfda8 of _0x58edba){const {group:_0x473b8c,type:_0x7ee706}=ya(_0x1bfda8['name']);if('suggestion'===_0x473b8c){_0x42824a['announce'](this['_getMarkerAnnouncementText'](_0x7ee706,'LEAVE'));break;}}for(const _0x4a69a1 of _0x4b4e64){const {group:_0x260b43,type:_0x3b1df8}=ya(_0x4a69a1['name']);if('suggestion'===_0x260b43){_0x42824a['announce'](this['_getMarkerAnnouncementText'](_0x3b1df8,'ENTER',_0x275aec(Cd)));break;}}});}['_processAttributeChanges'](_0x127d78){if(this['_recordAttributeSuggestions'])return!0x1;const _0xa65f87=this['editor'],_0x5514a5=_0xa65f87['model']['document']['differ']['getChanges']();if(0x0==_0x5514a5['length'])return!0x1;const _0x512879=[],_0xb7f50d=_0x5514a5['filter'](_0x170979=>'attribute'==_0x170979['type']),_0x5a6c36=_0x5514a5['filter'](_0x18e875=>'insert'==_0x18e875['type']&&'$text'!=_0x18e875['name']),_0x3c2aaf=_0x5514a5['filter'](_0x4a4a0c=>'remove'==_0x4a4a0c['type']&&'$text'!=_0x4a4a0c['name']);for(const _0x577c82 of _0xb7f50d)_0x512879['push']({'key':_0x577c82['attributeKey'],'newValue':_0x577c82['attributeNewValue'],'oldValue':_0x577c82['attributeOldValue'],'range':RP(_0x577c82['range'],_0xa65f87['model'])});for(const _0x138be4 of _0x5a6c36){const _0x2250b5=_0x3c2aaf['find'](_0x1d3b4b=>_0x1d3b4b['position']['isEqual'](_0x138be4['position']));_0x2250b5&&_0x512879['push']({'key':vP,'newValue':_0x138be4['name'],'oldValue':_0x2250b5['name'],'range':_0xa65f87['model']['createRangeOn'](_0x138be4['position']['nodeAfter'])});}return 0x0!=_0x512879['length']&&this['_reduceExistingSuggestions'](_0x127d78,_0x512879);}['_processAttributeSuggestions'](_0x3d0941){let _0x225af7=!0x1;const _0x4eafd8=this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x50e0ca=>_0x50e0ca['data']['newRange']&&_0x50e0ca['name']['startsWith']('suggestion:attribute:'));for(const _0x899548 of _0x4eafd8){const {subType:_0x13941e,id:_0x4b2bd5}=ya(_0x899548['name']),_0x14a2a4=_0x13941e['split']('|')[0x0];for(const _0x3bc4c3 of this['getSuggestions']({'skipNotAttached':!0x0}))_0x3bc4c3['id']!=_0x4b2bd5&&'attribute'==_0x3bc4c3['type']&&_0x3bc4c3['data']&&_0x3bc4c3['data']['key']==_0x14a2a4&&_0x3bc4c3['getFirstRange']()['isIntersecting'](_0x899548['data']['newRange'])&&(this['_reduceSuggestionAttributeRange'](_0x3bc4c3,_0x899548['data']['newRange'],_0x3d0941),_0x225af7=!0x0);}return _0x225af7;}['recordAttributeChanges'](_0x46f1b2){this['_recordAttributeSuggestions']=!0x0,_0x46f1b2();}['_reduceExistingSuggestions'](_0x49236c,_0x4ddd3d){if(0x0==_0x4ddd3d['length'])return!0x1;let _0x1621ee=!0x1;for(const _0x63df43 of _0x4ddd3d){const _0x5d1d6a=this['_findSuggestions'](_0x63df43['range'],'attribute')['filter'](_0x4961fa=>!_0x4961fa['meta']['isNextTo'])['map'](_0x444092=>_0x444092['suggestion']),_0x33397b=bd({'newValue':_0x63df43['newValue']});_0x5d1d6a['filter'](_0xf430a2=>{const [_0x4c5509,_0x34a51c]=_0xf430a2['subType']['split']('|');return _0x4c5509==_0x63df43['key']&&_0x34a51c!=_0x33397b;})['forEach'](_0x39ceda=>{this['_reduceSuggestionAttributeRange'](_0x39ceda,_0x63df43['range'],_0x49236c),_0x1621ee=!0x0;});}return _0x1621ee;}['_reduceSuggestionAttributeRange'](_0xa208e8,_0x3e1c66,_0x330d55){const _0x51b3e4=_0xa208e8['getFirstRange']()['getDifference'](_0x3e1c66);0x0!==_0x51b3e4['length']?0x1!==_0x51b3e4['length']?this['_breakSuggestionMarker'](_0xa208e8,_0x3e1c66['start'],_0x3e1c66['end']):this['_setSuggestionRange'](_0xa208e8,_0x51b3e4[0x0]):_0x330d55['removeMarker'](_0xa208e8['getFirstMarker']());}},EP=class{['_editor'];['_model'];['_customCallbacks'];['_defaultCallbacks'];constructor(_0x392505){this['_editor']=_0x392505,this['_model']=_0x392505['model'],this['_customCallbacks']=new Map(),this['_defaultCallbacks']=new Map(),this['_registerDefaultCallbacks']();}['buildSuggestion'](_0xebf448,_0x342c0b,_0xdad43e,_0x102eba,_0x5f3142,_0x5e2ddd,_0x2cd551){return new qC(this['_model'],{'type':_0xebf448,'subType':_0x342c0b,'id':_0xdad43e,'originalSuggestionId':_0x2cd551,'author':_0x102eba,'creator':_0x102eba,'attributes':_0x5f3142,'onAttributesChange':_0x5e2ddd,'onAccept':(..._0x1ed3a2)=>this['getSuggestionCallback'](_0xebf448,_0x342c0b,'accept')(..._0x1ed3a2),'onDiscard':(..._0x5f7fed)=>this['getSuggestionCallback'](_0xebf448,_0x342c0b,'discard')(..._0x5f7fed)});}['registerCustomCallback'](_0xe02120,_0x721541,_0x25c69d,_0x3d2b5a){const _0x2e077b=_0xe02120+':'+_0x721541+':'+_0x25c69d;this['_customCallbacks']['set'](_0x2e077b,_0x3d2b5a);}['getSuggestionCallback'](_0x158fa0,_0x579548,_0x375ebe){const _0x4428cd=_0x158fa0+':'+_0x579548+':'+_0x375ebe;return this['_customCallbacks']['get'](_0x4428cd)||this['_defaultCallbacks']['get'](_0x158fa0+':'+_0x375ebe);}['_registerDefaultCallbacks'](){const _0x23ca63=()=>!0x1,_0x1aed8a=_0x10f74a=>{_0x10f74a['sort']((_0x4e4d7e,_0x42da50)=>_0x4e4d7e['start']['isBefore'](_0x42da50['start'])?0x1:-0x1),this['_model']['change'](_0x1dc4e6=>{for(const _0x41f70a of _0x10f74a){let _0x415810;_0x415810=_0x41f70a['end']['isAtEnd']&&_0x41f70a['end']['parent']==_0x41f70a['start']['nodeAfter']?_0x1dc4e6['createSelection'](_0x41f70a['start']['nodeAfter'],'on'):_0x1dc4e6['createSelection'](_0x41f70a),this['_model']['deleteContent'](_0x415810,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0,'doNotFixSelection':!0x0});}});},_0x3ac71d=(_0x5f00b3,_0x1d88b5)=>{_0x1d88b5&&this['_model']['change'](_0x3b03ea=>{const {commandName:_0x4a2fe3,commandParams:_0x2c57cb=[]}=_0x1d88b5,_0x3ff3c4=_0x5f00b3['map'](_0x5bdedd=>(AP(_0x5bdedd)&&(_0x5bdedd=this['_model']['createRange'](_0x5bdedd['end'])),_0x5bdedd))['filter'](_0x4e970e=>'$graveyard'!==_0x4e970e['root']['rootName']);if(_0x3ff3c4['length']<0x1)return;const _0x584f71=Array['from'](this['_model']['document']['selection']['getRanges']())['map'](_0x5c73ca=>_0x52b1ee['fromRange'](_0x5c73ca));_0x3b03ea['setSelection'](_0x3ff3c4);for(const _0x2acff6 of this['_editor']['commands']['commands']())_0x2acff6['refresh']();_0x2c57cb['push']({'forceDefaultExecution':!0x0}),this['_editor']['execute'](_0x4a2fe3,..._0x2c57cb);const _0x2b9c69=_0x584f71['filter'](_0x587435=>'$graveyard'!=_0x587435['root']['rootName']);_0x2b9c69['length']>0x0&&_0x3b03ea['setSelection'](_0x2b9c69);for(const _0x45466c of _0x584f71)_0x45466c['detach']();});},_0x5e80a4=(_0x4a95af,_0x10cc86)=>0x1==_0x4a95af['length']&&0x1==_0x10cc86['length']&&_0x4a95af[0x0]['end']['isEqual'](_0x10cc86[0x0]['start']),_0xaab9a7=(_0x3f07f0,_0x51bed1,_0x7e1425,_0x67baa9)=>MP(_0x3f07f0,_0x51bed1,_0x7e1425,_0x67baa9)?[_0x3f07f0,_0x51bed1]:MP(_0x51bed1,_0x3f07f0,_0x67baa9,_0x7e1425)?[_0x51bed1,_0x3f07f0]:null;this['_defaultCallbacks']['set']('insertion:accept',_0x23ca63),this['_defaultCallbacks']['set']('insertion:discard',_0x1aed8a),this['_defaultCallbacks']['set']('insertion:join',_0x5e80a4),this['_defaultCallbacks']['set']('insertion:chain',_0xaab9a7),this['_defaultCallbacks']['set']('deletion:accept',_0x1aed8a),this['_defaultCallbacks']['set']('deletion:discard',_0x23ca63),this['_defaultCallbacks']['set']('deletion:join',_0x5e80a4),this['_defaultCallbacks']['set']('deletion:chain',_0xaab9a7),this['_defaultCallbacks']['set']('formatInline:accept',_0x3ac71d),this['_defaultCallbacks']['set']('formatInline:discard',_0x23ca63),this['_defaultCallbacks']['set']('formatInline:join',_0x5e80a4),this['_defaultCallbacks']['set']('formatInline:chain',_0x23ca63),this['_defaultCallbacks']['set']('formatBlock:accept',_0x3ac71d),this['_defaultCallbacks']['set']('formatBlock:discard',_0x23ca63),this['_defaultCallbacks']['set']('formatBlock:join',_0x5e80a4),this['_defaultCallbacks']['set']('formatBlock:chain',_0x23ca63),this['_defaultCallbacks']['set']('attribute:accept',_0x23ca63),this['_defaultCallbacks']['set']('attribute:discard',(_0x4fbd95,_0x928f09)=>{if(!_0x928f09)return;const _0x5b506b=this['_editor']['plugins']['get'](Wa);this['_model']['change'](_0x1d3288=>{if('$elementName'==_0x928f09['key'])for(const _0x91e1e8 of _0x4fbd95){const _0x4e752d=_0x91e1e8['start']['nodeAfter'],_0x222d29=_0x928f09['oldValue'];_0x1d3288['rename'](_0x4e752d,_0x222d29);}else{if(_0x5b506b['isBlockAttribute'](_0x928f09['key'])){for(const _0x4b7598 of _0x4fbd95)void 0x0!==_0x928f09['oldValue']?_0x1d3288['setAttribute'](_0x928f09['key'],_0x928f09['oldValue'],_0x4b7598['start']['nodeAfter']):_0x1d3288['removeAttribute'](_0x928f09['key'],_0x4b7598['start']['nodeAfter']);}else{for(const _0x446e4c of _0x4fbd95)_0x928f09['oldValue']?_0x1d3288['setAttribute'](_0x928f09['key'],_0x928f09['oldValue'],_0x446e4c):_0x1d3288['removeAttribute'](_0x928f09['key'],_0x446e4c);}}});}),this['_defaultCallbacks']['set']('attribute:join',_0x5e80a4);}};function TP(_0x2a3095,_0x4f204f,_0x4a18b6){for(const _0x18a48a of _0x4f204f['parent']['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x18a48a['root']==_0x18a48a)return!0x1;if(!_0x4a18b6['containsItem'](_0x18a48a))return!0x1;if(_0x2a3095['isObject'](_0x18a48a)||_0x2a3095['isLimit'](_0x18a48a))return!0x0;}return!0x1;}function AP(_0x37402f){return _0x37402f['end']['parent']==_0x37402f['start']['nodeAfter']&&_0x37402f['end']['isAtStart'];}function SP(_0x5a242a,_0x49f51f,_0x423245,_0x238efe){const _0x301695=_0x4a124b=>!_0x4a124b['item']['is']('$textProxy')&&!_0x238efe['isObject'](_0x4a124b['item']),_0x36a1c9=_0x5a242a['start']['getLastMatchingPosition'](_0x301695),_0x1efa7b=_0x5a242a['end']['getLastMatchingPosition'](_0x301695,{'direction':'backward'});return(!_0x5a242a['start']['isEqual'](_0x36a1c9)||!_0x5a242a['end']['isEqual'](_0x1efa7b))&&(_0x36a1c9['isBefore'](_0x1efa7b)?_0x423245['updateMarker'](_0x49f51f,{'range':_0x423245['createRange'](_0x36a1c9,_0x1efa7b)}):_0x423245['removeMarker'](_0x49f51f),!0x0);}function IP(_0x342d9d){return bd(_0x342d9d);}function kP(_0x840847){const _0x48168d=_0x840847['start']['nodeAfter'];return _0x48168d&&_0x48168d['is']('element');}function xP(_0x1e46fb){return AP(_0x1e46fb)||function(_0x316fa9){return _0x316fa9['start']['parent']==_0x316fa9['end']['nodeBefore']&&_0x316fa9['start']['isAtEnd'];}(_0x1e46fb);}function CP(_0x5a4161,_0x3384df){try{const _0x222afd=_0x5a4161['getRange']();for(const _0x9f4287 of _0x3384df)if(_0x5a4161!==_0x9f4287&&_0x222afd&&_0x222afd['isIntersecting'](_0x9f4287['getRange']()))return!0x0;return!0x1;}catch{return!0x1;}}function RP(_0x291789,_0x4d6723){return null==_0x291789['end']['nodeBefore']&&_0x291789['end']['parent']==_0x291789['start']['nodeAfter']?PP(_0x291789['start']['nodeAfter'],_0x4d6723):_0x291789;}function PP(_0x13ae98,_0x42d083){const _0x343c02=_0x42d083['schema']['isObject'](_0x13ae98)||_0x42d083['schema']['isSelectable'](_0x13ae98);return _0x42d083['createRange'](_0x42d083['createPositionAt'](_0x13ae98,'before'),_0x343c02?_0x42d083['createPositionAfter'](_0x13ae98):_0x42d083['createPositionAt'](_0x13ae98,'end'));}function MP(_0x549c85,_0x56eacd,_0x306b63,_0x2a4bd5){return!!NP(_0x549c85,_0x56eacd)&&_0x306b63['end']['isEqual'](_0x2a4bd5['start']);}function NP(_0x5dcb0c,_0x34ce4d){if(!_0x5dcb0c['_isDataLoaded']||!_0x34ce4d['_isDataLoaded'])return!0x1;const _0x2e2ab8=new Set(Object['keys'](_0x5dcb0c['attributes'])),_0x46dff3=new Set(Object['keys'](_0x34ce4d['attributes']));if(_0x2e2ab8['delete']('groupId'),_0x46dff3['delete']('groupId'),0x0==_0x2e2ab8['size']&&0x0==_0x46dff3['size'])return!0x0;if(_0x2e2ab8['size']!=_0x46dff3['size'])return!0x1;const _0x27d471={..._0x5dcb0c['attributes']},_0x4eed61={..._0x34ce4d['attributes']};return delete _0x27d471['groupId'],delete _0x4eed61['groupId'],JSON['stringify'](_0x27d471)==JSON['stringify'](_0x4eed61);}function LP(_0x118f1f,_0x44eb49){const _0x49dc9a=$P(_0x118f1f['attributes']),_0x532dbb=$P(_0x44eb49);if(!_0x118f1f['_isDataLoaded'])return!0x1;if(!qr(_0x49dc9a['@ai'],_0x532dbb['@ai']))return!0x1;for(const _0x5cb6fa of Object['keys'](_0x532dbb))if(!qr(_0x49dc9a[_0x5cb6fa],_0x532dbb[_0x5cb6fa]))return!0x1;return!0x0;}function $P(_0x40251e){const _0x2b0e43=Object['assign']({},_0x40251e);return delete _0x2b0e43['skipNestingCheck'],delete _0x2b0e43['tablePasteChainId'],_0x2b0e43;}function DP(_0x3c1735){return _0x3c1735['split']('|')[0x0];}const QP=/* #__PURE__ -- @preserve */
_0x5b14e3();var jP=class extends QP{['model'];['view'];['commentThreadController'];['_editor'];['_acceptCommand'];['_discardCommand'];['_pendingAction'];constructor(_0x1e8db0,_0x25ebbf,_0x5d8416,_0x441821){super(),this['model']=_0x25ebbf,this['view']=_0x5d8416,this['commentThreadController']=_0x441821,this['_editor']=_0x1e8db0,this['_acceptCommand']=_0x1e8db0['commands']['get']('acceptSuggestion'),this['_discardCommand']=_0x1e8db0['commands']['get']('discardSuggestion'),this['view']['bind']('isEnabled')['to'](this['_acceptCommand'],this['_discardCommand'],(_0x408ed0,_0x24ca01)=>_0x408ed0||_0x24ca01),this['view']['bind']('canAccept')['to'](this['_acceptCommand'],'isEnabled',_0x5327aa=>_0x5327aa&&this['_editor']['model']['canEditAt'](_0x25ebbf['getRanges']())),this['view']['bind']('canDiscard')['to'](this['_discardCommand'],'isEnabled',_0x17feb0=>_0x17feb0&&this['_editor']['model']['canEditAt'](_0x25ebbf['getRanges']())),this['_pendingAction']=null,_0x5d8416['isDirty']&&this['_setPendingAction'](),this['listenTo'](_0x5d8416,'acceptSuggestion',()=>this['acceptSuggestion']()),this['listenTo'](_0x5d8416,'discardSuggestion',()=>this['discardSuggestion']()),this['listenTo'](_0x5d8416,'change:isDirty',()=>{_0x5d8416['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 _0x2e2227=WC(this['_editor']['locale'],'PENDING_ACTION_SUGGESTION');this['_pendingAction']=this['_editor']['plugins']['get']('PendingActions')['add'](_0x2e2227);}['_removePendingAction'](){null!==this['_pendingAction']&&this['_editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null;}},UP=class extends _0x2df468{['commentsListView'];['commentThreadInputView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_localUser'];['_config'];constructor(_0x11dda8,_0x58e04d,_0x6adbc6,_0x14d524){super(_0x11dda8),this['commentsListView']=null,this['commentThreadInputView']=null,this['ariaDescriptionView']=new ga(_0x11dda8,WC(_0x11dda8,'SUGGESTION_THREAD_DESCRIPTION')),this['set']('isActive',!0x1),this['set']('authoredAt',_0x58e04d['authoredAt']),this['bind']('authoredAt')['to'](_0x58e04d),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',_0x58e04d,'authoredAt',this,'descriptionParts',(_0x4b028d,_0x32a7b9,_0x43de77)=>{const _0x153358=_0x43de77['map'](_0x4fec92=>jC(_0x4fec92['content']))['join']('.\x20')+'.',_0x1e21ea=_0x58e04d['aiSource']&&'author'===_0x14d524['showAISource']?_0x14d524['aiAuthor']['name']:_0x58e04d['author']['name'],_0x127cd3=WC(this['locale'],'SUGGESTION_THREAD_ARIA_LABEL',[_0x4b028d-0x1,_0x1e21ea,_0x32a7b9?_0x14d524['formatDateTime'](_0x32a7b9):'',new DOMParser()['parseFromString'](_0x153358,'text/html')['body']['textContent']]);return _0x58e04d['aiSource']&&'pill'===_0x14d524['showAISource']?_0x127cd3+'\x20'+WC(this['locale'],'AI_SOURCE_PILL_TOOLTIP'):_0x127cd3;}),this['focusables']=new _0xa445c9(),this['focusTracker']=new _0x33fa41(),this['keystrokes']=new _0x491b26(),this['focusCycler']=new _0x1a2844({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x3e666f=>_0x3e666f['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['_model']=_0x58e04d,this['_localUser']=_0x6adbc6,this['_config']=_0x14d524,_0x14d524['disableComments']?this['set']('length',0x1):this['_createCommentViews']();}['render'](){super['render'](),Rd(this,this['focusables']);}['focus'](){this['element']['focus']();}['destroy'](){this['commentsListView']&&this['commentsListView']['destroy'](),this['commentThreadInputView']&&this['commentThreadInputView']['destroy'](),super['destroy']();}['_createCommentViews'](){const {CommentsListView:_0x16b09a}=this['_config'];this['commentsListView']=new _0x16b09a(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',_0x356ac0=>_0x356ac0+0x1),this['commentThreadInputView']=this['_createCommentThreadInputView'](),this['on']('removeComment',()=>this['focus']()),this['bind']('isDirty')['to'](this['commentsListView'],'hasDirtyComment',this['commentThreadInputView']['commentInputView'],'value',(_0x1cc4f4,_0x4ce955)=>_0x1cc4f4||!!_0x4ce955);}['_createCommentThreadInputView'](){const {CommentThreadInputView:_0x341446}=this['_config'],_0x4e23a8=new _0x341446(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x3c51d0=_0x4e23a8['commentInputView'];return _0x4e23a8['bind']('showInput')['to'](this,'isActive',this['_model']['commentThread'],'isReadOnly',_0x3c51d0,'value',(_0x369ffb,_0xd5358a,_0x3dafa7)=>!!_0x3dafa7||_0x369ffb&&!_0xd5358a),_0x3c51d0['on']('submit',(_0x26d529,_0x5661b0)=>{this['fire']('addComment',_0x5661b0),_0x3c51d0['editor']['setData']('');}),_0x3c51d0['on']('cancel',()=>this['focus']()),_0x3c51d0['bind']('disabledSubmit')['to'](this['_model']['commentThread'],'isReadOnly'),_0x4e23a8;}},VP=class extends UP{['suggestionView'];['_descriptionElement'];constructor(_0x4d9fc2,_0x22773d,_0x4596fe,_0x200567){super(_0x4d9fc2,_0x22773d,_0x4596fe,_0x200567),this['set']('type',''),this['bind']('type')['to'](this,'descriptionParts',_0x2cfb44=>_0x2cfb44&&_0x2cfb44[0x0]?_0x2cfb44[0x0]['type']:''),this['bind']('description')['to'](this,'descriptionParts',this,'isActive',(_0x11d7a8,_0x3fb8a0)=>{let _0x3f4bb6='';for(const _0x8d7d98 of _0x11d7a8)_0x3f4bb6+='<p>'+jC(_0x8d7d98['content'],_0x8d7d98['color'])+'</p>';return _0x3fb8a0?_0x3f4bb6:pd(_0x3f4bb6,{'limit':0x8c});}),this['_descriptionElement']=null,this['suggestionView']=new _0x200567['SuggestionView'](_0x4d9fc2,_0x22773d,{'formatDateTime':_0x200567['formatDateTime'],'showAISource':_0x200567['showAISource'],'aiAuthor':_0x200567['aiAuthor']}),this['suggestionView']['bind']('description')['to'](this),this['suggestionView']['delegate']('acceptSuggestion','discardSuggestion')['to'](this),this['suggestionView']['acceptButton']['bind']('isEnabled')['to'](this,'canAccept'),this['suggestionView']['discardButton']['bind']('isEnabled')['to'](this,'canDiscard'),this['focusables']['add'](this['suggestionView']),this['commentsListView']&&this['focusables']['add'](this['commentsListView']),this['commentThreadInputView']&&this['focusables']['add'](this['commentThreadInputView']),this['setTemplate'](this['getTemplate']());}['getTemplate'](){const _0x16ab62=this['bindTemplate'],_0x400f49=[this['suggestionView']];return this['commentsListView']&&_0x400f49['push'](this['commentsListView']),this['commentThreadInputView']&&_0x400f49['push'](this['commentThreadInputView']),_0x400f49['push'](this['ariaDescriptionView']),{'tag':'div','attributes':{'class':['ck','ck-rounded-corners','ck-suggestion-wrapper',_0x16ab62['if']('isActive','ck-suggestion-wrapper--active'),_0x16ab62['to']('type',_0x37ed38=>'ck-suggestion-'+_0x37ed38),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':_0x16ab62['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id']},'children':_0x400f49};}['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));}},BP=class extends _0x2df468{['userView'];['acceptButton'];['discardButton'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];constructor(_0x2dc039,_0x199ae4,_0x34bdfc){super(_0x2dc039),this['_model']=_0x199ae4,this['_config']=_0x34bdfc,this['set']('description',''),this['bind']('authoredAt')['to'](_0x199ae4),this['acceptButton']=this['_createButton'](WC(_0x2dc039,'Accept\x20suggestion'),_0x25572e,'ck-suggestion--accept','acceptSuggestion','sw'),this['discardButton']=this['_createButton'](WC(_0x2dc039,'Discard\x20suggestion'),_0x3f4fa1,'ck-suggestion--discard','discardSuggestion','sw');const _0x32cf1a=!!_0x199ae4['aiSource']&&'author'===_0x34bdfc['showAISource'],_0x35fe1c=_0x32cf1a?this['_createAIUser'](_0x34bdfc['aiAuthor']):_0x199ae4['author'],_0x1d94fd=_0x32cf1a&&!_0x34bdfc['aiAuthor']['avatar']?_0x11ff4c:void 0x0;this['userView']=new ma(_0x2dc039,_0x35fe1c,this['getUserViewNotificationText'](),_0x1d94fd),this['userView']['extendTemplate']({'attributes':{'class':['ck-suggestion__user','ck-annotation__user'],'aria-hidden':!0x0}}),this['focusables']=new _0xa445c9([this['acceptButton'],this['discardButton']]),this['focusTracker']=new _0x33fa41(),this['keystrokes']=new _0x491b26(),this['focusCycler']=new _0x1a2844({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'},'keystrokeHandlerOptions':{'filter':_0x311326=>_0x311326['target']!==this['element']}}),this['setTemplate'](this['getTemplate']());}['render'](){super['render']();const _0x1ef746=this['element']['querySelector']('.ck-annotation__content-wrapper');_0x1ef746['innerHTML']=this['description'],this['on']('change:description',(_0x2f6147,_0x3e2e78,_0x420305)=>{_0x1ef746['innerHTML']=_0x420305;}),this['_setupKeyboardNavigation']();}['getTemplate'](){const _0x1b964d=this['bindTemplate'],_0x353e4c=[{'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':_0x1b964d['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x1b964d['to']('authoredAt',_0x8d55c9=>this['_config']['formatDateTime'](_0x8d55c9))}]}]},{'tag':'div','attributes':{'class':['ck-suggestion__actions','ck-annotation__actions']},'children':[this['acceptButton'],this['discardButton']]},{'tag':'div','attributes':{'class':['ck-annotation__content-wrapper']}}];if(this['_model']['isExternal']&&_0x353e4c['push']({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this['getExternalSuggestionNote']()}]}),this['_model']['aiSource']&&this['_config']['showAISource']){const _0x49affb=new pa(this['locale']);_0x49affb['set']({'icon':_0x554074,'label':WC(this['locale'],'AI_SOURCE_PILL_LABEL'),'tooltip':WC(this['locale'],'AI_SOURCE_PILL_TOOLTIP'),'class':'ck-pill_ai'}),_0x353e4c['push']({'tag':'div','attributes':{'class':['ck-suggestion__ai-source-pill']},'children':[_0x49affb]});}return{'tag':'div','attributes':{'class':['ck-suggestion','ck-annotation'],'tabindex':-0x1},'children':[this['userView'],{'tag':'div','attributes':{'class':['ck-suggestion__main','ck-annotation__main'],'role':'presentation'},'children':_0x353e4c}]};}['focus'](){this['element']['focus']();}['getUserViewNotificationText'](){return this['_model']['isExternal']?'importWord'===this['_model']['attributes']['@external']['source']?WC(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator']['name']):WC(this['locale'],'EXTERNAL_AVATAR',this['_model']['creator']['name']):null;}['getExternalSuggestionNote'](){return'importWord'===this['_model']['attributes']['@external']['source']?WC(this['locale'],'EXTERNAL_IMPORT_WORD_SUGGESTION'):WC(this['locale'],'EXTERNAL_SUGGESTION');}['_createAIUser'](_0x4c5b0d){return new ua({'id':'ck-ai-author','name':_0x4c5b0d['name'],'avatar':_0x4c5b0d['avatar'],'color':new fa(0x0)});}['_createButton'](_0x59a28c,_0x260723,_0x3324de,_0xe09944,_0x837f){const _0x4e1013=new Oa(this['locale']);return _0x4e1013['set']({'label':_0x59a28c,'icon':_0x260723,'tooltip':!0x0,'tooltipPosition':_0x837f}),_0x4e1013['extendTemplate']({'attributes':{'class':_0x3324de}}),_0x4e1013['on']('execute',()=>{this['fire'](_0xe09944,this['_model']['id']);}),_0x4e1013;}['_setupKeyboardNavigation'](){const _0x4121b1=this['element'];this['keystrokes']['listenTo'](_0x4121b1);for(const _0x5c9680 of this['focusables'])this['focusTracker']['add'](_0x5c9680['element']),this['keystrokes']['listenTo'](_0x5c9680['element']);this['keystrokes']['set']('enter',(_0x38d08e,_0x594415)=>{_0x4121b1===_0x38d08e['target']&&(this['focusCycler']['focusFirst'](),_0x594415());}),this['keystrokes']['set']('esc',(_0x4d6d21,_0x45d74a)=>{_0x4121b1!==_0x4d6d21['target']&&(this['focus'](),_0x45d74a());});}},FP=class extends _0x36b920{['licenseKey'];['_licenseKeyCheckInterval'];['_suggestionToController'];['_viewToController'];['_annotationViews'];['_handleControllerBuffer'];['_disableComments'];static get['requires'](){return[_P,ha,Cv,Av,Lv];}static get['pluginName'](){return'TrackChangesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x50af32){super(_0x50af32),this['_suggestionToController']=new Map(),this['_viewToController']=new Map(),this['_annotationViews']=new Map(),this['_handleControllerBuffer']=new Map();const _0x16b544=this['editor']['config'];_0x16b544['define']('trackChanges.SuggestionThreadView',VP),_0x16b544['define']('trackChanges.SuggestionView',BP),_0x16b544['define']('trackChanges.disableComments',!0x1),this['_disableComments']=_0x16b544['get']('trackChanges.disableComments');}['_handleSuggestionControllerDelayed'](_0x4d3d91,_0x53591d){0x0===this['_handleControllerBuffer']['size']&&setTimeout(()=>{for(const [_0x147556,_0x3d5e7d]of this['_handleControllerBuffer']){const _0x51f219=this['_suggestionToController']['has'](_0x147556);_0x51f219||_0x3d5e7d?_0x51f219&&_0x3d5e7d&&this['_destroyController'](_0x147556):this['_initializeController'](_0x147556);}this['_handleControllerBuffer']['clear'](),this['editor']['plugins']['get'](Lv)['refreshSelectedViews'](),this['_refreshActiveMarkers']();},0xa),this['_handleControllerBuffer']['set'](_0x4d3d91,_0x53591d);}['init'](){const _0x2d548b=this['editor'],_0x178fcb=_0x2d548b['plugins']['get'](_P),_0x331322=_0x2d548b['plugins']['get'](Av),_0x261f28=_0x2d548b['plugins']['get'](Lv),_0x1f217f=_0x2d548b['plugins']['get'](Cv);this['_addUIComponentsToFactory'](),_0x261f28['addSourceCollector'](()=>{const _0x4b7d28=[];for(const [_0x1966ad,_0x213d30]of Array['from'](this['_suggestionToController'])){const _0x458281=_0x1966ad['getAllAdjacentSuggestions'](),_0x5d3699=[];for(const _0xa0bdc6 of _0x458281){if(!_0xa0bdc6['isInContent'])continue;if(_0xa0bdc6['isMultiRange']){_0x5d3699['push'](..._0xa0bdc6['getRanges']());continue;}const _0x33657b=_0xa0bdc6['getFirstRange']();if(_0x5d3699['length']>0x0){const _0x1c54d1=_0x5d3699[0x0]['getJoined'](_0x33657b);if(_0x1c54d1){_0x5d3699[0x0]=_0x1c54d1;continue;}}_0x5d3699['push'](_0x33657b);}_0x4b7d28['push']([_0x213d30['view'],_0x5d3699]);}return _0x4b7d28;}),this['listenTo'](_0x178fcb,'suggestionLoaded',(_0x2a2522,_0x380b30)=>{this['listenTo'](_0x380b30,'change:previous',(_0x5d584c,_0x3d6b71,_0x150766,_0x154c5f)=>{_0x380b30['isInContent']&&(null==_0x150766?(this['_updateController'](_0x154c5f['head']),this['_handleSuggestionControllerDelayed'](_0x380b30,!0x1)):(this['_updateController'](_0x150766['head']),null==_0x154c5f&&this['_handleSuggestionControllerDelayed'](_0x380b30,!0x0)));}),null!==_0x380b30['previous']?this['_updateController'](_0x380b30['head']):this['_handleSuggestionControllerDelayed'](_0x380b30,!0x1);}),this['listenTo'](_0x178fcb,'suggestionUnloaded',(_0x3b4434,_0x3e12d5,_0x487ec8)=>{this['stopListening'](_0x3e12d5,'change:previous'),this['_handleControllerBuffer']['delete'](_0x3e12d5),this['_suggestionToController']['has'](_0x3e12d5)&&this['_destroyController'](_0x3e12d5),_0x487ec8&&this['_updateController'](_0x487ec8['head']);}),this['listenTo'](_0x178fcb,'suggestionChanged',(_0x35f37a,_0x1a0a0b)=>{this['_updateController'](_0x1a0a0b);}),this['listenTo'](_0x331322,'change:activeAnnotations',()=>{this['_refreshActiveMarkers']();}),this['listenTo'](_0x1f217f,'addComment',(_0x2868a6,{threadId:_0x4f0b38,isFromAdapter:_0x2f8d99})=>{if(_0x2f8d99||!_0x178fcb['hasSuggestion'](_0x4f0b38))return;const _0x120d60=_0x178fcb['getSuggestion'](_0x4f0b38);this['_suggestionToController']['get'](_0x120d60)['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x351a32=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x50ed6b;for(const _0x3c1d7c in _0x351a32){const _0x52afc2=_0x3c1d7c,_0x2e61d0=_0x351a32[_0x52afc2];if('trackChangesLicenseKeyValid'==_0x2e61d0||'trackChangesLicenseKeyInvalid'==_0x2e61d0||'trackChangesLicenseKeyExpired'==_0x2e61d0||'trackChangesLicenseKeyDomainLimit'==_0x2e61d0||'trackChangesLicenseKeyNotAllowed'==_0x2e61d0||'trackChangesLicenseKeyEvaluationLimit'==_0x2e61d0||'trackChangesLicenseKeyUsageLimit'==_0x2e61d0){delete _0x351a32[_0x52afc2],_0x50ed6b=_0x2e61d0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'trackChangesLicenseKeyInvalid'==_0x50ed6b&&_0x351a32['_showLicenseError']('invalid'),'trackChangesLicenseKeyExpired'==_0x50ed6b&&_0x351a32['_showLicenseError']('expired'),'trackChangesLicenseKeyDomainLimit'==_0x50ed6b&&_0x351a32['_showLicenseError']('domainLimit'),'trackChangesLicenseKeyNotAllowed'==_0x50ed6b&&_0x351a32['_showLicenseError']('featureNotAllowed','TrackChanges'),'trackChangesLicenseKeyEvaluationLimit'==_0x50ed6b&&_0x351a32['_showLicenseError']('evaluationLimit'),'trackChangesLicenseKeyUsageLimit'==_0x50ed6b&&_0x351a32['_showLicenseError']('usageLimit');},0x3e8);}['getAnnotationForSuggestion'](_0xcf0ebd){const _0x24a2f7=this['_suggestionToController']['get'](_0xcf0ebd);return _0x24a2f7&&this['editor']['plugins']['get'](Av)['getByInnerView'](_0x24a2f7['view'])||null;}['getSuggestionForAnnotation'](_0x5ea032){const _0x50a4ff=this['_viewToController']['get'](_0x5ea032['innerView']);return _0x50a4ff?_0x50a4ff['model']:null;}['_refreshActiveMarkers'](){const _0x5c7cd4=this['editor']['plugins']['get'](Av),_0x222e4c=this['editor']['plugins']['get'](_P),_0x1d71ab=Array['from'](_0x5c7cd4['activeAnnotations'],_0x3eca2d=>_0x3eca2d['innerView'])['filter'](_0x807c31=>this['_viewToController']['has'](_0x807c31)),_0x2f50c7=[];for(const _0x36cbe6 of _0x1d71ab){const _0x4d207a=this['_viewToController']['get'](_0x36cbe6)['model']['getAllAdjacentSuggestions']();_0x2f50c7['push'](..._0x4d207a['reduce']((_0x190028,_0x2615b6)=>[..._0x190028,..._0x2615b6['getMarkerNames']()],[]));}_0x222e4c['activeMarkers']=_0x2f50c7;}['_addUIComponentsToFactory'](){const _0x467a4f=this['editor'],_0x1fe2bb=_0x467a4f['locale'],_0x4cd617=WC(_0x1fe2bb,'Track\x20changes'),_0x41028b=new _0x23ea50([{'type':'switchbutton','model':new _0x30ba3c({'withText':!0x0,'isToggleable':!0x0,'label':_0x4cd617,'commandName':'trackChanges','role':'menuitemcheckbox'})},{'type':'separator'},{'type':'button','model':new _0x30ba3c({'withText':!0x0,'label':WC(_0x1fe2bb,'Accept\x20all\x20suggestions'),'commandName':'acceptAllSuggestions','role':'menuitem'})},{'type':'button','model':new _0x30ba3c({'withText':!0x0,'label':WC(_0x1fe2bb,'Accept\x20all\x20selected\x20suggestions'),'commandName':'acceptSelectedSuggestions','role':'menuitem'})},{'type':'button','model':new _0x30ba3c({'withText':!0x0,'label':WC(_0x1fe2bb,'Discard\x20all\x20suggestions'),'commandName':'discardAllSuggestions','role':'menuitem'})},{'type':'button','model':new _0x30ba3c({'withText':!0x0,'label':WC(_0x1fe2bb,'Discard\x20all\x20selected\x20suggestions'),'commandName':'discardSelectedSuggestions','role':'menuitem'})}]);_0x467a4f['plugins']['has']('TrackChangesPreview')&&_0x41028b['addMany']([{'type':'separator'},{'type':'button','model':new _0x30ba3c({'withText':!0x0,'label':WC(_0x1fe2bb,'Preview\x20final\x20content'),'commandName':'previewFinalContent','role':'menuitem'})}]);for(const _0x5c3153 of _0x41028b)if(HP(_0x5c3153)){const _0x59697d=_0x467a4f['commands']['get'](_0x5c3153['model']['commandName']);_0x5c3153['model']['bind']('isOn','isEnabled')['to'](_0x59697d,'value','isEnabled');}_0x467a4f['ui']['componentFactory']['add']('trackChanges',_0x1f8a56=>this['_createToolbarButton'](_0x1f8a56,_0x41028b,_0x4cd617)),_0x467a4f['ui']['componentFactory']['add']('menuBar:trackChanges',_0x3dec61=>this['_createMenuBarMenu'](_0x3dec61,_0x41028b,_0x4cd617));}['_createToolbarButton'](_0x42d278,_0x15d9e7,_0x540e53){const _0x2177c1=_0x18eee9(_0x42d278,_0x139493),_0x16fbc1=this['editor']['commands']['get']('trackChanges');_0x2177c1['buttonView']['set']({'tooltip':_0x540e53,'label':_0x540e53,'icon':_0x11a19c}),_0x2177c1['buttonView']['bind']('isOn')['to'](_0x16fbc1,'value'),_0x2177c1['buttonView']['on']('execute',()=>{_0x16fbc1['execute'](),this['editor']['editing']['view']['focus']();}),ts(_0x2177c1,_0x15d9e7,{'role':'menu'});const _0x136359=[];for(const _0x6cc1ae of _0x15d9e7)HP(_0x6cc1ae)&&_0x136359['push'](this['editor']['commands']['get'](_0x6cc1ae['model']['commandName']));const _0xe537c9=_0x2177c1['buttonView'];return _0xe537c9['actionView']['unbind']('isEnabled'),_0xe537c9['arrowView']['unbind']('isEnabled'),_0xe537c9['actionView']['bind']('isEnabled')['to'](_0x16fbc1,'isEnabled'),_0xe537c9['arrowView']['bind']('isEnabled')['toMany'](_0x136359,'isEnabled',(..._0x4c3b35)=>_0x4c3b35['some'](_0x35a814=>_0x35a814)),_0x2177c1['on']('execute',_0x3b1dd3=>{this['editor']['execute'](_0x3b1dd3['source']['commandName']),this['editor']['editing']['view']['focus']();}),_0x2177c1;}['_createMenuBarMenu'](_0x15f6fb,_0x29c63f,_0x4da5b1){const _0x504bf1=new _0x4108b4(_0x15f6fb),_0x49d8f6=this['editor']['commands']['get']('trackChanges');_0x504bf1['buttonView']['set']({'label':_0x4da5b1,'icon':_0x11a19c});const _0x35d432=new _0x14375b(_0x15f6fb);for(const _0x37709a of _0x29c63f){if('separator'==_0x37709a['type']){_0x35d432['items']['add'](new _0x2be1ea(_0x15f6fb));continue;}const _0x44207b=new _0x2b149f(_0x15f6fb,_0x504bf1),_0x8d2890=new _0x3dd6ab(_0x15f6fb),_0x139da7=_0x37709a['model'];_0x8d2890['bind'](...Object['keys'](_0x139da7))['to'](_0x139da7),_0x8d2890['delegate']('execute')['to'](_0x504bf1),_0x8d2890['on']('execute',()=>{this['editor']['execute'](_0x139da7['commandName']),this['editor']['editing']['view']['focus']();}),_0x44207b['children']['add'](_0x8d2890),_0x35d432['items']['add'](_0x44207b);}return _0x504bf1['bind']('isEnabled')['to'](_0x49d8f6,'isEnabled'),_0x504bf1['panelView']['children']['add'](_0x35d432),_0x504bf1;}['_initializeController'](_0x3d278e){const _0x188185=this['editor'],_0x281c2d=_0x188185['config'],_0x49741b=_0x188185['plugins']['get'](Av),_0x51b947=_0x188185['plugins']['get'](Cv),_0x5362bf=_0x188185['plugins']['get'](Lv),_0x3b2f02=_0x188185['plugins']['get'](ha)['me'],_0x70fead=_0x281c2d['get']('trackChanges')['SuggestionThreadView'],_0x3f9f89=_0x281c2d['get']('trackChanges')['SuggestionView'],{CommentsListView:_0x1d8e66,CommentThreadInputView:_0x3874ec}=_0x188185['plugins']['get']('CommentsUI');let _0x23bb55,_0x59dd41,_0x27f918;this['_annotationViews']['has'](_0x3d278e['id'])?(_0x59dd41=this['_annotationViews']['get'](_0x3d278e['id']),_0x23bb55=_0x59dd41['mainView']):(_0x23bb55=new _0x70fead(_0x188185['locale'],_0x3d278e,_0x3b2f02,{'disableComments':this['_disableComments'],'editorConfig':{..._0x281c2d['get']('comments.editorConfig'),'licenseKey':_0x281c2d['get']('licenseKey')},'maxCommentsWhenCollapsed':_0x281c2d['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x281c2d['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x281c2d['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':dd(_0x281c2d['get']('locale'),_0x188185['locale']),'CommentView':_0x281c2d['get']('comments')['CommentView'],'CommentsListView':_0x1d8e66,'CommentThreadInputView':_0x3874ec,'SuggestionView':_0x3f9f89,'showAISource':_0x281c2d['get']('trackChanges.showAISource')||null,'aiAuthor':{..._0x281c2d['get']('trackChanges.aiAuthor'),'name':_0x281c2d['get']('trackChanges.aiAuthor')?.['name']||WC(_0x188185['locale'],'AI_AUTHOR_DEFAULT_NAME')}}),_0x23bb55['suggestionView']['acceptButton']['on']('execute',()=>{_0x188185['editing']['view']['focus']();}),_0x23bb55['suggestionView']['discardButton']['on']('execute',()=>{_0x188185['editing']['view']['focus']();}),_0x59dd41=_0x49741b['createAnnotationView'](this['editor']['locale'],_0x23bb55),_0x59dd41['bind']('isDirty')['to'](_0x23bb55,'isDirty'),_0x59dd41['bind']('length')['to'](_0x23bb55),_0x59dd41['bind']('type')['to'](_0x23bb55,'type',_0x5e1f80=>'suggestion-'+_0x5e1f80),_0x23bb55['on']('escape',()=>{_0x27f918['fire']('escape');}),this['_annotationViews']['set'](_0x3d278e['id'],_0x59dd41));const _0x1fea09=_0x51b947['createCommentThreadController'](_0x3d278e['commentThread'],_0x23bb55),_0x44ec9e=new jP(_0x188185,_0x3d278e,_0x23bb55,_0x1fea09),_0x3f92d1=_0x3d278e['getAllAdjacentSuggestions']()['filter'](_0x33b97c=>_0x33b97c['isInContent']);_0x23bb55['descriptionParts']=_0x188185['plugins']['get'](_P)['descriptionFactory']['getDescriptions'](_0x3f92d1),this['_suggestionToController']['set'](_0x3d278e,_0x44ec9e),this['_viewToController']['set'](_0x23bb55,_0x44ec9e);const _0x179b88=()=>{const _0x94c76f=[],_0x309d8d=_0x3d278e['getAllAdjacentSuggestions']()['filter'](_0x560b42=>_0x560b42['isInContent']);for(const _0x372c4a of _0x309d8d)_0x94c76f['push'](..._0x372c4a['getMarkers']());return md(_0x188185['editing'],_0x94c76f);};_0x27f918=_0x49741b['createAnnotation']({'view':_0x59dd41,'target':_0x179b88,'type':()=>'suggestion-'+_0x44ec9e['view']['type'],'isVisible':!!_0x179b88()}),_0x51b947['_bindAnnotationToEditors'](_0x23bb55,_0x27f918),_0x49741b['add'](_0x27f918),_0x5362bf['registerAnnotation'](_0x27f918);}['_destroyController'](_0x20a19f){const _0x4960c3=this['editor']['plugins']['get'](Cv),_0x56470d=this['editor']['plugins']['get'](Av),_0x19d70d=this['_suggestionToController']['get'](_0x20a19f),_0x1d6d9f=_0x19d70d['view'],_0x10f5f2=_0x56470d['getByInnerView'](_0x1d6d9f);_0x4960c3['_unbindEditors'](_0x1d6d9f),_0x10f5f2&&_0x56470d['remove'](_0x10f5f2),this['_suggestionToController']['delete'](_0x20a19f),this['_viewToController']['delete'](_0x1d6d9f),_0x19d70d['destroy']();}['_updateController'](_0x137c0e){if(!_0x137c0e['isInContent']||!this['_suggestionToController']['has'](_0x137c0e))return;const _0x10538a=this['editor']['plugins']['get'](_P),_0x31e1a1=this['_suggestionToController']['get'](_0x137c0e),_0x1f07f8=_0x137c0e['getAllAdjacentSuggestions']();_0x31e1a1['view']['descriptionParts']=_0x10538a['descriptionFactory']['getDescriptions'](_0x1f07f8);}['destroy'](){for(const _0x15252c of this['_suggestionToController']['keys']())this['_destroyController'](_0x15252c);for(const _0x1818d3 of this['_annotationViews']['values']())_0x1818d3['mainView']['destroy']();super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function HP(_0x536c62){return'model'in _0x536c62;}var ZP=class extends _0x36b920{static get['requires'](){return[_P,FP,l_];}static get['pluginName'](){return'TrackChanges';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}set['adapter'](_0x5bde03){this['editor']['plugins']['get'](_P)['adapter']=_0x5bde03;}get['adapter'](){return this['editor']['plugins']['get'](_P)['adapter'];}['addSuggestion'](_0x125781){return this['editor']['plugins']['get'](_P)['addSuggestionData'](_0x125781);}['getSuggestions']({skipNotAttached:_0x8ec69c=!0x1,toJSON:_0x14786e=!0x1}={}){return this['editor']['plugins']['get'](_P)['getSuggestions']({'skipNotAttached':_0x8ec69c,'toJSON':_0x14786e});}['getSuggestion'](_0x4d2a17){return this['editor']['plugins']['get'](_P)['getSuggestion'](_0x4d2a17);}};const GP=['Pagination'];var XP=class extends _0x36b920{static get['requires'](){return[_P];}static get['pluginName'](){return'TrackChangesData';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4eb2b1=this['editor'];if(_0x4eb2b1['config']['define']('trackChangesData.editorCreator',_0x220c9a=>{const _0x560000=_0x4eb2b1['model']['document']['getRootNames']()['reduce']((_0x3f0b07,_0x45d6a1)=>(_0x3f0b07[_0x45d6a1]='',_0x3f0b07),{});return _0x4eb2b1['constructor']['create'](_0x560000,_0x220c9a);}),'function'!=typeof _0x4eb2b1['config']['get']('trackChangesData')['editorCreator'])throw new _0x5b5a95('track-changes-data-invalid-editor-creator');}['getDataWithAcceptedSuggestions'](_0x5e8e93){return zP(this['editor'],!0x0,_0x5e8e93);}['getDataWithDiscardedSuggestions'](_0x47fa8a){return zP(this['editor'],!0x1,_0x47fa8a);}},qP=class extends _0x36b920{['result'];static get['pluginName'](){return'TrackChangesDataGetter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3692af){super(_0x3692af),this['result']='end',_0x3692af['editing']['view']['_overlayModeHint']='auto',_0x3692af['_sendUsageRequest']=()=>window['Promise']['resolve']({'status':'ok'});}['init'](){this['editor']['plugins']['get']('CommentsRepository')['_adapter']={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this['editor']['plugins']['get']('TrackChangesEditing')['_adapter']=null;}};function WP(_0x34eba3){return void 0x0!==_0x34eba3['getRootsAttributes'];}async function zP(_0x3b557d,_0x4418d5,_0x534d60){const _0x1a8e37=kd(_0x3b557d,GP);if(_0x1a8e37['plugins']['push'](_P,qP),WP(_0x3b557d)){_0x1a8e37['roots']=Object['create'](null);for(const _0x3eb0a0 of _0x3b557d['model']['document']['getRootNames']())_0x1a8e37['roots'][_0x3eb0a0]={'modelAttributes':_0x3b557d['getRootAttributes'](_0x3eb0a0)};}const _0x380dc4=document['createDocumentFragment'](),_0x3f227b=_0x3b557d['config']['get']('trackChangesData')['editorCreator'],_0x47fb20=await _0x3f227b(_0x1a8e37,()=>function(_0x146af2){const _0x1eb4dc=document['createElement']('div');return _0x146af2['appendChild'](_0x1eb4dc),_0x1eb4dc;}(_0x380dc4));!function(_0x6a5883,_0x1a54ba){const _0x6a3740=_0x6a5883['model']['document']['getRootNames']()['reduce']((_0x34ab95,_0x5af2f3)=>(_0x34ab95[_0x5af2f3]=_0x6a5883['data']['get']({'rootName':_0x5af2f3}),_0x34ab95),{}),_0x3962cc=_0x6a5883['plugins']['get']('Users')['users']['map'](_0x690b28=>({'id':_0x690b28['id'],'name':_0x690b28['name']})),_0x3355c4=_0x6a5883['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x6c765b=_0x6a5883['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x33ae24=_0x1a54ba['plugins']['get']('Users'),_0x1f6dab=_0x1a54ba['plugins']['get']('TrackChangesEditing'),_0x2e6bf5=_0x1a54ba['plugins']['get']('CommentsRepository');for(const _0xd09023 of _0x2e6bf5['getCommentThreads']())_0xd09023['remove']();for(const _0x1f2fa1 of _0x3962cc)_0x33ae24['getUser'](_0x1f2fa1['id'])||_0x33ae24['addUser'](_0x1f2fa1);_0x33ae24['me']||_0x33ae24['useAnonymousUser']();for(const _0x229658 of _0x6c765b)_0x2e6bf5['addCommentThread'](_0x229658);for(const _0x5d2166 of _0x3355c4)_0x1f6dab['addSuggestionData'](_0x5d2166);_0x1a54ba['data']['set'](_0x6a3740);}(_0x3b557d,_0x47fb20),_0x47fb20['execute'](_0x4418d5?'acceptAllSuggestions':'discardAllSuggestions');const _0x197b45=WP(_0x47fb20)?_0x47fb20['getFullData'](_0x534d60):_0x47fb20['data']['get'](_0x534d60);return await _0x47fb20['destroy'](),_0x197b45;}var YP=class extends _0x2df468{['options'];constructor(_0x26107b,_0x44da37){super(_0x26107b),this['options']=_0x44da37,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'](_0x2c4dbe,_0x429af2){if(!this['element'])return;const _0x398d5c=[];for(const [_0x1a3e0d,_0x4c238e]of _0x2c4dbe){const _0x2427c4=document['createElement']('div');_0x2427c4['setAttribute']('data-ck-root-name',_0x1a3e0d),_0x2427c4['className']=_0x4c238e['classes']+'\x20ck-track-changes-preview__root-container',_0x2427c4['innerHTML']=_0x4c238e['content'],_0x398d5c['push'](_0x2427c4);}_0x429af2(this['element'],_0x398d5c),this['element']['style']['height']='',this['fire']('previewDataReady');}['focus'](){this['element']['focus']();}},KP=class extends _0x32be70{constructor(_0x6d5c3e){super(_0x6d5c3e),this['affectsData']=!0x1,this['isEnabled']=!0x0;}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x1a56e9=this['editor'],_0x26b66f=_0x1a56e9['locale'],_0x54b406=_0x1a56e9['plugins']['get']('Dialog');let _0xd86fb7;const _0x3e898d=function(_0x82e87f){const _0x17e178={};if('editables'in _0x82e87f['ui']['view']){for(const [_0x378f62,_0x277693]of Object['entries'](_0x82e87f['ui']['view']['editables']))_0x17e178[_0x378f62]=_0x277693['element'];}else _0x17e178[_0x82e87f['model']['document']['getRootNames']()[0x0]]=_0x82e87f['ui']['view']['editable']['element'];return _0x17e178;}(_0x1a56e9),_0x2393a6=function(_0x45586b){let _0x547043=0x0;for(const _0x2bf667 of Object['values'](_0x45586b))_0x547043=Math['max'](_0x547043,_0x2bf667['getBoundingClientRect']()['width']);let _0x4c1a1f=0x0;for(const _0x542fc6 of Object['values'](_0x45586b))_0x4c1a1f+=_0x542fc6['getBoundingClientRect']()['height'];const _0x599604=0.8*Math['max'](document['documentElement']['clientHeight'],window['innerHeight']);return{'width':_0x547043,'height':Math['min'](_0x4c1a1f,_0x599604)};}(_0x3e898d);_0x54b406['show']({'id':'finalContentPreview','title':WC(_0x26b66f,'Final\x20content\x20preview'),'isModal':!0x0,'className':'ck-track-changes-preview-dialog','content':new YP(_0x26b66f,{'dialogRects':_0x2393a6}),'onHide':()=>{_0xd86fb7['detachFromDom']();},'onShow':()=>{_0x1a56e9['plugins']['get']('TrackChangesData')['getDataWithAcceptedSuggestions']({...this['_getMergeFieldsData']()})['then'](_0x3fd583=>{const _0x323eff=this['_standarizeRootsData'](_0x3fd583,_0x1a56e9,_0x3e898d);_0x54b406['view']['contentView']['children']['get'](0x0)['setPreviewData'](_0x323eff,_0x1a56e9['config']['get']('trackChanges.preview.renderFunction'));}),_0xd86fb7=new _0x43f1f4(_0x26b66f,[_0x54b406['view']]),_0xd86fb7['attachToDom'](),_0xd86fb7['bodyCollectionContainer']['classList']['remove']('ck-reset_all'),_0x1a56e9['once']('destroy',()=>{_0xd86fb7['detachFromDom']();});const _0x128b0c=_0x54b406['view']['headerView']['class'];_0x54b406['view']['headerView']['class']=_0x128b0c?_0x128b0c+'\x20ck-reset_all':'ck-reset_all',_0x54b406['view']['contentView']['children']['get'](0x0)['on']('previewDataReady',()=>{_0x54b406['view']['updatePosition']();});}});}['_getMergeFieldsData'](){if(!this['editor']['plugins']['has']('MergeFieldsEditing'))return{};const _0x5ed299=this['editor']['plugins']['get']('MergeFieldsEditing'),_0xb256c2=_0x5ed299['previewMode'],_0x51fb98={};if('$labels'===_0xb256c2){for(const _0x231078 of _0x5ed299['getMergeFieldsIds']())_0x51fb98[_0x231078]=_0x5ed299['getLabel'](_0x231078)||_0x231078;}else{const _0x32818b='$defaultValues'===_0xb256c2?_0x5ed299['getDefaultValues']():_0x5ed299['getDataSetValues'](_0xb256c2,!0x0);for(const _0x3ee204 of Object['entries'](_0x32818b)){const [_0x4aaa41,_0x36a1b5]=_0x3ee204;_0x51fb98[_0x4aaa41]=null!==_0x36a1b5?_0x36a1b5:_0x5ed299['getLabel'](_0x4aaa41)||_0x4aaa41;}}return{'mergeFieldsData':_0x51fb98};}['_standarizeRootsData'](_0x39fec6,_0x4213c4,_0x4f856b){let _0x420bfa;_0x420bfa='string'==typeof _0x39fec6?{[_0x4213c4['model']['document']['getRootNames']()[0x0]]:_0x39fec6}:_0x39fec6;const _0xb9762c=this['_fixMediaEmbeds'](_0x420bfa,_0x4213c4);return function(_0x348203,_0x2e470e){for(const [_0x525508,_0x1b56f2]of _0x348203)_0x1b56f2['classes']=_0x2e470e[_0x525508]['classList']['value']['replace']('ck-focused','');return _0x348203;}(this['_sortRoots'](_0x4213c4)['reduce']((_0x5576cb,_0x64f4d9)=>(_0x5576cb['push']([_0x64f4d9,{'content':_0xb9762c[_0x64f4d9],'classes':''}]),_0x5576cb),[]),_0x4f856b);}['_fixMediaEmbeds'](_0x5b7c67,_0x4ba875){if(!_0x4ba875['plugins']['has']('MediaEmbedEditing'))return _0x5b7c67;const _0x2ac7ea=_0x4ba875['plugins']['get']('MediaEmbedEditing');for(const [_0x4b7ca6,_0x590dd1]of Object['entries'](_0x5b7c67)){const _0x185373=document['createElement']('div');_0x185373['innerHTML']=_0x590dd1,_0x185373['querySelectorAll']('figure.media')['forEach'](_0x3f1d14=>{const _0x26e0b7=_0x3f1d14['querySelector']('oembed');if(_0x26e0b7){const _0x34642a=_0x26e0b7['getAttribute']('url');if(_0x34642a){const _0xacf38b=_0x2ac7ea['registry']['getMediaViewElement'](new _0x2fa5e0(_0x4ba875['editing']['view']['document']),_0x34642a,{'elementName':'','renderForEditingView':!0x0}),_0x113c54=document['createElement']('div');_0x113c54['classList']['add']('ck-media__wrapper'),_0xacf38b['render'](_0x113c54,_0x4ba875['editing']['view']['domConverter']),_0x26e0b7['replaceWith'](_0x113c54);}}}),_0x5b7c67[_0x4b7ca6]=_0x185373['innerHTML'];}return _0x5b7c67;}['_sortRoots'](_0x1adbf3){if(!function(_0x402029){return void 0x0!==_0x402029['getRootsAttributes'];}(_0x1adbf3))return _0x1adbf3['model']['document']['getRootNames']();const _0x5c00d3=[],_0xcacd74=new Map();for(const _0x2f4ad1 of _0x1adbf3['model']['document']['getRootNames']()){const _0x4049dc=_0x1adbf3['editing']['view']['getDomRoot'](_0x2f4ad1)['getClientRects']()['item'](0x0);_0x5c00d3['push'](_0x2f4ad1),_0xcacd74['set'](_0x2f4ad1,_0x4049dc);}return _0x5c00d3['sort']((_0x4b39de,_0x3ba631)=>{const _0x82a794=_0xcacd74['get'](_0x4b39de),_0x3c0588=_0xcacd74['get'](_0x3ba631);return _0x82a794['y']-_0x3c0588['y']||_0x82a794['x']-_0x3c0588['x'];}),_0x5c00d3;}},JP=class extends _0x36b920{static get['requires'](){return[XP,_0x5cd402];}static get['pluginName'](){return'TrackChangesPreview';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4de839){super(_0x4de839),_0x4de839['commands']['add']('previewFinalContent',new KP(this['editor'])),_0x4de839['config']['define']('trackChanges.preview.renderFunction',(_0x591887,_0x4a783c)=>{for(const _0x38db8f of _0x4a783c)_0x591887['appendChild'](_0x38db8f);});}},tM=class CloudServicesCommentsAdapter extends _0x2de7b2{static ['CommentsService']=/* #__PURE__ -- @preserve */
((()=>sC)());['_services'];static get['requires'](){return[nC,Cv,rC,ha];}static get['pluginName'](){return'CloudServicesCommentsAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xf6bfff){super(_0xf6bfff),this['_services']=new Map();}async['init'](){const _0x4098a8=this['context'],_0x1d1b97=_0x4098a8['plugins']['get'](Cv);if(_0x4098a8['plugins']['get'](nC)['addToReconnectionStack'](this),_0x1d1b97['adapter']={'addCommentThread':async({channelId:_0x1f81ef,threadId:_0x2fbcde,comments:_0x41b401,resolvedAt:_0x1c6d3c,resolvedBy:_0x3acecb,context:_0x57cca0,attributes:_0x2dc880})=>{const _0x3fcfc1=await this['_getService'](_0x1f81ef)['addCommentThread']({'commentThreadId':_0x2fbcde,'comments':_0x41b401['map'](_0x2c19e5=>function(_0x30e360,_0x2cf4f9,_0x55515f){return{'commentThreadId':_0x55515f,'commentId':_0x30e360['commentId'],'userId':_0x30e360['authorId'],'content':_0x30e360['content'],'documentId':_0x2cf4f9,'createdAt':_0x30e360['createdAt'],'attributes':_0x30e360['attributes']||{}};}(_0x2c19e5,_0x1f81ef,_0x2fbcde)),'resolvedAt':_0x1c6d3c,'resolvedBy':_0x3acecb,'context':_0x57cca0,'attributes':_0x2dc880})['catch'](iM);return{'threadId':_0x3fcfc1['commentThreadId'],'comments':_0x3fcfc1['comments']};},'getCommentThread':async({channelId:_0x5df57f,threadId:_0x5b3b78})=>{const _0x34f219=await this['_getService'](_0x5df57f)['getCommentThread'](_0x5b3b78)['catch'](eM)['catch'](iM);return _0x34f219?_0x34f219['deletedAt']?null:(await this['_fetchMissingUsersForThreads']([_0x34f219]),{'threadId':_0x34f219['commentThreadId'],'comments':_0x34f219['comments']['map'](sM),'context':_0x34f219['context'],'resolvedAt':_0x34f219['resolvedAt'],'resolvedBy':_0x34f219['resolvedBy'],'attributes':_0x34f219['attributes']||{}}):null;},'updateCommentThread':async({channelId:_0x5397f4,threadId:_0x4ea177,context:_0x33d9ec,unlinkedAt:_0x524b06,attributes:_0x2bfcae})=>this['_getService'](_0x5397f4)['updateCommentThread']({'commentThreadId':_0x4ea177,'context':_0x33d9ec,'attributes':_0x2bfcae,'unlinkedAt':_0x524b06})['catch'](eM)['catch'](iM),'resolveCommentThread':async({channelId:_0xb1f0e7,threadId:_0x5adf52})=>{const _0x17ea7e=await this['_getService'](_0xb1f0e7)['resolveCommentThread'](_0x5adf52)['catch'](eM)['catch'](iM);return{'threadId':_0x17ea7e['commentThreadId'],'resolvedAt':_0x17ea7e['resolvedAt'],'resolvedBy':_0x17ea7e['resolvedBy']};},'reopenCommentThread':async({channelId:_0x131fbe,threadId:_0xe9a738})=>this['_getService'](_0x131fbe)['reopenCommentThread'](_0xe9a738)['catch'](eM)['catch'](iM),'removeCommentThread':({channelId:_0x4ada8a,threadId:_0x45ef9a})=>this['_getService'](_0x4ada8a)['removeCommentThread'](_0x45ef9a)['catch'](eM)['catch'](iM),'addComment':({channelId:_0x8c6707,threadId:_0x459d15,commentId:_0x502bc1,content:_0x23cbda,attributes:_0x240645})=>this['_getService'](_0x8c6707)['addComment'](_0x459d15,_0x502bc1,_0x23cbda,_0x240645)['catch'](iM),'updateComment':({channelId:_0x1da905,threadId:_0x42c8cf,commentId:_0x2d75a9,content:_0x3b6718,attributes:_0x2bf54b})=>this['_getService'](_0x1da905)['updateComment'](_0x42c8cf,_0x2d75a9,_0x3b6718,_0x2bf54b)['catch'](eM)['catch'](iM),'removeComment':({channelId:_0x33639d,threadId:_0x15e732,commentId:_0x5d65b4})=>this['_getService'](_0x33639d)['removeComment'](_0x15e732,_0x5d65b4)['catch'](eM)['catch'](iM)},_0x4098a8 instanceof _0x31e5f7){const _0x407c0d=_0x4098a8['config']['get']('collaboration.channelId'),_0x48293d=_0x4098a8['plugins']['get'](rC);await this['_setUpService'](_0x407c0d);const _0x1b4979=await this['_services']['get'](_0x407c0d)['getConnectedSessions']();this['listenTo'](_0x48293d,'sessionAdd:'+_0x407c0d,(_0x9107ad,{session:_0x210573})=>{_0x210573['id']===_0x48293d['mySessionId']&&(_0x9107ad['off'](),this['context']['plugins']['get']('Permissions')['setPermissions'](_0x210573['permissions'],_0x407c0d));}),_0x48293d['register'](_0x407c0d,_0x1b4979);}}async['_setUpService'](_0x519921){if(this['_services']['has'](_0x519921))throw new _0x5b5a95('cloudservicescommentsadapter-connect-already-connected',null,{'channelId':_0x519921});const _0x574b15=this['context']['plugins']['get'](Cv),_0x26e769=new CloudServicesCommentsAdapter['CommentsService'](_0x519921);this['_services']['set'](_0x519921,_0x26e769),this['listenTo'](_0x26e769,'commentThreadAdded',(_0x16a5e0,_0x5eb6c8)=>{const {commentThreadId:_0x92370f,documentId:_0x299cac,context:_0x4ad17b,attributes:_0x2c6465,resolvedAt:_0x547261,resolvedBy:_0x53dfb2,comments:_0x4bc65c}=_0x5eb6c8;_0x574b15['getCommentThread'](_0x92370f)||_0x574b15['addCommentThread']({'threadId':_0x92370f,'channelId':_0x299cac,'comments':_0x4bc65c?_0x4bc65c['map'](sM):[],'context':_0x4ad17b,'attributes':_0x2c6465,'resolvedAt':_0x547261,'resolvedBy':_0x53dfb2,'isFromAdapter':!0x0});}),this['listenTo'](_0x26e769,'commentThreadUpdated',(_0x21a3d2,{commentThreadId:_0x460e3d,documentId:_0x2aaa4d,context:_0x2cfe36,unlinkedAt:_0x2bca8f,attributes:_0x1ee370})=>{_0x574b15['getCommentThread'](_0x460e3d)&&_0x574b15['updateCommentThread']({'threadId':_0x460e3d,'channelId':_0x2aaa4d,'context':_0x2cfe36,'unlinkedAt':_0x2bca8f,'attributes':_0x1ee370,'isFromAdapter':!0x0});}),this['listenTo'](_0x26e769,'commentThreadResolved',(_0x1b1120,{commentThreadId:_0x2fb786,resolvedBy:_0x5f54f3,resolvedAt:_0x4d531b})=>{const _0x40a724=_0x574b15['getCommentThread'](_0x2fb786);_0x40a724&&_0x40a724['resolve']({'resolvedBy':_0x5f54f3,'resolvedAt':_0x4d531b,'isFromAdapter':!0x0});}),this['listenTo'](_0x26e769,'commentThreadReopened',(_0x177c70,{commentThreadId:_0x41ba8e})=>{const _0x1a8930=_0x574b15['getCommentThread'](_0x41ba8e);_0x1a8930&&_0x1a8930['reopen']({'isFromAdapter':!0x0});}),this['listenTo'](_0x26e769,'commentThreadRemoved',(_0x4aa170,{commentThreadId:_0x4b7ae0})=>{const _0x39cf27=_0x574b15['getCommentThread'](_0x4b7ae0);_0x39cf27&&_0x39cf27['remove']({'isFromAdapter':!0x0});}),this['listenTo'](_0x26e769,'commentAdded',(_0x2d9468,_0xdd232e)=>{const _0x3dee9f=_0xdd232e['commentThreadId'],_0x372309=_0x574b15['getCommentThread'](_0x3dee9f);_0x372309&&_0x372309['addComment']({...sM(_0xdd232e),'isFromAdapter':!0x0});}),this['listenTo'](_0x26e769,'commentUpdated',(_0x48b8b8,{commentThreadId:_0x119082,commentId:_0x34baa3,content:_0x30a333,attributes:_0x4cf462})=>{const _0x5b4846=_0x574b15['getCommentThread'](_0x119082);if(_0x5b4846){const _0x5af820=_0x5b4846['getComment'](_0x34baa3);_0x5af820&&_0x5af820['update']({'content':_0x30a333,'attributes':_0x4cf462,'isFromAdapter':!0x0});}}),this['listenTo'](_0x26e769,'commentRemoved',(_0x2e7fe4,{commentThreadId:_0x188c0b,commentId:_0x431b9f})=>{const _0x1d6703=_0x574b15['getCommentThread'](_0x188c0b);if(_0x1d6703){const _0x14483c=_0x1d6703['getComment'](_0x431b9f);_0x14483c&&_0x14483c['remove']({'isFromAdapter':!0x0});}}),this['listenTo'](_0x26e769,'disconnected',()=>{'connected'===this['context']['plugins']['get'](nC)['connection']?.['state']&&(this['_services']['delete'](_0x519921),this['stopListening'](_0x26e769));}),await this['_connectService'](_0x519921);}['destroy'](){if(this['context']instanceof _0x31e5f7){const _0x406416=this['context']['config']['get']('collaboration.channelId');this['_services']['has'](_0x406416)&&this['_terminateService'](_0x406416);}}['_terminateService'](_0x1db131){if(!this['_services']['has'](_0x1db131))throw new _0x5b5a95('cloudservicescommentsadapter-disconnect-not-exist',null,{'channelId':_0x1db131});this['_getService'](_0x1db131)['disconnect'](),this['_services']['delete'](_0x1db131);}async['reconnect'](){for(const _0x299b77 of this['_services']['keys']())await this['_connectService'](_0x299b77);if(this['context']instanceof _0x31e5f7){const _0x1a8275=this['context']['config']['get']('collaboration.channelId');if(this['_services']['has'](_0x1a8275)){const _0x51e004=this['context']['plugins']['get'](rC);_0x51e004['unregister'](_0x1a8275);const _0x58f29b=await this['_services']['get'](_0x1a8275)['getConnectedSessions']();_0x51e004['register'](_0x1a8275,_0x58f29b);}}}async['_connectService'](_0x133387){const {connection:_0x1a9c24}=this['context']['plugins']['get'](nC),_0x3c08aa=this['context']['plugins']['get'](Cv),_0x2aa72a=await this['_services']['get'](_0x133387)['connect'](_0x1a9c24);await this['_fetchMissingUsersForThreads'](_0x2aa72a);const _0x4f207a=new Set(Array['from'](_0x3c08aa['getCommentThreads']({'channelId':_0x133387}),_0x323216=>_0x323216['id']));for(const _0x199d4b of _0x2aa72a)_0x199d4b['deletedAt']||_0x4f207a['delete'](_0x199d4b['commentThreadId']);for(const _0x4617d8 of _0x4f207a)_0x3c08aa['getCommentThread'](_0x4617d8)['remove']({'isFromAdapter':!0x0});for(const _0x35670f of _0x2aa72a){let _0x2a5252=_0x3c08aa['getCommentThread'](_0x35670f['commentThreadId']);const {commentThreadId:_0x20b722,context:_0x5cf0bf,attributes:_0xddf84e,resolvedBy:_0x48b18a,resolvedAt:_0x2aca5d,unlinkedAt:_0x33af8a,deletedAt:_0x1e091d}=_0x35670f;if(_0x1e091d)continue;_0x2a5252||(_0x2a5252=_0x3c08aa['addCommentThread']({'channelId':_0x133387,'threadId':_0x20b722,'context':_0x5cf0bf,'attributes':_0xddf84e||{},'resolvedBy':_0x48b18a,'resolvedAt':_0x2aca5d,'unlinkedAt':_0x33af8a,'isFromAdapter':!0x0}));const _0x114eeb=new Set(Array['from'](_0x2a5252['comments'],_0x56c668=>_0x56c668['id']));for(const _0x1346cd of _0x35670f['comments'])_0x114eeb['delete'](_0x1346cd['commentId']);for(const _0x2daf8e of _0x114eeb)_0x2a5252['getComment'](_0x2daf8e)['remove']({'isFromAdapter':!0x0});for(const _0x4b8ef7 of _0x35670f['comments']){const _0x3439da=_0x2a5252['getComment'](_0x4b8ef7['commentId']);_0x3439da?_0x3439da['content']!==_0x4b8ef7['content']&&_0x3439da['update']({'content':_0x4b8ef7['content'],'isFromAdapter':!0x0}):_0x2a5252['addComment'](Object['assign'](sM(_0x4b8ef7),{'isFromAdapter':!0x0}));}}}['_getService'](_0x5e7cbe){if(!this['_services']['has'](_0x5e7cbe))throw new _0x5b5a95('cloudservicescommentsadapter-service-not-exist',null,{'channelId':_0x5e7cbe});return this['_services']['get'](_0x5e7cbe);}async['_fetchMissingUsersForThreads'](_0x1da1ee){const _0x28e529=this['context']['plugins']['get'](ha),{connection:_0xc643f5}=this['context']['plugins']['get'](nC),_0x892f19=new Set();for(const {resolvedBy:_0x364cd7,comments:_0x5d7ee5}of _0x1da1ee){_0x364cd7&&!_0x28e529['getUser'](_0x364cd7)&&_0x892f19['add'](_0x364cd7);for(const {userId:_0x260c14}of _0x5d7ee5)_0x28e529['getUser'](_0x260c14)||_0x892f19['add'](_0x260c14);}if(0x0===_0x892f19['size'])return;const _0xaf8574=await pk['getMany'](_0xc643f5,Array['from'](_0x892f19));for(const _0xf3eac2 of _0xaf8574)_0x28e529['getUser'](_0xf3eac2['id'])||_0x28e529['addUser'](_0xf3eac2);}};async function eM(_0x22a23c){if('404'!==_0x22a23c['code'])throw _0x22a23c;}function iM(_0x384f19){if((_0x1744ec=_0x384f19)['message']['startsWith']('cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.')||_0x1744ec['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x1744ec['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.'))return new Promise(()=>{});var _0x1744ec;throw _0x384f19;}function sM(_0x5cf644){return{'threadId':_0x5cf644['commentThreadId'],'commentId':_0x5cf644['commentId'],'content':_0x5cf644['content'],'createdAt':_0x5cf644['createdAt'],'authorId':_0x5cf644['userId'],'attributes':_0x5cf644['attributes']||{}};}var nM=class CloudServicesTrackChangesAdapter extends _0x36b920{static ['TrackChangesService']=/* #__PURE__ -- @preserve */
((()=>yx)());['_bufferedRequests'];['_trackChangesService'];static get['requires'](){return[tM,_P,nC];}static get['pluginName'](){return'CloudServicesTrackChangesAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x451164){super(_0x451164);const _0x26e33d=this['editor']['config']['get']('collaboration.channelId');this['_bufferedRequests']=new Map(),this['_trackChangesService']=new CloudServicesTrackChangesAdapter['TrackChangesService'](_0x26e33d);}['init'](){const _0x30b88d=this['editor']['plugins']['get'](nC),_0x323f14=this['editor']['plugins']['get'](_P);return _0x323f14['adapter']={'getSuggestion':async _0x5dc518=>{await this['_waitForServiceReady']();const _0x551561=await this['_trackChangesService']['get'](_0x5dc518)['catch'](rM);return await this['_fetchMissingUsersForThreads']([_0x551561]),_0x551561;},'addSuggestion':async({id:_0x599cf1,type:_0xaf23ee,data:_0x5c449b,originalSuggestionId:_0x3b9da9,attributes:_0x2b3b10})=>{await this['_waitForServiceReady']();const _0x150e3e={'id':_0x599cf1,'type':_0xaf23ee,'data':_0x5c449b,'originalSuggestionId':_0x3b9da9,'attributes':_0x2b3b10},_0x43344e=await this['_trackChangesService']['add'](_0x599cf1,_0xaf23ee,_0x5c449b,_0x3b9da9,_0x2b3b10)['catch'](_0x1d3248=>{if(oM(_0x1d3248))return new Promise(_0x30e06b=>{this['_bufferedRequests']['set'](_0x599cf1,{'resolve':_0x30e06b,'suggestionData':_0x150e3e});});throw _0x1d3248;});return this['_bufferedRequests']['delete'](_0x599cf1),_0x43344e;},'updateSuggestion':async(_0x5b10bc,_0xb7c559)=>{if(await this['_waitForServiceReady'](),'open'!==_0xb7c559['state'])return this['_trackChangesService']['update'](_0x5b10bc,_0xb7c559)['catch'](rM);}},this['listenTo'](this['_trackChangesService'],'suggestionUpdated',(_0x57e9b4,_0x221df2)=>{_0x323f14['hasSuggestion'](_0x221df2['id'])&&(_0x323f14['getSuggestion'](_0x221df2['id'])['attributes']=_0x221df2['attributes']);}),this['listenTo'](this['_trackChangesService'],'disconnected',()=>{'connected'===_0x30b88d['connection']?.['state']&&(_0x30b88d['removeFromReconnectionStack'](this),this['stopListening'](this['_trackChangesService']));}),this['_trackChangesService']['connect'](_0x30b88d['connection'])['then'](_0x5d04b6=>(_0x30b88d['addToReconnectionStack'](this),this['_fetchMissingUsersForThreads'](_0x5d04b6)['then'](()=>{for(const _0x5e1ddd of _0x5d04b6){_0x323f14['addSuggestionData'](_0x5e1ddd)['_saved']=!0x0;}})));}async['reconnect'](){const _0x4e9133=this['editor']['plugins']['get']('TrackChangesEditing'),{connection:_0x39f6ef}=this['editor']['plugins']['get'](nC),_0x177e6b=await this['_trackChangesService']['connect'](_0x39f6ef);await this['_fetchMissingUsersForThreads'](_0x177e6b);for(const {suggestionData:_0x12f964,resolve:_0x574ebf}of this['_bufferedRequests']['values']()){let _0x17b352=_0x177e6b['find'](_0x2de136=>_0x2de136['id']===_0x12f964['id']);_0x17b352||(_0x17b352=await this['_trackChangesService']['add'](_0x12f964['id'],_0x12f964['type'],_0x12f964['data'],_0x12f964['originalSuggestionId'])),_0x574ebf(_0x17b352);}for(const _0x543f56 of _0x177e6b)_0x4e9133['hasSuggestion'](_0x543f56['id'])||_0x4e9133['addSuggestionData'](_0x543f56);}async['_waitForServiceReady'](){this['_trackChangesService']['isConnected']||await new Promise(_0x489244=>{this['listenTo'](this['_trackChangesService'],'connected',_0x16e3f5=>{_0x16e3f5['off'](),_0x489244();});});}async['_fetchMissingUsersForThreads'](_0x7318cc){const _0x153eb9=this['editor']['plugins']['get'](ha),{connection:_0x115261}=this['editor']['plugins']['get'](nC),_0x3b6936=new Set();for(const {authorId:_0x315579}of _0x7318cc)_0x153eb9['getUser'](_0x315579)||_0x3b6936['add'](_0x315579);if(0x0===_0x3b6936['size'])return;const _0x176b6a=await pk['getMany'](_0x115261,Array['from'](_0x3b6936));for(const _0x1ae688 of _0x176b6a)_0x153eb9['getUser'](_0x1ae688['id'])||_0x153eb9['addUser'](_0x1ae688);}};function rM(_0x1e30d1){if(oM(_0x1e30d1))return new Promise(()=>{});throw _0x1e30d1;}function oM(_0x228bec){return _0x228bec['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x228bec['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}var aM=class extends _0x36b920{static get['requires'](){return[l_,tM,LC,nC];}static get['pluginName'](){return'RealTimeCollaborativeComments';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5708fe=this['editor']['plugins']['get'](nC),_0x279be4=this['editor']['plugins']['get'](Vv),_0x553561=this['editor']['plugins']['get'](tM);return this['editor']['data']['once']('ready',()=>{this['listenTo'](_0x5708fe,'change:state',(_0x466a20,_0x489a6d,_0x2e0d90)=>{_0x279be4['isThreadsLoadingPaused']='connected'!==_0x2e0d90;});}),this['listenTo'](_0x5708fe,'change:state',(_0x29a1c1,_0x4c2aa8,_0xa64d6e)=>{this['editor']['plugins']['get'](Cv)['switchReadOnly']('connected'!==_0xa64d6e);}),_0x553561['_setUpService'](this['editor']['config']['get']('collaboration.channelId'));}['destroy'](){const _0x331487=this['editor']['plugins']['get'](tM),_0x48fc27=this['editor']['config']['get']('collaboration.channelId');_0x331487['_services']['has'](_0x48fc27)&&_0x331487['_terminateService'](_0x48fc27),super['destroy']();}},cM=class extends _0x36b920{static get['requires'](){return[aM,nM,ZP];}static get['pluginName'](){return'RealTimeCollaborativeTrackChanges';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};const lM=/* #__PURE__ -- @preserve */
_0x5b14e3();var hM=class extends lM{['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x11f991){super(),this['id']=_0x11f991['id']||_0x10825a(),this['creator']=_0x11f991['creator']||null,this['authors']=_0x11f991['authors']||[],this['diffData']=_0x11f991['diffData']||null,this['toVersion']=_0x11f991['toVersion']||0x0,this['fromVersion']=_0x11f991['fromVersion']||0x0,this['set']('name',_0x11f991['name']||''),this['set']('createdAt',_0x11f991['createdAt']||new Date()),this['set']('attributes',_0x11f991['attributes']||{});}['setName'](_0x47f75f){this['_update']({'name':_0x47f75f});}['setAttribute'](_0x505dd1,_0x4510f1){const _0x53aa10=Jr(this['attributes']);Ao(_0x53aa10,_0x505dd1,_0x4510f1),this['_update']({'attributes':_0x53aa10});}['removeAttribute'](_0x37b87e){const _0x4cf345=Jr(this['attributes']);fo(_0x4cf345,_0x37b87e),this['_update']({'attributes':_0x4cf345});}['_update'](_0x28ece1,_0x1873ce=!0x1){let _0x4c49d3=!0x1;const _0x4416a7={'id':this['id']};for(const _0x2464ac of['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId']){const _0x53f76b=_0x28ece1[_0x2464ac];void 0x0!==_0x53f76b&&_0x53f76b!==this[_0x2464ac]&&(this[_0x2464ac]=_0x53f76b,_0x4416a7[_0x2464ac]=_0x53f76b,_0x4c49d3=!0x0);}_0x4c49d3&&(_0x4416a7['authors']&&(_0x4416a7['authorsIds']=_0x4416a7['authors']['map'](_0x547b56=>_0x547b56['id']),delete _0x4416a7['authors']),this['fire']('_update',_0x4416a7,_0x1873ce));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x4a7eec=>_0x4a7eec['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}},uM=class extends _0x36b920{['_revisions'];static get['requires'](){return[ha];}static get['pluginName'](){return'RevisionsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['length'](){return this['_revisions']['length'];}constructor(_0x54e3df){super(_0x54e3df),this['_revisions']=new _0x23ea50();}['afterInit'](){!async function(_0x3da8ca){const _0x4d7947='vsmL4TPpuR53MlqSj2VXwH9oEAN8FxJtGUOdbDCZ01ihyfkBQY6acgz7rIeWKn',_0x5d9c14=0xeb829,_0x47cdf8=0x78fc0,_0x26752b=window['Date']['now'](),_0x29d941=_0x3da8ca['editor'],_0x52780b=new window['Promise'](_0x1ae18d=>{_0x29d941['once']('ready',_0x1ae18d);}),_0x21888f={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x20d20a=_0x29d941['config']['get']('licenseKey');async function _0xb2c6cb(){let _0x4a879c,_0x5acbc5=null,_0x179d00=null;try{return'GPL'==_0x20d20a?'NotAllowed':(_0x4a879c=_0x465ecd(),_0x4a879c?(_0x4a879c['usageEndpoint']&&(_0x179d00=_0x28e21d(_0x4a879c['usageEndpoint'],_0x4a879c['jti'])),await _0x577f14()?_0x34c6ef()?_0x4e0d3f()?'Expired':_0x765bdc()?('evaluation'==_0x4a879c['licenseType']&&(_0x5acbc5=_0x114b56('EvaluationLimit')),await _0x17efc9()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x4e0d3f(){const _0x4d0ba6=['evaluation','trial']['includes'](_0x4a879c['licenseType'])?_0x26752b/0x3e8:0xe10*_0x47cdf8;return _0x4a879c['exp']<_0x4d0ba6;}function _0x34c6ef(){const _0x4c20c4=_0x4a879c['features'];if(!_0x4c20c4)return!0x1;if(_0x4c20c4['includes']('*'))return!0x0;if(_0x4c20c4['includes']('RH'))return!0x0;if(_0x4c20c4['includes']('RRH')){if(_0x15a2fa())return!0x0;if(_0x3efd1b()||_0x43b636())return!0x0;}return!0x1;}function _0x765bdc(){const _0x432a31=_0x4a879c['licensedHosts'];if(!_0x432a31||0x0==_0x432a31['length'])return!0x0;const {hostname:_0x31bec6}=new URL(window['location']['href']);if(_0x432a31['includes'](_0x31bec6))return!0x0;const _0x201b14=_0x31bec6['split']('.');return _0x432a31['filter'](_0x13af65=>_0x13af65['includes']('*'))['map'](_0x57ba1d=>_0x57ba1d['split']('.'))['filter'](_0x2f83a3=>_0x2f83a3['length']<=_0x201b14['length'])['map'](_0x3f097d=>Array(_0x201b14['length']-_0x3f097d['length'])['fill']('*'===_0x3f097d[0x0]?'*':'')['concat'](_0x3f097d))['some'](_0x3d607c=>_0x201b14['every']((_0x5bd156,_0x3b1801)=>_0x3d607c[_0x3b1801]===_0x5bd156||'*'===_0x3d607c[_0x3b1801]));}function _0x17efc9(){return _0x5acbc5&&_0x179d00?new window['Promise']((_0x1d259a,_0x295ce2)=>{_0x5acbc5['then'](_0x1d259a,_0x295ce2),_0x179d00['then'](_0x46f8ce=>{'Valid'!=_0x46f8ce&&_0x1d259a(_0x46f8ce);},_0x295ce2);}):_0x5acbc5||_0x179d00||'Valid';}}function _0x28e21d(_0x181f1d,_0x5c07be){return new window['Promise'](_0x5f2e82=>{if(_0x339516())return _0x5f2e82('Valid');_0x366484(),_0x29d941['decorate']('_sendUsageRequest');let _0x58d28c=!0x1;const _0x5a88c6=_0x10825a();function _0x8b4811(_0x862d4){return!!_0x862d4&&('object'==typeof _0x862d4||'function'==typeof _0x862d4)&&'function'==typeof _0x862d4['then']&&'function'==typeof _0x862d4['catch'];}function _0x2fcfd8(_0x1cea87){_0x40631b(_0x1cea87)['then'](_0x127c82=>_0x127c82&&'ok'==_0x127c82['status']?_0x4cedf8(_0x59a17f(_0x5a88c6+_0x5c07be))!=_0x127c82['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x523ce4=>(_0x41dc90(),_0x523ce4),()=>{const _0x57f63e=_0x16d154();return null==_0x57f63e?(_0x41dc90(),'Valid'):_0x26752b-_0x57f63e>0x240c8400?'UsageLimit':'Valid';})['then'](_0x5f2e82)['catch'](()=>{_0x5f2e82('UsageLimit');});const _0x2d0a61=0x36ee80;function _0x41dc90(){const _0x55c965='llct-'+_0x4cedf8(_0x59a17f(_0x181f1d)),_0x29c079=_0x38cd30(_0x4cedf8(window['Math']['ceil'](_0x26752b/_0x2d0a61)));window['localStorage']['setItem'](_0x55c965,_0x29c079);}function _0x16d154(){const _0x5d3089='llct-'+_0x4cedf8(_0x59a17f(_0x181f1d)),_0x365f64=window['localStorage']['getItem'](_0x5d3089);return _0x365f64?window['parseInt'](_0x38cd30(_0x365f64),0x10)*_0x2d0a61:null;}function _0x40631b(_0x26e2b4){return new window['Promise']((_0x4c1b16,_0x3c47be)=>{_0x26e2b4['then'](_0x4c1b16,_0x3c47be),window['setTimeout'](_0x3c47be,0x1d4c0);});}}_0x29d941['on']('_sendUsageRequest',(_0x130ca7,_0x520aca)=>{if(_0x520aca[0x0]!=_0x181f1d)return _0x5f2e82('UsageLimit');_0x520aca[0x1]={..._0x520aca[0x1],'requestId':_0x5a88c6};},{'priority':'high'}),_0x29d941['on']('_sendUsageRequest',_0x1f694e=>{_0x8b4811(_0x1f694e['return'])&&(_0x58d28c=!0x0,_0x2fcfd8(_0x1f694e['return']));},{'priority':'low'}),_0x52780b['then'](()=>{_0x58d28c||_0x5f2e82('UsageLimit');});});function _0x339516(){return'auto'==_0x29d941['editing']['view']['_overlayModeHint'];}function _0x366484(){_0x29d941['editing']['view']['_overlayModeHint']='auto';}}function _0x114b56(_0x4c5640){const _0x63de78=[new window['Promise'](_0x42af10=>setTimeout(_0x42af10,0x93ecc)),_0x52780b['then'](()=>new window['Promise'](_0x2221a1=>{const _0x2c2d79=0x7,_0x5a82c5=_0x3da8ca['_revisions'];function _0x2a5f3c(){_0x5a82c5['length']>=_0x2c2d79&&_0x2221a1();}_0x2a5f3c(),_0x5a82c5['on']('add',_0x2a5f3c);})),new window['Promise'](_0x506f70=>{function _0x1f59d6(){for(const _0x3cf3f8 in window)if(window['Number']['isNaN'](window['Number'](_0x3cf3f8))&&window[_0x3cf3f8]==_0x5d9c14)return _0x506f70();'destroyed'!=_0x29d941['state']&&window['setTimeout'](_0x1f59d6,0x1388);}_0x259d17('RevisionViewer')&&_0x1f59d6();})];return window['Promise']['race'](_0x63de78)['then'](()=>_0x4c5640);}async function _0x357280(){if(await _0x52780b,_0x259d17('RevisionViewer')){const _0x4fc128=_0x3da8ca['getRevision'](0x0),_0xd06e7a=_0x3da8ca['getEarlierVisibleRevision'](_0x4fc128['id']),_0x512a85=_0x518b1a('RevisionViewer');return await _0x512a85['compare'](_0x4fc128['id'],_0xd06e7a?_0xd06e7a['id']:null,!0x0),_0x512a85['unbind']('isEnabled'),_0x512a85['isEnabled']=!0x1,_0x512a85['compare']=_0x2e3173,void(_0x512a85['_getDiff']=_0x2e3173);}if(_0x259d17('RevisionTracker')){const _0x37dca5=_0x518b1a('RevisionTracker');_0x37dca5['unbind']('isEnabled'),_0x37dca5['isEnabled']=!0x1,_0x37dca5['update']=_0x2e3173,_0x37dca5['saveRevision']=_0x2e3173;}_0x29d941['model']['change']=_0x2e3173,_0x29d941['model']['enqueueChange']=_0x2e3173,_0x29d941['enableReadOnlyMode']('model');}function _0x15a2fa(){return _0x259d17('WebSocketGateway')&&'connected'==_0x518b1a('WebSocketGateway')['state'];}function _0x3efd1b(){return _0x259d17('RevisionViewerIntegration');}function _0x43b636(){return _0x259d17('TrackChangesDataGetter');}function _0x1045fb(_0x34084c){const _0x178c35=_0x1bd912();_0x29d941[_0x178c35]='revisionHistoryLicenseKey'+_0x34084c,_0x34084c['endsWith']('Limit')&&(window[_0x1bd912()]=_0x5d9c14),'Valid'!=_0x34084c&&_0x357280();}function _0x1bd912(){const _0xa18226=window['String'](window['performance']['now']())['replace']('.','');let _0x55ee38='v';for(let _0x54c88c=0x0;_0x54c88c<_0xa18226['length'];_0x54c88c+=0x2){let _0x19965c=window['parseInt'](_0xa18226['substring'](_0x54c88c,_0x54c88c+0x2));_0x19965c>=0x3e&&(_0x19965c-=0x3e),_0x55ee38+=_0x4d7947[_0x19965c];}return _0x55ee38;}function _0x465ecd(){const _0x21ab68=_0x20d20a['split']('.');if(0x3!=_0x21ab68['length'])return null;return _0x3bc622(_0x21ab68[0x1]);function _0x3bc622(_0x567204){const _0x21ccb2=_0x4c26f5(_0x567204);return _0x21ccb2&&_0xf12980()?_0x21ccb2:null;function _0xf12980(){const _0x1968c9=_0x21ccb2['jti'],_0x38c47f=window['parseInt'](_0x1968c9['substring'](_0x1968c9['length']-0x8),0x10),_0x54d1f6={..._0x21ccb2,'jti':_0x1968c9['substring'](0x0,_0x1968c9['length']-0x8)};return delete _0x54d1f6['vc'],_0x59a17f(_0x54d1f6)==_0x38c47f;}}}async function _0x577f14(){let _0x468bcd=!0x0;try{const [_0x3a4730,_0x1335e4,_0x19cc93]=_0x20d20a['split']('.');return _0x1914da(_0x3a4730),await _0x3433b7(_0x3a4730,_0x1335e4,_0x19cc93),_0x468bcd;}catch{return!0x1;}function _0x1914da(_0x27ca62){const _0x4c76ec=_0x4c26f5(_0x27ca62);_0x4c76ec&&'ES256'==_0x4c76ec['alg']||(_0x468bcd=!0x1);}async function _0x3433b7(_0x1e6a81,_0x81b80,_0xc371ff){const _0x39ae7f=window['Uint8Array']['from'](_0x450df3(_0xc371ff),_0x65ffa2=>_0x65ffa2['charCodeAt'](0x0)),_0x320327=new window['TextEncoder']()['encode'](_0x1e6a81+'.'+_0x81b80),_0x31a1a2=window['crypto']['subtle'];if(!_0x31a1a2)return;const _0x523a74=await _0x31a1a2['importKey']('jwk',_0x21888f,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x31a1a2['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x523a74,_0x39ae7f,_0x320327)||(_0x468bcd=!0x1);}}function _0x4c26f5(_0x23d881){return _0x23d881['startsWith']('ey')?JSON['parse'](_0x450df3(_0x23d881)):null;}function _0x450df3(_0x207f1f){return window['atob'](_0x207f1f['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x59a17f(_0x3a2dcf){let _0x3fb631=0x1505;function _0x4df111(_0x3e3309){for(let _0x59a38e=0x0;_0x59a38e<_0x3e3309['length'];_0x59a38e++){const _0x5f4db3=_0x3e3309['charCodeAt'](_0x59a38e);_0x3fb631=(_0x3fb631<<0x5)+_0x3fb631+_0x5f4db3,_0x3fb631&=_0x3fb631;}}function _0x646a88(_0x319e94){Array['isArray'](_0x319e94)?_0x319e94['forEach'](_0x646a88):_0x319e94&&'object'==typeof _0x319e94?Object['entries'](_0x319e94)['sort']()['forEach'](([_0x4bbb89,_0x3781fb])=>{_0x4df111(_0x4bbb89),_0x646a88(_0x3781fb);}):_0x4df111(window['String'](_0x319e94));}return _0x646a88(_0x3a2dcf),_0x3fb631>>>0x0;}function _0x4cedf8(_0x2e4f0e){return _0x2e4f0e['toString'](0x10)['padStart'](0x8,'0');}function _0x38cd30(_0x3b6b59){return _0x3b6b59['split']('')['reverse']()['join']('');}function _0x259d17(_0x2f2cf2){return _0x29d941['plugins']['has'](_0x2f2cf2);}function _0x518b1a(_0x3662a8){return _0x29d941['plugins']['get'](_0x3662a8);}function _0x2e3173(){}_0x1045fb(await _0xb2c6cb());}(this);}['createRevision'](_0x17e28c){const _0x4915de=this['editor']['plugins']['get']('Users');return new hM({'id':_0x17e28c['id'],'name':_0x17e28c['name'],'creator':_0x17e28c['creatorId']?_0x4915de['getUser'](_0x17e28c['creatorId']):null,'diffData':_0x17e28c['diffData']||_0x17e28c['data'],'authors':_0x17e28c['authorsIds']['map'](_0x163ef8=>_0x4915de['getUser'](_0x163ef8)),'createdAt':new Date(_0x17e28c['createdAt']),'attributes':_0x17e28c['attributes'],'fromVersion':_0x17e28c['fromVersion'],'toVersion':_0x17e28c['toVersion']});}['addRevision'](_0x129a24,_0x1be917=0x0){this['_revisions']['add'](_0x129a24,_0x1be917);}['getRevision'](_0x25e566){return this['_revisions']['get'](_0x25e566);}['getRevisions'](_0x2d6256={'toJSON':!0x1}){const _0x134101=Array['from'](this['_revisions']);return _0x134101['reverse'](),_0x2d6256['toJSON']?_0x134101['map'](_0x470f34=>_0x470f34['toJSON']()):_0x134101;}['getIndex'](_0x3b0478){return this['_revisions']['getIndex'](_0x3b0478);}['getEarlierVisibleRevision'](_0x12787b){const [,_0x57970b]=this['getRevisionsIterator'](_0x12787b,{'direction':'earlier'});return _0x57970b;}['getLaterVisibleRevision'](_0x2acebc){const [,_0xb4ab1a]=this['getRevisionsIterator'](_0x2acebc,{'direction':'later'});return _0xb4ab1a;}['getRevisionsInDiff'](_0x3e375a){const _0x53cfbf=[];for(const _0x505ab8 of this['getRevisionsIterator'](_0x3e375a['newRevisionId']))if(_0x53cfbf['push'](_0x505ab8),_0x505ab8['id']===_0x3e375a['oldRevisionId'])break;return _0x53cfbf;}*['getRevisionsIterator'](_0x34c110,{direction:_0x443110='earlier',filter:_0xb3430=()=>!0x0}={}){const _0x17635a='earlier'===_0x443110?0x1:-0x1;let _0x159fbb=this['_revisions']['get'](_0x34c110),_0x34c81c=this['getIndex'](_0x159fbb);for(yield _0x159fbb;_0x159fbb;){if(_0x34c81c+=_0x17635a,_0x159fbb=this['getRevision'](_0x34c81c),!_0x159fbb)return;_0xb3430(_0x159fbb)&&(yield _0x159fbb);}}},dM=class extends _0x36b920{static get['pluginName'](){return'RevisionHistoryUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_viewClassToTypeChar']=new Map([[_0x9ea5e1,'c'],[_0x2377c5,'a'],[_0x479a0a,'e'],[_0x411ae9,'r'],[_0x108bdc,'u']]);['_typeCharToViewClass']=new Map([['c',_0x9ea5e1],['a',_0x2377c5],['e',_0x479a0a],['r',_0x411ae9],['u',_0x108bdc]]);async['loadRevisionData'](_0x4c5a0b,_0x1edb79){if(_0x4c5a0b['diffData']||!_0x1edb79)return;const _0x2cc48f=this['editor']['config']['get']('collaboration.channelId');_0x4c5a0b['diffData']=(await _0x1edb79['getRevision']({'channelId':_0x2cc48f,'revisionId':_0x4c5a0b['id']}))['diffData'];}['getRevisionDocumentData'](_0x537532){const _0x564029={};for(const _0x4f3a83 in _0x537532['diffData']){if(_0x537532['diffData'][_0x4f3a83]['attachChange']&&!_0x537532['diffData'][_0x4f3a83]['attachChange']['isAttached'])continue;const _0x2f6e5e=this['_removeRevisionMarkers'](JSON['parse'](_0x537532['diffData'][_0x4f3a83]['insertions'])),_0x1c239e=this['editor']['editing']['view']['document'],_0x39e9b3=new _0x243e02(_0x1c239e,_0x2f6e5e['map'](_0x57dfee=>this['_getViewFromDiffObj'](_0x57dfee,!0x1)));this['editor']['data']['processor']['useFillerType']('marked'),_0x564029[_0x4f3a83]=this['editor']['data']['processor']['toData'](_0x39e9b3),this['editor']['data']['processor']['useFillerType']('default');}return _0x564029;}['getRevisionRootsAttributes'](_0x45daa0){const _0x3fa041={};for(const _0x49087a in _0x45daa0['diffData'])_0x45daa0['diffData'][_0x49087a]['attachChange']&&!_0x45daa0['diffData'][_0x49087a]['attachChange']['isAttached']||(_0x3fa041[_0x49087a]=_0x45daa0['diffData'][_0x49087a]['attributesAfter']||{});return _0x3fa041;}['getRevisionRootsModelElements'](_0x5bedaf){const _0x25c50f={};for(const _0x241df8 in _0x5bedaf['diffData']){if(_0x5bedaf['diffData'][_0x241df8]['attachChange']&&!_0x5bedaf['diffData'][_0x241df8]['attachChange']['isAttached'])continue;const _0x373696=_0x5bedaf['diffData'][_0x241df8]['rootElementName'];_0x373696&&(_0x25c50f[_0x241df8]=_0x373696);}return _0x25c50f;}['_getTypeCharForViewElement'](_0x47b084){return this['_viewClassToTypeChar']['get'](_0x47b084['constructor']);}['_getViewFromDiffObj'](_0x50db20,_0x10c2f1){const _0x11c6db=this['editor']['editing']['view']['document'];if('string'==typeof _0x50db20)return new _0x38385c(_0x11c6db,_0x50db20);{let _0x289643,_0x5996cf;_0x5996cf='u'==_0x50db20['type']||'r'==_0x50db20['type']?[]:_0x50db20['children']['map'](_0x54077c=>this['_getViewFromDiffObj'](_0x54077c,_0x10c2f1));const _0x22742b=this['_typeCharToViewClass']['get'](_0x50db20['type'])||_0x3f3b3f,_0xe4a44e=this['editor']['data']['htmlProcessor']['domConverter'];if(_0x289643=new _0x22742b(_0x11c6db,_0x50db20['name'],_0x50db20['attributes'],_0x5996cf),'u'==_0x50db20['type']&&_0x50db20['children'][0x0]){const _0x1f5927=_0x50db20['children'][0x0];if(_0x289643['render']=function(_0x363f2f){const _0x349bfe=_0x363f2f['createElement']('div');return _0x349bfe['innerHTML']=_0x1f5927,_0x349bfe['childNodes'][0x0];},_0x10c2f1){const _0x1cf479=new _0x243e02(_0x11c6db);_0x1cf479['_appendChild'](_0x289643);const _0x393428=Array['from'](_0xe4a44e['viewChildrenToDom'](_0x1cf479,{'bind':!0x1})),_0x19c818=_0xe4a44e['domDocument']['createElement']('div');_0x19c818['append'](..._0x393428),_0x289643=Array['from'](_0xe4a44e['domChildrenToView'](_0x19c818))[0x0];}}else{if('r'==_0x50db20['type']&&_0x50db20['children'][0x0]){const _0xcfb649=_0x50db20['children'][0x0];if(_0x289643['render']=function(_0x6a2168){_0x6a2168['innerHTML']=_0xcfb649;},_0x10c2f1){const _0x2ce0ec=new _0x243e02(_0x11c6db);_0x2ce0ec['_appendChild'](_0x289643);const _0x3900a6=Array['from'](_0xe4a44e['viewChildrenToDom'](_0x2ce0ec,{'bind':!0x1})),_0x1b51d4=_0xe4a44e['domDocument']['createElement']('div');_0x1b51d4['append'](..._0x3900a6);const _0x285529=Array['from'](_0xe4a44e['domChildrenToView'](_0x1b51d4));_0x285529['length']>0x1?_0x289643['_appendChild'](_0x285529):_0x289643=_0x285529[0x0];}}}if(_0x50db20['customProperties']){for(const [_0x139cdd,_0x3d9e2b]of _0x50db20['customProperties'])_0x289643['_setCustomProperty'](_0x139cdd,_0x3d9e2b);}const _0x3bd784=void 0x0===_0x50db20['fillerOffset']?null:_0x50db20['fillerOffset'];return null!==_0x3bd784&&(_0x289643['getFillerOffset']=()=>_0x3bd784),_0x289643;}}['_makeModelFromViewString'](_0x338c73,_0x2cf988){const _0x519b1f=JSON['parse'](_0x338c73),_0x394efd=this['editor']['editing']['view']['document'],_0x24152f=new _0x243e02(_0x394efd,_0x519b1f['map'](_0x3edecc=>this['_getViewFromDiffObj'](_0x3edecc,!0x0))),_0x441a13=this['editor']['data']['toModel'](_0x24152f,_0x2cf988);return _0x441a13['name']=_0x2cf988,_0x441a13;}['_removeRevisionMarkers'](_0x7f6e16){return(_0x7f6e16=_0x7f6e16['filter'](_0x181e31=>!_0x181e31['name']||'revision-start'!==_0x181e31['name']&&'revision-end'!==_0x181e31['name']))['forEach'](_0xd87b4f=>{'string'!=typeof _0xd87b4f&&(_0xd87b4f['children']=this['_removeRevisionMarkers'](_0xd87b4f['children']),_0xd87b4f['attributes']=_0xd87b4f['attributes']['filter'](_0x53ef6f=>!_0x53ef6f[0x0]['startsWith']('data-revision-')));}),_0x7f6e16;}};function fM(_0xd7f331,_0x762092,_0x22252e){const t=_0xd7f331['t'];switch(_0x762092){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'},_0x22252e);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x22252e);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}var mM=class extends _0x36b920{['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[ha,uM,dM,_0x56f92e];}constructor(_0x5d5981){super(_0x5d5981),this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_utils']=this['editor']['plugins']['get']('RevisionHistoryUtils'),this['_revisionDataBuilder']=new pM(this['editor']),this['_initialRevisionId']=this['editor']['config']['get']('collaboration.channelId')||'initial',this['_bufferedUpdates']=new Map(),this['_loadedStateData']=null;const _0x11ff87=_0x10825a();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x11ff87},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 _0x544f81=this['repository']['getRevision'](0x0),_0x4c10b1=_0x544f81&&null===_0x544f81['creator']?_0x544f81:null;if(this['_continueCurrentRevision']=!!_0x4c10b1&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x30c969=this['_source']['getCurrentRevisionId'](),_0x10af1f=this['repository']['getRevision'](_0x30c969);if(_0x10af1f)this['_startingVersion']=_0x10af1f['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x235ea3=this['_source']['history']['_operations']['find'](_0x47a703=>!_0x47a703['_isInit']),_0x2bfbc6=_0x235ea3?_0x235ea3['baseVersion']:this['_source']['history']['version'];_0x544f81?(_0x544f81['toVersion']<_0x2bfbc6&&_0x544f81['_update']({'toVersion':_0x2bfbc6}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x4c10b1['id'],this['_startingVersion']=_0x4c10b1['fromVersion']):(this['_startingVersion']=_0x544f81['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x2bfbc6,this['_continueCurrentRevision']=!0x1);}}else _0x4c10b1&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x4c10b1['toVersion'],this['editor']['model']['document']['history']['version']),_0x4c10b1['fromVersion']===_0x4c10b1['toVersion']?(0x0!==_0x4c10b1['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x4c10b1['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x4c10b1['id'],this['_startingVersion']=_0x4c10b1['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',_0x18c475=>!_0x18c475),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x56c1fa=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x45131d;for(const _0x21d47d in _0x56c1fa){const _0xd8407b=_0x21d47d,_0x50aefb=_0x56c1fa[_0xd8407b];if('revisionHistoryLicenseKeyValid'==_0x50aefb||'revisionHistoryLicenseKeyInvalid'==_0x50aefb||'revisionHistoryLicenseKeyExpired'==_0x50aefb||'revisionHistoryLicenseKeyDomainLimit'==_0x50aefb||'revisionHistoryLicenseKeyNotAllowed'==_0x50aefb||'revisionHistoryLicenseKeyEvaluationLimit'==_0x50aefb||'revisionHistoryLicenseKeyUsageLimit'==_0x50aefb){delete _0x56c1fa[_0xd8407b],_0x45131d=_0x50aefb,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'revisionHistoryLicenseKeyInvalid'==_0x45131d&&_0x56c1fa['_showLicenseError']('invalid'),'revisionHistoryLicenseKeyExpired'==_0x45131d&&_0x56c1fa['_showLicenseError']('expired'),'revisionHistoryLicenseKeyDomainLimit'==_0x45131d&&_0x56c1fa['_showLicenseError']('domainLimit'),'revisionHistoryLicenseKeyNotAllowed'==_0x45131d&&_0x56c1fa['_showLicenseError']('featureNotAllowed','RevisionHistory'),'revisionHistoryLicenseKeyEvaluationLimit'==_0x45131d&&_0x56c1fa['_showLicenseError']('evaluationLimit'),'revisionHistoryLicenseKeyUsageLimit'==_0x45131d&&_0x56c1fa['_showLicenseError']('usageLimit');},0x3e8);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x250453=this['repository']['getRevision'](0x0),_0x58111c=await this['getRevisionDocumentData'](_0x250453),_0x110b34=await this['getRevisionRootsAttributes'](_0x250453),_0x2d947a=this['_utils']['getRevisionRootsModelElements'](_0x250453);this['_replaceEditorDataWithRevisionData'](_0x58111c,_0x110b34,_0x2d947a);}}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['setSource'](_0x5afe84){this['_source']=_0x5afe84;}async['update'](){const _0x44eb7c=await this['_source']['getLatestVersion']();if(_0x44eb7c>this['currentRevision']['toVersion']){await this['_loadState']();const _0x429816=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x44eb7c});_0x429816['authors']=_0x429816['authorsIds']['map'](_0x5caebd=>this['editor']['plugins']['get']('Users')['getUser'](_0x5caebd)),this['currentRevision']['_update'](_0x429816);}}async['saveRevision'](_0x108766={},_0x100fc4=null){const _0x3da022=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x100fc4>this['currentRevision']['toVersion']&&(_0x100fc4=null),null===_0x100fc4&&(_0x100fc4=await this['_source']['getLatestVersion']());const _0x47ec54=this['_getFromVersion'](_0x100fc4),_0x444475=this['buildRevisionData']({'from':_0x47ec54,'to':_0x100fc4});if(this['currentRevision']['toVersion']<_0x100fc4){const _0x1c8c2a=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x100fc4,'to':_0x100fc4});_0x1c8c2a['authors']=[],_0x1c8c2a['authorsIds']=[],_0x1c8c2a['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x1c8c2a,!0x0),delete _0x1c8c2a['authors'],_0x3da022['push'](_0x1c8c2a);}_0x108766['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x108766['name']=_0x108766['name']||null,_0x108766['id']=_0x108766['id']||_0x10825a(),_0x108766={..._0x108766,..._0x444475};const _0x3882a0=this['addRevisionData'](_0x108766);_0x3da022['push'](_0x108766);const _0x33f139=this['repository']['getIndex'](_0x3882a0);if(0x0!==_0x33f139){const _0x58f30e=this['repository']['getRevision'](_0x33f139-0x1);if(_0x58f30e['fromVersion']!==_0x100fc4){const _0x118d16=this['_revisionDataBuilder']['getData'](_0x100fc4,_0x58f30e['toVersion']),_0x3d1a06={'id':_0x58f30e['id'],'diffData':_0x118d16['diffData'],'authorsIds':_0x118d16['authorsIds'],'authors':_0x118d16['authorsIds']['map'](_0x484c6c=>this['editor']['plugins']['get']('Users')['getUser'](_0x484c6c)),'fromVersion':_0x100fc4};_0x58f30e===this['currentRevision']&&(_0x3d1a06['createdAt']=new Date(_0x108766['createdAt']['getTime']()+0xa)),_0x58f30e['_update'](_0x3d1a06,!0x0),delete _0x3d1a06['authors'],_0x3da022['push'](_0x3d1a06);}}if(this['adapter']){for(const _0x19d252 of _0x3da022)this['_bufferUpdate'](_0x19d252['id'],_0x19d252,!0x0);this['sendBufferedUpdates']();}return _0x3882a0;}['addRevisionData'](_0x55dfa4){const _0xef0df5=this['repository']['createRevision'](_0x55dfa4);return this['adapter']&&_0xef0df5['on']('_update',(_0x2611f2,_0x22ddfc,_0x2c8038)=>{_0x2c8038||(this['_bufferUpdate'](_0x22ddfc['id'],_0x22ddfc,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0xef0df5,this['_findInsertionIndex'](_0xef0df5)),_0xef0df5;}async['getRevisionDocumentData'](_0x9b5a42){return await this['_utils']['loadRevisionData'](_0x9b5a42,this['adapter']),this['_utils']['getRevisionDocumentData'](_0x9b5a42);}async['getRevisionRootsAttributes'](_0x4529c5){return await this['_utils']['loadRevisionData'](_0x4529c5,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x4529c5);}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0xc05b06=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x34f9b5=0x0;_0x34f9b5<_0xc05b06['length'];_0x34f9b5++){const _0x4d49f6=_0xc05b06[_0x34f9b5];let _0x1c48d8=!0x1;for(const _0x46b337 of Object['keys'](_0x4d49f6))void 0x0===_0x4d49f6[_0x46b337]?delete _0x4d49f6[_0x46b337]:'id'!==_0x46b337&&(_0x1c48d8=!0x0);_0x1c48d8||(_0xc05b06[_0x34f9b5]=null);}if(_0xc05b06=_0xc05b06['filter'](_0x17b634=>null!==_0x17b634),!_0xc05b06['length'])return;for(let _0x9c99f=0x0;_0x9c99f<_0xc05b06['length'];_0x9c99f++){const _0xbb3a08=_0xc05b06[_0x9c99f];void 0x0!==_0xbb3a08['fromVersion']&&void 0x0===_0xbb3a08['toVersion']&&(_0xbb3a08['toVersion']=this['repository']['getRevision'](_0xbb3a08['id'])['toVersion']),void 0x0!==_0xbb3a08['toVersion']&&void 0x0===_0xbb3a08['fromVersion']&&(_0xbb3a08['fromVersion']=this['repository']['getRevision'](_0xbb3a08['id'])['fromVersion']);}const _0x8c6793=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0xc05b06,_0x8c6793)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x347dce=>{if(_0x347dce){for(const _0x2154e8 of _0x347dce)this['setRevisionData']({'id':_0x2154e8['id'],'createdAt':_0x2154e8['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['buildRevisionData']({revision:_0x3e97f8=null,from:_0x3ab218=null,to:_0x1e03c5=null}){_0x3ab218=null!==_0x3ab218?_0x3ab218:_0x3e97f8['fromVersion'],_0x1e03c5=null!==_0x1e03c5?_0x1e03c5:_0x3e97f8['toVersion'];const _0x18fedf=this['_revisionDataBuilder']['getData'](_0x3ab218,_0x1e03c5),_0x32b09b={'diffData':_0x18fedf['diffData'],'authorsIds':_0x18fedf['authorsIds'],'fromVersion':_0x3ab218,'toVersion':_0x1e03c5};if(!_0x3e97f8||_0x1e03c5!==_0x3e97f8['toVersion']){const _0x2d0c6c=_0x1e03c5-0x1,_0x608775=this['_source']['history']['getOperation'](_0x2d0c6c);_0x32b09b['createdAt']=_0x608775&&_0x608775['createdAt']||new Date();}if(this['_loadedStateData']&&_0x3ab218===this['_loadedStateData']['fromVersion']){for(const _0x437bc3 of this['_loadedStateData']['authors'])_0x32b09b['authorsIds']['includes'](_0x437bc3['id'])||_0x32b09b['authorsIds']['push'](_0x437bc3['id']);}return _0x32b09b;}['_bufferUpdate'](_0x348b85,_0x112cbf,_0x540609){if(this['_bufferedUpdates']['has'](_0x348b85)){const _0x4c90d8=this['_bufferedUpdates']['get'](_0x348b85);_0x112cbf=_0x540609?{..._0x4c90d8,..._0x112cbf}:{..._0x112cbf,..._0x4c90d8};}this['_bufferedUpdates']['set'](_0x348b85,_0x112cbf);}['setRevisionData'](_0x44766d){const _0x5028d4=this['repository']['getRevision'](_0x44766d['id']);if(_0x44766d['createdAt']&&(_0x44766d['createdAt']=new Date(_0x44766d['createdAt'])),_0x44766d['authorsIds']){const _0x50d6d6=this['editor']['plugins']['get']('Users');_0x44766d['authors']=_0x44766d['authorsIds']['map'](_0x20d001=>_0x50d6d6['getUser'](_0x20d001));}_0x5028d4['_update'](_0x44766d,!0x0);}['_createInitialRevision'](_0x448d4e){const _0x55de24=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x55de24)this['_initialRevisionId']=_0x55de24['id'];else{const _0x1729a1=!this['editor']['model']['document']['roots']['find'](_0x526121=>this['editor']['model']['hasContent'](_0x526121)),_0x35e1d9=this['editor']['plugins']['get']('Users')['me']['id'],_0x18837a=fM(this['editor']['locale'],_0x1729a1?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x448d4e,'to':_0x448d4e,'id':this['_initialRevisionId'],'name':_0x18837a,'creatorId':_0x35e1d9});}}['_createCurrentRevision'](_0x3b85e7){const _0x1a5438=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x1a5438),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x3b85e7,'to':_0x3b85e7,'id':_0x1a5438,'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'](_0x354611,_0x1ded3b,_0x400ba8){const _0x357745={},_0x915a01={},_0x1ec693={},_0x5d19bc=this['editor']['config']['get']('roots')||{};for(const [_0x470c1e,_0x36fb09]of Object['entries'](_0x5d19bc))_0x36fb09['lazyLoad']||(_0x357745[_0x470c1e]=_0x36fb09['initialData']??'',_0x915a01[_0x470c1e]=_0x36fb09['modelAttributes']||{},_0x36fb09['modelElement']&&(_0x1ec693[_0x470c1e]=_0x36fb09['modelElement']));for(const _0x171608 of this['editor']['model']['document']['getRootNames']())_0x357745[_0x171608]??='',_0x915a01[_0x171608]??={};let _0x3f209f=!0x1;const _0x30722c=Object['keys'](_0x357745),_0x2007c0=Object['keys'](_0x354611);for(const _0x5255df of _0x30722c){if(_0x357745[_0x5255df]!==_0x354611[_0x5255df]&&''!==_0x357745[_0x5255df]['trim']()){_0x3f209f=!0x0;break;}if(!qr(_0x915a01[_0x5255df],_0x1ded3b[_0x5255df])&&Object['keys'](_0x915a01[_0x5255df])['length']>0x0){_0x3f209f=!0x0;break;}const _0x1476ec=_0x1ec693[_0x5255df],_0x4aa4e7=_0x400ba8[_0x5255df];if(_0x1476ec&&_0x4aa4e7&&_0x1476ec!==_0x4aa4e7){_0x3f209f=!0x0;break;}}_0x3f209f||(_0x3f209f=_0x2007c0['some'](_0x460b27=>!this['editor']['model']['document']['getRoot'](_0x460b27))),_0x3f209f&&_0x43c457('editor-initial-data-replaced-with-revision-data',{'editorData':_0x357745,'editorRootsAttributes':_0x915a01,'editorRootsModelElements':_0x1ec693,'revisionData':_0x354611,'revisionRootsAttributes':_0x1ded3b,'revisionRootsModelElements':_0x400ba8});for(const [_0x1db160,_0xda3077]of Object['entries'](_0x354611))this['editor']['config']['set']('roots.'+_0x1db160+'.initialData',_0xda3077);for(const [_0x4f0cd2,_0x44d9ba]of Object['entries'](_0x1ded3b))this['editor']['config']['set']('roots.'+_0x4f0cd2+'.modelAttributes',_0x44d9ba);const _0x4742fd=this['editor']['model']['document'];for(const [_0x3889a5,_0xd2b4fd]of Object['entries'](_0x400ba8)){this['editor']['config']['set']('roots.'+_0x3889a5+'.modelElement',_0xd2b4fd);const _0x10932f=_0x4742fd['getRoot'](_0x3889a5);_0x10932f&&_0x10932f['name']!==_0xd2b4fd&&(_0x4742fd['roots']['remove'](_0x3889a5),_0x4742fd['createRoot'](_0xd2b4fd,_0x3889a5));}}['_addPendingAction'](){if(!this['_pendingAction']){const _0x2e022c=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x2e022c['add'](fM(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x1508b0){const _0x13248b=this['repository']['getRevisions']();_0x13248b['reverse']();let _0x4932a2=0x0;for(;_0x4932a2<_0x13248b['length'];){const _0x4a580c=_0x13248b[_0x4932a2];if(_0x4a580c===this['currentRevision']){_0x4932a2++;continue;}if(_0x4a580c['id']===this['_initialRevisionId'])break;const _0x5b133f=_0x1508b0['toVersion']-_0x4a580c['toVersion']||_0x1508b0['fromVersion']-_0x4a580c['fromVersion'];if(_0x5b133f>0x0)break;if(_0x5b133f<0x0)_0x4932a2++;else{if(!_0x1508b0['creator']&&_0x4a580c['creator'])break;if(_0x4a580c['creator']||!_0x1508b0['creator']){if(_0x1508b0['createdAt']>_0x4a580c['createdAt'])break;_0x4932a2++;}else _0x4932a2++;}}return _0x4932a2;}['_getFromVersion'](_0x48ee34){const _0x12252b=this['repository']['getRevisions']();_0x12252b['reverse'](),_0x12252b['shift']();const _0x197aed=_0x12252b['find'](_0x2b9dea=>_0x2b9dea['toVersion']<=_0x48ee34)['toVersion'];return _0x197aed<this['_startingVersion']?this['_startingVersion']:_0x197aed;}['_makeRevision']({name:_0x6bdb7e,from:_0x4dd2fe,to:_0x537e91,creatorId:_0x9f2c52,id:_0x4facdd}){const _0x37eed2=this['buildRevisionData']({'from':_0x4dd2fe,'to':_0x537e91});_0x37eed2['name']=_0x6bdb7e,_0x37eed2['creatorId']=_0x9f2c52,_0x37eed2['id']=_0x4facdd;const _0x2ea2af=this['addRevisionData'](_0x37eed2);return this['adapter']&&this['_bufferUpdate'](_0x37eed2['id'],_0x37eed2,!0x0),_0x2ea2af;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}},pM=class{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x440d58){this['editor']=_0x440d58,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'](_0x2b4add){this['source']=_0x2b4add;const _0x8699a1=new Map(),_0x2ae754=new Map(),_0x7d66c1=this['editor']['model']['document']['roots']['map'](_0x2c4f63=>_0x2c4f63['rootName']);for(const _0x34328e of _0x7d66c1){const _0x3cf397=this['editor']['model']['document']['getRoot'](_0x34328e),_0x4c3c6f=gM(_0x3cf397);_0x8699a1['set'](_0x34328e,_0x4c3c6f),_0x2ae754['set'](_0x34328e,Object['fromEntries'](_0x3cf397['getAttributes']()));}const _0x3164a2=Array['from'](this['editor']['model']['markers'])['map'](_0x97e072=>[_0x97e072['name'],_0x97e072['getRange']()]),_0x14f2a0=this['source']['version'];this['_saveMetaData'](_0x14f2a0,_0x8699a1,_0x3164a2,_0x2ae754),this['_startingRevisionId']=this['_revisionId'];const _0x5ae04b=new Map(),_0x9c8cc0=new Map();for(const _0x168e15 of _0x7d66c1){const _0x4a71cd=OM(_0x168e15,this['editor']['model']['document']['getRoot'](_0x168e15)['name']);_0x5ae04b['set'](_0x168e15,_0x4a71cd),_0x9c8cc0['set'](_0x168e15,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x5ae04b,[],_0x9c8cc0);}['getData'](_0x20992e,_0x798e99){if(this['_lastFrom']===_0x20992e&&this['_lastTo']<=_0x798e99)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x798e99,!0x0);else{if(!this['_savedMetaData']['has'](_0x20992e)){const _0x25790b=this['_getPreviousFrom'](_0x20992e);this['_calculateMetaData'](_0x25790b,_0x20992e,!0x1);}this['_calculateMetaData'](_0x20992e,_0x798e99,!0x0);}return this['_lastFrom']=_0x20992e,this['_lastTo']=_0x798e99,this['_getState']();}['loadState'](_0x2e515b){if(!this['_savedMetaData']['has'](_0x2e515b['fromVersion'])){const _0x56159d=this['_getPreviousFrom'](_0x2e515b['fromVersion']);this['_calculateMetaData'](_0x56159d,_0x2e515b['fromVersion'],!0x1);}this['_calculateMetaData'](_0x2e515b['fromVersion'],_0x2e515b['toVersion'],!0x1);const _0x5b11b6=this['editor']['plugins']['get']('RevisionHistoryUtils');this['_reset'](),this['_lastFrom']=_0x2e515b['fromVersion'],this['_lastTo']=_0x2e515b['toVersion'];for(const _0x4ac00b in _0x2e515b['diffData']){const _0x25eb6a=_0x2e515b['diffData'][_0x4ac00b]['attachChange'],_0x18cddf=Jr(_0x2e515b['diffData'][_0x4ac00b]['attributesBefore'])||{},_0x2f8616=_0x2e515b['diffData'][_0x4ac00b],_0x4f0a4a=_0x5b11b6['_makeModelFromViewString'](_0x2f8616['deletions'],_0x2f8616['rootElementName']||'$root');_0x4f0a4a['rootName']=_0x4ac00b,_0x4f0a4a['_isAttached']=!_0x25eb6a||!_0x25eb6a['isAttached'],_0x4f0a4a['isAttached']=()=>_0x4f0a4a['_isAttached'],this['_baseRoots']['set'](_0x4ac00b,_0x4f0a4a),this['_baseRootsAttributes']['set'](_0x4ac00b,_0x18cddf),_0x25eb6a&&this['_touchedRoots']['set'](_0x4ac00b,_0x25eb6a);const _0x4021c1=this['_makeIdsRoot'](_0x4f0a4a);this['_baseIdsRoots']['set'](_0x4ac00b,_0x4021c1);for(const [_0x4b5049,_0x6902e9]of _0x4f0a4a['markers']){if(!_0x4b5049['startsWith']('revision:'))continue;const _0x37d9fd=_0x4b5049['split'](':')[0x2];for(const _0x5b4cc5 of _0x6902e9['getWalker']({'singleCharacters':!0x0})){const _0x34f2e1=this['_getVidAttributeName'](_0x5b4cc5),_0x5b48f1='elementEnd'==_0x5b4cc5['type']?_0x5b4cc5['previousPosition']['path']['slice'](0x0,-0x1):_0x5b4cc5['previousPosition']['path'],_0x5231f1=_0x4021c1['getNodeByPath'](_0x5b48f1)['getAttribute'](_0x34f2e1);this['_touched']['set'](_0x5231f1,{'userId':_0x37d9fd});}_0x4f0a4a['markers']['delete'](_0x4b5049);}}this['_startingRevisionId']=this['_revisionId'];const _0x5d8d8c=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x51468d=>!this['_touched']['has'](_0x51468d));let _0x405476=0x0;const _0x4ce1d4=new Map();for(const _0x329d70 in _0x2e515b['diffData']){const _0x5e6e96=_0x2e515b['diffData'][_0x329d70]['attachChange'],_0x58d4a6=Jr(_0x2e515b['diffData'][_0x329d70]['attributesAfter'])||{},_0xd740f6=_0x2e515b['diffData'][_0x329d70],_0x441004=_0x5b11b6['_makeModelFromViewString'](_0xd740f6['insertions'],_0xd740f6['rootElementName']||'$root');_0x441004['rootName']=_0x329d70,_0x441004['_isAttached']=!_0x5e6e96||_0x5e6e96['isAttached'],_0x441004['isAttached']=()=>_0x441004['_isAttached'],this['_diffRoots']['set'](_0x329d70,_0x441004),this['_diffRootsAttributes']['set'](_0x329d70,_0x58d4a6);const _0x493b99=this['_makeIdsRoot'](_0x441004,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x329d70,_0x493b99),_0x4ce1d4['set'](_0x329d70,_0x441004['isAttached']()?_0x58d4a6:{});for(const [_0x469127,_0x5ab7df]of _0x441004['markers']){if(!_0x469127['startsWith']('revision:'))continue;const _0x3b34aa=_0x469127['split'](':')[0x2];for(const _0x5c96df of _0x5ab7df['getWalker']({'singleCharacters':!0x0})){const _0x52dcff=this['_getVidAttributeName'](_0x5c96df),_0x4b9f68=this['_revisionId']++,_0x55814c='elementEnd'==_0x5c96df['type']?_0x5c96df['previousPosition']['path']['slice'](0x0,-0x1):_0x5c96df['previousPosition']['path'];_0x493b99['getNodeByPath'](_0x55814c)['_setAttribute'](_0x52dcff,_0x4b9f68),this['_touched']['set'](_0x4b9f68,{'userId':_0x3b34aa});}_0x441004['markers']['delete'](_0x469127);}for(const _0xcbe039 of this['editor']['model']['createRangeIn'](_0x441004)['getWalker']({'singleCharacters':!0x0})){const _0x4a19f9=this['_getVidAttributeName'](_0xcbe039),_0x55acf9='elementEnd'==_0xcbe039['type']?_0xcbe039['previousPosition']['path']['slice'](0x0,-0x1):_0xcbe039['previousPosition']['path'],_0x50edf8=_0x493b99['getNodeByPath'](_0x55acf9);_0x50edf8['getAttribute'](_0x4a19f9)>0x0||_0x50edf8['_setAttribute'](_0x4a19f9,_0x5d8d8c[_0x405476++]);}for(const [_0x46af41,_0x4186e7]of _0x441004['markers'])_0x46af41['startsWith']('revision:')||this['_markers']['set'](_0x46af41,_0x4186e7);}const {roots:_0x293760}=this['_savedMetaData']['get'](_0x2e515b['fromVersion']),{roots:_0x3df0d1}=this['_savedMetaData']['get'](_0x2e515b['toVersion']),_0x5b334e=gM(_0x293760['get']('$graveyard'));this['_baseRoots']['set']('$graveyard',_0x5b334e),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x5b334e,Number['NEGATIVE_INFINITY']));const _0x310c25=gM(_0x3df0d1['get']('$graveyard'));this['_diffRoots']['set']('$graveyard',_0x310c25),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x310c25));const _0x5e9e5a=Array['from'](this['_diffRoots'])['map'](([_0x526bed,_0x5f010b])=>[_0x526bed,gM(_0x5f010b)]);this['_saveMetaData'](this['_lastTo'],_0x5e9e5a,this['_markers'],_0x4ce1d4);}['reInit'](){this['_reset'](),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_savedMetaData']['clear'](),this['init'](this['source']);}['_saveMetaData'](_0x58f8c3,_0x2f078c,_0x507a7e,_0x4e0ca1){const _0x49db13=new Map(_0x2f078c),_0x2b8ad7=new Map(Jr(_0x4e0ca1)),_0x1fdfb7=new Map();for(const [_0x1fa7c9,_0x2466c9]of _0x507a7e)_0x1fdfb7['set'](_0x1fa7c9,{'start':_0x2466c9['start']['clone'](),'end':_0x2466c9['end']['clone'](),'rootName':_0x2466c9['root']['rootName']});this['_savedMetaData']['set'](_0x58f8c3,{'roots':_0x49db13,'markers':_0x1fdfb7,'rootsAttributes':_0x2b8ad7});}['_removeMetaData'](_0x4c228f){this['_savedMetaData']['delete'](_0x4c228f);}['_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'](_0x5382fb,_0x59a187=null){let _0x2aeb73=null;_0x5382fb['is']('documentFragment')||(_0x2aeb73=new _0x33dcdb(_0x5382fb['name'],{'vid_start':null===_0x59a187?this['_revisionId']++:_0x59a187++}));const _0x1dbef4=[];for(const _0x25bfc8 of _0x5382fb['getChildren']())if(_0x25bfc8['is']('element')){_0x1dbef4['push'](this['_makeIdsRoot'](_0x25bfc8,_0x59a187));const _0x3f91fc=_0x1dbef4[_0x1dbef4['length']-0x1];null!==_0x59a187&&(_0x59a187=_0x3f91fc['is']('element','$text')?_0x3f91fc['getAttribute']('vid')+0x1:_0x3f91fc['getAttribute']('vid_end')+0x1);}else{for(let _0x161d24=0x0;_0x161d24<_0x25bfc8['offsetSize'];_0x161d24++)_0x1dbef4['push'](new _0x33dcdb('$text',{'vid':null===_0x59a187?this['_revisionId']++:_0x59a187++}));}if(_0x5382fb['is']('documentFragment')){const _0x2ace01=OM(_0x5382fb['rootName'],_0x5382fb['name']);return _0x2ace01['_insertChild'](0x0,_0x1dbef4),_0x2ace01;}return _0x2aeb73['_setAttribute']('vid_end',null===_0x59a187?this['_revisionId']++:_0x59a187++),_0x2aeb73['_insertChild'](0x0,_0x1dbef4),_0x2aeb73;}['_calculateMetaData'](_0xe370b1,_0x2995ae,_0x4df4f9){this['_reset']();const {roots:_0x170778,markers:_0x4e4e6c,rootsAttributes:_0x3d8a63}=this['_savedMetaData']['get'](_0xe370b1);this['_baseRoots']=new Map(_0x170778),this['_baseRootsAttributes']=new Map(Jr(_0x3d8a63));for(const [_0x5b3c9c,_0xc2985d]of this['_baseRoots'])if('$graveyard'!==_0x5b3c9c&&(this['_diffRoots']['set'](_0x5b3c9c,gM(_0xc2985d)),this['_diffRootsAttributes']=new Map(Jr(_0x3d8a63)),_0x4df4f9)){const _0x2e7f17=this['_revisionId'];this['_idsRoots']['set'](_0x5b3c9c,this['_makeIdsRoot'](_0xc2985d)),this['_baseIdsRoots']['set'](_0x5b3c9c,this['_makeIdsRoot'](_0xc2985d,_0x2e7f17));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',gM(this['_baseRoots']['get']('$graveyard'))),_0x4df4f9&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x3eb695,_0x53dc17]of _0x4e4e6c){const _0x2abb07=this['_baseRoots']['get'](_0x53dc17['rootName']),_0x4c9192=this['_diffRoots']['get'](_0x53dc17['rootName']),_0x3f7fee=new _0x1a83e1(this['_fixPosition'](_0x53dc17['start'],_0x2abb07),this['_fixPosition'](_0x53dc17['end'],_0x2abb07)),_0x114ae9=this['_fixRange'](_0x3f7fee,_0x4c9192);_0x2abb07['markers']['set'](_0x3eb695,_0x3f7fee),this['_markers']['set'](_0x3eb695,_0x114ae9);}this['_applyOperations'](_0xe370b1,_0x2995ae,_0x4df4f9);}['_applyOperations'](_0x1be589,_0x1304f5,_0x34a955){for(const _0x27e8bd of this['source']['getOperations'](_0x1be589,_0x1304f5))this['_handleOperation'](_0x27e8bd,_0x34a955);for(const _0x2ae48a of this['_diffRoots']['values']())_0x2ae48a['markers']['clear']();for(const [_0x42dcef,_0x5264b1]of this['_markers'])this['_diffRoots']['get'](_0x5264b1['root']['rootName'])['markers']['set'](_0x42dcef,_0x5264b1['clone']());const _0x46e6c3=new Map(),_0x3b97c6=new Map();for(const [_0x267047,_0x189431]of this['_diffRoots'])_0x46e6c3['set'](_0x267047,gM(_0x189431)),_0x3b97c6['set'](_0x267047,this['_diffRootsAttributes']['get'](_0x267047));this['_saveMetaData'](_0x1304f5,_0x46e6c3,this['_markers'],_0x3b97c6);}['_getPreviousFrom'](_0x35e62c){const _0x324c44=Array['from'](this['_savedMetaData']['keys']());_0x324c44['sort']((_0x226658,_0x4a4e7d)=>_0x226658-_0x4a4e7d),_0x324c44['reverse']();for(const _0x9d395c of _0x324c44)if(_0x9d395c<_0x35e62c)return _0x9d395c;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x293737,_0x5a9c93){const _0x13c33f=Array['from'](_0x5a9c93['markers'])['map'](([_0x5b8a69,_0x5d048c])=>[_0x5b8a69,this['_fixRange'](_0x5d048c,_0x293737)]);_0x293737['markers']=new Map(_0x13c33f);}['_transformMarkers'](_0x1967ab){for(const _0x403c50 of this['_markers']['values']()){const _0x54f1fa=_0x403c50['getTransformedByOperation'](_0x1967ab),_0x55768b=_0x1a83e1['_createFromRanges'](_0x54f1fa);_0x403c50['start']=_0x55768b['start'],_0x403c50['end']=_0x55768b['end'];}}['_handleOperation'](_0x1b5836,_0x26e97b){if('addRoot'!=_0x1b5836['type']&&'detachRoot'!=_0x1b5836['type']){if('insert'==_0x1b5836['type']){const _0x2a64b5=_0x1b5836['position']['root'],_0x5ec2f4=_0x2a64b5['rootName'],_0x400416=_0x2a64b5['name'];this['_diffRoots']['has'](_0x5ec2f4)||(this['_diffRoots']['set'](_0x5ec2f4,OM(_0x5ec2f4,_0x400416,!0x0)),this['_diffRootsAttributes']['set'](_0x5ec2f4,{}),_0x26e97b&&this['_idsRoots']['set'](_0x5ec2f4,OM(_0x5ec2f4,_0x400416,!0x0)));}else{if('addRootAttribute'==_0x1b5836['type']||'removeRootAttribute'==_0x1b5836['type']||'changeRootAttribute'==_0x1b5836['type'])return void this['_handleRootAttributeOperation'](_0x1b5836);'marker'==_0x1b5836['type']&&this['_handleMarkerOperation'](_0x1b5836);}if('marker'!==_0x1b5836['type']){const _0x5eec8b=this['_cloneOperation'](_0x1b5836,this['_diffRoots']);_0x5eec8b['_execute'](),this['_transformMarkers'](_0x5eec8b);}if(_0x26e97b)switch(_0x1b5836['type']){case'insert':this['_handleInsertOperation'](_0x1b5836);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x1b5836);break;case'merge':this['_handleMergeOperation'](_0x1b5836);break;case'split':this['_handleSplitOperation'](_0x1b5836);}}else this['_handleRootOperation'](_0x1b5836,_0x26e97b);}['_cloneOperation'](_0x41078f,_0xdbfef){const _0x1d6402=_0x41078f['clone']();return _0x1d6402['_authorId']=_0x41078f['_authorId'],this['_fixOperation'](_0x1d6402,_0xdbfef),_0x1d6402;}['_getBaseVids'](_0x29c907){return _0x29c907['map'](_0x48fa4a=>{const _0x8436aa=this['_getVidAttributeName'](_0x48fa4a);return Number(_0x48fa4a['item']['getAttribute'](_0x8436aa));});}['_generateTape'](_0x41eaec,_0xf9e03f){if(_0x41eaec['is']('element','$text'))_0xf9e03f['push']({'item':_0x41eaec,'type':'text'});else{_0x41eaec['is']('element')&&_0xf9e03f['push']({'item':_0x41eaec,'type':'elementStart'});for(const _0x35706e of _0x41eaec['getChildren']())this['_generateTape'](_0x35706e,_0xf9e03f);_0x41eaec['is']('element')&&_0xf9e03f['push']({'item':_0x41eaec,'type':'elementEnd'});}return _0xf9e03f;}['_getState'](){const _0x1867aa=new Map(this['_touched']),_0x2fc9a5=new Map(_0x1867aa),_0x492a11=new Map(),_0x25fd9c={'insertions':{},'deletions':{}},_0x3001e3={'insertions':{},'deletions':{}},_0x33b124=new Map(),_0x4e6157=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]),_0x6b239=new Map();_0x4e6157['delete']('$graveyard');for(const _0x120357 of _0x4e6157){const _0x11e5ac=(this['_diffRoots']['get'](_0x120357)??this['_baseRoots']['get'](_0x120357))['name'],_0xafb5b7=this['_diffRoots']['get'](_0x120357)||OM(_0x120357,_0x11e5ac,!0x1),_0x15a310=this['_baseRoots']['get'](_0x120357)||OM(_0x120357,_0x11e5ac,!0x1);_0xafb5b7['isAttached']()||_0x15a310['isAttached']()?(_0x6b239['set'](_0x120357,_0x11e5ac),_0x25fd9c['insertions'][_0x120357]=gM(_0xafb5b7),_0x25fd9c['deletions'][_0x120357]=gM(_0x15a310),this['_copyMarkers'](_0x25fd9c['deletions'][_0x120357],_0x15a310),this['_copyMarkers'](_0x25fd9c['insertions'][_0x120357],_0xafb5b7),_0x3001e3['insertions'][_0x120357]=this['_generateTape'](this['_idsRoots']['get'](_0x120357),[]),_0x3001e3['deletions'][_0x120357]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x120357)||OM(_0x120357,_0x11e5ac,!0x1),[])):_0x4e6157['delete'](_0x120357);}for(const _0x3b5ab9 of _0x4e6157){const _0x366a5f=_0x3001e3['insertions'][_0x3b5ab9];for(const _0x1ab919 of _0x366a5f){const _0x5f0a0c=this['_getVidAttributeName'](_0x1ab919),_0x50e77b=_0x1ab919['item']['getAttribute'](_0x5f0a0c);_0x2fc9a5['delete'](_0x50e77b),_0x50e77b>=this['_startingRevisionId']&&_0x492a11['set'](_0x50e77b,_0x1867aa['get'](_0x50e77b));}}for(const _0x9cfcb7 of _0x4e6157){const _0x45de8c=_0x3001e3['insertions'][_0x9cfcb7],_0x4c054b=this['_getBaseVids'](_0x3001e3['deletions'][_0x9cfcb7]);let _0x108960=0x0;for(const _0x15075e of _0x45de8c){const _0xd9374e=this['_getVidAttributeName'](_0x15075e),_0x209684=_0x15075e['item']['getAttribute'](_0xd9374e);if(!_0x492a11['has'](_0x209684)&&!_0x33b124['has'](_0x209684)){if(_0x2fc9a5['has'](_0x209684))_0x108960++;else{if(_0x209684!=_0x4c054b[_0x108960]){const _0x462268=_0x1867aa['get'](_0x209684)||_0x1867aa['get'](_0x4c054b[_0x108960]);for(;_0x209684!=_0x4c054b[_0x108960];)_0x2fc9a5['has'](_0x4c054b[_0x108960])||(_0x33b124['set'](_0x4c054b[_0x108960],_0x462268),_0x1867aa['set'](_0x4c054b[_0x108960],_0x462268)),_0x108960++;}_0x108960++;}}}}for(const _0x10469e of _0x4e6157){const _0x459518=_0x3001e3['insertions'][_0x10469e];for(const _0x32cc57 of _0x459518){const _0x1cd5f2=this['_getVidAttributeName'](_0x32cc57),_0x47185e=_0x32cc57['item']['getAttribute'](_0x1cd5f2);if(_0x33b124['has'](_0x47185e)){const _0x123427=_0x33b124['get'](_0x47185e);_0x2fc9a5['has'](_0x47185e)||_0x2fc9a5['set'](_0x47185e,{..._0x123427}),_0x492a11['set'](_0x47185e,{..._0x123427});}}}for(const _0xd03b9c of _0x2fc9a5['keys']())_0xd03b9c>=this['_startingRevisionId']&&_0x2fc9a5['delete'](_0xd03b9c);const _0x2b3081=new Map();for(const _0x1d8097 of _0x4e6157){let _0x4742e1=_0x3001e3['insertions'][_0x1d8097];for(const _0x5d711e of _0x4742e1)if(_0x5d711e['item']['is']('element','tableCell')){const _0x581472=this['_getVidAttributeName'](_0x5d711e),_0x100f4d=_0x5d711e['item']['getAttribute'](_0x581472);if(_0x492a11['has'](_0x100f4d)){const _0x4930ef=_0x5d711e['item']['parent']['parent']['getAttribute']('vid_start'),_0x11b1ba=_0x2b3081['get'](_0x4930ef)||new Set();_0x11b1ba['add'](_0x492a11['get'](_0x100f4d)['userId']),_0x2b3081['set'](_0x4930ef,_0x11b1ba);}}_0x4742e1=_0x3001e3['deletions'][_0x1d8097];for(const _0x925531 of _0x4742e1)if(_0x925531['item']['is']('element','tableCell')){const _0x3ac3f6=this['_getVidAttributeName'](_0x925531),_0x1c20b9=_0x925531['item']['getAttribute'](_0x3ac3f6);if(_0x2fc9a5['has'](_0x1c20b9)){const _0x4ecee6=_0x925531['item']['parent']['parent']['getAttribute']('vid_start'),_0x2be1bf=_0x2b3081['get'](_0x4ecee6)||new Set();_0x2be1bf['add'](_0x2fc9a5['get'](_0x1c20b9)['userId']),_0x2b3081['set'](_0x4ecee6,_0x2be1bf);}}for(const _0xbb2222 of _0x2b3081['keys']())(_0x492a11['has'](_0xbb2222)||_0x2fc9a5['has'](_0xbb2222))&&_0x2b3081['delete'](_0xbb2222);}for(const _0x121355 of _0x4e6157){const _0x30659b=_0x3001e3['insertions'][_0x121355];let _0x1cbe98=null,_0x12033c=null;for(const _0x739564 of _0x30659b){const _0x4518d6=this['_getVidAttributeName'](_0x739564),_0x2d5180=_0x739564['item']['getAttribute'](_0x4518d6),_0x1af52d=_0x2b3081['get'](_0x2d5180);_0x1af52d&&'elementStart'==_0x739564['type']&&(_0x1cbe98=Array['from'](_0x1af52d)[0x0],_0x12033c=_0x739564['item']['getAttribute']('vid_end')),_0x1cbe98&&(_0x2fc9a5['set'](_0x2d5180,{'userId':_0x1cbe98}),_0x492a11['set'](_0x2d5180,{'userId':_0x1cbe98})),_0x2d5180==_0x12033c&&(_0x1cbe98=null,_0x12033c=null);}}const _0x3020f0={},_0x369c29=new Set();for(const _0x31956d of _0x4e6157){const _0x1a1a7d=_0x25fd9c['deletions'][_0x31956d],_0x224780=_0x25fd9c['insertions'][_0x31956d];for(const {userId:_0xe6da0}of this['_touchedMarkers']['values']())null!==_0xe6da0&&_0x369c29['add'](_0xe6da0);for(const {userId:_0x18911e}of this['_touchedRoots']['values']())null!==_0x18911e&&_0x369c29['add'](_0x18911e);this['_markChanges'](_0x224780,_0x3001e3['insertions'][_0x31956d],_0x492a11,'insertion',_0x369c29),this['_markChanges'](_0x1a1a7d,_0x3001e3['deletions'][_0x31956d],_0x2fc9a5,'deletion',_0x369c29),_0x3020f0[_0x31956d]={'insertions':this['_prepareViewToSave'](_0x224780),'deletions':this['_prepareViewToSave'](_0x1a1a7d),'attachChange':this['_touchedRoots']['get'](_0x31956d)||null,'attributesBefore':Jr(this['_baseRootsAttributes']['get'](_0x31956d))||{},'attributesAfter':Jr(this['_diffRootsAttributes']['get'](_0x31956d)),'rootElementName':_0x6b239['get'](_0x31956d)};}return{'diffData':_0x3020f0,'authorsIds':Array['from'](_0x369c29)};}['_processRootBeforeSave'](_0x2c2b7f){for(const [,_0x39d80a]of _0x2c2b7f['markers']){const _0x614274=_0x39d80a['start']['getAncestors']()['filter'](_0x52a2ce=>'tableCell'==_0x52a2ce['name']);for(const _0x1b0c02 of _0x614274)0x1==_0x1b0c02['childCount']&&_0x1b0c02['getChild'](0x0)['is']('element','paragraph')&&_0x1b0c02['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x279403){this['_processRootBeforeSave'](_0x279403);const _0x28175d=this['editor']['data']['toView'](_0x279403,{}),_0x54be1f=Array['from'](_0x28175d['getChildren']())['map'](_0x432dbb=>this['_getViewJson'](_0x432dbb));return JSON['stringify'](_0x54be1f);}['_getViewJson'](_0x107be0){if(_0x107be0['is']('$text'))return _0x107be0['data'];{const _0x1db512=this['editor']['plugins']['get']('RevisionHistoryUtils'),_0x1d885c=_0x107be0,_0x1161c5=this['editor']['data']['htmlProcessor']['domConverter'],_0x3f6514={'type':_0x1db512['_getTypeCharForViewElement'](_0x1d885c),'name':_0x1d885c['name'],'attributes':Array['from'](_0x1d885c['getAttributes']()),'children':Array['from'](_0x1d885c['getChildren']())['map'](_0x2338c5=>this['_getViewJson'](_0x2338c5))};if(_0x107be0['is']('uiElement')&&'$comment'!=_0x107be0['name']){const _0x27fb54=_0x107be0['render'](_0x1161c5['domDocument'],_0x1161c5);_0x3f6514['children']['push'](_0x27fb54['outerHTML']);}else{if(_0x107be0['is']('rawElement')){const _0x559687=_0x1161c5['domDocument']['createElement'](_0x1d885c['name']);_0x107be0['render'](_0x559687,_0x1161c5),_0x3f6514['children']['push'](_0x559687['innerHTML']);}}const _0x4d3720=Array['from'](_0x1d885c['getCustomProperties']());_0x4d3720['length']>0x0&&(_0x3f6514['customProperties']=_0x4d3720);const _0x11d9ca=_0x1d885c['getFillerOffset']();return null!==_0x11d9ca&&(_0x3f6514['fillerOffset']=_0x11d9ca),_0x3f6514;}}['_markChanges'](_0x34d683,_0x575f8e,_0x1819ad,_0x4514d2,_0xc2e9d3){let _0x40d6f0=null,_0x2aa728=null,_0x322d59=0x0;const _0x4e5f47=this['editor']['model'];for(let _0x351f87=0x0;_0x351f87<_0x575f8e['length'];_0x351f87++){const _0x2e30ee=this['_getVidAttributeName'](_0x575f8e[_0x351f87]),_0x2eba1a=_0x575f8e[_0x351f87]['item']['getAttribute'](_0x2e30ee),_0x29bcc6=_0x1819ad['get'](_0x2eba1a),_0x50eeb=_0x351f87==_0x575f8e['length']-0x1;!_0x40d6f0&&_0x29bcc6&&(_0x40d6f0=_0x29bcc6,_0x2aa728=_0x575f8e[_0x351f87]),!_0x40d6f0||_0x29bcc6&&_0x29bcc6['userId']==_0x40d6f0['userId']||(_0xe339cd(_0x29bcc6,wM(_0x2aa728,_0x34d683,_0x4e5f47),wM(_0x575f8e[_0x351f87],_0x34d683,_0x4e5f47)),_0x40d6f0=_0x29bcc6||null,_0x2aa728=_0x29bcc6?_0x575f8e[_0x351f87]:null),_0x40d6f0&&_0x50eeb&&_0xe339cd(_0x29bcc6,wM(_0x2aa728,_0x34d683,_0x4e5f47),bM(_0x575f8e[_0x351f87],_0x34d683,_0x4e5f47));}function _0xe339cd(_0x53348e,_0x31e98f,_0x5c2a81){const _0x474c5f=_0x40d6f0['userId'],_0x13682a='revision:'+_0x4514d2+':'+_0x474c5f+':'+_0x322d59++,_0x1eec89=_0x4e5f47['createRange'](_0x31e98f,_0x5c2a81);_0x34d683['markers']['set'](_0x13682a,_0x1eec89),null!==_0x474c5f&&_0xc2e9d3['add'](_0x474c5f);}}['_getVidAttributeName'](_0x2195a5){switch(_0x2195a5['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x3e5d48,_0x1b352c){_0x3e5d48['baseVersion']=null;for(const _0x10cf25 in _0x3e5d48){const _0x517378=_0x3e5d48[_0x10cf25];if(_0x517378 instanceof _0x30903b){const _0x18e31e=_0x1b352c['get'](_0x517378['root']['rootName']);_0x3e5d48[_0x10cf25]=this['_fixPosition'](_0x517378,_0x18e31e);}if(_0x517378 instanceof _0x1a83e1){const _0x662304=_0x1b352c['get'](_0x517378['root']['rootName']);_0x3e5d48[_0x10cf25]=this['_fixRange'](_0x517378,_0x662304);}'root'===_0x10cf25&&(_0x3e5d48['root']=_0x1b352c['get'](_0x3e5d48['root']['rootName']));}}['_fixRange'](_0x246750,_0x30d47d){return this['editor']['model']['createRange'](this['_fixPosition'](_0x246750['start'],_0x30d47d),this['_fixPosition'](_0x246750['end'],_0x30d47d));}['_fixPosition'](_0x54f52f,_0x4342fa){return this['editor']['model']['createPositionFromPath'](_0x4342fa,_0x54f52f['path'],_0x54f52f['stickiness']);}['_handleInsertOperation'](_0xd52db0){const _0x2b0034=this['_idsRoots']['get'](_0xd52db0['position']['root']['rootName']),_0x3e597a=this['_fixPosition'](_0xd52db0['position'],_0x2b0034),_0x1679d5=null===_0xd52db0['_authorId']?null:_0xd52db0['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x513462=_0x3e597a['parent'],_0x1a4c94=this['_revisionId'],_0x5349ec=[];for(const _0x57a94a of _0xd52db0['nodes'])if(_0x57a94a['is']('element'))_0x5349ec['push'](this['_makeIdsRoot'](_0x57a94a));else{for(let _0x3e4845=0x0;_0x3e4845<_0x57a94a['offsetSize'];_0x3e4845++)_0x5349ec['push'](new _0x33dcdb('$text',{'vid':this['_revisionId']++}));}const _0x5ac06b=this['_revisionId'];for(let _0x36a993=_0x1a4c94;_0x36a993<_0x5ac06b;_0x36a993++)this['_touched']['set'](_0x36a993,{'userId':_0x1679d5});_0x513462['_insertChild'](_0x3e597a['offset'],_0x5349ec);}['_handleMoveOperation'](_0x57f0d9){(_0x57f0d9=this['_cloneOperation'](_0x57f0d9,this['_idsRoots']))['_execute']();const _0xb8755f=null===_0x57f0d9['_authorId']?null:_0x57f0d9['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5c821f=_0x57f0d9['getMovedRangeStart'](),_0x21ec0f=_0x5c821f['parent'],_0x2d1125=_0x5c821f['offset'];!function _0x1e4394(_0x4a0107,_0x23535e,_0x1f941b,_0x36d093){for(let _0x4e6be5=_0x1f941b;_0x4e6be5<_0x36d093;_0x4e6be5++){const _0x23054b=_0x23535e['getChild'](_0x4e6be5);_0x23054b['is']('element','$text')?_0x4a0107['set'](_0x23054b['getAttribute']('vid'),{'userId':_0xb8755f}):(_0x4a0107['set'](_0x23054b['getAttribute']('vid_start'),{'userId':_0xb8755f}),_0x1e4394(_0x4a0107,_0x23054b,0x0,_0x23054b['childCount']),_0x4a0107['set'](_0x23054b['getAttribute']('vid_end'),{'userId':_0xb8755f}));}}(this['_touched'],_0x21ec0f,_0x2d1125,_0x2d1125+_0x57f0d9['howMany']);}['_handleMergeOperation'](_0xacd9a0){const _0x3a2bdf=null===(_0xacd9a0=this['_cloneOperation'](_0xacd9a0,this['_idsRoots']))['_authorId']?null:_0xacd9a0['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x190b8b=_0xacd9a0['targetPosition']['parent'],_0x2c75e5=_0xacd9a0['sourcePosition']['parent'],_0xae0509=_0x190b8b['getAttribute']('vid_end'),_0x55a5b1=_0x2c75e5['getAttribute']('vid_start');_0x190b8b['_setAttribute']('vid_end',_0x2c75e5['getAttribute']('vid_end')),_0x2c75e5['_setAttribute']('vid_end',_0xae0509),this['_touched']['set'](_0x55a5b1,{'userId':_0x3a2bdf}),this['_touched']['set'](_0xae0509,{'userId':_0x3a2bdf}),_0xacd9a0['_execute']();}['_handleSplitOperation'](_0x55bf03){const _0x5dddb9=null===(_0x55bf03=this['_cloneOperation'](_0x55bf03,this['_idsRoots']))['_authorId']?null:_0x55bf03['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xf4c9ea=_0x55bf03['graveyardPosition'],_0x5c2988=_0x55bf03['splitPosition']['parent'];_0x55bf03['_execute']();const _0xa484a=_0x5c2988['getAttribute']('vid_end'),_0x4bb356=_0x55bf03['insertionPosition']['nodeAfter'];if(_0xf4c9ea){const _0x5c0139=_0x4bb356['getAttribute']('vid_end'),_0x3a550e=_0x5c2988['getAttribute']('vid_end');_0x5c2988['_setAttribute']('vid_end',_0x5c0139),_0x4bb356['_setAttribute']('vid_end',_0x3a550e),this['_touched']['set'](_0x5c2988['getAttribute']('vid_end'),{'userId':_0x5dddb9}),this['_touched']['set'](_0x4bb356['getAttribute']('vid_start'),{'userId':_0x5dddb9});}else{const _0x3545b7=this['_revisionId']++,_0x325b9f=this['_revisionId']++;_0x5c2988['_setAttribute']('vid_end',_0x3545b7),_0x4bb356['_setAttribute']('vid_start',_0x325b9f),_0x4bb356['_setAttribute']('vid_end',_0xa484a),this['_touched']['set'](_0x3545b7,{'userId':_0x5dddb9}),this['_touched']['set'](_0x325b9f,{'userId':_0x5dddb9});}}['_handleMarkerOperation'](_0xc4549b){if(!_0xc4549b['affectsData'])return;const _0x195460=(_0xc4549b=this['_cloneOperation'](_0xc4549b,this['_diffRoots']))['oldRange']?_0xc4549b['oldRange']['root']:null,_0x139a9b=_0xc4549b['newRange']?_0xc4549b['newRange']['root']:null;_0x195460&&this['_markers']['delete'](_0xc4549b['name']),_0x139a9b&&this['_markers']['set'](_0xc4549b['name'],_0xc4549b['newRange']['clone']());const _0x146235=null===_0xc4549b['_authorId']?null:_0xc4549b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x30d1bb=_0xc4549b['name'];if(!this['_touchedMarkers']['has'](_0x30d1bb))return void this['_touchedMarkers']['set'](_0x30d1bb,{'range':_0xc4549b['oldRange'],'userId':_0x146235});const _0x448356=this['_touchedMarkers']['get'](_0x30d1bb),_0x3ef639=_0x448356['range'],_0x6a9fb4=_0xc4549b['newRange'];null==_0x3ef639&&null==_0x6a9fb4||_0x3ef639&&_0x6a9fb4&&_0x3ef639['isEqual'](_0x6a9fb4)?this['_touchedMarkers']['delete'](_0xc4549b['name']):_0x448356['userId']=_0x146235;}['_handleRootOperation'](_0x45cb7c,_0x4a8440){this['_diffRoots']['has'](_0x45cb7c['rootName'])?this['_diffRoots']['get'](_0x45cb7c['rootName'])['_isAttached']=_0x45cb7c['isAdd']:(this['_diffRoots']['set'](_0x45cb7c['rootName'],OM(_0x45cb7c['rootName'],_0x45cb7c['elementName'],!0x0)),this['_diffRootsAttributes']['set'](_0x45cb7c['rootName'],{}),_0x4a8440&&this['_idsRoots']['set'](_0x45cb7c['rootName'],OM(_0x45cb7c['rootName'],_0x45cb7c['elementName'],!0x0)));const _0x27a94e=null===_0x45cb7c['_authorId']?null:_0x45cb7c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xf8a4a7=this['_touchedRoots']['get'](_0x45cb7c['rootName']);_0xf8a4a7&&_0xf8a4a7['userId']===_0x27a94e?this['_touchedRoots']['delete'](_0x45cb7c['rootName']):this['_touchedRoots']['set'](_0x45cb7c['rootName'],{'userId':_0x27a94e,'isAttached':_0x45cb7c['isAdd']});}['_handleRootAttributeOperation'](_0x294772){const _0x544567=this['_diffRootsAttributes']['get'](_0x294772['root']['rootName']);null===_0x294772['newValue']?delete _0x544567[_0x294772['key']]:_0x544567[_0x294772['key']]=_0x294772['newValue'];}};function gM(_0x1e804c){const _0x392038=OM(_0x1e804c['rootName'],_0x1e804c['name'],_0x1e804c['isAttached']());for(const _0x52cbc2 of _0x1e804c['getChildren']()){const _0x1e143a=_0x52cbc2['_clone'](!0x0);_0x392038['_appendChild'](_0x1e143a);}return _0x392038;}function OM(_0x4a2ff6,_0x27e72a,_0x1be661=!0x0){const _0x5736d5=new _0x14f25f();return _0x5736d5['rootName']=_0x4a2ff6,_0x5736d5['name']=_0x27e72a,_0x5736d5['_isAttached']=_0x1be661,_0x5736d5['isAttached']=()=>_0x5736d5['_isAttached'],_0x5736d5;}function wM(_0x5543d3,_0xf44a14,_0x34cc71){const _0x329f55='elementEnd'==_0x5543d3['type']?_0x34cc71['createPositionAt'](_0x5543d3['item'],'end'):_0x34cc71['createPositionBefore'](_0x5543d3['item']);return _0x34cc71['createPositionFromPath'](_0xf44a14,_0x329f55['path'],_0x329f55['stickiness']);}function bM(_0x28bad9,_0x401355,_0x7a5fbf){const _0x5cae7f='elementStart'==_0x28bad9['type']?_0x7a5fbf['createPositionAt'](_0x28bad9['item'],0x0):_0x7a5fbf['createPositionAfter'](_0x28bad9['item']);return _0x7a5fbf['createPositionFromPath'](_0x401355,_0x5cae7f['path'],_0x5cae7f['stickiness']);}const yM=/* #__PURE__ -- @preserve */
_0x59a7b2(_0x2df468);var vM=class extends yM{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x40c5cb,_0x1df0ec){super(_0x40c5cb),this['focusTracker']=new _0x33fa41(),this['keystrokes']=new _0x491b26(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x1df0ec),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'](),_0x3e9784({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x5f55a5=_0x45679d=>_0x45679d['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5f55a5),this['keystrokes']['set']('arrowleft',_0x5f55a5),this['keystrokes']['set']('arrowup',_0x5f55a5),this['keystrokes']['set']('arrowdown',_0x5f55a5);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x3817dd){this['revisionNameInputView']['fieldView']['element']['value']=_0x3817dd['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x4c0fe8){const _0x488e19=new _0x339594(this['locale'],_0x53bfdf),_0xe4184e=_0x488e19['fieldView'];_0xe4184e['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x93ef06=fM(this['locale'],'Name\x20of\x20the\x20revision');return!_0x4c0fe8&&(_0x93ef06+='\x20('+fM(this['locale'],'optional')+')'),(_0x488e19['label']=_0x93ef06,_0xe4184e['on']('input',()=>{this['revisionNameInputValue']=_0xe4184e['element']['value']['trim']();}),_0x488e19);}},_M=class extends _0x36b920{static get['pluginName'](){return'RevisionHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[mM];}['_saveRevisionFormView'];['init'](){const _0x5b4686=this['editor'],_0xa61d8b=_0x5b4686['plugins']['get']('RevisionTracker');_0x5b4686['ui']['componentFactory']['add']('revisionHistory',_0x2ca27f=>{const _0x1a89c2=_0x18eee9(_0x2ca27f),_0x47b914=_0x1a89c2['panelView']['children'],_0x586023=new _0x344603(_0x2ca27f),_0x2cc56e=new _0x1853ec(_0x2ca27f),_0x5b8393=this['_createSaveRevisionButton'](_0x47ddb0),_0x1a6013=new _0x1853ec(_0x2ca27f),_0x4f8eba=this['_createOpenRevisionButton'](_0x47ddb0);return _0x1a89c2['bind']('isEnabled')['to'](_0xa61d8b,'isReady',_0xa61d8b,'isEnabled',_0x5b4686,'isReadOnly',(_0x49e593,_0x2fbfc0,_0x4b7e06)=>_0x49e593&&_0x2fbfc0&&!_0x4b7e06),_0x1a89c2['buttonView']['set']({'icon':dt,'label':fM(_0x2ca27f,'Revision\x20history'),'tooltip':!0x0}),_0x5b8393['set']({'withText':!0x0,'role':'menuitem'}),_0x4f8eba['set']({'withText':!0x0,'role':'menuitem'}),this['listenTo'](_0x4f8eba,'execute',()=>{_0x1a89c2['isOpen']=!0x1,_0x5b4686['editing']['view']['focus']();},{'priority':'low'}),_0x2cc56e['children']['add'](_0x5b8393),_0x1a6013['children']['add'](_0x4f8eba),_0x586023['role']='menu',_0x586023['items']['addMany']([_0x2cc56e,_0x1a6013]),_0x47b914['add'](_0x586023),_0x1a89c2;}),_0x5b4686['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x3c425f=this['editor'],_0x315b59=_0x3c425f['locale'],_0x5777b7=_0x3c425f['plugins']['get']('RevisionTracker'),_0x4072b5=new _0x4108b4(_0x315b59),_0x538412=new _0x14375b(_0x315b59);_0x4072b5['bind']('isEnabled')['to'](_0x5777b7,'isReady',_0x5777b7,'isEnabled',_0x3c425f,'isReadOnly',(_0x942221,_0x21883f,_0x88b364)=>_0x942221&&_0x21883f&&!_0x88b364),_0x4072b5['buttonView']['set']({'icon':dt,'label':fM(_0x315b59,'Revision\x20history')});const _0x566b9d=new _0x2b149f(_0x315b59,_0x4072b5),_0x2a507c=this['_createSaveRevisionButton'](_0x3dd6ab);_0x2a507c['delegate']('execute')['to'](_0x4072b5),_0x566b9d['children']['add'](_0x2a507c),_0x538412['items']['add'](_0x566b9d);const _0x2406f5=new _0x2b149f(_0x315b59,_0x4072b5),_0x1fd7e9=this['_createOpenRevisionButton'](_0x3dd6ab);return _0x1fd7e9['delegate']('execute')['to'](_0x4072b5),_0x2406f5['children']['add'](_0x1fd7e9),_0x538412['items']['add'](_0x2406f5),_0x4072b5['panelView']['children']['add'](_0x538412),_0x4072b5;}['_createSaveRevisionButton'](_0x45ab52){const _0x36609d=this['editor'],_0x2bd413=_0x36609d['plugins']['get']('RevisionTracker'),_0x81825f=new _0x45ab52(_0x36609d['locale']);return _0x81825f['set']({'label':fM(_0x36609d['locale'],'Save\x20current\x20revision')}),_0x81825f['bind']('isEnabled')['to'](_0x2bd413,'isReady',_0x2bd413,'isEnabled',_0x36609d,'isReadOnly',(_0x48a918,_0x43ec6c,_0x5e3e20)=>_0x48a918&&_0x43ec6c&&!_0x5e3e20),this['listenTo'](_0x81825f,'execute',()=>{this['_showDialog']();}),_0x81825f;}['_createOpenRevisionButton'](_0x3abdfb){const _0x235fc7=this['editor'],_0x558a15=_0x235fc7['plugins']['get']('RevisionTracker'),_0x48ce49=new _0x3abdfb(_0x235fc7['locale']);return _0x48ce49['set']({'label':fM(_0x235fc7['locale'],'Open\x20revision\x20history')}),_0x48ce49['bind']('isEnabled')['to'](_0x558a15,'isReady',_0x235fc7,'isReadOnly',(_0x5dd0ec,_0x4f0ecb)=>_0x5dd0ec&&!_0x4f0ecb),this['listenTo'](_0x48ce49,'execute',()=>{_0x235fc7['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x48ce49;}['_showDialog'](){const _0x35be50=this['editor'],_0x4ce699=_0x35be50['locale'],_0x4bb64c=_0x35be50['plugins']['get']('Dialog'),_0x545555=_0x35be50['plugins']['get']('RevisionTracker');function _0x25ba08(_0x435b00){_0x35be50['config']['get']('revisionHistory.requireRevisionName')&&''===_0x435b00['revisionName']?_0x435b00['revisionNameInputView']['errorText']=fM(_0x4ce699,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x35be50['plugins']['get'](mM)['saveRevision']({'name':_0x435b00['revisionName']}),_0x4bb64c['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x25ba08(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x4bb64c['show']({'id':'revisionSave','title':fM(_0x4ce699,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':fM(_0x35be50['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x4bb64c['hide']()},{'label':fM(_0x35be50['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x7505d3){_0x7505d3['bind']('isEnabled')['to'](_0x545555,'isReady',_0x545555,'isEnabled',_0x35be50,'isReadOnly',(_0x54fdee,_0x4a2b53,_0x1f8b14)=>_0x54fdee&&_0x4a2b53&&!_0x1f8b14);},'onExecute':()=>_0x25ba08(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x29755a=this['editor'],_0x5afd2f=_0x29755a['locale'];this['_saveRevisionFormView']=new vM(_0x5afd2f,_0x29755a['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}},EM=class extends _0x2df468{['changeId'];['_model'];constructor(_0x4618bf,_0xdf2296){super(_0x4618bf),this['_model']=_0xdf2296,this['changeId']=_0xdf2296['id'];const _0x596ef7=this['bindTemplate'],_0x1d35c6=fM(_0x4618bf,_0xdf2296['data']['isSuggestion']?'Suggested\x20by':'add'==_0xdf2296['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0xdf2296['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x596ef7['to']('type',_0x2afdad=>'ck-revision-change__'+_0x2afdad)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x1d35c6}]},{'text':'\x20'+_0xdf2296['author']['name']}]}]});}['focus'](){this['element']['focus']();}};const TM=/* #__PURE__ -- @preserve */
_0x5b14e3();var AM=class extends TM{['id'];['author'];['type'];['data'];['rootName'];constructor(_0x1be4e8){super(),this['id']=_0x1be4e8['id']||_0x10825a(),this['author']=_0x1be4e8['author'],this['type']=_0x1be4e8['type'],this['data']=_0x1be4e8['data']||{},this['rootName']=_0x1be4e8['rootName'],this['set']('createdAt',_0x1be4e8['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}},SM=class{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0x505bb1,_0x3d4956){this['newRevisionId']=_0x505bb1,this['oldRevisionId']=_0x3d4956,this['changes']=new _0x23ea50();}['_setChanges'](_0x2364db){for(const _0x259ff7 of _0x2364db)this['changes']['add'](_0x259ff7);}},IM=class extends _0x36b920{['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[ha,_0xcef29e,uM,dM];}constructor(_0x2cb305){super(_0x2cb305),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',(_0x59e14c,_0x1fd361,_0x4b098b)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x13719d=>{for(const _0x521fd9 of this['editor']['editing']['view']['document']['roots'])_0x4b098b?_0x13719d['removeClass']('ck-editor__editable__overlay',_0x521fd9):_0x13719d['addClass']('ck-editor__editable__overlay',_0x521fd9);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x5621bf=>null!==_0x5621bf),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x3751c7,_0x3cd50f,_0x4db6a8)=>_0x3751c7&&_0x4db6a8?_0x3cd50f['changes']['getIndex'](_0x4db6a8):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x68406a,_0x503875)=>_0x68406a?_0x503875['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['_balloon']=this['editor']['plugins']['get'](_0xcef29e);}['init'](){const _0x4d4ee6=this['editor'],_0x5caffc=new CM(_0x4d4ee6,{'direction':'backward'}),_0x23555a=new CM(_0x4d4ee6,{'direction':'forward'});_0x4d4ee6['commands']['add']('showPreviousChange',_0x5caffc),_0x4d4ee6['commands']['add']('showNextChange',_0x23555a),_0x4d4ee6['commands']['add']('restoreRevision',new xM(_0x4d4ee6)),this['on']('change:numberOfChanges',()=>{_0x5caffc['refresh'](),_0x23555a['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x4d4ee6['enableReadOnlyMode']('revision-viewer'),_0x4d4ee6['plugins']['has']('WidgetToolbarRepository')&&_0x4d4ee6['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionDocumentData'](_0x421613){return await this['_utils']['loadRevisionData'](_0x421613,this['adapter']),this['_utils']['getRevisionDocumentData'](_0x421613);}async['getRevisionRootsAttributes'](_0x492281){return await this['_utils']['loadRevisionData'](_0x492281,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x492281);}async['compare'](_0x20b44d,_0x26788a,_0x75fb3b=!0x1){if(!this['isEnabled'])return;const _0xb38852=this['diff'],_0x49cadd=this['repository'],_0x4fe545='string'==typeof _0x20b44d?_0x49cadd['getRevision'](_0x20b44d):_0x20b44d,_0x2cea57='string'==typeof _0x26788a?_0x49cadd['getRevision'](_0x26788a):_0x26788a,_0x343435=_0x4fe545['id'],_0x419fe2=_0x2cea57?_0x2cea57['id']:null;if(!_0x75fb3b&&this['diff']&&this['diff']['newRevisionId']===_0x343435&&this['diff']['oldRevisionId']===_0x419fe2)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new SM(_0x343435,_0x419fe2);const _0x3200d4=this['_getRevisionsRange'](_0x4fe545,_0x2cea57,!0x0)['map'](_0x117645=>this['_utils']['loadRevisionData'](_0x117645,this['adapter']));return _0x3200d4['push'](new Promise(_0x4b6944=>{setTimeout(_0x4b6944,0x14);})),Promise['all'](_0x3200d4)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x3a2f3d=this['_getDiff'](_0x343435,_0x419fe2);for(const _0x58ac7e of _0x3a2f3d['changes'])this['_changeIdToChange']['set'](_0x58ac7e['id'],_0x58ac7e);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x567080=>{for(const _0x1bba06 of this['editor']['model']['document']['getRootNames']())_0x567080['detachRoot'](_0x1bba06);for(const _0x5f0392 of Object['keys'](_0x3a2f3d['model'])){const _0x14fb74=_0x3a2f3d['model'][_0x5f0392]['name'],_0x20ce6d=_0x567080['addRoot'](_0x5f0392,_0x14fb74);for(const _0x57fd60 of Object['keys'](_0x3a2f3d['attributes'][_0x5f0392]))_0x567080['setAttribute'](_0x57fd60,_0x3a2f3d['attributes'][_0x5f0392][_0x57fd60],_0x20ce6d);_0x567080['insert'](_0x3a2f3d['model'][_0x5f0392],_0x20ce6d,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x3a2f3d['changes'])),this['isReady']=!0x0;})['catch'](_0xc6ec76=>{console['error'](_0xc6ec76),this['_cleanUp'](),_0xb38852&&(this['diff']=_0xb38852),this['isReady']=!0x0;});}['addRevisionData'](_0x3d453d,_0x1637a7){const _0x57976a=this['repository']['createRevision'](_0x3d453d);return _0x57976a['on']('_update',(_0x1bbd1b,_0x259c7d,_0x32e673)=>_0x1637a7(_0x259c7d,_0x32e673,_0x57976a)),this['repository']['addRevision'](_0x57976a),_0x57976a;}['_cleanUp'](){this['activeChange']=null,this['_cleanMarkers'](),this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=null,this['_changeIdToChange']['clear'](),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x1c1695=>{for(const _0x5bb0bb of this['editor']['model']['document']['getRootNames']())_0x1c1695['detachRoot'](_0x5bb0bb);});}['_sortAndFilterDiffChanges'](_0x5e1dcb){const _0x19580f=[],_0x3be15b=new Map();for(const _0x4daf59 of this['editor']['model']['document']['getRootNames']()){const _0x4791f1=this['editor']['editing']['view']['getDomRoot'](_0x4daf59);if(!_0x4791f1)continue;const _0x28ae78=_0x4791f1['getClientRects']()['item'](0x0);_0x28ae78&&(_0x19580f['push'](_0x4daf59),_0x3be15b['set'](_0x4daf59,_0x28ae78));}return _0x19580f['sort']((_0x28dbec,_0x1aea31)=>{const _0x15ee87=_0x3be15b['get'](_0x28dbec),_0x407f21=_0x3be15b['get'](_0x1aea31);return _0x15ee87['y']-_0x407f21['y']||_0x15ee87['x']-_0x407f21['x'];}),(_0x5e1dcb=_0x5e1dcb['filter'](_0x116525=>_0x19580f['includes'](_0x116525['rootName'])))['sort']((_0x53cd81,_0x37bffe)=>_0x19580f['indexOf'](_0x53cd81['rootName'])-_0x19580f['indexOf'](_0x37bffe['rootName'])),_0x5e1dcb;}['_makeTape'](_0x2b0802){const _0x64128b=Array['from'](_0x2b0802['markers'])['filter'](([_0x161b88,_0xb475f4])=>_0x161b88['startsWith']('revision:')&&!_0xb475f4['isCollapsed']),_0x27661a=Array['from'](this['editor']['model']['createRangeIn'](_0x2b0802)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x64128b['length'])for(const _0x1c7275 of _0x27661a){const [_0x11aada,_0x4b8801]=_0x64128b[0x0],[,_0x1378bd,_0x117105]=_0x11aada['split'](':');if(_0x4b8801['end']['isEqual'](_0x1c7275['nextPosition'])&&_0x64128b['shift'](),(_0x1c7275['previousPosition']['isEqual'](_0x4b8801['start'])||_0x1c7275['previousPosition']['isAfter'](_0x4b8801['start']))&&('insertion'==_0x1378bd?_0x1c7275['isAdded']={'userId':_0x117105}:'deletion'==_0x1378bd&&(_0x1c7275['isRemoved']={'userId':_0x117105})),0x0==_0x64128b['length'])break;}return _0x27661a;}['_refreshStartEndIndex'](_0xe6fd1c){const _0x2cf496=new Map();for(let _0x151128=0x0;_0x151128<_0xe6fd1c['length'];_0x151128++)'text'===_0xe6fd1c[_0x151128]['type']?(_0xe6fd1c[_0x151128]['item']['startIndex']=_0x151128,_0xe6fd1c[_0x151128]['item']['endIndex']=_0x151128):('elementStart'===_0xe6fd1c[_0x151128]['type']?_0xe6fd1c[_0x151128]['item']['startIndex']=_0x151128:'elementEnd'===_0xe6fd1c[_0x151128]['type']&&(_0xe6fd1c[_0x151128]['item']['endIndex']=_0x151128),_0x2cf496['set'](_0xe6fd1c[_0x151128]['id'],_0x151128));for(const _0xf2e0a2 of _0x2cf496['values']())'elementStart'===_0xe6fd1c[_0xf2e0a2]['type']?_0xe6fd1c[_0xf2e0a2]['item']['endIndex']=_0x2cf496['get'](_0xe6fd1c[_0xf2e0a2]['pairId']):'elementEnd'===_0xe6fd1c[_0xf2e0a2]['type']&&(_0xe6fd1c[_0xf2e0a2]['item']['startIndex']=_0x2cf496['get'](_0xe6fd1c[_0xf2e0a2]['pairId']));}['_processTape'](_0x1c493f){for(let _0x2a37e4=0x0;_0x2a37e4<_0x1c493f['length'];_0x2a37e4++){if('elementStart'===_0x1c493f[_0x2a37e4]['type'])_0x1c493f[_0x2a37e4]['item']['startIndex']=_0x2a37e4;else{if('elementEnd'===_0x1c493f[_0x2a37e4]['type']){_0x1c493f[_0x2a37e4]['item']['endIndex']=_0x2a37e4;const _0x28aab9=_0x1c493f[_0x2a37e4]['item']['startIndex'];_0x1c493f[_0x28aab9]['pairId']=_0x1c493f[_0x2a37e4]['id'],_0x1c493f[_0x2a37e4]['pairId']=_0x1c493f[_0x28aab9]['id'];}else _0x1c493f[_0x2a37e4]['item']['startIndex']=_0x2a37e4,_0x1c493f[_0x2a37e4]['item']['endIndex']=_0x2a37e4,_0x1c493f[_0x2a37e4]['pairId']=null;}_0x1c493f[_0x2a37e4]['markersStart']||(_0x1c493f[_0x2a37e4]['markersStart']=[],_0x1c493f[_0x2a37e4]['markersEnd']=[]);}}['_markInsertions'](_0x2a4f54,_0x3018ca){const _0x52914d=_0x2a4f54['filter'](_0x20fce5=>!_0x20fce5['isAdded']);for(let _0x3a94ab=0x0;_0x3a94ab<_0x3018ca['length'];_0x3a94ab++)_0x3018ca[_0x3a94ab]['isAdded']&&(_0x52914d[_0x3a94ab]['isAdded']=_0x3018ca[_0x3a94ab]['isAdded']);}['_getDiff'](_0x3166a7,_0x28c298=null){const _0x36439f=this['repository']['getRevision'](_0x3166a7),_0x565ff9=_0x28c298?this['repository']['getRevision'](_0x28c298):null,_0x1e9554=this['_getRevisionsRange'](_0x36439f,_0x565ff9),_0x325a9f=_0x1e9554[_0x1e9554['length']-0x1],_0x4730fb=new Map(),_0x88c412={'model':{},'attributes':{},'changes':[]},_0x411bf1=new Set(),_0x1b912d=new Map();for(let _0x4a4f06=_0x1e9554['length']-0x1;_0x4a4f06>=0x0;_0x4a4f06--){const _0x3cbb13=_0x1e9554[_0x4a4f06];for(const _0x4c6a56 of Object['keys'](_0x3cbb13['diffData']))if(_0x3cbb13['diffData'][_0x4c6a56]['attachChange']){const _0x3c5a69=_0x3cbb13['diffData'][_0x4c6a56]['attachChange'];_0x3c5a69['isAttached']?(_0x411bf1['add'](_0x4c6a56),_0x1b912d['has'](_0x4c6a56)&&_0x1b912d['get'](_0x4c6a56)['userId']==_0x3c5a69['userId']?_0x1b912d['delete'](_0x4c6a56):_0x1b912d['set'](_0x4c6a56,_0x3c5a69)):_0x1b912d['has'](_0x4c6a56)?(_0x411bf1['delete'](_0x4c6a56),_0x1b912d['delete'](_0x4c6a56)):(_0x411bf1['add'](_0x4c6a56),_0x1b912d['set'](_0x4c6a56,_0x3c5a69));}else _0x411bf1['add'](_0x4c6a56);}for(const _0x3b4bc2 of _0x411bf1){const _0x4e52bf=_0x1b912d['has'](_0x3b4bc2)&&!_0x1b912d['get'](_0x3b4bc2)['isAttached'];let _0x30f13e=_0x4e52bf?_0x1e9554['length']-0x1:0x0;const _0x16b13f=_0x4e52bf?-0x1:0x1;for(;_0x1e9554[_0x30f13e];){const _0x3e845a=_0x1e9554[_0x30f13e];if(_0x3e845a['diffData'][_0x3b4bc2]){const _0x299e9b=_0x4e52bf?_0x3e845a['diffData'][_0x3b4bc2]['attributesBefore']:_0x3e845a['diffData'][_0x3b4bc2]['attributesAfter'];_0x88c412['attributes'][_0x3b4bc2]=_0x299e9b?Jr(_0x299e9b):{};break;}_0x30f13e+=_0x16b13f;}}for(const _0x553688 of _0x1e9554){_0x553688['model']={};for(const _0x3cf298 of _0x553688['authors'])_0x4730fb['set'](_0x3cf298['id'],_0x3cf298);for(const _0x47154c of _0x411bf1){const _0x51708f=_0x553688['diffData'][_0x47154c]?_0x553688['diffData'][_0x47154c]['insertions']:'[]',_0x50a9fe=_0x553688['diffData'][_0x47154c]?_0x553688['diffData'][_0x47154c]['deletions']:'[]',_0x1dc7dc=_0x553688['diffData'][_0x47154c]?.['rootElementName']||'$root';_0x553688['model'][_0x47154c]={'insertions':this['_utils']['_makeModelFromViewString'](_0x51708f,_0x1dc7dc),'deletions':this['_utils']['_makeModelFromViewString'](_0x50a9fe,_0x1dc7dc)};}}for(const _0x3d862a of _0x411bf1){let _0x54bf47=null,_0x2485da=0x0;const _0x5cb55e=_0x1e9554['map'](_0x112d1e=>_0x112d1e['diffData'][_0x3d862a]?.['rootElementName'])['find'](_0x374b5f=>void 0x0!==_0x374b5f)||'$root',_0x4b4004=new Map(Array['from'](_0x36439f['model'][_0x3d862a]['insertions']['markers'])['filter'](([_0x35f63b])=>!_0x35f63b['startsWith']('revision:')));let _0x2fba0c=0x0;for(const _0x558999 of _0x1e9554){const _0x3334dd=this['_makeTape'](_0x558999['model'][_0x3d862a]['insertions']);_0x558999==_0x36439f?(_0x54bf47=_0x3334dd,_0x2485da=_0x54bf47['length'],_0x54bf47['forEach'](_0x4413d4=>{_0x4413d4['id']=_0x2fba0c++;}),this['_processTape'](_0x54bf47)):this['_markInsertions'](_0x54bf47,_0x3334dd);const _0x1ac458=_0x54bf47['filter'](_0x2cac3c=>!_0x2cac3c['isAdded'])['map'](_0x5d0603=>_0x5d0603['id']);let _0x82effe=0x0;const _0xcd079a=this['_makeTape'](_0x558999['model'][_0x3d862a]['deletions']);_0xcd079a['forEach'](_0x4355c6=>{_0x4355c6['isRemoved']?_0x4355c6['id']=_0x2485da++:_0x4355c6['id']=_0x1ac458[_0x82effe++];}),this['_processTape'](_0xcd079a),this['_setDistance'](_0x54bf47,'isAdded'),this['_setDistance'](_0xcd079a,'isRemoved'),_0x558999==_0x36439f&&this['_markMarkers'](_0x54bf47,_0x4b4004),_0x54bf47=this['_joinTapes'](_0x54bf47,_0xcd079a),this['_refreshStartEndIndex'](_0x54bf47),this['_setDistance'](_0x54bf47,'isRemoved');}_0x54bf47=_0x54bf47['filter'](_0x543961=>!(_0x543961['isAdded']&&_0x543961['isRemoved']));const _0xafd612=new Map(_0x325a9f['model'][_0x3d862a]['deletions']['markers']),_0x13595a=new Set(_0x4b4004['keys']());for(const _0x4942c8 of _0xafd612['keys']())_0x13595a['delete'](_0x4942c8);this['_markSuggestions'](_0x54bf47,_0x13595a),this['_fixObsoleteTags'](_0x54bf47),_0x54bf47=this['_removeMissingPairs'](_0x54bf47),_0x54bf47=this['_markMismatchedRemovedTags'](_0x54bf47),_0x54bf47=this['_removeUnsupportedChanges'](_0x54bf47);const {root:_0x59f251,changes:_0x12b84f}=this['_makeModelFromTape'](_0x54bf47,_0x4730fb,_0x3d862a,_0x5cb55e);_0x88c412['model'][_0x3d862a]=_0x59f251;const _0x51f740=_0x1b912d['get'](_0x3d862a);if(_0x51f740){const _0x4e0c92=new AM({'author':_0x4730fb['get'](_0x51f740['userId']),'type':_0x51f740['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x3d862a});_0x12b84f['unshift'](_0x4e0c92),_0x88c412['attributes'][_0x3d862a]['revisionHistoryAttachChange']=_0x4e0c92['id'];}_0x88c412['changes']=_0x88c412['changes']['concat'](_0x12b84f);}return _0x88c412;}['_markMarkers'](_0x353c1f,_0x9e2137){for(let _0x1cd602=0x0;_0x1cd602<_0x353c1f['length'];_0x1cd602++)for(const [_0x2f627a,_0x279e40]of _0x9e2137)!_0x279e40['isCollapsed']&&_0x279e40['start']['isEqual'](_0x353c1f[_0x1cd602]['previousPosition'])&&_0x353c1f[_0x1cd602]['markersStart']['push'](_0x2f627a),_0x279e40['end']['isEqual'](_0x353c1f[_0x1cd602]['nextPosition'])&&_0x353c1f[_0x1cd602]['markersEnd']['push'](_0x2f627a);}['_joinTapes'](_0x49bc53,_0x390911){let _0x390ee2=[],_0x334e23=0x0,_0x25f768=0x0;for(;_0x334e23<_0x49bc53['length']||_0x25f768<_0x390911['length'];){const _0x2ab475=_0x49bc53[_0x334e23]||{},_0x1ee990=_0x390911[_0x25f768]||{};if(_0x2ab475['id']==_0x1ee990['id'])_0x334e23++,_0x25f768++,_0x390ee2['push'](_0x2ab475);else{if(_0x1ee990['isRemoved']&&_0x2ab475['isAdded']){const {commonTape:_0x989e5f,iEnd:_0x5902be,jEnd:_0x5a4acf}=this['_threeWayMerge'](_0x49bc53,_0x334e23,_0x390911,_0x25f768);_0x390ee2=_0x390ee2['concat'](_0x989e5f),_0x334e23=_0x5902be,_0x25f768=_0x5a4acf;}else _0x1ee990['isRemoved']?(_0x25f768++,_0x390ee2['push'](_0x1ee990)):(_0x334e23++,_0x390ee2['push'](_0x2ab475));}}return _0x390ee2;}['_markSuggestions'](_0x4f2357,_0x19c330){const _0x2be07c=[];for(let _0x590452=0x0;_0x590452<_0x4f2357['length'];_0x590452++){for(let _0x24b59c=0x0;_0x24b59c<_0x4f2357[_0x590452]['markersStart']['length'];_0x24b59c++){const _0x423ce2=_0x4f2357[_0x590452]['markersStart'][_0x24b59c];if(!_0x19c330['has'](_0x423ce2))continue;const {group:_0x36f29c,type:_0x110115,authorId:_0x2c2c80}=_0x1ab84f(_0x423ce2);'revision-suggestion'!=_0x36f29c||'insertion'!=_0x110115&&'deletion'!=_0x110115||(_0x2be07c['unshift']({'type':_0x110115,'name':_0x423ce2,'userId':_0x2c2c80}),_0x4f2357[_0x590452]['markersStart']['splice'](_0x24b59c,0x1),_0x24b59c--);}_0x55e5dc(_0x4f2357[_0x590452]);for(let _0x70eb1f=0x0;_0x70eb1f<_0x4f2357[_0x590452]['markersEnd']['length'];_0x70eb1f++){const _0x3b847d=_0x4f2357[_0x590452]['markersEnd'][_0x70eb1f];if(!_0x19c330['has'](_0x3b847d))continue;const {group:_0x3b4a74,type:_0x2310c2}=_0x1ab84f(_0x3b847d);if('revision-suggestion'!=_0x3b4a74||'insertion'!=_0x2310c2&&'deletion'!=_0x2310c2)continue;_0x4f2357[_0x590452]['markersEnd']['splice'](_0x70eb1f,0x1),_0x70eb1f--;const _0x5b759a=_0x2be07c['findIndex'](_0x1ead81=>_0x1ead81['name']==_0x3b847d);_0x5b759a>-0x1&&_0x2be07c['splice'](_0x5b759a,0x1);}}function _0x1ab84f(_0x2ebd23){const _0x306f69=_0x2ebd23['split'](':');return{'group':_0x306f69[0x0],'type':_0x306f69[0x1],'subType':_0x306f69['length']>=0x5?_0x306f69[0x2]:null,'id':_0x306f69['length']<0x5?_0x306f69[0x2]:_0x306f69[0x3],'authorId':_0x306f69['length']<0x5?_0x306f69[0x3]:_0x306f69[0x4],'markerCount':0x6==_0x306f69['length']?_0x306f69[0x5]:null};}function _0x55e5dc(_0x2c66d5){for(let _0x47845a=0x0;_0x47845a<_0x2be07c['length'];_0x47845a++){if(_0x2c66d5['isAdded']&&'insertion'==_0x2be07c[_0x47845a]['type']&&_0x2c66d5['isAdded']['userId']==_0x2be07c[_0x47845a]['userId'])return _0x2c66d5['isAddSuggestion']=_0x2be07c[_0x47845a],void delete _0x2c66d5['isAdded'];if(!_0x2c66d5['isAdded']&&!_0x2c66d5['isRemoved']&&'deletion'==_0x2be07c[_0x47845a]['type'])return void(_0x2c66d5['isRemoveSuggestion']=_0x2be07c[_0x47845a]);}}}['_setDistance'](_0x1861cb,_0x538b6f){let _0x432d8e=0x0,_0x39534f=!0x1;const _0x55856a=new Map();for(const _0x1825f4 of _0x1861cb)_0x1825f4[_0x538b6f]?_0x39534f&&(_0x432d8e++,_0x39534f=!0x1):(_0x432d8e++,_0x39534f=!0x0),_0x55856a['set'](_0x1825f4['id'],_0x432d8e);for(let _0x2b49d1=0x0;_0x2b49d1<_0x1861cb['length'];_0x2b49d1++){if('isRemoved'==_0x538b6f&&_0x1861cb[_0x2b49d1]['isAdded']||'isAdded'==_0x538b6f&&_0x1861cb[_0x2b49d1]['isRemoved'])continue;if('text'==_0x1861cb[_0x2b49d1]['type']){_0x1861cb[_0x2b49d1]['distance']=0x0;continue;}const _0x1db3bd=_0x55856a['get'](_0x1861cb[_0x2b49d1]['pairId']),_0x32980f=_0x55856a['get'](_0x1861cb[_0x2b49d1]['id']);_0x1861cb[_0x2b49d1]['distance']=_0x1db3bd-_0x32980f;}}['_getRevisionsRange'](_0x1b967a,_0x2a390e,_0x336589=!0x1){const _0x28003d=[];let _0x25bd67=this['repository']['getIndex'](_0x1b967a),_0x376c97=this['repository']['getIndex'](_0x2a390e);for(-0x1==_0x376c97&&(_0x376c97=this['repository']['_revisions']['length'],_0x336589=!0x1);_0x25bd67<_0x376c97;)_0x28003d['push'](this['repository']['getRevision'](_0x25bd67)),_0x25bd67++;return _0x336589&&_0x28003d['push'](this['repository']['getRevision'](_0x25bd67)),_0x28003d;}['_threeWayMerge'](_0x55ddab,_0x133c3b,_0x2dc43d,_0x45b52d){const _0xf2cc15=this['editor']['model']['schema'];let _0x4af79a=_0x133c3b;for(;_0x55ddab[_0x4af79a]&&_0x55ddab[_0x4af79a]['isAdded'];)_0x4af79a++;let _0x43ccf2=_0x45b52d;for(;_0x2dc43d[_0x43ccf2]&&_0x2dc43d[_0x43ccf2]['isRemoved'];)_0x43ccf2++;_0x318617(_0x55ddab,_0x133c3b,_0x4af79a),_0x318617(_0x2dc43d,_0x45b52d,_0x43ccf2);const _0x38f767=_0x2dc43d['slice'](_0x45b52d,_0x43ccf2)['concat'](_0x55ddab['slice'](_0x133c3b,_0x4af79a));return _0x38f767['sort']((_0x25bb91,_0x2f9c02)=>_0x25bb91['side']!=_0x2f9c02['side']?_0x25bb91['side']-_0x2f9c02['side']:_0x25bb91['level']!=_0x2f9c02['level']?_0x25bb91['level']-_0x2f9c02['level']:_0x25bb91['distance']!=_0x2f9c02['distance']?_0x2f9c02['distance']-_0x25bb91['distance']:!!_0x25bb91['isAdded']!=!!_0x2f9c02['isAdded']?-0x1==_0x25bb91['side']||0x0==_0x25bb91['side']?_0x25bb91['isAdded']?-0x1:0x1:_0x25bb91['isAdded']?0x1:-0x1:_0x25bb91['index']-_0x2f9c02['index']),{'commonTape':_0x38f767,'iEnd':_0x4af79a,'jEnd':_0x43ccf2};function _0x318617(_0x145e7b,_0x5ea688,_0x10c29f){let _0x53e1a1=-0x1,_0x32a982=Number['POSITIVE_INFINITY'],_0x19cee1=!0x0;for(let _0x17cdce=_0x5ea688;_0x17cdce<_0x10c29f;_0x17cdce++)if(_0xf2cc15['isInline'](_0x145e7b[_0x17cdce]['item'])||(_0x19cee1=!0x1),_0x145e7b[_0x17cdce]['item']['startIndex']<_0x5ea688&&(_0x53e1a1=_0x17cdce),_0x145e7b[_0x17cdce]['item']['endIndex']>=_0x10c29f){_0x32a982=_0x17cdce;break;}_0x19cee1&&(_0x53e1a1=_0x10c29f-0x1);for(let _0x3f7abf=_0x5ea688;_0x3f7abf<_0x10c29f;_0x3f7abf++)_0x145e7b[_0x3f7abf]['side']=_0x3f7abf<=_0x53e1a1?-0x1:_0x3f7abf<_0x32a982?0x0:0x1,_0x145e7b[_0x3f7abf]['index']=_0x3f7abf;let _0x1e8bf5=0x0;for(let _0xfe8fd3=_0x5ea688;_0xfe8fd3<=_0x53e1a1;_0xfe8fd3++)0x0==_0x145e7b[_0xfe8fd3]['distance']?_0x145e7b[_0xfe8fd3]['level']=_0x1e8bf5:(_0x1e8bf5++,_0x145e7b[_0xfe8fd3]['level']=_0x1e8bf5,_0x1e8bf5++);for(let _0x1e5589=_0x5ea688;_0x1e5589<_0x10c29f;_0x1e5589++)0x0==_0x145e7b[_0x1e5589]['side']&&(_0x145e7b[_0x1e5589]['level']=_0x1e8bf5);_0x1e8bf5=0x0;for(let _0x595006=_0x10c29f-0x1;_0x595006>=_0x32a982;_0x595006--)0x0==_0x145e7b[_0x595006]['distance']?_0x145e7b[_0x595006]['level']=_0x1e8bf5:(_0x1e8bf5--,_0x145e7b[_0x595006]['level']=_0x1e8bf5,_0x1e8bf5--);}}['_fixObsoleteTags'](_0x574432){const _0x90ffcf=new Map(),_0x28fd0a=this['editor']['model']['schema'];for(let _0x215d5c=0x1;_0x215d5c<_0x574432['length'];_0x215d5c++){let _0x470fe3,_0xa57d3a,_0x49c267;const _0x59c8ab=_0x574432[_0x215d5c],_0x4d4824=_0x574432[_0x215d5c-0x1];if('text'==_0x59c8ab['type'])continue;if(_0x59c8ab['type']!=_0x4d4824['type'])continue;if(!_0x28fd0a['isBlock'](_0x4d4824['item'])||_0x28fd0a['isLimit'](_0x4d4824['item']))continue;if(!_0x28fd0a['isBlock'](_0x59c8ab['item'])||_0x28fd0a['isLimit'](_0x59c8ab['item']))continue;if((_0x574432[_0x215d5c]['isAdded']||_0x574432[_0x215d5c]['isAddSuggestion'])&&_0x574432[_0x215d5c-0x1]['isRemoved'])_0x470fe3=_0x574432[_0x215d5c],_0xa57d3a=_0x574432[_0x215d5c-0x1],_0x49c267=_0x215d5c-0x1;else{if(!_0x574432[_0x215d5c]['isRemoved']||!_0x574432[_0x215d5c-0x1]['isAdded']&&!_0x574432[_0x215d5c-0x1]['isAddSuggestion'])continue;_0x470fe3=_0x574432[_0x215d5c-0x1],_0xa57d3a=_0x574432[_0x215d5c],_0x49c267=_0x215d5c;}const _0x3fe068=_0x470fe3['level']==_0xa57d3a['level'],_0x5c3250=Math['abs'](_0x470fe3['level'])<Math['abs'](_0xa57d3a['level'])&&0x0==_0xa57d3a['distance'];(_0x3fe068||_0x5c3250)&&(_0x90ffcf['set'](_0xa57d3a['id'],_0x470fe3['id']),_0x574432['splice'](_0x49c267,0x1),_0x215d5c--,_0x470fe3['isAdded']=!0x1);}for(let _0x3c3f47=0x0;_0x3c3f47<_0x574432['length'];_0x3c3f47++)_0x90ffcf['has'](_0x574432[_0x3c3f47]['pairId'])&&(_0x574432[_0x3c3f47]['pairId']=_0x90ffcf['get'](_0x574432[_0x3c3f47]['pairId']));}['_removeMissingPairs'](_0x315331){const _0x4d913d=new Set(_0x315331['map'](_0x68f340=>_0x68f340['id']));for(let _0x3a1e53=0x0;_0x3a1e53<_0x315331['length'];_0x3a1e53++)_0x4d913d['has'](_0x315331[_0x3a1e53]['pairId'])||0x0==_0x315331[_0x3a1e53]['distance']||(_0x315331[_0x3a1e53]['isIncorrect']=!0x0);return _0x315331['filter'](_0x2754e3=>!_0x2754e3['isIncorrect']);}['_markMismatchedRemovedTags'](_0x1494df){const _0x3df998=new Set();for(let _0x176c3f=0x0;_0x176c3f<_0x1494df['length'];_0x176c3f++){if(_0x3df998['has'](_0x1494df[_0x176c3f]['id'])&&_0x1494df[_0x176c3f]['isRemoved']&&(_0x1494df[_0x176c3f]['isIncorrect']=!0x0),_0x1494df[_0x176c3f]['isIncorrect'])continue;if(0x0==_0x1494df[_0x176c3f]['distance'])continue;if('elementStart'!=_0x1494df[_0x176c3f]['type'])continue;if(null==_0x1494df[_0x176c3f]['pairId'])continue;let _0x4afdb4=_0x176c3f+0x1,_0x5ef0a8=0x0;for(;_0x1494df[_0x4afdb4]['id']!=_0x1494df[_0x176c3f]['pairId'];)'elementStart'==_0x1494df[_0x4afdb4]['type']?_0x5ef0a8++:'elementEnd'==_0x1494df[_0x4afdb4]['type']&&_0x5ef0a8--,_0x4afdb4++;if(0x0!=_0x5ef0a8){if(_0x1494df[_0x176c3f]['isRemoved'])_0x1494df[_0x176c3f]['isIncorrect']=!0x0;else{for(;_0x4afdb4!=_0x176c3f;)_0x1494df[_0x4afdb4]['isRemoved']&&0x0!=_0x1494df[_0x4afdb4]['distance']&&(_0x1494df[_0x4afdb4]['isIncorrect']=!0x0,_0x3df998['add'](_0x1494df[_0x4afdb4]['pairId'])),_0x4afdb4--;}}}return _0x1494df['filter'](_0x5afd6d=>!_0x5afd6d['isIncorrect']);}['_removeUnsupportedChanges'](_0x146f70){const _0x36c113=this['editor']['model']['schema'];for(let _0x197c23=0x0;_0x197c23<_0x146f70['length'];_0x197c23++){if(!(_0x146f70[_0x197c23]['isAdded']||_0x146f70[_0x197c23]['isAddSuggestion']||_0x146f70[_0x197c23]['isRemoved']||_0x146f70[_0x197c23]['isRemoveSuggestion']))continue;if(0x0==_0x146f70[_0x197c23]['distance'])continue;const _0x2f4da0=_0x146f70[_0x197c23]['item'];_0x36c113['isBlock'](_0x2f4da0)||_0x36c113['isLimit'](_0x2f4da0)||(_0x146f70[_0x197c23]['isAdded']&&delete _0x146f70[_0x197c23]['isAdded'],_0x146f70[_0x197c23]['isAddSuggestion']&&delete _0x146f70[_0x197c23]['isAddSuggestion'],_0x146f70[_0x197c23]['isRemoveSuggestion']&&delete _0x146f70[_0x197c23]['isRemoveSuggestion'],_0x146f70[_0x197c23]['isRemoved']&&(_0x146f70[_0x197c23]['isIncorrect']=!0x0));}return _0x146f70['filter'](_0x8babfb=>!_0x8babfb['isIncorrect']);}['_makeModelFromTape'](_0xeb43e0,_0x2b81af,_0x461123,_0x1fce43){const _0xfa35b4=new _0x14f25f(),_0x2006d1=[],_0x578851=new Map(),_0x607ac9=this['editor']['model'],_0x23270e=_0x607ac9['schema'],_0x2868f4=[_0xfa35b4],_0x13d791={},_0x4f4583={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};_0xfa35b4['name']=_0x1fce43;let _0x4398d5=null;const _0x1c1c93=[0x0];for(let _0x1353a8=0x0;_0x1353a8<_0xeb43e0['length'];_0x1353a8++)if('elementStart'===_0xeb43e0[_0x1353a8]['type']){_0xeb43e0[_0x1353a8]['previousPosition']=_0x607ac9['createPositionFromPath'](_0xfa35b4,_0x1c1c93);const _0x26c7e8=new _0x33dcdb(_0xeb43e0[_0x1353a8]['item']['name'],_0xeb43e0[_0x1353a8]['item']['getAttributes']());_0x2868f4[0x0]['_appendChild'](_0x26c7e8),_0x1c1c93['push'](0x0),_0x2868f4['unshift'](_0x26c7e8),_0xeb43e0[_0x1353a8]['nextPosition']=_0x607ac9['createPositionFromPath'](_0xfa35b4,_0x1c1c93);}else'elementEnd'===_0xeb43e0[_0x1353a8]['type']?(_0x2868f4['shift'](),_0xeb43e0[_0x1353a8]['previousPosition']=_0x607ac9['createPositionFromPath'](_0xfa35b4,_0x1c1c93),_0x1c1c93['pop'](),_0x1c1c93[_0x1c1c93['length']-0x1]++,_0xeb43e0[_0x1353a8]['nextPosition']=_0x607ac9['createPositionFromPath'](_0xfa35b4,_0x1c1c93)):(_0xeb43e0[_0x1353a8]['previousPosition']=_0x607ac9['createPositionFromPath'](_0xfa35b4,_0x1c1c93),_0x4398d5?_0x4398d5['_data']+=_0xeb43e0[_0x1353a8]['item']['data']:_0x4398d5=new _0x42edc7(_0xeb43e0[_0x1353a8]['item']['data'],_0xeb43e0[_0x1353a8]['item']['getAttributes']()),_0xeb43e0[_0x1353a8+0x1]&&'text'===_0xeb43e0[_0x1353a8+0x1]['type']&&_0x526d71(_0x4398d5,_0xeb43e0[_0x1353a8+0x1]['item'])||(_0x2868f4[0x0]['_appendChild'](_0x4398d5),_0x4398d5=null),_0x1c1c93[_0x1c1c93['length']-0x1]+=_0xeb43e0[_0x1353a8]['item']['offsetSize'],_0xeb43e0[_0x1353a8]['nextPosition']=_0x607ac9['createPositionFromPath'](_0xfa35b4,_0x1c1c93));for(let _0x19381c=0x0;_0x19381c<_0xeb43e0['length'];_0x19381c++){const _0xcfe168=_0xeb43e0[_0x19381c]['previousPosition'],_0x2e2ef5=_0xeb43e0[_0x19381c]['nextPosition'];for(const _0x5b9eef of _0xeb43e0[_0x19381c]['markersStart'])_0x578851['set'](_0x5b9eef,{'start':_0xcfe168,'end':null});_0x530317('isRemoveSuggestion',_0x19381c,_0xcfe168,_0x2e2ef5),_0x530317('isAddSuggestion',_0x19381c,_0xcfe168,_0x2e2ef5),_0x530317('isRemoved',_0x19381c,_0xcfe168,_0x2e2ef5),_0x530317('isAdded',_0x19381c,_0xcfe168,_0x2e2ef5);for(const _0x2100a6 of _0xeb43e0[_0x19381c]['markersEnd']){const _0x2eaeb3=_0x578851['get'](_0x2100a6);_0x2eaeb3?_0x2eaeb3['end']=_0x2e2ef5:_0x578851['set'](_0x2100a6,{'start':_0x2e2ef5,'end':_0x2e2ef5});}}for(const [_0x3d23b6,_0x34aa15]of _0x578851){const _0x5bb48f=this['editor']['model']['createRange'](_0x34aa15['start'],_0x34aa15['end']);_0xfa35b4['markers']['set'](_0x3d23b6,_0x5bb48f);}return _0x2006d1['sort']((_0xa2e98c,_0x32e744)=>{const _0x289b94=_0xfa35b4['markers']['get']('revision:'+_0xa2e98c['id']),_0x45e707=_0xfa35b4['markers']['get']('revision:'+_0x32e744['id']);return _0x289b94['start']['isBefore'](_0x45e707['start'])?-0x1:_0x289b94['start']['isAfter'](_0x45e707['start'])?0x1:_0x289b94['end']['isBefore'](_0x45e707['end'])?-0x1:_0x289b94['end']['isAfter'](_0x45e707['end'])?0x1:'add'===_0xa2e98c['type']?-0x1:0x1;}),{'root':_0xfa35b4,'changes':_0x2006d1};function _0x530317(_0x11b838,_0x44bbeb,_0xcfa832,_0xb68191){const _0x4466bb=!!_0xeb43e0[_0x44bbeb][_0x11b838],_0x37adda=_0x4466bb?_0xeb43e0[_0x44bbeb][_0x11b838]['userId']:null,_0xf5301d=_0x44bbeb===_0xeb43e0['length']-0x1,_0x5cc836=_0x4f4583[_0x11b838][0x0],_0x13fcbb=_0x23270e['isObject'](_0xeb43e0[_0x44bbeb]['item']);!_0x13d791[_0x11b838]&&_0x4466bb?_0x13d791[_0x11b838]={'start':_0xcfa832,'tapeItem':_0xeb43e0[_0x44bbeb],'userId':_0x37adda,'type':_0x11b838}:_0x13d791[_0x11b838]&&!_0x4466bb?(_0x13d791[_0x11b838]['end']=_0xcfa832,_0x5e49fe(_0x13d791[_0x11b838]),_0x13d791[_0x11b838]=null):_0x13d791[_0x11b838]&&_0x4466bb&&_0x13d791[_0x11b838]['userId']!==_0x37adda&&(_0x13d791[_0x11b838]['end']=_0xcfa832,_0x5cc836&&_0x5cc836['userId']===_0x13d791[_0x11b838]['userId']||_0x5e49fe(_0x13d791[_0x11b838]),_0x13d791[_0x11b838]={'start':_0xcfa832,'tapeItem':_0xeb43e0[_0x44bbeb],'userId':_0x37adda,'type':_0x11b838}),_0x13d791[_0x11b838]&&_0x13fcbb&&('elementStart'!==_0xeb43e0[_0x44bbeb]['type']||_0x5cc836&&_0x5cc836['userId']===_0x37adda||_0x4f4583[_0x11b838]['unshift']({'userId':_0x37adda,'object':_0xeb43e0[_0x44bbeb]['item'],'change':_0x13d791[_0x11b838]}),'elementEnd'===_0xeb43e0[_0x44bbeb]['type']&&_0x5cc836&&_0x5cc836['object']===_0xeb43e0[_0x44bbeb]['item']&&(_0x4f4583[_0x11b838]['shift'](),_0x13d791[_0x11b838]=_0x5cc836['change'])),_0x13d791[_0x11b838]&&_0xf5301d&&(_0x13d791[_0x11b838]['end']=_0xb68191,_0x5e49fe(_0x13d791[_0x11b838]),_0x13d791[_0x11b838]=null);}function _0x5e49fe({start:_0x326320,end:_0x4081cf,tapeItem:_0x29d38c,userId:_0x2b1c36,type:_0x3207f7}){const _0x2ad747=_0x29d38c['item'],_0x3e656f=_0x607ac9['schema']['isBlock'](_0x2ad747)&&!_0x607ac9['schema']['isLimit'](_0x2ad747),_0x102a88=_0x326320['nodeAfter']==_0x4081cf['parent']&&_0x4081cf['isAtStart'];if(_0x3e656f&&_0x102a88)return;const _0x3d5a9f=_0x607ac9['createRange'](_0x326320,_0x4081cf),_0xed93f=new AM({'author':_0x2b81af['get'](_0x2b1c36),'type':'isAdded'==_0x3207f7||'isAddSuggestion'==_0x3207f7?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x3207f7||'isRemoveSuggestion'==_0x3207f7},'createdAt':new Date(),'rootName':_0x461123});_0x2006d1['push'](_0xed93f),_0xfa35b4['markers']['set']('revision:'+_0xed93f['id'],_0x3d5a9f);}function _0x526d71(_0x31a7dc,_0xa67a70){const _0x2501af=_0x31a7dc['getAttributes'](),_0x1dfd24=_0xa67a70['getAttributes']();for(const _0x852065 of _0x2501af){if(_0x852065[0x1]!==_0xa67a70['getAttribute'](_0x852065[0x0]))return!0x1;_0x1dfd24['next']();}return _0x1dfd24['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0xc1eb89=>{const _0x2b8c28=_0xc1eb89['markerName']['split'](':')[0x1],_0x9b45ea=this['_getChangeFromId'](_0x2b8c28);if(!_0x9b45ea)return null;const _0x60ba8='add'==_0x9b45ea['type']?'insertion':'deletion',_0xe92d4e=['ck-suggestion-marker','ck-suggestion-marker-'+_0x60ba8];return _0x9b45ea['data']['isSuggestion']&&_0xe92d4e['push']('ck-suggestion-marker-'+_0x60ba8+'-new'),this['activeChange']==_0x9b45ea&&_0xe92d4e['push']('ck-suggestion-marker--active'),{'classes':_0xe92d4e,'attributes':{'data-change-id':_0x2b8c28}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x105b0d=>{_0x105b0d['on']('element:pre',(_0x4610d9,_0x58917d,_0xf98ef1)=>{const _0x5cd16b=_0x58917d['viewItem']['getChild'](0x0);if(!_0x5cd16b||!_0x5cd16b['is']('element','code'))return;if(!_0xf98ef1['consumable']['consume'](_0x5cd16b,{'attributes':['vid_start','vid_end']}))return;const _0x5ba20d=_0x58917d['modelRange']['start']['nodeAfter'];_0xf98ef1['writer']['setAttribute']('vid_start',_0x5cd16b['getAttribute']('vid_start'),_0x5ba20d),_0xf98ef1['writer']['setAttribute']('vid_end',_0x5cd16b['getAttribute']('vid_end'),_0x5ba20d);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x24caa7=>{_0x24caa7['on']('element',(_0x1f8be7,_0x52d5d0,_0x2e8bb2)=>{if(!_0x2e8bb2['consumable']['consume'](_0x52d5d0['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x52d5d0['modelRange']['isCollapsed'])return;const _0x2c30e5=_0x52d5d0['modelRange']['start']['nodeAfter'];_0x2c30e5['hasAttribute']('vid_start')||_0x2c30e5['hasAttribute']('vid')||(_0x2e8bb2['writer']['setAttribute']('vid_start',_0x52d5d0['viewItem']['getAttribute']('vid_start'),_0x2c30e5),_0x2e8bb2['writer']['setAttribute']('vid_end',_0x52d5d0['viewItem']['getAttribute']('vid_end'),_0x2c30e5));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0xd33b1e=>_0xd33b1e['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x309e2b,[,_0x316504])=>{['vid_start','vid_end','vid']['includes'](_0x316504)&&(_0x309e2b['return']=!0x0,_0x309e2b['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x177c05=>{_0x177c05['on']('attribute:vid',(_0x3a2332,_0x14dd85,_0x531283)=>{if('\x20'!=_0x14dd85['item']['data']||_0x14dd85['item']['parent']['maxOffset']>0x1)return;if(!_0x531283['consumable']['consume'](_0x14dd85['item'],_0x3a2332['name']))return;const _0x278dd2=_0x531283['writer'],_0x25d3cf=_0x531283['mapper']['toViewRange'](_0x14dd85['range']);_0x278dd2['wrap'](_0x25d3cf,_0x278dd2['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0xaf6acc){const _0x46b4a6=_0xaf6acc['plugins']['get']('RevisionViewer');return(_0x301d7f,_0x8ac5a0,_0x47d064)=>{const _0x456dce=_0x8ac5a0['markerName']['split'](':')[0x1],_0x53dc48=_0x46b4a6['_getChangeFromId'](_0x456dce);if(!_0x53dc48)return null;const _0x40f9ba='add'==_0x53dc48['type']?'split':'merge';if(!_0x47d064['consumable']['test'](_0x8ac5a0['markerRange'],_0x301d7f['name']))return;const _0x2cf8f2=_0x8ac5a0['markerRange']['getWalker'](),_0xf077f3=_0x8ac5a0['markerRange']['start'],_0x5100db=_0xaf6acc['model']['schema'];let _0x5ee496=null,_0x4f0bba=null,_0x234577=!0x1,_0x1f53a9=!0x1;for(const _0x1ca70a of _0x2cf8f2){const _0x19d268=_0x1ca70a['item'];_0x234577=_0x234577||_0x5100db['isContent'](_0x19d268);const _0x32b917=_0x47d064['mapper']['toViewElement'](_0x19d268);if(_0x32b917&&_0x32b917['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1ca70a['type']&&(_0x5100db['isBlock'](_0x19d268)&&!_0x5100db['isLimit'](_0x19d268)&&(_0x19d268['nextSibling']||_0xf077f3['isAtEnd']?_0x5ee496&&_0x5ee496['parent']==_0x19d268||(_0x5ee496=_0x19d268,_0x4ed5f9(_0x1ca70a['previousPosition']),_0x1f53a9=!0x0):_0x4f0bba=_0x4f0bba||_0x1ca70a['previousPosition']));}function _0x4ed5f9(_0x45a2f0){const _0x1002af=_0x47d064['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x40f9ba}),_0x3f487d=_0x47d064['mapper']['toViewPosition'](_0x45a2f0);_0x53dc48['data']['isSuggestion']&&_0x47d064['writer']['addClass']('ck-suggestion-marker-'+_0x40f9ba+'-new',_0x1002af),_0x46b4a6['activeChange']==_0x53dc48&&_0x47d064['writer']['addClass']('ck-suggestion-marker--active',_0x1002af),_0x47d064['writer']['insert'](_0x3f487d,_0x1002af),_0x47d064['mapper']['bindElementToMarker'](_0x1002af,_0x8ac5a0['markerName']);}_0x234577||_0x1f53a9||!_0x4f0bba||_0x4ed5f9(_0x4f0bba);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x20923a,_0x38b3da,_0x3f2bbe)=>{const _0x3de3b5=_0x3f2bbe['mapper']['markerNameToElements'](_0x38b3da['markerName']);if(_0x3de3b5){for(const _0x1fb956 of _0x3de3b5)(_0x1fb956['hasClass']('ck-suggestion-marker-split')||_0x1fb956['hasClass']('ck-suggestion-marker-merge'))&&(_0x3f2bbe['mapper']['unbindElementFromMarkerName'](_0x1fb956,_0x38b3da['markerName']),_0x3f2bbe['writer']['remove'](_0x1fb956));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x208d14,_0x5d2425,_0x2854b6)=>{const _0x506868=_0x5d2425['markerName']['split'](':')[0x1],_0x1b8324=this['_getChangeFromId'](_0x506868);if(!_0x1b8324)return null;const _0x2ba92d='add'==_0x1b8324['type']?'split':'merge';if(_0x2854b6['consumable']['test'](_0x5d2425['markerRange'],_0x208d14['name']))for(const _0x2dcf3b of _0x5d2425['markerRange']['getItems']()){if(!_0x2dcf3b['is']('element','softBreak'))continue;const _0x142636=_0x2854b6['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x2ba92d}),_0x5eddde=_0x2854b6['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x2dcf3b));_0x1b8324['data']['isSuggestion']&&_0x2854b6['writer']['addClass']('ck-suggestion-marker-'+_0x2ba92d+'-new',_0x142636),this['activeChange']==_0x1b8324&&_0x2854b6['writer']['addClass']('ck-suggestion-marker--active',_0x142636),_0x2854b6['writer']['insert'](_0x5eddde,_0x142636),_0x2854b6['mapper']['bindElementToMarker'](_0x142636,_0x5d2425['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x29c328=>{for(const _0x542702 of this['editor']['model']['document']['getRootNames']()){const _0x93af0f=this['editor']['model']['document']['getRoot'](_0x542702),_0x3e9ac6=this['editor']['editing']['view']['document']['getRoot'](_0x542702);if(_0x3e9ac6){const _0x2956aa=_0x93af0f['getAttribute']('revisionHistoryAttachChange');if(_0x29c328['removeAttribute']('data-change-id',_0x3e9ac6),_0x29c328['removeClass']('ck-revision-history-root-add',_0x3e9ac6),_0x29c328['removeClass']('ck-revision-history-root-remove',_0x3e9ac6),_0x29c328['removeClass']('ck-revision-history-root--active',_0x3e9ac6),_0x2956aa){const _0x5d9e50=this['_getChangeFromId'](_0x2956aa);if(!_0x5d9e50)return null;_0x29c328['setAttribute']('data-change-id',_0x2956aa,_0x3e9ac6),_0x29c328['addClass']('ck-revision-history-root-'+_0x5d9e50['type'],_0x3e9ac6),this['activeChange']==_0x5d9e50&&_0x29c328['addClass']('ck-revision-history-root--active',_0x3e9ac6);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x5d0db9=>'revision-comment:'+_0x5d0db9,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x3f1f04=>'revision-suggestion:'+_0x3f1f04,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x39de08=>({'name':'suggestion:'+_0x39de08,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x157b3c=>{const _0x39b98d=_0x157b3c['markerName']['split'](':')[0x1];return'insertion'!=_0x39b98d&&'deletion'!=_0x39b98d?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x39b98d]};}}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:deletion',kM(this['editor'],'merge'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:insertion',kM(this['editor'],'split'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision-suggestion',(_0x5a814b,_0x17f890,_0x1b665a)=>{const _0x3ad7bf=_0x1b665a['mapper']['markerNameToElements'](_0x17f890['markerName']);if(_0x3ad7bf){for(const _0x5169e7 of _0x3ad7bf)_0x5169e7['is']('uiElement')&&(_0x1b665a['mapper']['unbindElementFromMarkerName'](_0x5169e7,_0x17f890['markerName']),_0x1b665a['writer']['remove'](_0x5169e7));}},{'priority':'high'});}['_getChangeFromId'](_0x853b35){return this['_changeIdToChange']['get'](_0x853b35);}['_getViewForChange'](_0x1910a5){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new EM(this['editor']['locale'],_0x1910a5),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x479277,_0x335980,_0x1f1787,_0x121d24)=>{_0x121d24&&this['_balloon']['remove'](_0x121d24),_0x1f1787&&(this['_balloon']['add']({'view':_0x1f1787,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x4c1848=this['editor']['editing'],_0xad1a79=this['_getChangeFromId'](_0x1f1787['changeId']);let _0x451baa;if(_0xad1a79['data']['isOnRoot']){const _0x116107=_0x4c1848['view']['getDomRoot'](_0xad1a79['rootName']);_0x451baa=Array['from'](_0x116107['getClientRects']());}else{const _0x3e0d01=this['editor']['model']['markers']['get']('revision:'+_0x1f1787['changeId']);_0x451baa=Array['from'](_0x4c1848['mapper']['markerNameToElements'](_0x3e0d01['name']))['map'](_0x1c3419=>_0x4c1848['view']['domConverter']['mapViewToDom'](_0x1c3419))['map'](_0x1eed12=>Array['from'](_0x1eed12['getClientRects']()))['flat']();}return this['_activeViewTarget']&&_0x451baa['find'](_0x41ca11=>_0x41ca11['top']-0x3<=this['_activeViewTarget']['y']&&_0x41ca11['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x41ca11['left']-0x3<=this['_activeViewTarget']['x']&&_0x41ca11['right']+0x3>=this['_activeViewTarget']['x'])||_0x451baa[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x2403ce,_0x37c6d8,_0x428ce3,_0x56b13f)=>{this['activeView']=_0x428ce3?this['_getViewForChange'](_0x428ce3):null,this['editor']['model']['change'](()=>{const _0x94016f=this['editor']['editing'];_0x56b13f&&(_0x56b13f['data']['isOnRoot']?_0x94016f['view']['change'](_0x3b01a8=>{_0x3b01a8['removeClass']('ck-revision-history-root--active',_0x94016f['view']['document']['getRoot'](_0x56b13f['rootName']));}):_0x94016f['reconvertMarker']('revision:'+_0x56b13f['id'])),_0x428ce3&&(_0x428ce3['data']['isOnRoot']?_0x94016f['view']['change'](_0x36c13c=>{_0x36c13c['addClass']('ck-revision-history-root--active',_0x94016f['view']['document']['getRoot'](_0x428ce3['rootName']));}):_0x94016f['reconvertMarker']('revision:'+_0x428ce3['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x223eba,_0x7fd6f0)=>{if(this['activeChange'])return;const _0x144135=this['_findChangeIdFromDomTarget'](_0x7fd6f0['target']),_0x39de63=this['_changeIdToChange']['get'](_0x144135);_0x39de63?(this['_activeViewTarget']={'x':_0x7fd6f0['domEvent']['x'],'y':_0x7fd6f0['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x39de63)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x560849,_0x3a00fc)=>{const _0x3cb41a=this['_findChangeIdFromDomTarget'](_0x3a00fc['target']),_0x59fc01=this['_changeIdToChange']['get'](_0x3cb41a);_0x59fc01?(this['_activeViewTarget']={'x':_0x3a00fc['domEvent']['x'],'y':_0x3a00fc['domEvent']['y']},_0x59fc01===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x59fc01):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0xac4b3c){do{const _0x12d3d3=_0xac4b3c['getAttribute']('data-change-id');if(_0x12d3d3)return _0x12d3d3;_0xac4b3c=_0xac4b3c['parent'];}while(_0xac4b3c);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x1cbd53=>{for(const _0x3bb7b8 of this['editor']['model']['markers'])_0x1cbd53['removeMarker'](_0x3bb7b8);});}};function kM(_0x489734,_0x2140c7){return(_0x49cb76,_0x254bbd,_0x11aa8e)=>{if(!_0x11aa8e['consumable']['test'](_0x254bbd['markerRange'],_0x49cb76['name']))return;const _0x2591ba=_0x254bbd['markerRange']['getWalker'](),_0x377026=_0x254bbd['markerRange']['start'],_0x479af5=_0x489734['model']['schema'];let _0x14aece=null,_0x5d895f=null,_0x161cce=!0x1,_0xdcddab=!0x1;for(const _0x7448b9 of _0x2591ba){const _0x4148bd=_0x7448b9['item'];_0x161cce=_0x161cce||_0x479af5['isContent'](_0x4148bd);const _0x405cfc=_0x11aa8e['mapper']['toViewElement'](_0x4148bd);if(_0x405cfc&&_0x405cfc['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x7448b9['type']&&(_0x479af5['isBlock'](_0x4148bd)&&!_0x479af5['isLimit'](_0x4148bd)&&(_0x4148bd['nextSibling']||_0x377026['isAtEnd']?_0x14aece&&_0x14aece['parent']==_0x4148bd||(_0x14aece=_0x4148bd,_0x1cdceb(_0x7448b9['previousPosition']),_0xdcddab=!0x0):_0x5d895f=_0x5d895f||_0x7448b9['previousPosition']));}function _0x1cdceb(_0x318ea8){const _0x3a36c1=_0x11aa8e['mapper']['toViewPosition'](_0x318ea8),_0x493c5e=_0x11aa8e['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x2140c7});_0x11aa8e['writer']['insert'](_0x3a36c1,_0x493c5e),_0x11aa8e['mapper']['bindElementToMarker'](_0x493c5e,_0x254bbd['markerName']);}_0x161cce||_0xdcddab||!_0x5d895f||_0x1cdceb(_0x5d895f);};}var xM=class extends _0x32be70{constructor(_0x4a5df9){super(_0x4a5df9);const _0x3241f0=_0x4a5df9['plugins']['get'](IM);this['affectsData']=!0x1,this['listenTo'](_0x3241f0,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x3241f0,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x238834=this['editor'],_0x312212=_0x238834['plugins']['get'](IM),_0x543307=_0x312212['isReady']?_0x312212['diff']['newRevisionId']:null;_0x238834['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x543307);}['refresh'](){const {isReady:_0x2be7a8,isEnabled:_0x177c1c,repository:_0x47d6c9,diff:_0x125933}=this['editor']['plugins']['get'](IM),_0x12084b=_0x125933&&_0x47d6c9['getLaterVisibleRevision'](_0x125933['newRevisionId']);this['isEnabled']=_0x2be7a8&&_0x177c1c&&Boolean(_0x12084b);}},CM=class extends _0x32be70{['_step'];constructor(_0x3993c1,{direction:_0x39cf1f}){super(_0x3993c1);const _0x5d51c0=_0x3993c1['plugins']['get'](IM);this['affectsData']=!0x1,this['_step']='forward'===_0x39cf1f?0x1:-0x1,this['listenTo'](_0x5d51c0,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x5d51c0,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x5d51c0,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x10b94d=this['editor'],_0x4f388e=_0x10b94d['plugins']['get'](IM),{isNavigationMode:_0x2dc1b5,currentChangeNumber:_0x3f3c97}=_0x4f388e;let _0x7e1355;if(_0x4f388e['activeChange']=_0x2dc1b5?_0x4f388e['diff']['changes']['get'](_0x3f3c97+this['_step']):_0x4f388e['diff']['changes']['first'],_0x4f388e['activeChange']['data']['isOnRoot'])_0x7e1355=_0x10b94d['editing']['view']['getDomRoot'](_0x4f388e['activeChange']['rootName']);else{const _0x22509c=_0x10b94d['model']['markers']['get']('revision:'+_0x4f388e['activeChange']['id']);_0x7e1355=fd(_0x10b94d['editing'],_0x22509c);}_0x38fdd1({'target':_0x7e1355,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x5de52b,currentChangeNumber:_0x10c736,numberOfChanges:_0x31b559,isReady:_0x218ad8,isEnabled:_0x3777ac}=this['editor']['plugins']['get'](IM);this['isEnabled']=!!(_0x3777ac&&_0x218ad8&&_0x31b559)&&(!_0x5de52b||(0x1===this['_step']?_0x10c736<_0x31b559-0x1:_0x10c736>0x0));}},RM=class extends _0x2df468{constructor(_0x17d5ed){super(_0x17d5ed);const _0x3230fd=this['bindTemplate'],_0x4ed167=new _0x47ddb0(_0x17d5ed),_0x4d9e1a=new _0x47ddb0(_0x17d5ed);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',(_0x2a70e8,_0x116653)=>_0x2a70e8&&_0x116653>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x1f9023,_0x2c1ebd,_0x36417b,_0x1c2182)=>{if(!_0x1f9023)return fM(_0x17d5ed,'Loading...');if(!_0x36417b)return fM(_0x17d5ed,'No\x20changes');const _0x1bf01a=fM(_0x17d5ed,'NUMBER_OF_CHANGES',_0x36417b);return _0x1c2182?fM(_0x17d5ed,'X_OF_Y_CHANGES',[_0x2c1ebd+0x1,_0x36417b]):_0x1bf01a;}),_0x4ed167['set']({'label':fM(_0x17d5ed,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':_0x156fe4}),_0x4d9e1a['set']({'label':fM(_0x17d5ed,'Show\x20next\x20change'),'tooltip':!0x0,'icon':_0x53a652}),_0x4ed167['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x4d9e1a['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x4ed167['on']('execute',()=>this['fire']('execute','backward')),_0x4d9e1a['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',_0x3230fd['if']('_isStatusLabelVisible','ck-hidden',_0x5cded3=>!_0x5cded3)]},'children':[{'text':_0x3230fd['to']('isNavigationMode',_0x10bb3c=>_0x10bb3c?fM(_0x17d5ed,'EDIT_X_OF_Y_REVISIONS')+':\x20':fM(_0x17d5ed,'Total')+':\x20')}]},{'text':_0x3230fd['to']('_statusText')}]},new _0x5cab06(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x4ed167,_0x4d9e1a]}]});}};const PM='ck-editor__editable__loading-overlay';var MM=class extends _0x36b920{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['show'](){const _0x221894=this['editor']['editing']['view'];_0x221894['change'](_0x1a5a72=>{for(const _0x429a31 of _0x221894['document']['roots'])_0x1a5a72['addClass'](PM,_0x429a31);});}['hide'](){const _0x4cf12d=this['editor']['editing']['view'];_0x4cf12d['change'](_0x1fcf33=>{for(const _0x333349 of _0x4cf12d['document']['roots'])_0x1fcf33['removeClass'](PM,_0x333349);});}},NM=class extends _0x36b920{static get['pluginName'](){return'RevisionViewerUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[IM,MM];}['init'](){const _0x5a69a4=this['editor'],_0x3357a3=_0x5a69a4['plugins']['get'](IM),_0x259aab=_0x5a69a4['plugins']['get'](MM);_0x5a69a4['ui']['componentFactory']['add']('exitToEditing',_0x2ce07e=>{const _0x5c6682=new _0x47ddb0(_0x2ce07e);return _0x5c6682['set']({'label':fM(_0x2ce07e,'Back\x20to\x20editing'),'icon':_0x5b2650,'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x5c6682,'execute',()=>{_0x5a69a4['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x5c6682;}),_0x5a69a4['ui']['componentFactory']['add']('restoreRevision',_0x2a4d5f=>{const _0x5afa0f=new _0x47ddb0(_0x2a4d5f);return _0x5afa0f['set']({'label':fM(_0x2a4d5f,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x5afa0f['bind']('isEnabled')['to'](_0x5a69a4['commands']['get']('restoreRevision')),this['listenTo'](_0x5afa0f,'execute',()=>_0x5a69a4['execute']('restoreRevision')),_0x5afa0f;}),_0x5a69a4['ui']['componentFactory']['add']('changesNavigation',_0x4a00f5=>{const _0x453d46=new RM(_0x4a00f5),_0x467d18=_0x5a69a4['commands']['get']('showPreviousChange'),_0x1ab19c=_0x5a69a4['commands']['get']('showNextChange');return _0x453d46['bind']('isBackwardNavigationEnabled')['to'](_0x467d18,'isEnabled'),_0x453d46['bind']('isForwardNavigationEnabled')['to'](_0x1ab19c,'isEnabled'),_0x453d46['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x3357a3),this['listenTo'](_0x453d46,'execute',(_0x495515,_0x378eef)=>{_0x5a69a4['execute']('forward'===_0x378eef?'showNextChange':'showPreviousChange');}),_0x453d46;}),_0x259aab['show'](),_0x3357a3['on']('change:isReady',(_0x30e017,_0x50fad8,_0x3d99fc)=>{_0x3d99fc?_0x259aab['hide']():_0x259aab['show']();});}},LM=class extends _0x339594{['_resizeObserver']=null;constructor(_0x1e6f3d,_0x58906a){super(_0x1e6f3d,_0x58906a);const _0x2a6dbf=this['bindTemplate'];this['set']({'label':fM(_0x1e6f3d,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=fM(_0x1e6f3d,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x2a6dbf['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new _0x5c4e05(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0xce20bf=this['fieldView']['element'];this['_tooltipString']=_0xce20bf['scrollWidth']>_0xce20bf['clientWidth']&&_0xce20bf['value']||'';}},$M=class extends _0x2df468{constructor(_0x3cd3ae,_0x302043,_0x7ab875){super(_0x3cd3ae);const _0x18110b=new _0x5902c2();_0x18110b['set']({'content':_0x32da73,'viewBox':'0\x200\x2011\x2010'});const _0x1fcd55=['ck','ck-revision-history-sidebar__revision-author'];_0x7ab875&&_0x1fcd55['push']('ck-revision-history-sidebar__revision-author_creator');const _0x57a51b=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':fM(_0x3cd3ae,_0x7ab875?'Revision\x20creator':'Revision\x20author')},'children':[_0x18110b,_0x302043['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x1fcd55},'children':_0x57a51b});}};function DM(_0x5d1a0d,_0x5596e0){const _0x4b04c3=_0x5d1a0d['bindTemplate'],_0x3de22e=_0x5d1a0d['locale'],_0x59f95e=_0x18eee9(_0x3de22e);_0x59f95e['panelPosition']='sw';const _0x673011=function(_0x221a6d,_0x20e98e){const _0x5982ea=function(_0x5c2904,_0x31dc15){const _0x40ee27=_0x5c2904['locale'],_0x4fce22={'Compare\x20against\x20selected':fM(_0x40ee27,'Compare\x20against\x20selected'),'Name\x20this\x20revision':fM(_0x40ee27,'Name\x20this\x20revision'),'Restore\x20this\x20revision':fM(_0x40ee27,'Restore\x20this\x20revision')};return _0x31dc15['map'](_0x674813=>{const _0xf1b22=_0x4fce22[_0x674813['name']];return _0xf1b22&&_0xf1b22!==_0x674813['name']&&(_0x674813['name']=_0xf1b22),_0x674813;});}(_0x221a6d,_0x20e98e),_0x4e080e=new _0x23ea50();for(const _0x4b4dcb of _0x5982ea){const _0x35de7e={'type':'button','model':new _0x30ba3c({'label':_0x4b4dcb['name'],'class':_0x4b4dcb['class'],'withText':!0x0,'role':'menuitem','_action':_0x4b4dcb['action']})};_0x35de7e['model']['bind']('isEnabled')['to'](_0x221a6d,'isActionsDropdownOpen',_0x28d3ee=>'function'!=typeof _0x4b4dcb['isEnabled']||(!_0x28d3ee||_0x4b4dcb['isEnabled'](_0x221a6d))),_0x4e080e['add'](_0x35de7e);}return _0x4e080e;}(_0x5d1a0d,_0x5596e0);return _0x5d1a0d['bind']('isActionsDropdownOpen')['to'](_0x59f95e,'isOpen'),_0x59f95e['buttonView']['set']({'label':fM(_0x3de22e,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x32e887}),_0x59f95e['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x4b04c3['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x4b04c3['to'](_0x3eb3b7=>_0x3eb3b7['stopPropagation']())}}),_0x59f95e['on']('execute',_0x26b410=>{_0x5d1a0d['isReady']&&'function'==typeof _0x26b410['source']['_action']&&_0x26b410['source']['_action'](_0x5d1a0d);}),ts(_0x59f95e,_0x673011,{'role':'menu'}),_0x59f95e['listenTo'](_0x5d1a0d,'change:isActionsDropdownOpen',(_0xf02ac1,_0x33b840,_0x4ce596)=>{if(_0x4ce596)for(const _0x263e93 of _0x59f95e['listView']['items']){const _0x3a5297=_0x263e93['children']['first'],_0x54e4ca=_0x5596e0['find'](_0x1ad8c1=>_0x1ad8c1['action']===_0x3a5297['_action'])['isVisible'];_0x263e93['isVisible']=void 0x0===_0x54e4ca||_0x54e4ca(_0x5d1a0d);}}),_0x59f95e;}const QM=/* #__PURE__ -- @preserve */
wd(_0x2df468);var jM=class extends QM{['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x1100e1,_0x2626f3,_0x5b17b,_0x1b908e){super(_0x1100e1);const _0x1116dd=this['bindTemplate'],_0x2cc0d6=function(_0xce28d3,_0x625780){const _0x5ee805=Array['from'](_0x625780['authors'])['filter'](_0x130ef1=>_0x130ef1!=_0x625780['creator']);return _0x625780['creator']&&_0x5ee805['unshift'](_0x625780['creator']),_0x5ee805['map'](_0x4a6f98=>new $M(_0xce28d3,_0x4a6f98,_0x4a6f98==_0x625780['creator']));}(_0x1100e1,_0x2626f3);this['id']=_0x2626f3['id'],this['_revision']=_0x2626f3,this['_requireRevisionName']=_0x1b908e,this['bind']('name','createdAt')['to'](_0x2626f3),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x48b374=>{return _0x192359=_0x1100e1['uiLanguage'],(_0x7f578f=_0x48b374)['toLocaleDateString'](_0x192359,{'month':'long','day':'numeric'})+',\x20'+_0x7f578f['toLocaleTimeString'](_0x192359,{'hour':'numeric','minute':'numeric'});var _0x192359,_0x7f578f;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new LM(_0x1100e1,_0x53bfdf),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x1aa6fd=>_0x1aa6fd||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x43104f,_0x34a7f5)=>_0x43104f&&_0x34a7f5),this['revisionActionsView']=_0x5b17b&&_0x5b17b['length']?DM(this,_0x5b17b):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x1116dd['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x1116dd['if']('isEnabled','ck-disabled',_0x3094c7=>!_0x3094c7),_0x1116dd['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x1116dd['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x1116dd['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':_0x1116dd['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':_0x2cc0d6}]},this['revisionActionsView']],'on':{'click':_0x1116dd['to'](_0x382f0a=>{_0x382f0a['srcElement']['closest']('.ck-confirm-view')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0xd3f640=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0xd3f640,'change',()=>{this['_requireRevisionName']&&!_0xd3f640['value']||this['fire']('setName',{'id':this['id'],'name':_0xd3f640['value']}),_0xd3f640['value']||(_0xd3f640['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}};function UM(_0xb6a721,_0x569b3c){const _0xafafd2=hd['fromJSDate'](_0xb6a721)['setLocale'](_0x569b3c),_0x1cd18b=hd['local'](),_0x23b40e=_0x1cd18b['minus']({'days':0x1})['startOf']('day');let _0x3abdea,_0x1fa626;return _0xafafd2['hasSame'](_0x1cd18b,'day')?(_0x3abdea=_0xafafd2['startOf']('day')['toJSDate'](),_0x1fa626=_0xafafd2['toRelativeCalendar']()):_0xafafd2['hasSame'](_0x23b40e,'day')?(_0x3abdea=_0x23b40e['toJSDate'](),_0x1fa626=_0xafafd2['toRelativeCalendar']()):_0xafafd2['hasSame'](_0x1cd18b,'week')?(_0x3abdea=_0xafafd2['startOf']('week')['toJSDate'](),_0x1fa626=_0xafafd2['weekdayLong']||''):_0xafafd2['hasSame'](_0x1cd18b,'year')?(_0x3abdea=_0xafafd2['startOf']('month')['toJSDate'](),_0x1fa626=_0xafafd2['monthLong']||''):(_0x3abdea=_0xafafd2['startOf']('year')['toJSDate'](),_0x1fa626=String(_0xafafd2['year'])),{'startDate':_0x3abdea,'localizedPeriodName':_0x1fa626};}var VM=class extends _0x2df468{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x31dade,_0x48baa6,_0x3a3292,_0x118093){super(_0x31dade);const _0x152fad=UM(_0x48baa6,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x48baa6,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x3a3292,this['_requireRevisionName']=_0x118093,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':_0x152fad}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x8c139d){const _0x1ebd08=new jM(this['locale'],_0x8c139d,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x1ebd08);}['removeRevision'](_0x2f262e){const _0x3524fb=this['revisionViews']['find'](_0x3ab71e=>_0x3ab71e['id']===_0x2f262e['id']);this['revisionViews']['remove'](_0x3524fb);}},BM=class extends _0x2df468{constructor(_0x456244){super(_0x456244);const _0xff2b=new _0x5902c2();_0xff2b['content']=dt,this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0xff2b,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[fM(_0x456244,'Revision\x20history')]}]});}},FM=class extends _0x2df468{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x30b110,_0xc1190,_0x38a312,_0x24e6e6){super(_0x30b110);const _0x3d9593=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0xc1190,this['_revisionActions']=_0x38a312,this['_requireRevisionName']=_0x24e6e6,this['on']('select',(_0x14fbde,_0x297e79)=>{this['fire']('revisionSelected',_0x297e79);}),this['on']('setName',(_0x558a68,_0x510f5e)=>{this['fire']('revisionSetName',_0x510f5e);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new BM(_0x30b110),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x3d9593['if']('isEnabled','ck-disabled',_0x635874=>!_0x635874)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x442eb1 of this['_revisions'])this['_addRevision'](_0x442eb1);this['_revisions']['on']('add',(_0x3cfbe7,_0x2b828f)=>{this['_addRevision'](_0x2b828f);}),this['_revisions']['on']('remove',(_0x4a0300,_0x57787e)=>{this['_removeRevision'](_0x57787e);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x5cc80b=>_0x5cc80b['revisionViews']['map'](_0x9b142=>_0x9b142))['flat']();}['selectRevision'](_0x33aa8b){for(const _0x1180ef of this['revisionViews'])_0x33aa8b&&_0x33aa8b['id']===_0x1180ef['id']?_0x1180ef['select']():_0x1180ef['deselect']();}['highlightRevisions'](_0x1195b9){for(const _0x24acb4 of this['revisionViews'])_0x1195b9['some'](({id:_0x32f38b})=>_0x32f38b===_0x24acb4['id'])?_0x24acb4['highlight']():_0x24acb4['unhighlight']();}['_addRevision'](_0xdbe908){const _0x48e7b0=UM(_0xdbe908['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x170ea1=this['_getTimePeriodViewByStartDate'](_0x48e7b0);_0x170ea1||(_0x170ea1=new VM(this['locale'],_0x48e7b0,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x170ea1)),_0x170ea1['addRevision'](_0xdbe908);}['_removeRevision'](_0x1df000){const _0x5b987f=UM(_0x1df000['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x5b987f)['removeRevision'](_0x1df000);}['_getTimePeriodViewByStartDate'](_0x22b96d){return this['timePeriodViews']['find'](_0x4e75d5=>_0x4e75d5['startDate']['getTime']()===_0x22b96d['getTime']());}},HM=class RevisionsSidebar extends _0x36b920{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
((()=>['compareAgainstSelected','restoreRevision','nameRevision'])());static ['availableRevisionActions']=/* #__PURE__ -- @preserve */
ZM();static get['pluginName'](){return'RevisionsSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[IM];}constructor(_0x2bdaa7){super(_0x2bdaa7),this['_revisionViewer']=_0x2bdaa7['plugins']['get'](IM),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x1c8196=this['_revisionsRepository']['_revisions'],_0x5ef137=this['_createRevisionActions'](),_0x400668=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new FM(this['editor']['locale'],_0x1c8196,_0x5ef137,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',(_0x590c73,_0x5b7743)=>{_0x5b7743['revisionViews']['on']('add',(_0x5daf23,_0x14360e)=>{_0x14360e['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)),_0x400668['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x4fb3d9=this['_revisionsRepository']['getRevision'](0x0);if(_0x4fb3d9){const _0x30b244=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4fb3d9['id']);this['_revisionViewer']['compare'](_0x4fb3d9,_0x30b244);}}['_handleRevisionSelected'](_0x20df64,_0xeddc36){const _0x4a7073=this['_revisionsRepository']['getRevision'](_0xeddc36['id']),_0x4aa840=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4a7073['id']);this['_revisionViewer']['compare'](_0x4a7073,_0x4aa840);}['_handleRevisionSetName'](_0x322819,_0x7edffb){this['_revisionsRepository']['getRevision'](_0x7edffb['id'])['setName'](_0x7edffb['name']);}['_handleDiffChange'](_0x7d61e3,_0x828265,_0x227f37){const _0x4a61a9=this['_revisionsRepository']['getRevisionsInDiff'](_0x227f37);_0x4a61a9['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x4a61a9),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x4a61a9[0x0]));}['_createRevisionActions'](){const _0x3424c7=this['editor'],_0xe895dc=RevisionsSidebar['availableRevisionActions'],_0x3cfb87=_0x3424c7['config']['get']('revisionHistory.revisionActions')||RevisionsSidebar['defaultRevisionActions'];if(_0x3cfb87['length'])return _0x3cfb87['map'](_0x2221ee=>{const _0xa8fd11='string'==typeof _0x2221ee?Object['assign']({},_0xe895dc[_0x2221ee]):_0x2221ee;return _0xa8fd11['action']=_0xa8fd11['action']['bind'](this,_0x3424c7),_0xa8fd11['isVisible']&&(_0xa8fd11['isVisible']=_0xa8fd11['isVisible']['bind'](this,_0x3424c7)),_0xa8fd11;});}};function ZM(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x924dec},_0x29f644)=>{const _0x471f26=_0x924dec['get'](IM),_0x5c1855=_0x471f26['repository'];let _0x413ca3=_0x471f26['diff']['newRevisionId'],_0x2fe8fb=_0x29f644['id'];_0x5c1855['getIndex'](_0x413ca3)>_0x5c1855['getIndex'](_0x2fe8fb)&&([_0x413ca3,_0x2fe8fb]=[_0x2fe8fb,_0x413ca3]),_0x471f26['compare'](_0x413ca3,_0x2fe8fb);},'isVisible':({plugins:_0x592741},_0x1be760)=>{const _0xbfca86=_0x592741['get'](IM);return!(_0xbfca86['repository']['getRevisionsInDiff'](_0xbfca86['diff'])['length']>0x2)&&!_0x1be760['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x55d435,{id:_0x13eddc})=>{_0x55d435['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x13eddc);},'isVisible':({plugins:_0x4aa48f},_0x59ca6e)=>!!_0x4aa48f['get'](IM)['repository']['getLaterVisibleRevision'](_0x59ca6e['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x384874},{id:_0x2a46b8,revisionNameView:_0x2918dd})=>{const _0x2d1dfe=_0x384874['get'](IM),_0x1dfe24=_0x2d1dfe['repository']['getEarlierVisibleRevision'](_0x2a46b8);_0x2d1dfe['compare'](_0x2a46b8,_0x1dfe24),_0x2918dd['focus'](),_0x2918dd['fieldView']['select']();}}};}var GM=class extends _0x394222{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x2d7490,_0x280c96){super(_0x2d7490),this['_view']=_0x280c96,this['_toolbarConfig']=_0x359d13(_0x2d7490['config']['get']('toolbar')),this['_elementReplacer']=new _0x56e1a4();}get['element'](){return this['view']['element'];}['init'](_0x141a8f){const _0x3d7c7a=this['editor'],_0x17e0ba=this['view'],_0x19920a=_0x3d7c7a['editing']['view'],_0xbbf7dc=_0x17e0ba['editable'];_0xbbf7dc['name']=_0x19920a['document']['getRoot']()['rootName'],_0x17e0ba['render']();const _0x2f8024=_0xbbf7dc['element'];this['setEditableElement'](_0xbbf7dc['name'],_0x2f8024),_0x17e0ba['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x19920a['attachDomRoot'](_0x2f8024),this['_elementReplacer']['replace'](_0x141a8f,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x54e586=this['view'],_0x3dc54b=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x3dc54b['detachDomRoot'](_0x54e586['editable']['name']),_0x54e586['destroy']();}['_initToolbar'](){const _0xe7c9ea=this['view'];_0xe7c9ea['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0xe7c9ea['stickyPanel']['limiterElement']=_0xe7c9ea['element'],_0xe7c9ea['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x1132a2})=>_0x1132a2),_0xe7c9ea['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0xe7c9ea['toolbar']);}},XM=class extends _0x235624{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x2e0802,_0x5e6e46,_0x491cfe={}){super(_0x2e0802),this['stickyPanel']=new _0x3fa85d(_0x2e0802),this['toolbar']=new _0x2c86da(_0x2e0802,{'shouldGroupWhenFull':_0x491cfe['shouldToolbarGroupWhenFull']}),this['_editable']=new _0x1fdd0b(_0x2e0802,_0x5e6e46);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}};const qM=/* #__PURE__ -- @preserve */
_0x3a01f2(_0x181fa1);var WM=class extends qM{['_ui'];get['ui'](){return this['_ui'];}constructor(_0x39a06c,_0x3b3466){super(_0x3b3466),this['sourceElement']=_0x39a06c,this['model']['document']['createRoot']();const _0x40dff1=new XM(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new GM(this,_0x40dff1);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x299149,_0x331a72){const _0x5bb632=new this(_0x299149,_0x331a72);return await _0x5bb632['initPlugins'](),await _0x5bb632['ui']['init'](_0x299149),await _0x5bb632['data']['init'](_0x5bb632['config']['get']('initialData')||''),_0x5bb632['fire']('ready'),_0x5bb632;}};const zM=['RevisionHistoryUI','RestrictedEditingMode','AIChat','AIReviewMode','AIBalloon','AIQuickActions','AIActions','AIChatShortcuts','AITranslate'];var YM=class extends _0x36b920{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4299b2){super(_0x4299b2),this['result']='end',_0x4299b2['editing']['view']['_overlayModeHint']='auto',_0x4299b2['_sendUsageRequest']=()=>window['Promise']['resolve']({'status':'ok'});}},KM=class extends _0x36b920{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[mM,_M];}constructor(_0x456ba9){if(super(_0x456ba9),!this['editor']['config']['get']('revisionHistory'))throw new _0x5b5a95('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['set']('isRevisionViewerOpen',!0x1),this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x4f1e72=>this['_showRevisionViewer']({..._0x4f1e72,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x2d011d=>this['_closeRevisionViewer'](_0x2d011d)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x2dedee=>this['_restoreRevision'](_0x2dedee)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0xcedbc7){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0xcedbc7;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x10c6ed){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x10c6ed);}['getRevision'](_0x120d67){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x120d67);}['getRevisions'](_0x43b2f7){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x43b2f7||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x15d763=this['editor'],_0x72ac73=kd(_0x15d763,zM),_0x50c9d6=_0x15d763['plugins']['get']('RevisionTracker'),_0x4e49d8=_0x15d763['plugins']['get'](ha)['users'];return _0x72ac73['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x72ac73['lazyRoots'],(_0x72ac73['plugins']['push'](YM,IM,NM,class RevisionViewerInit extends _0x36b920{static get['requires'](){return[IM,ha];}['init'](){const _0x534e09=this['editor']['plugins']['get'](ha);for(const _0x2c36f5 of _0x4e49d8)_0x2c36f5['isAnonymous']||_0x534e09['getUser'](_0x2c36f5['id'])||_0x534e09['addUser'](_0x2c36f5);const _0x49d46a=_0x50c9d6['repository']['getRevisions']();let _0x41511c=null;const _0x2b49f0=this['editor']['plugins']['get']('RevisionViewer');_0x2b49f0['adapter']=_0x50c9d6['adapter'],_0x2b49f0['bind']('isEnabled')['to'](_0x50c9d6),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x15d763,'isReadOnly',_0x290402=>!_0x290402);for(const _0x427ac0 of _0x49d46a){const _0x5d6ec6=null===_0x427ac0['creator'];if(_0x5d6ec6&&_0x427ac0['toVersion']===_0x427ac0['fromVersion'])continue;const _0x3344ba=_0x427ac0['toJSON']();_0x2b49f0['addRevisionData'](_0x3344ba,(_0x33dc1f,_0x45d455,_0xc0a260)=>{if(_0x5d6ec6){if(_0x41511c)_0x41511c['_update'](_0x33dc1f,_0x45d455);else{if(!_0x45d455){const _0x3752b4=_0xc0a260['toJSON']();_0x3752b4['id']=_0x10825a(),_0x50c9d6['saveRevision'](_0x3752b4,_0xc0a260['toVersion'])['then'](_0x1358d5=>{_0x41511c=_0x1358d5;});}}}else _0x427ac0['_update'](_0x33dc1f,_0x45d455);});}}},HM),_0x72ac73);}['_enhanceShowRevisionViewerCallback'](){const _0x2c185b=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x4ac289=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')?await this['editor']['plugins']['get']('Autosave')['save']():await _0x4ac289['update'](),this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x4f6727=this['editor']['plugins']['get']('Dialog');_0x4f6727['isOpen']&&_0x4f6727['hide']();}if(this['editor']['plugins']['has']('AITabs')){const _0x196e36=this['editor']['plugins']['get']('AITabs')['view']['panelViews'];for(const _0x30a23e of _0x196e36)_0x30a23e['class']=_0x30a23e['class']?_0x30a23e['class']+'\x20ck-tab-panel_disabled':'ck-tab-panel_disabled';if(this['editor']['plugins']['has']('AIChat')){const _0x523ed4=document['querySelector']('.ck-ai-chat__prompt-input\x20.ck-textarea');_0x523ed4&&_0x523ed4['setAttribute']('tabindex','-1');}if(this['editor']['plugins']['has']('AIChatHistory')){const _0x34b968=document['querySelector']('.ck-ai-chat-history\x20.ck-input');_0x34b968&&_0x34b968['setAttribute']('tabindex','-1');}}return _0x2c185b(this['_getRevisionViewerEditorConfig']())['then'](_0x3e5b9a=>(this['_viewerEditor']=_0x3e5b9a,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'),_0x3e5b9a))['catch'](_0x282c64=>(console['error'](_0x282c64),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x524a55=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 _0x4c1777=this['editor']['plugins']['get']('AITabs')['view']['panelViews'];for(const _0x53df7b of _0x4c1777)_0x53df7b['class']='ck-tab-panel_disabled'===_0x53df7b['class']?'':_0x53df7b['class']['replace']('\x20ck-tab-panel_disabled','');if(this['editor']['plugins']['has']('AIChat')){const _0x35cca6=document['querySelector']('.ck-ai-chat__prompt-input\x20.ck-textarea');_0x35cca6&&_0x35cca6['removeAttribute']('tabindex');}if(this['editor']['plugins']['has']('AIChatHistory')){const _0x20100e=document['querySelector']('.ck-ai-chat-history\x20.ck-input');_0x20100e&&_0x20100e['removeAttribute']('tabindex');}}return this['_viewerEditor']['plugins']['get']('RevisionViewer')['_cleanUp'](),_0x524a55(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0xda7dd5=this['editor']['plugins']['get']('Annotations');_0xda7dd5['refreshVisibility'](),_0xda7dd5['refreshPositioning']();}});});}['_showRevisionViewer'](_0x24f807){const _0x4fb7f9=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x416e4e=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x413d49=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return WM['create'](_0x413d49,_0x24f807)['then'](_0x593150=>(_0x416e4e['style']['display']='block',_0x4fb7f9['style']['display']='none',this['isRevisionViewerOpen']=!0x0,_0x593150));}['_closeRevisionViewer'](_0x562779){const _0x8fc310=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x8fc310['style']['display']='',this['isRevisionViewerOpen']=!0x1,_0x562779['destroy']();}async['_restoreRevision'](_0x3cbd79){const _0x312ed8=this['editor'],_0xf29170=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x591616=_0x312ed8['plugins']['get']('RevisionTracker'),_0x418a13=_0x312ed8['plugins']['get']('RevisionHistoryUtils'),_0x9667cf=_0xf29170['repository']['getRevision'](_0x3cbd79);let _0x2dc92b,_0x4a8847,_0x2f9526;try{await _0x418a13['loadRevisionData'](_0x9667cf,this['adapter']),_0x2dc92b=_0x418a13['getRevisionDocumentData'](_0x9667cf),_0x4a8847=_0x418a13['getRevisionRootsAttributes'](_0x9667cf);}catch(_0x4628f3){return void console['error'](_0x4628f3);}_0x312ed8['model']['change'](_0x3219a7=>{for(const _0x2207c2 of Array['from'](_0x312ed8['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x3219a7['removeMarker'](_0x2207c2);}),_0xf29170['isReady']=!0x1,_0x312ed8['model']['enqueueChange'](_0x5330df=>{_0x5330df['setSelection'](null),_0x5330df['removeSelectionAttribute'](_0x312ed8['model']['document']['selection']['getAttributeKeys']());const _0x451b19=Object['keys'](_0x2dc92b);for(const _0x51ce32 of _0x312ed8['model']['document']['roots'])'$graveyard'!=_0x51ce32['rootName']&&_0x51ce32['isAttached']()&&!_0x451b19['includes'](_0x51ce32['rootName'])&&_0x5330df['detachRoot'](_0x51ce32);for(const _0x3a3b0a of _0x451b19){let _0x193d62=_0x312ed8['model']['document']['getRoot'](_0x3a3b0a);if(!_0x193d62||!_0x193d62['isAttached']()){const _0x399fe6=_0x9667cf['diffData']?.[_0x3a3b0a]?.['rootElementName']||'$root';_0x193d62=_0x5330df['addRoot'](_0x3a3b0a,_0x399fe6);}const _0x2d36c2=_0x4a8847[_0x3a3b0a],_0x26d10f=Object['keys'](_0x2d36c2),_0xea535b=_0x2dc92b[_0x3a3b0a];for(const _0x5bca50 of _0x193d62['getAttributeKeys']())_0x26d10f['includes'](_0x5bca50)||_0x5330df['removeAttribute'](_0x5bca50,_0x193d62);for(const _0x484d7a of _0x26d10f)_0x5330df['setAttribute'](_0x484d7a,_0x4a8847[_0x3a3b0a][_0x484d7a],_0x193d62);_0x5330df['remove'](_0x5330df['createRangeIn'](_0x193d62)),_0x5330df['insert'](_0x312ed8['data']['parse'](_0xea535b,_0x193d62),_0x193d62,0x0);}});const _0x35fdca=fM(_0x312ed8['locale'],'Restored');if(_0x9667cf['name'])_0x2f9526=-0x1==_0x9667cf['name']['indexOf'](_0x35fdca)?_0x35fdca+':\x20'+_0x9667cf['name']:_0x9667cf['name'];else _0x2f9526=_0x35fdca+':\x20'+(_0x9667cf['createdAt']['toLocaleDateString'](_0x312ed8['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x9667cf['createdAt']['toLocaleTimeString'](_0x312ed8['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x591616['saveRevision']({'name':_0x2f9526}),_0xf29170['isReady']=!0x0,_0x312ed8['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}},JM=class CloudServicesRevisionHistoryAdapter extends _0x36b920{static ['RevisionHistoryService']=/* #__PURE__ -- @preserve */
((()=>ax)());['_lastRequestId'];['_revisionTracker'];['_revisionHistoryService'];['_oldOffset'];static get['requires'](){return[nC,RC,KM,rC,ha];}static get['pluginName'](){return'CloudServicesRevisionHistoryAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x378cfd){super(_0x378cfd);const _0x2d543a=this['editor']['config']['get']('collaboration.channelId');this['_lastRequestId']=null,this['_revisionTracker']=this['editor']['plugins']['get']('RevisionTracker'),this['_revisionHistoryService']=new CloudServicesRevisionHistoryAdapter['RevisionHistoryService'](_0x2d543a);}async['init'](){const _0x2259f3=this['editor']['plugins']['get'](RC),_0x1034b7=_0x2259f3['serverHistory'],_0x1f5763=this['editor']['plugins']['get'](nC);this['_revisionTracker']['setSource']({'history':_0x1034b7,'getLatestVersion':()=>this['_getLatestVersion'](),'getCurrentRevisionId':()=>_0x2259f3['sessionId']});const _0x144ae5=this['editor']['config']['get']('cloudServices.bundleVersion')||_0x211424,_0x55dd65=await zk['isBundleUploaded'](_0x1f5763['connection'],_0x144ae5);this['editor']['plugins']['get'](KM)['adapter']={'getRevision':async({revisionId:_0x512ca9})=>(await this['_waitForServiceReady'](),await this['_revisionHistoryService']['getRevision'](_0x512ca9)),'updateRevisions':async _0x44bd22=>{await this['_waitForServiceReady']();const _0x4f9230=this['_revisionTracker']['currentRevision'];if(_0x55dd65&&0x1===_0x44bd22['length']&&_0x44bd22[0x0]['id']===_0x4f9230['id'])return _0x44bd22;for(const _0x5ec206 of _0x44bd22)_0x5ec206['id']===_0x4f9230['id']&&(_0x5ec206['isEmptyCurrent']=_0x5ec206['fromVersion']===_0x5ec206['toVersion']);return this['_revisionHistoryService']['updateRevisions'](_0x44bd22,this['_lastRequestId'])['then'](_0x12eb86=>(this['_lastRequestId']=_0x12eb86,_0x44bd22))['catch'](_0x50f3e0=>{if(tN(_0x50f3e0)||'400'===_0x50f3e0['code']&&void 0x0!==_0x50f3e0['data']['wrongRequestId']){for(const _0x449dcf of _0x44bd22)this['_revisionTracker']['repository']['getRevision'](_0x449dcf['id'])&&this['_revisionTracker']['_bufferUpdate'](_0x449dcf['id'],_0x449dcf,!0x1);if(tN(_0x50f3e0)&&'destroyed'!==this['editor']['state'])throw _0x50f3e0;return _0x44bd22;}throw _0x50f3e0;});}},this['listenTo'](this['_revisionHistoryService'],'revisionsUpdated',(_0x17148e,{revisionsData:_0x51ec7a,requestId:_0x20856b})=>{Math['max'](..._0x51ec7a['map'](_0x106a54=>_0x106a54['toVersion']))>this['_getLatestVersionFromServerOperations']()-0x1?this['_getLatestVersion']()['then'](()=>{this['_handleRevisionsUpdate'](_0x51ec7a,_0x20856b);}):this['_handleRevisionsUpdate'](_0x51ec7a,_0x20856b);}),this['set']('_isServiceConnected',!0x1),this['listenTo'](this['_revisionHistoryService'],'connected',()=>{this['_isServiceConnected']=!0x0;}),this['listenTo'](this['_revisionHistoryService'],'disconnected',()=>{this['_isServiceConnected']=!0x1,'connected'===_0x1f5763['connection']?.['state']&&(_0x1f5763['removeFromReconnectionStack'](this),this['stopListening'](this['_revisionHistoryService']));});const {revisions:_0x15c881,requestId:_0x191485}=await this['_revisionHistoryService']['connect'](_0x1f5763['connection']);_0x1f5763['addToReconnectionStack'](this),this['_lastRequestId']=_0x191485,await this['_fetchMissingUsers'](_0x15c881);for(const _0x1cb21f of _0x15c881)this['_revisionTracker']['addRevisionData'](_0x1cb21f);this['listenTo'](_0x2259f3,'change:_isConnected',(_0x4904ac,_0x5764a9,_0x4846ac)=>{_0x4846ac&&(this['_oldOffset']=_0x2259f3['_offset'],_0x4904ac['off']());}),this['_revisionTracker']['bind']('isEnabled')['to'](this,'_isServiceConnected');}async['reconnect'](){const _0x57300b=this['editor']['plugins']['get'](nC),_0x3fcd9d=this['editor']['plugins']['get'](RC),_0x13c125=async()=>{const _0x159524=this['_revisionTracker']['currentRevision'],_0x53a31a=_0x159524['id'],_0x5d4ab4=_0x53a31a!==_0x3fcd9d['sessionId'];if(_0x5d4ab4){const _0x45ecf3=_0x3fcd9d['_offset']-this['_oldOffset'],_0x50be00=this['_getLatestVersionFromServerOperations']();if(this['_revisionTracker']['_revisionDataBuilder']['reInit'](),_0x159524['toVersion']+_0x45ecf3!==_0x50be00){const _0x1e4c30=_0x159524['fromVersion']+_0x45ecf3,_0x217611=this['editor']['plugins']['get'](ha),_0x2835b6=this['_revisionTracker']['buildRevisionData']({'revision':_0x159524,'from':_0x1e4c30,'to':_0x50be00});_0x2835b6['id']=_0x159524['id'];const _0x25bc16=_0x2835b6['authorsIds']['map'](_0x1d6b45=>_0x217611['getUser'](_0x1d6b45));_0x159524['_update']({..._0x2835b6,'authors':_0x25bc16},!0x0),this['_revisionTracker']['_bufferUpdate'](_0x159524['id'],_0x2835b6,!0x0);}this['_revisionTracker']['_startingVersion']=_0x50be00,_0x159524['toVersion']!==_0x159524['fromVersion']||this['_revisionTracker']['_bufferedUpdates']['has'](_0x53a31a)||this['_revisionTracker']['repository']['_revisions']['remove'](_0x53a31a),this['_revisionTracker']['_createCurrentRevision'](_0x50be00);}const {revisions:_0x46cd5e,requestId:_0x284edf}=await this['_revisionHistoryService']['reconnect'](_0x57300b['connection'],this['_lastRequestId']);_0x5d4ab4&&_0x46cd5e['length']>0x0?_0x3fcd9d['_handleReconnectionError']():(await this['_fetchMissingUsers'](_0x46cd5e),this['_handleRevisionsUpdate'](_0x46cd5e,_0x284edf),this['_revisionTracker']['sendBufferedUpdates']());};return _0x3fcd9d['_isConnected']?_0x13c125():new Promise((_0xb9948a,_0x473df4)=>{_0x3fcd9d['once']('change:_isConnected',()=>{_0x13c125()['then'](_0xb9948a)['catch'](_0x473df4);});});}['destroy'](){super['destroy']();}async['_waitForServiceReady'](){this['_revisionHistoryService']['isConnected']||await new Promise(_0x488881=>{this['listenTo'](this['_revisionHistoryService'],'connected',_0x2113d6=>{_0x2113d6['off'](),_0x488881();});});}['_getLatestVersionFromServerOperations'](){const _0x676c27=this['editor']['plugins']['get'](RC)['serverHistory']['getOperations']()['reverse']();for(const _0x6c70e0 of _0x676c27)if('marker'!==_0x6c70e0['type']||_0x6c70e0['affectsData'])return _0x6c70e0['baseVersion']+0x1;}['_getLatestVersion'](){const _0x37e822=this['editor']['plugins']['get'](RC);return new Promise(_0xb73641=>{_0x37e822['_isPendingUpdate']?_0x37e822['once']('change:_isPendingUpdate',()=>{_0xb73641(this['_getLatestVersionFromServerOperations']());}):_0xb73641(this['_getLatestVersionFromServerOperations']());});}['_handleRevisionsUpdate'](_0xca6855,_0x2556e6){const _0x456265=this['_revisionTracker']['repository'];this['_lastRequestId']=_0x2556e6;for(const _0x1f6ea6 of _0xca6855){const _0x2808e9=_0x456265['getRevision'](_0x1f6ea6['id']);if(_0x2808e9){if((_0x1f6ea6['fromVersion']||_0x1f6ea6['toVersion'])&&(_0x1f6ea6['diffData']=null),_0x2808e9===this['_revisionTracker']['currentRevision']){const _0x254e37=Math['max'](_0x2808e9['toVersion'],_0x1f6ea6['toVersion']),_0x947296=Math['max'](_0x2808e9['fromVersion'],_0x1f6ea6['fromVersion']);let _0x4a6f3c;_0x2808e9['toVersion']===_0x1f6ea6['toVersion']&&_0x2808e9['fromVersion']===_0x1f6ea6['fromVersion']?(_0x4a6f3c=!0x0,this['_preventResendingRevisionData'](_0x1f6ea6)):_0x1f6ea6['toVersion']===_0x254e37&&_0x1f6ea6['fromVersion']===_0x947296?_0x4a6f3c=!0x1:(_0x2808e9['toVersion']===_0x254e37&&_0x2808e9['fromVersion']===_0x947296||this['_fixRevision']({'revision':_0x2808e9,'from':_0x947296,'to':_0x254e37}),_0x4a6f3c=!0x0),_0x4a6f3c&&(delete _0x1f6ea6['fromVersion'],delete _0x1f6ea6['toVersion'],delete _0x1f6ea6['diffData'],delete _0x1f6ea6['createdAt'],delete _0x1f6ea6['authorsIds']);}this['_revisionTracker']['setRevisionData'](_0x1f6ea6),this['_preventResendingRevisionData'](_0x1f6ea6);}else this['_revisionTracker']['addRevisionData'](_0x1f6ea6);}const _0x4428fb=_0x456265['getRevisions']();_0x4428fb['reverse']();for(let _0x587c1a=0x0;_0x587c1a<_0x4428fb['length']-0x1;_0x587c1a++){const _0x37da18=_0x4428fb[_0x587c1a],_0x51a0ae=_0x4428fb[_0x587c1a+0x1];if(_0x37da18['fromVersion']<_0x51a0ae['toVersion']){const _0x49412c=_0x51a0ae['toVersion'],_0x42f2dd=Math['max'](_0x49412c,_0x37da18['toVersion']);this['_fixRevision']({'revision':_0x37da18,'from':_0x49412c,'to':_0x42f2dd});}}}['_fixRevision']({revision:_0x5e908e,from:_0x47f81b,to:_0x48c52f}={}){const _0x31433c=this['editor']['plugins']['get'](ha),_0x16298f=this['_revisionTracker']['buildRevisionData']({'revision':_0x5e908e,'from':_0x47f81b,'to':_0x48c52f});_0x16298f['authors']=_0x16298f['authorsIds']['map'](_0x5d174d=>_0x31433c['getUser'](_0x5d174d)),_0x5e908e['_update'](_0x16298f);}['_preventResendingRevisionData'](_0x568da7){const _0x1aa6f0={};_0x1aa6f0['id']=_0x568da7['id'];for(const _0x494e35 of Object['keys'](_0x568da7))'id'!==_0x494e35&&(_0x1aa6f0[_0x494e35]=void 0x0);this['_revisionTracker']['_bufferUpdate'](_0x1aa6f0['id'],_0x1aa6f0,!0x0);}async['_fetchMissingUsers'](_0x5aaf65){const _0x209fc2=this['editor']['plugins']['get'](ha),{connection:_0x4d4db2}=this['editor']['plugins']['get'](nC),_0x2d01aa=new Set();for(const _0x1e2dd2 of _0x5aaf65){for(const _0x5df7c9 of _0x1e2dd2['authorsIds'])_0xa45aea(_0x5df7c9);_0x1e2dd2['creatorId']&&_0xa45aea(_0x1e2dd2['creatorId']);}if(0x0===_0x2d01aa['size'])return;const _0x5d4bbf=await pk['getMany'](_0x4d4db2,Array['from'](_0x2d01aa));for(const _0x4d8325 of _0x5d4bbf)_0x209fc2['getUser'](_0x4d8325['id'])||_0x209fc2['addUser'](_0x4d8325);function _0xa45aea(_0x4048be){_0x209fc2['getUser'](_0x4048be)||_0x2d01aa['add'](_0x4048be);}}};function tN(_0x58027f){return _0x58027f['message']['startsWith']('cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.')||_0x58027f['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x58027f['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}var eN=class extends _0x36b920{static get['requires'](){return[KM,JM,LC];}static get['pluginName'](){return'RealTimeCollaborativeRevisionHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}},iN=class extends _0x2df468{['_collapseAt'];constructor(_0x2bd6e7,_0x1d7507=0x6){super(_0x2bd6e7);const _0x8710f3=this['bindTemplate'];this['set']('isHidden',!0x0),this['set']('usersCount',0x0),this['_collapseAt']=_0x1d7507,this['bind']('isHidden')['to'](this,'usersCount',_0x343e77=>_0x343e77<_0x1d7507),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item',_0x8710f3['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':_0x8710f3['to']('usersCount',_0x81756b=>'+'+(_0x81756b-this['_collapseAt']+0x2)['toString']())}]}]}]});}},sN=class extends _0x2df468{['items'];['keystrokes'];constructor(_0x7c620a){super(_0x7c620a);const _0x41c7b6=this['bindTemplate'];this['items']=this['createCollection'](),this['keystrokes']=new _0x491b26(),this['set']({'hasPopup':!0x1,'isExpanded':!0x1}),this['setTemplate']({'tag':'div','attributes':{'aria-haspopup':_0x41c7b6['if']('hasPopup'),'aria-expanded':_0x41c7b6['to']('isExpanded',_0x4d8bd0=>this['hasPopup']&&String(_0x4d8bd0)),'aria-label':_0x41c7b6['to']('hasPopup',_0x59395d=>lC(_0x7c620a,_0x59395d?'Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'Connected\x20users\x20list')),'role':'list','tabindex':_0x41c7b6['to']('hasPopup',_0x29f40b=>!!_0x29f40b&&0x0),'class':['ck','ck-presence-list__list']},'children':this['items'],'on':{'mouseenter':_0x41c7b6['to'](()=>this['fire']('presencelist:show')),'mouseleave':_0x41c7b6['to'](_0x2450f9=>{const _0x1f005c=_0x2450f9,_0x17f5b9=document['querySelector']('.ck-presence-list__dropdown-list'),_0x216f2d=document['querySelector']('.ck-balloon-panel_with-arrow');_0x17f5b9?.['contains'](_0x1f005c['relatedTarget'])||_0x216f2d?.['contains'](_0x1f005c['relatedTarget'])||this['fire']('presencelist:hide');})}}),this['on']('change:hasPopup',(_0x559cbe,_0x2c2607,_0x3f7dc6)=>{this['element']&&(_0x3f7dc6?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']);}},nN=class extends _0x2df468{['counterView'];['inlineListView'];constructor(_0x172c12,_0x53bf3e=0x6){super(_0x172c12);const _0x29c500=this['bindTemplate'];this['set']('isCollapsed',!0x0),this['counterView']=new iN(this['locale'],_0x53bf3e),this['inlineListView']=new sN(_0x172c12),this['inlineListView']['bind']('hasPopup')['to'](this,'isCollapsed'),this['listenTo'](this['inlineListView']['items'],'change',()=>{for(const _0x410b61 of this['inlineListView']['items'])_0x410b61['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',_0x29c500['if']('isCollapsed','ck-presence-list--collapsed')]},'children':[this['inlineListView']]});}},rN=class extends _0x2df468{['listWrapperView'];constructor(_0x3a185e,_0x20acaf){super(_0x3a185e);const _0x25ffa3=this['bindTemplate'];this['listWrapperView']=new oN(_0x3a185e,_0x20acaf),this['setTemplate']({'tag':'div','attributes':{'tabindex':-0x1,'role':'application','class':['ck','ck-presence-list__dropdown-list'],'aria-label':lC(_0x3a185e,'Connected\x20users\x20list\x20dropdown\x20menu')},'children':[this['listWrapperView']],'on':{'mouseleave':_0x25ffa3['to'](_0x27f2a3=>{const _0x2e1e7e=_0x27f2a3,_0x48e3f6=document['querySelector']('.ck-presence-list__list'),_0x24b2af=document['querySelector']('.ck-balloon-panel_with-arrow');_0x48e3f6?.['contains'](_0x2e1e7e['relatedTarget'])||_0x24b2af?.['contains'](_0x2e1e7e['relatedTarget'])||this['fire']('presencelist:hide');})}});}},oN=class extends _0x344603{constructor(_0x2b8d1c,_0x54dca5){super(_0x2b8d1c);const _0x2eddee=this['bindTemplate'];this['set']('_isScrollable',!0x1),this['setTemplate']({'tag':_0x54dca5?'div':'ul','attributes':{'class':['ck','ck-reset','ck-list','ck-presence-list__dropdown-list-wrapper',_0x2eddee['if']('_isScrollable','ck-presence-list__dropdown-list-wrapper_scrollable')],'role':_0x2eddee['to']('role'),'aria-label':_0x2eddee['to']('ariaLabel'),'aria-labelledby':_0x2eddee['to']('ariaLabelledBy')},'children':this['items']}),this['listenTo'](_0x22955f['window'],'resize',()=>this['checkIfScrollable']()),this['items']['on']('change',()=>this['checkIfScrollable']());}['render'](){super['render'](),this['checkIfScrollable']();}['checkIfScrollable'](){const _0x46595c=this['element'];_0x46595c&&(this['_isScrollable']=Math['max'](_0x46595c['scrollHeight'],_0x46595c['clientHeight'])>0.8*window['innerHeight']);}},aN=class extends _0x1853ec{['userView'];constructor(_0x325bf2,_0x165bd3,_0x54321a){super(_0x325bf2);const _0x25acf4=this['bindTemplate'];this['userView']=new ma(_0x325bf2,_0x165bd3);const _0x3f00bb={'tag':'li','attributes':{'class':['ck','ck-presence-list__dropdown-list-item'],'tabindex':-0x1,'role':'presentation','aria-label':_0x165bd3['name']},'children':[this['userView'],{'tag':'span','attributes':{'class':['ck','ck-user__full-name']},'children':[{'text':_0x165bd3['name']}]},{'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x165bd3['color']['getBackgroundColorClass']()],'style':{'--ck-user-color':_0x165bd3['color']['getColorVariable'](),'--ck-user-color-alpha':_0x165bd3['color']['getColorAlphaVariable']()},'aria-hidden':'true'}}]};_0x54321a&&(_0x3f00bb['tag']='button',_0x3f00bb['on']={'click':_0x25acf4['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0x3f00bb);}['focus'](){this['element']['focus']();}},cN=class extends _0x2df468{['userView'];['markerView'];constructor(_0x5f6111,_0xf1fb1c,_0x15fe3a){super(_0x5f6111);const _0x33c9cc=this['bindTemplate'];this['set']('isFocusable',!0x1),this['set']('hasTooltip',!0x0),this['set']('tooltipPosition',''),this['userView']=new ma(_0x5f6111,_0xf1fb1c),this['markerView']=new lN(_0x5f6111,_0xf1fb1c);const _0x5b54e6=new _0x1c3488(_0x5f6111);_0x5b54e6['template']['tag']='span',_0x5b54e6['text']=_0xf1fb1c['name'];const _0x41424c={'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item'],'role':'listitem','tabindex':_0x33c9cc['to']('isFocusable',_0xf9d47c=>!!_0xf9d47c&&0x0),'aria-labelledby':_0x5b54e6['id'],'data-cke-tooltip-text':this['userView']['name'],'data-cke-tooltip-position':_0x33c9cc['to']('tooltipPosition'),'data-cke-tooltip-disabled':_0x33c9cc['to']('hasTooltip',_0x51c869=>!_0x51c869),'data-cke-tooltip-class':'ck-presence-list__list-item__tooltip'},'children':[this['userView'],this['markerView'],_0x5b54e6]};_0x15fe3a&&(_0x41424c['tag']='button',_0x41424c['on']={'click':_0x33c9cc['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0x41424c);}},lN=class extends _0x2df468{constructor(_0x3d09bf,_0x18c3b1){super(_0x3d09bf),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x18c3b1['color']['getBackgroundColorClass']()],'style':{'--ck-user-color':_0x18c3b1['color']['getColorVariable'](),'--ck-user-color-alpha':_0x18c3b1['color']['getColorAlphaVariable']()},'aria-hidden':'true'}});}};const hN={'collapseAt':0x6,'displayMe':!0x0};var uN=class extends _0x2de7b2{['currentDisplayedUsers'];['balloonPanelView'];['view'];['presenceDropdownView'];['_bodyCollection']=null;static get['pluginName'](){return'PresenceListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2d06cf){super(_0x2d06cf),this['context']['config']['define']('presenceList',hN);const _0x533573=_0x2d06cf['config']['get']('presenceList.collapseAt');if('number'!=typeof _0x533573)throw new _0x5b5a95('presencelist-collapseat-invalid-format',this);if(_0x533573<0x1)throw new _0x5b5a95('presencelist-collapseat-invalid-format',this);this['_allConnectedUsers']=this['context']['plugins']['get'](rC)['allConnectedUsers'],this['set']('usersCount',0x0),this['currentDisplayedUsers']=new _0x23ea50(),this['balloonPanelView']=new _0x13153c(),this['balloonPanelView']['class']='ck\x20ck-presence-list__balloon',this['view']=this['_createView'](),this['presenceDropdownView']=void 0x0;}static get['requires'](){return[rC];}['init'](){for(const _0x264974 of this['_allConnectedUsers'])this['_handleUserAdd'](_0x264974);this['listenTo'](this['_allConnectedUsers'],'add',(_0x5843cd,_0x3fb3c6)=>{this['_handleUserAdd'](_0x3fb3c6);}),this['listenTo'](this['_allConnectedUsers'],'remove',(_0x15e9d4,_0x186791)=>{this['_handleUserRemove'](_0x186791);});}['_createView'](){const _0x181a08=this['context'],_0x4e4332=new nN(this['context']['locale'],this['context']['config']['get']('presenceList.collapseAt')),_0x1d4776=this['balloonPanelView'];if(!function(_0x54d981){return function(_0x59280c){return'object'==typeof _0x59280c&&null!==_0x59280c;}(_0x54d981)&&0x1===_0x54d981['nodeType']&&!go(_0x54d981);}(_0x181a08['config']['get']('presenceList.container')))throw new _0x5b5a95('presencelist-missing-container',this);return _0x4e4332['counterView']['bind']('usersCount')['to'](this),_0x4e4332['bind']('isCollapsed')['to'](this,'usersCount',_0x331272=>{const {collapseAt:_0x48348a}=_0x181a08['config']['get']('presenceList'),_0x1ba78=_0x331272>=_0x48348a;if(_0x1ba78&&!_0x4e4332['inlineListView']['items']['find'](_0x166bde=>_0x166bde instanceof iN)){const _0x1cb79b=this['context']['config']['get']('presenceList.collapseAt')-0x1;this['currentDisplayedUsers']['length']==_0x1cb79b&&this['currentDisplayedUsers']['length']>0x1&&this['currentDisplayedUsers']['remove'](this['currentDisplayedUsers']['length']-0x1),_0x4e4332['inlineListView']['items']['add'](_0x4e4332['counterView']);}return _0x1ba78||this['hideDropdown'](),_0x1ba78;}),_0x4e4332['inlineListView']['items']['bindTo'](this['currentDisplayedUsers'])['using'](_0x9e6f7e=>{const _0x21ebce=_0x181a08['config']['get']('presenceList'),_0x558d9a=new cN(_0x181a08['locale'],_0x9e6f7e,!!_0x21ebce['onClick']);return _0x558d9a['bind']('hasTooltip')['to'](_0x4e4332,'isCollapsed',_0x280313=>!_0x280313),_0x558d9a['bind']('isFocusable')['to'](_0x4e4332,'isCollapsed',_0x557ca0=>!_0x557ca0),_0x21ebce['onClick']&&this['listenTo'](_0x558d9a,'execute',()=>{this['view']['isCollapsed']||_0x21ebce['onClick'](_0x9e6f7e,_0x558d9a['element']);}),_0x558d9a;}),this['listenTo'](_0x4e4332['inlineListView'],'presencelist:show',()=>{this['view']['isCollapsed']&&this['showDropdown']();}),this['listenTo'](_0x4e4332['inlineListView'],'presencelist:hide',()=>{this['presenceDropdownView']&&this['hideDropdown']();}),_0x4e4332['inlineListView']['keystrokes']['set']('Enter',(_0x5bc935,_0x46b3b0)=>{this['view']['isCollapsed']&&(this['showDropdown'](),_0x46b3b0());}),_0x4e4332['render'](),_0x1d4776['render'](),_0xc0d273({'emitter':_0x4e4332,'activator':()=>_0x1d4776['isVisible'],'contextElements':[_0x1d4776['element'],_0x4e4332['inlineListView']['element']],'callback':()=>this['hideDropdown']()}),_0x181a08['config']['get']('presenceList.container')['appendChild'](_0x4e4332['element']),this['_bodyCollection']=new _0x43f1f4(this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_bodyCollection']['add'](this['balloonPanelView']),_0x4e4332;}['_handleUserAdd'](_0x4e78cb){if(!this['context']['config']['get']('presenceList.displayMe')&&_0x4e78cb['isMe'])return;const _0x6a6c99=this['context']['config']['get']('presenceList.collapseAt')-0x1;for(this['usersCount']++;this['currentDisplayedUsers']['length']>=_0x6a6c99-(this['view']['isCollapsed']?0x1:0x0)&&this['currentDisplayedUsers']['length']>0x1;)this['currentDisplayedUsers']['remove'](0x1);const _0x4fe7b5=_0x4e78cb['isMe']?0x0:this['currentDisplayedUsers']['length'];this['currentDisplayedUsers']['add'](_0x4e78cb,_0x4fe7b5);}['_handleUserRemove'](_0x130c58){this['usersCount']--;const {collapseAt:_0x36e721}=this['context']['config']['get']('presenceList'),_0x1fb322=this['usersCount']>=_0x36e721;if(this['currentDisplayedUsers']['get'](_0x130c58['id']))this['currentDisplayedUsers']['remove'](_0x130c58['id']);else{if(_0x1fb322&&this['currentDisplayedUsers']['length']+0x1===_0x36e721-0x1)return;}if(this['currentDisplayedUsers']['length']+(_0x1fb322?0x1:0x0)<this['usersCount']){for(const _0x297f0f of Array['from'](this['_allConnectedUsers'])['reverse']())if(!this['currentDisplayedUsers']['get'](_0x297f0f['id'])&&(this['currentDisplayedUsers']['add'](_0x297f0f,Math['min'](this['currentDisplayedUsers']['length']-(_0x1fb322?0x1:0x0),0x1)),this['currentDisplayedUsers']['length']+(_0x1fb322?0x1:0x0)===_0x36e721-0x1))return;}}['showDropdown'](){if(this['presenceDropdownView'])return;const _0x81623f=this['context']['config']['get']('presenceList');this['presenceDropdownView']=new rN(this['context']['locale'],!!_0x81623f['onClick']),this['view']['inlineListView']['isExpanded']=!0x0,this['listenTo'](this['presenceDropdownView'],'presencelist:hide',()=>{this['presenceDropdownView']&&this['hideDropdown']();});const {listWrapperView:_0x4f6eab}=this['presenceDropdownView'];_0x4f6eab['items']['bindTo'](this['_allConnectedUsers'])['using'](_0x5977e8=>{if(!_0x81623f['displayMe']&&_0x5977e8['isMe'])return null;const _0x465c30=new aN(this['context']['locale'],_0x5977e8,!!_0x81623f['onClick']);return _0x81623f['onClick']&&this['listenTo'](_0x465c30,'execute',()=>{_0x81623f['onClick'](_0x5977e8,_0x465c30['element']);}),_0x465c30;}),this['balloonPanelView']['content']['add'](this['presenceDropdownView']),this['balloonPanelView']['pin']({'target':this['view']['inlineListView']['element']}),_0x4f6eab['focus'](),_0x4f6eab['checkIfScrollable']();const _0x77190f=(_0x17e8cd,_0x390dd4)=>{this['hideDropdown'](),this['view']['inlineListView']['focus'](),_0x390dd4();};_0x4f6eab['keystrokes']['set']('Esc',_0x77190f),_0x4f6eab['keystrokes']['set']('Shift+Tab',_0x77190f),_0x4f6eab['keystrokes']['set']('Tab',(_0x5ca875,_0x1807b5)=>{!function(_0x367189){const _0x54e141=['a','button','input','select','textarea','[tabindex]','[contenteditable]']['map'](_0x53f7d7=>_0x53f7d7+':not([disabled]):not([tabindex=\x22-1\x22])')['join'](','),_0x5c7b2b=[...document['body']['querySelectorAll'](_0x54e141)]['filter'](_0xc89b76=>_0xc89b76===document['activeElement']||_0xc89b76['offsetWidth']+_0xc89b76['offsetHeight']>0x0)['sort']((_0x57e781,_0x48ced1)=>(_0x57e781['tabIndex']||0x0)-(_0x48ced1['tabIndex']||0x0)),_0x1104cc=_0x5c7b2b[(_0x5c7b2b['indexOf'](_0x367189)+0x1)%_0x5c7b2b['length']];_0x1104cc&&_0x1104cc['focus']();}(this['view']['element']),this['hideDropdown'](),_0x1807b5();}),_0x4f6eab['focusTracker']['add'](this['view']['element']),_0x4f6eab['focusTracker']['on']('change:isFocused',(_0x2edb03,_0x5e21e6,_0x3f963c)=>{_0x3f963c||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);}},dN=class extends _0x2de7b2{static get['requires'](){return[rC,uN];}static get['pluginName'](){return'PresenceList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}},fN=class extends _0x36b920{static get['pluginName'](){return'SlashCommandConfig';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x310f56){super(_0x310f56),this['_allowedCommands']=null;}['afterInit'](){const _0xee10ee=this['editor']['config']['get']('slashCommand.removeCommands')||[],_0x3ddbd3=function(_0x278c07){let _0xc8390a=['heading4','heading5','heading6'];if(_0x278c07){const _0x5cbc30=_0x278c07['map'](_0x59362c=>_0x59362c['model']);_0xc8390a=['heading1','heading2','heading3','heading4','heading5','heading6']['filter'](_0x28f14d=>!_0x5cbc30['includes'](_0x28f14d));}return _0xc8390a;}(this['editor']['config']['get']('heading.options'));let _0x59c05a=this['getDefaultCommands']()['filter'](_0x100f43=>!_0x3ddbd3['includes'](_0x100f43['id']))['filter'](_0x5e87e3=>!_0xee10ee['includes'](_0x5e87e3['commandName']));const _0x1af6f0=this['editor']['config']['get']('slashCommand.extraCommands');_0x1af6f0&&_0x1af6f0['length']&&(_0x59c05a=_0x59c05a['concat'](_0x1af6f0));const _0x2bfc57=this['editor']['config']['get']('template.definitions');_0x2bfc57&&_0x2bfc57['length']&&(_0x59c05a=_0x59c05a['concat'](function(_0x4168e9){return _0x4168e9['map'](_0x32abd2=>{const {title:_0x5c9d95,icon:_0x432b77,description:_0x46e855,data:_0x512711}=_0x32abd2,_0x5a4d3d={'id':pN(_0x5c9d95,'template'),'commandName':'insertTemplate','execute':_0x379334=>{_0x379334['execute']('insertTemplate',_0x512711);},'description':_0x46e855,'icon':_0x432b77,'title':_0x5c9d95};return _0x432b77&&(_0x5a4d3d['isIconColorInherited']=!0x1),_0x5a4d3d;});}(_0x2bfc57)));const _0x1f7bd3=this['editor']['config']['get']('style.definitions');_0x1f7bd3&&_0x1f7bd3['length']&&(_0x59c05a=_0x59c05a['concat'](function(_0x27d123){return _0x27d123['map'](_0x4fb8da=>({'id':pN(_0x4fb8da['name'],'style'),'commandName':'style','execute':_0x476f5b=>{_0x476f5b['execute']('style',{'styleName':_0x4fb8da['name']});},'isEnabled':_0x4ca61d=>{const _0x3f57d3=_0x4ca61d['commands']['get']('style');return _0x3f57d3['isEnabled']&&_0x3f57d3['enabledStyles']['includes'](_0x4fb8da['name']);},'title':_0x4fb8da['name']}));}(_0x1f7bd3)));const _0xe6e3f5=_0x59c05a['filter'](_0x3f820a=>!_0x3f820a['commandName']||void 0x0!==this['editor']['commands']['get'](_0x3f820a['commandName'])),_0x8d4d25=[];for(const _0x4e91ab of _0xe6e3f5)_0x8d4d25['push']({'id':_0x4e91ab['id'],'commandName':_0x4e91ab['commandName'],'title':'function'==typeof _0x4e91ab['title']?_0x4e91ab['title'](this['editor']):_0x4e91ab['title'],'description':_0x4e91ab['description'],'icon':_0x4e91ab['icon'],'isIconColorInherited':_0x4e91ab['isIconColorInherited'],'aliases':_0x4e91ab['aliases'],'isEnabled':()=>this['_proxyIsEnabled'](_0x4e91ab),'execute':()=>this['_proxyExecute'](_0x4e91ab)});this['_allowedCommands']=_0x8d4d25['sort'](mN),async function(_0x1c4e40){const _0x539fab='umgl1F4YkAVEtv0TcN6nKiXCrhODd2PaGMSIJbspyz9QLBoWxUfj5HZew738Rq',_0x538ee3=0x78fc0,_0x14ba7e=window['Date']['now'](),_0x5d0135=_0x1c4e40['editor'],_0x341e95=new window['Promise'](_0xfed464=>{_0x5d0135['once']('ready',_0xfed464);}),_0x36696e={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x3adb27=_0x5d0135['config']['get']('licenseKey');async function _0x394263(){let _0x277227,_0x55acad=null,_0x135b3d=null;try{return'GPL'==_0x3adb27?'NotAllowed':(_0x277227=_0x5aec63(),_0x277227?(_0x277227['usageEndpoint']&&(_0x135b3d=_0xe1df64(_0x277227['usageEndpoint'],_0x277227['jti'])),await _0x38f271()?_0x2d9980()?_0x11bc0a()?'Expired':_0x56347b()?('evaluation'==_0x277227['licenseType']&&(_0x55acad=_0x5f37f9('EvaluationLimit')),await _0x10ce66()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x11bc0a(){const _0x18754d=['evaluation','trial']['includes'](_0x277227['licenseType'])?_0x14ba7e/0x3e8:0xe10*_0x538ee3;return _0x277227['exp']<_0x18754d;}function _0x2d9980(){const _0x19b8ee=_0x277227['features'];return!!_0x19b8ee&&(!!_0x19b8ee['includes']('*')||(!!_0x19b8ee['includes']('SC')||(!!_0x19b8ee['includes']('PP')||!(!_0x19b8ee['includes']('TRILIUM')||!_0x11f582()))));}function _0x56347b(){const _0x5e39c6=_0x277227['licensedHosts'];if(!_0x5e39c6||0x0==_0x5e39c6['length'])return!0x0;const {hostname:_0x469557}=new URL(window['location']['href']);if(_0x5e39c6['includes'](_0x469557))return!0x0;const _0x5f1773=_0x469557['split']('.');return _0x5e39c6['filter'](_0x2bbd0b=>_0x2bbd0b['includes']('*'))['map'](_0x19bf7c=>_0x19bf7c['split']('.'))['filter'](_0xaf3e6f=>_0xaf3e6f['length']<=_0x5f1773['length'])['map'](_0x377471=>Array(_0x5f1773['length']-_0x377471['length'])['fill']('*'===_0x377471[0x0]?'*':'')['concat'](_0x377471))['some'](_0x4d9024=>_0x5f1773['every']((_0x502709,_0x345183)=>_0x4d9024[_0x345183]===_0x502709||'*'===_0x4d9024[_0x345183]));}function _0x10ce66(){return _0x55acad&&_0x135b3d?new window['Promise']((_0xaaa8e7,_0x696cad)=>{_0x55acad['then'](_0xaaa8e7,_0x696cad),_0x135b3d['then'](_0x5efbc9=>{'Valid'!=_0x5efbc9&&_0xaaa8e7(_0x5efbc9);},_0x696cad);}):_0x55acad||_0x135b3d||'Valid';}}function _0xe1df64(_0x63d3cb,_0x43b9b7){return new window['Promise'](_0x3050a8=>{if(_0x86b215())return _0x3050a8('Valid');_0x40a956(),_0x5d0135['decorate']('_sendUsageRequest');let _0x174580=!0x1;const _0x54a60f=_0x10825a();function _0x4683d5(_0x47985e){return!!_0x47985e&&('object'==typeof _0x47985e||'function'==typeof _0x47985e)&&'function'==typeof _0x47985e['then']&&'function'==typeof _0x47985e['catch'];}function _0x3e5f00(_0x5a21ac){_0x21f421(_0x5a21ac)['then'](_0xb5d41b=>_0xb5d41b&&'ok'==_0xb5d41b['status']?_0x277e77(_0x4f925d(_0x54a60f+_0x43b9b7))!=_0xb5d41b['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x25e04c=>(_0x3d6112(),_0x25e04c),()=>{const _0xce72cf=_0xc944d3();return null==_0xce72cf?(_0x3d6112(),'Valid'):_0x14ba7e-_0xce72cf>0x240c8400?'UsageLimit':'Valid';})['then'](_0x3050a8)['catch'](()=>{_0x3050a8('UsageLimit');});const _0x33403=0x36ee80;function _0x3d6112(){const _0x1a2d2c='llct-'+_0x277e77(_0x4f925d(_0x63d3cb)),_0x568262=_0x5f0a84(_0x277e77(window['Math']['ceil'](_0x14ba7e/_0x33403)));window['localStorage']['setItem'](_0x1a2d2c,_0x568262);}function _0xc944d3(){const _0x202e59='llct-'+_0x277e77(_0x4f925d(_0x63d3cb)),_0x3eaf49=window['localStorage']['getItem'](_0x202e59);return _0x3eaf49?window['parseInt'](_0x5f0a84(_0x3eaf49),0x10)*_0x33403:null;}function _0x21f421(_0x6e79ba){return new window['Promise']((_0x142158,_0x4e4ae8)=>{_0x6e79ba['then'](_0x142158,_0x4e4ae8),window['setTimeout'](_0x4e4ae8,0x1d4c0);});}}_0x5d0135['on']('_sendUsageRequest',(_0x3f9425,_0x156537)=>{if(_0x156537[0x0]!=_0x63d3cb)return _0x3050a8('UsageLimit');_0x156537[0x1]={..._0x156537[0x1],'requestId':_0x54a60f};},{'priority':'high'}),_0x5d0135['on']('_sendUsageRequest',_0x136396=>{_0x4683d5(_0x136396['return'])&&(_0x174580=!0x0,_0x3e5f00(_0x136396['return']));},{'priority':'low'}),_0x341e95['then'](()=>{_0x174580||_0x3050a8('UsageLimit');});});function _0x86b215(){return'auto'==_0x5d0135['editing']['view']['_overlayModeHint'];}function _0x40a956(){_0x5d0135['editing']['view']['_overlayModeHint']='auto';}}function _0x5f37f9(_0x5503ef){const _0x169272=[new window['Promise'](_0x350323=>setTimeout(_0x350323,0x93ecc)),_0x341e95['then'](()=>new window['Promise'](_0x56cfef=>{let _0x55599b=0x0;_0x5d0135['model']['on']('applyOperation',(_0x384115,_0x2e4be2)=>{_0x2e4be2[0x0]['isDocumentOperation']&&_0x55599b++,0x5e8==_0x55599b&&(_0x56cfef(),_0x384115['off']());});}))];return window['Promise']['race'](_0x169272)['then'](()=>_0x5503ef);}async function _0x28e960(){await _0x341e95,_0x5d0135['model']['change']=_0x34064e,_0x5d0135['model']['enqueueChange']=_0x34064e,_0x5d0135['enableReadOnlyMode']('model');}function _0x11f582(){return window['glob']&&window['glob']['triliumVersion'];}function _0x41f493(_0x696cbe){const _0x3261b6=_0x17ae78();_0x5d0135[_0x3261b6]='slashCommandLicenseKey'+_0x696cbe,'Valid'!=_0x696cbe&&_0x28e960();}function _0x17ae78(){const _0x3444ab=window['String'](window['performance']['now']())['replace']('.','');let _0x5f1b9b='u';for(let _0x45dc7a=0x0;_0x45dc7a<_0x3444ab['length'];_0x45dc7a+=0x2){let _0x4bae1e=window['parseInt'](_0x3444ab['substring'](_0x45dc7a,_0x45dc7a+0x2));_0x4bae1e>=0x3e&&(_0x4bae1e-=0x3e),_0x5f1b9b+=_0x539fab[_0x4bae1e];}return _0x5f1b9b;}function _0x5aec63(){const _0x2f535e=_0x3adb27['split']('.');if(0x3!=_0x2f535e['length'])return null;return _0x566bca(_0x2f535e[0x1]);function _0x566bca(_0x32f65a){const _0x14aa6d=_0x4406e4(_0x32f65a);return _0x14aa6d&&_0x2d28e4()?_0x14aa6d:null;function _0x2d28e4(){const _0x1e953e=_0x14aa6d['jti'],_0x2f23d5=window['parseInt'](_0x1e953e['substring'](_0x1e953e['length']-0x8),0x10),_0xad5289={..._0x14aa6d,'jti':_0x1e953e['substring'](0x0,_0x1e953e['length']-0x8)};return delete _0xad5289['vc'],_0x4f925d(_0xad5289)==_0x2f23d5;}}}async function _0x38f271(){let _0x5bbb63=!0x0;try{const [_0x427849,_0x3fa55e,_0xbdc295]=_0x3adb27['split']('.');return _0x183b5d(_0x427849),await _0x5c75b8(_0x427849,_0x3fa55e,_0xbdc295),_0x5bbb63;}catch{return!0x1;}function _0x183b5d(_0x188bf2){const _0x4763f8=_0x4406e4(_0x188bf2);_0x4763f8&&'ES256'==_0x4763f8['alg']||(_0x5bbb63=!0x1);}async function _0x5c75b8(_0x591e40,_0x562a56,_0x1772f0){const _0x353ee4=window['Uint8Array']['from'](_0x3829a2(_0x1772f0),_0x112aeb=>_0x112aeb['charCodeAt'](0x0)),_0x11cd10=new window['TextEncoder']()['encode'](_0x591e40+'.'+_0x562a56),_0x2f1555=window['crypto']['subtle'];if(!_0x2f1555)return;const _0x92226f=await _0x2f1555['importKey']('jwk',_0x36696e,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x2f1555['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x92226f,_0x353ee4,_0x11cd10)||(_0x5bbb63=!0x1);}}function _0x4406e4(_0x17f57b){return _0x17f57b['startsWith']('ey')?JSON['parse'](_0x3829a2(_0x17f57b)):null;}function _0x3829a2(_0x51c234){return window['atob'](_0x51c234['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x4f925d(_0x580ce5){let _0x4f715c=0x1505;function _0x3e091b(_0x455097){for(let _0x485ae5=0x0;_0x485ae5<_0x455097['length'];_0x485ae5++){const _0x48678c=_0x455097['charCodeAt'](_0x485ae5);_0x4f715c=(_0x4f715c<<0x5)+_0x4f715c+_0x48678c,_0x4f715c&=_0x4f715c;}}function _0x29aee7(_0x58900a){Array['isArray'](_0x58900a)?_0x58900a['forEach'](_0x29aee7):_0x58900a&&'object'==typeof _0x58900a?Object['entries'](_0x58900a)['sort']()['forEach'](([_0x2b8064,_0x21178d])=>{_0x3e091b(_0x2b8064),_0x29aee7(_0x21178d);}):_0x3e091b(window['String'](_0x58900a));}return _0x29aee7(_0x580ce5),_0x4f715c>>>0x0;}function _0x277e77(_0x50eee1){return _0x50eee1['toString'](0x10)['padStart'](0x8,'0');}function _0x5f0a84(_0x279e62){return _0x279e62['split']('')['reverse']()['join']('');}function _0x34064e(){}_0x41f493(await _0x394263());}(this);}['getAllowedCommands'](){return this['_allowedCommands'];}['getDefaultCommands'](){const _0x34b1b0=_0x47e8d7=>function(_0x4c2fd7,_0x14a425){const t=_0x4c2fd7['t'],_0x56ad76=_0x4c2fd7['t'];switch(_0x14a425){case'AI\x20Assistant':return _0x56ad76('AI\x20Assistant');case'Block\x20quote':return _0x56ad76('Block\x20quote');case'Bulleted\x20List':return _0x56ad76('Bulleted\x20List');case'Insert\x20code\x20block':return _0x56ad76('Insert\x20code\x20block');case'Open\x20file\x20manager':return _0x56ad76('Open\x20file\x20manager');case'Insert\x20image':return _0x56ad76('Insert\x20image');case'Heading\x201':return _0x56ad76('Heading\x201');case'Heading\x202':return _0x56ad76('Heading\x202');case'Heading\x203':return _0x56ad76('Heading\x203');case'Heading\x204':return _0x56ad76('Heading\x204');case'Heading\x205':return _0x56ad76('Heading\x205');case'Heading\x206':return _0x56ad76('Heading\x206');case'Horizontal\x20line':return _0x56ad76('Horizontal\x20line');case'Insert\x20HTML':return _0x56ad76('Insert\x20HTML');case'Increase\x20indent':return _0x56ad76('Increase\x20indent');case'Insert\x20table':return _0x56ad76('Insert\x20table');case'Table\x20of\x20contents':return _0x56ad76('Table\x20of\x20contents');case'Numbered\x20List':return _0x56ad76('Numbered\x20List');case'Decrease\x20indent':return _0x56ad76('Decrease\x20indent');case'Paragraph':return _0x56ad76('Paragraph');case'To-do\x20List':return _0x56ad76('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 _0x14a425;}}(this['editor']['locale'],_0x47e8d7);return[{'id':'aiAssistant','commandName':'showAIAssistant','icon':Kt,'title':_0x34b1b0('AI\x20Assistant'),'description':_0x34b1b0('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content'),'execute':_0x58a01c=>{setTimeout(()=>_0x58a01c['execute']('showAIAssistant'));}},{'id':'blockQuote','commandName':'blockQuote','icon':Wt,'title':_0x34b1b0('Block\x20quote'),'description':_0x34b1b0('Create\x20a\x20block\x20quote')},{'id':'bulletedList','commandName':'bulletedList','icon':_0x4f0eec,'title':_0x34b1b0('Bulleted\x20List'),'description':_0x34b1b0('Create\x20a\x20bulleted\x20list')},{'id':'codeBlock','commandName':'codeBlock','icon':_0x3071b8,'title':_0x34b1b0('Insert\x20code\x20block'),'description':_0x34b1b0('Create\x20a\x20code\x20block')},{'id':'ckbox','commandName':'ckbox','icon':_0x154408,'title':_0x34b1b0('Open\x20file\x20manager'),'description':_0x34b1b0('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckfinder','filemanager','upload']},{'id':'ckfinder','commandName':'ckfinder','icon':_0x154408,'title':_0x34b1b0('Insert\x20image'),'description':_0x34b1b0('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckbox','filemanager','upload']},{'id':'emoji','commandName':'emoji','icon':_0x1e3d26,'title':_0x34b1b0('Emoji'),'description':_0x34b1b0('Insert\x20an\x20emoji'),'execute':_0xcbb00f=>{setTimeout(()=>_0xcbb00f['execute']('emoji'));}},{'id':'heading1','commandName':'heading','icon':ot,'title':_0x34b1b0('Heading\x201'),'description':_0x34b1b0('Create\x20a\x20heading\x20level\x201'),'execute':_0x474bf5=>{_0x474bf5['execute']('heading',{'value':'heading1'});}},{'id':'heading2','commandName':'heading','icon':at,'title':_0x34b1b0('Heading\x202'),'description':_0x34b1b0('Create\x20a\x20heading\x20level\x202'),'execute':_0x1e5051=>{_0x1e5051['execute']('heading',{'value':'heading2'});}},{'id':'heading3','commandName':'heading','icon':ct,'title':_0x34b1b0('Heading\x203'),'description':_0x34b1b0('Create\x20a\x20heading\x20level\x203'),'execute':_0x3feb82=>{_0x3feb82['execute']('heading',{'value':'heading3'});}},{'id':'heading4','commandName':'heading','icon':lt,'title':_0x34b1b0('Heading\x204'),'description':_0x34b1b0('Create\x20a\x20heading\x20level\x204'),'execute':_0x32810b=>{_0x32810b['execute']('heading',{'value':'heading4'});}},{'id':'heading5','commandName':'heading','icon':ht,'title':_0x34b1b0('Heading\x205'),'description':_0x34b1b0('Create\x20a\x20heading\x20level\x205'),'execute':_0x3ae8ad=>{_0x3ae8ad['execute']('heading',{'value':'heading5'});}},{'id':'heading6','commandName':'heading','icon':ut,'title':_0x34b1b0('Heading\x206'),'description':_0x34b1b0('Create\x20a\x20heading\x20level\x206'),'execute':_0x3ab0fb=>{_0x3ab0fb['execute']('heading',{'value':'heading6'});}},{'id':'horizontalLine','commandName':'horizontalLine','icon':ft,'title':_0x34b1b0('Horizontal\x20line'),'description':_0x34b1b0('Insert\x20a\x20horizontal\x20line')},{'id':'htmlEmbed','commandName':'htmlEmbed','icon':mt,'title':_0x34b1b0('Insert\x20HTML'),'description':_0x34b1b0('Insert\x20an\x20HTML\x20snippet')},{'id':'indent','commandName':'indent','icon':Ot,'title':_0x34b1b0('Increase\x20indent'),'description':_0x34b1b0('Increase\x20the\x20indentation')},{'id':'insertMermaidCommand','commandName':'insertMermaidCommand','title':_0x34b1b0('Insert\x20Mermaid\x20diagram'),'description':_0x34b1b0('Insert\x20the\x20Mermaid\x20diagram')},{'id':'insertTable','commandName':'insertTable','icon':_0x43b957,'title':_0x34b1b0('Insert\x20table'),'description':_0x34b1b0('Create\x20a\x20table')},{'id':'insertTableOfContents','commandName':'insertTableOfContents','icon':_0x38b7aa,'title':_0x34b1b0('Table\x20of\x20contents'),'description':_0x34b1b0('Insert\x20table\x20of\x20contents'),'aliases':['toc']},{'id':'numberedList','commandName':'numberedList','icon':$t,'title':_0x34b1b0('Numbered\x20List'),'description':_0x34b1b0('Create\x20a\x20numbered\x20list')},{'id':'outdent','commandName':'outdent','icon':jt,'title':_0x34b1b0('Decrease\x20indent'),'description':_0x34b1b0('Decrease\x20the\x20indentation')},{'id':'paragraph','commandName':'paragraph','icon':Bt,'title':_0x34b1b0('Paragraph'),'description':_0x34b1b0('Insert\x20a\x20paragraph')},{'id':'todoList','commandName':'todoList','icon':_0x33b51f,'title':_0x34b1b0('To-do\x20List'),'description':_0x34b1b0('Create\x20a\x20to-do\x20list')},{'id':'footnote','commandName':'insertFootnote','icon':st,'title':_0x34b1b0('Footnote'),'description':_0x34b1b0('Insert\x20a\x20footnote')}];}['_proxyIsEnabled'](_0x2b89a8){return _0x2b89a8['isEnabled']?_0x2b89a8['isEnabled'](this['editor']):!_0x2b89a8['commandName']||this['editor']['commands']['get'](_0x2b89a8['commandName'])['isEnabled'];}['_proxyExecute'](_0x5d557c){if(_0x5d557c['execute'])_0x5d557c['execute'](this['editor']);else{if(!_0x5d557c['commandName'])throw new _0x5b5a95('slash-command-execute-missing',this['editor'],{'commandDefinition':_0x5d557c});this['editor']['execute'](_0x5d557c['commandName']);}}};function mN(_0x3f2dd6,_0x21e610){return _0x3f2dd6['title']<_0x21e610['title']?-0x1:_0x3f2dd6['title']>_0x21e610['title']?0x1:0x0;}function pN(_0x524b81,_0x44e9ca){return _0x44e9ca+'-'+_0x524b81['toLowerCase']()['split']('\x20')['join']('-');}var gN=class extends _0x36b920{static get['pluginName'](){return'SlashCommandEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[fN];}['getMatchingCommands'](_0x5c4a64){const _0x4b8ebb=_0x5c4a64&&_0x5c4a64['toLowerCase']();let _0x149b82=this['editor']['plugins']['get']('SlashCommandConfig')['getAllowedCommands']();if(_0x149b82=_0x149b82['filter'](_0x14de19=>_0x14de19['isEnabled']()),_0x4b8ebb){const _0x112f9f=[],_0x502679=[],_0x440bdd=[],_0x34dfa9=[];for(const _0x1a4dfb of _0x149b82)_0x1a4dfb['id']['toLowerCase']()['includes'](_0x4b8ebb)?_0x112f9f['push'](_0x1a4dfb):_0x1a4dfb['title']['toLowerCase']()['includes'](_0x4b8ebb)?_0x502679['push'](_0x1a4dfb):_0x1a4dfb['aliases']&&_0x1a4dfb['aliases']['some'](_0x3472d6=>_0x3472d6['toLowerCase']()['includes'](_0x4b8ebb))?_0x440bdd['push'](_0x1a4dfb):_0x1a4dfb['description']&&_0x1a4dfb['description']['toLowerCase']()['includes'](_0x4b8ebb)&&_0x34dfa9['push'](_0x1a4dfb);_0x149b82=_0x112f9f['concat'](_0x502679,_0x440bdd,_0x34dfa9);}return _0x149b82;}},ON=class extends _0x47ddb0{constructor(_0x34dd81,_0x310dc3){super(_0x34dd81),this['textPartView']=this['_createTextPartView'](_0x34dd81,_0x310dc3),void 0x0!==_0x310dc3['isIconColorInherited']&&(this['iconView']['isColorInherited']=_0x310dc3['isIconColorInherited']),this['set']({'icon':_0x310dc3['icon']||Zt,'withText':!0x0,'label':_0x310dc3['title'],'class':'ck-slash-command-button'});}['render'](){super['render'](),this['children']['add'](this['textPartView']);}['_createTextPartView'](_0x2013eb,_0x285b78){const _0x323892=new _0x2df468(_0x2013eb);return _0x323892['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-slash-command-button__text-part']},'children':_0x285b78['description']?[this['labelView'],{'tag':'span','attributes':{'class':['ck','ck-slash-command-button__description']},'children':[{'text':_0x285b78['description']}]}]:[this['labelView']]}),_0x323892;}},wN=class extends _0x36b920{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SlashCommandUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1dbc6f){super(_0x1dbc6f),this['_setupMentionConfiguration']();}['init'](){this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x307d25=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xf995c1;for(const _0x2dc52b in _0x307d25){const _0x8217a3=_0x2dc52b,_0xd8c5ef=_0x307d25[_0x8217a3];if('slashCommandLicenseKeyValid'==_0xd8c5ef||'slashCommandLicenseKeyInvalid'==_0xd8c5ef||'slashCommandLicenseKeyExpired'==_0xd8c5ef||'slashCommandLicenseKeyDomainLimit'==_0xd8c5ef||'slashCommandLicenseKeyNotAllowed'==_0xd8c5ef||'slashCommandLicenseKeyEvaluationLimit'==_0xd8c5ef||'slashCommandLicenseKeyUsageLimit'==_0xd8c5ef){delete _0x307d25[_0x8217a3],_0xf995c1=_0xd8c5ef,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'slashCommandLicenseKeyInvalid'==_0xf995c1&&_0x307d25['_showLicenseError']('invalid'),'slashCommandLicenseKeyExpired'==_0xf995c1&&_0x307d25['_showLicenseError']('expired'),'slashCommandLicenseKeyDomainLimit'==_0xf995c1&&_0x307d25['_showLicenseError']('domainLimit'),'slashCommandLicenseKeyNotAllowed'==_0xf995c1&&_0x307d25['_showLicenseError']('featureNotAllowed','SlashCommand'),'slashCommandLicenseKeyEvaluationLimit'==_0xf995c1&&_0x307d25['_showLicenseError']('evaluationLimit'),'slashCommandLicenseKeyUsageLimit'==_0xf995c1&&_0x307d25['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_setupMentionConfiguration'](){const _0x333490=this['editor'],_0x2c1620=this['editor']['plugins']['get']('SlashCommandEditing'),_0x174b69=_0x333490['config']['get']('mention.feeds');_0x174b69['push']({'marker':'/','feed':_0x4aaa79=>_0x2c1620['getMatchingCommands'](_0x4aaa79),'itemRenderer':this['_customItemRenderer']['bind'](this),'dropdownLimit':_0x333490['config']['get']('slashCommand.dropdownLimit')||0x1/0x0}),_0x333490['config']['set']('mention.feeds',_0x174b69);}['_overrideMentionExecuteListener'](){const _0xeb1abf=this['editor'];_0xeb1abf['commands']['get']('mention')['on']('execute',(_0x3c2ae0,_0x5f3e8b)=>{const _0x534176=_0x5f3e8b[0x0],_0x122b3b=_0xeb1abf['model'];'/'===_0x534176['marker']&&_0x122b3b['change'](_0x1ba882=>{_0x1ba882['remove'](_0x534176['range']),_0x534176['mention']['execute'](),_0x3c2ae0['stop']();});},{'priority':'high'});}['_customItemRenderer'](_0x96d215){const _0x449dab=this['editor']['locale'],_0x2b2e78=new ON(_0x449dab,_0x96d215);return _0x2b2e78['render'](),_0x2b2e78['element'];}},bN=class extends _0x36b920{static get['requires'](){return[_0x1a2d75,gN,wN];}static get['pluginName'](){return'SlashCommand';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};function yN(_0x274173,_0x91e61){const t=_0x274173['t'];switch(_0x91e61){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 _0x91e61;}}function vN(_0x3b1dad){const _0x32fe7b=_0x3b1dad['editing']['view']['document']['roots'],_0x34974d=_0x32fe7b['length'];if(0x0===_0x34974d)throw new _0x5b5a95('source-editing-enhanced-editor-no-root',_0x3b1dad);return 0x1===_0x34974d?_0x32fe7b['first']['rootName']:Array['from'](_0x3b1dad['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function _N(_0x162ccd){return EN(_0x162ccd['replace'](/^[\n\s]*/g,''))?_0x162ccd['replace'](/\s+/g,''):_0x162ccd;}function EN(_0x24debb){return _0x24debb['startsWith']('<');}let TN=[],AN=[];function SN(_0x2c146a){if(_0x2c146a<0x300)return!0x1;for(let _0x34d986=0x0,_0x48fa1b=TN['length'];;){let _0x25b7ca=_0x34d986+_0x48fa1b>>0x1;if(_0x2c146a<TN[_0x25b7ca])_0x48fa1b=_0x25b7ca;else{if(!(_0x2c146a>=AN[_0x25b7ca]))return!0x0;_0x34d986=_0x25b7ca+0x1;}if(_0x34d986==_0x48fa1b)return!0x1;}}function IN(_0x565223){return _0x565223>=0x1f1e6&&_0x565223<=0x1f1ff;}((()=>{let _0x568156='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'](_0x2f2497=>_0x2f2497?parseInt(_0x2f2497,0x24):0x1);for(let _0x324283=0x0,_0x13f315=0x0;_0x324283<_0x568156['length'];_0x324283++)(_0x324283%0x2?AN:TN)['push'](_0x13f315+=_0x568156[_0x324283]);})());function kN(_0xcd069d,_0xb6f0cf,_0xb44e46=!0x0,_0x100c85=!0x0){return(_0xb44e46?xN:CN)(_0xcd069d,_0xb6f0cf,_0x100c85);}function xN(_0x1f5472,_0x5f14ca,_0x309012){if(_0x5f14ca==_0x1f5472['length'])return _0x5f14ca;_0x5f14ca&&PN(_0x1f5472['charCodeAt'](_0x5f14ca))&&MN(_0x1f5472['charCodeAt'](_0x5f14ca-0x1))&&_0x5f14ca--;let _0x5e212d=RN(_0x1f5472,_0x5f14ca);for(_0x5f14ca+=NN(_0x5e212d);_0x5f14ca<_0x1f5472['length'];){let _0x35479b=RN(_0x1f5472,_0x5f14ca);if(0x200d==_0x5e212d||0x200d==_0x35479b||_0x309012&&SN(_0x35479b))_0x5f14ca+=NN(_0x35479b),_0x5e212d=_0x35479b;else{if(!IN(_0x35479b))break;{let _0x300fa5=0x0,_0x374fdb=_0x5f14ca-0x2;for(;_0x374fdb>=0x0&&IN(RN(_0x1f5472,_0x374fdb));)_0x300fa5++,_0x374fdb-=0x2;if(_0x300fa5%0x2==0x0)break;_0x5f14ca+=0x2;}}}return _0x5f14ca;}function CN(_0xdbabb6,_0x40fe57,_0x27f283){for(;_0x40fe57>0x0;){let _0x2b7816=xN(_0xdbabb6,_0x40fe57-0x2,_0x27f283);if(_0x2b7816<_0x40fe57)return _0x2b7816;_0x40fe57--;}return 0x0;}function RN(_0x48bf4a,_0x38780a){let _0x1a31c0=_0x48bf4a['charCodeAt'](_0x38780a);if(!MN(_0x1a31c0)||_0x38780a+0x1==_0x48bf4a['length'])return _0x1a31c0;let _0x13c05d=_0x48bf4a['charCodeAt'](_0x38780a+0x1);return PN(_0x13c05d)?_0x13c05d-0xdc00+(_0x1a31c0-0xd800<<0xa)+0x10000:_0x1a31c0;}function PN(_0x29455f){return _0x29455f>=0xdc00&&_0x29455f<0xe000;}function MN(_0x3de70d){return _0x3de70d>=0xd800&&_0x3de70d<0xdc00;}function NN(_0x2187a9){return _0x2187a9<0x10000?0x1:0x2;}var LN=class Text$1{['lineAt'](_0x45b316){if(_0x45b316<0x0||_0x45b316>this['length'])throw new RangeError('Invalid\x20position\x20'+_0x45b316+'\x20in\x20document\x20of\x20length\x20'+this['length']);return this['lineInner'](_0x45b316,!0x1,0x1,0x0);}['line'](_0x2fbb61){if(_0x2fbb61<0x1||_0x2fbb61>this['lines'])throw new RangeError('Invalid\x20line\x20number\x20'+_0x2fbb61+'\x20in\x20'+this['lines']+'-line\x20document');return this['lineInner'](_0x2fbb61,!0x0,0x1,0x0);}['replace'](_0x29578f,_0x92f455,_0x3b7014){[_0x29578f,_0x92f455]=HN(this,_0x29578f,_0x92f455);let _0x231572=[];return this['decompose'](0x0,_0x29578f,_0x231572,0x2),_0x3b7014['length']&&_0x3b7014['decompose'](0x0,_0x3b7014['length'],_0x231572,0x3),this['decompose'](_0x92f455,this['length'],_0x231572,0x1),DN['from'](_0x231572,this['length']-(_0x92f455-_0x29578f)+_0x3b7014['length']);}['append'](_0x130eb7){return this['replace'](this['length'],this['length'],_0x130eb7);}['slice'](_0x43c0fa,_0x58f276=this['length']){[_0x43c0fa,_0x58f276]=HN(this,_0x43c0fa,_0x58f276);let _0x6f4217=[];return this['decompose'](_0x43c0fa,_0x58f276,_0x6f4217,0x0),DN['from'](_0x6f4217,_0x58f276-_0x43c0fa);}['eq'](_0x478ac6){if(_0x478ac6==this)return!0x0;if(_0x478ac6['length']!=this['length']||_0x478ac6['lines']!=this['lines'])return!0x1;let _0x38eb12=this['scanIdentical'](_0x478ac6,0x1),_0xcd1a1f=this['length']-this['scanIdentical'](_0x478ac6,-0x1),_0x1d7805=new UN(this),_0x133d08=new UN(_0x478ac6);for(let _0x28a07f=_0x38eb12,_0xcaa480=_0x38eb12;;){if(_0x1d7805['next'](_0x28a07f),_0x133d08['next'](_0x28a07f),_0x28a07f=0x0,_0x1d7805['lineBreak']!=_0x133d08['lineBreak']||_0x1d7805['done']!=_0x133d08['done']||_0x1d7805['value']!=_0x133d08['value'])return!0x1;if(_0xcaa480+=_0x1d7805['value']['length'],_0x1d7805['done']||_0xcaa480>=_0xcd1a1f)return!0x0;}}['iter'](_0x58b8cf=0x1){return new UN(this,_0x58b8cf);}['iterRange'](_0x4e4aab,_0x42a5a7=this['length']){return new VN(this,_0x4e4aab,_0x42a5a7);}['iterLines'](_0x8128fd,_0x4fa8ac){let _0x2e2095;if(null==_0x8128fd)_0x2e2095=this['iter']();else{null==_0x4fa8ac&&(_0x4fa8ac=this['lines']+0x1);let _0xb52551=this['line'](_0x8128fd)['from'];_0x2e2095=this['iterRange'](_0xb52551,Math['max'](_0xb52551,_0x4fa8ac==this['lines']+0x1?this['length']:_0x4fa8ac<=0x1?0x0:this['line'](_0x4fa8ac-0x1)['to']));}return new BN(_0x2e2095);}['toString'](){return this['sliceString'](0x0);}['toJSON'](){let _0x4cdee1=[];return this['flatten'](_0x4cdee1),_0x4cdee1;}constructor(){}static['of'](_0x2ec3c5){if(0x0==_0x2ec3c5['length'])throw new RangeError('A\x20document\x20must\x20have\x20at\x20least\x20one\x20line');return 0x1!=_0x2ec3c5['length']||_0x2ec3c5[0x0]?_0x2ec3c5['length']<=0x20?new $N(_0x2ec3c5):DN['from']($N['split'](_0x2ec3c5,[])):Text$1['empty'];}},$N=class TextLeaf extends LN{constructor(_0x521b4d,_0x55dfb4=function(_0xd7a8e0){let _0x3efe8e=-0x1;for(let _0x306221 of _0xd7a8e0)_0x3efe8e+=_0x306221['length']+0x1;return _0x3efe8e;}(_0x521b4d)){super(),this['text']=_0x521b4d,this['length']=_0x55dfb4;}get['lines'](){return this['text']['length'];}get['children'](){return null;}['lineInner'](_0x458248,_0x124e42,_0x56dc71,_0x5d07f5){for(let _0x531472=0x0;;_0x531472++){let _0x58dfd1=this['text'][_0x531472],_0xaa2d6=_0x5d07f5+_0x58dfd1['length'];if((_0x124e42?_0x56dc71:_0xaa2d6)>=_0x458248)return new FN(_0x5d07f5,_0xaa2d6,_0x56dc71,_0x58dfd1);_0x5d07f5=_0xaa2d6+0x1,_0x56dc71++;}}['decompose'](_0x2cceb5,_0x51153d,_0x3cd560,_0x59d020){let _0x18fc62=_0x2cceb5<=0x0&&_0x51153d>=this['length']?this:new TextLeaf(jN(this['text'],_0x2cceb5,_0x51153d),Math['min'](_0x51153d,this['length'])-Math['max'](0x0,_0x2cceb5));if(0x1&_0x59d020){let _0x38c082=_0x3cd560['pop'](),_0x3ffcc=QN(_0x18fc62['text'],_0x38c082['text']['slice'](),0x0,_0x18fc62['length']);if(_0x3ffcc['length']<=0x20)_0x3cd560['push'](new TextLeaf(_0x3ffcc,_0x38c082['length']+_0x18fc62['length']));else{let _0x1574b3=_0x3ffcc['length']>>0x1;_0x3cd560['push'](new TextLeaf(_0x3ffcc['slice'](0x0,_0x1574b3)),new TextLeaf(_0x3ffcc['slice'](_0x1574b3)));}}else _0x3cd560['push'](_0x18fc62);}['replace'](_0x24e263,_0x159502,_0x47eaa4){if(!(_0x47eaa4 instanceof TextLeaf))return super['replace'](_0x24e263,_0x159502,_0x47eaa4);[_0x24e263,_0x159502]=HN(this,_0x24e263,_0x159502);let _0xdb7687=QN(this['text'],QN(_0x47eaa4['text'],jN(this['text'],0x0,_0x24e263)),_0x159502),_0x276abc=this['length']+_0x47eaa4['length']-(_0x159502-_0x24e263);return _0xdb7687['length']<=0x20?new TextLeaf(_0xdb7687,_0x276abc):DN['from'](TextLeaf['split'](_0xdb7687,[]),_0x276abc);}['sliceString'](_0x2423b9,_0x4b8f49=this['length'],_0x435ded='\x0a'){[_0x2423b9,_0x4b8f49]=HN(this,_0x2423b9,_0x4b8f49);let _0x115c2d='';for(let _0x57699c=0x0,_0x2c6434=0x0;_0x57699c<=_0x4b8f49&&_0x2c6434<this['text']['length'];_0x2c6434++){let _0x500f77=this['text'][_0x2c6434],_0xde1e64=_0x57699c+_0x500f77['length'];_0x57699c>_0x2423b9&&_0x2c6434&&(_0x115c2d+=_0x435ded),_0x2423b9<_0xde1e64&&_0x4b8f49>_0x57699c&&(_0x115c2d+=_0x500f77['slice'](Math['max'](0x0,_0x2423b9-_0x57699c),_0x4b8f49-_0x57699c)),_0x57699c=_0xde1e64+0x1;}return _0x115c2d;}['flatten'](_0x701f84){for(let _0x2d032d of this['text'])_0x701f84['push'](_0x2d032d);}['scanIdentical'](){return 0x0;}static['split'](_0x3c5348,_0x38ef18){let _0x183f31=[],_0x5a9d3a=-0x1;for(let _0x104e35 of _0x3c5348)_0x183f31['push'](_0x104e35),_0x5a9d3a+=_0x104e35['length']+0x1,0x20==_0x183f31['length']&&(_0x38ef18['push'](new TextLeaf(_0x183f31,_0x5a9d3a)),_0x183f31=[],_0x5a9d3a=-0x1);return _0x5a9d3a>-0x1&&_0x38ef18['push'](new TextLeaf(_0x183f31,_0x5a9d3a)),_0x38ef18;}},DN=class TextNode extends LN{constructor(_0x1c8797,_0x1a4008){super(),this['children']=_0x1c8797,this['length']=_0x1a4008,this['lines']=0x0;for(let _0x558bc6 of _0x1c8797)this['lines']+=_0x558bc6['lines'];}['lineInner'](_0x1dc60b,_0x1d4e8c,_0x358ec7,_0x4aaa1c){for(let _0x52b6c0=0x0;;_0x52b6c0++){let _0x290f30=this['children'][_0x52b6c0],_0x21a270=_0x4aaa1c+_0x290f30['length'],_0xfc815f=_0x358ec7+_0x290f30['lines']-0x1;if((_0x1d4e8c?_0xfc815f:_0x21a270)>=_0x1dc60b)return _0x290f30['lineInner'](_0x1dc60b,_0x1d4e8c,_0x358ec7,_0x4aaa1c);_0x4aaa1c=_0x21a270+0x1,_0x358ec7=_0xfc815f+0x1;}}['decompose'](_0x542094,_0x1f9571,_0x12c09c,_0x3571e5){for(let _0x2fa515=0x0,_0x399b31=0x0;_0x399b31<=_0x1f9571&&_0x2fa515<this['children']['length'];_0x2fa515++){let _0x5260c2=this['children'][_0x2fa515],_0x36f2f=_0x399b31+_0x5260c2['length'];if(_0x542094<=_0x36f2f&&_0x1f9571>=_0x399b31){let _0xfb607f=_0x3571e5&((_0x399b31<=_0x542094?0x1:0x0)|(_0x36f2f>=_0x1f9571?0x2:0x0));_0x399b31>=_0x542094&&_0x36f2f<=_0x1f9571&&!_0xfb607f?_0x12c09c['push'](_0x5260c2):_0x5260c2['decompose'](_0x542094-_0x399b31,_0x1f9571-_0x399b31,_0x12c09c,_0xfb607f);}_0x399b31=_0x36f2f+0x1;}}['replace'](_0x481443,_0x40bd06,_0x31671e){if([_0x481443,_0x40bd06]=HN(this,_0x481443,_0x40bd06),_0x31671e['lines']<this['lines'])for(let _0x126f7a=0x0,_0x1455bb=0x0;_0x126f7a<this['children']['length'];_0x126f7a++){let _0x3a1d3a=this['children'][_0x126f7a],_0x26b6a3=_0x1455bb+_0x3a1d3a['length'];if(_0x481443>=_0x1455bb&&_0x40bd06<=_0x26b6a3){let _0x3bd586=_0x3a1d3a['replace'](_0x481443-_0x1455bb,_0x40bd06-_0x1455bb,_0x31671e),_0x22a65a=this['lines']-_0x3a1d3a['lines']+_0x3bd586['lines'];if(_0x3bd586['lines']<_0x22a65a>>0x4&&_0x3bd586['lines']>_0x22a65a>>0x6){let _0x5581ff=this['children']['slice']();return _0x5581ff[_0x126f7a]=_0x3bd586,new TextNode(_0x5581ff,this['length']-(_0x40bd06-_0x481443)+_0x31671e['length']);}return super['replace'](_0x1455bb,_0x26b6a3,_0x3bd586);}_0x1455bb=_0x26b6a3+0x1;}return super['replace'](_0x481443,_0x40bd06,_0x31671e);}['sliceString'](_0x4f6fe0,_0x3aeabd=this['length'],_0x5ad849='\x0a'){[_0x4f6fe0,_0x3aeabd]=HN(this,_0x4f6fe0,_0x3aeabd);let _0x23dd1e='';for(let _0x51ec5c=0x0,_0x5b7e20=0x0;_0x51ec5c<this['children']['length']&&_0x5b7e20<=_0x3aeabd;_0x51ec5c++){let _0x5a4652=this['children'][_0x51ec5c],_0x3abfbf=_0x5b7e20+_0x5a4652['length'];_0x5b7e20>_0x4f6fe0&&_0x51ec5c&&(_0x23dd1e+=_0x5ad849),_0x4f6fe0<_0x3abfbf&&_0x3aeabd>_0x5b7e20&&(_0x23dd1e+=_0x5a4652['sliceString'](_0x4f6fe0-_0x5b7e20,_0x3aeabd-_0x5b7e20,_0x5ad849)),_0x5b7e20=_0x3abfbf+0x1;}return _0x23dd1e;}['flatten'](_0x3ad9ae){for(let _0x4c758b of this['children'])_0x4c758b['flatten'](_0x3ad9ae);}['scanIdentical'](_0x1c9967,_0x398073){if(!(_0x1c9967 instanceof TextNode))return 0x0;let _0x511f3d=0x0,[_0x397860,_0x37b1f5,_0x37d71d,_0x394319]=_0x398073>0x0?[0x0,0x0,this['children']['length'],_0x1c9967['children']['length']]:[this['children']['length']-0x1,_0x1c9967['children']['length']-0x1,-0x1,-0x1];for(;;_0x397860+=_0x398073,_0x37b1f5+=_0x398073){if(_0x397860==_0x37d71d||_0x37b1f5==_0x394319)return _0x511f3d;let _0x3986ae=this['children'][_0x397860],_0x5f193f=_0x1c9967['children'][_0x37b1f5];if(_0x3986ae!=_0x5f193f)return _0x511f3d+_0x3986ae['scanIdentical'](_0x5f193f,_0x398073);_0x511f3d+=_0x3986ae['length']+0x1;}}static['from'](_0x5cdd62,_0x1ea387=_0x5cdd62['reduce']((_0x4352b3,_0x155832)=>_0x4352b3+_0x155832['length']+0x1,-0x1)){let _0x385f61=0x0;for(let _0x2a9528 of _0x5cdd62)_0x385f61+=_0x2a9528['lines'];if(_0x385f61<0x20){let _0x28c8d6=[];for(let _0x1e822e of _0x5cdd62)_0x1e822e['flatten'](_0x28c8d6);return new $N(_0x28c8d6,_0x1ea387);}let _0x30612d=Math['max'](0x20,_0x385f61>>0x5),_0x37c3ce=_0x30612d<<0x1,_0x518dc2=_0x30612d>>0x1,_0x56ecaa=[],_0x3c292d=0x0,_0x511f12=-0x1,_0x42317f=[];function _0x1a5958(_0x224709){let _0x48e548;if(_0x224709['lines']>_0x37c3ce&&_0x224709 instanceof TextNode){for(let _0xf96c4 of _0x224709['children'])_0x1a5958(_0xf96c4);}else _0x224709['lines']>_0x518dc2&&(_0x3c292d>_0x518dc2||!_0x3c292d)?(_0xff0aa(),_0x56ecaa['push'](_0x224709)):_0x224709 instanceof $N&&_0x3c292d&&(_0x48e548=_0x42317f[_0x42317f['length']-0x1])instanceof $N&&_0x224709['lines']+_0x48e548['lines']<=0x20?(_0x3c292d+=_0x224709['lines'],_0x511f12+=_0x224709['length']+0x1,_0x42317f[_0x42317f['length']-0x1]=new $N(_0x48e548['text']['concat'](_0x224709['text']),_0x48e548['length']+0x1+_0x224709['length'])):(_0x3c292d+_0x224709['lines']>_0x30612d&&_0xff0aa(),_0x3c292d+=_0x224709['lines'],_0x511f12+=_0x224709['length']+0x1,_0x42317f['push'](_0x224709));}function _0xff0aa(){0x0!=_0x3c292d&&(_0x56ecaa['push'](0x1==_0x42317f['length']?_0x42317f[0x0]:TextNode['from'](_0x42317f,_0x511f12)),_0x511f12=-0x1,_0x3c292d=_0x42317f['length']=0x0);}for(let _0x370edf of _0x5cdd62)_0x1a5958(_0x370edf);return _0xff0aa(),0x1==_0x56ecaa['length']?_0x56ecaa[0x0]:new TextNode(_0x56ecaa,_0x1ea387);}};function QN(_0x1e7a4f,_0x3ed647,_0x556602=0x0,_0x2a4703=0x3b9aca00){for(let _0x3bd867=0x0,_0x11074c=0x0,_0x522597=!0x0;_0x11074c<_0x1e7a4f['length']&&_0x3bd867<=_0x2a4703;_0x11074c++){let _0x15f893=_0x1e7a4f[_0x11074c],_0x1e2fbb=_0x3bd867+_0x15f893['length'];_0x1e2fbb>=_0x556602&&(_0x1e2fbb>_0x2a4703&&(_0x15f893=_0x15f893['slice'](0x0,_0x2a4703-_0x3bd867)),_0x3bd867<_0x556602&&(_0x15f893=_0x15f893['slice'](_0x556602-_0x3bd867)),_0x522597?(_0x3ed647[_0x3ed647['length']-0x1]+=_0x15f893,_0x522597=!0x1):_0x3ed647['push'](_0x15f893)),_0x3bd867=_0x1e2fbb+0x1;}return _0x3ed647;}function jN(_0x327aa4,_0x5a574e,_0x182942){return QN(_0x327aa4,[''],_0x5a574e,_0x182942);}LN['empty']=new $N([''],0x0);var UN=class{constructor(_0x24323a,_0x10c0b5=0x1){this['dir']=_0x10c0b5,this['done']=!0x1,this['lineBreak']=!0x1,this['value']='',this['nodes']=[_0x24323a],this['offsets']=[_0x10c0b5>0x0?0x1:(_0x24323a instanceof $N?_0x24323a['text']['length']:_0x24323a['children']['length'])<<0x1];}['nextInner'](_0x22fef6,_0x1c91f2){for(this['done']=this['lineBreak']=!0x1;;){let _0xd707b6=this['nodes']['length']-0x1,_0x58315b=this['nodes'][_0xd707b6],_0x61d213=this['offsets'][_0xd707b6],_0x4d17d0=_0x61d213>>0x1,_0x200aef=_0x58315b instanceof $N?_0x58315b['text']['length']:_0x58315b['children']['length'];if(_0x4d17d0==(_0x1c91f2>0x0?_0x200aef:0x0)){if(0x0==_0xd707b6)return this['done']=!0x0,this['value']='',this;_0x1c91f2>0x0&&this['offsets'][_0xd707b6-0x1]++,this['nodes']['pop'](),this['offsets']['pop']();}else{if((0x1&_0x61d213)==(_0x1c91f2>0x0?0x0:0x1)){if(this['offsets'][_0xd707b6]+=_0x1c91f2,0x0==_0x22fef6)return this['lineBreak']=!0x0,this['value']='\x0a',this;_0x22fef6--;}else{if(_0x58315b instanceof $N){let _0x579687=_0x58315b['text'][_0x4d17d0+(_0x1c91f2<0x0?-0x1:0x0)];if(this['offsets'][_0xd707b6]+=_0x1c91f2,_0x579687['length']>Math['max'](0x0,_0x22fef6))return this['value']=0x0==_0x22fef6?_0x579687:_0x1c91f2>0x0?_0x579687['slice'](_0x22fef6):_0x579687['slice'](0x0,_0x579687['length']-_0x22fef6),this;_0x22fef6-=_0x579687['length'];}else{let _0x24fb51=_0x58315b['children'][_0x4d17d0+(_0x1c91f2<0x0?-0x1:0x0)];_0x22fef6>_0x24fb51['length']?(_0x22fef6-=_0x24fb51['length'],this['offsets'][_0xd707b6]+=_0x1c91f2):(_0x1c91f2<0x0&&this['offsets'][_0xd707b6]--,this['nodes']['push'](_0x24fb51),this['offsets']['push'](_0x1c91f2>0x0?0x1:(_0x24fb51 instanceof $N?_0x24fb51['text']['length']:_0x24fb51['children']['length'])<<0x1));}}}}}['next'](_0x468620=0x0){return _0x468620<0x0&&(this['nextInner'](-_0x468620,-this['dir']),_0x468620=this['value']['length']),this['nextInner'](_0x468620,this['dir']);}},VN=class{constructor(_0x15465c,_0x5a51ad,_0x2328e7){this['value']='',this['done']=!0x1,this['cursor']=new UN(_0x15465c,_0x5a51ad>_0x2328e7?-0x1:0x1),this['pos']=_0x5a51ad>_0x2328e7?_0x15465c['length']:0x0,this['from']=Math['min'](_0x5a51ad,_0x2328e7),this['to']=Math['max'](_0x5a51ad,_0x2328e7);}['nextInner'](_0x540056,_0x3466a8){if(_0x3466a8<0x0?this['pos']<=this['from']:this['pos']>=this['to'])return this['value']='',this['done']=!0x0,this;_0x540056+=Math['max'](0x0,_0x3466a8<0x0?this['pos']-this['to']:this['from']-this['pos']);let _0x563b5a=_0x3466a8<0x0?this['pos']-this['from']:this['to']-this['pos'];_0x540056>_0x563b5a&&(_0x540056=_0x563b5a),_0x563b5a-=_0x540056;let {value:_0x129c7e}=this['cursor']['next'](_0x540056);return this['pos']+=(_0x129c7e['length']+_0x540056)*_0x3466a8,this['value']=_0x129c7e['length']<=_0x563b5a?_0x129c7e:_0x3466a8<0x0?_0x129c7e['slice'](_0x129c7e['length']-_0x563b5a):_0x129c7e['slice'](0x0,_0x563b5a),this['done']=!this['value'],this;}['next'](_0x443dd=0x0){return _0x443dd<0x0?_0x443dd=Math['max'](_0x443dd,this['from']-this['pos']):_0x443dd>0x0&&(_0x443dd=Math['min'](_0x443dd,this['to']-this['pos'])),this['nextInner'](_0x443dd,this['cursor']['dir']);}get['lineBreak'](){return this['cursor']['lineBreak']&&''!=this['value'];}},BN=class{constructor(_0x2eb3e4){this['inner']=_0x2eb3e4,this['afterBreak']=!0x0,this['value']='',this['done']=!0x1;}['next'](_0x54535f=0x0){let {done:_0x3a7eda,lineBreak:_0x32eb8e,value:_0x30362e}=this['inner']['next'](_0x54535f);return _0x3a7eda&&this['afterBreak']?(this['value']='',this['afterBreak']=!0x1):_0x3a7eda?(this['done']=!0x0,this['value']=''):_0x32eb8e?this['afterBreak']?this['value']='':(this['afterBreak']=!0x0,this['next']()):(this['value']=_0x30362e,this['afterBreak']=!0x1),this;}get['lineBreak'](){return!0x1;}};'undefined'!=typeof Symbol&&(LN['prototype'][Symbol['iterator']]=function(){return this['iter']();},UN['prototype'][Symbol['iterator']]=VN['prototype'][Symbol['iterator']]=BN['prototype'][Symbol['iterator']]=function(){return this;});var FN=class{constructor(_0x188096,_0x47e959,_0x24f779,_0x5a1740){this['from']=_0x188096,this['to']=_0x47e959,this['number']=_0x24f779,this['text']=_0x5a1740;}get['length'](){return this['to']-this['from'];}};function HN(_0x3996a6,_0x25aa2a,_0x4aeea0){return[_0x25aa2a=Math['max'](0x0,Math['min'](_0x3996a6['length'],_0x25aa2a)),Math['max'](_0x25aa2a,Math['min'](_0x3996a6['length'],_0x4aeea0))];}function ZN(_0x37989f,_0x537145,_0x505dd2=!0x0,_0x56485a=!0x0){return kN(_0x37989f,_0x537145,_0x505dd2,_0x56485a);}function GN(_0xdf39d6,_0x35d888){let _0x2feb65=_0xdf39d6['charCodeAt'](_0x35d888);if(!(_0x241184=_0x2feb65,_0x241184>=0xd800&&_0x241184<0xdc00&&_0x35d888+0x1!=_0xdf39d6['length']))return _0x2feb65;var _0x241184;let _0x50012c=_0xdf39d6['charCodeAt'](_0x35d888+0x1);return function(_0x10c1ff){return _0x10c1ff>=0xdc00&&_0x10c1ff<0xe000;}(_0x50012c)?_0x50012c-0xdc00+(_0x2feb65-0xd800<<0xa)+0x10000:_0x2feb65;}function XN(_0x5ae80e){return _0x5ae80e<=0xffff?String['fromCharCode'](_0x5ae80e):(_0x5ae80e-=0x10000,String['fromCharCode'](0xd800+(_0x5ae80e>>0xa),0xdc00+(0x3ff&_0x5ae80e)));}function qN(_0x10225d){return _0x10225d<0x10000?0x1:0x2;}const WN=/\r\n?|\n/;var zN=function(_0xeb0a78){return _0xeb0a78[_0xeb0a78['Simple']=0x0]='Simple',_0xeb0a78[_0xeb0a78['TrackDel']=0x1]='TrackDel',_0xeb0a78[_0xeb0a78['TrackBefore']=0x2]='TrackBefore',_0xeb0a78[_0xeb0a78['TrackAfter']=0x3]='TrackAfter',_0xeb0a78;}(zN||(zN={})),YN=class ChangeDesc{constructor(_0x527943){this['sections']=_0x527943;}get['length'](){let _0x1c1483=0x0;for(let _0x175ccf=0x0;_0x175ccf<this['sections']['length'];_0x175ccf+=0x2)_0x1c1483+=this['sections'][_0x175ccf];return _0x1c1483;}get['newLength'](){let _0x48408a=0x0;for(let _0x5ccd95=0x0;_0x5ccd95<this['sections']['length'];_0x5ccd95+=0x2){let _0x1fc444=this['sections'][_0x5ccd95+0x1];_0x48408a+=_0x1fc444<0x0?this['sections'][_0x5ccd95]:_0x1fc444;}return _0x48408a;}get['empty'](){return 0x0==this['sections']['length']||0x2==this['sections']['length']&&this['sections'][0x1]<0x0;}['iterGaps'](_0x21c070){for(let _0x4adb20=0x0,_0x6ae49a=0x0,_0x5e3cee=0x0;_0x4adb20<this['sections']['length'];){let _0x203eac=this['sections'][_0x4adb20++],_0x308821=this['sections'][_0x4adb20++];_0x308821<0x0?(_0x21c070(_0x6ae49a,_0x5e3cee,_0x203eac),_0x5e3cee+=_0x203eac):_0x5e3cee+=_0x308821,_0x6ae49a+=_0x203eac;}}['iterChangedRanges'](_0x32a3d6,_0x3ba899=!0x1){eL(this,_0x32a3d6,_0x3ba899);}get['invertedDesc'](){let _0x5233ea=[];for(let _0x3a7a16=0x0;_0x3a7a16<this['sections']['length'];){let _0x45b2fb=this['sections'][_0x3a7a16++],_0x485846=this['sections'][_0x3a7a16++];_0x485846<0x0?_0x5233ea['push'](_0x45b2fb,_0x485846):_0x5233ea['push'](_0x485846,_0x45b2fb);}return new ChangeDesc(_0x5233ea);}['composeDesc'](_0x1a7f47){return this['empty']?_0x1a7f47:_0x1a7f47['empty']?this:sL(this,_0x1a7f47);}['mapDesc'](_0x30470f,_0x3e7437=!0x1){return _0x30470f['empty']?this:iL(this,_0x30470f,_0x3e7437);}['mapPos'](_0xff1514,_0x5b938c=-0x1,_0x4e81d6=zN['Simple']){let _0x5078ed=0x0,_0x1b17a3=0x0;for(let _0x47c719=0x0;_0x47c719<this['sections']['length'];){let _0x4a5032=this['sections'][_0x47c719++],_0x49ea8f=this['sections'][_0x47c719++],_0x2e0d00=_0x5078ed+_0x4a5032;if(_0x49ea8f<0x0){if(_0x2e0d00>_0xff1514)return _0x1b17a3+(_0xff1514-_0x5078ed);_0x1b17a3+=_0x4a5032;}else{if(_0x4e81d6!=zN['Simple']&&_0x2e0d00>=_0xff1514&&(_0x4e81d6==zN['TrackDel']&&_0x5078ed<_0xff1514&&_0x2e0d00>_0xff1514||_0x4e81d6==zN['TrackBefore']&&_0x5078ed<_0xff1514||_0x4e81d6==zN['TrackAfter']&&_0x2e0d00>_0xff1514))return null;if(_0x2e0d00>_0xff1514||_0x2e0d00==_0xff1514&&_0x5b938c<0x0&&!_0x4a5032)return _0xff1514==_0x5078ed||_0x5b938c<0x0?_0x1b17a3:_0x1b17a3+_0x49ea8f;_0x1b17a3+=_0x49ea8f;}_0x5078ed=_0x2e0d00;}if(_0xff1514>_0x5078ed)throw new RangeError('Position\x20'+_0xff1514+'\x20is\x20out\x20of\x20range\x20for\x20changeset\x20of\x20length\x20'+_0x5078ed);return _0x1b17a3;}['touchesRange'](_0x46444d,_0x44653e=_0x46444d){for(let _0x247489=0x0,_0x13ed87=0x0;_0x247489<this['sections']['length']&&_0x13ed87<=_0x44653e;){let _0x42f3ef=_0x13ed87+this['sections'][_0x247489++];if(this['sections'][_0x247489++]>=0x0&&_0x13ed87<=_0x44653e&&_0x42f3ef>=_0x46444d)return!(_0x13ed87<_0x46444d&&_0x42f3ef>_0x44653e)||'cover';_0x13ed87=_0x42f3ef;}return!0x1;}['toString'](){let _0x4a0c0b='';for(let _0x9bcc78=0x0;_0x9bcc78<this['sections']['length'];){let _0x4d7efa=this['sections'][_0x9bcc78++],_0x41c6ac=this['sections'][_0x9bcc78++];_0x4a0c0b+=(_0x4a0c0b?'\x20':'')+_0x4d7efa+(_0x41c6ac>=0x0?':'+_0x41c6ac:'');}return _0x4a0c0b;}['toJSON'](){return this['sections'];}static['fromJSON'](_0xfac8fd){if(!Array['isArray'](_0xfac8fd)||_0xfac8fd['length']%0x2||_0xfac8fd['some'](_0x77980a=>'number'!=typeof _0x77980a))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeDesc');return new ChangeDesc(_0xfac8fd);}static['create'](_0x25e64e){return new ChangeDesc(_0x25e64e);}},KN=class ChangeSet extends YN{constructor(_0x5203ee,_0x53f858){super(_0x5203ee),this['inserted']=_0x53f858;}['apply'](_0x2c3481){if(this['length']!=_0x2c3481['length'])throw new RangeError('Applying\x20change\x20set\x20to\x20a\x20document\x20with\x20the\x20wrong\x20length');return eL(this,(_0x2283f4,_0xbaf9d5,_0x34a56f,_0x3bbe4a,_0x2b6641)=>_0x2c3481=_0x2c3481['replace'](_0x34a56f,_0x34a56f+(_0xbaf9d5-_0x2283f4),_0x2b6641),!0x1),_0x2c3481;}['mapDesc'](_0x41ffac,_0x400ac7=!0x1){return iL(this,_0x41ffac,_0x400ac7,!0x0);}['invert'](_0x3bf181){let _0x1ac0f4=this['sections']['slice'](),_0xaaf11=[];for(let _0x8d3ff2=0x0,_0x9aff90=0x0;_0x8d3ff2<_0x1ac0f4['length'];_0x8d3ff2+=0x2){let _0x4007d6=_0x1ac0f4[_0x8d3ff2],_0xa5d935=_0x1ac0f4[_0x8d3ff2+0x1];if(_0xa5d935>=0x0){_0x1ac0f4[_0x8d3ff2]=_0xa5d935,_0x1ac0f4[_0x8d3ff2+0x1]=_0x4007d6;let _0x4adee0=_0x8d3ff2>>0x1;for(;_0xaaf11['length']<_0x4adee0;)_0xaaf11['push'](LN['empty']);_0xaaf11['push'](_0x4007d6?_0x3bf181['slice'](_0x9aff90,_0x9aff90+_0x4007d6):LN['empty']);}_0x9aff90+=_0x4007d6;}return new ChangeSet(_0x1ac0f4,_0xaaf11);}['compose'](_0x2fe814){return this['empty']?_0x2fe814:_0x2fe814['empty']?this:sL(this,_0x2fe814,!0x0);}['map'](_0x4eea7a,_0x337c8a=!0x1){return _0x4eea7a['empty']?this:iL(this,_0x4eea7a,_0x337c8a,!0x0);}['iterChanges'](_0x2bf50b,_0x2c0aa6=!0x1){eL(this,_0x2bf50b,_0x2c0aa6);}get['desc'](){return YN['create'](this['sections']);}['filter'](_0x7ffedd){let _0x26a05e=[],_0x293212=[],_0x23ab6d=[],_0x48f4fa=new nL(this);t:for(let _0x535c3f=0x0,_0x17b448=0x0;;){let _0x1ad0ba=_0x535c3f==_0x7ffedd['length']?0x3b9aca00:_0x7ffedd[_0x535c3f++];for(;_0x17b448<_0x1ad0ba||_0x17b448==_0x1ad0ba&&0x0==_0x48f4fa['len'];){if(_0x48f4fa['done'])break t;let _0x17f749=Math['min'](_0x48f4fa['len'],_0x1ad0ba-_0x17b448);JN(_0x23ab6d,_0x17f749,-0x1);let _0x3c820c=-0x1==_0x48f4fa['ins']?-0x1:0x0==_0x48f4fa['off']?_0x48f4fa['ins']:0x0;JN(_0x26a05e,_0x17f749,_0x3c820c),_0x3c820c>0x0&&tL(_0x293212,_0x26a05e,_0x48f4fa['text']),_0x48f4fa['forward'](_0x17f749),_0x17b448+=_0x17f749;}let _0x3b4909=_0x7ffedd[_0x535c3f++];for(;_0x17b448<_0x3b4909;){if(_0x48f4fa['done'])break t;let _0x1c2104=Math['min'](_0x48f4fa['len'],_0x3b4909-_0x17b448);JN(_0x26a05e,_0x1c2104,-0x1),JN(_0x23ab6d,_0x1c2104,-0x1==_0x48f4fa['ins']?-0x1:0x0==_0x48f4fa['off']?_0x48f4fa['ins']:0x0),_0x48f4fa['forward'](_0x1c2104),_0x17b448+=_0x1c2104;}}return{'changes':new ChangeSet(_0x26a05e,_0x293212),'filtered':YN['create'](_0x23ab6d)};}['toJSON'](){let _0x577452=[];for(let _0x141171=0x0;_0x141171<this['sections']['length'];_0x141171+=0x2){let _0xbb5e6c=this['sections'][_0x141171],_0x40f456=this['sections'][_0x141171+0x1];_0x40f456<0x0?_0x577452['push'](_0xbb5e6c):0x0==_0x40f456?_0x577452['push']([_0xbb5e6c]):_0x577452['push']([_0xbb5e6c]['concat'](this['inserted'][_0x141171>>0x1]['toJSON']()));}return _0x577452;}static['of'](_0x32aec9,_0x1dca60,_0x222412){let _0x494cce=[],_0x21adaa=[],_0x3a9563=0x0,_0x4c86e9=null;function _0x3b8a65(_0x4c77a2=!0x1){if(!_0x4c77a2&&!_0x494cce['length'])return;_0x3a9563<_0x1dca60&&JN(_0x494cce,_0x1dca60-_0x3a9563,-0x1);let _0x58993c=new ChangeSet(_0x494cce,_0x21adaa);_0x4c86e9=_0x4c86e9?_0x4c86e9['compose'](_0x58993c['map'](_0x4c86e9)):_0x58993c,_0x494cce=[],_0x21adaa=[],_0x3a9563=0x0;}return function _0x601f0b(_0x24d341){if(Array['isArray'](_0x24d341)){for(let _0x4838fc of _0x24d341)_0x601f0b(_0x4838fc);}else{if(_0x24d341 instanceof ChangeSet){if(_0x24d341['length']!=_0x1dca60)throw new RangeError('Mismatched\x20change\x20set\x20length\x20(got\x20'+_0x24d341['length']+',\x20expected\x20'+_0x1dca60+')');_0x3b8a65(),_0x4c86e9=_0x4c86e9?_0x4c86e9['compose'](_0x24d341['map'](_0x4c86e9)):_0x24d341;}else{let {from:_0x2e19cd,to:_0x2dad86=_0x2e19cd,insert:_0xff56a0}=_0x24d341;if(_0x2e19cd>_0x2dad86||_0x2e19cd<0x0||_0x2dad86>_0x1dca60)throw new RangeError('Invalid\x20change\x20range\x20'+_0x2e19cd+'\x20to\x20'+_0x2dad86+'\x20(in\x20doc\x20of\x20length\x20'+_0x1dca60+')');let _0x1298f5=_0xff56a0?'string'==typeof _0xff56a0?LN['of'](_0xff56a0['split'](_0x222412||WN)):_0xff56a0:LN['empty'],_0x5eeba3=_0x1298f5['length'];if(_0x2e19cd==_0x2dad86&&0x0==_0x5eeba3)return;_0x2e19cd<_0x3a9563&&_0x3b8a65(),_0x2e19cd>_0x3a9563&&JN(_0x494cce,_0x2e19cd-_0x3a9563,-0x1),JN(_0x494cce,_0x2dad86-_0x2e19cd,_0x5eeba3),tL(_0x21adaa,_0x494cce,_0x1298f5),_0x3a9563=_0x2dad86;}}}(_0x32aec9),_0x3b8a65(!_0x4c86e9),_0x4c86e9;}static['empty'](_0x949a3c){return new ChangeSet(_0x949a3c?[_0x949a3c,-0x1]:[],[]);}static['fromJSON'](_0x2c4c67){if(!Array['isArray'](_0x2c4c67))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');let _0x127aae=[],_0x333799=[];for(let _0x4e5eb9=0x0;_0x4e5eb9<_0x2c4c67['length'];_0x4e5eb9++){let _0x9fedf7=_0x2c4c67[_0x4e5eb9];if('number'==typeof _0x9fedf7)_0x127aae['push'](_0x9fedf7,-0x1);else{if(!Array['isArray'](_0x9fedf7)||'number'!=typeof _0x9fedf7[0x0]||_0x9fedf7['some']((_0x5d16c6,_0x31f632)=>_0x31f632&&'string'!=typeof _0x5d16c6))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');if(0x1==_0x9fedf7['length'])_0x127aae['push'](_0x9fedf7[0x0],0x0);else{for(;_0x333799['length']<_0x4e5eb9;)_0x333799['push'](LN['empty']);_0x333799[_0x4e5eb9]=LN['of'](_0x9fedf7['slice'](0x1)),_0x127aae['push'](_0x9fedf7[0x0],_0x333799[_0x4e5eb9]['length']);}}}return new ChangeSet(_0x127aae,_0x333799);}static['createSet'](_0x13553d,_0x400d22){return new ChangeSet(_0x13553d,_0x400d22);}};function JN(_0x237231,_0x8084d8,_0x316b71,_0x35b817=!0x1){if(0x0==_0x8084d8&&_0x316b71<=0x0)return;let _0x33985f=_0x237231['length']-0x2;_0x33985f>=0x0&&_0x316b71<=0x0&&_0x316b71==_0x237231[_0x33985f+0x1]?_0x237231[_0x33985f]+=_0x8084d8:_0x33985f>=0x0&&0x0==_0x8084d8&&0x0==_0x237231[_0x33985f]?_0x237231[_0x33985f+0x1]+=_0x316b71:_0x35b817?(_0x237231[_0x33985f]+=_0x8084d8,_0x237231[_0x33985f+0x1]+=_0x316b71):_0x237231['push'](_0x8084d8,_0x316b71);}function tL(_0x341e5f,_0x28364e,_0x4d42d3){if(0x0==_0x4d42d3['length'])return;let _0x558701=_0x28364e['length']-0x2>>0x1;if(_0x558701<_0x341e5f['length'])_0x341e5f[_0x341e5f['length']-0x1]=_0x341e5f[_0x341e5f['length']-0x1]['append'](_0x4d42d3);else{for(;_0x341e5f['length']<_0x558701;)_0x341e5f['push'](LN['empty']);_0x341e5f['push'](_0x4d42d3);}}function eL(_0x264f02,_0x222650,_0x76037b){let _0xc3a8b=_0x264f02['inserted'];for(let _0x1b5b4a=0x0,_0x4fe45d=0x0,_0x196d0d=0x0;_0x196d0d<_0x264f02['sections']['length'];){let _0x276631=_0x264f02['sections'][_0x196d0d++],_0x32a43f=_0x264f02['sections'][_0x196d0d++];if(_0x32a43f<0x0)_0x1b5b4a+=_0x276631,_0x4fe45d+=_0x276631;else{let _0x6ac918=_0x1b5b4a,_0x72e8ff=_0x4fe45d,_0x11c736=LN['empty'];for(;_0x6ac918+=_0x276631,_0x72e8ff+=_0x32a43f,_0x32a43f&&_0xc3a8b&&(_0x11c736=_0x11c736['append'](_0xc3a8b[_0x196d0d-0x2>>0x1])),!(_0x76037b||_0x196d0d==_0x264f02['sections']['length']||_0x264f02['sections'][_0x196d0d+0x1]<0x0);)_0x276631=_0x264f02['sections'][_0x196d0d++],_0x32a43f=_0x264f02['sections'][_0x196d0d++];_0x222650(_0x1b5b4a,_0x6ac918,_0x4fe45d,_0x72e8ff,_0x11c736),_0x1b5b4a=_0x6ac918,_0x4fe45d=_0x72e8ff;}}}function iL(_0x38f85f,_0x11de94,_0x58d8be,_0x580d94=!0x1){let _0x44f9c=[],_0x2bbb4c=_0x580d94?[]:null,_0x4139ad=new nL(_0x38f85f),_0x48e714=new nL(_0x11de94);for(let _0x48c26e=-0x1;;){if(_0x4139ad['done']&&_0x48e714['len']||_0x48e714['done']&&_0x4139ad['len'])throw new Error('Mismatched\x20change\x20set\x20lengths');if(-0x1==_0x4139ad['ins']&&-0x1==_0x48e714['ins']){let _0x157970=Math['min'](_0x4139ad['len'],_0x48e714['len']);JN(_0x44f9c,_0x157970,-0x1),_0x4139ad['forward'](_0x157970),_0x48e714['forward'](_0x157970);}else{if(_0x48e714['ins']>=0x0&&(_0x4139ad['ins']<0x0||_0x48c26e==_0x4139ad['i']||0x0==_0x4139ad['off']&&(_0x48e714['len']<_0x4139ad['len']||_0x48e714['len']==_0x4139ad['len']&&!_0x58d8be))){let _0x12d452=_0x48e714['len'];for(JN(_0x44f9c,_0x48e714['ins'],-0x1);_0x12d452;){let _0x3f84f5=Math['min'](_0x4139ad['len'],_0x12d452);_0x4139ad['ins']>=0x0&&_0x48c26e<_0x4139ad['i']&&_0x4139ad['len']<=_0x3f84f5&&(JN(_0x44f9c,0x0,_0x4139ad['ins']),_0x2bbb4c&&tL(_0x2bbb4c,_0x44f9c,_0x4139ad['text']),_0x48c26e=_0x4139ad['i']),_0x4139ad['forward'](_0x3f84f5),_0x12d452-=_0x3f84f5;}_0x48e714['next']();}else{if(!(_0x4139ad['ins']>=0x0)){if(_0x4139ad['done']&&_0x48e714['done'])return _0x2bbb4c?KN['createSet'](_0x44f9c,_0x2bbb4c):YN['create'](_0x44f9c);throw new Error('Mismatched\x20change\x20set\x20lengths');}{let _0x2fdb5d=0x0,_0x1fb936=_0x4139ad['len'];for(;_0x1fb936;)if(-0x1==_0x48e714['ins']){let _0x4ab458=Math['min'](_0x1fb936,_0x48e714['len']);_0x2fdb5d+=_0x4ab458,_0x1fb936-=_0x4ab458,_0x48e714['forward'](_0x4ab458);}else{if(!(0x0==_0x48e714['ins']&&_0x48e714['len']<_0x1fb936))break;_0x1fb936-=_0x48e714['len'],_0x48e714['next']();}JN(_0x44f9c,_0x2fdb5d,_0x48c26e<_0x4139ad['i']?_0x4139ad['ins']:0x0),_0x2bbb4c&&_0x48c26e<_0x4139ad['i']&&tL(_0x2bbb4c,_0x44f9c,_0x4139ad['text']),_0x48c26e=_0x4139ad['i'],_0x4139ad['forward'](_0x4139ad['len']-_0x1fb936);}}}}}function sL(_0x535025,_0x53d190,_0x4f4851=!0x1){let _0x3375c2=[],_0x3d8edd=_0x4f4851?[]:null,_0x31c478=new nL(_0x535025),_0x527a9f=new nL(_0x53d190);for(let _0x570886=!0x1;;){if(_0x31c478['done']&&_0x527a9f['done'])return _0x3d8edd?KN['createSet'](_0x3375c2,_0x3d8edd):YN['create'](_0x3375c2);if(0x0==_0x31c478['ins'])JN(_0x3375c2,_0x31c478['len'],0x0,_0x570886),_0x31c478['next']();else{if(0x0!=_0x527a9f['len']||_0x527a9f['done']){if(_0x31c478['done']||_0x527a9f['done'])throw new Error('Mismatched\x20change\x20set\x20lengths');{let _0x1aefef=Math['min'](_0x31c478['len2'],_0x527a9f['len']),_0x5adcb0=_0x3375c2['length'];if(-0x1==_0x31c478['ins']){let _0x3ac7b8=-0x1==_0x527a9f['ins']?-0x1:_0x527a9f['off']?0x0:_0x527a9f['ins'];JN(_0x3375c2,_0x1aefef,_0x3ac7b8,_0x570886),_0x3d8edd&&_0x3ac7b8&&tL(_0x3d8edd,_0x3375c2,_0x527a9f['text']);}else-0x1==_0x527a9f['ins']?(JN(_0x3375c2,_0x31c478['off']?0x0:_0x31c478['len'],_0x1aefef,_0x570886),_0x3d8edd&&tL(_0x3d8edd,_0x3375c2,_0x31c478['textBit'](_0x1aefef))):(JN(_0x3375c2,_0x31c478['off']?0x0:_0x31c478['len'],_0x527a9f['off']?0x0:_0x527a9f['ins'],_0x570886),_0x3d8edd&&!_0x527a9f['off']&&tL(_0x3d8edd,_0x3375c2,_0x527a9f['text']));_0x570886=(_0x31c478['ins']>_0x1aefef||_0x527a9f['ins']>=0x0&&_0x527a9f['len']>_0x1aefef)&&(_0x570886||_0x3375c2['length']>_0x5adcb0),_0x31c478['forward2'](_0x1aefef),_0x527a9f['forward'](_0x1aefef);}}else JN(_0x3375c2,0x0,_0x527a9f['ins'],_0x570886),_0x3d8edd&&tL(_0x3d8edd,_0x3375c2,_0x527a9f['text']),_0x527a9f['next']();}}}var nL=class{constructor(_0x1d9631){this['set']=_0x1d9631,this['i']=0x0,this['next']();}['next'](){let {sections:_0x67c3b8}=this['set'];this['i']<_0x67c3b8['length']?(this['len']=_0x67c3b8[this['i']++],this['ins']=_0x67c3b8[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:_0x354e55}=this['set'],_0x347163=this['i']-0x2>>0x1;return _0x347163>=_0x354e55['length']?LN['empty']:_0x354e55[_0x347163];}['textBit'](_0x4ee72f){let {inserted:_0x474835}=this['set'],_0x1b4808=this['i']-0x2>>0x1;return _0x1b4808>=_0x474835['length']&&!_0x4ee72f?LN['empty']:_0x474835[_0x1b4808]['slice'](this['off'],null==_0x4ee72f?void 0x0:this['off']+_0x4ee72f);}['forward'](_0x3215a2){_0x3215a2==this['len']?this['next']():(this['len']-=_0x3215a2,this['off']+=_0x3215a2);}['forward2'](_0x52ca6a){-0x1==this['ins']?this['forward'](_0x52ca6a):_0x52ca6a==this['ins']?this['next']():(this['ins']-=_0x52ca6a,this['off']+=_0x52ca6a);}},rL=class SelectionRange{constructor(_0x127d0a,_0x407b0c,_0x2c1fb8){this['from']=_0x127d0a,this['to']=_0x407b0c,this['flags']=_0x2c1fb8;}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 _0x1fa88c=0x7&this['flags'];return 0x7==_0x1fa88c?null:_0x1fa88c;}get['goalColumn'](){let _0x26cf4e=this['flags']>>0x6;return 0xffffff==_0x26cf4e?void 0x0:_0x26cf4e;}['map'](_0x481da9,_0x7f1d0a=-0x1){let _0x4fb610,_0x451cb7;return this['empty']?_0x4fb610=_0x451cb7=_0x481da9['mapPos'](this['from'],_0x7f1d0a):(_0x4fb610=_0x481da9['mapPos'](this['from'],0x1),_0x451cb7=_0x481da9['mapPos'](this['to'],-0x1)),_0x4fb610==this['from']&&_0x451cb7==this['to']?this:new SelectionRange(_0x4fb610,_0x451cb7,this['flags']);}['extend'](_0x4b1cf4,_0x49f4d0=_0x4b1cf4,_0x4f5b5c=0x0){if(_0x4b1cf4<=this['anchor']&&_0x49f4d0>=this['anchor'])return oL['range'](_0x4b1cf4,_0x49f4d0,void 0x0,void 0x0,_0x4f5b5c);let _0xfe966=Math['abs'](_0x4b1cf4-this['anchor'])>Math['abs'](_0x49f4d0-this['anchor'])?_0x4b1cf4:_0x49f4d0;return oL['range'](this['anchor'],_0xfe966,void 0x0,void 0x0,_0x4f5b5c);}['eq'](_0x3d841f,_0x413195=!0x1){return!(this['anchor']!=_0x3d841f['anchor']||this['head']!=_0x3d841f['head']||this['goalColumn']!=_0x3d841f['goalColumn']||_0x413195&&this['empty']&&this['assoc']!=_0x3d841f['assoc']);}['toJSON'](){return{'anchor':this['anchor'],'head':this['head']};}static['fromJSON'](_0xff35b7){if(!_0xff35b7||'number'!=typeof _0xff35b7['anchor']||'number'!=typeof _0xff35b7['head'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20SelectionRange');return oL['range'](_0xff35b7['anchor'],_0xff35b7['head']);}static['create'](_0x1875a9,_0x131b04,_0x405cb7){return new SelectionRange(_0x1875a9,_0x131b04,_0x405cb7);}},oL=class EditorSelection{constructor(_0x5da9b5,_0x207fe9){this['ranges']=_0x5da9b5,this['mainIndex']=_0x207fe9;}['map'](_0xbe1124,_0x2b288b=-0x1){return _0xbe1124['empty']?this:EditorSelection['create'](this['ranges']['map'](_0x22a6dc=>_0x22a6dc['map'](_0xbe1124,_0x2b288b)),this['mainIndex']);}['eq'](_0x3add93,_0x4bc338=!0x1){if(this['ranges']['length']!=_0x3add93['ranges']['length']||this['mainIndex']!=_0x3add93['mainIndex'])return!0x1;for(let _0x32090f=0x0;_0x32090f<this['ranges']['length'];_0x32090f++)if(!this['ranges'][_0x32090f]['eq'](_0x3add93['ranges'][_0x32090f],_0x4bc338))return!0x1;return!0x0;}get['main'](){return this['ranges'][this['mainIndex']];}['asSingle'](){return 0x1==this['ranges']['length']?this:new EditorSelection([this['main']],0x0);}['addRange'](_0x38fed7,_0x56845f=!0x0){return EditorSelection['create']([_0x38fed7]['concat'](this['ranges']),_0x56845f?0x0:this['mainIndex']+0x1);}['replaceRange'](_0x8cc19,_0x556be7=this['mainIndex']){let _0x46ca56=this['ranges']['slice']();return _0x46ca56[_0x556be7]=_0x8cc19,EditorSelection['create'](_0x46ca56,this['mainIndex']);}['toJSON'](){return{'ranges':this['ranges']['map'](_0x271f6d=>_0x271f6d['toJSON']()),'main':this['mainIndex']};}static['fromJSON'](_0x3443c5){if(!_0x3443c5||!Array['isArray'](_0x3443c5['ranges'])||'number'!=typeof _0x3443c5['main']||_0x3443c5['main']>=_0x3443c5['ranges']['length'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorSelection');return new EditorSelection(_0x3443c5['ranges']['map'](_0x313c01=>rL['fromJSON'](_0x313c01)),_0x3443c5['main']);}static['single'](_0x2e5cac,_0x41a3ae=_0x2e5cac){return new EditorSelection([EditorSelection['range'](_0x2e5cac,_0x41a3ae)],0x0);}static['create'](_0x51be58,_0x5e6f17=0x0){if(0x0==_0x51be58['length'])throw new RangeError('A\x20selection\x20needs\x20at\x20least\x20one\x20range');for(let _0x4e385b=0x0,_0x311315=0x0;_0x311315<_0x51be58['length'];_0x311315++){let _0x535829=_0x51be58[_0x311315];if(_0x535829['empty']?_0x535829['from']<=_0x4e385b:_0x535829['from']<_0x4e385b)return EditorSelection['normalized'](_0x51be58['slice'](),_0x5e6f17);_0x4e385b=_0x535829['to'];}return new EditorSelection(_0x51be58,_0x5e6f17);}static['cursor'](_0x1feb70,_0x29be30=0x0,_0x390136,_0x39ec98){return rL['create'](_0x1feb70,_0x1feb70,(0x0==_0x29be30?0x0:_0x29be30<0x0?0x8:0x10)|(null==_0x390136?0x7:Math['min'](0x6,_0x390136))|(null!=_0x39ec98?_0x39ec98:0xffffff)<<0x6);}static['range'](_0x5139a0,_0x46fb8d,_0x1b3fdd,_0x13ccab,_0x4d4cd2){let _0x288fc7=(null!=_0x1b3fdd?_0x1b3fdd:0xffffff)<<0x6|(null==_0x13ccab?0x7:Math['min'](0x6,_0x13ccab));return _0x4d4cd2||_0x5139a0==_0x46fb8d||(_0x4d4cd2=_0x46fb8d<_0x5139a0?0x1:-0x1),_0x46fb8d<_0x5139a0?rL['create'](_0x46fb8d,_0x5139a0,0x30|_0x288fc7):rL['create'](_0x5139a0,_0x46fb8d,(_0x4d4cd2?_0x4d4cd2<0x0?0x8:0x10:0x0)|_0x288fc7);}static['normalized'](_0x32ba7d,_0x14d977=0x0){let _0x12cda7=_0x32ba7d[_0x14d977];_0x32ba7d['sort']((_0x208365,_0x5eab3f)=>_0x208365['from']-_0x5eab3f['from']),_0x14d977=_0x32ba7d['indexOf'](_0x12cda7);for(let _0x46280a=0x1;_0x46280a<_0x32ba7d['length'];_0x46280a++){let _0x251327=_0x32ba7d[_0x46280a],_0x1273e9=_0x32ba7d[_0x46280a-0x1];if(_0x251327['empty']?_0x251327['from']<=_0x1273e9['to']:_0x251327['from']<_0x1273e9['to']){let _0x35dc9b=_0x1273e9['from'],_0x135717=Math['max'](_0x251327['to'],_0x1273e9['to']);_0x46280a<=_0x14d977&&_0x14d977--,_0x32ba7d['splice'](--_0x46280a,0x2,_0x251327['anchor']>_0x251327['head']?EditorSelection['range'](_0x135717,_0x35dc9b):EditorSelection['range'](_0x35dc9b,_0x135717));}}return new EditorSelection(_0x32ba7d,_0x14d977);}};function aL(_0x162840,_0x3313c4){for(let _0x429149 of _0x162840['ranges'])if(_0x429149['to']>_0x3313c4)throw new RangeError('Selection\x20points\x20outside\x20of\x20document');}let cL=0x0;var lL=class Facet{constructor(_0x4733e3,_0x21ac3c,_0x4dfaa9,_0x220035,_0x581a0e){this['combine']=_0x4733e3,this['compareInput']=_0x21ac3c,this['compare']=_0x4dfaa9,this['isStatic']=_0x220035,this['id']=cL++,this['default']=_0x4733e3([]),this['extensions']='function'==typeof _0x581a0e?_0x581a0e(this):_0x581a0e;}get['reader'](){return this;}static['define'](_0x2b48b5={}){return new Facet(_0x2b48b5['combine']||(_0x5c73e9=>_0x5c73e9),_0x2b48b5['compareInput']||((_0x11d79a,_0x25fb75)=>_0x11d79a===_0x25fb75),_0x2b48b5['compare']||(_0x2b48b5['combine']?(_0x5beca4,_0x17c687)=>_0x5beca4===_0x17c687:hL),!!_0x2b48b5['static'],_0x2b48b5['enables']);}['of'](_0xea012d){return new uL([],this,0x0,_0xea012d);}['compute'](_0x2257e3,_0x26bd92){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new uL(_0x2257e3,this,0x1,_0x26bd92);}['computeN'](_0x531b67,_0x1a10ce){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new uL(_0x531b67,this,0x2,_0x1a10ce);}['from'](_0x410295,_0x1bd426){return _0x1bd426||(_0x1bd426=_0x4ac95b=>_0x4ac95b),this['compute']([_0x410295],_0x40532f=>_0x1bd426(_0x40532f['field'](_0x410295)));}};function hL(_0x499680,_0x201273){return _0x499680==_0x201273||_0x499680['length']==_0x201273['length']&&_0x499680['every']((_0x4720ce,_0x115a76)=>_0x4720ce===_0x201273[_0x115a76]);}var uL=class{constructor(_0x48ab09,_0x306bfb,_0x5d740d,_0x455ca7){this['dependencies']=_0x48ab09,this['facet']=_0x306bfb,this['type']=_0x5d740d,this['value']=_0x455ca7,this['id']=cL++;}['dynamicSlot'](_0x147195){var _0x1822d2;let _0x3b941d=this['value'],_0x5ecb2b=this['facet']['compareInput'],_0xa71b3b=this['id'],_0x24719b=_0x147195[_0xa71b3b]>>0x1,_0x2daf52=0x2==this['type'],_0xeb3cd0=!0x1,_0x162817=!0x1,_0x3d448b=[];for(let _0x499bbf of this['dependencies'])'doc'==_0x499bbf?_0xeb3cd0=!0x0:'selection'==_0x499bbf?_0x162817=!0x0:0x1&(null!==(_0x1822d2=_0x147195[_0x499bbf['id']])&&void 0x0!==_0x1822d2?_0x1822d2:0x1)||_0x3d448b['push'](_0x147195[_0x499bbf['id']]);return{'create':_0x3dcec8=>(_0x3dcec8['values'][_0x24719b]=_0x3b941d(_0x3dcec8),0x1),'update'(_0x102a5a,_0x49c127){if(_0xeb3cd0&&_0x49c127['docChanged']||_0x162817&&(_0x49c127['docChanged']||_0x49c127['selection'])||fL(_0x102a5a,_0x3d448b)){let _0x2c6f45=_0x3b941d(_0x102a5a);if(_0x2daf52?!dL(_0x2c6f45,_0x102a5a['values'][_0x24719b],_0x5ecb2b):!_0x5ecb2b(_0x2c6f45,_0x102a5a['values'][_0x24719b]))return _0x102a5a['values'][_0x24719b]=_0x2c6f45,0x1;}return 0x0;},'reconfigure':(_0x30c767,_0x482a1e)=>{let _0x46c5d8,_0x1a5fdc=_0x482a1e['config']['address'][_0xa71b3b];if(null!=_0x1a5fdc){let _0x66a11b=kL(_0x482a1e,_0x1a5fdc);if(this['dependencies']['every'](_0x24a846=>_0x24a846 instanceof lL?_0x482a1e['facet'](_0x24a846)===_0x30c767['facet'](_0x24a846):!(_0x24a846 instanceof gL)||_0x482a1e['field'](_0x24a846,!0x1)==_0x30c767['field'](_0x24a846,!0x1))||(_0x2daf52?dL(_0x46c5d8=_0x3b941d(_0x30c767),_0x66a11b,_0x5ecb2b):_0x5ecb2b(_0x46c5d8=_0x3b941d(_0x30c767),_0x66a11b)))return _0x30c767['values'][_0x24719b]=_0x66a11b,0x0;}else _0x46c5d8=_0x3b941d(_0x30c767);return _0x30c767['values'][_0x24719b]=_0x46c5d8,0x1;}};}};function dL(_0x5c0375,_0xaf953d,_0x2b08ac){if(_0x5c0375['length']!=_0xaf953d['length'])return!0x1;for(let _0x1832cb=0x0;_0x1832cb<_0x5c0375['length'];_0x1832cb++)if(!_0x2b08ac(_0x5c0375[_0x1832cb],_0xaf953d[_0x1832cb]))return!0x1;return!0x0;}function fL(_0x464ee2,_0x4e439f){let _0x325d7e=!0x1;for(let _0x9ed5c9 of _0x4e439f)0x1&IL(_0x464ee2,_0x9ed5c9)&&(_0x325d7e=!0x0);return _0x325d7e;}function mL(_0x12b5d0,_0x1d770f,_0x2f7c16){let _0x18eb02=_0x2f7c16['map'](_0x423682=>_0x12b5d0[_0x423682['id']]),_0x1395b2=_0x2f7c16['map'](_0x3bfa95=>_0x3bfa95['type']),_0x32db45=_0x18eb02['filter'](_0x27f453=>!(0x1&_0x27f453)),_0x3e5702=_0x12b5d0[_0x1d770f['id']]>>0x1;function _0x1c46af(_0x433f87){let _0x516dcb=[];for(let _0x491f83=0x0;_0x491f83<_0x18eb02['length'];_0x491f83++){let _0x1ce99b=kL(_0x433f87,_0x18eb02[_0x491f83]);if(0x2==_0x1395b2[_0x491f83]){for(let _0x3c0992 of _0x1ce99b)_0x516dcb['push'](_0x3c0992);}else _0x516dcb['push'](_0x1ce99b);}return _0x1d770f['combine'](_0x516dcb);}return{'create'(_0x101eea){for(let _0x4fa4a3 of _0x18eb02)IL(_0x101eea,_0x4fa4a3);return _0x101eea['values'][_0x3e5702]=_0x1c46af(_0x101eea),0x1;},'update'(_0x51884e,_0x160914){if(!fL(_0x51884e,_0x32db45))return 0x0;let _0x35cc4a=_0x1c46af(_0x51884e);return _0x1d770f['compare'](_0x35cc4a,_0x51884e['values'][_0x3e5702])?0x0:(_0x51884e['values'][_0x3e5702]=_0x35cc4a,0x1);},'reconfigure'(_0x1babed,_0x4c7dcb){let _0x30e2de=fL(_0x1babed,_0x18eb02),_0x45ad1f=_0x4c7dcb['config']['facets'][_0x1d770f['id']],_0x47101c=_0x4c7dcb['facet'](_0x1d770f);if(_0x45ad1f&&!_0x30e2de&&hL(_0x2f7c16,_0x45ad1f))return _0x1babed['values'][_0x3e5702]=_0x47101c,0x0;let _0x366869=_0x1c46af(_0x1babed);return _0x1d770f['compare'](_0x366869,_0x47101c)?(_0x1babed['values'][_0x3e5702]=_0x47101c,0x0):(_0x1babed['values'][_0x3e5702]=_0x366869,0x1);}};}const pL=lL['define']({'static':!0x0});var gL=class StateField{constructor(_0x5abcae,_0x12a264,_0x20f400,_0x26783b,_0x12ca27){this['id']=_0x5abcae,this['createF']=_0x12a264,this['updateF']=_0x20f400,this['compareF']=_0x26783b,this['spec']=_0x12ca27,this['provides']=void 0x0;}static['define'](_0x3abad9){let _0x59e293=new StateField(cL++,_0x3abad9['create'],_0x3abad9['update'],_0x3abad9['compare']||((_0x28bc7c,_0x5dae23)=>_0x28bc7c===_0x5dae23),_0x3abad9);return _0x3abad9['provide']&&(_0x59e293['provides']=_0x3abad9['provide'](_0x59e293)),_0x59e293;}['create'](_0x2351d0){let _0x50d78d=_0x2351d0['facet'](pL)['find'](_0x43b6e9=>_0x43b6e9['field']==this);return((null==_0x50d78d?void 0x0:_0x50d78d['create'])||this['createF'])(_0x2351d0);}['slot'](_0x2ea662){let _0x44a258=_0x2ea662[this['id']]>>0x1;return{'create':_0x32249b=>(_0x32249b['values'][_0x44a258]=this['create'](_0x32249b),0x1),'update':(_0x5b4685,_0x59ab59)=>{let _0x1ecd42=_0x5b4685['values'][_0x44a258],_0x6f78e7=this['updateF'](_0x1ecd42,_0x59ab59);return this['compareF'](_0x1ecd42,_0x6f78e7)?0x0:(_0x5b4685['values'][_0x44a258]=_0x6f78e7,0x1);},'reconfigure':(_0xf3d116,_0x4c8255)=>{let _0x113b66,_0x4da4fa=_0xf3d116['facet'](pL),_0x3ea5ab=_0x4c8255['facet'](pL);return(_0x113b66=_0x4da4fa['find'](_0x1f4a04=>_0x1f4a04['field']==this))&&_0x113b66!=_0x3ea5ab['find'](_0xe4f28b=>_0xe4f28b['field']==this)?(_0xf3d116['values'][_0x44a258]=_0x113b66['create'](_0xf3d116),0x1):null!=_0x4c8255['config']['address'][this['id']]?(_0xf3d116['values'][_0x44a258]=_0x4c8255['field'](this),0x0):(_0xf3d116['values'][_0x44a258]=this['create'](_0xf3d116),0x1);}};}['init'](_0x1b0d8a){return[this,pL['of']({'field':this,'create':_0x1b0d8a})];}get['extension'](){return this;}};const OL=0x4,wL=0x3,bL=0x2,yL=0x1;function vL(_0x3b29c0){return _0x5978dc=>new EL(_0x5978dc,_0x3b29c0);}const _L={'highest':vL(0x0),'high':vL(yL),'default':vL(bL),'low':vL(wL),'lowest':vL(OL)};var EL=class{constructor(_0x55be11,_0x52a66f){this['inner']=_0x55be11,this['prec']=_0x52a66f;}},TL=class Compartment{['of'](_0x46c133){return new AL(this,_0x46c133);}['reconfigure'](_0x37c652){return Compartment['reconfigure']['of']({'compartment':this,'extension':_0x37c652});}['get'](_0x1bb2d1){return _0x1bb2d1['config']['compartments']['get'](this);}},AL=class{constructor(_0xe903b8,_0x5038ff){this['compartment']=_0xe903b8,this['inner']=_0x5038ff;}},SL=class Configuration{constructor(_0x9a4d7,_0x1269a1,_0x505f61,_0x2d5174,_0x669e72,_0x5e53c6){for(this['base']=_0x9a4d7,this['compartments']=_0x1269a1,this['dynamicSlots']=_0x505f61,this['address']=_0x2d5174,this['staticValues']=_0x669e72,this['facets']=_0x5e53c6,this['statusTemplate']=[];this['statusTemplate']['length']<_0x505f61['length'];)this['statusTemplate']['push'](0x0);}['staticFacet'](_0xa44ca7){let _0x43f896=this['address'][_0xa44ca7['id']];return null==_0x43f896?_0xa44ca7['default']:this['staticValues'][_0x43f896>>0x1];}static['resolve'](_0x5ce0c7,_0x283112,_0x10d261){let _0x244df0=[],_0x204ab0=Object['create'](null),_0x56d40d=new Map();for(let _0xb182a3 of function(_0x2f1112,_0x1fe52d,_0x26bd88){let _0x105c8e=[[],[],[],[],[]],_0x52b488=new Map();function _0x505417(_0x547a7f,_0x1638b9){let _0x2cb08b=_0x52b488['get'](_0x547a7f);if(null!=_0x2cb08b){if(_0x2cb08b<=_0x1638b9)return;let _0x44e31a=_0x105c8e[_0x2cb08b]['indexOf'](_0x547a7f);_0x44e31a>-0x1&&_0x105c8e[_0x2cb08b]['splice'](_0x44e31a,0x1),_0x547a7f instanceof AL&&_0x26bd88['delete'](_0x547a7f['compartment']);}if(_0x52b488['set'](_0x547a7f,_0x1638b9),Array['isArray'](_0x547a7f)){for(let _0x3b8cf5 of _0x547a7f)_0x505417(_0x3b8cf5,_0x1638b9);}else{if(_0x547a7f instanceof AL){if(_0x26bd88['has'](_0x547a7f['compartment']))throw new RangeError('Duplicate\x20use\x20of\x20compartment\x20in\x20extensions');let _0x391195=_0x1fe52d['get'](_0x547a7f['compartment'])||_0x547a7f['inner'];_0x26bd88['set'](_0x547a7f['compartment'],_0x391195),_0x505417(_0x391195,_0x1638b9);}else{if(_0x547a7f instanceof EL)_0x505417(_0x547a7f['inner'],_0x547a7f['prec']);else{if(_0x547a7f instanceof gL)_0x105c8e[_0x1638b9]['push'](_0x547a7f),_0x547a7f['provides']&&_0x505417(_0x547a7f['provides'],_0x1638b9);else{if(_0x547a7f instanceof uL)_0x105c8e[_0x1638b9]['push'](_0x547a7f),_0x547a7f['facet']['extensions']&&_0x505417(_0x547a7f['facet']['extensions'],bL);else{let _0x2235e2=_0x547a7f['extension'];if(!_0x2235e2)throw new Error('Unrecognized\x20extension\x20value\x20in\x20extension\x20set\x20('+_0x547a7f+').\x20This\x20sometimes\x20happens\x20because\x20multiple\x20instances\x20of\x20@codemirror/state\x20are\x20loaded,\x20breaking\x20instanceof\x20checks.');_0x505417(_0x2235e2,_0x1638b9);}}}}}}return _0x505417(_0x2f1112,bL),_0x105c8e['reduce']((_0x58e786,_0x1688d5)=>_0x58e786['concat'](_0x1688d5));}(_0x5ce0c7,_0x283112,_0x56d40d))_0xb182a3 instanceof gL?_0x244df0['push'](_0xb182a3):(_0x204ab0[_0xb182a3['facet']['id']]||(_0x204ab0[_0xb182a3['facet']['id']]=[]))['push'](_0xb182a3);let _0x4ff6df=Object['create'](null),_0x12d29b=[],_0x536630=[];for(let _0x537a7b of _0x244df0)_0x4ff6df[_0x537a7b['id']]=_0x536630['length']<<0x1,_0x536630['push'](_0x19043a=>_0x537a7b['slot'](_0x19043a));let _0x3f5b72=null==_0x10d261?void 0x0:_0x10d261['config']['facets'];for(let _0xcf3aad in _0x204ab0){let _0x1cb671=_0x204ab0[_0xcf3aad],_0x4c72b5=_0x1cb671[0x0]['facet'],_0xac0645=_0x3f5b72&&_0x3f5b72[_0xcf3aad]||[];if(_0x1cb671['every'](_0x273db6=>0x0==_0x273db6['type'])){if(_0x4ff6df[_0x4c72b5['id']]=_0x12d29b['length']<<0x1|0x1,hL(_0xac0645,_0x1cb671))_0x12d29b['push'](_0x10d261['facet'](_0x4c72b5));else{let _0x19e017=_0x4c72b5['combine'](_0x1cb671['map'](_0x1f5526=>_0x1f5526['value']));_0x12d29b['push'](_0x10d261&&_0x4c72b5['compare'](_0x19e017,_0x10d261['facet'](_0x4c72b5))?_0x10d261['facet'](_0x4c72b5):_0x19e017);}}else{for(let _0x54bd83 of _0x1cb671)0x0==_0x54bd83['type']?(_0x4ff6df[_0x54bd83['id']]=_0x12d29b['length']<<0x1|0x1,_0x12d29b['push'](_0x54bd83['value'])):(_0x4ff6df[_0x54bd83['id']]=_0x536630['length']<<0x1,_0x536630['push'](_0x5e363a=>_0x54bd83['dynamicSlot'](_0x5e363a)));_0x4ff6df[_0x4c72b5['id']]=_0x536630['length']<<0x1,_0x536630['push'](_0x505117=>mL(_0x505117,_0x4c72b5,_0x1cb671));}}return new Configuration(_0x5ce0c7,_0x56d40d,_0x536630['map'](_0x4df1c8=>_0x4df1c8(_0x4ff6df)),_0x4ff6df,_0x12d29b,_0x204ab0);}};function IL(_0x542be5,_0x3cce96){if(0x1&_0x3cce96)return 0x2;let _0x1a8b34=_0x3cce96>>0x1,_0x113db7=_0x542be5['status'][_0x1a8b34];if(0x4==_0x113db7)throw new Error('Cyclic\x20dependency\x20between\x20fields\x20and/or\x20facets');if(0x2&_0x113db7)return _0x113db7;_0x542be5['status'][_0x1a8b34]=0x4;let _0x77a6ef=_0x542be5['computeSlot'](_0x542be5,_0x542be5['config']['dynamicSlots'][_0x1a8b34]);return _0x542be5['status'][_0x1a8b34]=0x2|_0x77a6ef;}function kL(_0xadac7f,_0x4cc3a1){return 0x1&_0x4cc3a1?_0xadac7f['config']['staticValues'][_0x4cc3a1>>0x1]:_0xadac7f['values'][_0x4cc3a1>>0x1];}const xL=lL['define'](),CL=lL['define']({'combine':_0x4ad580=>_0x4ad580['some'](_0xf90941=>_0xf90941),'static':!0x0}),RL=lL['define']({'combine':_0xfcab27=>_0xfcab27['length']?_0xfcab27[0x0]:void 0x0,'static':!0x0}),PL=lL['define'](),ML=lL['define'](),NL=lL['define'](),LL=lL['define']({'combine':_0x3ff5b8=>!!_0x3ff5b8['length']&&_0x3ff5b8[0x0]});var $L=class{constructor(_0x5cb4bb,_0x159c70){this['type']=_0x5cb4bb,this['value']=_0x159c70;}static['define'](){return new DL();}},DL=class{['of'](_0x2a5ae8){return new $L(this,_0x2a5ae8);}},QL=class{constructor(_0x13a478){this['map']=_0x13a478;}['of'](_0x5c1a83){return new jL(this,_0x5c1a83);}},jL=class StateEffect{constructor(_0x2e1c56,_0x279d9d){this['type']=_0x2e1c56,this['value']=_0x279d9d;}['map'](_0x4a640a){let _0x532702=this['type']['map'](this['value'],_0x4a640a);return void 0x0===_0x532702?void 0x0:_0x532702==this['value']?this:new StateEffect(this['type'],_0x532702);}['is'](_0x8b850f){return this['type']==_0x8b850f;}static['define'](_0x43c9c1={}){return new QL(_0x43c9c1['map']||(_0x17fcb4=>_0x17fcb4));}static['mapEffects'](_0x4ba536,_0x3b9db8){if(!_0x4ba536['length'])return _0x4ba536;let _0x1a5d1c=[];for(let _0x26a633 of _0x4ba536){let _0x27a9fe=_0x26a633['map'](_0x3b9db8);_0x27a9fe&&_0x1a5d1c['push'](_0x27a9fe);}return _0x1a5d1c;}};jL['reconfigure']=jL['define'](),jL['appendConfig']=jL['define']();var UL=class Transaction{constructor(_0x42d588,_0x5011b1,_0x5469ce,_0x3d2075,_0x32ecf9,_0x43a8bb){this['startState']=_0x42d588,this['changes']=_0x5011b1,this['selection']=_0x5469ce,this['effects']=_0x3d2075,this['annotations']=_0x32ecf9,this['scrollIntoView']=_0x43a8bb,this['_doc']=null,this['_state']=null,_0x5469ce&&aL(_0x5469ce,_0x5011b1['newLength']),_0x32ecf9['some'](_0xe313c=>_0xe313c['type']==Transaction['time'])||(this['annotations']=_0x32ecf9['concat'](Transaction['time']['of'](Date['now']())));}static['create'](_0x39ba3e,_0x5c0527,_0xed2cda,_0x458404,_0x5a528e,_0x20c3a9){return new Transaction(_0x39ba3e,_0x5c0527,_0xed2cda,_0x458404,_0x5a528e,_0x20c3a9);}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'](_0x18a695){for(let _0x385a2d of this['annotations'])if(_0x385a2d['type']==_0x18a695)return _0x385a2d['value'];}get['docChanged'](){return!this['changes']['empty'];}get['reconfigured'](){return this['startState']['config']!=this['state']['config'];}['isUserEvent'](_0x462e08){let _0x2ef760=this['annotation'](Transaction['userEvent']);return!(!_0x2ef760||!(_0x2ef760==_0x462e08||_0x2ef760['length']>_0x462e08['length']&&_0x2ef760['slice'](0x0,_0x462e08['length'])==_0x462e08&&'.'==_0x2ef760[_0x462e08['length']]));}};function VL(_0x31d31c,_0x15412d){let _0x428e1a=[];for(let _0xe4974=0x0,_0x20b072=0x0;;){let _0x2bbf63,_0x1e37ed;if(_0xe4974<_0x31d31c['length']&&(_0x20b072==_0x15412d['length']||_0x15412d[_0x20b072]>=_0x31d31c[_0xe4974]))_0x2bbf63=_0x31d31c[_0xe4974++],_0x1e37ed=_0x31d31c[_0xe4974++];else{if(!(_0x20b072<_0x15412d['length']))return _0x428e1a;_0x2bbf63=_0x15412d[_0x20b072++],_0x1e37ed=_0x15412d[_0x20b072++];}!_0x428e1a['length']||_0x428e1a[_0x428e1a['length']-0x1]<_0x2bbf63?_0x428e1a['push'](_0x2bbf63,_0x1e37ed):_0x428e1a[_0x428e1a['length']-0x1]<_0x1e37ed&&(_0x428e1a[_0x428e1a['length']-0x1]=_0x1e37ed);}}function BL(_0x3a0eed,_0x146f3f,_0x25f130){var _0x1a1860;let _0x22b690,_0x3582e6,_0x1c74b0;return _0x25f130?(_0x22b690=_0x146f3f['changes'],_0x3582e6=KN['empty'](_0x146f3f['changes']['length']),_0x1c74b0=_0x3a0eed['changes']['compose'](_0x146f3f['changes'])):(_0x22b690=_0x146f3f['changes']['map'](_0x3a0eed['changes']),_0x3582e6=_0x3a0eed['changes']['mapDesc'](_0x146f3f['changes'],!0x0),_0x1c74b0=_0x3a0eed['changes']['compose'](_0x22b690)),{'changes':_0x1c74b0,'selection':_0x146f3f['selection']?_0x146f3f['selection']['map'](_0x3582e6):null===(_0x1a1860=_0x3a0eed['selection'])||void 0x0===_0x1a1860?void 0x0:_0x1a1860['map'](_0x22b690),'effects':jL['mapEffects'](_0x3a0eed['effects'],_0x22b690)['concat'](jL['mapEffects'](_0x146f3f['effects'],_0x3582e6)),'annotations':_0x3a0eed['annotations']['length']?_0x3a0eed['annotations']['concat'](_0x146f3f['annotations']):_0x146f3f['annotations'],'scrollIntoView':_0x3a0eed['scrollIntoView']||_0x146f3f['scrollIntoView']};}function FL(_0x4828cc,_0x24d1a3,_0x40cfaa){let _0x1d0018=_0x24d1a3['selection'],_0x343529=GL(_0x24d1a3['annotations']);return _0x24d1a3['userEvent']&&(_0x343529=_0x343529['concat'](UL['userEvent']['of'](_0x24d1a3['userEvent']))),{'changes':_0x24d1a3['changes']instanceof KN?_0x24d1a3['changes']:KN['of'](_0x24d1a3['changes']||[],_0x40cfaa,_0x4828cc['facet'](RL)),'selection':_0x1d0018&&(_0x1d0018 instanceof oL?_0x1d0018:oL['single'](_0x1d0018['anchor'],_0x1d0018['head'])),'effects':GL(_0x24d1a3['effects']),'annotations':_0x343529,'scrollIntoView':!!_0x24d1a3['scrollIntoView']};}function HL(_0x4f5be7,_0x347c72,_0x23090a){let _0x3bc7a8=FL(_0x4f5be7,_0x347c72['length']?_0x347c72[0x0]:{},_0x4f5be7['doc']['length']);_0x347c72['length']&&!0x1===_0x347c72[0x0]['filter']&&(_0x23090a=!0x1);for(let _0x3caa55=0x1;_0x3caa55<_0x347c72['length'];_0x3caa55++){!0x1===_0x347c72[_0x3caa55]['filter']&&(_0x23090a=!0x1);let _0x2edf07=!!_0x347c72[_0x3caa55]['sequential'];_0x3bc7a8=BL(_0x3bc7a8,FL(_0x4f5be7,_0x347c72[_0x3caa55],_0x2edf07?_0x3bc7a8['changes']['newLength']:_0x4f5be7['doc']['length']),_0x2edf07);}let _0x535f8c=UL['create'](_0x4f5be7,_0x3bc7a8['changes'],_0x3bc7a8['selection'],_0x3bc7a8['effects'],_0x3bc7a8['annotations'],_0x3bc7a8['scrollIntoView']);return function(_0x5648f3){let _0x1f0fef=_0x5648f3['startState'],_0x1ddb9f=_0x1f0fef['facet'](NL),_0x264ae1=_0x5648f3;for(let _0x41bd98=_0x1ddb9f['length']-0x1;_0x41bd98>=0x0;_0x41bd98--){let _0xfda82b=_0x1ddb9f[_0x41bd98](_0x5648f3);_0xfda82b&&Object['keys'](_0xfda82b)['length']&&(_0x264ae1=BL(_0x264ae1,FL(_0x1f0fef,_0xfda82b,_0x5648f3['changes']['newLength']),!0x0));}return _0x264ae1==_0x5648f3?_0x5648f3:UL['create'](_0x1f0fef,_0x5648f3['changes'],_0x5648f3['selection'],_0x264ae1['effects'],_0x264ae1['annotations'],_0x264ae1['scrollIntoView']);}(_0x23090a?function(_0x15c888){let _0x587e91=_0x15c888['startState'],_0x5c00c0=!0x0;for(let _0x1b7bd3 of _0x587e91['facet'](PL)){let _0x140609=_0x1b7bd3(_0x15c888);if(!0x1===_0x140609){_0x5c00c0=!0x1;break;}Array['isArray'](_0x140609)&&(_0x5c00c0=!0x0===_0x5c00c0?_0x140609:VL(_0x5c00c0,_0x140609));}if(!0x0!==_0x5c00c0){let _0x3b1906,_0x1d7f01;if(!0x1===_0x5c00c0)_0x1d7f01=_0x15c888['changes']['invertedDesc'],_0x3b1906=KN['empty'](_0x587e91['doc']['length']);else{let _0x304c3e=_0x15c888['changes']['filter'](_0x5c00c0);_0x3b1906=_0x304c3e['changes'],_0x1d7f01=_0x304c3e['filtered']['mapDesc'](_0x304c3e['changes'])['invertedDesc'];}_0x15c888=UL['create'](_0x587e91,_0x3b1906,_0x15c888['selection']&&_0x15c888['selection']['map'](_0x1d7f01),jL['mapEffects'](_0x15c888['effects'],_0x1d7f01),_0x15c888['annotations'],_0x15c888['scrollIntoView']);}let _0x579416=_0x587e91['facet'](ML);for(let _0x398d8d=_0x579416['length']-0x1;_0x398d8d>=0x0;_0x398d8d--){let _0x2d569a=_0x579416[_0x398d8d](_0x15c888);_0x15c888=_0x2d569a instanceof UL?_0x2d569a:Array['isArray'](_0x2d569a)&&0x1==_0x2d569a['length']&&_0x2d569a[0x0]instanceof UL?_0x2d569a[0x0]:HL(_0x587e91,GL(_0x2d569a),!0x1);}return _0x15c888;}(_0x535f8c):_0x535f8c);}UL['time']=$L['define'](),UL['userEvent']=$L['define'](),UL['addToHistory']=$L['define'](),UL['remote']=$L['define']();const ZL=[];function GL(_0x5a6353){return null==_0x5a6353?ZL:Array['isArray'](_0x5a6353)?_0x5a6353:[_0x5a6353];}var XL=function(_0x41b2df){return _0x41b2df[_0x41b2df['Word']=0x0]='Word',_0x41b2df[_0x41b2df['Space']=0x1]='Space',_0x41b2df[_0x41b2df['Other']=0x2]='Other',_0x41b2df;}(XL||(XL={}));const qL=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let WL;try{WL=new RegExp('[\x5cp{Alphabetic}\x5cp{Number}_]','u');}catch(_0x2673cc){}function zL(_0x1c234a){return _0x5a0c7d=>{if(!/\S/['test'](_0x5a0c7d))return XL['Space'];if(function(_0x1e078f){if(WL)return WL['test'](_0x1e078f);for(let _0x98e10d=0x0;_0x98e10d<_0x1e078f['length'];_0x98e10d++){let _0x5697c9=_0x1e078f[_0x98e10d];if(/\w/['test'](_0x5697c9)||_0x5697c9>'\u0080'&&(_0x5697c9['toUpperCase']()!=_0x5697c9['toLowerCase']()||qL['test'](_0x5697c9)))return!0x0;}return!0x1;}(_0x5a0c7d))return XL['Word'];for(let _0x8be0de=0x0;_0x8be0de<_0x1c234a['length'];_0x8be0de++)if(_0x5a0c7d['indexOf'](_0x1c234a[_0x8be0de])>-0x1)return XL['Word'];return XL['Other'];};}var YL=class EditorState{constructor(_0x1a8378,_0x3e68a4,_0x6d48ee,_0xb89a0a,_0x5c9693,_0x283fd4){this['config']=_0x1a8378,this['doc']=_0x3e68a4,this['selection']=_0x6d48ee,this['values']=_0xb89a0a,this['status']=_0x1a8378['statusTemplate']['slice'](),this['computeSlot']=_0x5c9693,_0x283fd4&&(_0x283fd4['_state']=this);for(let _0x436212=0x0;_0x436212<this['config']['dynamicSlots']['length'];_0x436212++)IL(this,_0x436212<<0x1);this['computeSlot']=null;}['field'](_0x133023,_0x32b941=!0x0){let _0x1ec35b=this['config']['address'][_0x133023['id']];if(null!=_0x1ec35b)return IL(this,_0x1ec35b),kL(this,_0x1ec35b);if(_0x32b941)throw new RangeError('Field\x20is\x20not\x20present\x20in\x20this\x20state');}['update'](..._0x18a161){return HL(this,_0x18a161,!0x0);}['applyTransaction'](_0x2f7bb9){let _0x36eb23,_0x16b5e7=this['config'],{base:_0x5910d9,compartments:_0x4b2a4a}=_0x16b5e7;for(let _0x278c25 of _0x2f7bb9['effects'])_0x278c25['is'](TL['reconfigure'])?(_0x16b5e7&&(_0x4b2a4a=new Map(),_0x16b5e7['compartments']['forEach']((_0x4a2729,_0x1e1365)=>_0x4b2a4a['set'](_0x1e1365,_0x4a2729)),_0x16b5e7=null),_0x4b2a4a['set'](_0x278c25['value']['compartment'],_0x278c25['value']['extension'])):_0x278c25['is'](jL['reconfigure'])?(_0x16b5e7=null,_0x5910d9=_0x278c25['value']):_0x278c25['is'](jL['appendConfig'])&&(_0x16b5e7=null,_0x5910d9=GL(_0x5910d9)['concat'](_0x278c25['value']));_0x16b5e7?_0x36eb23=_0x2f7bb9['startState']['values']['slice']():(_0x16b5e7=SL['resolve'](_0x5910d9,_0x4b2a4a,this),_0x36eb23=new EditorState(_0x16b5e7,this['doc'],this['selection'],_0x16b5e7['dynamicSlots']['map'](()=>null),(_0x4152a8,_0x52c541)=>_0x52c541['reconfigure'](_0x4152a8,this),null)['values']);let _0x99e3c7=_0x2f7bb9['startState']['facet'](CL)?_0x2f7bb9['newSelection']:_0x2f7bb9['newSelection']['asSingle']();new EditorState(_0x16b5e7,_0x2f7bb9['newDoc'],_0x99e3c7,_0x36eb23,(_0x31a88e,_0x40f665)=>_0x40f665['update'](_0x31a88e,_0x2f7bb9),_0x2f7bb9);}['replaceSelection'](_0x35016a){return'string'==typeof _0x35016a&&(_0x35016a=this['toText'](_0x35016a)),this['changeByRange'](_0x2d5ea6=>({'changes':{'from':_0x2d5ea6['from'],'to':_0x2d5ea6['to'],'insert':_0x35016a},'range':oL['cursor'](_0x2d5ea6['from']+_0x35016a['length'])}));}['changeByRange'](_0x3ac213){let _0x278c1c=this['selection'],_0x513de1=_0x3ac213(_0x278c1c['ranges'][0x0]),_0x58386e=this['changes'](_0x513de1['changes']),_0x39afa1=[_0x513de1['range']],_0x3e1fc4=GL(_0x513de1['effects']);for(let _0x2d85a6=0x1;_0x2d85a6<_0x278c1c['ranges']['length'];_0x2d85a6++){let _0x36dc8b=_0x3ac213(_0x278c1c['ranges'][_0x2d85a6]),_0x5327d4=this['changes'](_0x36dc8b['changes']),_0x4894d6=_0x5327d4['map'](_0x58386e);for(let _0x3a4df1=0x0;_0x3a4df1<_0x2d85a6;_0x3a4df1++)_0x39afa1[_0x3a4df1]=_0x39afa1[_0x3a4df1]['map'](_0x4894d6);let _0x47cb6a=_0x58386e['mapDesc'](_0x5327d4,!0x0);_0x39afa1['push'](_0x36dc8b['range']['map'](_0x47cb6a)),_0x58386e=_0x58386e['compose'](_0x4894d6),_0x3e1fc4=jL['mapEffects'](_0x3e1fc4,_0x4894d6)['concat'](jL['mapEffects'](GL(_0x36dc8b['effects']),_0x47cb6a));}return{'changes':_0x58386e,'selection':oL['create'](_0x39afa1,_0x278c1c['mainIndex']),'effects':_0x3e1fc4};}['changes'](_0x370bda=[]){return _0x370bda instanceof KN?_0x370bda:KN['of'](_0x370bda,this['doc']['length'],this['facet'](EditorState['lineSeparator']));}['toText'](_0x594d27){return LN['of'](_0x594d27['split'](this['facet'](EditorState['lineSeparator'])||WN));}['sliceDoc'](_0x3473db=0x0,_0x8318fa=this['doc']['length']){return this['doc']['sliceString'](_0x3473db,_0x8318fa,this['lineBreak']);}['facet'](_0x4e3d1b){let _0x2234b6=this['config']['address'][_0x4e3d1b['id']];return null==_0x2234b6?_0x4e3d1b['default']:(IL(this,_0x2234b6),kL(this,_0x2234b6));}['toJSON'](_0x42700c){let _0x313a59={'doc':this['sliceDoc'](),'selection':this['selection']['toJSON']()};if(_0x42700c)for(let _0x2ea61e in _0x42700c){let _0xacf823=_0x42700c[_0x2ea61e];_0xacf823 instanceof gL&&null!=this['config']['address'][_0xacf823['id']]&&(_0x313a59[_0x2ea61e]=_0xacf823['spec']['toJSON'](this['field'](_0x42700c[_0x2ea61e]),this));}return _0x313a59;}static['fromJSON'](_0x4e987e,_0x59d89b={},_0x5ee8bb){if(!_0x4e987e||'string'!=typeof _0x4e987e['doc'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorState');let _0x5bcf01=[];if(_0x5ee8bb){for(let _0x5113d1 in _0x5ee8bb)if(Object['prototype']['hasOwnProperty']['call'](_0x4e987e,_0x5113d1)){let _0x4de475=_0x5ee8bb[_0x5113d1],_0x1a8ae2=_0x4e987e[_0x5113d1];_0x5bcf01['push'](_0x4de475['init'](_0x548eda=>_0x4de475['spec']['fromJSON'](_0x1a8ae2,_0x548eda)));}}return EditorState['create']({'doc':_0x4e987e['doc'],'selection':oL['fromJSON'](_0x4e987e['selection']),'extensions':_0x59d89b['extensions']?_0x5bcf01['concat']([_0x59d89b['extensions']]):_0x5bcf01});}static['create'](_0x412537={}){let _0x5c550c=SL['resolve'](_0x412537['extensions']||[],new Map()),_0xbad520=_0x412537['doc']instanceof LN?_0x412537['doc']:LN['of']((_0x412537['doc']||'')['split'](_0x5c550c['staticFacet'](EditorState['lineSeparator'])||WN)),_0x541b4d=_0x412537['selection']?_0x412537['selection']instanceof oL?_0x412537['selection']:oL['single'](_0x412537['selection']['anchor'],_0x412537['selection']['head']):oL['single'](0x0);return aL(_0x541b4d,_0xbad520['length']),_0x5c550c['staticFacet'](CL)||(_0x541b4d=_0x541b4d['asSingle']()),new EditorState(_0x5c550c,_0xbad520,_0x541b4d,_0x5c550c['dynamicSlots']['map'](()=>null),(_0x49988e,_0x189b5b)=>_0x189b5b['create'](_0x49988e),null);}get['tabSize'](){return this['facet'](EditorState['tabSize']);}get['lineBreak'](){return this['facet'](EditorState['lineSeparator'])||'\x0a';}get['readOnly'](){return this['facet'](LL);}['phrase'](_0x485a6e,..._0x18b1e4){for(let _0x1c2bf9 of this['facet'](EditorState['phrases']))if(Object['prototype']['hasOwnProperty']['call'](_0x1c2bf9,_0x485a6e)){_0x485a6e=_0x1c2bf9[_0x485a6e];break;}return _0x18b1e4['length']&&(_0x485a6e=_0x485a6e['replace'](/\$(\$|\d*)/g,(_0x5b1930,_0x9b9f64)=>{if('$'==_0x9b9f64)return'$';let _0x570d6c=+(_0x9b9f64||0x1);return!_0x570d6c||_0x570d6c>_0x18b1e4['length']?_0x5b1930:_0x18b1e4[_0x570d6c-0x1];})),_0x485a6e;}['languageDataAt'](_0x1888d7,_0x2abc77,_0x3ad07c=-0x1){let _0x3ba102=[];for(let _0x188bf3 of this['facet'](xL))for(let _0x5b0fc3 of _0x188bf3(this,_0x2abc77,_0x3ad07c))Object['prototype']['hasOwnProperty']['call'](_0x5b0fc3,_0x1888d7)&&_0x3ba102['push'](_0x5b0fc3[_0x1888d7]);return _0x3ba102;}['charCategorizer'](_0x17693a){let _0x358a8d=this['languageDataAt']('wordChars',_0x17693a);return zL(_0x358a8d['length']?_0x358a8d[0x0]:'');}['wordAt'](_0x5060bc){let {text:_0xf429eb,from:_0x52152c,length:_0x54f807}=this['doc']['lineAt'](_0x5060bc),_0x169f62=this['charCategorizer'](_0x5060bc),_0x1f19b1=_0x5060bc-_0x52152c,_0x224ed9=_0x5060bc-_0x52152c;for(;_0x1f19b1>0x0;){let _0x417d48=ZN(_0xf429eb,_0x1f19b1,!0x1);if(_0x169f62(_0xf429eb['slice'](_0x417d48,_0x1f19b1))!=XL['Word'])break;_0x1f19b1=_0x417d48;}for(;_0x224ed9<_0x54f807;){let _0x2ebd59=ZN(_0xf429eb,_0x224ed9);if(_0x169f62(_0xf429eb['slice'](_0x224ed9,_0x2ebd59))!=XL['Word'])break;_0x224ed9=_0x2ebd59;}return _0x1f19b1==_0x224ed9?null:oL['range'](_0x1f19b1+_0x52152c,_0x224ed9+_0x52152c);}};function KL(_0x5774f0,_0xb5d22a,_0x1cddec={}){let _0x34da9c={};for(let _0x3a2765 of _0x5774f0)for(let _0x5e1d47 of Object['keys'](_0x3a2765)){let _0x1f6488=_0x3a2765[_0x5e1d47],_0x27fa2d=_0x34da9c[_0x5e1d47];if(void 0x0===_0x27fa2d)_0x34da9c[_0x5e1d47]=_0x1f6488;else{if(_0x27fa2d===_0x1f6488||void 0x0===_0x1f6488);else{if(!Object['hasOwnProperty']['call'](_0x1cddec,_0x5e1d47))throw new Error('Config\x20merge\x20conflict\x20for\x20field\x20'+_0x5e1d47);_0x34da9c[_0x5e1d47]=_0x1cddec[_0x5e1d47](_0x27fa2d,_0x1f6488);}}}for(let _0x1d050d in _0xb5d22a)void 0x0===_0x34da9c[_0x1d050d]&&(_0x34da9c[_0x1d050d]=_0xb5d22a[_0x1d050d]);return _0x34da9c;}YL['allowMultipleSelections']=CL,YL['tabSize']=lL['define']({'combine':_0x356b87=>_0x356b87['length']?_0x356b87[0x0]:0x4}),YL['lineSeparator']=RL,YL['readOnly']=LL,YL['phrases']=lL['define']({'compare'(_0x57b0a3,_0x169b9e){let _0x2ab4ae=Object['keys'](_0x57b0a3),_0x28d6bd=Object['keys'](_0x169b9e);return _0x2ab4ae['length']==_0x28d6bd['length']&&_0x2ab4ae['every'](_0x1dc5bf=>_0x57b0a3[_0x1dc5bf]==_0x169b9e[_0x1dc5bf]);}}),YL['languageData']=xL,YL['changeFilter']=PL,YL['transactionFilter']=ML,YL['transactionExtender']=NL,TL['reconfigure']=jL['define']();var JL=class{['eq'](_0x48dc0e){return this==_0x48dc0e;}['range'](_0x18a460,_0x29e07f=_0x18a460){return e$['create'](_0x18a460,_0x29e07f,this);}};function t$(_0x26a2cb,_0x148262){return _0x26a2cb==_0x148262||_0x26a2cb['constructor']==_0x148262['constructor']&&_0x26a2cb['eq'](_0x148262);}JL['prototype']['startSide']=JL['prototype']['endSide']=0x0,JL['prototype']['point']=!0x1,JL['prototype']['mapMode']=zN['TrackDel'];var e$=class Range$1{constructor(_0xd0eca6,_0x507421,_0x2d0633){this['from']=_0xd0eca6,this['to']=_0x507421,this['value']=_0x2d0633;}static['create'](_0x126f75,_0x32b522,_0x5e4743){return new Range$1(_0x126f75,_0x32b522,_0x5e4743);}};function i$(_0x19ae11,_0x5ee0b1){return _0x19ae11['from']-_0x5ee0b1['from']||_0x19ae11['value']['startSide']-_0x5ee0b1['value']['startSide'];}var s$=class Chunk{constructor(_0x2d1d07,_0x372899,_0x7d93de,_0x57a7fc){this['from']=_0x2d1d07,this['to']=_0x372899,this['value']=_0x7d93de,this['maxPoint']=_0x57a7fc;}get['length'](){return this['to'][this['to']['length']-0x1];}['findIndex'](_0x1952a1,_0x17b018,_0x30319c,_0x23879c=0x0){let _0x38c7b5=_0x30319c?this['to']:this['from'];for(let _0x55846c=_0x23879c,_0x219c51=_0x38c7b5['length'];;){if(_0x55846c==_0x219c51)return _0x55846c;let _0x2ca317=_0x55846c+_0x219c51>>0x1,_0x561bbb=_0x38c7b5[_0x2ca317]-_0x1952a1||(_0x30319c?this['value'][_0x2ca317]['endSide']:this['value'][_0x2ca317]['startSide'])-_0x17b018;if(_0x2ca317==_0x55846c)return _0x561bbb>=0x0?_0x55846c:_0x219c51;_0x561bbb>=0x0?_0x219c51=_0x2ca317:_0x55846c=_0x2ca317+0x1;}}['between'](_0x56445b,_0x1bf666,_0x5c7d37,_0x3ab7b7){for(let _0x44b3cf=this['findIndex'](_0x1bf666,-0x3b9aca00,!0x0),_0x45545e=this['findIndex'](_0x5c7d37,0x3b9aca00,!0x1,_0x44b3cf);_0x44b3cf<_0x45545e;_0x44b3cf++)if(!0x1===_0x3ab7b7(this['from'][_0x44b3cf]+_0x56445b,this['to'][_0x44b3cf]+_0x56445b,this['value'][_0x44b3cf]))return!0x1;}['map'](_0x10104f,_0x22a935){let _0x208e15=[],_0x59842e=[],_0x1352fe=[],_0x3e8a7e=-0x1,_0x23df30=-0x1;for(let _0x4d7bd5=0x0;_0x4d7bd5<this['value']['length'];_0x4d7bd5++){let _0x80d5d3,_0x3412b2,_0x1e9baf=this['value'][_0x4d7bd5],_0x4ff81f=this['from'][_0x4d7bd5]+_0x10104f,_0x8b9e96=this['to'][_0x4d7bd5]+_0x10104f;if(_0x4ff81f==_0x8b9e96){let _0x29dd32=_0x22a935['mapPos'](_0x4ff81f,_0x1e9baf['startSide'],_0x1e9baf['mapMode']);if(null==_0x29dd32)continue;if(_0x80d5d3=_0x3412b2=_0x29dd32,_0x1e9baf['startSide']!=_0x1e9baf['endSide']&&(_0x3412b2=_0x22a935['mapPos'](_0x4ff81f,_0x1e9baf['endSide']),_0x3412b2<_0x80d5d3))continue;}else{if(_0x80d5d3=_0x22a935['mapPos'](_0x4ff81f,_0x1e9baf['startSide']),_0x3412b2=_0x22a935['mapPos'](_0x8b9e96,_0x1e9baf['endSide']),_0x80d5d3>_0x3412b2||_0x80d5d3==_0x3412b2&&_0x1e9baf['startSide']>0x0&&_0x1e9baf['endSide']<=0x0)continue;}(_0x3412b2-_0x80d5d3||_0x1e9baf['endSide']-_0x1e9baf['startSide'])<0x0||(_0x3e8a7e<0x0&&(_0x3e8a7e=_0x80d5d3),_0x1e9baf['point']&&(_0x23df30=Math['max'](_0x23df30,_0x3412b2-_0x80d5d3)),_0x208e15['push'](_0x1e9baf),_0x59842e['push'](_0x80d5d3-_0x3e8a7e),_0x1352fe['push'](_0x3412b2-_0x3e8a7e));}return{'mapped':_0x208e15['length']?new Chunk(_0x59842e,_0x1352fe,_0x208e15,_0x23df30):null,'pos':_0x3e8a7e};}},n$=class RangeSet{constructor(_0x52c3df,_0x587462,_0x3cd216,_0x3fcd2b){this['chunkPos']=_0x52c3df,this['chunk']=_0x587462,this['nextLayer']=_0x3cd216,this['maxPoint']=_0x3fcd2b;}static['create'](_0x49ce9c,_0x312630,_0xc14cd0,_0x30b551){return new RangeSet(_0x49ce9c,_0x312630,_0xc14cd0,_0x30b551);}get['length'](){let _0x17282a=this['chunk']['length']-0x1;return _0x17282a<0x0?0x0:Math['max'](this['chunkEnd'](_0x17282a),this['nextLayer']['length']);}get['size'](){if(this['isEmpty'])return 0x0;let _0x5c46fc=this['nextLayer']['size'];for(let _0x5a6855 of this['chunk'])_0x5c46fc+=_0x5a6855['value']['length'];return _0x5c46fc;}['chunkEnd'](_0x6bbc5f){return this['chunkPos'][_0x6bbc5f]+this['chunk'][_0x6bbc5f]['length'];}['update'](_0x1f4e99){let {add:_0x5db2cd=[],sort:_0x37f868=!0x1,filterFrom:_0xe09a9e=0x0,filterTo:_0x4eebdd=this['length']}=_0x1f4e99,_0x5bb5f1=_0x1f4e99['filter'];if(0x0==_0x5db2cd['length']&&!_0x5bb5f1)return this;if(_0x37f868&&(_0x5db2cd=_0x5db2cd['slice']()['sort'](i$)),this['isEmpty'])return _0x5db2cd['length']?RangeSet['of'](_0x5db2cd):this;let _0x58de33=new a$(this,null,-0x1)['goto'](0x0),_0x26ba47=0x0,_0xaee707=[],_0x4682e8=new r$();for(;_0x58de33['value']||_0x26ba47<_0x5db2cd['length'];)if(_0x26ba47<_0x5db2cd['length']&&(_0x58de33['from']-_0x5db2cd[_0x26ba47]['from']||_0x58de33['startSide']-_0x5db2cd[_0x26ba47]['value']['startSide'])>=0x0){let _0x3c54b7=_0x5db2cd[_0x26ba47++];_0x4682e8['addInner'](_0x3c54b7['from'],_0x3c54b7['to'],_0x3c54b7['value'])||_0xaee707['push'](_0x3c54b7);}else 0x1==_0x58de33['rangeIndex']&&_0x58de33['chunkIndex']<this['chunk']['length']&&(_0x26ba47==_0x5db2cd['length']||this['chunkEnd'](_0x58de33['chunkIndex'])<_0x5db2cd[_0x26ba47]['from'])&&(!_0x5bb5f1||_0xe09a9e>this['chunkEnd'](_0x58de33['chunkIndex'])||_0x4eebdd<this['chunkPos'][_0x58de33['chunkIndex']])&&_0x4682e8['addChunk'](this['chunkPos'][_0x58de33['chunkIndex']],this['chunk'][_0x58de33['chunkIndex']])?_0x58de33['nextChunk']():((!_0x5bb5f1||_0xe09a9e>_0x58de33['to']||_0x4eebdd<_0x58de33['from']||_0x5bb5f1(_0x58de33['from'],_0x58de33['to'],_0x58de33['value']))&&(_0x4682e8['addInner'](_0x58de33['from'],_0x58de33['to'],_0x58de33['value'])||_0xaee707['push'](e$['create'](_0x58de33['from'],_0x58de33['to'],_0x58de33['value']))),_0x58de33['next']());return _0x4682e8['finishInner'](this['nextLayer']['isEmpty']&&!_0xaee707['length']?RangeSet['empty']:this['nextLayer']['update']({'add':_0xaee707,'filter':_0x5bb5f1,'filterFrom':_0xe09a9e,'filterTo':_0x4eebdd}));}['map'](_0x3c3451){if(_0x3c3451['empty']||this['isEmpty'])return this;let _0x53a6e5=[],_0x8365dd=[],_0x275e6b=-0x1;for(let _0x5f4e66=0x0;_0x5f4e66<this['chunk']['length'];_0x5f4e66++){let _0x17222e=this['chunkPos'][_0x5f4e66],_0x301107=this['chunk'][_0x5f4e66],_0x257c6b=_0x3c3451['touchesRange'](_0x17222e,_0x17222e+_0x301107['length']);if(!0x1===_0x257c6b)_0x275e6b=Math['max'](_0x275e6b,_0x301107['maxPoint']),_0x53a6e5['push'](_0x301107),_0x8365dd['push'](_0x3c3451['mapPos'](_0x17222e));else{if(!0x0===_0x257c6b){let {mapped:_0xd1c3e2,pos:_0x14f1c9}=_0x301107['map'](_0x17222e,_0x3c3451);_0xd1c3e2&&(_0x275e6b=Math['max'](_0x275e6b,_0xd1c3e2['maxPoint']),_0x53a6e5['push'](_0xd1c3e2),_0x8365dd['push'](_0x14f1c9));}}}let _0x4887dc=this['nextLayer']['map'](_0x3c3451);return 0x0==_0x53a6e5['length']?_0x4887dc:new RangeSet(_0x8365dd,_0x53a6e5,_0x4887dc||RangeSet['empty'],_0x275e6b);}['between'](_0x2cb47b,_0x9a7b97,_0x8bb785){if(!this['isEmpty']){for(let _0x556d9a=0x0;_0x556d9a<this['chunk']['length'];_0x556d9a++){let _0xce0773=this['chunkPos'][_0x556d9a],_0x2eb615=this['chunk'][_0x556d9a];if(_0x9a7b97>=_0xce0773&&_0x2cb47b<=_0xce0773+_0x2eb615['length']&&!0x1===_0x2eb615['between'](_0xce0773,_0x2cb47b-_0xce0773,_0x9a7b97-_0xce0773,_0x8bb785))return;}this['nextLayer']['between'](_0x2cb47b,_0x9a7b97,_0x8bb785);}}['iter'](_0x5dbca1=0x0){return c$['from']([this])['goto'](_0x5dbca1);}get['isEmpty'](){return this['nextLayer']==this;}static['iter'](_0x1bfe70,_0x3c3ad4=0x0){return c$['from'](_0x1bfe70)['goto'](_0x3c3ad4);}static['compare'](_0x4e85f7,_0x4e71bc,_0x36d576,_0x355b45,_0x4cb769=-0x1){let _0xb7c29=_0x4e85f7['filter'](_0x142ee5=>_0x142ee5['maxPoint']>0x0||!_0x142ee5['isEmpty']&&_0x142ee5['maxPoint']>=_0x4cb769),_0x5a5897=_0x4e71bc['filter'](_0x3c3499=>_0x3c3499['maxPoint']>0x0||!_0x3c3499['isEmpty']&&_0x3c3499['maxPoint']>=_0x4cb769),_0x3afa2f=o$(_0xb7c29,_0x5a5897,_0x36d576),_0x1a42da=new h$(_0xb7c29,_0x3afa2f,_0x4cb769),_0x2c7dbd=new h$(_0x5a5897,_0x3afa2f,_0x4cb769);_0x36d576['iterGaps']((_0x22ba02,_0xae875d,_0x24f503)=>u$(_0x1a42da,_0x22ba02,_0x2c7dbd,_0xae875d,_0x24f503,_0x355b45)),_0x36d576['empty']&&0x0==_0x36d576['length']&&u$(_0x1a42da,0x0,_0x2c7dbd,0x0,0x0,_0x355b45);}static['eq'](_0x372d01,_0x495b1f,_0x215168=0x0,_0x3f05a1){null==_0x3f05a1&&(_0x3f05a1=0x3b9ac9ff);let _0x2a7651=_0x372d01['filter'](_0x4f6427=>!_0x4f6427['isEmpty']&&_0x495b1f['indexOf'](_0x4f6427)<0x0),_0x1d9758=_0x495b1f['filter'](_0x47d014=>!_0x47d014['isEmpty']&&_0x372d01['indexOf'](_0x47d014)<0x0);if(_0x2a7651['length']!=_0x1d9758['length'])return!0x1;if(!_0x2a7651['length'])return!0x0;let _0x5b35b2=o$(_0x2a7651,_0x1d9758),_0x4cbcb7=new h$(_0x2a7651,_0x5b35b2,0x0)['goto'](_0x215168),_0x3a596d=new h$(_0x1d9758,_0x5b35b2,0x0)['goto'](_0x215168);for(;;){if(_0x4cbcb7['to']!=_0x3a596d['to']||!d$(_0x4cbcb7['active'],_0x3a596d['active'])||_0x4cbcb7['point']&&(!_0x3a596d['point']||!t$(_0x4cbcb7['point'],_0x3a596d['point'])))return!0x1;if(_0x4cbcb7['to']>_0x3f05a1)return!0x0;_0x4cbcb7['next'](),_0x3a596d['next']();}}static['spans'](_0x5e436f,_0x15c0d7,_0x141a10,_0xfa6a4f,_0x2cd6ec=-0x1){let _0x7e58ee=new h$(_0x5e436f,null,_0x2cd6ec)['goto'](_0x15c0d7),_0x3ae2ec=_0x15c0d7,_0x1c5920=_0x7e58ee['openStart'];for(;;){let _0x4cfb04=Math['min'](_0x7e58ee['to'],_0x141a10);if(_0x7e58ee['point']){let _0x3fea77=_0x7e58ee['activeForPoint'](_0x7e58ee['to']),_0x33ab4e=_0x7e58ee['pointFrom']<_0x15c0d7?_0x3fea77['length']+0x1:_0x7e58ee['point']['startSide']<0x0?_0x3fea77['length']:Math['min'](_0x3fea77['length'],_0x1c5920);_0xfa6a4f['point'](_0x3ae2ec,_0x4cfb04,_0x7e58ee['point'],_0x3fea77,_0x33ab4e,_0x7e58ee['pointRank']),_0x1c5920=Math['min'](_0x7e58ee['openEnd'](_0x4cfb04),_0x3fea77['length']);}else _0x4cfb04>_0x3ae2ec&&(_0xfa6a4f['span'](_0x3ae2ec,_0x4cfb04,_0x7e58ee['active'],_0x1c5920),_0x1c5920=_0x7e58ee['openEnd'](_0x4cfb04));if(_0x7e58ee['to']>_0x141a10)return _0x1c5920+(_0x7e58ee['point']&&_0x7e58ee['to']>_0x141a10?0x1:0x0);_0x3ae2ec=_0x7e58ee['to'],_0x7e58ee['next']();}}static['of'](_0x5d09e3,_0x582cc7=!0x1){let _0x54f155=new r$();for(let _0x2e5052 of _0x5d09e3 instanceof e$?[_0x5d09e3]:_0x582cc7?function(_0x193d51){if(_0x193d51['length']>0x1)for(let _0x305c96=_0x193d51[0x0],_0x74397d=0x1;_0x74397d<_0x193d51['length'];_0x74397d++){let _0x16c5a0=_0x193d51[_0x74397d];if(i$(_0x305c96,_0x16c5a0)>0x0)return _0x193d51['slice']()['sort'](i$);_0x305c96=_0x16c5a0;}return _0x193d51;}(_0x5d09e3):_0x5d09e3)_0x54f155['add'](_0x2e5052['from'],_0x2e5052['to'],_0x2e5052['value']);return _0x54f155['finish']();}static['join'](_0x151a31){if(!_0x151a31['length'])return RangeSet['empty'];let _0x344ccc=_0x151a31[_0x151a31['length']-0x1];for(let _0x5b28dc=_0x151a31['length']-0x2;_0x5b28dc>=0x0;_0x5b28dc--)for(let _0x42a43c=_0x151a31[_0x5b28dc];_0x42a43c!=RangeSet['empty'];_0x42a43c=_0x42a43c['nextLayer'])_0x344ccc=new RangeSet(_0x42a43c['chunkPos'],_0x42a43c['chunk'],_0x344ccc,Math['max'](_0x42a43c['maxPoint'],_0x344ccc['maxPoint']));return _0x344ccc;}};n$['empty']=new n$([],[],null,-0x1),n$['empty']['nextLayer']=n$['empty'];var r$=class RangeSetBuilder{['finishChunk'](_0x15eeda){this['chunks']['push'](new s$(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,_0x15eeda&&(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'](_0x2244d5,_0x4fb20b,_0x339a73){this['addInner'](_0x2244d5,_0x4fb20b,_0x339a73)||(this['nextLayer']||(this['nextLayer']=new RangeSetBuilder()))['add'](_0x2244d5,_0x4fb20b,_0x339a73);}['addInner'](_0x2ef8b4,_0x5a6131,_0x310990){let _0x52a940=_0x2ef8b4-this['lastTo']||_0x310990['startSide']-this['last']['endSide'];if(_0x52a940<=0x0&&(_0x2ef8b4-this['lastFrom']||_0x310990['startSide']-this['last']['startSide'])<0x0)throw new Error('Ranges\x20must\x20be\x20added\x20sorted\x20by\x20`from`\x20position\x20and\x20`startSide`');return!(_0x52a940<0x0)&&(0xfa==this['from']['length']&&this['finishChunk'](!0x0),this['chunkStart']<0x0&&(this['chunkStart']=_0x2ef8b4),this['from']['push'](_0x2ef8b4-this['chunkStart']),this['to']['push'](_0x5a6131-this['chunkStart']),this['last']=_0x310990,this['lastFrom']=_0x2ef8b4,this['lastTo']=_0x5a6131,this['value']['push'](_0x310990),_0x310990['point']&&(this['maxPoint']=Math['max'](this['maxPoint'],_0x5a6131-_0x2ef8b4)),!0x0);}['addChunk'](_0x20310b,_0x22f85e){if((_0x20310b-this['lastTo']||_0x22f85e['value'][0x0]['startSide']-this['last']['endSide'])<0x0)return!0x1;this['from']['length']&&this['finishChunk'](!0x0),this['setMaxPoint']=Math['max'](this['setMaxPoint'],_0x22f85e['maxPoint']),this['chunks']['push'](_0x22f85e),this['chunkPos']['push'](_0x20310b);let _0x393fd8=_0x22f85e['value']['length']-0x1;return this['last']=_0x22f85e['value'][_0x393fd8],this['lastFrom']=_0x22f85e['from'][_0x393fd8]+_0x20310b,this['lastTo']=_0x22f85e['to'][_0x393fd8]+_0x20310b,!0x0;}['finish'](){return this['finishInner'](n$['empty']);}['finishInner'](_0x53f962){if(this['from']['length']&&this['finishChunk'](!0x1),0x0==this['chunks']['length'])return _0x53f962;let _0x23b7bf=n$['create'](this['chunkPos'],this['chunks'],this['nextLayer']?this['nextLayer']['finishInner'](_0x53f962):_0x53f962,this['setMaxPoint']);return this['from']=null,_0x23b7bf;}};function o$(_0x535273,_0x12651b,_0x47c82f){let _0x1a7501=new Map();for(let _0x11eb88 of _0x535273)for(let _0x56c4e7=0x0;_0x56c4e7<_0x11eb88['chunk']['length'];_0x56c4e7++)_0x11eb88['chunk'][_0x56c4e7]['maxPoint']<=0x0&&_0x1a7501['set'](_0x11eb88['chunk'][_0x56c4e7],_0x11eb88['chunkPos'][_0x56c4e7]);let _0x177495=new Set();for(let _0x3ea9b5 of _0x12651b)for(let _0x454f18=0x0;_0x454f18<_0x3ea9b5['chunk']['length'];_0x454f18++){let _0x373faf=_0x1a7501['get'](_0x3ea9b5['chunk'][_0x454f18]);null==_0x373faf||(_0x47c82f?_0x47c82f['mapPos'](_0x373faf):_0x373faf)!=_0x3ea9b5['chunkPos'][_0x454f18]||(null==_0x47c82f?void 0x0:_0x47c82f['touchesRange'](_0x373faf,_0x373faf+_0x3ea9b5['chunk'][_0x454f18]['length']))||_0x177495['add'](_0x3ea9b5['chunk'][_0x454f18]);}return _0x177495;}var a$=class{constructor(_0x947973,_0x314eab,_0x10ac13,_0x4d48ea=0x0){this['layer']=_0x947973,this['skip']=_0x314eab,this['minPoint']=_0x10ac13,this['rank']=_0x4d48ea;}get['startSide'](){return this['value']?this['value']['startSide']:0x0;}get['endSide'](){return this['value']?this['value']['endSide']:0x0;}['goto'](_0x38fc3d,_0x533d7=-0x3b9aca00){return this['chunkIndex']=this['rangeIndex']=0x0,this['gotoInner'](_0x38fc3d,_0x533d7,!0x1),this;}['gotoInner'](_0xbeee5c,_0x5c9400,_0x454538){for(;this['chunkIndex']<this['layer']['chunk']['length'];){let _0x22956a=this['layer']['chunk'][this['chunkIndex']];if(!(this['skip']&&this['skip']['has'](_0x22956a)||this['layer']['chunkEnd'](this['chunkIndex'])<_0xbeee5c||_0x22956a['maxPoint']<this['minPoint']))break;this['chunkIndex']++,_0x454538=!0x1;}if(this['chunkIndex']<this['layer']['chunk']['length']){let _0x2d560a=this['layer']['chunk'][this['chunkIndex']]['findIndex'](_0xbeee5c-this['layer']['chunkPos'][this['chunkIndex']],_0x5c9400,!0x0);(!_0x454538||this['rangeIndex']<_0x2d560a)&&this['setRangeIndex'](_0x2d560a);}this['next']();}['forward'](_0x4a51be,_0x37195f){(this['to']-_0x4a51be||this['endSide']-_0x37195f)<0x0&&this['gotoInner'](_0x4a51be,_0x37195f,!0x0);}['next'](){for(;;){if(this['chunkIndex']==this['layer']['chunk']['length']){this['from']=this['to']=0x3b9aca00,this['value']=null;break;}{let _0x3636ca=this['layer']['chunkPos'][this['chunkIndex']],_0x25523f=this['layer']['chunk'][this['chunkIndex']],_0x16b737=_0x3636ca+_0x25523f['from'][this['rangeIndex']];if(this['from']=_0x16b737,this['to']=_0x3636ca+_0x25523f['to'][this['rangeIndex']],this['value']=_0x25523f['value'][this['rangeIndex']],this['setRangeIndex'](this['rangeIndex']+0x1),this['minPoint']<0x0||this['value']['point']&&this['to']-this['from']>=this['minPoint'])break;}}}['setRangeIndex'](_0x2e695e){if(_0x2e695e==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']=_0x2e695e;}['nextChunk'](){this['chunkIndex']++,this['rangeIndex']=0x0,this['next']();}['compare'](_0x2e6286){return this['from']-_0x2e6286['from']||this['startSide']-_0x2e6286['startSide']||this['rank']-_0x2e6286['rank']||this['to']-_0x2e6286['to']||this['endSide']-_0x2e6286['endSide'];}},c$=class HeapCursor{constructor(_0x17ae4b){this['heap']=_0x17ae4b;}static['from'](_0x1b0904,_0x5e8a85=null,_0x3487fc=-0x1){let _0x202967=[];for(let _0x572fd5=0x0;_0x572fd5<_0x1b0904['length'];_0x572fd5++)for(let _0x350952=_0x1b0904[_0x572fd5];!_0x350952['isEmpty'];_0x350952=_0x350952['nextLayer'])_0x350952['maxPoint']>=_0x3487fc&&_0x202967['push'](new a$(_0x350952,_0x5e8a85,_0x3487fc,_0x572fd5));return 0x1==_0x202967['length']?_0x202967[0x0]:new HeapCursor(_0x202967);}get['startSide'](){return this['value']?this['value']['startSide']:0x0;}['goto'](_0xc57b82,_0xeb0e72=-0x3b9aca00){for(let _0x1b9684 of this['heap'])_0x1b9684['goto'](_0xc57b82,_0xeb0e72);for(let _0x3483a0=this['heap']['length']>>0x1;_0x3483a0>=0x0;_0x3483a0--)l$(this['heap'],_0x3483a0);return this['next'](),this;}['forward'](_0x12bdbf,_0x1714e3){for(let _0x5974c7 of this['heap'])_0x5974c7['forward'](_0x12bdbf,_0x1714e3);for(let _0xa4c18=this['heap']['length']>>0x1;_0xa4c18>=0x0;_0xa4c18--)l$(this['heap'],_0xa4c18);(this['to']-_0x12bdbf||this['value']['endSide']-_0x1714e3)<0x0&&this['next']();}['next'](){if(0x0==this['heap']['length'])this['from']=this['to']=0x3b9aca00,this['value']=null,this['rank']=-0x1;else{let _0x460049=this['heap'][0x0];this['from']=_0x460049['from'],this['to']=_0x460049['to'],this['value']=_0x460049['value'],this['rank']=_0x460049['rank'],_0x460049['value']&&_0x460049['next'](),l$(this['heap'],0x0);}}};function l$(_0x51e27d,_0x2dc884){for(let _0x26cf96=_0x51e27d[_0x2dc884];;){let _0xc12a92=0x1+(_0x2dc884<<0x1);if(_0xc12a92>=_0x51e27d['length'])break;let _0x24c156=_0x51e27d[_0xc12a92];if(_0xc12a92+0x1<_0x51e27d['length']&&_0x24c156['compare'](_0x51e27d[_0xc12a92+0x1])>=0x0&&(_0x24c156=_0x51e27d[_0xc12a92+0x1],_0xc12a92++),_0x26cf96['compare'](_0x24c156)<0x0)break;_0x51e27d[_0xc12a92]=_0x26cf96,_0x51e27d[_0x2dc884]=_0x24c156,_0x2dc884=_0xc12a92;}}var h$=class{constructor(_0x31831c,_0x37d786,_0x4c1b0f){this['minPoint']=_0x4c1b0f,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']=c$['from'](_0x31831c,_0x37d786,_0x4c1b0f);}['goto'](_0x336892,_0x545083=-0x3b9aca00){return this['cursor']['goto'](_0x336892,_0x545083),this['active']['length']=this['activeTo']['length']=this['activeRank']['length']=0x0,this['minActive']=-0x1,this['to']=_0x336892,this['endSide']=_0x545083,this['openStart']=-0x1,this['next'](),this;}['forward'](_0x20c1b7,_0x2c047e){for(;this['minActive']>-0x1&&(this['activeTo'][this['minActive']]-_0x20c1b7||this['active'][this['minActive']]['endSide']-_0x2c047e)<0x0;)this['removeActive'](this['minActive']);this['cursor']['forward'](_0x20c1b7,_0x2c047e);}['removeActive'](_0x41760d){f$(this['active'],_0x41760d),f$(this['activeTo'],_0x41760d),f$(this['activeRank'],_0x41760d),this['minActive']=p$(this['active'],this['activeTo']);}['addActive'](_0x30e295){let _0x203e95=0x0,{value:_0x57940e,to:_0x219460,rank:_0x3432cb}=this['cursor'];for(;_0x203e95<this['activeRank']['length']&&(_0x3432cb-this['activeRank'][_0x203e95]||_0x219460-this['activeTo'][_0x203e95])>0x0;)_0x203e95++;m$(this['active'],_0x203e95,_0x57940e),m$(this['activeTo'],_0x203e95,_0x219460),m$(this['activeRank'],_0x203e95,_0x3432cb),_0x30e295&&m$(_0x30e295,_0x203e95,this['cursor']['from']),this['minActive']=p$(this['active'],this['activeTo']);}['next'](){let _0x41682a=this['to'],_0x3ca7e7=this['point'];this['point']=null;let _0x3d4c8a=this['openStart']<0x0?[]:null;for(;;){let _0x4365ea=this['minActive'];if(_0x4365ea>-0x1&&(this['activeTo'][_0x4365ea]-this['cursor']['from']||this['active'][_0x4365ea]['endSide']-this['cursor']['startSide'])<0x0){if(this['activeTo'][_0x4365ea]>_0x41682a){this['to']=this['activeTo'][_0x4365ea],this['endSide']=this['active'][_0x4365ea]['endSide'];break;}this['removeActive'](_0x4365ea),_0x3d4c8a&&f$(_0x3d4c8a,_0x4365ea);}else{if(!this['cursor']['value']){this['to']=this['endSide']=0x3b9aca00;break;}if(this['cursor']['from']>_0x41682a){this['to']=this['cursor']['from'],this['endSide']=this['cursor']['startSide'];break;}{let _0x44e504=this['cursor']['value'];if(_0x44e504['point']){if(!(_0x3ca7e7&&this['cursor']['to']==this['to']&&this['cursor']['from']<this['cursor']['to'])){this['point']=_0x44e504,this['pointFrom']=this['cursor']['from'],this['pointRank']=this['cursor']['rank'],this['to']=this['cursor']['to'],this['endSide']=_0x44e504['endSide'],this['cursor']['next'](),this['forward'](this['to'],this['endSide']);break;}this['cursor']['next']();}else this['addActive'](_0x3d4c8a),this['cursor']['next']();}}}if(_0x3d4c8a){this['openStart']=0x0;for(let _0x4bbced=_0x3d4c8a['length']-0x1;_0x4bbced>=0x0&&_0x3d4c8a[_0x4bbced]<_0x41682a;_0x4bbced--)this['openStart']++;}}['activeForPoint'](_0x589a9d){if(!this['active']['length'])return this['active'];let _0x374aaa=[];for(let _0x19d036=this['active']['length']-0x1;_0x19d036>=0x0&&!(this['activeRank'][_0x19d036]<this['pointRank']);_0x19d036--)(this['activeTo'][_0x19d036]>_0x589a9d||this['activeTo'][_0x19d036]==_0x589a9d&&this['active'][_0x19d036]['endSide']>=this['point']['endSide'])&&_0x374aaa['push'](this['active'][_0x19d036]);return _0x374aaa['reverse']();}['openEnd'](_0x504426){let _0x541481=0x0;for(let _0x47f9de=this['activeTo']['length']-0x1;_0x47f9de>=0x0&&this['activeTo'][_0x47f9de]>_0x504426;_0x47f9de--)_0x541481++;return _0x541481;}};function u$(_0x1d118a,_0x170644,_0x12e3df,_0xa8bda7,_0x4843ca,_0xf7edd0){_0x1d118a['goto'](_0x170644),_0x12e3df['goto'](_0xa8bda7);let _0x2a29fb=_0xa8bda7+_0x4843ca,_0x584b4d=_0xa8bda7,_0x51602e=_0xa8bda7-_0x170644,_0x2c02d8=!!_0xf7edd0['boundChange'];for(let _0x212b4a=!0x1;;){let _0x1e95fa=_0x1d118a['to']+_0x51602e-_0x12e3df['to'],_0x1d78d2=_0x1e95fa||_0x1d118a['endSide']-_0x12e3df['endSide'],_0x1f49f6=_0x1d78d2<0x0?_0x1d118a['to']+_0x51602e:_0x12e3df['to'],_0x5db399=Math['min'](_0x1f49f6,_0x2a29fb);if(_0x1d118a['point']||_0x12e3df['point']?(_0x1d118a['point']&&_0x12e3df['point']&&t$(_0x1d118a['point'],_0x12e3df['point'])&&d$(_0x1d118a['activeForPoint'](_0x1d118a['to']),_0x12e3df['activeForPoint'](_0x12e3df['to']))||_0xf7edd0['comparePoint'](_0x584b4d,_0x5db399,_0x1d118a['point'],_0x12e3df['point']),_0x212b4a=!0x1):(_0x212b4a&&_0xf7edd0['boundChange'](_0x584b4d),_0x5db399>_0x584b4d&&!d$(_0x1d118a['active'],_0x12e3df['active'])&&_0xf7edd0['compareRange'](_0x584b4d,_0x5db399,_0x1d118a['active'],_0x12e3df['active']),_0x2c02d8&&_0x5db399<_0x2a29fb&&(_0x1e95fa||_0x1d118a['openEnd'](_0x1f49f6)!=_0x12e3df['openEnd'](_0x1f49f6))&&(_0x212b4a=!0x0)),_0x1f49f6>_0x2a29fb)break;_0x584b4d=_0x1f49f6,_0x1d78d2<=0x0&&_0x1d118a['next'](),_0x1d78d2>=0x0&&_0x12e3df['next']();}}function d$(_0xbded9a,_0x2aeea3){if(_0xbded9a['length']!=_0x2aeea3['length'])return!0x1;for(let _0x18f5b1=0x0;_0x18f5b1<_0xbded9a['length'];_0x18f5b1++)if(_0xbded9a[_0x18f5b1]!=_0x2aeea3[_0x18f5b1]&&!t$(_0xbded9a[_0x18f5b1],_0x2aeea3[_0x18f5b1]))return!0x1;return!0x0;}function f$(_0x5bdc01,_0x1bcc89){for(let _0x267432=_0x1bcc89,_0x46288c=_0x5bdc01['length']-0x1;_0x267432<_0x46288c;_0x267432++)_0x5bdc01[_0x267432]=_0x5bdc01[_0x267432+0x1];_0x5bdc01['pop']();}function m$(_0x2ee957,_0x1aba0d,_0x3364ab){for(let _0x150da9=_0x2ee957['length']-0x1;_0x150da9>=_0x1aba0d;_0x150da9--)_0x2ee957[_0x150da9+0x1]=_0x2ee957[_0x150da9];_0x2ee957[_0x1aba0d]=_0x3364ab;}function p$(_0x74993b,_0x7e3cda){let _0x4e1b58=-0x1,_0x1e16a9=0x3b9aca00;for(let _0x19f63a=0x0;_0x19f63a<_0x7e3cda['length'];_0x19f63a++)(_0x7e3cda[_0x19f63a]-_0x1e16a9||_0x74993b[_0x19f63a]['endSide']-_0x74993b[_0x4e1b58]['endSide'])<0x0&&(_0x4e1b58=_0x19f63a,_0x1e16a9=_0x7e3cda[_0x19f63a]);return _0x4e1b58;}function g$(_0x47ab11,_0x5ea8f3,_0x46e337=_0x47ab11['length']){let _0x442360=0x0;for(let _0x61bd4c=0x0;_0x61bd4c<_0x46e337&&_0x61bd4c<_0x47ab11['length'];)0x9==_0x47ab11['charCodeAt'](_0x61bd4c)?(_0x442360+=_0x5ea8f3-_0x442360%_0x5ea8f3,_0x61bd4c++):(_0x442360++,_0x61bd4c=ZN(_0x47ab11,_0x61bd4c));return _0x442360;}function O$(_0x392058,_0x13bf6e,_0x22e2f2,_0x2406f6){for(let _0x3ad0b1=0x0,_0x56725c=0x0;;){if(_0x56725c>=_0x13bf6e)return _0x3ad0b1;if(_0x3ad0b1==_0x392058['length'])break;_0x56725c+=0x9==_0x392058['charCodeAt'](_0x3ad0b1)?_0x22e2f2-_0x56725c%_0x22e2f2:0x1,_0x3ad0b1=ZN(_0x392058,_0x3ad0b1);}return!0x0===_0x2406f6?-0x1:_0x392058['length'];}const w$='undefined'==typeof Symbol?'__ͼ':Symbol['for']('ͼ'),b$='undefined'==typeof Symbol?'__styleSet'+Math['floor'](0x5f5e100*Math['random']()):Symbol('styleSet'),y$='undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:{};var v$=class{constructor(_0x5d2d0c,_0x3e1be6){this['rules']=[];let {finish:_0x1052a8}=_0x3e1be6||{};function _0x476715(_0x50bce8){return/^@/['test'](_0x50bce8)?[_0x50bce8]:_0x50bce8['split'](/,\s*/);}function _0x452d46(_0x12ab21,_0x459a74,_0x3dc67b,_0x404542){let _0x17a063=[],_0x3e5379=/^@(\w+)\b/['exec'](_0x12ab21[0x0]),_0x28046d=_0x3e5379&&'keyframes'==_0x3e5379[0x1];if(_0x3e5379&&null==_0x459a74)return _0x3dc67b['push'](_0x12ab21[0x0]+';');for(let _0x4a443b in _0x459a74){let _0x25b014=_0x459a74[_0x4a443b];if(/&/['test'](_0x4a443b))_0x452d46(_0x4a443b['split'](/,\s*/)['map'](_0x251596=>_0x12ab21['map'](_0x595d1c=>_0x251596['replace'](/&/,_0x595d1c)))['reduce']((_0x505953,_0x1b0af6)=>_0x505953['concat'](_0x1b0af6)),_0x25b014,_0x3dc67b);else{if(_0x25b014&&'object'==typeof _0x25b014){if(!_0x3e5379)throw new RangeError('The\x20value\x20of\x20a\x20property\x20('+_0x4a443b+')\x20should\x20be\x20a\x20primitive\x20value.');_0x452d46(_0x476715(_0x4a443b),_0x25b014,_0x17a063,_0x28046d);}else null!=_0x25b014&&_0x17a063['push'](_0x4a443b['replace'](/_.*/,'')['replace'](/[A-Z]/g,_0x53a77b=>'-'+_0x53a77b['toLowerCase']())+':\x20'+_0x25b014+';');}}(_0x17a063['length']||_0x28046d)&&_0x3dc67b['push']((!_0x1052a8||_0x3e5379||_0x404542?_0x12ab21:_0x12ab21['map'](_0x1052a8))['join'](',\x20')+'\x20{'+_0x17a063['join']('\x20')+'}');}for(let _0xa1867f in _0x5d2d0c)_0x452d46(_0x476715(_0xa1867f),_0x5d2d0c[_0xa1867f],this['rules']);}['getRules'](){return this['rules']['join']('\x0a');}static['newName'](){let _0xb6f11b=y$[w$]||0x1;return y$[w$]=_0xb6f11b+0x1,'ͼ'+_0xb6f11b['toString'](0x24);}static['mount'](_0x51301f,_0x541733,_0x285414){let _0x1b81dd=_0x51301f[b$],_0x573e04=_0x285414&&_0x285414['nonce'];_0x1b81dd?_0x573e04&&_0x1b81dd['setNonce'](_0x573e04):_0x1b81dd=new E$(_0x51301f,_0x573e04),_0x1b81dd['mount'](Array['isArray'](_0x541733)?_0x541733:[_0x541733],_0x51301f);}};let _$=new Map();for(var E$=class{constructor(_0x357946,_0x37c509){let _0x28ae77=_0x357946['ownerDocument']||_0x357946,_0x550b8d=_0x28ae77['defaultView'];if(!_0x357946['head']&&_0x357946['adoptedStyleSheets']&&_0x550b8d['CSSStyleSheet']){let _0x5cbf68=_$['get'](_0x28ae77);if(_0x5cbf68)return _0x357946[b$]=_0x5cbf68;this['sheet']=new _0x550b8d['CSSStyleSheet'](),_$['set'](_0x28ae77,this);}else this['styleTag']=_0x28ae77['createElement']('style'),_0x37c509&&this['styleTag']['setAttribute']('nonce',_0x37c509);this['modules']=[],_0x357946[b$]=this;}['mount'](_0x2a61a4,_0xb79aa){let _0x2c5656=this['sheet'],_0x42ff63=0x0,_0x2bc4e1=0x0;for(let _0x43b387=0x0;_0x43b387<_0x2a61a4['length'];_0x43b387++){let _0x280bd2=_0x2a61a4[_0x43b387],_0x8f892e=this['modules']['indexOf'](_0x280bd2);if(_0x8f892e<_0x2bc4e1&&_0x8f892e>-0x1&&(this['modules']['splice'](_0x8f892e,0x1),_0x2bc4e1--,_0x8f892e=-0x1),-0x1==_0x8f892e){if(this['modules']['splice'](_0x2bc4e1++,0x0,_0x280bd2),_0x2c5656){for(let _0x764f0c=0x0;_0x764f0c<_0x280bd2['rules']['length'];_0x764f0c++)_0x2c5656['insertRule'](_0x280bd2['rules'][_0x764f0c],_0x42ff63++);}}else{for(;_0x2bc4e1<_0x8f892e;)_0x42ff63+=this['modules'][_0x2bc4e1++]['rules']['length'];_0x42ff63+=_0x280bd2['rules']['length'],_0x2bc4e1++;}}if(_0x2c5656)_0xb79aa['adoptedStyleSheets']['indexOf'](this['sheet'])<0x0&&(_0xb79aa['adoptedStyleSheets']=[this['sheet'],..._0xb79aa['adoptedStyleSheets']]);else{let _0x25d96e='';for(let _0x2b106f=0x0;_0x2b106f<this['modules']['length'];_0x2b106f++)_0x25d96e+=this['modules'][_0x2b106f]['getRules']()+'\x0a';this['styleTag']['textContent']=_0x25d96e;let _0x43ceb4=_0xb79aa['head']||_0xb79aa;this['styleTag']['parentNode']!=_0x43ceb4&&_0x43ceb4['insertBefore'](this['styleTag'],_0x43ceb4['firstChild']);}}['setNonce'](_0x37e6d1){this['styleTag']&&this['styleTag']['getAttribute']('nonce')!=_0x37e6d1&&this['styleTag']['setAttribute']('nonce',_0x37e6d1);}},T$={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'},A$={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'},S$='undefined'!=typeof navigator&&/Mac/['test'](navigator['platform']),I$='undefined'!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](navigator['userAgent']),k$=0x0;k$<0xa;k$++)T$[0x30+k$]=T$[0x60+k$]=String(k$);for(k$=0x1;k$<=0x18;k$++)T$[k$+0x6f]='F'+k$;for(k$=0x41;k$<=0x5a;k$++)T$[k$]=String['fromCharCode'](k$+0x20),A$[k$]=String['fromCharCode'](k$);for(var x$ in T$)A$['hasOwnProperty'](x$)||(A$[x$]=T$[x$]);let C$='undefined'!=typeof navigator?navigator:{'userAgent':'','vendor':'','platform':''},R$='undefined'!=typeof document?document:{'documentElement':{'style':{}}};const P$=/Edge\/(\d+)/['exec'](C$['userAgent']),M$=/MSIE \d/['test'](C$['userAgent']),N$=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](C$['userAgent']),L$=!!(M$||N$||P$),$$=!L$&&/gecko\/(\d+)/i['test'](C$['userAgent']),D$=!L$&&/Chrome\/(\d+)/['exec'](C$['userAgent']),Q$='webkitFontSmoothing'in R$['documentElement']['style'],j$=!L$&&/Apple Computer/['test'](C$['vendor']),U$=j$&&(/Mobile\/\w+/['test'](C$['userAgent'])||C$['maxTouchPoints']>0x2);var V$={'mac':U$||/Mac/['test'](C$['platform']),'windows':/Win/['test'](C$['platform']),'linux':/Linux|X11/['test'](C$['platform']),'ie':L$,'ie_version':M$?R$['documentMode']||0x6:N$?+N$[0x1]:P$?+P$[0x1]:0x0,'gecko':$$,'gecko_version':$$?+(/Firefox\/(\d+)/['exec'](C$['userAgent'])||[0x0,0x0])[0x1]:0x0,'chrome':!!D$,'chrome_version':D$?+D$[0x1]:0x0,'ios':U$,'android':/Android\b/['test'](C$['userAgent']),'webkit':Q$,'webkit_version':Q$?+(/\bAppleWebKit\/(\d+)/['exec'](C$['userAgent'])||[0x0,0x0])[0x1]:0x0,'safari':j$,'safari_version':j$?+(/\bVersion\/(\d+(\.\d+)?)/['exec'](C$['userAgent'])||[0x0,0x0])[0x1]:0x0,'tabSize':null!=R$['documentElement']['style']['tabSize']?'tab-size':'-moz-tab-size'};function B$(_0x1d1b83,_0x775a62){for(let _0x3e4f78 in _0x1d1b83)'class'==_0x3e4f78&&_0x775a62['class']?_0x775a62['class']+='\x20'+_0x1d1b83['class']:'style'==_0x3e4f78&&_0x775a62['style']?_0x775a62['style']+=';'+_0x1d1b83['style']:_0x775a62[_0x3e4f78]=_0x1d1b83[_0x3e4f78];return _0x775a62;}const F$=Object['create'](null);function H$(_0x233a63,_0x49dc59,_0x1582a7){if(_0x233a63==_0x49dc59)return!0x0;_0x233a63||(_0x233a63=F$),_0x49dc59||(_0x49dc59=F$);let _0x2caeff=Object['keys'](_0x233a63),_0x554032=Object['keys'](_0x49dc59);if(_0x2caeff['length']-(_0x1582a7&&_0x2caeff['indexOf'](_0x1582a7)>-0x1?0x1:0x0)!=_0x554032['length']-(_0x1582a7&&_0x554032['indexOf'](_0x1582a7)>-0x1?0x1:0x0))return!0x1;for(let _0x1e779a of _0x2caeff)if(_0x1e779a!=_0x1582a7&&(-0x1==_0x554032['indexOf'](_0x1e779a)||_0x233a63[_0x1e779a]!==_0x49dc59[_0x1e779a]))return!0x1;return!0x0;}function Z$(_0x275754,_0x55d7e5,_0x2ec570){let _0x2d5f1e=!0x1;if(_0x55d7e5){for(let _0x4317e5 in _0x55d7e5)_0x2ec570&&_0x4317e5 in _0x2ec570||(_0x2d5f1e=!0x0,'style'==_0x4317e5?_0x275754['style']['cssText']='':_0x275754['removeAttribute'](_0x4317e5));}if(_0x2ec570){for(let _0x40dfcf in _0x2ec570)_0x55d7e5&&_0x55d7e5[_0x40dfcf]==_0x2ec570[_0x40dfcf]||(_0x2d5f1e=!0x0,'style'==_0x40dfcf?_0x275754['style']['cssText']=_0x2ec570[_0x40dfcf]:_0x275754['setAttribute'](_0x40dfcf,_0x2ec570[_0x40dfcf]));}return _0x2d5f1e;}function G$(_0x3c5bee){let _0x3a93e0=Object['create'](null);for(let _0x2d2b22=0x0;_0x2d2b22<_0x3c5bee['attributes']['length'];_0x2d2b22++){let _0x207234=_0x3c5bee['attributes'][_0x2d2b22];_0x3a93e0[_0x207234['name']]=_0x207234['value'];}return _0x3a93e0;}var X$=class{['eq'](_0x2df232){return!0x1;}['updateDOM'](_0x15a63f,_0x243dad,_0x2acd44){return!0x1;}['compare'](_0x5a5a9f){return this==_0x5a5a9f||this['constructor']==_0x5a5a9f['constructor']&&this['eq'](_0x5a5a9f);}get['estimatedHeight'](){return-0x1;}get['lineBreaks'](){return 0x0;}['ignoreEvent'](_0x1caa52){return!0x0;}['coordsAt'](_0x98bf7,_0x2bcdf0,_0x2b49a8){return null;}get['isHidden'](){return!0x1;}get['editable'](){return!0x1;}['destroy'](_0x5d64b2){}},q$=function(_0x1b6189){return _0x1b6189[_0x1b6189['Text']=0x0]='Text',_0x1b6189[_0x1b6189['WidgetBefore']=0x1]='WidgetBefore',_0x1b6189[_0x1b6189['WidgetAfter']=0x2]='WidgetAfter',_0x1b6189[_0x1b6189['WidgetRange']=0x3]='WidgetRange',_0x1b6189;}(q$||(q$={})),W$=class extends JL{constructor(_0x420b17,_0x3db726,_0x41c7a1,_0x560daf){super(),this['startSide']=_0x420b17,this['endSide']=_0x3db726,this['widget']=_0x41c7a1,this['spec']=_0x560daf;}get['heightRelevant'](){return!0x1;}static['mark'](_0x59c86f){return new z$(_0x59c86f);}static['widget'](_0xdcb0e5){let _0x5b8aaf=Math['max'](-0x2710,Math['min'](0x2710,_0xdcb0e5['side']||0x0)),_0x4be043=!!_0xdcb0e5['block'];return _0x5b8aaf+=_0x4be043&&!_0xdcb0e5['inlineOrder']?_0x5b8aaf>0x0?0x11e1a300:-0x17d78400:_0x5b8aaf>0x0?0x5f5e100:-0x5f5e100,new K$(_0xdcb0e5,_0x5b8aaf,_0x5b8aaf,_0x4be043,_0xdcb0e5['widget']||null,!0x1);}static['replace'](_0x3cc701){let _0x43e208,_0x4fa820,_0x5c39e3=!!_0x3cc701['block'];if(_0x3cc701['isBlockGap'])_0x43e208=-0x1dcd6500,_0x4fa820=0x17d78400;else{let {start:_0x523a7a,end:_0x255422}=J$(_0x3cc701,_0x5c39e3);_0x43e208=(_0x523a7a?_0x5c39e3?-0x11e1a300:-0x1:0x1dcd6500)-0x1,_0x4fa820=0x1+(_0x255422?_0x5c39e3?0xbebc200:0x1:-0x23c34600);}return new K$(_0x3cc701,_0x43e208,_0x4fa820,_0x5c39e3,_0x3cc701['widget']||null,!0x0);}static['line'](_0x3e7f56){return new Y$(_0x3e7f56);}static['set'](_0x1cc095,_0x5aad0f=!0x1){return n$['of'](_0x1cc095,_0x5aad0f);}['hasHeight'](){return!!this['widget']&&this['widget']['estimatedHeight']>-0x1;}};W$['none']=n$['empty'];var z$=class MarkDecoration extends W${constructor(_0x26c346){let {start:_0x491b7d,end:_0x358583}=J$(_0x26c346);super(_0x491b7d?-0x1:0x1dcd6500,_0x358583?0x1:-0x23c34600,null,_0x26c346),this['tagName']=_0x26c346['tagName']||'span',this['attrs']=_0x26c346['class']&&_0x26c346['attributes']?B$(_0x26c346['attributes'],{'class':_0x26c346['class']}):_0x26c346['class']?{'class':_0x26c346['class']}:_0x26c346['attributes']||F$;}['eq'](_0xe80196){return this==_0xe80196||_0xe80196 instanceof MarkDecoration&&this['tagName']==_0xe80196['tagName']&&H$(this['attrs'],_0xe80196['attrs']);}['range'](_0x350f57,_0x3e28f0=_0x350f57){if(_0x350f57>=_0x3e28f0)throw new RangeError('Mark\x20decorations\x20may\x20not\x20be\x20empty');return super['range'](_0x350f57,_0x3e28f0);}};z$['prototype']['point']=!0x1;var Y$=class LineDecoration extends W${constructor(_0x3ff4bc){super(-0xbebc200,-0xbebc200,null,_0x3ff4bc);}['eq'](_0x1da46a){return _0x1da46a instanceof LineDecoration&&this['spec']['class']==_0x1da46a['spec']['class']&&H$(this['spec']['attributes'],_0x1da46a['spec']['attributes']);}['range'](_0x567fff,_0x2f8c57=_0x567fff){if(_0x2f8c57!=_0x567fff)throw new RangeError('Line\x20decoration\x20ranges\x20must\x20be\x20zero-length');return super['range'](_0x567fff,_0x2f8c57);}};Y$['prototype']['mapMode']=zN['TrackBefore'],Y$['prototype']['point']=!0x0;var K$=class PointDecoration extends W${constructor(_0x19ca36,_0xcbdc9c,_0xbe8097,_0x5a99ea,_0x39f7ce,_0x1aa086){super(_0xcbdc9c,_0xbe8097,_0x39f7ce,_0x19ca36),this['block']=_0x5a99ea,this['isReplace']=_0x1aa086,this['mapMode']=_0x5a99ea?_0xcbdc9c<=0x0?zN['TrackBefore']:zN['TrackAfter']:zN['TrackDel'];}get['type'](){return this['startSide']!=this['endSide']?q$['WidgetRange']:this['startSide']<=0x0?q$['WidgetBefore']:q$['WidgetAfter'];}get['heightRelevant'](){return this['block']||!!this['widget']&&(this['widget']['estimatedHeight']>=0x5||this['widget']['lineBreaks']>0x0);}['eq'](_0xaf965){return _0xaf965 instanceof PointDecoration&&(_0x2739fc=this['widget'],_0x361221=_0xaf965['widget'],_0x2739fc==_0x361221||!!(_0x2739fc&&_0x361221&&_0x2739fc['compare'](_0x361221)))&&this['block']==_0xaf965['block']&&this['startSide']==_0xaf965['startSide']&&this['endSide']==_0xaf965['endSide'];var _0x2739fc,_0x361221;}['range'](_0x40af78,_0x3c1d81=_0x40af78){if(this['isReplace']&&(_0x40af78>_0x3c1d81||_0x40af78==_0x3c1d81&&this['startSide']>0x0&&this['endSide']<=0x0))throw new RangeError('Invalid\x20range\x20for\x20replacement\x20decoration');if(!this['isReplace']&&_0x3c1d81!=_0x40af78)throw new RangeError('Widget\x20decorations\x20can\x20only\x20have\x20zero-length\x20ranges');return super['range'](_0x40af78,_0x3c1d81);}};function J$(_0x52332d,_0x5eb72f=!0x1){let {inclusiveStart:_0x4ed401,inclusiveEnd:_0x52bf2e}=_0x52332d;return null==_0x4ed401&&(_0x4ed401=_0x52332d['inclusive']),null==_0x52bf2e&&(_0x52bf2e=_0x52332d['inclusive']),{'start':null!=_0x4ed401?_0x4ed401:_0x5eb72f,'end':null!=_0x52bf2e?_0x52bf2e:_0x5eb72f};}function tD(_0x1531e9,_0x58574e,_0x29cbf5,_0x1f8cf7=0x0){let _0x2436e3=_0x29cbf5['length']-0x1;_0x2436e3>=0x0&&_0x29cbf5[_0x2436e3]+_0x1f8cf7>=_0x1531e9?_0x29cbf5[_0x2436e3]=Math['max'](_0x29cbf5[_0x2436e3],_0x58574e):_0x29cbf5['push'](_0x1531e9,_0x58574e);}K$['prototype']['point']=!0x0;var eD=class BlockWrapper extends JL{constructor(_0x2093cf,_0x34f00a,_0x416c50){super(),this['tagName']=_0x2093cf,this['attributes']=_0x34f00a,this['rank']=_0x416c50;}['eq'](_0x3c3693){return _0x3c3693==this||_0x3c3693 instanceof BlockWrapper&&this['tagName']==_0x3c3693['tagName']&&H$(this['attributes'],_0x3c3693['attributes']);}static['create'](_0x3d6cc0){return new BlockWrapper(_0x3d6cc0['tagName'],_0x3d6cc0['attributes']||F$,null==_0x3d6cc0['rank']?0x32:Math['max'](0x0,Math['min'](_0x3d6cc0['rank'],0x64)));}static['set'](_0x4019b8,_0x1a5012=!0x1){return n$['of'](_0x4019b8,_0x1a5012);}};function iD(_0x5800b2){let _0xb1c6f1;return _0xb1c6f1=0xb==_0x5800b2['nodeType']?_0x5800b2['getSelection']?_0x5800b2:_0x5800b2['ownerDocument']:_0x5800b2,_0xb1c6f1['getSelection']();}function sD(_0x49daa4,_0x49a75a){return!!_0x49a75a&&(_0x49daa4==_0x49a75a||_0x49daa4['contains'](0x1!=_0x49a75a['nodeType']?_0x49a75a['parentNode']:_0x49a75a));}function nD(_0x35168e,_0x40a0df){if(!_0x40a0df['anchorNode'])return!0x1;try{return sD(_0x35168e,_0x40a0df['anchorNode']);}catch(_0x1bf64d){return!0x1;}}function rD(_0x3d85d){return 0x3==_0x3d85d['nodeType']?bD(_0x3d85d,0x0,_0x3d85d['nodeValue']['length'])['getClientRects']():0x1==_0x3d85d['nodeType']?_0x3d85d['getClientRects']():[];}function oD(_0x32a19d,_0x1713af,_0xf206f7,_0x903576){return!!_0xf206f7&&(lD(_0x32a19d,_0x1713af,_0xf206f7,_0x903576,-0x1)||lD(_0x32a19d,_0x1713af,_0xf206f7,_0x903576,0x1));}function aD(_0x4014b5){for(var _0x323862=0x0;;_0x323862++)if(!(_0x4014b5=_0x4014b5['previousSibling']))return _0x323862;}function cD(_0xdfeb7e){return 0x1==_0xdfeb7e['nodeType']&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/['test'](_0xdfeb7e['nodeName']);}function lD(_0x207947,_0x5cb09b,_0x4623b9,_0x3cafac,_0x1a9385){for(;;){if(_0x207947==_0x4623b9&&_0x5cb09b==_0x3cafac)return!0x0;if(_0x5cb09b==(_0x1a9385<0x0?0x0:hD(_0x207947))){if('DIV'==_0x207947['nodeName'])return!0x1;let _0x125a70=_0x207947['parentNode'];if(!_0x125a70||0x1!=_0x125a70['nodeType'])return!0x1;_0x5cb09b=aD(_0x207947)+(_0x1a9385<0x0?0x0:0x1),_0x207947=_0x125a70;}else{if(0x1!=_0x207947['nodeType'])return!0x1;if(0x1==(_0x207947=_0x207947['childNodes'][_0x5cb09b+(_0x1a9385<0x0?-0x1:0x0)])['nodeType']&&'false'==_0x207947['contentEditable'])return!0x1;_0x5cb09b=_0x1a9385<0x0?hD(_0x207947):0x0;}}}function hD(_0x14ea18){return 0x3==_0x14ea18['nodeType']?_0x14ea18['nodeValue']['length']:_0x14ea18['childNodes']['length'];}function uD(_0x293017,_0x3ec8cf){let _0x48a3ec=_0x3ec8cf?_0x293017['left']:_0x293017['right'];return{'left':_0x48a3ec,'right':_0x48a3ec,'top':_0x293017['top'],'bottom':_0x293017['bottom']};}function dD(_0x32c485){let _0x4a160b=_0x32c485['visualViewport'];return _0x4a160b?{'left':0x0,'right':_0x4a160b['width'],'top':0x0,'bottom':_0x4a160b['height']}:{'left':0x0,'right':_0x32c485['innerWidth'],'top':0x0,'bottom':_0x32c485['innerHeight']};}function fD(_0x542d4f,_0x16d0e5){let _0x2cdc5e=_0x16d0e5['width']/_0x542d4f['offsetWidth'],_0x517d92=_0x16d0e5['height']/_0x542d4f['offsetHeight'];return(_0x2cdc5e>0.995&&_0x2cdc5e<1.005||!isFinite(_0x2cdc5e)||Math['abs'](_0x16d0e5['width']-_0x542d4f['offsetWidth'])<0x1)&&(_0x2cdc5e=0x1),(_0x517d92>0.995&&_0x517d92<1.005||!isFinite(_0x517d92)||Math['abs'](_0x16d0e5['height']-_0x542d4f['offsetHeight'])<0x1)&&(_0x517d92=0x1),{'scaleX':_0x2cdc5e,'scaleY':_0x517d92};}function mD(_0x212412,_0x534cc7=!0x0){let _0x5704c6=_0x212412['ownerDocument'],_0x2a6919=null,_0x49be9a=null;for(let _0x2e1bdb=_0x212412['parentNode'];_0x2e1bdb&&(_0x2e1bdb!=_0x5704c6['body']&&(_0x534cc7&&!_0x2a6919||!_0x49be9a));)if(0x1==_0x2e1bdb['nodeType'])!_0x49be9a&&_0x2e1bdb['scrollHeight']>_0x2e1bdb['clientHeight']&&(_0x49be9a=_0x2e1bdb),_0x534cc7&&!_0x2a6919&&_0x2e1bdb['scrollWidth']>_0x2e1bdb['clientWidth']&&(_0x2a6919=_0x2e1bdb),_0x2e1bdb=_0x2e1bdb['assignedSlot']||_0x2e1bdb['parentNode'];else{if(0xb!=_0x2e1bdb['nodeType'])break;_0x2e1bdb=_0x2e1bdb['host'];}return{'x':_0x2a6919,'y':_0x49be9a};}eD['prototype']['startSide']=eD['prototype']['endSide']=-0x1;var pD=class{constructor(){this['anchorNode']=null,this['anchorOffset']=0x0,this['focusNode']=null,this['focusOffset']=0x0;}['eq'](_0x22e402){return this['anchorNode']==_0x22e402['anchorNode']&&this['anchorOffset']==_0x22e402['anchorOffset']&&this['focusNode']==_0x22e402['focusNode']&&this['focusOffset']==_0x22e402['focusOffset'];}['setRange'](_0x12cb1c){let {anchorNode:_0x98a4db,focusNode:_0x3ac9da}=_0x12cb1c;this['set'](_0x98a4db,Math['min'](_0x12cb1c['anchorOffset'],_0x98a4db?hD(_0x98a4db):0x0),_0x3ac9da,Math['min'](_0x12cb1c['focusOffset'],_0x3ac9da?hD(_0x3ac9da):0x0));}['set'](_0x3ff0f9,_0x27aa1b,_0x57f36e,_0x336979){this['anchorNode']=_0x3ff0f9,this['anchorOffset']=_0x27aa1b,this['focusNode']=_0x57f36e,this['focusOffset']=_0x336979;}};let gD,OD=null;function wD(_0x598bc8){if(_0x598bc8['setActive'])return _0x598bc8['setActive']();if(OD)return _0x598bc8['focus'](OD);let _0x30f65a=[];for(let _0xf6c3f6=_0x598bc8;_0xf6c3f6&&(_0x30f65a['push'](_0xf6c3f6,_0xf6c3f6['scrollTop'],_0xf6c3f6['scrollLeft']),_0xf6c3f6!=_0xf6c3f6['ownerDocument']);_0xf6c3f6=_0xf6c3f6['parentNode']);if(_0x598bc8['focus'](null==OD?{get 'preventScroll'(){return OD={'preventScroll':!0x0},!0x0;}}:void 0x0),!OD){OD=!0x1;for(let _0x1c68de=0x0;_0x1c68de<_0x30f65a['length'];){let _0x4ea097=_0x30f65a[_0x1c68de++],_0x8045d7=_0x30f65a[_0x1c68de++],_0x361fe=_0x30f65a[_0x1c68de++];_0x4ea097['scrollTop']!=_0x8045d7&&(_0x4ea097['scrollTop']=_0x8045d7),_0x4ea097['scrollLeft']!=_0x361fe&&(_0x4ea097['scrollLeft']=_0x361fe);}}}function bD(_0xe2ce7f,_0x50c464,_0x24e430=_0x50c464){let _0x308492=gD||(gD=document['createRange']());return _0x308492['setEnd'](_0xe2ce7f,_0x24e430),_0x308492['setStart'](_0xe2ce7f,_0x50c464),_0x308492;}function yD(_0x2f40d0,_0xbe312b,_0x4c5a2c,_0x330f7f){let _0x5cfe9a={'key':_0xbe312b,'code':_0xbe312b,'keyCode':_0x4c5a2c,'which':_0x4c5a2c,'cancelable':!0x0};_0x330f7f&&({altKey:_0x5cfe9a['altKey'],ctrlKey:_0x5cfe9a['ctrlKey'],shiftKey:_0x5cfe9a['shiftKey'],metaKey:_0x5cfe9a['metaKey']}=_0x330f7f);let _0x62f941=new KeyboardEvent('keydown',_0x5cfe9a);_0x62f941['synthetic']=!0x0,_0x2f40d0['dispatchEvent'](_0x62f941);let _0x120d7b=new KeyboardEvent('keyup',_0x5cfe9a);return _0x120d7b['synthetic']=!0x0,_0x2f40d0['dispatchEvent'](_0x120d7b),_0x62f941['defaultPrevented']||_0x120d7b['defaultPrevented'];}function vD(_0x2f2073){return _0x2f2073 instanceof Window?_0x2f2073['pageYOffset']>Math['max'](0x0,_0x2f2073['document']['documentElement']['scrollHeight']-_0x2f2073['innerHeight']-0x4):_0x2f2073['scrollTop']>Math['max'](0x1,_0x2f2073['scrollHeight']-_0x2f2073['clientHeight']-0x4);}function _D(_0xd321ce,_0x4c07fb){for(let _0x447068=_0xd321ce,_0x8eb516=_0x4c07fb;;){if(0x3==_0x447068['nodeType']&&_0x8eb516>0x0)return{'node':_0x447068,'offset':_0x8eb516};if(0x1==_0x447068['nodeType']&&_0x8eb516>0x0){if('false'==_0x447068['contentEditable'])return null;_0x447068=_0x447068['childNodes'][_0x8eb516-0x1],_0x8eb516=hD(_0x447068);}else{if(!_0x447068['parentNode']||cD(_0x447068))return null;_0x8eb516=aD(_0x447068),_0x447068=_0x447068['parentNode'];}}}function ED(_0xd5eaa5,_0x5cced2){for(let _0x261e89=_0xd5eaa5,_0x1aeafe=_0x5cced2;;){if(0x3==_0x261e89['nodeType']&&_0x1aeafe<_0x261e89['nodeValue']['length'])return{'node':_0x261e89,'offset':_0x1aeafe};if(0x1==_0x261e89['nodeType']&&_0x1aeafe<_0x261e89['childNodes']['length']){if('false'==_0x261e89['contentEditable'])return null;_0x261e89=_0x261e89['childNodes'][_0x1aeafe],_0x1aeafe=0x0;}else{if(!_0x261e89['parentNode']||cD(_0x261e89))return null;_0x1aeafe=aD(_0x261e89)+0x1,_0x261e89=_0x261e89['parentNode'];}}}V$['safari']&&V$['safari_version']>=0x1a&&(OD=!0x1);var TD=class DOMPos{constructor(_0x43085b,_0x1f35b1,_0x38c12e=!0x0){this['node']=_0x43085b,this['offset']=_0x1f35b1,this['precise']=_0x38c12e;}static['before'](_0x2a6967,_0x378d87){return new DOMPos(_0x2a6967['parentNode'],aD(_0x2a6967),_0x378d87);}static['after'](_0xaa12b7,_0x306b64){return new DOMPos(_0xaa12b7['parentNode'],aD(_0xaa12b7)+0x1,_0x306b64);}},AD=function(_0x364294){return _0x364294[_0x364294['LTR']=0x0]='LTR',_0x364294[_0x364294['RTL']=0x1]='RTL',_0x364294;}(AD||(AD={}));const SD=AD['LTR'],ID=AD['RTL'];function kD(_0x308a8a){let _0x43a751=[];for(let _0x52eb99=0x0;_0x52eb99<_0x308a8a['length'];_0x52eb99++)_0x43a751['push'](0x1<<+_0x308a8a[_0x52eb99]);return _0x43a751;}const xD=kD('88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008'),CD=kD('4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333'),RD=Object['create'](null),PD=[];for(let e of['()','[]','{}']){let s=e['charCodeAt'](0x0),n=e['charCodeAt'](0x1);RD[s]=n,RD[n]=-s;}function MD(_0xca6289){return _0xca6289<=0xf7?xD[_0xca6289]:0x590<=_0xca6289&&_0xca6289<=0x5f4?0x2:0x600<=_0xca6289&&_0xca6289<=0x6f9?CD[_0xca6289-0x600]:0x6ee<=_0xca6289&&_0xca6289<=0x8ac?0x4:0x2000<=_0xca6289&&_0xca6289<=0x200c?0x100:0xfb50<=_0xca6289&&_0xca6289<=0xfdff?0x4:0x1;}const ND=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;var LD=class{get['dir'](){return this['level']%0x2?ID:SD;}constructor(_0x48fe5c,_0x31373e,_0x1e151d){this['from']=_0x48fe5c,this['to']=_0x31373e,this['level']=_0x1e151d;}['side'](_0x273ab5,_0x3381cc){return this['dir']==_0x3381cc==_0x273ab5?this['to']:this['from'];}['forward'](_0x5cabf5,_0x173ce0){return _0x5cabf5==(this['dir']==_0x173ce0);}static['find'](_0x453dcc,_0xd5b199,_0x218bb9,_0x259b8a){let _0x49b8ad=-0x1;for(let _0x4212c3=0x0;_0x4212c3<_0x453dcc['length'];_0x4212c3++){let _0x113cb0=_0x453dcc[_0x4212c3];if(_0x113cb0['from']<=_0xd5b199&&_0x113cb0['to']>=_0xd5b199){if(_0x113cb0['level']==_0x218bb9)return _0x4212c3;(_0x49b8ad<0x0||(0x0!=_0x259b8a?_0x259b8a<0x0?_0x113cb0['from']<_0xd5b199:_0x113cb0['to']>_0xd5b199:_0x453dcc[_0x49b8ad]['level']>_0x113cb0['level']))&&(_0x49b8ad=_0x4212c3);}}if(_0x49b8ad<0x0)throw new RangeError('Index\x20out\x20of\x20range');return _0x49b8ad;}};function $D(_0x1d90f5,_0xdc7216){if(_0x1d90f5['length']!=_0xdc7216['length'])return!0x1;for(let _0x65295b=0x0;_0x65295b<_0x1d90f5['length'];_0x65295b++){let _0x5705aa=_0x1d90f5[_0x65295b],_0x1ee8c1=_0xdc7216[_0x65295b];if(_0x5705aa['from']!=_0x1ee8c1['from']||_0x5705aa['to']!=_0x1ee8c1['to']||_0x5705aa['direction']!=_0x1ee8c1['direction']||!$D(_0x5705aa['inner'],_0x1ee8c1['inner']))return!0x1;}return!0x0;}const DD=[];function QD(_0x25aca6,_0x37ba87,_0x599d54,_0x39882a,_0x2cab04,_0x28cc0c,_0x2d7576){let _0x4b4b61=_0x39882a%0x2?0x2:0x1;if(_0x39882a%0x2==_0x2cab04%0x2)for(let _0x5ae9ff=_0x37ba87,_0x3ba00b=0x0;_0x5ae9ff<_0x599d54;){let _0xd3f92f=!0x0,_0x2ac986=!0x1;if(_0x3ba00b==_0x28cc0c['length']||_0x5ae9ff<_0x28cc0c[_0x3ba00b]['from']){let _0x332c61=DD[_0x5ae9ff];_0x332c61!=_0x4b4b61&&(_0xd3f92f=!0x1,_0x2ac986=0x10==_0x332c61);}let _0x4e950a=_0xd3f92f||0x1!=_0x4b4b61?null:[],_0x5eb782=_0xd3f92f?_0x39882a:_0x39882a+0x1,_0x6cefeb=_0x5ae9ff;t:for(;;)if(_0x3ba00b<_0x28cc0c['length']&&_0x6cefeb==_0x28cc0c[_0x3ba00b]['from']){if(_0x2ac986)break t;let _0x37545b=_0x28cc0c[_0x3ba00b];if(!_0xd3f92f)for(let _0x5222e4=_0x37545b['to'],_0x4ab7ab=_0x3ba00b+0x1;;){if(_0x5222e4==_0x599d54)break t;if(!(_0x4ab7ab<_0x28cc0c['length']&&_0x28cc0c[_0x4ab7ab]['from']==_0x5222e4)){if(DD[_0x5222e4]==_0x4b4b61)break t;break;}_0x5222e4=_0x28cc0c[_0x4ab7ab++]['to'];}_0x3ba00b++,_0x4e950a?_0x4e950a['push'](_0x37545b):(_0x37545b['from']>_0x5ae9ff&&_0x2d7576['push'](new LD(_0x5ae9ff,_0x37545b['from'],_0x5eb782)),jD(_0x25aca6,_0x37545b['direction']==SD!=!(_0x5eb782%0x2)?_0x39882a+0x1:_0x39882a,_0x2cab04,_0x37545b['inner'],_0x37545b['from'],_0x37545b['to'],_0x2d7576),_0x5ae9ff=_0x37545b['to']),_0x6cefeb=_0x37545b['to'];}else{if(_0x6cefeb==_0x599d54||(_0xd3f92f?DD[_0x6cefeb]!=_0x4b4b61:DD[_0x6cefeb]==_0x4b4b61))break;_0x6cefeb++;}_0x4e950a?QD(_0x25aca6,_0x5ae9ff,_0x6cefeb,_0x39882a+0x1,_0x2cab04,_0x4e950a,_0x2d7576):_0x5ae9ff<_0x6cefeb&&_0x2d7576['push'](new LD(_0x5ae9ff,_0x6cefeb,_0x5eb782)),_0x5ae9ff=_0x6cefeb;}else for(let _0x2a1a7f=_0x599d54,_0x2e556c=_0x28cc0c['length'];_0x2a1a7f>_0x37ba87;){let _0x5186bc=!0x0,_0x4d52e8=!0x1;if(!_0x2e556c||_0x2a1a7f>_0x28cc0c[_0x2e556c-0x1]['to']){let _0x3343b7=DD[_0x2a1a7f-0x1];_0x3343b7!=_0x4b4b61&&(_0x5186bc=!0x1,_0x4d52e8=0x10==_0x3343b7);}let _0x2e0619=_0x5186bc||0x1!=_0x4b4b61?null:[],_0x113883=_0x5186bc?_0x39882a:_0x39882a+0x1,_0x9b08f3=_0x2a1a7f;t:for(;;)if(_0x2e556c&&_0x9b08f3==_0x28cc0c[_0x2e556c-0x1]['to']){if(_0x4d52e8)break t;let _0xad789c=_0x28cc0c[--_0x2e556c];if(!_0x5186bc)for(let _0x4f9ca9=_0xad789c['from'],_0x3b8f8b=_0x2e556c;;){if(_0x4f9ca9==_0x37ba87)break t;if(!_0x3b8f8b||_0x28cc0c[_0x3b8f8b-0x1]['to']!=_0x4f9ca9){if(DD[_0x4f9ca9-0x1]==_0x4b4b61)break t;break;}_0x4f9ca9=_0x28cc0c[--_0x3b8f8b]['from'];}_0x2e0619?_0x2e0619['push'](_0xad789c):(_0xad789c['to']<_0x2a1a7f&&_0x2d7576['push'](new LD(_0xad789c['to'],_0x2a1a7f,_0x113883)),jD(_0x25aca6,_0xad789c['direction']==SD!=!(_0x113883%0x2)?_0x39882a+0x1:_0x39882a,_0x2cab04,_0xad789c['inner'],_0xad789c['from'],_0xad789c['to'],_0x2d7576),_0x2a1a7f=_0xad789c['from']),_0x9b08f3=_0xad789c['from'];}else{if(_0x9b08f3==_0x37ba87||(_0x5186bc?DD[_0x9b08f3-0x1]!=_0x4b4b61:DD[_0x9b08f3-0x1]==_0x4b4b61))break;_0x9b08f3--;}_0x2e0619?QD(_0x25aca6,_0x9b08f3,_0x2a1a7f,_0x39882a+0x1,_0x2cab04,_0x2e0619,_0x2d7576):_0x9b08f3<_0x2a1a7f&&_0x2d7576['push'](new LD(_0x9b08f3,_0x2a1a7f,_0x113883)),_0x2a1a7f=_0x9b08f3;}}function jD(_0x2c787e,_0x40fe59,_0x435420,_0x4f3135,_0x12dea0,_0x5c2059,_0xa8662c){let _0x4d47d5=_0x40fe59%0x2?0x2:0x1;!function(_0xdbfc7f,_0x53d62b,_0x46cf44,_0x9aea8a,_0x581d58){for(let _0x37c90e=0x0;_0x37c90e<=_0x9aea8a['length'];_0x37c90e++){let _0x23170d=_0x37c90e?_0x9aea8a[_0x37c90e-0x1]['to']:_0x53d62b,_0x17eb84=_0x37c90e<_0x9aea8a['length']?_0x9aea8a[_0x37c90e]['from']:_0x46cf44,_0x5453a0=_0x37c90e?0x100:_0x581d58;for(let _0xf77005=_0x23170d,_0x5132a8=_0x5453a0,_0x8d9c88=_0x5453a0;_0xf77005<_0x17eb84;_0xf77005++){let _0x3c5190=MD(_0xdbfc7f['charCodeAt'](_0xf77005));0x200==_0x3c5190?_0x3c5190=_0x5132a8:0x8==_0x3c5190&&0x4==_0x8d9c88&&(_0x3c5190=0x10),DD[_0xf77005]=0x4==_0x3c5190?0x2:_0x3c5190,0x7&_0x3c5190&&(_0x8d9c88=_0x3c5190),_0x5132a8=_0x3c5190;}for(let _0x53a4b7=_0x23170d,_0x3059b6=_0x5453a0,_0x38cb6e=_0x5453a0;_0x53a4b7<_0x17eb84;_0x53a4b7++){let _0x5337f3=DD[_0x53a4b7];if(0x80==_0x5337f3)_0x53a4b7<_0x17eb84-0x1&&_0x3059b6==DD[_0x53a4b7+0x1]&&0x18&_0x3059b6?_0x5337f3=DD[_0x53a4b7]=_0x3059b6:DD[_0x53a4b7]=0x100;else{if(0x40==_0x5337f3){let _0xb929c7=_0x53a4b7+0x1;for(;_0xb929c7<_0x17eb84&&0x40==DD[_0xb929c7];)_0xb929c7++;let _0x4e4a6b=_0x53a4b7&&0x8==_0x3059b6||_0xb929c7<_0x46cf44&&0x8==DD[_0xb929c7]?0x1==_0x38cb6e?0x1:0x8:0x100;for(let _0xa0fd66=_0x53a4b7;_0xa0fd66<_0xb929c7;_0xa0fd66++)DD[_0xa0fd66]=_0x4e4a6b;_0x53a4b7=_0xb929c7-0x1;}else 0x8==_0x5337f3&&0x1==_0x38cb6e&&(DD[_0x53a4b7]=0x1);}_0x3059b6=_0x5337f3,0x7&_0x5337f3&&(_0x38cb6e=_0x5337f3);}}}(_0x2c787e,_0x12dea0,_0x5c2059,_0x4f3135,_0x4d47d5),function(_0x4990e2,_0x2fc3d3,_0x2fb0c9,_0x262a98,_0x116345){let _0x22250f=0x1==_0x116345?0x2:0x1;for(let _0xaaeeb8=0x0,_0x525545=0x0,_0x8a0047=0x0;_0xaaeeb8<=_0x262a98['length'];_0xaaeeb8++){let _0x392154=_0xaaeeb8?_0x262a98[_0xaaeeb8-0x1]['to']:_0x2fc3d3,_0x3db212=_0xaaeeb8<_0x262a98['length']?_0x262a98[_0xaaeeb8]['from']:_0x2fb0c9;for(let _0x5a4d35,_0x141269,_0x101a6c,_0x23463d=_0x392154;_0x23463d<_0x3db212;_0x23463d++)if(_0x141269=RD[_0x5a4d35=_0x4990e2['charCodeAt'](_0x23463d)]){if(_0x141269<0x0){for(let _0x5714a0=_0x525545-0x3;_0x5714a0>=0x0;_0x5714a0-=0x3)if(PD[_0x5714a0+0x1]==-_0x141269){let _0x136c27=PD[_0x5714a0+0x2],_0x522d83=0x2&_0x136c27?_0x116345:0x4&_0x136c27?0x1&_0x136c27?_0x22250f:_0x116345:0x0;_0x522d83&&(DD[_0x23463d]=DD[PD[_0x5714a0]]=_0x522d83),_0x525545=_0x5714a0;break;}}else{if(0xbd==PD['length'])break;PD[_0x525545++]=_0x23463d,PD[_0x525545++]=_0x5a4d35,PD[_0x525545++]=_0x8a0047;}}else{if(0x2==(_0x101a6c=DD[_0x23463d])||0x1==_0x101a6c){let _0x1b1de8=_0x101a6c==_0x116345;_0x8a0047=_0x1b1de8?0x0:0x1;for(let _0x1c754c=_0x525545-0x3;_0x1c754c>=0x0;_0x1c754c-=0x3){let _0x30fda5=PD[_0x1c754c+0x2];if(0x2&_0x30fda5)break;if(_0x1b1de8)PD[_0x1c754c+0x2]|=0x2;else{if(0x4&_0x30fda5)break;PD[_0x1c754c+0x2]|=0x4;}}}}}}(_0x2c787e,_0x12dea0,_0x5c2059,_0x4f3135,_0x4d47d5),function(_0xe47b95,_0x52a6e0,_0x376918,_0x35b58d){for(let _0x386293=0x0,_0x4e65b9=_0x35b58d;_0x386293<=_0x376918['length'];_0x386293++){let _0x32dcc3=_0x386293?_0x376918[_0x386293-0x1]['to']:_0xe47b95,_0x36e473=_0x386293<_0x376918['length']?_0x376918[_0x386293]['from']:_0x52a6e0;for(let _0x1b0adf=_0x32dcc3;_0x1b0adf<_0x36e473;){let _0x54766b=DD[_0x1b0adf];if(0x100==_0x54766b){let _0x4feb61=_0x1b0adf+0x1;for(;;)if(_0x4feb61==_0x36e473){if(_0x386293==_0x376918['length'])break;_0x4feb61=_0x376918[_0x386293++]['to'],_0x36e473=_0x386293<_0x376918['length']?_0x376918[_0x386293]['from']:_0x52a6e0;}else{if(0x100!=DD[_0x4feb61])break;_0x4feb61++;}let _0x1aaf3f=0x1==_0x4e65b9,_0x14dcda=_0x1aaf3f==(0x1==(_0x4feb61<_0x52a6e0?DD[_0x4feb61]:_0x35b58d))?_0x1aaf3f?0x1:0x2:_0x35b58d;for(let _0x14d37a=_0x4feb61,_0x4775be=_0x386293,_0x3e9d7e=_0x4775be?_0x376918[_0x4775be-0x1]['to']:_0xe47b95;_0x14d37a>_0x1b0adf;)_0x14d37a==_0x3e9d7e&&(_0x14d37a=_0x376918[--_0x4775be]['from'],_0x3e9d7e=_0x4775be?_0x376918[_0x4775be-0x1]['to']:_0xe47b95),DD[--_0x14d37a]=_0x14dcda;_0x1b0adf=_0x4feb61;}else _0x4e65b9=_0x54766b,_0x1b0adf++;}}}(_0x12dea0,_0x5c2059,_0x4f3135,_0x4d47d5),QD(_0x2c787e,_0x12dea0,_0x5c2059,_0x40fe59,_0x435420,_0x4f3135,_0xa8662c);}function UD(_0x357073){return[new LD(0x0,_0x357073,0x0)];}let VD='';function BD(_0x145c47,_0x136a91,_0x1a23d3,_0x2c88b1,_0x21b822){var _0x4781b2;let _0x2c980b=_0x2c88b1['head']-_0x145c47['from'],_0x2bb630=LD['find'](_0x136a91,_0x2c980b,null!==(_0x4781b2=_0x2c88b1['bidiLevel'])&&void 0x0!==_0x4781b2?_0x4781b2:-0x1,_0x2c88b1['assoc']),_0x3cca89=_0x136a91[_0x2bb630],_0x2792f9=_0x3cca89['side'](_0x21b822,_0x1a23d3);if(_0x2c980b==_0x2792f9){let _0x4bb8a4=_0x2bb630+=_0x21b822?0x1:-0x1;if(_0x4bb8a4<0x0||_0x4bb8a4>=_0x136a91['length'])return null;_0x3cca89=_0x136a91[_0x2bb630=_0x4bb8a4],_0x2c980b=_0x3cca89['side'](!_0x21b822,_0x1a23d3),_0x2792f9=_0x3cca89['side'](_0x21b822,_0x1a23d3);}let _0x2dfbf0=ZN(_0x145c47['text'],_0x2c980b,_0x3cca89['forward'](_0x21b822,_0x1a23d3));(_0x2dfbf0<_0x3cca89['from']||_0x2dfbf0>_0x3cca89['to'])&&(_0x2dfbf0=_0x2792f9),VD=_0x145c47['text']['slice'](Math['min'](_0x2c980b,_0x2dfbf0),Math['max'](_0x2c980b,_0x2dfbf0));let _0x397723=_0x2bb630==(_0x21b822?_0x136a91['length']-0x1:0x0)?null:_0x136a91[_0x2bb630+(_0x21b822?0x1:-0x1)];return _0x397723&&_0x2dfbf0==_0x2792f9&&_0x397723['level']+(_0x21b822?0x0:0x1)<_0x3cca89['level']?oL['cursor'](_0x397723['side'](!_0x21b822,_0x1a23d3)+_0x145c47['from'],_0x397723['forward'](_0x21b822,_0x1a23d3)?0x1:-0x1,_0x397723['level']):oL['cursor'](_0x2dfbf0+_0x145c47['from'],_0x3cca89['forward'](_0x21b822,_0x1a23d3)?-0x1:0x1,_0x3cca89['level']);}function FD(_0x453b6f,_0x443e0b,_0x1a804e){for(let _0x906ced=_0x443e0b;_0x906ced<_0x1a804e;_0x906ced++){let _0x369757=MD(_0x453b6f['charCodeAt'](_0x906ced));if(0x1==_0x369757)return SD;if(0x2==_0x369757||0x4==_0x369757)return ID;}return SD;}const HD=lL['define'](),ZD=lL['define'](),GD=lL['define'](),XD=lL['define'](),qD=lL['define'](),WD=lL['define'](),zD=lL['define'](),YD=lL['define'](),KD=lL['define'](),JD=lL['define']({'combine':_0x54b0db=>_0x54b0db['some'](_0x580d22=>_0x580d22)}),tQ=lL['define']({'combine':_0x35a205=>_0x35a205['some'](_0x174864=>_0x174864)}),eQ=lL['define']();var iQ=class ScrollTarget{constructor(_0x3172cc,_0x3b7c74,_0x241654,_0x2552e6,_0x1962e8,_0x4d9096=!0x1){this['range']=_0x3172cc,this['y']=_0x3b7c74,this['x']=_0x241654,this['yMargin']=_0x2552e6,this['xMargin']=_0x1962e8,this['isSnapshot']=_0x4d9096;}['map'](_0x2d2d0d){return _0x2d2d0d['empty']?this:new ScrollTarget(this['range']['map'](_0x2d2d0d),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}['clip'](_0x33c126){return this['range']['to']<=_0x33c126['doc']['length']?this:new ScrollTarget(oL['cursor'](_0x33c126['doc']['length']),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}};const sQ=jL['define']({'map':(t,_0x1858d2)=>t['map'](_0x1858d2)}),nQ=jL['define']();function rQ(_0x47a584,_0x120d80,_0x3d2616){let _0x4e57ba=_0x47a584['facet'](XD);_0x4e57ba['length']?_0x4e57ba[0x0](_0x120d80):window['onerror']&&window['onerror'](String(_0x120d80),_0x3d2616,void 0x0,void 0x0,_0x120d80)||(_0x3d2616?console['error'](_0x3d2616+':',_0x120d80):console['error'](_0x120d80));}const oQ=lL['define']({'combine':_0xce8e97=>!_0xce8e97['length']||_0xce8e97[0x0]});let aQ=0x0;const cQ=lL['define']({'combine':_0x44c411=>_0x44c411['filter']((_0x5bb842,_0x2c5988)=>{for(let _0x1d17e3=0x0;_0x1d17e3<_0x2c5988;_0x1d17e3++)if(_0x44c411[_0x1d17e3]['plugin']==_0x5bb842['plugin'])return!0x1;return!0x0;})});var lQ=class ViewPlugin{constructor(_0xcbf5f1,_0x3d7046,_0x4d096d,_0x511625,_0x564199){this['id']=_0xcbf5f1,this['create']=_0x3d7046,this['domEventHandlers']=_0x4d096d,this['domEventObservers']=_0x511625,this['baseExtensions']=_0x564199(this),this['extension']=this['baseExtensions']['concat'](cQ['of']({'plugin':this,'arg':void 0x0}));}['of'](_0x4b6a29){return this['baseExtensions']['concat'](cQ['of']({'plugin':this,'arg':_0x4b6a29}));}static['define'](_0x3b57f9,_0x2d1c05){const {eventHandlers:_0x438f1d,eventObservers:_0x401a9f,provide:_0x206582,decorations:_0x2d1dd8}=_0x2d1c05||{};return new ViewPlugin(aQ++,_0x3b57f9,_0x438f1d,_0x401a9f,_0x1f10fa=>{let _0x5ee1cc=[];return _0x2d1dd8&&_0x5ee1cc['push'](fQ['of'](_0xb5bb57=>{let _0x4201b1=_0xb5bb57['plugin'](_0x1f10fa);return _0x4201b1?_0x2d1dd8(_0x4201b1):W$['none'];})),_0x206582&&_0x5ee1cc['push'](_0x206582(_0x1f10fa)),_0x5ee1cc;});}static['fromClass'](_0x36a71c,_0xba3c7a){return ViewPlugin['define']((_0xf6c74c,_0x3a90fd)=>new _0x36a71c(_0xf6c74c,_0x3a90fd),_0xba3c7a);}},hQ=class{constructor(_0x5c2541){this['spec']=_0x5c2541,this['mustUpdate']=null,this['value']=null;}get['plugin'](){return this['spec']&&this['spec']['plugin'];}['update'](_0x578da7){if(this['value']){if(this['mustUpdate']){let _0x5319d5=this['mustUpdate'];if(this['mustUpdate']=null,this['value']['update'])try{this['value']['update'](_0x5319d5);}catch(_0x4a688f){if(rQ(_0x5319d5['state'],_0x4a688f,'CodeMirror\x20plugin\x20crashed'),this['value']['destroy'])try{this['value']['destroy']();}catch(_0x52c8a1){}this['deactivate']();}}}else{if(this['spec'])try{this['value']=this['spec']['plugin']['create'](_0x578da7,this['spec']['arg']);}catch(_0x28a95e){rQ(_0x578da7['state'],_0x28a95e,'CodeMirror\x20plugin\x20crashed'),this['deactivate']();}}return this;}['destroy'](_0x1c1226){var _0x395424;if(null===(_0x395424=this['value'])||void 0x0===_0x395424?void 0x0:_0x395424['destroy'])try{this['value']['destroy']();}catch(_0x4d7f59){rQ(_0x1c1226['state'],_0x4d7f59,'CodeMirror\x20plugin\x20crashed');}}['deactivate'](){this['spec']=this['value']=null;}};const uQ=lL['define'](),dQ=lL['define'](),fQ=lL['define'](),mQ=lL['define'](),pQ=lL['define'](),gQ=lL['define'](),OQ=lL['define']();function wQ(_0x1da98f,_0x2c05d2){let _0x167ddd=_0x1da98f['state']['facet'](OQ);if(!_0x167ddd['length'])return _0x167ddd;let _0x391bc1=_0x167ddd['map'](_0x1e9d61=>_0x1e9d61 instanceof Function?_0x1e9d61(_0x1da98f):_0x1e9d61),_0x4e7322=[];return n$['spans'](_0x391bc1,_0x2c05d2['from'],_0x2c05d2['to'],{'point'(){},'span'(_0x8fa8c8,_0x3852d3,_0x55f741,_0x3cc480){let _0x353716=_0x8fa8c8-_0x2c05d2['from'],_0x6c37a9=_0x3852d3-_0x2c05d2['from'],_0x1843e9=_0x4e7322;for(let _0x5b33a7=_0x55f741['length']-0x1;_0x5b33a7>=0x0;_0x5b33a7--,_0x3cc480--){let _0x154bd1,_0x4f60ac=_0x55f741[_0x5b33a7]['spec']['bidiIsolate'];if(null==_0x4f60ac&&(_0x4f60ac=FD(_0x2c05d2['text'],_0x353716,_0x6c37a9)),_0x3cc480>0x0&&_0x1843e9['length']&&(_0x154bd1=_0x1843e9[_0x1843e9['length']-0x1])['to']==_0x353716&&_0x154bd1['direction']==_0x4f60ac)_0x154bd1['to']=_0x6c37a9,_0x1843e9=_0x154bd1['inner'];else{let _0x544197={'from':_0x353716,'to':_0x6c37a9,'direction':_0x4f60ac,'inner':[]};_0x1843e9['push'](_0x544197),_0x1843e9=_0x544197['inner'];}}}}),_0x4e7322;}const bQ=lL['define']();function yQ(_0x455687){let _0x3135df=0x0,_0x13704c=0x0,_0x683a1e=0x0,_0xbcc4b1=0x0;for(let _0x294ff2 of _0x455687['state']['facet'](bQ)){let _0x38cd88=_0x294ff2(_0x455687);_0x38cd88&&(null!=_0x38cd88['left']&&(_0x3135df=Math['max'](_0x3135df,_0x38cd88['left'])),null!=_0x38cd88['right']&&(_0x13704c=Math['max'](_0x13704c,_0x38cd88['right'])),null!=_0x38cd88['top']&&(_0x683a1e=Math['max'](_0x683a1e,_0x38cd88['top'])),null!=_0x38cd88['bottom']&&(_0xbcc4b1=Math['max'](_0xbcc4b1,_0x38cd88['bottom'])));}return{'left':_0x3135df,'right':_0x13704c,'top':_0x683a1e,'bottom':_0xbcc4b1};}const vQ=lL['define']();var _Q=class ChangedRange{constructor(_0x3ae824,_0x24ccf5,_0x4d63bc,_0x4fa932){this['fromA']=_0x3ae824,this['toA']=_0x24ccf5,this['fromB']=_0x4d63bc,this['toB']=_0x4fa932;}['join'](_0x472777){return new ChangedRange(Math['min'](this['fromA'],_0x472777['fromA']),Math['max'](this['toA'],_0x472777['toA']),Math['min'](this['fromB'],_0x472777['fromB']),Math['max'](this['toB'],_0x472777['toB']));}['addToSet'](_0x2c236a){let _0x14cd03=_0x2c236a['length'],_0x1bba9c=this;for(;_0x14cd03>0x0;_0x14cd03--){let _0x2503ff=_0x2c236a[_0x14cd03-0x1];if(!(_0x2503ff['fromA']>_0x1bba9c['toA'])){if(_0x2503ff['toA']<_0x1bba9c['fromA'])break;_0x1bba9c=_0x1bba9c['join'](_0x2503ff),_0x2c236a['splice'](_0x14cd03-0x1,0x1);}}return _0x2c236a['splice'](_0x14cd03,0x0,_0x1bba9c),_0x2c236a;}static['extendWithRanges'](_0x4b8b07,_0x39b066){if(0x0==_0x39b066['length'])return _0x4b8b07;let _0x9d34c2=[];for(let _0x198557=0x0,_0x11684f=0x0,_0x22c6fe=0x0;;){let _0x5987c5=_0x198557<_0x4b8b07['length']?_0x4b8b07[_0x198557]['fromB']:0x3b9aca00,_0xc5e5fb=_0x11684f<_0x39b066['length']?_0x39b066[_0x11684f]:0x3b9aca00,_0x5b0d4f=Math['min'](_0x5987c5,_0xc5e5fb);if(0x3b9aca00==_0x5b0d4f)break;let _0x544dc3=_0x5b0d4f+_0x22c6fe,_0x3b6841=_0x5b0d4f,_0x436ab6=_0x544dc3;for(;;)if(_0x11684f<_0x39b066['length']&&_0x39b066[_0x11684f]<=_0x3b6841){let _0x1faef6=_0x39b066[_0x11684f+0x1];_0x11684f+=0x2,_0x3b6841=Math['max'](_0x3b6841,_0x1faef6);for(let _0x51cf41=_0x198557;_0x51cf41<_0x4b8b07['length']&&_0x4b8b07[_0x51cf41]['fromB']<=_0x3b6841;_0x51cf41++)_0x22c6fe=_0x4b8b07[_0x51cf41]['toA']-_0x4b8b07[_0x51cf41]['toB'];_0x436ab6=Math['max'](_0x436ab6,_0x1faef6+_0x22c6fe);}else{if(!(_0x198557<_0x4b8b07['length']&&_0x4b8b07[_0x198557]['fromB']<=_0x3b6841))break;{let _0x32709a=_0x4b8b07[_0x198557++];_0x3b6841=Math['max'](_0x3b6841,_0x32709a['toB']),_0x436ab6=Math['max'](_0x436ab6,_0x32709a['toA']),_0x22c6fe=_0x32709a['toA']-_0x32709a['toB'];}}_0x9d34c2['push'](new ChangedRange(_0x544dc3,_0x436ab6,_0x5b0d4f,_0x3b6841));}return _0x9d34c2;}},EQ=class ViewUpdate{constructor(_0x4f7048,_0x1ed637,_0x4ad319){this['view']=_0x4f7048,this['state']=_0x1ed637,this['transactions']=_0x4ad319,this['flags']=0x0,this['startState']=_0x4f7048['state'],this['changes']=KN['empty'](this['startState']['doc']['length']);for(let _0x38d3ce of _0x4ad319)this['changes']=this['changes']['compose'](_0x38d3ce['changes']);let _0x3818c7=[];this['changes']['iterChangedRanges']((_0xa470ad,_0x5cbf9c,_0x447ae9,_0x59309d)=>_0x3818c7['push'](new _Q(_0xa470ad,_0x5cbf9c,_0x447ae9,_0x59309d))),this['changedRanges']=_0x3818c7;}static['create'](_0x229aaa,_0xc50ccb,_0x3daff2){return new ViewUpdate(_0x229aaa,_0xc50ccb,_0x3daff2);}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'](_0x5da63a=>_0x5da63a['selection']);}get['empty'](){return 0x0==this['flags']&&0x0==this['transactions']['length'];}};const TQ=[];var AQ=class{constructor(_0x36c6e4,_0x6d169e,_0x38b2b7=0x0){this['dom']=_0x36c6e4,this['length']=_0x6d169e,this['flags']=_0x38b2b7,this['parent']=null,_0x36c6e4['cmTile']=this;}get['breakAfter'](){return 0x1&this['flags'];}get['children'](){return TQ;}['isWidget'](){return!0x1;}get['isHidden'](){return!0x1;}['isComposite'](){return!0x1;}['isLine'](){return!0x1;}['isText'](){return!0x1;}['isBlock'](){return!0x1;}get['domAttrs'](){return null;}['sync'](_0x3b1a9a){if(this['flags']|=0x2,0x4&this['flags']){this['flags']&=-0x5;let _0x9595a0=this['domAttrs'];_0x9595a0&&function(_0xa60397,_0x275581){for(let _0xec7a5d=_0xa60397['attributes']['length']-0x1;_0xec7a5d>=0x0;_0xec7a5d--){let _0x553fb2=_0xa60397['attributes'][_0xec7a5d]['name'];null==_0x275581[_0x553fb2]&&_0xa60397['removeAttribute'](_0x553fb2);}for(let _0xc08ef in _0x275581){let _0x2ac1a=_0x275581[_0xc08ef];'style'==_0xc08ef?_0xa60397['style']['cssText']=_0x2ac1a:_0xa60397['getAttribute'](_0xc08ef)!=_0x2ac1a&&_0xa60397['setAttribute'](_0xc08ef,_0x2ac1a);}}(this['dom'],_0x9595a0);}}['toString'](){return this['constructor']['name']+(this['children']['length']?'('+this['children']+')':'')+(this['breakAfter']?'#':'');}['destroy'](){this['parent']=null;}['setDOM'](_0x4ebef6){this['dom']=_0x4ebef6,_0x4ebef6['cmTile']=this;}get['posAtStart'](){return this['parent']?this['parent']['posBefore'](this):0x0;}get['posAtEnd'](){return this['posAtStart']+this['length'];}['posBefore'](_0x220d6e,_0x5d5afe=this['posAtStart']){let _0xee1bca=_0x5d5afe;for(let _0x2d6690 of this['children']){if(_0x2d6690==_0x220d6e)return _0xee1bca;_0xee1bca+=_0x2d6690['length']+_0x2d6690['breakAfter'];}throw new RangeError('Invalid\x20child\x20in\x20posBefore');}['posAfter'](_0x1629ad){return this['posBefore'](_0x1629ad)+_0x1629ad['length'];}['covers'](_0x1efc0c){return!0x0;}['coordsIn'](_0x3b253f,_0x3aef86){return null;}['domPosFor'](_0x5d4169,_0x1dedd8){let _0x54026f=aD(this['dom']),_0x5bb59a=this['length']?_0x5d4169>0x0:_0x1dedd8>0x0;return new TD(this['parent']['dom'],_0x54026f+(_0x5bb59a?0x1:0x0),0x0==_0x5d4169||_0x5d4169==this['length']);}['markDirty'](_0x5b0a7c){this['flags']&=-0x3,_0x5b0a7c&&(this['flags']|=0x4),this['parent']&&0x2&this['parent']['flags']&&this['parent']['markDirty'](!0x1);}get['overrideDOMText'](){return null;}get['root'](){for(let t=this;t;t=t['parent'])if(t instanceof kQ)return t;return null;}static['get'](_0x7c6f97){return _0x7c6f97['cmTile'];}},SQ=class extends AQ{constructor(_0x2f079c){super(_0x2f079c,0x0),this['_children']=[];}['isComposite'](){return!0x0;}get['children'](){return this['_children'];}get['lastChild'](){return this['children']['length']?this['children'][this['children']['length']-0x1]:null;}['append'](_0xe19889){this['children']['push'](_0xe19889),_0xe19889['parent']=this;}['sync'](_0x46b510){if(0x2&this['flags'])return;super['sync'](_0x46b510);let _0x51c173,_0x26948c=this['dom'],_0x185a55=null,_0x404f7f=(null==_0x46b510?void 0x0:_0x46b510['node'])==_0x26948c?_0x46b510:null,_0x38af93=0x0;for(let _0x5dd82f of this['children']){if(_0x5dd82f['sync'](_0x46b510),_0x38af93+=_0x5dd82f['length']+_0x5dd82f['breakAfter'],_0x51c173=_0x185a55?_0x185a55['nextSibling']:_0x26948c['firstChild'],_0x404f7f&&_0x51c173!=_0x5dd82f['dom']&&(_0x404f7f['written']=!0x0),_0x5dd82f['dom']['parentNode']==_0x26948c){for(;_0x51c173&&_0x51c173!=_0x5dd82f['dom'];)_0x51c173=IQ(_0x51c173);}else _0x26948c['insertBefore'](_0x5dd82f['dom'],_0x51c173);_0x185a55=_0x5dd82f['dom'];}for(_0x51c173=_0x185a55?_0x185a55['nextSibling']:_0x26948c['firstChild'],_0x404f7f&&_0x51c173&&(_0x404f7f['written']=!0x0);_0x51c173;)_0x51c173=IQ(_0x51c173);this['length']=_0x38af93;}};function IQ(_0x48cef1){let _0x1afb3b=_0x48cef1['nextSibling'];return _0x48cef1['parentNode']['removeChild'](_0x48cef1),_0x1afb3b;}var kQ=class extends SQ{constructor(_0x130af5,_0x5af60e){super(_0x5af60e),this['view']=_0x130af5;}['owns'](_0x406af2){for(;_0x406af2;_0x406af2=_0x406af2['parent'])if(_0x406af2==this)return!0x0;return!0x1;}['isBlock'](){return!0x0;}['nearest'](_0x437d2c){for(;;){if(!_0x437d2c)return null;let _0x183e08=AQ['get'](_0x437d2c);if(_0x183e08&&this['owns'](_0x183e08))return _0x183e08;_0x437d2c=_0x437d2c['parentNode'];}}['blockTiles'](_0x22e315){for(let _0x5c28c5=[],_0x480d49=this,_0x459439=0x0,_0x1ca6e8=0x0;;)if(_0x459439==_0x480d49['children']['length']){if(!_0x5c28c5['length'])return;_0x480d49=_0x480d49['parent'],_0x480d49['breakAfter']&&_0x1ca6e8++,_0x459439=_0x5c28c5['pop']();}else{let _0x50ea91=_0x480d49['children'][_0x459439++];if(_0x50ea91 instanceof xQ)_0x5c28c5['push'](_0x459439),_0x480d49=_0x50ea91,_0x459439=0x0;else{let _0x201ea4=_0x1ca6e8+_0x50ea91['length'],_0x56fc3a=_0x22e315(_0x50ea91,_0x1ca6e8);if(void 0x0!==_0x56fc3a)return _0x56fc3a;_0x1ca6e8=_0x201ea4+_0x50ea91['breakAfter'];}}}['resolveBlock'](_0x87ef7,_0x4ac6df){let _0x5659e4,_0x42f535,_0x47fa2e=-0x1,_0x52a8f6=-0x1;if(this['blockTiles']((_0x31adc8,_0x2a669b)=>{let _0x24d81=_0x2a669b+_0x31adc8['length'];if(_0x87ef7>=_0x2a669b&&_0x87ef7<=_0x24d81){if(_0x31adc8['isWidget']()&&_0x4ac6df>=-0x1&&_0x4ac6df<=0x1){if(0x20&_0x31adc8['flags'])return!0x0;0x10&_0x31adc8['flags']&&(_0x5659e4=void 0x0);}(_0x2a669b<_0x87ef7||_0x87ef7==_0x24d81&&(_0x4ac6df<-0x1?_0x31adc8['length']:_0x31adc8['covers'](0x1)))&&(!_0x5659e4||!_0x31adc8['isWidget']()&&_0x5659e4['isWidget']())&&(_0x5659e4=_0x31adc8,_0x47fa2e=_0x87ef7-_0x2a669b),(_0x24d81>_0x87ef7||_0x87ef7==_0x2a669b&&(_0x4ac6df>0x1?_0x31adc8['length']:_0x31adc8['covers'](-0x1)))&&(!_0x42f535||!_0x31adc8['isWidget']()&&_0x42f535['isWidget']())&&(_0x42f535=_0x31adc8,_0x52a8f6=_0x87ef7-_0x2a669b);}}),!_0x5659e4&&!_0x42f535)throw new Error('No\x20tile\x20at\x20position\x20'+_0x87ef7);return _0x5659e4&&_0x4ac6df<0x0||!_0x42f535?{'tile':_0x5659e4,'offset':_0x47fa2e}:{'tile':_0x42f535,'offset':_0x52a8f6};}},xQ=class BlockWrapperTile extends SQ{constructor(_0x462010,_0x3dd6cd){super(_0x462010),this['wrapper']=_0x3dd6cd;}['isBlock'](){return!0x0;}['covers'](_0x4f5e89){return!!this['children']['length']&&(_0x4f5e89<0x0?this['children'][0x0]['covers'](-0x1):this['lastChild']['covers'](0x1));}get['domAttrs'](){return this['wrapper']['attributes'];}static['of'](_0xb85936,_0x153655){let _0x41494a=new BlockWrapperTile(_0x153655||document['createElement'](_0xb85936['tagName']),_0xb85936);return _0x153655||(_0x41494a['flags']|=0x4),_0x41494a;}},CQ=class LineTile extends SQ{constructor(_0x2c687b,_0x16a15e){super(_0x2c687b),this['attrs']=_0x16a15e;}['isLine'](){return!0x0;}static['start'](_0x5ae78d,_0x2b6f55,_0x2807d5){let _0x3859a4=new LineTile(_0x2b6f55||document['createElement']('div'),_0x5ae78d);return _0x2b6f55&&_0x2807d5||(_0x3859a4['flags']|=0x4),_0x3859a4;}get['domAttrs'](){return this['attrs'];}['resolveInline'](_0x312fa1,_0x30deb4,_0x4774ef){let _0x3f9832=null,_0x5271eb=-0x1,_0x4ec915=null,_0x20ff19=-0x1;!function _0x4b05aa(_0x3374cb,_0x1c930e){for(let _0x2dea13=0x0,_0x442aea=0x0;_0x2dea13<_0x3374cb['children']['length']&&_0x442aea<=_0x1c930e;_0x2dea13++){let _0x5e9f43=_0x3374cb['children'][_0x2dea13],_0x4c568b=_0x442aea+_0x5e9f43['length'];_0x4c568b>=_0x1c930e&&(_0x5e9f43['isComposite']()?_0x4b05aa(_0x5e9f43,_0x1c930e-_0x442aea):(!_0x4ec915||_0x4ec915['isHidden']&&(_0x30deb4>0x0||_0x4774ef&&RQ(_0x4ec915,_0x5e9f43)))&&(_0x4c568b>_0x1c930e||0x20&_0x5e9f43['flags'])?(_0x4ec915=_0x5e9f43,_0x20ff19=_0x1c930e-_0x442aea):(_0x442aea<_0x1c930e||0x10&_0x5e9f43['flags']&&!_0x5e9f43['isHidden'])&&(_0x3f9832=_0x5e9f43,_0x5271eb=_0x1c930e-_0x442aea)),_0x442aea=_0x4c568b;}}(this,_0x312fa1);let _0x3045be=(_0x30deb4<0x0?_0x3f9832:_0x4ec915)||_0x3f9832||_0x4ec915;return _0x3045be?{'tile':_0x3045be,'offset':_0x3045be==_0x3f9832?_0x5271eb:_0x20ff19}:null;}['coordsIn'](_0x37047d,_0x58a745){let _0x2420f6=this['resolveInline'](_0x37047d,_0x58a745,!0x0);return _0x2420f6?_0x2420f6['tile']['coordsIn'](Math['max'](0x0,_0x2420f6['offset']),_0x58a745):function(_0xbb7d7){let _0x2ddd75=_0xbb7d7['dom']['lastChild'];if(!_0x2ddd75)return _0xbb7d7['dom']['getBoundingClientRect']();let _0x415f9e=rD(_0x2ddd75);return _0x415f9e[_0x415f9e['length']-0x1]||null;}(this);}['domIn'](_0xe8e361,_0x5020f2){let _0x2e06bb=this['resolveInline'](_0xe8e361,_0x5020f2);if(_0x2e06bb){let {tile:_0x33e2f9,offset:_0x188fae}=_0x2e06bb;if(this['dom']['contains'](_0x33e2f9['dom']))return _0x33e2f9['isText']()?new TD(_0x33e2f9['dom'],Math['min'](_0x33e2f9['dom']['nodeValue']['length'],_0x188fae)):_0x33e2f9['domPosFor'](_0x188fae,0x10&_0x33e2f9['flags']?0x1:0x20&_0x33e2f9['flags']?-0x1:_0x5020f2);let _0x11653c=_0x2e06bb['tile']['parent'],_0x44daad=!0x1;for(let _0x15ddf9 of _0x11653c['children']){if(_0x44daad)return new TD(_0x15ddf9['dom'],0x0);_0x15ddf9==_0x2e06bb['tile']&&(_0x44daad=!0x0);}}return new TD(this['dom'],0x0);}};function RQ(_0x56e9e2,_0x1f805b){let _0x74f095=_0x56e9e2['coordsIn'](0x0,0x1),_0x220ee8=_0x1f805b['coordsIn'](0x0,0x1);return _0x74f095&&_0x220ee8&&_0x220ee8['top']<_0x74f095['bottom'];}var PQ=class MarkTile extends SQ{constructor(_0x3ce297,_0x2446a8){super(_0x3ce297),this['mark']=_0x2446a8;}get['domAttrs'](){return this['mark']['attrs'];}static['of'](_0x35a408,_0xed4b2){let _0x362d9b=new MarkTile(_0xed4b2||document['createElement'](_0x35a408['tagName']),_0x35a408);return _0xed4b2||(_0x362d9b['flags']|=0x4),_0x362d9b;}},MQ=class TextTile extends AQ{constructor(_0x30d9bf,_0x3df235){super(_0x30d9bf,_0x3df235['length']),this['text']=_0x3df235;}['sync'](_0x53c84f){0x2&this['flags']||(super['sync'](_0x53c84f),this['dom']['nodeValue']!=this['text']&&(_0x53c84f&&_0x53c84f['node']==this['dom']&&(_0x53c84f['written']=!0x0),this['dom']['nodeValue']=this['text']));}['isText'](){return!0x0;}['toString'](){return JSON['stringify'](this['text']);}['coordsIn'](_0x437d75,_0x157816){let _0x3c72fb=this['dom']['nodeValue']['length'];_0x437d75>_0x3c72fb&&(_0x437d75=_0x3c72fb);let _0x376d44=_0x437d75,_0x434642=_0x437d75,_0x55758b=0x0;0x0==_0x437d75&&_0x157816<0x0||_0x437d75==_0x3c72fb&&_0x157816>=0x0?V$['chrome']||V$['gecko']||(_0x437d75?(_0x376d44--,_0x55758b=0x1):_0x434642<_0x3c72fb&&(_0x434642++,_0x55758b=-0x1)):_0x157816<0x0?_0x376d44--:_0x434642<_0x3c72fb&&_0x434642++;let _0x427447=bD(this['dom'],_0x376d44,_0x434642)['getClientRects']();if(!_0x427447['length'])return null;let _0x3a6f33=_0x427447[(_0x55758b?_0x55758b<0x0:_0x157816>=0x0)?0x0:_0x427447['length']-0x1];return V$['safari']&&!_0x55758b&&0x0==_0x3a6f33['width']&&(_0x3a6f33=Array['prototype']['find']['call'](_0x427447,_0xea0a89=>_0xea0a89['width'])||_0x3a6f33),_0x55758b?uD(_0x3a6f33,_0x55758b<0x0):_0x3a6f33||null;}static['of'](_0x505aeb,_0x49df15){let _0x5380a6=new TextTile(_0x49df15||document['createTextNode'](_0x505aeb),_0x505aeb);return _0x49df15||(_0x5380a6['flags']|=0x2),_0x5380a6;}},NQ=class WidgetTile extends AQ{constructor(_0x56e0fb,_0x514f6d,_0x1d3d2b,_0x53de65){super(_0x56e0fb,_0x514f6d,_0x53de65),this['widget']=_0x1d3d2b;}['isWidget'](){return!0x0;}get['isHidden'](){return this['widget']['isHidden'];}['covers'](_0x28eb7b){return!(0x30&this['flags'])&&(this['flags']&(_0x28eb7b<0x0?0x40:0x80))>0x0;}['coordsIn'](_0x3d3c7a,_0x26e45d){return this['coordsInWidget'](_0x3d3c7a,_0x26e45d,!0x1);}['coordsInWidget'](_0x54edba,_0xba4e7f,_0x1210f4){let _0x135b21=this['widget']['coordsAt'](this['dom'],_0x54edba,_0xba4e7f);if(_0x135b21)return _0x135b21;if(_0x1210f4)return uD(this['dom']['getBoundingClientRect'](),this['length']?0x0==_0x54edba:_0xba4e7f<=0x0);{let _0x934952=this['dom']['getClientRects'](),_0x4753a5=null;if(!_0x934952['length'])return null;let _0x2458b3=!!(0x10&this['flags'])||!(0x20&this['flags'])&&_0x54edba>0x0;for(let _0x1a5884=_0x2458b3?_0x934952['length']-0x1:0x0;_0x4753a5=_0x934952[_0x1a5884],!(_0x54edba>0x0?0x0==_0x1a5884:_0x1a5884==_0x934952['length']-0x1||_0x4753a5['top']<_0x4753a5['bottom']);_0x1a5884+=_0x2458b3?-0x1:0x1);return uD(_0x4753a5,!_0x2458b3);}}get['overrideDOMText'](){if(!this['length'])return LN['empty'];let {root:_0x30f67c}=this;if(!_0x30f67c)return LN['empty'];let _0x4bf8a3=this['posAtStart'];return _0x30f67c['view']['state']['doc']['slice'](_0x4bf8a3,_0x4bf8a3+this['length']);}['destroy'](){super['destroy'](),this['widget']['destroy'](this['dom']);}static['of'](_0x49ee03,_0x31adf5,_0x3369e4,_0x3bd7ee,_0x111f55){return _0x111f55||(_0x111f55=_0x49ee03['toDOM'](_0x31adf5),_0x49ee03['editable']||(_0x111f55['contentEditable']='false')),new WidgetTile(_0x111f55,_0x3369e4,_0x49ee03,_0x3bd7ee);}},LQ=class extends AQ{constructor(_0x4f1868){let _0x48836f=document['createElement']('img');_0x48836f['className']='cm-widgetBuffer',_0x48836f['setAttribute']('aria-hidden','true'),super(_0x48836f,0x0,_0x4f1868);}get['isHidden'](){return!0x0;}get['overrideDOMText'](){return LN['empty'];}['coordsIn'](_0x3d765f){return this['dom']['getBoundingClientRect']();}},$Q=class{constructor(_0x37fbf7){this['index']=0x0,this['beforeBreak']=!0x1,this['parents']=[],this['tile']=_0x37fbf7;}['advance'](_0xe65a86,_0x766a26,_0x469e58){let {tile:_0x547a27,index:_0x161359,beforeBreak:_0x3eaf1e,parents:_0x12c315}=this;for(;_0xe65a86||_0x766a26>0x0;)if(_0x547a27['isComposite']()){if(_0x3eaf1e){if(!_0xe65a86)break;_0x469e58&&_0x469e58['break'](),_0xe65a86--,_0x3eaf1e=!0x1;}else{if(_0x161359==_0x547a27['children']['length']){if(!_0xe65a86&&!_0x12c315['length'])break;_0x469e58&&_0x469e58['leave'](_0x547a27),_0x3eaf1e=!!_0x547a27['breakAfter'],{tile:_0x547a27,index:_0x161359}=_0x12c315['pop'](),_0x161359++;}else{let _0x314858=_0x547a27['children'][_0x161359],_0x5dcd0f=_0x314858['breakAfter'];!(_0x766a26>0x0?_0x314858['length']<=_0xe65a86:_0x314858['length']<_0xe65a86)||_0x469e58&&!0x1===_0x469e58['skip'](_0x314858,0x0,_0x314858['length'])&&_0x314858['isComposite']?(_0x12c315['push']({'tile':_0x547a27,'index':_0x161359}),_0x547a27=_0x314858,_0x161359=0x0,_0x469e58&&_0x314858['isComposite']()&&_0x469e58['enter'](_0x314858)):(_0x3eaf1e=!!_0x5dcd0f,_0x161359++,_0xe65a86-=_0x314858['length']);}}}else{if(_0x161359==_0x547a27['length'])_0x3eaf1e=!!_0x547a27['breakAfter'],{tile:_0x547a27,index:_0x161359}=_0x12c315['pop'](),_0x161359++;else{if(!_0xe65a86)break;{let _0x3dd5ba=Math['min'](_0xe65a86,_0x547a27['length']-_0x161359);_0x469e58&&_0x469e58['skip'](_0x547a27,_0x161359,_0x161359+_0x3dd5ba),_0xe65a86-=_0x3dd5ba,_0x161359+=_0x3dd5ba;}}}return this['tile']=_0x547a27,this['index']=_0x161359,this['beforeBreak']=_0x3eaf1e,this;}get['root'](){return this['parents']['length']?this['parents'][0x0]['tile']:this['tile'];}},DQ=class{constructor(_0x469ed6,_0x5ea60e,_0x1752eb,_0x37ad9e){this['from']=_0x469ed6,this['to']=_0x5ea60e,this['wrapper']=_0x1752eb,this['rank']=_0x37ad9e;}},QQ=class{constructor(_0x2aae0f,_0x37e490,_0x4dfba7){this['cache']=_0x2aae0f,this['root']=_0x37e490,this['blockWrappers']=_0x4dfba7,this['curLine']=null,this['lastBlock']=null,this['afterWidget']=null,this['pos']=0x0,this['wrappers']=[],this['wrapperPos']=0x0;}['addText'](_0x5ef7ed,_0x1bc08b,_0x529b90,_0x72ebb1){var _0x54c6de;this['flushBuffer']();let _0x35e2b2=this['ensureMarks'](_0x1bc08b,_0x529b90),_0x55a7ef=_0x35e2b2['lastChild'];if(_0x55a7ef&&_0x55a7ef['isText']()&&!(0x8&_0x55a7ef['flags'])&&_0x55a7ef['length']+_0x5ef7ed['length']<0x200)this['cache']['reused']['set'](_0x55a7ef,0x2),(_0x35e2b2['children'][_0x35e2b2['children']['length']-0x1]=new MQ(_0x55a7ef['dom'],_0x55a7ef['text']+_0x5ef7ed))['parent']=_0x35e2b2;else _0x35e2b2['append'](_0x72ebb1||MQ['of'](_0x5ef7ed,null===(_0x54c6de=this['cache']['find'](MQ))||void 0x0===_0x54c6de?void 0x0:_0x54c6de['dom']));this['pos']+=_0x5ef7ed['length'],this['afterWidget']=null;}['addComposition'](_0x5456b5,_0x58ea6e){let _0x583d13=this['curLine'];_0x583d13['dom']!=_0x58ea6e['line']['dom']&&(_0x583d13['setDOM'](this['cache']['reused']['has'](_0x58ea6e['line'])?ZQ(_0x58ea6e['line']['dom']):_0x58ea6e['line']['dom']),this['cache']['reused']['set'](_0x58ea6e['line'],0x2));let _0x441c5d=_0x583d13;for(let _0x301edd=_0x58ea6e['marks']['length']-0x1;_0x301edd>=0x0;_0x301edd--){let _0x4cb785=_0x58ea6e['marks'][_0x301edd],_0x1506a0=_0x441c5d['lastChild'];if(_0x1506a0 instanceof PQ&&_0x1506a0['mark']['eq'](_0x4cb785['mark']))_0x1506a0['dom']!=_0x4cb785['dom']&&_0x1506a0['setDOM'](ZQ(_0x4cb785['dom'])),_0x441c5d=_0x1506a0;else{if(this['cache']['reused']['get'](_0x4cb785)){let _0x511dd4=AQ['get'](_0x4cb785['dom']);_0x511dd4&&_0x511dd4['setDOM'](ZQ(_0x4cb785['dom']));}let _0x569c1c=PQ['of'](_0x4cb785['mark'],_0x4cb785['dom']);_0x441c5d['append'](_0x569c1c),_0x441c5d=_0x569c1c;}this['cache']['reused']['set'](_0x4cb785,0x2);}let _0x22ac97=AQ['get'](_0x5456b5['text']);_0x22ac97&&this['cache']['reused']['set'](_0x22ac97,0x2);let _0x39169d=new MQ(_0x5456b5['text'],_0x5456b5['text']['nodeValue']);_0x39169d['flags']|=0x8,this['pos']=_0x5456b5['range']['toB'],_0x441c5d['append'](_0x39169d);}['addInlineWidget'](_0x3f586c,_0x503316,_0x15aabf){let _0x4aa3a6=this['afterWidget']&&0x30&_0x3f586c['flags']&&(0x30&this['afterWidget']['flags'])==(0x30&_0x3f586c['flags']);_0x4aa3a6||this['flushBuffer']();let _0x244a22=this['ensureMarks'](_0x503316,_0x15aabf);_0x4aa3a6||0x10&_0x3f586c['flags']||_0x244a22['append'](this['getBuffer'](0x1)),_0x244a22['append'](_0x3f586c),this['pos']+=_0x3f586c['length'],this['afterWidget']=_0x3f586c;}['addMark'](_0x1a02a7,_0x4d93ff,_0x4fb5a6){this['flushBuffer'](),this['ensureMarks'](_0x4d93ff,_0x4fb5a6)['append'](_0x1a02a7),this['pos']+=_0x1a02a7['length'],this['afterWidget']=null;}['addBlockWidget'](_0x3483a6){this['getBlockPos']()['append'](_0x3483a6),this['pos']+=_0x3483a6['length'],this['lastBlock']=_0x3483a6,this['endLine']();}['continueWidget'](_0x286765){(this['afterWidget']||this['lastBlock'])['length']+=_0x286765,this['pos']+=_0x286765;}['addLineStart'](_0x542104,_0x32d093){var _0x2f12a4;_0x542104||(_0x542104=HQ);let _0x520d2e=CQ['start'](_0x542104,_0x32d093||(null===(_0x2f12a4=this['cache']['find'](CQ))||void 0x0===_0x2f12a4?void 0x0:_0x2f12a4['dom']),!!_0x32d093);this['getBlockPos']()['append'](this['lastBlock']=this['curLine']=_0x520d2e);}['addLine'](_0x2797a9){this['getBlockPos']()['append'](_0x2797a9),this['pos']+=_0x2797a9['length'],this['lastBlock']=_0x2797a9,this['endLine']();}['addBreak'](){this['lastBlock']['flags']|=0x1,this['endLine'](),this['pos']++;}['addLineStartIfNotCovered'](_0x34b050){this['blockPosCovered']()||this['addLineStart'](_0x34b050);}['ensureLine'](_0x2176f6){this['curLine']||this['addLineStart'](_0x2176f6);}['ensureMarks'](_0xe4c48f,_0xcea538){var _0x31ae6e;let _0x23ac9f=this['curLine'];for(let _0x46feaf=_0xe4c48f['length']-0x1;_0x46feaf>=0x0;_0x46feaf--){let _0x3a5180,_0x27b48d=_0xe4c48f[_0x46feaf];if(_0xcea538>0x0&&(_0x3a5180=_0x23ac9f['lastChild'])&&_0x3a5180 instanceof PQ&&_0x3a5180['mark']['eq'](_0x27b48d))_0x23ac9f=_0x3a5180,_0xcea538--;else{let _0x19211d=PQ['of'](_0x27b48d,null===(_0x31ae6e=this['cache']['find'](PQ,_0x468d32=>_0x468d32['mark']['eq'](_0x27b48d)))||void 0x0===_0x31ae6e?void 0x0:_0x31ae6e['dom']);_0x23ac9f['append'](_0x19211d),_0x23ac9f=_0x19211d,_0xcea538=0x0;}}return _0x23ac9f;}['endLine'](){if(this['curLine']){this['flushBuffer']();let _0x8e6710=this['curLine']['lastChild'];_0x8e6710&&FQ(this['curLine'],!0x1)&&('BR'==_0x8e6710['dom']['nodeName']||!_0x8e6710['isWidget']()||V$['ios']&&FQ(this['curLine'],!0x0))||this['curLine']['append'](this['cache']['findWidget'](XQ,0x0,0x20)||new NQ(XQ['toDOM'](),0x0,XQ,0x20)),this['curLine']=this['afterWidget']=null;}}['updateBlockWrappers'](){this['wrapperPos']>this['pos']+0x2710&&(this['blockWrappers']['goto'](this['pos']),this['wrappers']['length']=0x0);for(let _0x45defb=this['wrappers']['length']-0x1;_0x45defb>=0x0;_0x45defb--)this['wrappers'][_0x45defb]['to']<this['pos']&&this['wrappers']['splice'](_0x45defb,0x1);for(let _0x450ca8=this['blockWrappers'];_0x450ca8['value']&&_0x450ca8['from']<=this['pos'];_0x450ca8['next']())if(_0x450ca8['to']>=this['pos']){let _0x3c8562=0x66*_0x450ca8['rank']+_0x450ca8['value']['rank'],_0xf2566f=new DQ(_0x450ca8['from'],_0x450ca8['to'],_0x450ca8['value'],_0x3c8562),_0x4dabf5=this['wrappers']['length'];for(;_0x4dabf5>0x0&&(this['wrappers'][_0x4dabf5-0x1]['rank']-_0xf2566f['rank']||this['wrappers'][_0x4dabf5-0x1]['to']-_0xf2566f['to'])<0x0;)_0x4dabf5--;this['wrappers']['splice'](_0x4dabf5,0x0,_0xf2566f);}this['wrapperPos']=this['pos'];}['getBlockPos'](){var _0x4dc7ce;this['updateBlockWrappers']();let _0xfe2d04=this['root'];for(let _0x248b13 of this['wrappers']){let _0x3189d0=_0xfe2d04['lastChild'];if(_0x248b13['from']<this['pos']&&_0x3189d0 instanceof xQ&&_0x3189d0['wrapper']['eq'](_0x248b13['wrapper']))_0xfe2d04=_0x3189d0;else{let _0xcff6d5=xQ['of'](_0x248b13['wrapper'],null===(_0x4dc7ce=this['cache']['find'](xQ,t=>t['wrapper']['eq'](_0x248b13['wrapper'])))||void 0x0===_0x4dc7ce?void 0x0:_0x4dc7ce['dom']);_0xfe2d04['append'](_0xcff6d5),_0xfe2d04=_0xcff6d5;}}return _0xfe2d04;}['blockPosCovered'](){let _0x41bf6d=this['lastBlock'];return null!=_0x41bf6d&&!_0x41bf6d['breakAfter']&&(!_0x41bf6d['isWidget']()||(0xa0&_0x41bf6d['flags'])>0x0);}['getBuffer'](_0x51e3d2){let _0x350999=0x2|(_0x51e3d2<0x0?0x10:0x20),_0xe5f696=this['cache']['find'](LQ,void 0x0,0x1);return _0xe5f696&&(_0xe5f696['flags']=_0x350999),_0xe5f696||new LQ(_0x350999);}['flushBuffer'](){!this['afterWidget']||0x20&this['afterWidget']['flags']||(this['afterWidget']['parent']['append'](this['getBuffer'](-0x1)),this['afterWidget']=null);}},jQ=class{constructor(_0x2008fb){this['skipCount']=0x0,this['text']='',this['textOff']=0x0,this['cursor']=_0x2008fb['iter']();}['skip'](_0x6ba884){this['textOff']+_0x6ba884<=this['text']['length']?this['textOff']+=_0x6ba884:(this['skipCount']+=_0x6ba884-(this['text']['length']-this['textOff']),this['text']='',this['textOff']=0x0);}['next'](_0x16adc0){if(this['textOff']==this['text']['length']){let {value:_0x5e8d,lineBreak:_0x18ff20,done:_0x2d791e}=this['cursor']['next'](this['skipCount']);if(this['skipCount']=0x0,_0x2d791e)throw new Error('Ran\x20out\x20of\x20text\x20content\x20when\x20drawing\x20inline\x20views');this['text']=_0x5e8d;let _0xfa4f14=this['textOff']=Math['min'](_0x16adc0,_0x5e8d['length']);return _0x18ff20?null:_0x5e8d['slice'](0x0,_0xfa4f14);}let _0x198309=Math['min'](this['text']['length'],this['textOff']+_0x16adc0),_0x19564c=this['text']['slice'](this['textOff'],_0x198309);return this['textOff']=_0x198309,_0x19564c;}};const UQ=[NQ,CQ,MQ,PQ,LQ,xQ,kQ];for(let e=0x0;e<UQ['length'];e++)UQ[e]['bucket']=e;var VQ=class{constructor(_0x2c1ceb){this['view']=_0x2c1ceb,this['buckets']=UQ['map'](()=>[]),this['index']=UQ['map'](()=>0x0),this['reused']=new Map();}['add'](_0x7a6f6a){let _0x52b4fa=_0x7a6f6a['constructor']['bucket'],_0x454f6f=this['buckets'][_0x52b4fa];_0x454f6f['length']<0x6?_0x454f6f['push'](_0x7a6f6a):_0x454f6f[this['index'][_0x52b4fa]=(this['index'][_0x52b4fa]+0x1)%0x6]=_0x7a6f6a;}['find'](_0x4b45d4,_0x67c21a,_0x342b57=0x2){let _0x1e3aa6=_0x4b45d4['bucket'],_0x385609=this['buckets'][_0x1e3aa6],_0x23ce8f=this['index'][_0x1e3aa6];for(let _0x55af57=_0x385609['length']-0x1;_0x55af57>=0x0;_0x55af57--){let _0x4f563e=(_0x55af57+_0x23ce8f)%_0x385609['length'],_0x3745c6=_0x385609[_0x4f563e];if((!_0x67c21a||_0x67c21a(_0x3745c6))&&!this['reused']['has'](_0x3745c6))return _0x385609['splice'](_0x4f563e,0x1),_0x4f563e<_0x23ce8f&&this['index'][_0x1e3aa6]--,this['reused']['set'](_0x3745c6,_0x342b57),_0x3745c6;}return null;}['findWidget'](_0x15da41,_0x5ef7c2,_0x2f3ed4){let _0x56611e=this['buckets'][0x0];if(_0x56611e['length'])for(let _0x20e2a0=0x0,_0x221bc7=0x0;;_0x20e2a0++){if(_0x20e2a0==_0x56611e['length']){if(_0x221bc7)return null;_0x221bc7=0x1,_0x20e2a0=0x0;}let _0x145d83=_0x56611e[_0x20e2a0];if(!this['reused']['has'](_0x145d83)&&(0x0==_0x221bc7?_0x145d83['widget']['compare'](_0x15da41):_0x145d83['widget']['constructor']==_0x15da41['constructor']&&_0x15da41['updateDOM'](_0x145d83['dom'],this['view'],_0x145d83['widget'])))return _0x56611e['splice'](_0x20e2a0,0x1),_0x20e2a0<this['index'][0x0]&&this['index'][0x0]--,_0x145d83['widget']==_0x15da41&&_0x145d83['length']==_0x5ef7c2&&(0x1f1&_0x145d83['flags'])==_0x2f3ed4?(this['reused']['set'](_0x145d83,0x1),_0x145d83):(this['reused']['set'](_0x145d83,0x2),new NQ(_0x145d83['dom'],_0x5ef7c2,_0x15da41,-0x1f2&_0x145d83['flags']|_0x2f3ed4));}}['reuse'](_0x109cb0){return this['reused']['set'](_0x109cb0,0x1),_0x109cb0;}['maybeReuse'](_0x5b67ed,_0xe15bb7=0x2){if(!this['reused']['has'](_0x5b67ed))return this['reused']['set'](_0x5b67ed,_0xe15bb7),_0x5b67ed['dom'];}['clear'](){for(let _0x20b34c=0x0;_0x20b34c<this['buckets']['length'];_0x20b34c++)this['buckets'][_0x20b34c]['length']=this['index'][_0x20b34c]=0x0;}},BQ=class{constructor(_0x540db7,_0x3b62a0,_0x26d084,_0x3dd1a9,_0x1a2cec){this['view']=_0x540db7,this['decorations']=_0x3dd1a9,this['disallowBlockEffectsFor']=_0x1a2cec,this['openWidget']=!0x1,this['openMarks']=0x0,this['cache']=new VQ(_0x540db7),this['text']=new jQ(_0x540db7['state']['doc']),this['builder']=new QQ(this['cache'],new kQ(_0x540db7,_0x540db7['contentDOM']),n$['iter'](_0x26d084)),this['cache']['reused']['set'](_0x3b62a0,0x2),this['old']=new $Q(_0x3b62a0),this['reuseWalker']={'skip':(_0x5711f2,_0x11648c,_0x124478)=>{if(this['cache']['add'](_0x5711f2),_0x5711f2['isComposite']())return!0x1;},'enter':_0x2d887f=>this['cache']['add'](_0x2d887f),'leave':()=>{},'break':()=>{}};}['run'](_0x32849b,_0xc75669){let _0x3a7be8=_0xc75669&&this['getCompositionContext'](_0xc75669['text']);for(let _0x297ce0=0x0,_0x2836f4=0x0,_0xf194d3=0x0;;){let _0x163bd1=_0xf194d3<_0x32849b['length']?_0x32849b[_0xf194d3++]:null,_0x868c67=_0x163bd1?_0x163bd1['fromA']:this['old']['root']['length'];if(_0x868c67>_0x297ce0){let _0xe6fb7d=_0x868c67-_0x297ce0;this['preserve'](_0xe6fb7d,!_0xf194d3,!_0x163bd1),_0x297ce0=_0x868c67,_0x2836f4+=_0xe6fb7d;}if(!_0x163bd1)break;_0xc75669&&_0x163bd1['fromA']<=_0xc75669['range']['fromA']&&_0x163bd1['toA']>=_0xc75669['range']['toA']?(this['forward'](_0x163bd1['fromA'],_0xc75669['range']['fromA'],_0xc75669['range']['fromA']<_0xc75669['range']['toA']?0x1:-0x1),this['emit'](_0x2836f4,_0xc75669['range']['fromB']),this['builder']['flushBuffer'](),this['cache']['clear'](),this['builder']['addComposition'](_0xc75669,_0x3a7be8),this['text']['skip'](_0xc75669['range']['toB']-_0xc75669['range']['fromB']),this['forward'](_0xc75669['range']['fromA'],_0x163bd1['toA']),this['emit'](_0xc75669['range']['toB'],_0x163bd1['toB'])):(this['forward'](_0x163bd1['fromA'],_0x163bd1['toA']),this['emit'](_0x2836f4,_0x163bd1['toB'])),_0x2836f4=_0x163bd1['toB'],_0x297ce0=_0x163bd1['toA'];}return this['builder']['curLine']&&this['builder']['endLine'](),this['builder']['root'];}['preserve'](_0x80c24a,_0x45e308,_0x3c3e3c){let _0x5efdde=function(_0x4f54b7){let _0x399238=[];for(let _0x31cfc9=_0x4f54b7['parents']['length'];_0x31cfc9>0x1;_0x31cfc9--){let _0x2f20b8=_0x31cfc9==_0x4f54b7['parents']['length']?_0x4f54b7['tile']:_0x4f54b7['parents'][_0x31cfc9]['tile'];_0x2f20b8 instanceof PQ&&_0x399238['push'](_0x2f20b8['mark']);}return _0x399238;}(this['old']),_0x14165a=this['openMarks'];this['old']['advance'](_0x80c24a,_0x3c3e3c?0x1:-0x1,{'skip':(_0xacabfe,_0x6353fc,_0x1d2e71)=>{if(_0xacabfe['isWidget']()){if(this['openWidget'])this['builder']['continueWidget'](_0x1d2e71-_0x6353fc);else{let _0x538b0d=_0x1d2e71>0x0||_0x6353fc<_0xacabfe['length']?NQ['of'](_0xacabfe['widget'],this['view'],_0x1d2e71-_0x6353fc,0x1f0&_0xacabfe['flags'],this['cache']['maybeReuse'](_0xacabfe)):this['cache']['reuse'](_0xacabfe);0x100&_0x538b0d['flags']?(_0x538b0d['flags']&=-0x2,this['builder']['addBlockWidget'](_0x538b0d)):(this['builder']['ensureLine'](null),this['builder']['addInlineWidget'](_0x538b0d,_0x5efdde,_0x14165a),_0x14165a=_0x5efdde['length']);}}else{if(_0xacabfe['isText']())this['builder']['ensureLine'](null),_0x6353fc||_0x1d2e71!=_0xacabfe['length']||this['cache']['reused']['has'](_0xacabfe)?(this['cache']['add'](_0xacabfe),this['builder']['addText'](_0xacabfe['text']['slice'](_0x6353fc,_0x1d2e71),_0x5efdde,_0x14165a)):this['builder']['addText'](_0xacabfe['text'],_0x5efdde,_0x14165a,this['cache']['reuse'](_0xacabfe)),_0x14165a=_0x5efdde['length'];else{if(_0xacabfe['isLine']())_0xacabfe['flags']&=-0x2,this['cache']['reused']['set'](_0xacabfe,0x1),this['builder']['addLine'](_0xacabfe);else{if(_0xacabfe instanceof LQ)this['cache']['add'](_0xacabfe);else{if(!(_0xacabfe instanceof PQ))return!0x1;this['builder']['ensureLine'](null),this['builder']['addMark'](_0xacabfe,_0x5efdde,_0x14165a),this['cache']['reused']['set'](_0xacabfe,0x1),_0x14165a=_0x5efdde['length'];}}}}this['openWidget']=!0x1;},'enter':_0x460d96=>{_0x460d96['isLine']()?this['builder']['addLineStart'](_0x460d96['attrs'],this['cache']['maybeReuse'](_0x460d96)):(this['cache']['add'](_0x460d96),_0x460d96 instanceof PQ&&_0x5efdde['unshift'](_0x460d96['mark'])),this['openWidget']=!0x1;},'leave':_0x48ce2b=>{_0x48ce2b['isLine']()?_0x5efdde['length']&&(_0x5efdde['length']=_0x14165a=0x0):_0x48ce2b instanceof PQ&&(_0x5efdde['shift'](),_0x14165a=Math['min'](_0x14165a,_0x5efdde['length']));},'break':()=>{this['builder']['addBreak'](),this['openWidget']=!0x1;}}),this['text']['skip'](_0x80c24a);}['emit'](_0xb543b2,_0x28d97b){let _0x4d6072=null,_0x5b035c=this['builder'],_0x92c932=0x0,_0x2f9fda=n$['spans'](this['decorations'],_0xb543b2,_0x28d97b,{'point':(_0x321750,_0x5e5994,_0x41c086,_0x119629,_0x12c0a1,_0x6a19b7)=>{if(_0x41c086 instanceof K$){if(this['disallowBlockEffectsFor'][_0x6a19b7]){if(_0x41c086['block'])throw new RangeError('Block\x20decorations\x20may\x20not\x20be\x20specified\x20via\x20plugins');if(_0x5e5994>this['view']['state']['doc']['lineAt'](_0x321750)['to'])throw new RangeError('Decorations\x20that\x20replace\x20line\x20breaks\x20may\x20not\x20be\x20specified\x20via\x20plugins');}if(_0x92c932=_0x119629['length'],_0x12c0a1>_0x119629['length'])_0x5b035c['continueWidget'](_0x5e5994-_0x321750);else{let _0x120354=_0x41c086['widget']||(_0x41c086['block']?GQ['block']:GQ['inline']),_0x460057=function(_0x4400c8){let _0x24b7be=_0x4400c8['isReplace']?(_0x4400c8['startSide']<0x0?0x40:0x0)|(_0x4400c8['endSide']>0x0?0x80:0x0):_0x4400c8['startSide']>0x0?0x20:0x10;return _0x4400c8['block']&&(_0x24b7be|=0x100),_0x24b7be;}(_0x41c086),_0x40962b=this['cache']['findWidget'](_0x120354,_0x5e5994-_0x321750,_0x460057)||NQ['of'](_0x120354,this['view'],_0x5e5994-_0x321750,_0x460057);_0x41c086['block']?(_0x41c086['startSide']>0x0&&_0x5b035c['addLineStartIfNotCovered'](_0x4d6072),_0x5b035c['addBlockWidget'](_0x40962b)):(_0x5b035c['ensureLine'](_0x4d6072),_0x5b035c['addInlineWidget'](_0x40962b,_0x119629,_0x12c0a1));}_0x4d6072=null;}else _0x4d6072=function(_0x242d4f,_0x4521c9){let _0x4a2d37=_0x4521c9['spec']['attributes'],_0x480cef=_0x4521c9['spec']['class'];if(!_0x4a2d37&&!_0x480cef)return _0x242d4f;return _0x242d4f||(_0x242d4f={'class':'cm-line'}),_0x4a2d37&&B$(_0x4a2d37,_0x242d4f),_0x480cef&&(_0x242d4f['class']+='\x20'+_0x480cef),_0x242d4f;}(_0x4d6072,_0x41c086);_0x5e5994>_0x321750&&this['text']['skip'](_0x5e5994-_0x321750);},'span':(_0x5d6dd4,_0x45b442,_0x15cd40,_0x28004a)=>{for(let _0x5c1887=_0x5d6dd4;_0x5c1887<_0x45b442;){let _0x1b1cbd=this['text']['next'](Math['min'](0x200,_0x45b442-_0x5c1887));null==_0x1b1cbd?(_0x5b035c['addLineStartIfNotCovered'](_0x4d6072),_0x5b035c['addBreak'](),_0x5c1887++):(_0x5b035c['ensureLine'](_0x4d6072),_0x5b035c['addText'](_0x1b1cbd,_0x15cd40,_0x5c1887==_0x5d6dd4?_0x28004a:_0x15cd40['length']),_0x5c1887+=_0x1b1cbd['length']),_0x4d6072=null;}}});_0x5b035c['addLineStartIfNotCovered'](_0x4d6072),this['openWidget']=_0x2f9fda>_0x92c932,this['openMarks']=_0x2f9fda;}['forward'](_0x380480,_0x34ba43,_0x589217=0x1){_0x34ba43-_0x380480<=0xa?this['old']['advance'](_0x34ba43-_0x380480,_0x589217,this['reuseWalker']):(this['old']['advance'](0x5,-0x1,this['reuseWalker']),this['old']['advance'](_0x34ba43-_0x380480-0xa,-0x1),this['old']['advance'](0x5,_0x589217,this['reuseWalker']));}['getCompositionContext'](_0xb4208d){let _0x3ea3ee=[],_0x3469df=null;for(let _0x16675c=_0xb4208d['parentNode'];;_0x16675c=_0x16675c['parentNode']){let _0x420371=AQ['get'](_0x16675c);if(_0x16675c==this['view']['contentDOM'])break;_0x420371 instanceof PQ?_0x3ea3ee['push'](_0x420371):(null==_0x420371?void 0x0:_0x420371['isLine']())?_0x3469df=_0x420371:_0x420371 instanceof xQ||('DIV'!=_0x16675c['nodeName']||_0x3469df||_0x16675c==this['view']['contentDOM']?_0x3469df||_0x3ea3ee['push'](PQ['of'](new z$({'tagName':_0x16675c['nodeName']['toLowerCase'](),'attributes':G$(_0x16675c)}),_0x16675c)):_0x3469df=new CQ(_0x16675c,HQ));}return{'line':_0x3469df,'marks':_0x3ea3ee};}};function FQ(_0x21a9cf,_0x2d5929){let _0x8be56f=_0x137621=>{for(let _0x11b9c9 of _0x137621['children'])if((_0x2d5929?_0x11b9c9['isText']():_0x11b9c9['length'])||_0x8be56f(_0x11b9c9))return!0x0;return!0x1;};return _0x8be56f(_0x21a9cf);}const HQ={'class':'cm-line'};function ZQ(_0x3d7916){let _0x2c55f0=AQ['get'](_0x3d7916);return _0x2c55f0&&_0x2c55f0['setDOM'](_0x3d7916['cloneNode']()),_0x3d7916;}var GQ=class extends X${constructor(_0x31a6be){super(),this['tag']=_0x31a6be;}['eq'](_0x5c2e0e){return _0x5c2e0e['tag']==this['tag'];}['toDOM'](){return document['createElement'](this['tag']);}['updateDOM'](_0x2aece2){return _0x2aece2['nodeName']['toLowerCase']()==this['tag'];}get['isHidden'](){return!0x0;}};GQ['inline']=new GQ('span'),GQ['block']=new GQ('div');const XQ=new class extends X${['toDOM'](){return document['createElement']('br');}get['isHidden'](){return!0x0;}get['editable'](){return!0x0;}}();var qQ=class{constructor(_0x2ca465){this['view']=_0x2ca465,this['decorations']=[],this['blockWrappers']=[],this['dynamicDecorationMap']=[!0x1],this['domChanged']=null,this['hasComposition']=null,this['editContextFormatting']=W$['none'],this['lastCompositionAfterCursor']=!0x1,this['minWidth']=0x0,this['minWidthFrom']=0x0,this['minWidthTo']=0x0,this['impreciseAnchor']=null,this['impreciseHead']=null,this['forceSelection']=!0x1,this['lastUpdate']=Date['now'](),this['updateDeco'](),this['tile']=new kQ(_0x2ca465,_0x2ca465['contentDOM']),this['updateInner']([new _Q(0x0,0x0,0x0,_0x2ca465['state']['doc']['length'])],null);}['update'](_0x5a6b28){var _0x927403;let _0x477467=_0x5a6b28['changedRanges'];this['minWidth']>0x0&&_0x477467['length']&&(_0x477467['every'](({fromA:_0x45f6e9,toA:_0xa604a2})=>_0xa604a2<this['minWidthFrom']||_0x45f6e9>this['minWidthTo'])?(this['minWidthFrom']=_0x5a6b28['changes']['mapPos'](this['minWidthFrom'],0x1),this['minWidthTo']=_0x5a6b28['changes']['mapPos'](this['minWidthTo'],0x1)):this['minWidth']=this['minWidthFrom']=this['minWidthTo']=0x0),this['updateEditContextFormatting'](_0x5a6b28);let _0x30d0a6=-0x1;this['view']['inputState']['composing']>=0x0&&!this['view']['observer']['editContext']&&((null===(_0x927403=this['domChanged'])||void 0x0===_0x927403?void 0x0:_0x927403['newSel'])?_0x30d0a6=this['domChanged']['newSel']['head']:function(_0x15bb4a,_0x17e916){let _0x102c94=!0x1;return _0x17e916&&_0x15bb4a['iterChangedRanges']((_0x154744,_0x14b7da)=>{_0x154744<_0x17e916['to']&&_0x14b7da>_0x17e916['from']&&(_0x102c94=!0x0);}),_0x102c94;}(_0x5a6b28['changes'],this['hasComposition'])||_0x5a6b28['selectionSet']||(_0x30d0a6=_0x5a6b28['state']['selection']['main']['head']));let _0x2631c5=_0x30d0a6>-0x1?function(_0x49f9d5,_0x4a36cb,_0x78e87c){let _0x3da84d=zQ(_0x49f9d5,_0x78e87c);if(!_0x3da84d)return null;let {node:_0x55ac77,from:_0x525357,to:_0x42069b}=_0x3da84d,_0x5090b0=_0x55ac77['nodeValue'];if(/[\n\r]/['test'](_0x5090b0))return null;if(_0x49f9d5['state']['doc']['sliceString'](_0x3da84d['from'],_0x3da84d['to'])!=_0x5090b0)return null;let _0x38b9af=_0x4a36cb['invertedDesc'];return{'range':new _Q(_0x38b9af['mapPos'](_0x525357),_0x38b9af['mapPos'](_0x42069b),_0x525357,_0x42069b),'text':_0x55ac77};}(this['view'],_0x5a6b28['changes'],_0x30d0a6):null;if(this['domChanged']=null,this['hasComposition']){let {from:_0x315246,to:_0xd8be17}=this['hasComposition'];_0x477467=new _Q(_0x315246,_0xd8be17,_0x5a6b28['changes']['mapPos'](_0x315246,-0x1),_0x5a6b28['changes']['mapPos'](_0xd8be17,0x1))['addToSet'](_0x477467['slice']());}this['hasComposition']=_0x2631c5?{'from':_0x2631c5['range']['fromB'],'to':_0x2631c5['range']['toB']}:null,(V$['ie']||V$['chrome'])&&!_0x2631c5&&_0x5a6b28&&_0x5a6b28['state']['doc']['lines']!=_0x5a6b28['startState']['doc']['lines']&&(this['forceSelection']=!0x0);let _0x831817=this['decorations'],_0x30457e=this['blockWrappers'];this['updateDeco']();let _0x108f30=function(_0x3d640e,_0x51ec59,_0x19526f){let _0x3bc19d=new YQ();return n$['compare'](_0x3d640e,_0x51ec59,_0x19526f,_0x3bc19d),_0x3bc19d['changes'];}(_0x831817,this['decorations'],_0x5a6b28['changes']);_0x108f30['length']&&(_0x477467=_Q['extendWithRanges'](_0x477467,_0x108f30));let _0x58bf8c=function(_0x7dd6fe,_0x42d054,_0x95b34){let _0x1bf244=new KQ();return n$['compare'](_0x7dd6fe,_0x42d054,_0x95b34,_0x1bf244),_0x1bf244['changes'];}(_0x30457e,this['blockWrappers'],_0x5a6b28['changes']);return _0x58bf8c['length']&&(_0x477467=_Q['extendWithRanges'](_0x477467,_0x58bf8c)),_0x2631c5&&!_0x477467['some'](_0x3f2c57=>_0x3f2c57['fromA']<=_0x2631c5['range']['fromA']&&_0x3f2c57['toA']>=_0x2631c5['range']['toA'])&&(_0x477467=_0x2631c5['range']['addToSet'](_0x477467['slice']())),!(0x2&this['tile']['flags']&&0x0==_0x477467['length'])&&(this['updateInner'](_0x477467,_0x2631c5),_0x5a6b28['transactions']['length']&&(this['lastUpdate']=Date['now']()),!0x0);}['updateInner'](_0x5a41fc,_0x237e6e){this['view']['viewState']['mustMeasureContent']=!0x0;let {observer:_0x366f82}=this['view'];_0x366f82['ignore'](()=>{if(_0x237e6e||_0x5a41fc['length']){let _0x38c0e5=this['tile'],_0x4e9df8=new BQ(this['view'],_0x38c0e5,this['blockWrappers'],this['decorations'],this['dynamicDecorationMap']);_0x237e6e&&AQ['get'](_0x237e6e['text'])&&_0x4e9df8['cache']['reused']['set'](AQ['get'](_0x237e6e['text']),0x2),this['tile']=_0x4e9df8['run'](_0x5a41fc,_0x237e6e),WQ(_0x38c0e5,_0x4e9df8['cache']['reused']);}this['tile']['dom']['style']['height']=this['view']['viewState']['contentHeight']/this['view']['scaleY']+'px',this['tile']['dom']['style']['flexBasis']=this['minWidth']?this['minWidth']+'px':'';let _0x3443e6=V$['chrome']||V$['ios']?{'node':_0x366f82['selectionRange']['focusNode'],'written':!0x1}:void 0x0;this['tile']['sync'](_0x3443e6),!_0x3443e6||!_0x3443e6['written']&&_0x366f82['selectionRange']['focusNode']==_0x3443e6['node']&&this['tile']['dom']['contains'](_0x3443e6['node'])||(this['forceSelection']=!0x0),this['tile']['dom']['style']['height']='';});let _0x2c4aa5=[];if(this['view']['viewport']['from']||this['view']['viewport']['to']<this['view']['state']['doc']['length']){for(let _0x4caa08 of this['tile']['children'])_0x4caa08['isWidget']()&&_0x4caa08['widget']instanceof JQ&&_0x2c4aa5['push'](_0x4caa08['dom']);}_0x366f82['updateGaps'](_0x2c4aa5);}['updateEditContextFormatting'](_0x3344f5){this['editContextFormatting']=this['editContextFormatting']['map'](_0x3344f5['changes']);for(let _0x551188 of _0x3344f5['transactions'])for(let _0xa0eb2e of _0x551188['effects'])_0xa0eb2e['is'](nQ)&&(this['editContextFormatting']=_0xa0eb2e['value']);}['updateSelection'](_0x298110=!0x1,_0x211cb3=!0x1){!_0x298110&&this['view']['observer']['selectionRange']['focusNode']||this['view']['observer']['readSelectionRange']();let {dom:_0x5b1dc5}=this['tile'],_0x4d0efe=this['view']['root']['activeElement'],_0x5e922c=_0x4d0efe==_0x5b1dc5,_0x31b1ba=!_0x5e922c&&!(this['view']['state']['facet'](oQ)||_0x5b1dc5['tabIndex']>-0x1)&&nD(_0x5b1dc5,this['view']['observer']['selectionRange'])&&!(_0x4d0efe&&_0x5b1dc5['contains'](_0x4d0efe));if(!(_0x5e922c||_0x211cb3||_0x31b1ba))return;let _0x844c19=this['forceSelection'];this['forceSelection']=!0x1;let _0x632cad,_0x213dfc,_0x74122=this['view']['state']['selection']['main'];if(_0x74122['empty']?_0x213dfc=_0x632cad=this['inlineDOMNearPos'](_0x74122['anchor'],_0x74122['assoc']||0x1):(_0x213dfc=this['inlineDOMNearPos'](_0x74122['head'],_0x74122['head']==_0x74122['from']?0x1:-0x1),_0x632cad=this['inlineDOMNearPos'](_0x74122['anchor'],_0x74122['anchor']==_0x74122['from']?0x1:-0x1)),V$['gecko']&&_0x74122['empty']&&!this['hasComposition']&&(0x1==(_0x1b0611=_0x632cad)['node']['nodeType']&&_0x1b0611['node']['firstChild']&&(0x0==_0x1b0611['offset']||'false'==_0x1b0611['node']['childNodes'][_0x1b0611['offset']-0x1]['contentEditable'])&&(_0x1b0611['offset']==_0x1b0611['node']['childNodes']['length']||'false'==_0x1b0611['node']['childNodes'][_0x1b0611['offset']]['contentEditable']))){let _0x4b84d6=document['createTextNode']('');this['view']['observer']['ignore'](()=>_0x632cad['node']['insertBefore'](_0x4b84d6,_0x632cad['node']['childNodes'][_0x632cad['offset']]||null)),_0x632cad=_0x213dfc=new TD(_0x4b84d6,0x0),_0x844c19=!0x0;}var _0x1b0611;let _0x39bfa5=this['view']['observer']['selectionRange'];!_0x844c19&&_0x39bfa5['focusNode']&&(oD(_0x632cad['node'],_0x632cad['offset'],_0x39bfa5['anchorNode'],_0x39bfa5['anchorOffset'])&&oD(_0x213dfc['node'],_0x213dfc['offset'],_0x39bfa5['focusNode'],_0x39bfa5['focusOffset'])||this['suppressWidgetCursorChange'](_0x39bfa5,_0x74122))||(this['view']['observer']['ignore'](()=>{V$['android']&&V$['chrome']&&_0x5b1dc5['contains'](_0x39bfa5['focusNode'])&&function(_0x320a74,_0x5c4f2f){for(let _0x469976=_0x320a74;_0x469976&&_0x469976!=_0x5c4f2f;_0x469976=_0x469976['assignedSlot']||_0x469976['parentNode'])if(0x1==_0x469976['nodeType']&&'false'==_0x469976['contentEditable'])return!0x0;return!0x1;}(_0x39bfa5['focusNode'],_0x5b1dc5)&&(_0x5b1dc5['blur'](),_0x5b1dc5['focus']({'preventScroll':!0x0}));let _0x3b3e95=iD(this['view']['root']);if(_0x3b3e95){if(_0x74122['empty']){if(V$['gecko']){let _0x3171c9=function(_0x5cbb62,_0x22142a){return 0x1!=_0x5cbb62['nodeType']?0x0:(_0x22142a&&'false'==_0x5cbb62['childNodes'][_0x22142a-0x1]['contentEditable']?0x1:0x0)|(_0x22142a<_0x5cbb62['childNodes']['length']&&'false'==_0x5cbb62['childNodes'][_0x22142a]['contentEditable']?0x2:0x0);}(_0x632cad['node'],_0x632cad['offset']);if(_0x3171c9&&0x3!=_0x3171c9){let _0x597f1b=(0x1==_0x3171c9?_D:ED)(_0x632cad['node'],_0x632cad['offset']);_0x597f1b&&(_0x632cad=new TD(_0x597f1b['node'],_0x597f1b['offset']));}}_0x3b3e95['collapse'](_0x632cad['node'],_0x632cad['offset']),null!=_0x74122['bidiLevel']&&void 0x0!==_0x3b3e95['caretBidiLevel']&&(_0x3b3e95['caretBidiLevel']=_0x74122['bidiLevel']);}else{if(_0x3b3e95['extend']){_0x3b3e95['collapse'](_0x632cad['node'],_0x632cad['offset']);try{_0x3b3e95['extend'](_0x213dfc['node'],_0x213dfc['offset']);}catch(_0x91aab8){}}else{let _0x1d8e9f=document['createRange']();_0x74122['anchor']>_0x74122['head']&&([_0x632cad,_0x213dfc]=[_0x213dfc,_0x632cad]),_0x1d8e9f['setEnd'](_0x213dfc['node'],_0x213dfc['offset']),_0x1d8e9f['setStart'](_0x632cad['node'],_0x632cad['offset']),_0x3b3e95['removeAllRanges'](),_0x3b3e95['addRange'](_0x1d8e9f);}}}else;_0x31b1ba&&this['view']['root']['activeElement']==_0x5b1dc5&&(_0x5b1dc5['blur'](),_0x4d0efe&&_0x4d0efe['focus']());}),this['view']['observer']['setSelectionRange'](_0x632cad,_0x213dfc)),this['impreciseAnchor']=_0x632cad['precise']?null:new TD(_0x39bfa5['anchorNode'],_0x39bfa5['anchorOffset']),this['impreciseHead']=_0x213dfc['precise']?null:new TD(_0x39bfa5['focusNode'],_0x39bfa5['focusOffset']);}['suppressWidgetCursorChange'](_0x125bdc,_0x5dd9fa){return this['hasComposition']&&_0x5dd9fa['empty']&&oD(_0x125bdc['focusNode'],_0x125bdc['focusOffset'],_0x125bdc['anchorNode'],_0x125bdc['anchorOffset'])&&this['posFromDOM'](_0x125bdc['focusNode'],_0x125bdc['focusOffset'])==_0x5dd9fa['head'];}['enforceCursorAssoc'](){if(this['hasComposition'])return;let {view:_0x575bf0}=this,_0x5b2ec6=_0x575bf0['state']['selection']['main'],_0x57dc13=iD(_0x575bf0['root']),{anchorNode:_0xa96382,anchorOffset:_0x315dbb}=_0x575bf0['observer']['selectionRange'];if(!(_0x57dc13&&_0x5b2ec6['empty']&&_0x5b2ec6['assoc']&&_0x57dc13['modify']))return;let _0x17b260=this['lineAt'](_0x5b2ec6['head'],_0x5b2ec6['assoc']);if(!_0x17b260)return;let _0x1b0ed8=_0x17b260['posAtStart'];if(_0x5b2ec6['head']==_0x1b0ed8||_0x5b2ec6['head']==_0x1b0ed8+_0x17b260['length'])return;let _0xddf710=this['coordsAt'](_0x5b2ec6['head'],-0x1),_0xa4af98=this['coordsAt'](_0x5b2ec6['head'],0x1);if(!_0xddf710||!_0xa4af98||_0xddf710['bottom']>_0xa4af98['top'])return;let _0x231c37=this['domAtPos'](_0x5b2ec6['head']+_0x5b2ec6['assoc'],_0x5b2ec6['assoc']);_0x57dc13['collapse'](_0x231c37['node'],_0x231c37['offset']),_0x57dc13['modify']('move',_0x5b2ec6['assoc']<0x0?'forward':'backward','lineboundary'),_0x575bf0['observer']['readSelectionRange']();let _0x4da401=_0x575bf0['observer']['selectionRange'];_0x575bf0['docView']['posFromDOM'](_0x4da401['anchorNode'],_0x4da401['anchorOffset'])!=_0x5b2ec6['from']&&_0x57dc13['collapse'](_0xa96382,_0x315dbb);}['posFromDOM'](_0x5cdd4d,_0x228bdd){let _0x5dc8c3=this['tile']['nearest'](_0x5cdd4d);if(!_0x5dc8c3)return 0x2&this['tile']['dom']['compareDocumentPosition'](_0x5cdd4d)?0x0:this['view']['state']['doc']['length'];let _0x58ed80=_0x5dc8c3['posAtStart'];if(!_0x5dc8c3['isComposite']())return _0x5dc8c3['isText']()?_0x5cdd4d==_0x5dc8c3['dom']?_0x58ed80+_0x228bdd:_0x58ed80+(_0x228bdd?_0x5dc8c3['length']:0x0):_0x58ed80;{let _0x52352a;if(_0x5cdd4d==_0x5dc8c3['dom'])_0x52352a=_0x5dc8c3['dom']['childNodes'][_0x228bdd];else{let _0x3bdfe3=0x0==hD(_0x5cdd4d)?0x0:0x0==_0x228bdd?-0x1:0x1;for(;;){let _0x5d251d=_0x5cdd4d['parentNode'];if(_0x5d251d==_0x5dc8c3['dom'])break;0x0==_0x3bdfe3&&_0x5d251d['firstChild']!=_0x5d251d['lastChild']&&(_0x3bdfe3=_0x5cdd4d==_0x5d251d['firstChild']?-0x1:0x1),_0x5cdd4d=_0x5d251d;}_0x52352a=_0x3bdfe3<0x0?_0x5cdd4d:_0x5cdd4d['nextSibling'];}if(_0x52352a==_0x5dc8c3['dom']['firstChild'])return _0x58ed80;for(;_0x52352a&&!AQ['get'](_0x52352a);)_0x52352a=_0x52352a['nextSibling'];if(!_0x52352a)return _0x58ed80+_0x5dc8c3['length'];for(let _0x45bd3b=0x0,_0x387ea4=_0x58ed80;;_0x45bd3b++){let _0x199f4a=_0x5dc8c3['children'][_0x45bd3b];if(_0x199f4a['dom']==_0x52352a)return _0x387ea4;_0x387ea4+=_0x199f4a['length']+_0x199f4a['breakAfter'];}}}['domAtPos'](_0x30149c,_0x14cf16){let {tile:_0x288869,offset:_0x3bc4b2}=this['tile']['resolveBlock'](_0x30149c,_0x14cf16);return _0x288869['isWidget']()?_0x288869['domPosFor'](_0x30149c,_0x14cf16):_0x288869['domIn'](_0x3bc4b2,_0x14cf16);}['inlineDOMNearPos'](_0x1bab9f,_0x554820){let _0x492910,_0x3fbe93,_0x43c428=-0x1,_0x3e254f=!0x1,_0x307fd9=-0x1,_0x4f08da=!0x1;return this['tile']['blockTiles']((_0x16d84f,_0x25281a)=>{if(_0x16d84f['isWidget']()){if(0x20&_0x16d84f['flags']&&_0x25281a>=_0x1bab9f)return!0x0;0x10&_0x16d84f['flags']&&(_0x3e254f=!0x0);}else{let _0x397449=_0x25281a+_0x16d84f['length'];if(_0x25281a<=_0x1bab9f&&(_0x492910=_0x16d84f,_0x43c428=_0x1bab9f-_0x25281a,_0x3e254f=_0x397449<_0x1bab9f),_0x397449>=_0x1bab9f&&!_0x3fbe93&&(_0x3fbe93=_0x16d84f,_0x307fd9=_0x1bab9f-_0x25281a,_0x4f08da=_0x25281a>_0x1bab9f),_0x25281a>_0x1bab9f&&_0x3fbe93)return!0x0;}}),_0x492910||_0x3fbe93?(_0x3e254f&&_0x3fbe93?_0x492910=null:_0x4f08da&&_0x492910&&(_0x3fbe93=null),_0x492910&&_0x554820<0x0||!_0x3fbe93?_0x492910['domIn'](_0x43c428,_0x554820):_0x3fbe93['domIn'](_0x307fd9,_0x554820)):this['domAtPos'](_0x1bab9f,_0x554820);}['coordsAt'](_0x460c07,_0x721c70){let {tile:_0x45101c,offset:_0x4cb0e0}=this['tile']['resolveBlock'](_0x460c07,_0x721c70);return _0x45101c['isWidget']()?_0x45101c['widget']instanceof JQ?null:_0x45101c['coordsInWidget'](_0x4cb0e0,_0x721c70,!0x0):_0x45101c['coordsIn'](_0x4cb0e0,_0x721c70);}['lineAt'](_0x131104,_0xa3f1ce){let {tile:_0x302cbe}=this['tile']['resolveBlock'](_0x131104,_0xa3f1ce);return _0x302cbe['isLine']()?_0x302cbe:null;}['coordsForChar'](_0x47ba81){let {tile:_0x4e5e48,offset:_0x413975}=this['tile']['resolveBlock'](_0x47ba81,0x1);if(!_0x4e5e48['isLine']())return null;return function _0x52820b(_0x55bdbc,_0x2d4bde){if(_0x55bdbc['isComposite']())for(let _0x49ad52 of _0x55bdbc['children']){if(_0x49ad52['length']>=_0x2d4bde){let _0x1e10bb=_0x52820b(_0x49ad52,_0x2d4bde);if(_0x1e10bb)return _0x1e10bb;}if((_0x2d4bde-=_0x49ad52['length'])<0x0)break;}else{if(_0x55bdbc['isText']()&&_0x2d4bde<_0x55bdbc['length']){let _0x44729b=ZN(_0x55bdbc['text'],_0x2d4bde);if(_0x44729b==_0x2d4bde)return null;let _0x264883=bD(_0x55bdbc['dom'],_0x2d4bde,_0x44729b)['getClientRects']();for(let _0x89ebaa=0x0;_0x89ebaa<_0x264883['length'];_0x89ebaa++){let _0x5cd1e5=_0x264883[_0x89ebaa];if(_0x89ebaa==_0x264883['length']-0x1||_0x5cd1e5['top']<_0x5cd1e5['bottom']&&_0x5cd1e5['left']<_0x5cd1e5['right'])return _0x5cd1e5;}}}return null;}(_0x4e5e48,_0x413975);}['measureVisibleLineHeights'](_0x33e69f){let _0x4aacac=[],{from:_0x8c380d,to:_0x5a0af1}=_0x33e69f,_0xaeaae=this['view']['contentDOM']['clientWidth'],_0x3be92a=_0xaeaae>Math['max'](this['view']['scrollDOM']['clientWidth'],this['minWidth'])+0x1,_0x1b3c9c=-0x1,_0x33dee3=this['view']['textDirection']==AD['LTR'],_0x22e4a7=0x0,_0x324b53=(_0x1c4811,_0x2bfdbf,_0x3d0b72)=>{for(let _0x441b8c=0x0;_0x441b8c<_0x1c4811['children']['length']&&!(_0x2bfdbf>_0x5a0af1);_0x441b8c++){let _0x8cd950=_0x1c4811['children'][_0x441b8c],_0x3aa556=_0x2bfdbf+_0x8cd950['length'],_0x5b473f=_0x8cd950['dom']['getBoundingClientRect'](),{height:_0x48c939}=_0x5b473f;if(_0x3d0b72&&!_0x441b8c&&(_0x22e4a7+=_0x5b473f['top']-_0x3d0b72['top']),_0x8cd950 instanceof xQ)_0x3aa556>_0x8c380d&&_0x324b53(_0x8cd950,_0x2bfdbf,_0x5b473f);else{if(_0x2bfdbf>=_0x8c380d&&(_0x22e4a7>0x0&&_0x4aacac['push'](-_0x22e4a7),_0x4aacac['push'](_0x48c939+_0x22e4a7),_0x22e4a7=0x0,_0x3be92a)){let _0x3e988a=_0x8cd950['dom']['lastChild'],_0x738135=_0x3e988a?rD(_0x3e988a):[];if(_0x738135['length']){let _0x41b317=_0x738135[_0x738135['length']-0x1],_0x4577d8=_0x33dee3?_0x41b317['right']-_0x5b473f['left']:_0x5b473f['right']-_0x41b317['left'];_0x4577d8>_0x1b3c9c&&(_0x1b3c9c=_0x4577d8,this['minWidth']=_0xaeaae,this['minWidthFrom']=_0x2bfdbf,this['minWidthTo']=_0x3aa556);}}}_0x3d0b72&&_0x441b8c==_0x1c4811['children']['length']-0x1&&(_0x22e4a7+=_0x3d0b72['bottom']-_0x5b473f['bottom']),_0x2bfdbf=_0x3aa556+_0x8cd950['breakAfter'];}};return _0x324b53(this['tile'],0x0,null),_0x4aacac;}['textDirectionAt'](_0x3293e8){let {tile:_0x1eb1de}=this['tile']['resolveBlock'](_0x3293e8,0x1);return'rtl'==getComputedStyle(_0x1eb1de['dom'])['direction']?AD['RTL']:AD['LTR'];}['measureTextSize'](){let _0x1a1e72=this['tile']['blockTiles'](_0x5750f2=>{if(_0x5750f2['isLine']()&&_0x5750f2['children']['length']&&_0x5750f2['length']<=0x14){let _0x12bac4,_0x3d7ea4=0x0;for(let _0x20ef4b of _0x5750f2['children']){if(!_0x20ef4b['isText']()||/[^ -~]/['test'](_0x20ef4b['text']))return;let _0x43c7d7=rD(_0x20ef4b['dom']);if(0x1!=_0x43c7d7['length'])return;_0x3d7ea4+=_0x43c7d7[0x0]['width'],_0x12bac4=_0x43c7d7[0x0]['height'];}if(_0x3d7ea4)return{'lineHeight':_0x5750f2['dom']['getBoundingClientRect']()['height'],'charWidth':_0x3d7ea4/_0x5750f2['length'],'textHeight':_0x12bac4};}});if(_0x1a1e72)return _0x1a1e72;let _0x2be472,_0x380034,_0x39fd23,_0x5df132=document['createElement']('div');return _0x5df132['className']='cm-line',_0x5df132['style']['width']='99999px',_0x5df132['style']['position']='absolute',_0x5df132['textContent']='abc\x20def\x20ghi\x20jkl\x20mno\x20pqr\x20stu',this['view']['observer']['ignore'](()=>{this['tile']['dom']['appendChild'](_0x5df132);let _0x4e6321=rD(_0x5df132['firstChild'])[0x0];_0x2be472=_0x5df132['getBoundingClientRect']()['height'],_0x380034=_0x4e6321&&_0x4e6321['width']?_0x4e6321['width']/0x1b:0x7,_0x39fd23=_0x4e6321&&_0x4e6321['height']?_0x4e6321['height']:_0x2be472,_0x5df132['remove']();}),{'lineHeight':_0x2be472,'charWidth':_0x380034,'textHeight':_0x39fd23};}['computeBlockGapDeco'](){let _0x594932=[],_0x327bf6=this['view']['viewState'];for(let _0x356462=0x0,_0x2ea351=0x0;;_0x2ea351++){let _0x1bc8ac=_0x2ea351==_0x327bf6['viewports']['length']?null:_0x327bf6['viewports'][_0x2ea351],_0x41a925=_0x1bc8ac?_0x1bc8ac['from']-0x1:this['view']['state']['doc']['length'];if(_0x41a925>_0x356462){let _0x5ed47e=(_0x327bf6['lineBlockAt'](_0x41a925)['bottom']-_0x327bf6['lineBlockAt'](_0x356462)['top'])/this['view']['scaleY'];_0x594932['push'](W$['replace']({'widget':new JQ(_0x5ed47e),'block':!0x0,'inclusive':!0x0,'isBlockGap':!0x0})['range'](_0x356462,_0x41a925));}if(!_0x1bc8ac)break;_0x356462=_0x1bc8ac['to']+0x1;}return W$['set'](_0x594932);}['updateDeco'](){let _0x5dc223=0x1,_0x4c58d7=this['view']['state']['facet'](fQ)['map'](_0x2e418d=>(this['dynamicDecorationMap'][_0x5dc223++]='function'==typeof _0x2e418d)?_0x2e418d(this['view']):_0x2e418d),_0x11404d=!0x1,_0x40ec5c=this['view']['state']['facet'](pQ)['map']((_0x3fc1ce,_0x1e57a7)=>{let _0x5ae181='function'==typeof _0x3fc1ce;return _0x5ae181&&(_0x11404d=!0x0),_0x5ae181?_0x3fc1ce(this['view']):_0x3fc1ce;});for(_0x40ec5c['length']&&(this['dynamicDecorationMap'][_0x5dc223++]=_0x11404d,_0x4c58d7['push'](n$['join'](_0x40ec5c))),this['decorations']=[this['editContextFormatting'],..._0x4c58d7,this['computeBlockGapDeco'](),this['view']['viewState']['lineGapDeco']];_0x5dc223<this['decorations']['length'];)this['dynamicDecorationMap'][_0x5dc223++]=!0x1;this['blockWrappers']=this['view']['state']['facet'](mQ)['map'](_0xf8c1f5=>'function'==typeof _0xf8c1f5?_0xf8c1f5(this['view']):_0xf8c1f5);}['scrollIntoView'](_0x3cfdce){var _0x485eb4;if(_0x3cfdce['isSnapshot']){let _0x34fbba=this['view']['viewState']['lineBlockAt'](_0x3cfdce['range']['head']);return this['view']['scrollDOM']['scrollTop']=_0x34fbba['top']-_0x3cfdce['yMargin'],void(this['view']['scrollDOM']['scrollLeft']=_0x3cfdce['xMargin']);}for(let _0x4a3248 of this['view']['state']['facet'](eQ))try{if(_0x4a3248(this['view'],_0x3cfdce['range'],_0x3cfdce))return!0x0;}catch(_0x254c24){rQ(this['view']['state'],_0x254c24,'scroll\x20handler');}let _0x12efb8,{range:_0x1ba96b}=_0x3cfdce,_0x191a53=this['coordsAt'](_0x1ba96b['head'],null!==(_0x485eb4=_0x1ba96b['assoc'])&&void 0x0!==_0x485eb4?_0x485eb4:_0x1ba96b['empty']?0x0:_0x1ba96b['head']>_0x1ba96b['anchor']?-0x1:0x1);if(!_0x191a53)return;!_0x1ba96b['empty']&&(_0x12efb8=this['coordsAt'](_0x1ba96b['anchor'],_0x1ba96b['anchor']>_0x1ba96b['head']?-0x1:0x1))&&(_0x191a53={'left':Math['min'](_0x191a53['left'],_0x12efb8['left']),'top':Math['min'](_0x191a53['top'],_0x12efb8['top']),'right':Math['max'](_0x191a53['right'],_0x12efb8['right']),'bottom':Math['max'](_0x191a53['bottom'],_0x12efb8['bottom'])});let _0x1bc5ed=yQ(this['view']),_0x56ac26={'left':_0x191a53['left']-_0x1bc5ed['left'],'top':_0x191a53['top']-_0x1bc5ed['top'],'right':_0x191a53['right']+_0x1bc5ed['right'],'bottom':_0x191a53['bottom']+_0x1bc5ed['bottom']},{offsetWidth:_0xe6d606,offsetHeight:_0x350f0b}=this['view']['scrollDOM'];if(function(_0x19a95c,_0x1f2e85,_0x1fcf52,_0x1ff3ce,_0x3e4361,_0x55faf1,_0x3b8739,_0x187109){let _0x42ace9=_0x19a95c['ownerDocument'],_0xe94a65=_0x42ace9['defaultView']||window;for(let _0x19e31c=_0x19a95c,_0x309886=!0x1;_0x19e31c&&!_0x309886;)if(0x1==_0x19e31c['nodeType']){let _0x15af9a,_0x5f39d9=_0x19e31c==_0x42ace9['body'],_0x347532=0x1,_0x1d7269=0x1;if(_0x5f39d9)_0x15af9a=dD(_0xe94a65);else{if(/^(fixed|sticky)$/['test'](getComputedStyle(_0x19e31c)['position'])&&(_0x309886=!0x0),_0x19e31c['scrollHeight']<=_0x19e31c['clientHeight']&&_0x19e31c['scrollWidth']<=_0x19e31c['clientWidth']){_0x19e31c=_0x19e31c['assignedSlot']||_0x19e31c['parentNode'];continue;}let _0x55106a=_0x19e31c['getBoundingClientRect']();({scaleX:_0x347532,scaleY:_0x1d7269}=fD(_0x19e31c,_0x55106a),_0x15af9a={'left':_0x55106a['left'],'right':_0x55106a['left']+_0x19e31c['clientWidth']*_0x347532,'top':_0x55106a['top'],'bottom':_0x55106a['top']+_0x19e31c['clientHeight']*_0x1d7269});}let _0x1abaa0=0x0,_0x4a939b=0x0;if('nearest'==_0x3e4361)_0x1f2e85['top']<_0x15af9a['top']+_0x3b8739?(_0x4a939b=_0x1f2e85['top']-(_0x15af9a['top']+_0x3b8739),_0x1fcf52>0x0&&_0x1f2e85['bottom']>_0x15af9a['bottom']+_0x4a939b&&(_0x4a939b=_0x1f2e85['bottom']-_0x15af9a['bottom']+_0x3b8739)):_0x1f2e85['bottom']>_0x15af9a['bottom']-_0x3b8739&&(_0x4a939b=_0x1f2e85['bottom']-_0x15af9a['bottom']+_0x3b8739,_0x1fcf52<0x0&&_0x1f2e85['top']-_0x4a939b<_0x15af9a['top']&&(_0x4a939b=_0x1f2e85['top']-(_0x15af9a['top']+_0x3b8739)));else{let _0x2b15b6=_0x1f2e85['bottom']-_0x1f2e85['top'],_0x35ad55=_0x15af9a['bottom']-_0x15af9a['top'];_0x4a939b=('center'==_0x3e4361&&_0x2b15b6<=_0x35ad55?_0x1f2e85['top']+_0x2b15b6/0x2-_0x35ad55/0x2:'start'==_0x3e4361||'center'==_0x3e4361&&_0x1fcf52<0x0?_0x1f2e85['top']-_0x3b8739:_0x1f2e85['bottom']-_0x35ad55+_0x3b8739)-_0x15af9a['top'];}if('nearest'==_0x1ff3ce?_0x1f2e85['left']<_0x15af9a['left']+_0x55faf1?(_0x1abaa0=_0x1f2e85['left']-(_0x15af9a['left']+_0x55faf1),_0x1fcf52>0x0&&_0x1f2e85['right']>_0x15af9a['right']+_0x1abaa0&&(_0x1abaa0=_0x1f2e85['right']-_0x15af9a['right']+_0x55faf1)):_0x1f2e85['right']>_0x15af9a['right']-_0x55faf1&&(_0x1abaa0=_0x1f2e85['right']-_0x15af9a['right']+_0x55faf1,_0x1fcf52<0x0&&_0x1f2e85['left']<_0x15af9a['left']+_0x1abaa0&&(_0x1abaa0=_0x1f2e85['left']-(_0x15af9a['left']+_0x55faf1))):_0x1abaa0=('center'==_0x1ff3ce?_0x1f2e85['left']+(_0x1f2e85['right']-_0x1f2e85['left'])/0x2-(_0x15af9a['right']-_0x15af9a['left'])/0x2:'start'==_0x1ff3ce==_0x187109?_0x1f2e85['left']-_0x55faf1:_0x1f2e85['right']-(_0x15af9a['right']-_0x15af9a['left'])+_0x55faf1)-_0x15af9a['left'],_0x1abaa0||_0x4a939b){if(_0x5f39d9)_0xe94a65['scrollBy'](_0x1abaa0,_0x4a939b);else{let _0x39ef83=0x0,_0x56d81c=0x0;if(_0x4a939b){let _0x8582c=_0x19e31c['scrollTop'];_0x19e31c['scrollTop']+=_0x4a939b/_0x1d7269,_0x56d81c=(_0x19e31c['scrollTop']-_0x8582c)*_0x1d7269;}if(_0x1abaa0){let _0x11b9b7=_0x19e31c['scrollLeft'];_0x19e31c['scrollLeft']+=_0x1abaa0/_0x347532,_0x39ef83=(_0x19e31c['scrollLeft']-_0x11b9b7)*_0x347532;}_0x1f2e85={'left':_0x1f2e85['left']-_0x39ef83,'top':_0x1f2e85['top']-_0x56d81c,'right':_0x1f2e85['right']-_0x39ef83,'bottom':_0x1f2e85['bottom']-_0x56d81c},_0x39ef83&&Math['abs'](_0x39ef83-_0x1abaa0)<0x1&&(_0x1ff3ce='nearest'),_0x56d81c&&Math['abs'](_0x56d81c-_0x4a939b)<0x1&&(_0x3e4361='nearest');}}if(_0x5f39d9)break;(_0x1f2e85['top']<_0x15af9a['top']||_0x1f2e85['bottom']>_0x15af9a['bottom']||_0x1f2e85['left']<_0x15af9a['left']||_0x1f2e85['right']>_0x15af9a['right'])&&(_0x1f2e85={'left':Math['max'](_0x1f2e85['left'],_0x15af9a['left']),'right':Math['min'](_0x1f2e85['right'],_0x15af9a['right']),'top':Math['max'](_0x1f2e85['top'],_0x15af9a['top']),'bottom':Math['min'](_0x1f2e85['bottom'],_0x15af9a['bottom'])}),_0x19e31c=_0x19e31c['assignedSlot']||_0x19e31c['parentNode'];}else{if(0xb!=_0x19e31c['nodeType'])break;_0x19e31c=_0x19e31c['host'];}}(this['view']['scrollDOM'],_0x56ac26,_0x1ba96b['head']<_0x1ba96b['anchor']?-0x1:0x1,_0x3cfdce['x'],_0x3cfdce['y'],Math['max'](Math['min'](_0x3cfdce['xMargin'],_0xe6d606),-_0xe6d606),Math['max'](Math['min'](_0x3cfdce['yMargin'],_0x350f0b),-_0x350f0b),this['view']['textDirection']==AD['LTR']),window['visualViewport']&&window['innerHeight']-window['visualViewport']['height']>0x1&&(_0x191a53['top']>window['pageYOffset']+window['visualViewport']['offsetTop']+window['visualViewport']['height']||_0x191a53['bottom']<window['pageYOffset']+window['visualViewport']['offsetTop'])){let _0x1bb71a=this['view']['docView']['lineAt'](_0x1ba96b['head'],0x1);_0x1bb71a&&_0x1bb71a['dom']['scrollIntoView']({'block':'nearest'});}}['lineHasWidget'](_0x4fc84b){let _0x5349aa=_0x1a1628=>_0x1a1628['isWidget']()||_0x1a1628['children']['some'](_0x5349aa);return _0x5349aa(this['tile']['resolveBlock'](_0x4fc84b,0x1)['tile']);}['destroy'](){WQ(this['tile']);}};function WQ(_0x1acfae,_0x32ff7a){let _0x270196=null==_0x32ff7a?void 0x0:_0x32ff7a['get'](_0x1acfae);if(0x1!=_0x270196){null==_0x270196&&_0x1acfae['destroy']();for(let _0x56d336 of _0x1acfae['children'])WQ(_0x56d336,_0x32ff7a);}}function zQ(_0x4d050c,_0x2036d1){let _0x3220e9=_0x4d050c['observer']['selectionRange'];if(!_0x3220e9['focusNode'])return null;let _0x3fd15d=_D(_0x3220e9['focusNode'],_0x3220e9['focusOffset']),_0x96050=ED(_0x3220e9['focusNode'],_0x3220e9['focusOffset']),_0x4a67a1=_0x3fd15d||_0x96050;if(_0x96050&&_0x3fd15d&&_0x96050['node']!=_0x3fd15d['node']){let _0x57195b=AQ['get'](_0x96050['node']);if(!_0x57195b||_0x57195b['isText']()&&_0x57195b['text']!=_0x96050['node']['nodeValue'])_0x4a67a1=_0x96050;else{if(_0x4d050c['docView']['lastCompositionAfterCursor']){let _0x317c83=AQ['get'](_0x3fd15d['node']);!_0x317c83||_0x317c83['isText']()&&_0x317c83['text']!=_0x3fd15d['node']['nodeValue']||(_0x4a67a1=_0x96050);}}}if(_0x4d050c['docView']['lastCompositionAfterCursor']=_0x4a67a1!=_0x3fd15d,!_0x4a67a1)return null;let _0x2c925a=_0x2036d1-_0x4a67a1['offset'];return{'from':_0x2c925a,'to':_0x2c925a+_0x4a67a1['node']['nodeValue']['length'],'node':_0x4a67a1['node']};}let YQ=class DecorationComparator{constructor(){this['changes']=[];}['compareRange'](_0x20a8c2,_0x28f960){tD(_0x20a8c2,_0x28f960,this['changes']);}['comparePoint'](_0x30e1cd,_0x1018e9){tD(_0x30e1cd,_0x1018e9,this['changes']);}['boundChange'](_0x8940a4){tD(_0x8940a4,_0x8940a4,this['changes']);}};var KQ=class{constructor(){this['changes']=[];}['compareRange'](_0x2a901a,_0x3c4eaa){tD(_0x2a901a,_0x3c4eaa,this['changes']);}['comparePoint'](){}['boundChange'](_0x2eb45e){tD(_0x2eb45e,_0x2eb45e,this['changes']);}},JQ=class extends X${constructor(_0x4fbcbf){super(),this['height']=_0x4fbcbf;}['toDOM'](){let _0x542ef4=document['createElement']('div');return _0x542ef4['className']='cm-gap',this['updateDOM'](_0x542ef4),_0x542ef4;}['eq'](_0x1e5c0b){return _0x1e5c0b['height']==this['height'];}['updateDOM'](_0x2bdf61){return _0x2bdf61['style']['height']=this['height']+'px',!0x0;}get['editable'](){return!0x0;}get['estimatedHeight'](){return this['height'];}['ignoreEvent'](){return!0x1;}};function tj(_0x29b579,_0x30ace2,_0x58f991){let _0x4e91cf=_0x29b579['lineBlockAt'](_0x30ace2);if(Array['isArray'](_0x4e91cf['type'])){let _0x137c94;for(let _0x3dcce8 of _0x4e91cf['type']){if(_0x3dcce8['from']>_0x30ace2)break;if(!(_0x3dcce8['to']<_0x30ace2)){if(_0x3dcce8['from']<_0x30ace2&&_0x3dcce8['to']>_0x30ace2)return _0x3dcce8;_0x137c94&&(_0x3dcce8['type']!=q$['Text']||_0x137c94['type']==_0x3dcce8['type']&&!(_0x58f991<0x0?_0x3dcce8['from']<_0x30ace2:_0x3dcce8['to']>_0x30ace2))||(_0x137c94=_0x3dcce8);}}return _0x137c94||_0x4e91cf;}return _0x4e91cf;}function ej(_0xd7b89a,_0x57c79a,_0x1040eb,_0x2a9249){let _0x424588=_0xd7b89a['state']['doc']['lineAt'](_0x57c79a['head']),_0x373c90=_0xd7b89a['bidiSpans'](_0x424588),_0x21d732=_0xd7b89a['textDirectionAt'](_0x424588['from']);for(let _0x264744=_0x57c79a,_0x589aad=null;;){let _0x474d2a=BD(_0x424588,_0x373c90,_0x21d732,_0x264744,_0x1040eb),_0x241960=VD;if(!_0x474d2a){if(_0x424588['number']==(_0x1040eb?_0xd7b89a['state']['doc']['lines']:0x1))return _0x264744;_0x241960='\x0a',_0x424588=_0xd7b89a['state']['doc']['line'](_0x424588['number']+(_0x1040eb?0x1:-0x1)),_0x373c90=_0xd7b89a['bidiSpans'](_0x424588),_0x474d2a=_0xd7b89a['visualLineSide'](_0x424588,!_0x1040eb);}if(_0x589aad){if(!_0x589aad(_0x241960))return _0x264744;}else{if(!_0x2a9249)return _0x474d2a;_0x589aad=_0x2a9249(_0x241960);}_0x264744=_0x474d2a;}}function ij(_0x4e5aa2,_0x1a999f,_0x417a0b){for(;;){let _0x3fe8a0=0x0;for(let _0x39cb5e of _0x4e5aa2)_0x39cb5e['between'](_0x1a999f-0x1,_0x1a999f+0x1,(_0x3b8de9,_0xafdda8,_0x3ecc7a)=>{if(_0x1a999f>_0x3b8de9&&_0x1a999f<_0xafdda8){let _0x338da0=_0x3fe8a0||_0x417a0b||(_0x1a999f-_0x3b8de9<_0xafdda8-_0x1a999f?-0x1:0x1);_0x1a999f=_0x338da0<0x0?_0x3b8de9:_0xafdda8,_0x3fe8a0=_0x338da0;}});if(!_0x3fe8a0)return _0x1a999f;}}function sj(_0x22a8c0,_0x4ddc3a){let _0x271ea9=null;for(let _0x280f49=0x0;_0x280f49<_0x4ddc3a['ranges']['length'];_0x280f49++){let _0x5b4d4e=_0x4ddc3a['ranges'][_0x280f49],_0x1c8d25=null;if(_0x5b4d4e['empty']){let _0x3f7b85=ij(_0x22a8c0,_0x5b4d4e['from'],0x0);_0x3f7b85!=_0x5b4d4e['from']&&(_0x1c8d25=oL['cursor'](_0x3f7b85,-0x1));}else{let _0x4e328a=ij(_0x22a8c0,_0x5b4d4e['from'],-0x1),_0x3f9319=ij(_0x22a8c0,_0x5b4d4e['to'],0x1);_0x4e328a==_0x5b4d4e['from']&&_0x3f9319==_0x5b4d4e['to']||(_0x1c8d25=oL['range'](_0x5b4d4e['from']==_0x5b4d4e['anchor']?_0x4e328a:_0x3f9319,_0x5b4d4e['from']==_0x5b4d4e['head']?_0x4e328a:_0x3f9319));}_0x1c8d25&&(_0x271ea9||(_0x271ea9=_0x4ddc3a['ranges']['slice']()),_0x271ea9[_0x280f49]=_0x1c8d25);}return _0x271ea9?oL['create'](_0x271ea9,_0x4ddc3a['mainIndex']):_0x4ddc3a;}function nj(_0x2cafb0,_0x483516,_0x43b668){let _0x212174=ij(_0x2cafb0['state']['facet'](gQ)['map'](_0x126b79=>_0x126b79(_0x2cafb0)),_0x43b668['from'],_0x483516['head']>_0x43b668['from']?-0x1:0x1);return _0x212174==_0x43b668['from']?_0x43b668:oL['cursor'](_0x212174,_0x212174<_0x43b668['from']?0x1:-0x1);}var rj=class{constructor(_0x3b2a06,_0x1064cd){this['pos']=_0x3b2a06,this['assoc']=_0x1064cd;}};function oj(_0x1c16b1,_0x18d6f5,_0x3e9778,_0x4254a6){let _0x1286e6,_0x243bd1=_0x1c16b1['contentDOM']['getBoundingClientRect'](),_0x23e7b3=_0x243bd1['top']+_0x1c16b1['viewState']['paddingTop'],{x:_0xabc861,y:_0x194bbd}=_0x18d6f5,_0x2ee4a8=_0x194bbd-_0x23e7b3;for(;;){if(_0x2ee4a8<0x0)return new rj(0x0,0x1);if(_0x2ee4a8>_0x1c16b1['viewState']['docHeight'])return new rj(_0x1c16b1['state']['doc']['length'],-0x1);if(_0x1286e6=_0x1c16b1['elementAtHeight'](_0x2ee4a8),null==_0x4254a6)break;if(_0x1286e6['type']==q$['Text']){if(_0x4254a6<0x0?_0x1286e6['to']<_0x1c16b1['viewport']['from']:_0x1286e6['from']>_0x1c16b1['viewport']['to'])break;let _0x49be79=_0x1c16b1['docView']['coordsAt'](_0x4254a6<0x0?_0x1286e6['from']:_0x1286e6['to'],_0x4254a6>0x0?-0x1:0x1);if(_0x49be79&&(_0x4254a6<0x0?_0x49be79['top']<=_0x2ee4a8+_0x23e7b3:_0x49be79['bottom']>=_0x2ee4a8+_0x23e7b3))break;}let _0x218edb=_0x1c16b1['viewState']['heightOracle']['textHeight']/0x2;_0x2ee4a8=_0x4254a6>0x0?_0x1286e6['bottom']+_0x218edb:_0x1286e6['top']-_0x218edb;}if(_0x1c16b1['viewport']['from']>=_0x1286e6['to']||_0x1c16b1['viewport']['to']<=_0x1286e6['from']){if(_0x3e9778)return null;if(_0x1286e6['type']==q$['Text']){let _0x4d9bc8=function(_0x33f5d8,_0x217f35,_0x285729,_0x143c59,_0x2d3e9b){let _0x25a86=Math['round']((_0x143c59-_0x217f35['left'])*_0x33f5d8['defaultCharacterWidth']);if(_0x33f5d8['lineWrapping']&&_0x285729['height']>1.5*_0x33f5d8['defaultLineHeight']){let _0x673f59=_0x33f5d8['viewState']['heightOracle']['textHeight'];_0x25a86+=Math['floor']((_0x2d3e9b-_0x285729['top']-0.5*(_0x33f5d8['defaultLineHeight']-_0x673f59))/_0x673f59)*_0x33f5d8['viewState']['heightOracle']['lineLength'];}let _0x5287e5=_0x33f5d8['state']['sliceDoc'](_0x285729['from'],_0x285729['to']);return _0x285729['from']+O$(_0x5287e5,_0x25a86,_0x33f5d8['state']['tabSize']);}(_0x1c16b1,_0x243bd1,_0x1286e6,_0xabc861,_0x194bbd);return new rj(_0x4d9bc8,_0x4d9bc8==_0x1286e6['from']?0x1:-0x1);}}if(_0x1286e6['type']!=q$['Text'])return _0x2ee4a8<(_0x1286e6['top']+_0x1286e6['bottom'])/0x2?new rj(_0x1286e6['from'],0x1):new rj(_0x1286e6['to'],-0x1);let _0x1c4056=_0x1c16b1['docView']['lineAt'](_0x1286e6['from'],0x2);return _0x1c4056&&_0x1c4056['length']==_0x1286e6['length']||(_0x1c4056=_0x1c16b1['docView']['lineAt'](_0x1286e6['from'],-0x2)),new aj(_0x1c16b1,_0xabc861,_0x194bbd,_0x1c16b1['textDirectionAt'](_0x1286e6['from']))['scanTile'](_0x1c4056,_0x1286e6['from']);}var aj=class{constructor(_0x1976b9,_0x29c4fe,_0x1c1eb5,_0xcb460b){this['view']=_0x1976b9,this['x']=_0x29c4fe,this['y']=_0x1c1eb5,this['baseDir']=_0xcb460b,this['line']=null,this['spans']=null;}['bidiSpansAt'](_0x2e4642){return(!this['line']||this['line']['from']>_0x2e4642||this['line']['to']<_0x2e4642)&&(this['line']=this['view']['state']['doc']['lineAt'](_0x2e4642),this['spans']=this['view']['bidiSpans'](this['line'])),this;}['baseDirAt'](_0x1ac291,_0x11223c){let {line:_0x4004e7,spans:_0x49ad09}=this['bidiSpansAt'](_0x1ac291);return _0x49ad09[LD['find'](_0x49ad09,_0x1ac291-_0x4004e7['from'],-0x1,_0x11223c)]['level']==this['baseDir'];}['dirAt'](_0x3b9923,_0x50dcc7){let {line:_0x3570c3,spans:_0x2276e7}=this['bidiSpansAt'](_0x3b9923);return _0x2276e7[LD['find'](_0x2276e7,_0x3b9923-_0x3570c3['from'],-0x1,_0x50dcc7)]['dir'];}['bidiIn'](_0x41aa09,_0x321825){let {spans:_0x238338,line:_0x522409}=this['bidiSpansAt'](_0x41aa09);return _0x238338['length']>0x1||_0x238338['length']&&(_0x238338[0x0]['level']!=this['baseDir']||_0x238338[0x0]['to']+_0x522409['from']<_0x321825);}['scan'](_0x2edd82,_0x1ab70f,_0x5b666b=!0x1){let _0x185633,_0x3fe686,_0x59dfd9,_0x3c79ba=0x0,_0x4f2da7=_0x2edd82['length']-0x1,_0x409a36=new Set(),_0x2baaa8=this['bidiIn'](_0x2edd82[0x0],_0x2edd82[_0x4f2da7]),_0x1bdf5d=-0x1,_0x2ccbc0=0x3b9aca00;t:for(;_0x3c79ba<_0x4f2da7;){let _0x50c4f6=_0x4f2da7-_0x3c79ba,_0xf85564=_0x3c79ba+_0x4f2da7>>0x1;_0x5e9936:if(_0x409a36['has'](_0xf85564)){let _0x1889bc=_0x3c79ba+Math['floor'](Math['random']()*_0x50c4f6);for(let _0x25667a=0x0;_0x25667a<_0x50c4f6;_0x25667a++){if(!_0x409a36['has'](_0x1889bc)){_0xf85564=_0x1889bc;break _0x5e9936;}_0x1889bc++,_0x1889bc==_0x4f2da7&&(_0x1889bc=_0x3c79ba);}break t;}_0x409a36['add'](_0xf85564);let _0x131623=_0x1ab70f(_0xf85564);if(_0x131623)for(let _0x50bbc9=0x0;_0x50bbc9<_0x131623['length'];_0x50bbc9++){let _0x3336b6=_0x131623[_0x50bbc9],_0x4020ae=0x0;if(!(0x0==_0x3336b6['width']&&_0x131623['length']>0x1)){if(_0x3336b6['bottom']<this['y'])(!_0x185633||_0x185633['bottom']<_0x3336b6['bottom'])&&(_0x185633=_0x3336b6),_0x4020ae=0x1;else{if(_0x3336b6['top']>this['y'])(!_0x3fe686||_0x3fe686['top']>_0x3336b6['top'])&&(_0x3fe686=_0x3336b6),_0x4020ae=-0x1;else{let _0x29929e=_0x3336b6['left']>this['x']?this['x']-_0x3336b6['left']:_0x3336b6['right']<this['x']?this['x']-_0x3336b6['right']:0x0,_0x10df5b=Math['abs'](_0x29929e);_0x10df5b<_0x2ccbc0&&(_0x1bdf5d=_0xf85564,_0x2ccbc0=_0x10df5b,_0x59dfd9=_0x3336b6),_0x29929e&&(_0x4020ae=_0x29929e<0x0==(this['baseDir']==AD['LTR'])?-0x1:0x1);}}-0x1!=_0x4020ae||_0x2baaa8&&!this['baseDirAt'](_0x2edd82[_0xf85564],0x1)?0x1!=_0x4020ae||_0x2baaa8&&!this['baseDirAt'](_0x2edd82[_0xf85564+0x1],-0x1)||(_0x3c79ba=_0xf85564+0x1):_0x4f2da7=_0xf85564;}}}if(!_0x59dfd9){if(!_0x3fe686&&!_0x185633)return{'i':_0x2edd82[0x0],'after':!0x1};let _0x49a1bc=_0x185633&&(!_0x3fe686||this['y']-_0x185633['bottom']<_0x3fe686['top']-this['y'])?_0x185633:_0x3fe686;return this['y']=(_0x49a1bc['top']+_0x49a1bc['bottom'])/0x2,this['scan'](_0x2edd82,_0x1ab70f,!0x0);}if(_0x2ccbc0&&!_0x5b666b){let {top:_0x281c90,bottom:_0x2ebbca}=_0x59dfd9;if(_0x185633&&_0x185633['bottom']>(_0x281c90+_0x281c90+_0x2ebbca)/0x3)return this['y']=_0x185633['bottom']-0x1,this['scan'](_0x2edd82,_0x1ab70f,!0x0);if(_0x3fe686&&_0x3fe686['top']<(_0x281c90+_0x2ebbca+_0x2ebbca)/0x3)return this['y']=_0x3fe686['top']+0x1,this['scan'](_0x2edd82,_0x1ab70f,!0x0);}let _0x45cc0e=(_0x2baaa8?this['dirAt'](_0x2edd82[_0x1bdf5d],0x1):this['baseDir'])==AD['LTR'];return{'i':_0x1bdf5d,'after':this['x']>(_0x59dfd9['left']+_0x59dfd9['right'])/0x2==_0x45cc0e};}['scanText'](_0x3c8d74,_0xd91f99){let _0x2e0744=[];for(let _0x5a1cf1=0x0;_0x5a1cf1<_0x3c8d74['length'];_0x5a1cf1=ZN(_0x3c8d74['text'],_0x5a1cf1))_0x2e0744['push'](_0xd91f99+_0x5a1cf1);_0x2e0744['push'](_0xd91f99+_0x3c8d74['length']);let _0x141bb1=this['scan'](_0x2e0744,_0x23b5c5=>{let _0x5ab47d=_0x2e0744[_0x23b5c5]-_0xd91f99,_0x2dc2db=_0x2e0744[_0x23b5c5+0x1]-_0xd91f99;return bD(_0x3c8d74['dom'],_0x5ab47d,_0x2dc2db)['getClientRects']();});return _0x141bb1['after']?new rj(_0x2e0744[_0x141bb1['i']+0x1],-0x1):new rj(_0x2e0744[_0x141bb1['i']],0x1);}['scanTile'](_0x2a377e,_0x5961ad){if(!_0x2a377e['length'])return new rj(_0x5961ad,0x1);if(0x1==_0x2a377e['children']['length']){let _0x4063e2=_0x2a377e['children'][0x0];if(_0x4063e2['isText']())return this['scanText'](_0x4063e2,_0x5961ad);if(_0x4063e2['isComposite']())return this['scanTile'](_0x4063e2,_0x5961ad);}let _0x357795=[_0x5961ad];for(let _0x248cbd=0x0,_0x5a0687=_0x5961ad;_0x248cbd<_0x2a377e['children']['length'];_0x248cbd++)_0x357795['push'](_0x5a0687+=_0x2a377e['children'][_0x248cbd]['length']);let _0x16c29d=this['scan'](_0x357795,_0x10b7fc=>{let _0x9c9491=_0x2a377e['children'][_0x10b7fc];return 0x30&_0x9c9491['flags']?null:(0x1==_0x9c9491['dom']['nodeType']?_0x9c9491['dom']:bD(_0x9c9491['dom'],0x0,_0x9c9491['length']))['getClientRects']();}),_0x64887a=_0x2a377e['children'][_0x16c29d['i']],_0x4fe089=_0x357795[_0x16c29d['i']];return _0x64887a['isText']()?this['scanText'](_0x64887a,_0x4fe089):_0x64887a['isComposite']()?this['scanTile'](_0x64887a,_0x4fe089):_0x16c29d['after']?new rj(_0x357795[_0x16c29d['i']+0x1],-0x1):new rj(_0x4fe089,0x1);}};const cj='';var lj=class{constructor(_0x528a70,_0x494121){this['points']=_0x528a70,this['view']=_0x494121,this['text']='',this['lineSeparator']=_0x494121['state']['facet'](YL['lineSeparator']);}['append'](_0x11eb7a){this['text']+=_0x11eb7a;}['lineBreak'](){this['text']+=cj;}['readRange'](_0x12dccc,_0x4b6363){if(!_0x12dccc)return this;let _0x409390=_0x12dccc['parentNode'];for(let _0x1dee51=_0x12dccc;;){this['findPointBefore'](_0x409390,_0x1dee51);let _0x471346=this['text']['length'];this['readNode'](_0x1dee51);let _0x7ed2d6=AQ['get'](_0x1dee51),_0xcc05cc=_0x1dee51['nextSibling'];if(_0xcc05cc==_0x4b6363){(null==_0x7ed2d6?void 0x0:_0x7ed2d6['breakAfter'])&&!_0xcc05cc&&_0x409390!=this['view']['contentDOM']&&this['lineBreak']();break;}let _0x5d7b6e=AQ['get'](_0xcc05cc);(_0x7ed2d6&&_0x5d7b6e?_0x7ed2d6['breakAfter']:(_0x7ed2d6?_0x7ed2d6['breakAfter']:cD(_0x1dee51))||cD(_0xcc05cc)&&('BR'!=_0x1dee51['nodeName']||(null==_0x7ed2d6?void 0x0:_0x7ed2d6['isWidget']()))&&this['text']['length']>_0x471346)&&!uj(_0xcc05cc,_0x4b6363)&&this['lineBreak'](),_0x1dee51=_0xcc05cc;}return this['findPointBefore'](_0x409390,_0x4b6363),this;}['readTextNode'](_0x16be4e){let _0x47d03e=_0x16be4e['nodeValue'];for(let _0x48a155 of this['points'])_0x48a155['node']==_0x16be4e&&(_0x48a155['pos']=this['text']['length']+Math['min'](_0x48a155['offset'],_0x47d03e['length']));for(let _0x538216=0x0,_0x43b9eb=this['lineSeparator']?null:/\r\n?|\n/g;;){let _0x9d37e2,_0x1cf7a2=-0x1,_0x328202=0x1;if(this['lineSeparator']?(_0x1cf7a2=_0x47d03e['indexOf'](this['lineSeparator'],_0x538216),_0x328202=this['lineSeparator']['length']):(_0x9d37e2=_0x43b9eb['exec'](_0x47d03e))&&(_0x1cf7a2=_0x9d37e2['index'],_0x328202=_0x9d37e2[0x0]['length']),this['append'](_0x47d03e['slice'](_0x538216,_0x1cf7a2<0x0?_0x47d03e['length']:_0x1cf7a2)),_0x1cf7a2<0x0)break;if(this['lineBreak'](),_0x328202>0x1){for(let _0x2dda82 of this['points'])_0x2dda82['node']==_0x16be4e&&_0x2dda82['pos']>this['text']['length']&&(_0x2dda82['pos']-=_0x328202-0x1);}_0x538216=_0x1cf7a2+_0x328202;}}['readNode'](_0x1451f0){let _0x2b577d=AQ['get'](_0x1451f0),_0x3875a2=_0x2b577d&&_0x2b577d['overrideDOMText'];if(null!=_0x3875a2){this['findPointInside'](_0x1451f0,_0x3875a2['length']);for(let _0x2401e0=_0x3875a2['iter']();!_0x2401e0['next']()['done'];)_0x2401e0['lineBreak']?this['lineBreak']():this['append'](_0x2401e0['value']);}else 0x3==_0x1451f0['nodeType']?this['readTextNode'](_0x1451f0):'BR'==_0x1451f0['nodeName']?_0x1451f0['nextSibling']&&this['lineBreak']():0x1==_0x1451f0['nodeType']&&this['readRange'](_0x1451f0['firstChild'],null);}['findPointBefore'](_0x5592f1,_0x1ed52d){for(let _0x15a4ec of this['points'])_0x15a4ec['node']==_0x5592f1&&_0x5592f1['childNodes'][_0x15a4ec['offset']]==_0x1ed52d&&(_0x15a4ec['pos']=this['text']['length']);}['findPointInside'](_0x3f81b5,_0x1cb465){for(let _0x21503e of this['points'])(0x3==_0x3f81b5['nodeType']?_0x21503e['node']==_0x3f81b5:_0x3f81b5['contains'](_0x21503e['node']))&&(_0x21503e['pos']=this['text']['length']+(hj(_0x3f81b5,_0x21503e['node'],_0x21503e['offset'])?_0x1cb465:0x0));}};function hj(_0x565a53,_0x4d491c,_0x1ff4fa){for(;;){if(!_0x4d491c||_0x1ff4fa<hD(_0x4d491c))return!0x1;if(_0x4d491c==_0x565a53)return!0x0;_0x1ff4fa=aD(_0x4d491c)+0x1,_0x4d491c=_0x4d491c['parentNode'];}}function uj(_0x17ac7e,_0x1f0ec8){let _0x508a15;for(;_0x17ac7e!=_0x1f0ec8&&_0x17ac7e;_0x17ac7e=_0x17ac7e['nextSibling']){let _0x3d342e=AQ['get'](_0x17ac7e);if(!(null==_0x3d342e?void 0x0:_0x3d342e['isWidget']()))return!0x1;_0x3d342e&&(_0x508a15||(_0x508a15=[]))['push'](_0x3d342e);}if(_0x508a15)for(let _0x59ecb3 of _0x508a15){let _0x36e1c8=_0x59ecb3['overrideDOMText'];if(null==_0x36e1c8?void 0x0:_0x36e1c8['length'])return!0x1;}return!0x0;}var dj=class{constructor(_0x5b19e4,_0x5e4394){this['node']=_0x5b19e4,this['offset']=_0x5e4394,this['pos']=-0x1;}},fj=class{constructor(_0x33cc1c,_0x2e3c4e,_0x221c71,_0x238632){this['typeOver']=_0x238632,this['bounds']=null,this['text']='',this['domChanged']=_0x2e3c4e>-0x1;let {impreciseHead:_0x5a043b,impreciseAnchor:_0x14e208}=_0x33cc1c['docView'],_0x3cde90=_0x33cc1c['state']['selection'];if(_0x33cc1c['state']['readOnly']&&_0x2e3c4e>-0x1)this['newSel']=null;else{if(_0x2e3c4e>-0x1&&(this['bounds']=mj(_0x33cc1c['docView']['tile'],_0x2e3c4e,_0x221c71,0x0))){let _0x28352b=_0x5a043b||_0x14e208?[]:function(_0x2c5ada){let _0x4f8fa3=[];if(_0x2c5ada['root']['activeElement']!=_0x2c5ada['contentDOM'])return _0x4f8fa3;let {anchorNode:_0x3589f6,anchorOffset:_0x5e611d,focusNode:_0x25eb2f,focusOffset:_0x18b5d3}=_0x2c5ada['observer']['selectionRange'];return _0x3589f6&&(_0x4f8fa3['push'](new dj(_0x3589f6,_0x5e611d)),_0x25eb2f==_0x3589f6&&_0x18b5d3==_0x5e611d||_0x4f8fa3['push'](new dj(_0x25eb2f,_0x18b5d3))),_0x4f8fa3;}(_0x33cc1c),_0x3afcf7=new lj(_0x28352b,_0x33cc1c);_0x3afcf7['readRange'](this['bounds']['startDOM'],this['bounds']['endDOM']),this['text']=_0x3afcf7['text'],this['newSel']=function(_0x351b74,_0xe758ad){if(0x0==_0x351b74['length'])return null;let _0x36ed95=_0x351b74[0x0]['pos'],_0x32ff28=0x2==_0x351b74['length']?_0x351b74[0x1]['pos']:_0x36ed95;return _0x36ed95>-0x1&&_0x32ff28>-0x1?oL['single'](_0x36ed95+_0xe758ad,_0x32ff28+_0xe758ad):null;}(_0x28352b,this['bounds']['from']);}else{let _0x963034=_0x33cc1c['observer']['selectionRange'],_0x2b9d91=_0x5a043b&&_0x5a043b['node']==_0x963034['focusNode']&&_0x5a043b['offset']==_0x963034['focusOffset']||!sD(_0x33cc1c['contentDOM'],_0x963034['focusNode'])?_0x3cde90['main']['head']:_0x33cc1c['docView']['posFromDOM'](_0x963034['focusNode'],_0x963034['focusOffset']),_0x3a3b1d=_0x14e208&&_0x14e208['node']==_0x963034['anchorNode']&&_0x14e208['offset']==_0x963034['anchorOffset']||!sD(_0x33cc1c['contentDOM'],_0x963034['anchorNode'])?_0x3cde90['main']['anchor']:_0x33cc1c['docView']['posFromDOM'](_0x963034['anchorNode'],_0x963034['anchorOffset']),_0x886897=_0x33cc1c['viewport'];if((V$['ios']||V$['chrome'])&&_0x3cde90['main']['empty']&&_0x2b9d91!=_0x3a3b1d&&(_0x886897['from']>0x0||_0x886897['to']<_0x33cc1c['state']['doc']['length'])){let _0x379649=Math['min'](_0x2b9d91,_0x3a3b1d),_0x110802=Math['max'](_0x2b9d91,_0x3a3b1d),_0x405793=_0x886897['from']-_0x379649,_0x15f99a=_0x886897['to']-_0x110802;0x0!=_0x405793&&0x1!=_0x405793&&0x0!=_0x379649||0x0!=_0x15f99a&&-0x1!=_0x15f99a&&_0x110802!=_0x33cc1c['state']['doc']['length']||(_0x2b9d91=0x0,_0x3a3b1d=_0x33cc1c['state']['doc']['length']);}if(_0x33cc1c['inputState']['composing']>-0x1&&_0x3cde90['ranges']['length']>0x1)this['newSel']=_0x3cde90['replaceRange'](oL['range'](_0x3a3b1d,_0x2b9d91));else{if(_0x33cc1c['lineWrapping']&&_0x3a3b1d==_0x2b9d91&&(!_0x3cde90['main']['empty']||_0x3cde90['main']['head']!=_0x2b9d91)&&_0x33cc1c['inputState']['lastTouchTime']>Date['now']()-0x64){let _0x28b429=_0x33cc1c['coordsAtPos'](_0x2b9d91,-0x1),_0x18124b=0x0;_0x28b429&&(_0x18124b=_0x33cc1c['inputState']['lastTouchY']<=_0x28b429['bottom']?-0x1:0x1),this['newSel']=oL['create']([oL['cursor'](_0x2b9d91,_0x18124b)]);}else this['newSel']=oL['single'](_0x3a3b1d,_0x2b9d91);}}}}};function mj(_0x41d8ef,_0xb725a3,_0x5c53f3,_0x460297){if(_0x41d8ef['isComposite']()){let _0xb67b34=-0x1,_0x25c25e=-0x1,_0x5379b5=-0x1,_0x3ea744=-0x1;for(let _0x384b68=0x0,_0x260017=_0x460297,_0x31fcac=_0x460297;_0x384b68<_0x41d8ef['children']['length'];_0x384b68++){let _0x275a6d=_0x41d8ef['children'][_0x384b68],_0x204ef1=_0x260017+_0x275a6d['length'];if(_0x260017<_0xb725a3&&_0x204ef1>_0x5c53f3)return mj(_0x275a6d,_0xb725a3,_0x5c53f3,_0x260017);if(_0x204ef1>=_0xb725a3&&-0x1==_0xb67b34&&(_0xb67b34=_0x384b68,_0x25c25e=_0x260017),_0x260017>_0x5c53f3&&_0x275a6d['dom']['parentNode']==_0x41d8ef['dom']){_0x5379b5=_0x384b68,_0x3ea744=_0x31fcac;break;}_0x31fcac=_0x204ef1,_0x260017=_0x204ef1+_0x275a6d['breakAfter'];}return{'from':_0x25c25e,'to':_0x3ea744<0x0?_0x460297+_0x41d8ef['length']:_0x3ea744,'startDOM':(_0xb67b34?_0x41d8ef['children'][_0xb67b34-0x1]['dom']['nextSibling']:null)||_0x41d8ef['dom']['firstChild'],'endDOM':_0x5379b5<_0x41d8ef['children']['length']&&_0x5379b5>=0x0?_0x41d8ef['children'][_0x5379b5]['dom']:null};}return _0x41d8ef['isText']()?{'from':_0x460297,'to':_0x460297+_0x41d8ef['length'],'startDOM':_0x41d8ef['dom'],'endDOM':_0x41d8ef['dom']['nextSibling']}:null;}function pj(_0x3c8a28,_0x224194){let _0x5dd1ba,{newSel:_0x418725}=_0x224194,{state:_0x411fce}=_0x3c8a28,_0xd63eb1=_0x411fce['selection']['main'],_0x18f815=_0x3c8a28['inputState']['lastKeyTime']>Date['now']()-0x64?_0x3c8a28['inputState']['lastKeyCode']:-0x1;if(_0x224194['bounds']){let {from:_0x41885b,to:_0x18386e}=_0x224194['bounds'],_0x30c499=_0xd63eb1['from'],_0x17edca=null;(0x8===_0x18f815||V$['android']&&_0x224194['text']['length']<_0x18386e-_0x41885b)&&(_0x30c499=_0xd63eb1['to'],_0x17edca='end');let _0x11df8a,_0x2869a1,_0x3309f3=_0x411fce['doc']['sliceString'](_0x41885b,_0x18386e,cj);!_0xd63eb1['empty']&&_0xd63eb1['from']>=_0x41885b&&_0xd63eb1['to']<=_0x18386e&&(_0x224194['typeOver']||_0x3309f3!=_0x224194['text'])&&_0x3309f3['slice'](0x0,_0xd63eb1['from']-_0x41885b)==_0x224194['text']['slice'](0x0,_0xd63eb1['from']-_0x41885b)&&_0x3309f3['slice'](_0xd63eb1['to']-_0x41885b)==_0x224194['text']['slice'](_0x11df8a=_0x224194['text']['length']-(_0x3309f3['length']-(_0xd63eb1['to']-_0x41885b)))?_0x5dd1ba={'from':_0xd63eb1['from'],'to':_0xd63eb1['to'],'insert':LN['of'](_0x224194['text']['slice'](_0xd63eb1['from']-_0x41885b,_0x11df8a)['split'](cj))}:(_0x2869a1=Oj(_0x3309f3,_0x224194['text'],_0x30c499-_0x41885b,_0x17edca))&&(V$['chrome']&&0xd==_0x18f815&&_0x2869a1['toB']==_0x2869a1['from']+0x2&&''==_0x224194['text']['slice'](_0x2869a1['from'],_0x2869a1['toB'])&&_0x2869a1['toB']--,_0x5dd1ba={'from':_0x41885b+_0x2869a1['from'],'to':_0x41885b+_0x2869a1['toA'],'insert':LN['of'](_0x224194['text']['slice'](_0x2869a1['from'],_0x2869a1['toB'])['split'](cj))});}else _0x418725&&(!_0x3c8a28['hasFocus']&&_0x411fce['facet'](oQ)||wj(_0x418725,_0xd63eb1))&&(_0x418725=null);if(!_0x5dd1ba&&!_0x418725)return!0x1;if((V$['mac']||V$['android'])&&_0x5dd1ba&&_0x5dd1ba['from']==_0x5dd1ba['to']&&_0x5dd1ba['from']==_0xd63eb1['head']-0x1&&/^\. ?$/['test'](_0x5dd1ba['insert']['toString']())&&'off'==_0x3c8a28['contentDOM']['getAttribute']('autocorrect')?(_0x418725&&0x2==_0x5dd1ba['insert']['length']&&(_0x418725=oL['single'](_0x418725['main']['anchor']-0x1,_0x418725['main']['head']-0x1)),_0x5dd1ba={'from':_0x5dd1ba['from'],'to':_0x5dd1ba['to'],'insert':LN['of']([_0x5dd1ba['insert']['toString']()['replace']('.','\x20')])}):_0x411fce['doc']['lineAt'](_0xd63eb1['from'])['to']<_0xd63eb1['to']&&_0x3c8a28['docView']['lineHasWidget'](_0xd63eb1['to'])&&_0x3c8a28['inputState']['insertingTextAt']>Date['now']()-0x32?_0x5dd1ba={'from':_0xd63eb1['from'],'to':_0xd63eb1['to'],'insert':_0x411fce['toText'](_0x3c8a28['inputState']['insertingText'])}:V$['chrome']&&_0x5dd1ba&&_0x5dd1ba['from']==_0x5dd1ba['to']&&_0x5dd1ba['from']==_0xd63eb1['head']&&'\x0a\x20'==_0x5dd1ba['insert']['toString']()&&_0x3c8a28['lineWrapping']&&(_0x418725&&(_0x418725=oL['single'](_0x418725['main']['anchor']-0x1,_0x418725['main']['head']-0x1)),_0x5dd1ba={'from':_0xd63eb1['from'],'to':_0xd63eb1['to'],'insert':LN['of'](['\x20'])}),_0x5dd1ba)return gj(_0x3c8a28,_0x5dd1ba,_0x418725,_0x18f815);if(_0x418725&&!wj(_0x418725,_0xd63eb1)){let _0x49378c=!0x1,_0x47120d='select';return _0x3c8a28['inputState']['lastSelectionTime']>Date['now']()-0x32&&('select'==_0x3c8a28['inputState']['lastSelectionOrigin']&&(_0x49378c=!0x0),_0x47120d=_0x3c8a28['inputState']['lastSelectionOrigin'],'select.pointer'==_0x47120d&&(_0x418725=sj(_0x411fce['facet'](gQ)['map'](_0xd43fd8=>_0xd43fd8(_0x3c8a28)),_0x418725))),_0x3c8a28['dispatch']({'selection':_0x418725,'scrollIntoView':_0x49378c,'userEvent':_0x47120d}),!0x0;}return!0x1;}function gj(_0x163430,_0x8cdb66,_0x333571,_0x3477f7=-0x1){if(V$['ios']&&_0x163430['inputState']['flushIOSKey'](_0x8cdb66))return!0x0;let _0xd482a1=_0x163430['state']['selection']['main'];if(V$['android']&&(_0x8cdb66['to']==_0xd482a1['to']&&(_0x8cdb66['from']==_0xd482a1['from']||_0x8cdb66['from']==_0xd482a1['from']-0x1&&'\x20'==_0x163430['state']['sliceDoc'](_0x8cdb66['from'],_0xd482a1['from']))&&0x1==_0x8cdb66['insert']['length']&&0x2==_0x8cdb66['insert']['lines']&&yD(_0x163430['contentDOM'],'Enter',0xd)||(_0x8cdb66['from']==_0xd482a1['from']-0x1&&_0x8cdb66['to']==_0xd482a1['to']&&0x0==_0x8cdb66['insert']['length']||0x8==_0x3477f7&&_0x8cdb66['insert']['length']<_0x8cdb66['to']-_0x8cdb66['from']&&_0x8cdb66['to']>_0xd482a1['head'])&&yD(_0x163430['contentDOM'],'Backspace',0x8)||_0x8cdb66['from']==_0xd482a1['from']&&_0x8cdb66['to']==_0xd482a1['to']+0x1&&0x0==_0x8cdb66['insert']['length']&&yD(_0x163430['contentDOM'],'Delete',0x2e)))return!0x0;let _0x287cfa,_0x423e0a=_0x8cdb66['insert']['toString']();_0x163430['inputState']['composing']>=0x0&&_0x163430['inputState']['composing']++;let _0x203e99=()=>_0x287cfa||(_0x287cfa=function(_0x3fe812,_0x322145,_0x5978c6){let _0x4154f2,_0x15d8db=_0x3fe812['state'],_0x38dc1f=_0x15d8db['selection']['main'],_0x36a1dc=-0x1;if(_0x322145['from']==_0x322145['to']&&_0x322145['from']<_0x38dc1f['from']||_0x322145['from']>_0x38dc1f['to']){let _0x2ce05f=_0x322145['from']<_0x38dc1f['from']?-0x1:0x1,_0x48a8c2=_0x2ce05f<0x0?_0x38dc1f['from']:_0x38dc1f['to'],_0xb495b6=ij(_0x15d8db['facet'](gQ)['map'](_0x4c6e7f=>_0x4c6e7f(_0x3fe812)),_0x48a8c2,_0x2ce05f);_0x322145['from']==_0xb495b6&&(_0x36a1dc=_0xb495b6);}if(_0x36a1dc>-0x1)_0x4154f2={'changes':_0x322145,'selection':oL['cursor'](_0x322145['from']+_0x322145['insert']['length'],-0x1)};else{if(_0x322145['from']>=_0x38dc1f['from']&&_0x322145['to']<=_0x38dc1f['to']&&_0x322145['to']-_0x322145['from']>=(_0x38dc1f['to']-_0x38dc1f['from'])/0x3&&(!_0x5978c6||_0x5978c6['main']['empty']&&_0x5978c6['main']['from']==_0x322145['from']+_0x322145['insert']['length'])&&_0x3fe812['inputState']['composing']<0x0){let _0x4e8447=_0x38dc1f['from']<_0x322145['from']?_0x15d8db['sliceDoc'](_0x38dc1f['from'],_0x322145['from']):'',_0x165d6a=_0x38dc1f['to']>_0x322145['to']?_0x15d8db['sliceDoc'](_0x322145['to'],_0x38dc1f['to']):'';_0x4154f2=_0x15d8db['replaceSelection'](_0x3fe812['state']['toText'](_0x4e8447+_0x322145['insert']['sliceString'](0x0,void 0x0,_0x3fe812['state']['lineBreak'])+_0x165d6a));}else{let _0x4cc8ed=_0x15d8db['changes'](_0x322145),_0x150fdc=_0x5978c6&&_0x5978c6['main']['to']<=_0x4cc8ed['newLength']?_0x5978c6['main']:void 0x0;if(_0x15d8db['selection']['ranges']['length']>0x1&&(_0x3fe812['inputState']['composing']>=0x0||_0x3fe812['inputState']['compositionPendingChange'])&&_0x322145['to']<=_0x38dc1f['to']+0xa&&_0x322145['to']>=_0x38dc1f['to']-0xa){let _0x15dd24,_0x2857aa=_0x3fe812['state']['sliceDoc'](_0x322145['from'],_0x322145['to']),_0x46f693=_0x5978c6&&zQ(_0x3fe812,_0x5978c6['main']['head']);if(_0x46f693){let _0x2ab0ae=_0x322145['insert']['length']-(_0x322145['to']-_0x322145['from']);_0x15dd24={'from':_0x46f693['from'],'to':_0x46f693['to']-_0x2ab0ae};}else _0x15dd24=_0x3fe812['state']['doc']['lineAt'](_0x38dc1f['head']);let _0x4b461a=_0x38dc1f['to']-_0x322145['to'];_0x4154f2=_0x15d8db['changeByRange'](_0x2c19c9=>{if(_0x2c19c9['from']==_0x38dc1f['from']&&_0x2c19c9['to']==_0x38dc1f['to'])return{'changes':_0x4cc8ed,'range':_0x150fdc||_0x2c19c9['map'](_0x4cc8ed)};let _0x415757=_0x2c19c9['to']-_0x4b461a,_0x356016=_0x415757-_0x2857aa['length'];if(_0x3fe812['state']['sliceDoc'](_0x356016,_0x415757)!=_0x2857aa||_0x415757>=_0x15dd24['from']&&_0x356016<=_0x15dd24['to'])return{'range':_0x2c19c9};let _0x3fc9ca=_0x15d8db['changes']({'from':_0x356016,'to':_0x415757,'insert':_0x322145['insert']}),_0x5017d9=_0x2c19c9['to']-_0x38dc1f['to'];return{'changes':_0x3fc9ca,'range':_0x150fdc?oL['range'](Math['max'](0x0,_0x150fdc['anchor']+_0x5017d9),Math['max'](0x0,_0x150fdc['head']+_0x5017d9)):_0x2c19c9['map'](_0x3fc9ca)};});}else _0x4154f2={'changes':_0x4cc8ed,'selection':_0x150fdc&&_0x15d8db['selection']['replaceRange'](_0x150fdc)};}}let _0x25bf09='input.type';return(_0x3fe812['composing']||_0x3fe812['inputState']['compositionPendingChange']&&_0x3fe812['inputState']['compositionEndedAt']>Date['now']()-0x32)&&(_0x3fe812['inputState']['compositionPendingChange']=!0x1,_0x25bf09+='.compose',_0x3fe812['inputState']['compositionFirstChange']&&(_0x25bf09+='.start',_0x3fe812['inputState']['compositionFirstChange']=!0x1)),_0x15d8db['update'](_0x4154f2,{'userEvent':_0x25bf09,'scrollIntoView':!0x0});}(_0x163430,_0x8cdb66,_0x333571));return _0x163430['state']['facet'](WD)['some'](_0x1a2c1d=>_0x1a2c1d(_0x163430,_0x8cdb66['from'],_0x8cdb66['to'],_0x423e0a,_0x203e99))||_0x163430['dispatch'](_0x203e99()),!0x0;}function Oj(_0xabd7f7,_0x272e79,_0x488509,_0x1a2e38){let _0x541c2b=Math['min'](_0xabd7f7['length'],_0x272e79['length']),_0x21adc2=0x0;for(;_0x21adc2<_0x541c2b&&_0xabd7f7['charCodeAt'](_0x21adc2)==_0x272e79['charCodeAt'](_0x21adc2);)_0x21adc2++;if(_0x21adc2==_0x541c2b&&_0xabd7f7['length']==_0x272e79['length'])return null;let _0x49ee80=_0xabd7f7['length'],_0x5ab324=_0x272e79['length'];for(;_0x49ee80>0x0&&_0x5ab324>0x0&&_0xabd7f7['charCodeAt'](_0x49ee80-0x1)==_0x272e79['charCodeAt'](_0x5ab324-0x1);)_0x49ee80--,_0x5ab324--;'end'==_0x1a2e38&&(_0x488509-=_0x49ee80+Math['max'](0x0,_0x21adc2-Math['min'](_0x49ee80,_0x5ab324))-_0x21adc2);if(_0x49ee80<_0x21adc2&&_0xabd7f7['length']<_0x272e79['length'])_0x21adc2-=_0x488509<=_0x21adc2&&_0x488509>=_0x49ee80?_0x21adc2-_0x488509:0x0,_0x5ab324=_0x21adc2+(_0x5ab324-_0x49ee80),_0x49ee80=_0x21adc2;else _0x5ab324<_0x21adc2&&(_0x21adc2-=_0x488509<=_0x21adc2&&_0x488509>=_0x5ab324?_0x21adc2-_0x488509:0x0,_0x49ee80=_0x21adc2+(_0x49ee80-_0x5ab324),_0x5ab324=_0x21adc2);return{'from':_0x21adc2,'toA':_0x49ee80,'toB':_0x5ab324};}function wj(_0x18c068,_0x5ac7b4){return _0x5ac7b4['head']==_0x18c068['main']['head']&&_0x5ac7b4['anchor']==_0x18c068['main']['anchor'];}var bj=class{['setSelectionOrigin'](_0x11ce10){this['lastSelectionOrigin']=_0x11ce10,this['lastSelectionTime']=Date['now']();}constructor(_0x3e70d0){this['view']=_0x3e70d0,this['lastKeyCode']=0x0,this['lastKeyTime']=0x0,this['lastTouchTime']=0x0,this['lastTouchX']=0x0,this['lastTouchY']=0x0,this['lastFocusTime']=0x0,this['lastScrollTop']=0x0,this['lastScrollLeft']=0x0,this['lastWheelEvent']=0x0,this['pendingIOSKey']=void 0x0,this['tabFocusMode']=-0x1,this['lastSelectionOrigin']=null,this['lastSelectionTime']=0x0,this['lastContextMenu']=0x0,this['scrollHandlers']=[],this['handlers']=Object['create'](null),this['composing']=-0x1,this['compositionFirstChange']=null,this['compositionEndedAt']=0x0,this['compositionPendingKey']=!0x1,this['compositionPendingChange']=!0x1,this['insertingText']='',this['insertingTextAt']=0x0,this['mouseSelection']=null,this['draggedContent']=null,this['handleEvent']=this['handleEvent']['bind'](this),this['notifiedFocused']=_0x3e70d0['hasFocus'],V$['safari']&&_0x3e70d0['contentDOM']['addEventListener']('input',()=>null),V$['gecko']&&function(_0x2d6839){Fj['has'](_0x2d6839)||(Fj['add'](_0x2d6839),_0x2d6839['addEventListener']('copy',()=>{}),_0x2d6839['addEventListener']('cut',()=>{}));}(_0x3e70d0['contentDOM']['ownerDocument']);}['handleEvent'](_0x109333){(function(_0x5e960f,_0x29ba88){if(!_0x29ba88['bubbles'])return!0x0;if(_0x29ba88['defaultPrevented'])return!0x1;for(let _0xc118d4,_0x231352=_0x29ba88['target'];_0x231352!=_0x5e960f['contentDOM'];_0x231352=_0x231352['parentNode'])if(!_0x231352||0xb==_0x231352['nodeType']||(_0xc118d4=AQ['get'](_0x231352))&&_0xc118d4['isWidget']()&&!_0xc118d4['isHidden']&&_0xc118d4['widget']['ignoreEvent'](_0x29ba88))return!0x1;return!0x0;}(this['view'],_0x109333)&&!this['ignoreDuringComposition'](_0x109333)&&('keydown'==_0x109333['type']&&this['keydown'](_0x109333)||(0x0!=this['view']['updateState']?Promise['resolve']()['then'](()=>this['runHandlers'](_0x109333['type'],_0x109333)):this['runHandlers'](_0x109333['type'],_0x109333))));}['runHandlers'](_0xaba386,_0x5a6255){let _0x1444b7=this['handlers'][_0xaba386];if(_0x1444b7){for(let _0x4f7b55 of _0x1444b7['observers'])_0x4f7b55(this['view'],_0x5a6255);for(let _0x5bc409 of _0x1444b7['handlers']){if(_0x5a6255['defaultPrevented'])break;if(_0x5bc409(this['view'],_0x5a6255)){_0x5a6255['preventDefault']();break;}}}}['ensureHandlers'](_0x2e6d48){let _0x43a11c=vj(_0x2e6d48),_0x123db6=this['handlers'],_0xea8e97=this['view']['contentDOM'];for(let _0x3d784d in _0x43a11c)if('scroll'!=_0x3d784d){let _0x40b011=!_0x43a11c[_0x3d784d]['handlers']['length'],_0x41f27e=_0x123db6[_0x3d784d];_0x41f27e&&_0x40b011!=!_0x41f27e['handlers']['length']&&(_0xea8e97['removeEventListener'](_0x3d784d,this['handleEvent']),_0x41f27e=null),_0x41f27e||_0xea8e97['addEventListener'](_0x3d784d,this['handleEvent'],{'passive':_0x40b011});}for(let _0x452c94 in _0x123db6)'scroll'==_0x452c94||_0x43a11c[_0x452c94]||_0xea8e97['removeEventListener'](_0x452c94,this['handleEvent']);this['handlers']=_0x43a11c;}['keydown'](_0x4d1a0e){if(this['lastKeyCode']=_0x4d1a0e['keyCode'],this['lastKeyTime']=Date['now'](),0x9==_0x4d1a0e['keyCode']&&this['tabFocusMode']>-0x1&&(!this['tabFocusMode']||Date['now']()<=this['tabFocusMode']))return!0x0;if(this['tabFocusMode']>0x0&&0x1b!=_0x4d1a0e['keyCode']&&Tj['indexOf'](_0x4d1a0e['keyCode'])<0x0&&(this['tabFocusMode']=-0x1),V$['android']&&V$['chrome']&&!_0x4d1a0e['synthetic']&&(0xd==_0x4d1a0e['keyCode']||0x8==_0x4d1a0e['keyCode']))return this['view']['observer']['delayAndroidKey'](_0x4d1a0e['key'],_0x4d1a0e['keyCode']),!0x0;let _0x25c55f;return!V$['ios']||_0x4d1a0e['synthetic']||_0x4d1a0e['altKey']||_0x4d1a0e['metaKey']||_0x4d1a0e['shiftKey']||!((_0x25c55f=_j['find'](_0x8f8f2f=>_0x8f8f2f['keyCode']==_0x4d1a0e['keyCode']))&&!_0x4d1a0e['ctrlKey']||Ej['indexOf'](_0x4d1a0e['key'])>-0x1&&_0x4d1a0e['ctrlKey'])?(0xe5!=_0x4d1a0e['keyCode']&&this['view']['observer']['forceFlush'](),!0x1):(this['pendingIOSKey']=_0x25c55f||_0x4d1a0e,setTimeout(()=>this['flushIOSKey'](),0xfa),!0x0);}['flushIOSKey'](_0x1330b2){let _0x3d6b02=this['pendingIOSKey'];return!!_0x3d6b02&&(!('Enter'==_0x3d6b02['key']&&_0x1330b2&&_0x1330b2['from']<_0x1330b2['to']&&/^\S+$/['test'](_0x1330b2['insert']['toString']()))&&(this['pendingIOSKey']=void 0x0,yD(this['view']['contentDOM'],_0x3d6b02['key'],_0x3d6b02['keyCode'],_0x3d6b02 instanceof KeyboardEvent?_0x3d6b02:void 0x0)));}['ignoreDuringComposition'](_0x37de61){return!(!/^key/['test'](_0x37de61['type'])||_0x37de61['synthetic'])&&(this['composing']>0x0||!!(V$['safari']&&!V$['ios']&&this['compositionPendingKey']&&Date['now']()-this['compositionEndedAt']<0x64)&&(this['compositionPendingKey']=!0x1,!0x0));}['startMouseSelection'](_0x3ef508){this['mouseSelection']&&this['mouseSelection']['destroy'](),this['mouseSelection']=_0x3ef508;}['update'](_0x4dd601){this['view']['observer']['update'](_0x4dd601),this['mouseSelection']&&this['mouseSelection']['update'](_0x4dd601),this['draggedContent']&&_0x4dd601['docChanged']&&(this['draggedContent']=this['draggedContent']['map'](_0x4dd601['changes'])),_0x4dd601['transactions']['length']&&(this['lastKeyCode']=this['lastSelectionTime']=0x0);}['destroy'](){this['mouseSelection']&&this['mouseSelection']['destroy']();}};function yj(_0x187176,_0x40ad40){return(_0x515694,_0x34a63a)=>{try{return _0x40ad40['call'](_0x187176,_0x34a63a,_0x515694);}catch(_0x4c2a8e){rQ(_0x515694['state'],_0x4c2a8e);}};}function vj(_0x210c85){let _0x35a1ee=Object['create'](null);function _0x4e30cc(_0x159e88){return _0x35a1ee[_0x159e88]||(_0x35a1ee[_0x159e88]={'observers':[],'handlers':[]});}for(let _0x307d21 of _0x210c85){let _0x209c6d=_0x307d21['spec'],_0xa345be=_0x209c6d&&_0x209c6d['plugin']['domEventHandlers'],_0x1179d0=_0x209c6d&&_0x209c6d['plugin']['domEventObservers'];if(_0xa345be)for(let _0x43a250 in _0xa345be){let _0x45794a=_0xa345be[_0x43a250];_0x45794a&&_0x4e30cc(_0x43a250)['handlers']['push'](yj(_0x307d21['value'],_0x45794a));}if(_0x1179d0)for(let _0x44f583 in _0x1179d0){let _0x4b57e5=_0x1179d0[_0x44f583];_0x4b57e5&&_0x4e30cc(_0x44f583)['observers']['push'](yj(_0x307d21['value'],_0x4b57e5));}}for(let _0x3bd619 in Ij)_0x4e30cc(_0x3bd619)['handlers']['push'](Ij[_0x3bd619]);for(let _0x296875 in kj)_0x4e30cc(_0x296875)['observers']['push'](kj[_0x296875]);return _0x35a1ee;}const _j=[{'key':'Backspace','keyCode':0x8,'inputType':'deleteContentBackward'},{'key':'Enter','keyCode':0xd,'inputType':'insertParagraph'},{'key':'Enter','keyCode':0xd,'inputType':'insertLineBreak'},{'key':'Delete','keyCode':0x2e,'inputType':'deleteContentForward'}],Ej='dthko',Tj=[0x10,0x11,0x12,0x14,0x5b,0x5c,0xe0,0xe1];function Aj(_0x5a9dca){return 0.7*Math['max'](0x0,_0x5a9dca)+0x8;}var Sj=class{constructor(_0x28f4de,_0x532230,_0x1fc1b6,_0xeff63b){this['view']=_0x28f4de,this['startEvent']=_0x532230,this['style']=_0x1fc1b6,this['mustSelect']=_0xeff63b,this['scrollSpeed']={'x':0x0,'y':0x0},this['scrolling']=-0x1,this['lastEvent']=_0x532230,this['scrollParents']=mD(_0x28f4de['contentDOM']),this['atoms']=_0x28f4de['state']['facet'](gQ)['map'](_0x39d81d=>_0x39d81d(_0x28f4de));let _0x594a43=_0x28f4de['contentDOM']['ownerDocument'];_0x594a43['addEventListener']('mousemove',this['move']=this['move']['bind'](this)),_0x594a43['addEventListener']('mouseup',this['up']=this['up']['bind'](this)),this['extend']=_0x532230['shiftKey'],this['multiple']=_0x28f4de['state']['facet'](YL['allowMultipleSelections'])&&function(_0x471371,_0x349f3f){let _0x2d6d32=_0x471371['state']['facet'](HD);return _0x2d6d32['length']?_0x2d6d32[0x0](_0x349f3f):V$['mac']?_0x349f3f['metaKey']:_0x349f3f['ctrlKey'];}(_0x28f4de,_0x532230),this['dragging']=!(!function(_0x2b1c32,_0x1bdd5e){let {main:_0x44b5b2}=_0x2b1c32['state']['selection'];if(_0x44b5b2['empty'])return!0x1;let _0x1deb1e=iD(_0x2b1c32['root']);if(!_0x1deb1e||0x0==_0x1deb1e['rangeCount'])return!0x0;let _0x19ce88=_0x1deb1e['getRangeAt'](0x0)['getClientRects']();for(let _0x5c32a4=0x0;_0x5c32a4<_0x19ce88['length'];_0x5c32a4++){let _0x1f834f=_0x19ce88[_0x5c32a4];if(_0x1f834f['left']<=_0x1bdd5e['clientX']&&_0x1f834f['right']>=_0x1bdd5e['clientX']&&_0x1f834f['top']<=_0x1bdd5e['clientY']&&_0x1f834f['bottom']>=_0x1bdd5e['clientY'])return!0x0;}return!0x1;}(_0x28f4de,_0x532230)||0x1!=Dj(_0x532230))&&null;}['start'](_0x4b20e5){!0x1===this['dragging']&&this['select'](_0x4b20e5);}['move'](_0x452866){if(0x0==_0x452866['buttons'])return this['destroy']();if(this['dragging']||null==this['dragging']&&(_0x1c9979=this['startEvent'],_0x3b0780=_0x452866,Math['max'](Math['abs'](_0x1c9979['clientX']-_0x3b0780['clientX']),Math['abs'](_0x1c9979['clientY']-_0x3b0780['clientY']))<0xa))return;var _0x1c9979,_0x3b0780;this['select'](this['lastEvent']=_0x452866);let _0x4319ba=0x0,_0x5686c4=0x0,_0x300942=0x0,_0x3325dd=0x0,_0x50f320=this['view']['win']['innerWidth'],_0x4effd2=this['view']['win']['innerHeight'];this['scrollParents']['x']&&({left:_0x300942,right:_0x50f320}=this['scrollParents']['x']['getBoundingClientRect']()),this['scrollParents']['y']&&({top:_0x3325dd,bottom:_0x4effd2}=this['scrollParents']['y']['getBoundingClientRect']());let _0x1c2f27=yQ(this['view']);_0x452866['clientX']-_0x1c2f27['left']<=_0x300942+0x6?_0x4319ba=-Aj(_0x300942-_0x452866['clientX']):_0x452866['clientX']+_0x1c2f27['right']>=_0x50f320-0x6&&(_0x4319ba=Aj(_0x452866['clientX']-_0x50f320)),_0x452866['clientY']-_0x1c2f27['top']<=_0x3325dd+0x6?_0x5686c4=-Aj(_0x3325dd-_0x452866['clientY']):_0x452866['clientY']+_0x1c2f27['bottom']>=_0x4effd2-0x6&&(_0x5686c4=Aj(_0x452866['clientY']-_0x4effd2)),this['setScrollSpeed'](_0x4319ba,_0x5686c4);}['up'](_0x268870){null==this['dragging']&&this['select'](this['lastEvent']),this['dragging']||_0x268870['preventDefault'](),this['destroy']();}['destroy'](){this['setScrollSpeed'](0x0,0x0);let _0x2c6611=this['view']['contentDOM']['ownerDocument'];_0x2c6611['removeEventListener']('mousemove',this['move']),_0x2c6611['removeEventListener']('mouseup',this['up']),this['view']['inputState']['mouseSelection']=this['view']['inputState']['draggedContent']=null;}['setScrollSpeed'](_0x3057f0,_0x13f6db){this['scrollSpeed']={'x':_0x3057f0,'y':_0x13f6db},_0x3057f0||_0x13f6db?this['scrolling']<0x0&&(this['scrolling']=setInterval(()=>this['scroll'](),0x32)):this['scrolling']>-0x1&&(clearInterval(this['scrolling']),this['scrolling']=-0x1);}['scroll'](){let {x:_0x31cfe9,y:_0x455760}=this['scrollSpeed'];_0x31cfe9&&this['scrollParents']['x']&&(this['scrollParents']['x']['scrollLeft']+=_0x31cfe9,_0x31cfe9=0x0),_0x455760&&this['scrollParents']['y']&&(this['scrollParents']['y']['scrollTop']+=_0x455760,_0x455760=0x0),(_0x31cfe9||_0x455760)&&this['view']['win']['scrollBy'](_0x31cfe9,_0x455760),!0x1===this['dragging']&&this['select'](this['lastEvent']);}['select'](_0x19b918){let {view:_0x2056e2}=this,_0x4b4210=sj(this['atoms'],this['style']['get'](_0x19b918,this['extend'],this['multiple']));!this['mustSelect']&&_0x4b4210['eq'](_0x2056e2['state']['selection'],!0x1===this['dragging'])||this['view']['dispatch']({'selection':_0x4b4210,'userEvent':'select.pointer'}),this['mustSelect']=!0x1;}['update'](_0x12307f){_0x12307f['transactions']['some'](_0x59ef6f=>_0x59ef6f['isUserEvent']('input.type'))?this['destroy']():this['style']['update'](_0x12307f)&&setTimeout(()=>this['select'](this['lastEvent']),0x14);}};const Ij=Object['create'](null),kj=Object['create'](null),xj=V$['ie']&&V$['ie_version']<0xf||V$['ios']&&V$['webkit_version']<0x25c;function Cj(_0x285731,_0x51f1fc,_0x2e30c0){for(let _0x424cd2 of _0x285731['facet'](_0x51f1fc))_0x2e30c0=_0x424cd2(_0x2e30c0,_0x285731);return _0x2e30c0;}function Rj(_0x1713f0,_0x215267){_0x215267=Cj(_0x1713f0['state'],YD,_0x215267);let _0x454981,{state:_0x1ff347}=_0x1713f0,_0x4be8ef=0x1,_0x2f3335=_0x1ff347['toText'](_0x215267),_0x3bd28a=_0x2f3335['lines']==_0x1ff347['selection']['ranges']['length'];if(null!=jj&&_0x1ff347['selection']['ranges']['every'](_0x31edd1=>_0x31edd1['empty'])&&jj==_0x2f3335['toString']()){let _0x5ecf44=-0x1;_0x454981=_0x1ff347['changeByRange'](_0x56f2e0=>{let _0x31226e=_0x1ff347['doc']['lineAt'](_0x56f2e0['from']);if(_0x31226e['from']==_0x5ecf44)return{'range':_0x56f2e0};_0x5ecf44=_0x31226e['from'];let _0x3e732b=_0x1ff347['toText']((_0x3bd28a?_0x2f3335['line'](_0x4be8ef++)['text']:_0x215267)+_0x1ff347['lineBreak']);return{'changes':{'from':_0x31226e['from'],'insert':_0x3e732b},'range':oL['cursor'](_0x56f2e0['from']+_0x3e732b['length'])};});}else _0x454981=_0x3bd28a?_0x1ff347['changeByRange'](_0x288630=>{let _0x445a13=_0x2f3335['line'](_0x4be8ef++);return{'changes':{'from':_0x288630['from'],'to':_0x288630['to'],'insert':_0x445a13['text']},'range':oL['cursor'](_0x288630['from']+_0x445a13['length'])};}):_0x1ff347['replaceSelection'](_0x2f3335);_0x1713f0['dispatch'](_0x454981,{'userEvent':'input.paste','scrollIntoView':!0x0});}function Pj(_0x4402ec,_0x417e9d,_0x5239e1,_0x2a6d35){if(0x1==_0x2a6d35)return oL['cursor'](_0x417e9d,_0x5239e1);if(0x2==_0x2a6d35)return function(_0x3c041f,_0xc54ef1,_0x8d7f81=0x1){let _0xaafe7a=_0x3c041f['charCategorizer'](_0xc54ef1),_0x60ba7c=_0x3c041f['doc']['lineAt'](_0xc54ef1),_0x5e09ca=_0xc54ef1-_0x60ba7c['from'];if(0x0==_0x60ba7c['length'])return oL['cursor'](_0xc54ef1);0x0==_0x5e09ca?_0x8d7f81=0x1:_0x5e09ca==_0x60ba7c['length']&&(_0x8d7f81=-0x1);let _0x1352b6=_0x5e09ca,_0xc3504=_0x5e09ca;_0x8d7f81<0x0?_0x1352b6=ZN(_0x60ba7c['text'],_0x5e09ca,!0x1):_0xc3504=ZN(_0x60ba7c['text'],_0x5e09ca);let _0x377c1f=_0xaafe7a(_0x60ba7c['text']['slice'](_0x1352b6,_0xc3504));for(;_0x1352b6>0x0;){let _0x263ed2=ZN(_0x60ba7c['text'],_0x1352b6,!0x1);if(_0xaafe7a(_0x60ba7c['text']['slice'](_0x263ed2,_0x1352b6))!=_0x377c1f)break;_0x1352b6=_0x263ed2;}for(;_0xc3504<_0x60ba7c['length'];){let _0x348a10=ZN(_0x60ba7c['text'],_0xc3504);if(_0xaafe7a(_0x60ba7c['text']['slice'](_0xc3504,_0x348a10))!=_0x377c1f)break;_0xc3504=_0x348a10;}return oL['range'](_0x1352b6+_0x60ba7c['from'],_0xc3504+_0x60ba7c['from']);}(_0x4402ec['state'],_0x417e9d,_0x5239e1);{let _0x20d52f=_0x4402ec['docView']['lineAt'](_0x417e9d,_0x5239e1),_0x58271e=_0x4402ec['state']['doc']['lineAt'](_0x20d52f?_0x20d52f['posAtEnd']:_0x417e9d),_0x16f6d1=_0x20d52f?_0x20d52f['posAtStart']:_0x58271e['from'],_0x509615=_0x20d52f?_0x20d52f['posAtEnd']:_0x58271e['to'];return _0x509615<_0x4402ec['state']['doc']['length']&&_0x509615==_0x58271e['to']&&_0x509615++,oL['range'](_0x16f6d1,_0x509615);}}kj['scroll']=_0x19a741=>{_0x19a741['inputState']['lastScrollTop']=_0x19a741['scrollDOM']['scrollTop'],_0x19a741['inputState']['lastScrollLeft']=_0x19a741['scrollDOM']['scrollLeft'];},kj['wheel']=kj['mousewheel']=_0x320754=>{_0x320754['inputState']['lastWheelEvent']=Date['now']();},Ij['keydown']=(_0x4e6ede,_0x297f29)=>(_0x4e6ede['inputState']['setSelectionOrigin']('select'),0x1b==_0x297f29['keyCode']&&0x0!=_0x4e6ede['inputState']['tabFocusMode']&&(_0x4e6ede['inputState']['tabFocusMode']=Date['now']()+0x7d0),!0x1),kj['touchstart']=(_0x3a3851,_0x6502be)=>{let _0x290906=_0x3a3851['inputState'],_0x5b81f7=_0x6502be['targetTouches'][0x0];_0x290906['lastTouchTime']=Date['now'](),_0x5b81f7&&(_0x290906['lastTouchX']=_0x5b81f7['clientX'],_0x290906['lastTouchY']=_0x5b81f7['clientY']),_0x290906['setSelectionOrigin']('select.pointer');},kj['touchmove']=_0xfdc8fc=>{_0xfdc8fc['inputState']['setSelectionOrigin']('select.pointer');},Ij['mousedown']=(_0xc61353,_0x42715f)=>{if(_0xc61353['observer']['flush'](),_0xc61353['inputState']['lastTouchTime']>Date['now']()-0x7d0)return!0x1;let _0x4c95f5=null;for(let _0x34f8d1 of _0xc61353['state']['facet'](GD))if(_0x4c95f5=_0x34f8d1(_0xc61353,_0x42715f),_0x4c95f5)break;if(_0x4c95f5||0x0!=_0x42715f['button']||(_0x4c95f5=function(_0x483541,_0x10b895){let _0x15a600=_0x483541['posAndSideAtCoords']({'x':_0x10b895['clientX'],'y':_0x10b895['clientY']},!0x1),_0x31ced7=Dj(_0x10b895),_0x23c243=_0x483541['state']['selection'];return{'update'(_0x491b4f){_0x491b4f['docChanged']&&(_0x15a600['pos']=_0x491b4f['changes']['mapPos'](_0x15a600['pos']),_0x23c243=_0x23c243['map'](_0x491b4f['changes']));},'get'(_0x214ab2,_0x1bd006,_0x22f20a){let _0x31d949,_0xb38271=_0x483541['posAndSideAtCoords']({'x':_0x214ab2['clientX'],'y':_0x214ab2['clientY']},!0x1),_0x2c53cf=Pj(_0x483541,_0xb38271['pos'],_0xb38271['assoc'],_0x31ced7);if(_0x15a600['pos']!=_0xb38271['pos']&&!_0x1bd006){let _0x2e4f91=Pj(_0x483541,_0x15a600['pos'],_0x15a600['assoc'],_0x31ced7),_0x19609c=Math['min'](_0x2e4f91['from'],_0x2c53cf['from']),_0x4e90bb=Math['max'](_0x2e4f91['to'],_0x2c53cf['to']);_0x2c53cf=_0x19609c<_0x2c53cf['from']?oL['range'](_0x19609c,_0x4e90bb,_0x2c53cf['assoc']):oL['range'](_0x4e90bb,_0x19609c,_0x2c53cf['assoc']);}return _0x1bd006?_0x23c243['replaceRange'](_0x23c243['main']['extend'](_0x2c53cf['from'],_0x2c53cf['to'],_0x2c53cf['assoc'])):_0x22f20a&&0x1==_0x31ced7&&_0x23c243['ranges']['length']>0x1&&(_0x31d949=function(_0x4a0341,_0x397f91){for(let _0x54f8d7=0x0;_0x54f8d7<_0x4a0341['ranges']['length'];_0x54f8d7++){let {from:_0xcd214b,to:_0x17740a}=_0x4a0341['ranges'][_0x54f8d7];if(_0xcd214b<=_0x397f91&&_0x17740a>=_0x397f91)return oL['create'](_0x4a0341['ranges']['slice'](0x0,_0x54f8d7)['concat'](_0x4a0341['ranges']['slice'](_0x54f8d7+0x1)),_0x4a0341['mainIndex']==_0x54f8d7?0x0:_0x4a0341['mainIndex']-(_0x4a0341['mainIndex']>_0x54f8d7?0x1:0x0));}return null;}(_0x23c243,_0xb38271['pos']))?_0x31d949:_0x22f20a?_0x23c243['addRange'](_0x2c53cf):oL['create']([_0x2c53cf]);}};}(_0xc61353,_0x42715f)),_0x4c95f5){let _0x3b8342=!_0xc61353['hasFocus'];_0xc61353['inputState']['startMouseSelection'](new Sj(_0xc61353,_0x42715f,_0x4c95f5,_0x3b8342)),_0x3b8342&&_0xc61353['observer']['ignore'](()=>{wD(_0xc61353['contentDOM']);let _0x5c4047=_0xc61353['root']['activeElement'];_0x5c4047&&!_0x5c4047['contains'](_0xc61353['contentDOM'])&&_0x5c4047['blur']();});let _0x13f03a=_0xc61353['inputState']['mouseSelection'];if(_0x13f03a)return _0x13f03a['start'](_0x42715f),!0x1===_0x13f03a['dragging'];}else _0xc61353['inputState']['setSelectionOrigin']('select.pointer');return!0x1;};const Mj=V$['ie']&&V$['ie_version']<=0xb;let Nj=null,Lj=0x0,$j=0x0;function Dj(_0x3bcf92){if(!Mj)return _0x3bcf92['detail'];let _0x24e545=Nj,_0x33883e=$j;return Nj=_0x3bcf92,$j=Date['now'](),Lj=!_0x24e545||_0x33883e>Date['now']()-0x190&&Math['abs'](_0x24e545['clientX']-_0x3bcf92['clientX'])<0x2&&Math['abs'](_0x24e545['clientY']-_0x3bcf92['clientY'])<0x2?(Lj+0x1)%0x3:0x1;}function Qj(_0x12896b,_0x5d722b,_0x34a816,_0x43083e){if(!(_0x34a816=Cj(_0x12896b['state'],YD,_0x34a816)))return;let _0x3a64f8=_0x12896b['posAtCoords']({'x':_0x5d722b['clientX'],'y':_0x5d722b['clientY']},!0x1),{draggedContent:_0x2c4335}=_0x12896b['inputState'],_0x5e8bf5=_0x43083e&&_0x2c4335&&function(_0x2e38b6,_0x2af915){let _0x4f21c4=_0x2e38b6['state']['facet'](ZD);return _0x4f21c4['length']?_0x4f21c4[0x0](_0x2af915):V$['mac']?!_0x2af915['altKey']:!_0x2af915['ctrlKey'];}(_0x12896b,_0x5d722b)?{'from':_0x2c4335['from'],'to':_0x2c4335['to']}:null,_0x47a4d6={'from':_0x3a64f8,'insert':_0x34a816},_0x11ce69=_0x12896b['state']['changes'](_0x5e8bf5?[_0x5e8bf5,_0x47a4d6]:_0x47a4d6);_0x12896b['focus'](),_0x12896b['dispatch']({'changes':_0x11ce69,'selection':{'anchor':_0x11ce69['mapPos'](_0x3a64f8,-0x1),'head':_0x11ce69['mapPos'](_0x3a64f8,0x1)},'userEvent':_0x5e8bf5?'move.drop':'input.drop'}),_0x12896b['inputState']['draggedContent']=null;}Ij['dragstart']=(_0x18da15,_0x4190b5)=>{let {selection:{main:_0x5673ec}}=_0x18da15['state'];if(_0x4190b5['target']['draggable']){let _0x412430=_0x18da15['docView']['tile']['nearest'](_0x4190b5['target']);if(_0x412430&&_0x412430['isWidget']()){let _0x33ff05=_0x412430['posAtStart'],_0x12ce78=_0x33ff05+_0x412430['length'];(_0x33ff05>=_0x5673ec['to']||_0x12ce78<=_0x5673ec['from'])&&(_0x5673ec=oL['range'](_0x33ff05,_0x12ce78));}}let {inputState:_0x5145da}=_0x18da15;return _0x5145da['mouseSelection']&&(_0x5145da['mouseSelection']['dragging']=!0x0),_0x5145da['draggedContent']=_0x5673ec,_0x4190b5['dataTransfer']&&(_0x4190b5['dataTransfer']['setData']('Text',Cj(_0x18da15['state'],KD,_0x18da15['state']['sliceDoc'](_0x5673ec['from'],_0x5673ec['to']))),_0x4190b5['dataTransfer']['effectAllowed']='copyMove'),!0x1;},Ij['dragend']=_0x55d9ca=>(_0x55d9ca['inputState']['draggedContent']=null,!0x1),Ij['drop']=(_0x55b246,_0x568b96)=>{if(!_0x568b96['dataTransfer'])return!0x1;if(_0x55b246['state']['readOnly'])return!0x0;let _0x58f314=_0x568b96['dataTransfer']['files'];if(_0x58f314&&_0x58f314['length']){let _0x47e1c9=Array(_0x58f314['length']),_0x2e5985=0x0,_0x23fd5f=()=>{++_0x2e5985==_0x58f314['length']&&Qj(_0x55b246,_0x568b96,_0x47e1c9['filter'](_0x36ae0d=>null!=_0x36ae0d)['join'](_0x55b246['state']['lineBreak']),!0x1);};for(let _0x2e5f2e=0x0;_0x2e5f2e<_0x58f314['length'];_0x2e5f2e++){let _0x8a423a=new FileReader();_0x8a423a['onerror']=_0x23fd5f,_0x8a423a['onload']=()=>{/[\x00-\x08\x0e-\x1f]{2}/['test'](_0x8a423a['result'])||(_0x47e1c9[_0x2e5f2e]=_0x8a423a['result']),_0x23fd5f();},_0x8a423a['readAsText'](_0x58f314[_0x2e5f2e]);}return!0x0;}{let _0x3f4419=_0x568b96['dataTransfer']['getData']('Text');if(_0x3f4419)return Qj(_0x55b246,_0x568b96,_0x3f4419,!0x0),!0x0;}return!0x1;},Ij['paste']=(_0x439550,_0x5bf705)=>{if(_0x439550['state']['readOnly'])return!0x0;_0x439550['observer']['flush']();let _0x58ad15=xj?null:_0x5bf705['clipboardData'];return _0x58ad15?(Rj(_0x439550,_0x58ad15['getData']('text/plain')||_0x58ad15['getData']('text/uri-list')),!0x0):(function(_0x3516f5){let _0x52641a=_0x3516f5['dom']['parentNode'];if(!_0x52641a)return;let _0x4ef3f2=_0x52641a['appendChild'](document['createElement']('textarea'));_0x4ef3f2['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0x4ef3f2['focus'](),setTimeout(()=>{_0x3516f5['focus'](),_0x4ef3f2['remove'](),Rj(_0x3516f5,_0x4ef3f2['value']);},0x32);}(_0x439550),!0x1);};let jj=null;Ij['copy']=Ij['cut']=(_0x54e21b,_0x4f47c5)=>{if(!nD(_0x54e21b['contentDOM'],_0x54e21b['observer']['selectionRange']))return!0x1;let {text:_0x3ffa42,ranges:_0x100752,linewise:_0x37d87c}=function(_0x332394){let _0x1f020a=[],_0x1f3ba4=[],_0x249615=!0x1;for(let _0x419e7b of _0x332394['selection']['ranges'])_0x419e7b['empty']||(_0x1f020a['push'](_0x332394['sliceDoc'](_0x419e7b['from'],_0x419e7b['to'])),_0x1f3ba4['push'](_0x419e7b));if(!_0x1f020a['length']){let _0x4fd7fa=-0x1;for(let {from:_0x26b3f8}of _0x332394['selection']['ranges']){let _0x185e44=_0x332394['doc']['lineAt'](_0x26b3f8);_0x185e44['number']>_0x4fd7fa&&(_0x1f020a['push'](_0x185e44['text']),_0x1f3ba4['push']({'from':_0x185e44['from'],'to':Math['min'](_0x332394['doc']['length'],_0x185e44['to']+0x1)})),_0x4fd7fa=_0x185e44['number'];}_0x249615=!0x0;}return{'text':Cj(_0x332394,KD,_0x1f020a['join'](_0x332394['lineBreak'])),'ranges':_0x1f3ba4,'linewise':_0x249615};}(_0x54e21b['state']);if(!_0x3ffa42&&!_0x37d87c)return!0x1;jj=_0x37d87c?_0x3ffa42:null,'cut'!=_0x4f47c5['type']||_0x54e21b['state']['readOnly']||_0x54e21b['dispatch']({'changes':_0x100752,'scrollIntoView':!0x0,'userEvent':'delete.cut'});let _0x21de12=xj?null:_0x4f47c5['clipboardData'];return _0x21de12?(_0x21de12['clearData'](),_0x21de12['setData']('text/plain',_0x3ffa42),!0x0):(function(_0x384c1b,_0x30995e){let _0x17a2a1=_0x384c1b['dom']['parentNode'];if(!_0x17a2a1)return;let _0x2fa702=_0x17a2a1['appendChild'](document['createElement']('textarea'));_0x2fa702['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0x2fa702['value']=_0x30995e,_0x2fa702['focus'](),_0x2fa702['selectionEnd']=_0x30995e['length'],_0x2fa702['selectionStart']=0x0,setTimeout(()=>{_0x2fa702['remove'](),_0x384c1b['focus']();},0x32);}(_0x54e21b,_0x3ffa42),!0x1);};const Uj=$L['define']();function Vj(_0x4fdf75,_0x2d2d9c){let _0x1603d8=[];for(let _0xb3ff1e of _0x4fdf75['facet'](zD)){let _0x5779f9=_0xb3ff1e(_0x4fdf75,_0x2d2d9c);_0x5779f9&&_0x1603d8['push'](_0x5779f9);}return _0x1603d8['length']?_0x4fdf75['update']({'effects':_0x1603d8,'annotations':Uj['of'](!0x0)}):null;}function Bj(_0x471d36){setTimeout(()=>{let _0x5aca1d=_0x471d36['hasFocus'];if(_0x5aca1d!=_0x471d36['inputState']['notifiedFocused']){let _0x30680f=Vj(_0x471d36['state'],_0x5aca1d);_0x30680f?_0x471d36['dispatch'](_0x30680f):_0x471d36['update']([]);}},0xa);}kj['focus']=_0x3ab75b=>{_0x3ab75b['inputState']['lastFocusTime']=Date['now'](),_0x3ab75b['scrollDOM']['scrollTop']||!_0x3ab75b['inputState']['lastScrollTop']&&!_0x3ab75b['inputState']['lastScrollLeft']||(_0x3ab75b['scrollDOM']['scrollTop']=_0x3ab75b['inputState']['lastScrollTop'],_0x3ab75b['scrollDOM']['scrollLeft']=_0x3ab75b['inputState']['lastScrollLeft']),Bj(_0x3ab75b);},kj['blur']=_0x350087=>{_0x350087['observer']['clearSelectionRange'](),Bj(_0x350087);},kj['compositionstart']=kj['compositionupdate']=_0x3b1188=>{_0x3b1188['observer']['editContext']||(null==_0x3b1188['inputState']['compositionFirstChange']&&(_0x3b1188['inputState']['compositionFirstChange']=!0x0),_0x3b1188['inputState']['composing']<0x0&&(_0x3b1188['inputState']['composing']=0x0));},kj['compositionend']=_0x23b273=>{_0x23b273['observer']['editContext']||(_0x23b273['inputState']['composing']=-0x1,_0x23b273['inputState']['compositionEndedAt']=Date['now'](),_0x23b273['inputState']['compositionPendingKey']=!0x0,_0x23b273['inputState']['compositionPendingChange']=_0x23b273['observer']['pendingRecords']()['length']>0x0,_0x23b273['inputState']['compositionFirstChange']=null,V$['chrome']&&V$['android']?_0x23b273['observer']['flushSoon']():_0x23b273['inputState']['compositionPendingChange']?Promise['resolve']()['then'](()=>_0x23b273['observer']['flush']()):setTimeout(()=>{_0x23b273['inputState']['composing']<0x0&&_0x23b273['docView']['hasComposition']&&_0x23b273['update']([]);},0x32));},kj['contextmenu']=_0x276c11=>{_0x276c11['inputState']['lastContextMenu']=Date['now']();},Ij['beforeinput']=(_0x1cdf59,_0x57211b)=>{var _0xe121e7,_0x3b269e;if('insertText'!=_0x57211b['inputType']&&'insertCompositionText'!=_0x57211b['inputType']||(_0x1cdf59['inputState']['insertingText']=_0x57211b['data'],_0x1cdf59['inputState']['insertingTextAt']=Date['now']()),'insertReplacementText'==_0x57211b['inputType']&&_0x1cdf59['observer']['editContext']){let _0x5d077a=null===(_0xe121e7=_0x57211b['dataTransfer'])||void 0x0===_0xe121e7?void 0x0:_0xe121e7['getData']('text/plain'),_0x45dc1e=_0x57211b['getTargetRanges']();if(_0x5d077a&&_0x45dc1e['length']){let _0x275352=_0x45dc1e[0x0];return gj(_0x1cdf59,{'from':_0x1cdf59['posAtDOM'](_0x275352['startContainer'],_0x275352['startOffset']),'to':_0x1cdf59['posAtDOM'](_0x275352['endContainer'],_0x275352['endOffset']),'insert':_0x1cdf59['state']['toText'](_0x5d077a)},null),!0x0;}}let _0x24c795;if(V$['chrome']&&V$['android']&&(_0x24c795=_j['find'](_0x26c043=>_0x26c043['inputType']==_0x57211b['inputType']))&&(_0x1cdf59['observer']['delayAndroidKey'](_0x24c795['key'],_0x24c795['keyCode']),'Backspace'==_0x24c795['key']||'Delete'==_0x24c795['key'])){let _0x1fc78f=(null===(_0x3b269e=window['visualViewport'])||void 0x0===_0x3b269e?void 0x0:_0x3b269e['height'])||0x0;setTimeout(()=>{var _0x92cc37;((null===(_0x92cc37=window['visualViewport'])||void 0x0===_0x92cc37?void 0x0:_0x92cc37['height'])||0x0)>_0x1fc78f+0xa&&_0x1cdf59['hasFocus']&&(_0x1cdf59['contentDOM']['blur'](),_0x1cdf59['focus']());},0x64);}return V$['ios']&&'deleteContentForward'==_0x57211b['inputType']&&_0x1cdf59['observer']['flushSoon'](),V$['safari']&&'insertText'==_0x57211b['inputType']&&_0x1cdf59['inputState']['composing']>=0x0&&setTimeout(()=>kj['compositionend'](_0x1cdf59,_0x57211b),0x14),!0x1;};const Fj=new Set(),Hj=['pre-wrap','normal','pre-line','break-spaces'];let Zj=!0x1;function Gj(){Zj=!0x1;}var Xj=class{constructor(_0x124326){this['lineWrapping']=_0x124326,this['doc']=LN['empty'],this['heightSamples']={},this['lineHeight']=0xe,this['charWidth']=0x7,this['textHeight']=0xe,this['lineLength']=0x1e;}['heightForGap'](_0x899f0c,_0x50b0d4){let _0x5476cd=this['doc']['lineAt'](_0x50b0d4)['number']-this['doc']['lineAt'](_0x899f0c)['number']+0x1;return this['lineWrapping']&&(_0x5476cd+=Math['max'](0x0,Math['ceil']((_0x50b0d4-_0x899f0c-_0x5476cd*this['lineLength']*0.5)/this['lineLength']))),this['lineHeight']*_0x5476cd;}['heightForLine'](_0x491bb9){return this['lineWrapping']?(0x1+Math['max'](0x0,Math['ceil']((_0x491bb9-this['lineLength'])/Math['max'](0x1,this['lineLength']-0x5))))*this['lineHeight']:this['lineHeight'];}['setDoc'](_0x72695){return this['doc']=_0x72695,this;}['mustRefreshForWrapping'](_0x4f8431){return Hj['indexOf'](_0x4f8431)>-0x1!=this['lineWrapping'];}['mustRefreshForHeights'](_0x3a2122){let _0x1a5cc2=!0x1;for(let _0x305ba9=0x0;_0x305ba9<_0x3a2122['length'];_0x305ba9++){let _0x39a45a=_0x3a2122[_0x305ba9];_0x39a45a<0x0?_0x305ba9++:this['heightSamples'][Math['floor'](0xa*_0x39a45a)]||(_0x1a5cc2=!0x0,this['heightSamples'][Math['floor'](0xa*_0x39a45a)]=!0x0);}return _0x1a5cc2;}['refresh'](_0x39084e,_0x4e41e8,_0x149921,_0x2123c2,_0x57afb3,_0x2c1c14){let _0x215827=Hj['indexOf'](_0x39084e)>-0x1,_0x236f13=Math['abs'](_0x4e41e8-this['lineHeight'])>0.3||this['lineWrapping']!=_0x215827;if(this['lineWrapping']=_0x215827,this['lineHeight']=_0x4e41e8,this['charWidth']=_0x149921,this['textHeight']=_0x2123c2,this['lineLength']=_0x57afb3,_0x236f13){this['heightSamples']={};for(let _0x30c935=0x0;_0x30c935<_0x2c1c14['length'];_0x30c935++){let _0x16fe79=_0x2c1c14[_0x30c935];_0x16fe79<0x0?_0x30c935++:this['heightSamples'][Math['floor'](0xa*_0x16fe79)]=!0x0;}}return _0x236f13;}},qj=class{constructor(_0x2345ad,_0x412f2f){this['from']=_0x2345ad,this['heights']=_0x412f2f,this['index']=0x0;}get['more'](){return this['index']<this['heights']['length'];}},Wj=class BlockInfo{constructor(_0x10f5f1,_0xae53b0,_0x32321c,_0x4de518,_0x143346){this['from']=_0x10f5f1,this['length']=_0xae53b0,this['top']=_0x32321c,this['height']=_0x4de518,this['_content']=_0x143346;}get['type'](){return'number'==typeof this['_content']?q$['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 K$?this['_content']['widget']:null;}get['widgetLineBreaks'](){return'number'==typeof this['_content']?this['_content']:0x0;}['join'](_0x356ec9){let _0x5ac0c4=(Array['isArray'](this['_content'])?this['_content']:[this])['concat'](Array['isArray'](_0x356ec9['_content'])?_0x356ec9['_content']:[_0x356ec9]);return new BlockInfo(this['from'],this['length']+_0x356ec9['length'],this['top'],this['height']+_0x356ec9['height'],_0x5ac0c4);}},zj=function(_0x522c38){return _0x522c38[_0x522c38['ByPos']=0x0]='ByPos',_0x522c38[_0x522c38['ByHeight']=0x1]='ByHeight',_0x522c38[_0x522c38['ByPosNoHeight']=0x2]='ByPosNoHeight',_0x522c38;}(zj||(zj={}));const Yj=0.001;var Kj=class HeightMap{constructor(_0x2aaf69,_0x51d96e,_0x38f7c4=0x2){this['length']=_0x2aaf69,this['height']=_0x51d96e,this['flags']=_0x38f7c4;}get['outdated'](){return(0x2&this['flags'])>0x0;}set['outdated'](_0xfcdfac){this['flags']=(_0xfcdfac?0x2:0x0)|-0x3&this['flags'];}['setHeight'](_0x564d41){this['height']!=_0x564d41&&(Math['abs'](this['height']-_0x564d41)>Yj&&(Zj=!0x0),this['height']=_0x564d41);}['replace'](_0x582c7f,_0x22452c,_0x50905f){return HeightMap['of'](_0x50905f);}['decomposeLeft'](_0x3eae60,_0x468e2d){_0x468e2d['push'](this);}['decomposeRight'](_0x5f1780,_0x5b07e3){_0x5b07e3['push'](this);}['applyChanges'](_0x4a0c09,_0x55c487,_0x261a6c,_0x38b2dc){let _0x3aa8ce=this,_0x3eea06=_0x261a6c['doc'];for(let _0x5be4e1=_0x38b2dc['length']-0x1;_0x5be4e1>=0x0;_0x5be4e1--){let {fromA:_0x1ba21c,toA:_0x3fb367,fromB:_0x189b8e,toB:_0x4f2733}=_0x38b2dc[_0x5be4e1],_0x336c5f=_0x3aa8ce['lineAt'](_0x1ba21c,zj['ByPosNoHeight'],_0x261a6c['setDoc'](_0x55c487),0x0,0x0),_0x2243e8=_0x336c5f['to']>=_0x3fb367?_0x336c5f:_0x3aa8ce['lineAt'](_0x3fb367,zj['ByPosNoHeight'],_0x261a6c,0x0,0x0);for(_0x4f2733+=_0x2243e8['to']-_0x3fb367,_0x3fb367=_0x2243e8['to'];_0x5be4e1>0x0&&_0x336c5f['from']<=_0x38b2dc[_0x5be4e1-0x1]['toA'];)_0x1ba21c=_0x38b2dc[_0x5be4e1-0x1]['fromA'],_0x189b8e=_0x38b2dc[_0x5be4e1-0x1]['fromB'],_0x5be4e1--,_0x1ba21c<_0x336c5f['from']&&(_0x336c5f=_0x3aa8ce['lineAt'](_0x1ba21c,zj['ByPosNoHeight'],_0x261a6c,0x0,0x0));_0x189b8e+=_0x336c5f['from']-_0x1ba21c,_0x1ba21c=_0x336c5f['from'];let _0xdd1e=oU['build'](_0x261a6c['setDoc'](_0x3eea06),_0x4a0c09,_0x189b8e,_0x4f2733);_0x3aa8ce=Jj(_0x3aa8ce,_0x3aa8ce['replace'](_0x1ba21c,_0x3fb367,_0xdd1e));}return _0x3aa8ce['updateHeight'](_0x261a6c,0x0);}static['empty'](){return new iU(0x0,0x0,0x0);}static['of'](_0x2fddfa){if(0x1==_0x2fddfa['length'])return _0x2fddfa[0x0];let _0x3ab609=0x0,_0x573a8f=_0x2fddfa['length'],_0x17395f=0x0,_0xa54cbb=0x0;for(;;)if(_0x3ab609==_0x573a8f){if(_0x17395f>0x2*_0xa54cbb){let _0x52c781=_0x2fddfa[_0x3ab609-0x1];_0x52c781['break']?_0x2fddfa['splice'](--_0x3ab609,0x1,_0x52c781['left'],null,_0x52c781['right']):_0x2fddfa['splice'](--_0x3ab609,0x1,_0x52c781['left'],_0x52c781['right']),_0x573a8f+=0x1+_0x52c781['break'],_0x17395f-=_0x52c781['size'];}else{if(!(_0xa54cbb>0x2*_0x17395f))break;{let _0x1dafb1=_0x2fddfa[_0x573a8f];_0x1dafb1['break']?_0x2fddfa['splice'](_0x573a8f,0x1,_0x1dafb1['left'],null,_0x1dafb1['right']):_0x2fddfa['splice'](_0x573a8f,0x1,_0x1dafb1['left'],_0x1dafb1['right']),_0x573a8f+=0x2+_0x1dafb1['break'],_0xa54cbb-=_0x1dafb1['size'];}}}else{if(_0x17395f<_0xa54cbb){let _0x120f34=_0x2fddfa[_0x3ab609++];_0x120f34&&(_0x17395f+=_0x120f34['size']);}else{let _0x36511f=_0x2fddfa[--_0x573a8f];_0x36511f&&(_0xa54cbb+=_0x36511f['size']);}}let _0x59a87f=0x0;return null==_0x2fddfa[_0x3ab609-0x1]?(_0x59a87f=0x1,_0x3ab609--):null==_0x2fddfa[_0x3ab609]&&(_0x59a87f=0x1,_0x573a8f++),new nU(HeightMap['of'](_0x2fddfa['slice'](0x0,_0x3ab609)),_0x59a87f,HeightMap['of'](_0x2fddfa['slice'](_0x573a8f)));}};function Jj(_0x4aca14,_0x2a49d0){return _0x4aca14==_0x2a49d0?_0x4aca14:(_0x4aca14['constructor']!=_0x2a49d0['constructor']&&(Zj=!0x0),_0x2a49d0);}Kj['prototype']['size']=0x1;const tU=W$['replace']({});var eU=class extends Kj{constructor(_0x4b4978,_0x26f520,_0x413fd6){super(_0x4b4978,_0x26f520),this['deco']=_0x413fd6,this['spaceAbove']=0x0;}['mainBlock'](_0x368b62,_0x1da88b){return new Wj(_0x1da88b,this['length'],_0x368b62+this['spaceAbove'],this['height']-this['spaceAbove'],this['deco']||0x0);}['blockAt'](_0x454d23,_0x4f2702,_0x4fd111,_0x2aa762){return this['spaceAbove']&&_0x454d23<_0x4fd111+this['spaceAbove']?new Wj(_0x2aa762,0x0,_0x4fd111,this['spaceAbove'],tU):this['mainBlock'](_0x4fd111,_0x2aa762);}['lineAt'](_0x147eb2,_0x25cb26,_0x734cfd,_0x15c0d5,_0x4f7851){let _0x599a79=this['mainBlock'](_0x15c0d5,_0x4f7851);return this['spaceAbove']?this['blockAt'](0x0,_0x734cfd,_0x15c0d5,_0x4f7851)['join'](_0x599a79):_0x599a79;}['forEachLine'](_0x3f3316,_0x415d5d,_0x5b3e39,_0x44b81c,_0x3163e2,_0x2ec0e0){_0x3f3316<=_0x3163e2+this['length']&&_0x415d5d>=_0x3163e2&&_0x2ec0e0(this['lineAt'](0x0,zj['ByPos'],_0x5b3e39,_0x44b81c,_0x3163e2));}['setMeasuredHeight'](_0x3df7bb){let _0x1cb4bb=_0x3df7bb['heights'][_0x3df7bb['index']++];_0x1cb4bb<0x0?(this['spaceAbove']=-_0x1cb4bb,_0x1cb4bb=_0x3df7bb['heights'][_0x3df7bb['index']++]):this['spaceAbove']=0x0,this['setHeight'](_0x1cb4bb);}['updateHeight'](_0x2b22dd,_0x25e2f9=0x0,_0x18c192=!0x1,_0x41c499){return _0x41c499&&_0x41c499['from']<=_0x25e2f9&&_0x41c499['more']&&this['setMeasuredHeight'](_0x41c499),this['outdated']=!0x1,this;}['toString'](){return'block('+this['length']+')';}},iU=class HeightMapText extends eU{constructor(_0x2c3859,_0x2c870f,_0x2118aa){super(_0x2c3859,_0x2c870f,null),this['collapsed']=0x0,this['widgetHeight']=0x0,this['breaks']=0x0,this['spaceAbove']=_0x2118aa;}['mainBlock'](_0x1e0eca,_0x412523){return new Wj(_0x412523,this['length'],_0x1e0eca+this['spaceAbove'],this['height']-this['spaceAbove'],this['breaks']);}['replace'](_0x45fcab,_0x5d0e24,_0x345950){let _0x2be08e=_0x345950[0x0];return 0x1==_0x345950['length']&&(_0x2be08e instanceof HeightMapText||_0x2be08e instanceof sU&&0x4&_0x2be08e['flags'])&&Math['abs'](this['length']-_0x2be08e['length'])<0xa?(_0x2be08e instanceof sU?_0x2be08e=new HeightMapText(_0x2be08e['length'],this['height'],this['spaceAbove']):_0x2be08e['height']=this['height'],this['outdated']||(_0x2be08e['outdated']=!0x1),_0x2be08e):Kj['of'](_0x345950);}['updateHeight'](_0x3f92da,_0x245b95=0x0,_0x255956=!0x1,_0x53ab8e){return _0x53ab8e&&_0x53ab8e['from']<=_0x245b95&&_0x53ab8e['more']?this['setMeasuredHeight'](_0x53ab8e):(_0x255956||this['outdated'])&&(this['spaceAbove']=0x0,this['setHeight'](Math['max'](this['widgetHeight'],_0x3f92da['heightForLine'](this['length']-this['collapsed']))+this['breaks']*_0x3f92da['lineHeight'])),this['outdated']=!0x1,this;}['toString'](){return'line('+this['length']+(this['collapsed']?-this['collapsed']:'')+(this['widgetHeight']?':'+this['widgetHeight']:'')+')';}},sU=class HeightMapGap extends Kj{constructor(_0x1f6346){super(_0x1f6346,0x0);}['heightMetrics'](_0x486c9b,_0xc9773){let _0x1e4113,_0x836737=_0x486c9b['doc']['lineAt'](_0xc9773)['number'],_0xc51b0f=_0x486c9b['doc']['lineAt'](_0xc9773+this['length'])['number'],_0x487ce9=_0xc51b0f-_0x836737+0x1,_0x4f3d80=0x0;if(_0x486c9b['lineWrapping']){let _0xd2219e=Math['min'](this['height'],_0x486c9b['lineHeight']*_0x487ce9);_0x1e4113=_0xd2219e/_0x487ce9,this['length']>_0x487ce9+0x1&&(_0x4f3d80=(this['height']-_0xd2219e)/(this['length']-_0x487ce9-0x1));}else _0x1e4113=this['height']/_0x487ce9;return{'firstLine':_0x836737,'lastLine':_0xc51b0f,'perLine':_0x1e4113,'perChar':_0x4f3d80};}['blockAt'](_0x2f0a39,_0x19041c,_0xd262d0,_0x3e3a51){let {firstLine:_0x58412c,lastLine:_0x4d1551,perLine:_0x38223c,perChar:_0x3b8a89}=this['heightMetrics'](_0x19041c,_0x3e3a51);if(_0x19041c['lineWrapping']){let _0x1181c1=_0x3e3a51+(_0x2f0a39<_0x19041c['lineHeight']?0x0:Math['round'](Math['max'](0x0,Math['min'](0x1,(_0x2f0a39-_0xd262d0)/this['height']))*this['length'])),_0x9b1807=_0x19041c['doc']['lineAt'](_0x1181c1),_0x4d7090=_0x38223c+_0x9b1807['length']*_0x3b8a89,_0x202164=Math['max'](_0xd262d0,_0x2f0a39-_0x4d7090/0x2);return new Wj(_0x9b1807['from'],_0x9b1807['length'],_0x202164,_0x4d7090,0x0);}{let _0x15c7ef=Math['max'](0x0,Math['min'](_0x4d1551-_0x58412c,Math['floor']((_0x2f0a39-_0xd262d0)/_0x38223c))),{from:_0x4fa5ca,length:_0x5e01d6}=_0x19041c['doc']['line'](_0x58412c+_0x15c7ef);return new Wj(_0x4fa5ca,_0x5e01d6,_0xd262d0+_0x38223c*_0x15c7ef,_0x38223c,0x0);}}['lineAt'](_0x3bc366,_0x5882dc,_0x4ab555,_0x5e7d4d,_0x520cc6){if(_0x5882dc==zj['ByHeight'])return this['blockAt'](_0x3bc366,_0x4ab555,_0x5e7d4d,_0x520cc6);if(_0x5882dc==zj['ByPosNoHeight']){let {from:_0x48b702,to:_0x54a7c4}=_0x4ab555['doc']['lineAt'](_0x3bc366);return new Wj(_0x48b702,_0x54a7c4-_0x48b702,0x0,0x0,0x0);}let {firstLine:_0x41efc3,perLine:_0x391c7c,perChar:_0x3195a7}=this['heightMetrics'](_0x4ab555,_0x520cc6),_0x1f6e61=_0x4ab555['doc']['lineAt'](_0x3bc366),_0x3c9a68=_0x391c7c+_0x1f6e61['length']*_0x3195a7,_0x35eac7=_0x1f6e61['number']-_0x41efc3,_0x5a1ef6=_0x5e7d4d+_0x391c7c*_0x35eac7+_0x3195a7*(_0x1f6e61['from']-_0x520cc6-_0x35eac7);return new Wj(_0x1f6e61['from'],_0x1f6e61['length'],Math['max'](_0x5e7d4d,Math['min'](_0x5a1ef6,_0x5e7d4d+this['height']-_0x3c9a68)),_0x3c9a68,0x0);}['forEachLine'](_0x15a50b,_0xe490f1,_0x5ebe65,_0x1907f8,_0x537735,_0xe114be){_0x15a50b=Math['max'](_0x15a50b,_0x537735),_0xe490f1=Math['min'](_0xe490f1,_0x537735+this['length']);let {firstLine:_0x15c3a7,perLine:_0x2b03bc,perChar:_0x4691a8}=this['heightMetrics'](_0x5ebe65,_0x537735);for(let _0x4be8b7=_0x15a50b,_0xd38265=_0x1907f8;_0x4be8b7<=_0xe490f1;){let _0x4f7db6=_0x5ebe65['doc']['lineAt'](_0x4be8b7);if(_0x4be8b7==_0x15a50b){let _0xaa0fff=_0x4f7db6['number']-_0x15c3a7;_0xd38265+=_0x2b03bc*_0xaa0fff+_0x4691a8*(_0x15a50b-_0x537735-_0xaa0fff);}let _0x25e852=_0x2b03bc+_0x4691a8*_0x4f7db6['length'];_0xe114be(new Wj(_0x4f7db6['from'],_0x4f7db6['length'],_0xd38265,_0x25e852,0x0)),_0xd38265+=_0x25e852,_0x4be8b7=_0x4f7db6['to']+0x1;}}['replace'](_0x13698e,_0x4eeb4e,_0x16e0b9){let _0xcb7b6=this['length']-_0x4eeb4e;if(_0xcb7b6>0x0){let _0x13d370=_0x16e0b9[_0x16e0b9['length']-0x1];_0x13d370 instanceof HeightMapGap?_0x16e0b9[_0x16e0b9['length']-0x1]=new HeightMapGap(_0x13d370['length']+_0xcb7b6):_0x16e0b9['push'](null,new HeightMapGap(_0xcb7b6-0x1));}if(_0x13698e>0x0){let _0x3998ef=_0x16e0b9[0x0];_0x3998ef instanceof HeightMapGap?_0x16e0b9[0x0]=new HeightMapGap(_0x13698e+_0x3998ef['length']):_0x16e0b9['unshift'](new HeightMapGap(_0x13698e-0x1),null);}return Kj['of'](_0x16e0b9);}['decomposeLeft'](_0x226fb3,_0x9eaf86){_0x9eaf86['push'](new HeightMapGap(_0x226fb3-0x1),null);}['decomposeRight'](_0x17f8da,_0x5d24d0){_0x5d24d0['push'](null,new HeightMapGap(this['length']-_0x17f8da-0x1));}['updateHeight'](_0xe74cb2,_0x457880=0x0,_0xf6f1a0=!0x1,_0x351316){let _0x38297b=_0x457880+this['length'];if(_0x351316&&_0x351316['from']<=_0x457880+this['length']&&_0x351316['more']){let _0x29ca76=[],_0x240b4e=Math['max'](_0x457880,_0x351316['from']),_0x1ba85d=-0x1;for(_0x351316['from']>_0x457880&&_0x29ca76['push'](new HeightMapGap(_0x351316['from']-_0x457880-0x1)['updateHeight'](_0xe74cb2,_0x457880));_0x240b4e<=_0x38297b&&_0x351316['more'];){let _0x5267a6=_0xe74cb2['doc']['lineAt'](_0x240b4e)['length'];_0x29ca76['length']&&_0x29ca76['push'](null);let _0x1deec1=_0x351316['heights'][_0x351316['index']++],_0x4548ad=0x0;_0x1deec1<0x0&&(_0x4548ad=-_0x1deec1,_0x1deec1=_0x351316['heights'][_0x351316['index']++]),-0x1==_0x1ba85d?_0x1ba85d=_0x1deec1:Math['abs'](_0x1deec1-_0x1ba85d)>=Yj&&(_0x1ba85d=-0x2);let _0x492cc2=new iU(_0x5267a6,_0x1deec1,_0x4548ad);_0x492cc2['outdated']=!0x1,_0x29ca76['push'](_0x492cc2),_0x240b4e+=_0x5267a6+0x1;}_0x240b4e<=_0x38297b&&_0x29ca76['push'](null,new HeightMapGap(_0x38297b-_0x240b4e)['updateHeight'](_0xe74cb2,_0x240b4e));let _0x233a81=Kj['of'](_0x29ca76);return(_0x1ba85d<0x0||Math['abs'](_0x233a81['height']-this['height'])>=Yj||Math['abs'](_0x1ba85d-this['heightMetrics'](_0xe74cb2,_0x457880)['perLine'])>=Yj)&&(Zj=!0x0),Jj(this,_0x233a81);}return(_0xf6f1a0||this['outdated'])&&(this['setHeight'](_0xe74cb2['heightForGap'](_0x457880,_0x457880+this['length'])),this['outdated']=!0x1),this;}['toString'](){return'gap('+this['length']+')';}},nU=class extends Kj{constructor(_0x3feef6,_0x3a6592,_0x30257e){super(_0x3feef6['length']+_0x3a6592+_0x30257e['length'],_0x3feef6['height']+_0x30257e['height'],_0x3a6592|(_0x3feef6['outdated']||_0x30257e['outdated']?0x2:0x0)),this['left']=_0x3feef6,this['right']=_0x30257e,this['size']=_0x3feef6['size']+_0x30257e['size'];}get['break'](){return 0x1&this['flags'];}['blockAt'](_0x2eccc4,_0x21fc3b,_0xa89e64,_0x327210){let _0xd38648=_0xa89e64+this['left']['height'];return _0x2eccc4<_0xd38648?this['left']['blockAt'](_0x2eccc4,_0x21fc3b,_0xa89e64,_0x327210):this['right']['blockAt'](_0x2eccc4,_0x21fc3b,_0xd38648,_0x327210+this['left']['length']+this['break']);}['lineAt'](_0x156d8b,_0x2316f1,_0x5588b8,_0x384c0f,_0x3e69fe){let _0x4740f8=_0x384c0f+this['left']['height'],_0x4ecf14=_0x3e69fe+this['left']['length']+this['break'],_0x2a1197=_0x2316f1==zj['ByHeight']?_0x156d8b<_0x4740f8:_0x156d8b<_0x4ecf14,_0x31a8ce=_0x2a1197?this['left']['lineAt'](_0x156d8b,_0x2316f1,_0x5588b8,_0x384c0f,_0x3e69fe):this['right']['lineAt'](_0x156d8b,_0x2316f1,_0x5588b8,_0x4740f8,_0x4ecf14);if(this['break']||(_0x2a1197?_0x31a8ce['to']<_0x4ecf14:_0x31a8ce['from']>_0x4ecf14))return _0x31a8ce;let _0x5d462a=_0x2316f1==zj['ByPosNoHeight']?zj['ByPosNoHeight']:zj['ByPos'];return _0x2a1197?_0x31a8ce['join'](this['right']['lineAt'](_0x4ecf14,_0x5d462a,_0x5588b8,_0x4740f8,_0x4ecf14)):this['left']['lineAt'](_0x4ecf14,_0x5d462a,_0x5588b8,_0x384c0f,_0x3e69fe)['join'](_0x31a8ce);}['forEachLine'](_0x18ade0,_0x4fbedd,_0x545377,_0xf8125d,_0x28974f,_0x27ab5d){let _0x1300ea=_0xf8125d+this['left']['height'],_0x8ad442=_0x28974f+this['left']['length']+this['break'];if(this['break'])_0x18ade0<_0x8ad442&&this['left']['forEachLine'](_0x18ade0,_0x4fbedd,_0x545377,_0xf8125d,_0x28974f,_0x27ab5d),_0x4fbedd>=_0x8ad442&&this['right']['forEachLine'](_0x18ade0,_0x4fbedd,_0x545377,_0x1300ea,_0x8ad442,_0x27ab5d);else{let _0x4a6966=this['lineAt'](_0x8ad442,zj['ByPos'],_0x545377,_0xf8125d,_0x28974f);_0x18ade0<_0x4a6966['from']&&this['left']['forEachLine'](_0x18ade0,_0x4a6966['from']-0x1,_0x545377,_0xf8125d,_0x28974f,_0x27ab5d),_0x4a6966['to']>=_0x18ade0&&_0x4a6966['from']<=_0x4fbedd&&_0x27ab5d(_0x4a6966),_0x4fbedd>_0x4a6966['to']&&this['right']['forEachLine'](_0x4a6966['to']+0x1,_0x4fbedd,_0x545377,_0x1300ea,_0x8ad442,_0x27ab5d);}}['replace'](_0x28788e,_0x4e417d,_0x224435){let _0x884153=this['left']['length']+this['break'];if(_0x4e417d<_0x884153)return this['balanced'](this['left']['replace'](_0x28788e,_0x4e417d,_0x224435),this['right']);if(_0x28788e>this['left']['length'])return this['balanced'](this['left'],this['right']['replace'](_0x28788e-_0x884153,_0x4e417d-_0x884153,_0x224435));let _0x28bea8=[];_0x28788e>0x0&&this['decomposeLeft'](_0x28788e,_0x28bea8);let _0x13c9b9=_0x28bea8['length'];for(let _0xe50a77 of _0x224435)_0x28bea8['push'](_0xe50a77);if(_0x28788e>0x0&&rU(_0x28bea8,_0x13c9b9-0x1),_0x4e417d<this['length']){let _0xc6d195=_0x28bea8['length'];this['decomposeRight'](_0x4e417d,_0x28bea8),rU(_0x28bea8,_0xc6d195);}return Kj['of'](_0x28bea8);}['decomposeLeft'](_0x48668d,_0x4ccfa0){let _0x22fd23=this['left']['length'];if(_0x48668d<=_0x22fd23)return this['left']['decomposeLeft'](_0x48668d,_0x4ccfa0);_0x4ccfa0['push'](this['left']),this['break']&&(_0x22fd23++,_0x48668d>=_0x22fd23&&_0x4ccfa0['push'](null)),_0x48668d>_0x22fd23&&this['right']['decomposeLeft'](_0x48668d-_0x22fd23,_0x4ccfa0);}['decomposeRight'](_0x4aeaa5,_0xab19b6){let _0x2b8ed9=this['left']['length'],_0x285c42=_0x2b8ed9+this['break'];if(_0x4aeaa5>=_0x285c42)return this['right']['decomposeRight'](_0x4aeaa5-_0x285c42,_0xab19b6);_0x4aeaa5<_0x2b8ed9&&this['left']['decomposeRight'](_0x4aeaa5,_0xab19b6),this['break']&&_0x4aeaa5<_0x285c42&&_0xab19b6['push'](null),_0xab19b6['push'](this['right']);}['balanced'](_0x5f46c2,_0x52709f){return _0x5f46c2['size']>0x2*_0x52709f['size']||_0x52709f['size']>0x2*_0x5f46c2['size']?Kj['of'](this['break']?[_0x5f46c2,null,_0x52709f]:[_0x5f46c2,_0x52709f]):(this['left']=Jj(this['left'],_0x5f46c2),this['right']=Jj(this['right'],_0x52709f),this['setHeight'](_0x5f46c2['height']+_0x52709f['height']),this['outdated']=_0x5f46c2['outdated']||_0x52709f['outdated'],this['size']=_0x5f46c2['size']+_0x52709f['size'],this['length']=_0x5f46c2['length']+this['break']+_0x52709f['length'],this);}['updateHeight'](_0x59880c,_0x165c70=0x0,_0x2917c8=!0x1,_0x1708dc){let {left:_0x1999f9,right:_0x4efe10}=this,_0x195f12=_0x165c70+_0x1999f9['length']+this['break'],_0x1b8bce=null;return _0x1708dc&&_0x1708dc['from']<=_0x165c70+_0x1999f9['length']&&_0x1708dc['more']?_0x1b8bce=_0x1999f9=_0x1999f9['updateHeight'](_0x59880c,_0x165c70,_0x2917c8,_0x1708dc):_0x1999f9['updateHeight'](_0x59880c,_0x165c70,_0x2917c8),_0x1708dc&&_0x1708dc['from']<=_0x195f12+_0x4efe10['length']&&_0x1708dc['more']?_0x1b8bce=_0x4efe10=_0x4efe10['updateHeight'](_0x59880c,_0x195f12,_0x2917c8,_0x1708dc):_0x4efe10['updateHeight'](_0x59880c,_0x195f12,_0x2917c8),_0x1b8bce?this['balanced'](_0x1999f9,_0x4efe10):(this['height']=this['left']['height']+this['right']['height'],this['outdated']=!0x1,this);}['toString'](){return this['left']+(this['break']?'\x20':'-')+this['right'];}};function rU(_0x41b8ae,_0x432365){let _0x1c7aa4,_0x101302;null==_0x41b8ae[_0x432365]&&(_0x1c7aa4=_0x41b8ae[_0x432365-0x1])instanceof sU&&(_0x101302=_0x41b8ae[_0x432365+0x1])instanceof sU&&_0x41b8ae['splice'](_0x432365-0x1,0x3,new sU(_0x1c7aa4['length']+0x1+_0x101302['length']));}var oU=class NodeBuilder{constructor(_0x1ff667,_0x52840c){this['pos']=_0x1ff667,this['oracle']=_0x52840c,this['nodes']=[],this['lineStart']=-0x1,this['lineEnd']=-0x1,this['covering']=null,this['writtenTo']=_0x1ff667;}get['isCovered'](){return this['covering']&&this['nodes'][this['nodes']['length']-0x1]==this['covering'];}['span'](_0x74554c,_0x37e2c6){if(this['lineStart']>-0x1){let _0x1552a8=Math['min'](_0x37e2c6,this['lineEnd']),_0x56ea1a=this['nodes'][this['nodes']['length']-0x1];_0x56ea1a instanceof iU?_0x56ea1a['length']+=_0x1552a8-this['pos']:(_0x1552a8>this['pos']||!this['isCovered'])&&this['nodes']['push'](new iU(_0x1552a8-this['pos'],-0x1,0x0)),this['writtenTo']=_0x1552a8,_0x37e2c6>_0x1552a8&&(this['nodes']['push'](null),this['writtenTo']++,this['lineStart']=-0x1);}this['pos']=_0x37e2c6;}['point'](_0x341d13,_0x595e35,_0x105a0f){if(_0x341d13<_0x595e35||_0x105a0f['heightRelevant']){let _0x44a176=_0x105a0f['widget']?_0x105a0f['widget']['estimatedHeight']:0x0,_0x3ab3bc=_0x105a0f['widget']?_0x105a0f['widget']['lineBreaks']:0x0;_0x44a176<0x0&&(_0x44a176=this['oracle']['lineHeight']);let _0x233e6b=_0x595e35-_0x341d13;_0x105a0f['block']?this['addBlock'](new eU(_0x233e6b,_0x44a176,_0x105a0f)):(_0x233e6b||_0x3ab3bc||_0x44a176>=0x5)&&this['addLineDeco'](_0x44a176,_0x3ab3bc,_0x233e6b);}else _0x595e35>_0x341d13&&this['span'](_0x341d13,_0x595e35);this['lineEnd']>-0x1&&this['lineEnd']<this['pos']&&(this['lineEnd']=this['oracle']['doc']['lineAt'](this['pos'])['to']);}['enterLine'](){if(this['lineStart']>-0x1)return;let {from:_0x31491c,to:_0x70e3ec}=this['oracle']['doc']['lineAt'](this['pos']);this['lineStart']=_0x31491c,this['lineEnd']=_0x70e3ec,this['writtenTo']<_0x31491c&&((this['writtenTo']<_0x31491c-0x1||null==this['nodes'][this['nodes']['length']-0x1])&&this['nodes']['push'](this['blankContent'](this['writtenTo'],_0x31491c-0x1)),this['nodes']['push'](null)),this['pos']>_0x31491c&&this['nodes']['push'](new iU(this['pos']-_0x31491c,-0x1,0x0)),this['writtenTo']=this['pos'];}['blankContent'](_0x10643c,_0x111f88){let _0x3bea5f=new sU(_0x111f88-_0x10643c);return this['oracle']['doc']['lineAt'](_0x10643c)['to']==_0x111f88&&(_0x3bea5f['flags']|=0x4),_0x3bea5f;}['ensureLine'](){this['enterLine']();let _0x5d94ff=this['nodes']['length']?this['nodes'][this['nodes']['length']-0x1]:null;if(_0x5d94ff instanceof iU)return _0x5d94ff;let _0x445232=new iU(0x0,-0x1,0x0);return this['nodes']['push'](_0x445232),_0x445232;}['addBlock'](_0x2eb454){this['enterLine']();let _0xee44=_0x2eb454['deco'];_0xee44&&_0xee44['startSide']>0x0&&!this['isCovered']&&this['ensureLine'](),this['nodes']['push'](_0x2eb454),this['writtenTo']=this['pos']=this['pos']+_0x2eb454['length'],_0xee44&&_0xee44['endSide']>0x0&&(this['covering']=_0x2eb454);}['addLineDeco'](_0x12a557,_0x321488,_0x52afad){let _0x1c4eb4=this['ensureLine']();_0x1c4eb4['length']+=_0x52afad,_0x1c4eb4['collapsed']+=_0x52afad,_0x1c4eb4['widgetHeight']=Math['max'](_0x1c4eb4['widgetHeight'],_0x12a557),_0x1c4eb4['breaks']+=_0x321488,this['writtenTo']=this['pos']=this['pos']+_0x52afad;}['finish'](_0x583154){let _0xe70020=0x0==this['nodes']['length']?null:this['nodes'][this['nodes']['length']-0x1];!(this['lineStart']>-0x1)||_0xe70020 instanceof iU||this['isCovered']?(this['writtenTo']<this['pos']||null==_0xe70020)&&this['nodes']['push'](this['blankContent'](this['writtenTo'],this['pos'])):this['nodes']['push'](new iU(0x0,-0x1,0x0));let _0x17d3c2=_0x583154;for(let _0x356329 of this['nodes'])_0x356329 instanceof iU&&_0x356329['updateHeight'](this['oracle'],_0x17d3c2),_0x17d3c2+=_0x356329?_0x356329['length']:0x1;return this['nodes'];}static['build'](_0x279007,_0x24f2fb,_0x14d0b9,_0x332939){let _0x48e9f3=new NodeBuilder(_0x14d0b9,_0x279007);return n$['spans'](_0x24f2fb,_0x14d0b9,_0x332939,_0x48e9f3,0x0),_0x48e9f3['finish'](_0x14d0b9);}},aU=class{constructor(){this['changes']=[];}['compareRange'](){}['comparePoint'](_0x1d4afd,_0x5c696c,_0x42cb9c,_0x3fc186){(_0x1d4afd<_0x5c696c||_0x42cb9c&&_0x42cb9c['heightRelevant']||_0x3fc186&&_0x3fc186['heightRelevant'])&&tD(_0x1d4afd,_0x5c696c,this['changes'],0x5);}};function cU(_0x346e54,_0x3e5d18){let _0xaaa6f6=_0x346e54['getBoundingClientRect'](),_0x170954=_0x346e54['ownerDocument'],_0x106f1c=_0x170954['defaultView']||window,_0x48b372=Math['max'](0x0,_0xaaa6f6['left']),_0x21407d=Math['min'](_0x106f1c['innerWidth'],_0xaaa6f6['right']),_0x3b1718=Math['max'](0x0,_0xaaa6f6['top']),_0x5db38c=Math['min'](_0x106f1c['innerHeight'],_0xaaa6f6['bottom']);for(let _0x3ad7d2=_0x346e54['parentNode'];_0x3ad7d2&&_0x3ad7d2!=_0x170954['body'];)if(0x1==_0x3ad7d2['nodeType']){let _0x2bc94c=_0x3ad7d2,_0x2ef142=window['getComputedStyle'](_0x2bc94c);if((_0x2bc94c['scrollHeight']>_0x2bc94c['clientHeight']||_0x2bc94c['scrollWidth']>_0x2bc94c['clientWidth'])&&'visible'!=_0x2ef142['overflow']){let _0x4349e7=_0x2bc94c['getBoundingClientRect']();_0x48b372=Math['max'](_0x48b372,_0x4349e7['left']),_0x21407d=Math['min'](_0x21407d,_0x4349e7['right']),_0x3b1718=Math['max'](_0x3b1718,_0x4349e7['top']),_0x5db38c=Math['min'](_0x3ad7d2==_0x346e54['parentNode']?_0x106f1c['innerHeight']:_0x5db38c,_0x4349e7['bottom']);}_0x3ad7d2='absolute'==_0x2ef142['position']||'fixed'==_0x2ef142['position']?_0x2bc94c['offsetParent']:_0x2bc94c['parentNode'];}else{if(0xb!=_0x3ad7d2['nodeType'])break;_0x3ad7d2=_0x3ad7d2['host'];}return{'left':_0x48b372-_0xaaa6f6['left'],'right':Math['max'](_0x48b372,_0x21407d)-_0xaaa6f6['left'],'top':_0x3b1718-(_0xaaa6f6['top']+_0x3e5d18),'bottom':Math['max'](_0x3b1718,_0x5db38c)-(_0xaaa6f6['top']+_0x3e5d18)};}function lU(_0xf3718c,_0x47097b){let _0x2b6939=_0xf3718c['getBoundingClientRect']();return{'left':0x0,'right':_0x2b6939['right']-_0x2b6939['left'],'top':_0x47097b,'bottom':_0x2b6939['bottom']-(_0x2b6939['top']+_0x47097b)};}var hU=class{constructor(_0x3973e4,_0x4e261f,_0x28992b,_0x336f01){this['from']=_0x3973e4,this['to']=_0x4e261f,this['size']=_0x28992b,this['displaySize']=_0x336f01;}static['same'](_0xb3eff8,_0x30a4d4){if(_0xb3eff8['length']!=_0x30a4d4['length'])return!0x1;for(let _0x15369d=0x0;_0x15369d<_0xb3eff8['length'];_0x15369d++){let _0x539040=_0xb3eff8[_0x15369d],_0x152b19=_0x30a4d4[_0x15369d];if(_0x539040['from']!=_0x152b19['from']||_0x539040['to']!=_0x152b19['to']||_0x539040['size']!=_0x152b19['size'])return!0x1;}return!0x0;}['draw'](_0x10248f,_0x20ea9d){return W$['replace']({'widget':new uU(this['displaySize']*(_0x20ea9d?_0x10248f['scaleY']:_0x10248f['scaleX']),_0x20ea9d)})['range'](this['from'],this['to']);}},uU=class extends X${constructor(_0x63a44,_0x50c732){super(),this['size']=_0x63a44,this['vertical']=_0x50c732;}['eq'](_0x3e564a){return _0x3e564a['size']==this['size']&&_0x3e564a['vertical']==this['vertical'];}['toDOM'](){let _0x36a4a0=document['createElement']('div');return this['vertical']?_0x36a4a0['style']['height']=this['size']+'px':(_0x36a4a0['style']['width']=this['size']+'px',_0x36a4a0['style']['height']='2px',_0x36a4a0['style']['display']='inline-block'),_0x36a4a0;}get['estimatedHeight'](){return this['vertical']?this['size']:-0x1;}},dU=class{constructor(_0xaf5b60,_0x27e101){this['view']=_0xaf5b60,this['state']=_0x27e101,this['pixelViewport']={'left':0x0,'right':window['innerWidth'],'top':0x0,'bottom':0x0},this['inView']=!0x0,this['paddingTop']=0x0,this['paddingBottom']=0x0,this['contentDOMWidth']=0x0,this['contentDOMHeight']=0x0,this['editorHeight']=0x0,this['editorWidth']=0x0,this['scaleX']=0x1,this['scaleY']=0x1,this['scrollOffset']=0x0,this['scrolledToBottom']=!0x1,this['scrollAnchorPos']=0x0,this['scrollAnchorHeight']=-0x1,this['scaler']=gU,this['scrollTarget']=null,this['printing']=!0x1,this['mustMeasureContent']=!0x0,this['defaultTextDirection']=AD['LTR'],this['visibleRanges']=[],this['mustEnforceCursorAssoc']=!0x1;let _0x2f31a0=_0x27e101['facet'](dQ)['some'](_0x3006d6=>'function'!=typeof _0x3006d6&&'cm-lineWrapping'==_0x3006d6['class']);this['heightOracle']=new Xj(_0x2f31a0),this['stateDeco']=OU(_0x27e101),this['heightMap']=Kj['empty']()['applyChanges'](this['stateDeco'],LN['empty'],this['heightOracle']['setDoc'](_0x27e101['doc']),[new _Q(0x0,0x0,0x0,_0x27e101['doc']['length'])]);for(let _0x1e6a84=0x0;_0x1e6a84<0x2&&(this['viewport']=this['getViewport'](0x0,null),this['updateForViewport']());_0x1e6a84++);this['updateViewportLines'](),this['lineGaps']=this['ensureLineGaps']([]),this['lineGapDeco']=W$['set'](this['lineGaps']['map'](_0x4d4cfe=>_0x4d4cfe['draw'](this,!0x1))),this['scrollParent']=_0xaf5b60['scrollDOM'],this['computeVisibleRanges']();}['updateForViewport'](){let _0x405004=[this['viewport']],{main:_0x2033fd}=this['state']['selection'];for(let _0x10969b=0x0;_0x10969b<=0x1;_0x10969b++){let _0x1ec53b=_0x10969b?_0x2033fd['head']:_0x2033fd['anchor'];if(!_0x405004['some'](({from:_0xa8c641,to:_0x54d18e})=>_0x1ec53b>=_0xa8c641&&_0x1ec53b<=_0x54d18e)){let {from:_0x42db28,to:_0x1efc7f}=this['lineBlockAt'](_0x1ec53b);_0x405004['push'](new fU(_0x42db28,_0x1efc7f));}}return this['viewports']=_0x405004['sort']((_0x3bdb83,_0x26636f)=>_0x3bdb83['from']-_0x26636f['from']),this['updateScaler']();}['updateScaler'](){let _0x3cb797=this['scaler'];return this['scaler']=this['heightMap']['height']<=0x6acfc0?gU:new wU(this['heightOracle'],this['heightMap'],this['viewports']),_0x3cb797['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,_0x237ee6=>{this['viewportLines']['push'](bU(_0x237ee6,this['scaler']));});}['update'](_0x5dc6b0,_0x3d12c3=null){this['state']=_0x5dc6b0['state'];let _0x86dad7=this['stateDeco'];this['stateDeco']=OU(this['state']);let _0x9a22de=_0x5dc6b0['changedRanges'],_0x4f68d1=_Q['extendWithRanges'](_0x9a22de,function(_0x359e83,_0xc4571a,_0x5eb73a){let _0x4f7073=new aU();return n$['compare'](_0x359e83,_0xc4571a,_0x5eb73a,_0x4f7073,0x0),_0x4f7073['changes'];}(_0x86dad7,this['stateDeco'],_0x5dc6b0?_0x5dc6b0['changes']:KN['empty'](this['state']['doc']['length']))),_0x1de798=this['heightMap']['height'],_0x4556a0=this['scrolledToBottom']?null:this['scrollAnchorAt'](this['scrollOffset']);Gj(),this['heightMap']=this['heightMap']['applyChanges'](this['stateDeco'],_0x5dc6b0['startState']['doc'],this['heightOracle']['setDoc'](this['state']['doc']),_0x4f68d1),(this['heightMap']['height']!=_0x1de798||Zj)&&(_0x5dc6b0['flags']|=0x2),_0x4556a0?(this['scrollAnchorPos']=_0x5dc6b0['changes']['mapPos'](_0x4556a0['from'],-0x1),this['scrollAnchorHeight']=_0x4556a0['top']):(this['scrollAnchorPos']=-0x1,this['scrollAnchorHeight']=_0x1de798);let _0x3b6f45=_0x4f68d1['length']?this['mapViewport'](this['viewport'],_0x5dc6b0['changes']):this['viewport'];(_0x3d12c3&&(_0x3d12c3['range']['head']<_0x3b6f45['from']||_0x3d12c3['range']['head']>_0x3b6f45['to'])||!this['viewportIsAppropriate'](_0x3b6f45))&&(_0x3b6f45=this['getViewport'](0x0,_0x3d12c3));let _0x449cf2=_0x3b6f45['from']!=this['viewport']['from']||_0x3b6f45['to']!=this['viewport']['to'];this['viewport']=_0x3b6f45,_0x5dc6b0['flags']|=this['updateForViewport'](),(_0x449cf2||!_0x5dc6b0['changes']['empty']||0x2&_0x5dc6b0['flags'])&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](this['mapLineGaps'](this['lineGaps'],_0x5dc6b0['changes']))),_0x5dc6b0['flags']|=this['computeVisibleRanges'](_0x5dc6b0['changes']),_0x3d12c3&&(this['scrollTarget']=_0x3d12c3),!this['mustEnforceCursorAssoc']&&(_0x5dc6b0['selectionSet']||_0x5dc6b0['focusChanged'])&&_0x5dc6b0['view']['lineWrapping']&&_0x5dc6b0['state']['selection']['main']['empty']&&_0x5dc6b0['state']['selection']['main']['assoc']&&!_0x5dc6b0['state']['facet'](tQ)&&(this['mustEnforceCursorAssoc']=!0x0);}['measure'](){let {view:_0x21d840}=this,_0x22ae18=_0x21d840['contentDOM'],_0xa597fb=window['getComputedStyle'](_0x22ae18),_0x32818c=this['heightOracle'],_0x3bb74f=_0xa597fb['whiteSpace'];this['defaultTextDirection']='rtl'==_0xa597fb['direction']?AD['RTL']:AD['LTR'];let _0xb78234=this['heightOracle']['mustRefreshForWrapping'](_0x3bb74f)||'refresh'===this['mustMeasureContent'],_0x30ecdc=_0x22ae18['getBoundingClientRect'](),_0x2ef67b=_0xb78234||this['mustMeasureContent']||this['contentDOMHeight']!=_0x30ecdc['height'];this['contentDOMHeight']=_0x30ecdc['height'],this['mustMeasureContent']=!0x1;let _0x1895d3=0x0,_0xe3c9a0=0x0;if(_0x30ecdc['width']&&_0x30ecdc['height']){let {scaleX:_0x1a3ce0,scaleY:_0x32b0de}=fD(_0x22ae18,_0x30ecdc);(_0x1a3ce0>0.005&&Math['abs'](this['scaleX']-_0x1a3ce0)>0.005||_0x32b0de>0.005&&Math['abs'](this['scaleY']-_0x32b0de)>0.005)&&(this['scaleX']=_0x1a3ce0,this['scaleY']=_0x32b0de,_0x1895d3|=0x10,_0xb78234=_0x2ef67b=!0x0);}let _0x1b95d5=(parseInt(_0xa597fb['paddingTop'])||0x0)*this['scaleY'],_0x39175c=(parseInt(_0xa597fb['paddingBottom'])||0x0)*this['scaleY'];this['paddingTop']==_0x1b95d5&&this['paddingBottom']==_0x39175c||(this['paddingTop']=_0x1b95d5,this['paddingBottom']=_0x39175c,_0x1895d3|=0x12),this['editorWidth']!=_0x21d840['scrollDOM']['clientWidth']&&(_0x32818c['lineWrapping']&&(_0x2ef67b=!0x0),this['editorWidth']=_0x21d840['scrollDOM']['clientWidth'],_0x1895d3|=0x10);let _0x210448=mD(this['view']['contentDOM'],!0x1)['y'];_0x210448!=this['scrollParent']&&(this['scrollParent']=_0x210448,this['scrollAnchorHeight']=-0x1,this['scrollOffset']=0x0);let _0x52c1fc=this['getScrollOffset']();this['scrollOffset']!=_0x52c1fc&&(this['scrollAnchorHeight']=-0x1,this['scrollOffset']=_0x52c1fc),this['scrolledToBottom']=vD(this['scrollParent']||_0x21d840['win']);let _0x5102c3=(this['printing']?lU:cU)(_0x22ae18,this['paddingTop']),_0x50c66e=_0x5102c3['top']-this['pixelViewport']['top'],_0x4ba4e6=_0x5102c3['bottom']-this['pixelViewport']['bottom'];this['pixelViewport']=_0x5102c3;let _0x2d3f93=this['pixelViewport']['bottom']>this['pixelViewport']['top']&&this['pixelViewport']['right']>this['pixelViewport']['left'];if(_0x2d3f93!=this['inView']&&(this['inView']=_0x2d3f93,_0x2d3f93&&(_0x2ef67b=!0x0)),!this['inView']&&!this['scrollTarget']&&!function(_0x49af45){let _0x9943b3=_0x49af45['getBoundingClientRect'](),_0x3a9d73=_0x49af45['ownerDocument']['defaultView']||window;return _0x9943b3['left']<_0x3a9d73['innerWidth']&&_0x9943b3['right']>0x0&&_0x9943b3['top']<_0x3a9d73['innerHeight']&&_0x9943b3['bottom']>0x0;}(_0x21d840['dom']))return 0x0;let _0x5d752a=_0x30ecdc['width'];if(this['contentDOMWidth']==_0x5d752a&&this['editorHeight']==_0x21d840['scrollDOM']['clientHeight']||(this['contentDOMWidth']=_0x30ecdc['width'],this['editorHeight']=_0x21d840['scrollDOM']['clientHeight'],_0x1895d3|=0x10),_0x2ef67b){let _0x20bac4=_0x21d840['docView']['measureVisibleLineHeights'](this['viewport']);if(_0x32818c['mustRefreshForHeights'](_0x20bac4)&&(_0xb78234=!0x0),_0xb78234||_0x32818c['lineWrapping']&&Math['abs'](_0x5d752a-this['contentDOMWidth'])>_0x32818c['charWidth']){let {lineHeight:_0x54fc04,charWidth:_0x4ce1f1,textHeight:_0x1cb62d}=_0x21d840['docView']['measureTextSize']();_0xb78234=_0x54fc04>0x0&&_0x32818c['refresh'](_0x3bb74f,_0x54fc04,_0x4ce1f1,_0x1cb62d,Math['max'](0x5,_0x5d752a/_0x4ce1f1),_0x20bac4),_0xb78234&&(_0x21d840['docView']['minWidth']=0x0,_0x1895d3|=0x10);}_0x50c66e>0x0&&_0x4ba4e6>0x0?_0xe3c9a0=Math['max'](_0x50c66e,_0x4ba4e6):_0x50c66e<0x0&&_0x4ba4e6<0x0&&(_0xe3c9a0=Math['min'](_0x50c66e,_0x4ba4e6)),Gj();for(let _0xa20d3 of this['viewports']){let _0x90a858=_0xa20d3['from']==this['viewport']['from']?_0x20bac4:_0x21d840['docView']['measureVisibleLineHeights'](_0xa20d3);this['heightMap']=(_0xb78234?Kj['empty']()['applyChanges'](this['stateDeco'],LN['empty'],this['heightOracle'],[new _Q(0x0,0x0,0x0,_0x21d840['state']['doc']['length'])]):this['heightMap'])['updateHeight'](_0x32818c,0x0,_0xb78234,new qj(_0xa20d3['from'],_0x90a858));}Zj&&(_0x1895d3|=0x2);}let _0x2fbeed=!this['viewportIsAppropriate'](this['viewport'],_0xe3c9a0)||this['scrollTarget']&&(this['scrollTarget']['range']['head']<this['viewport']['from']||this['scrollTarget']['range']['head']>this['viewport']['to']);return _0x2fbeed&&(0x2&_0x1895d3&&(_0x1895d3|=this['updateScaler']()),this['viewport']=this['getViewport'](_0xe3c9a0,this['scrollTarget']),_0x1895d3|=this['updateForViewport']()),(0x2&_0x1895d3||_0x2fbeed)&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](_0xb78234?[]:this['lineGaps'],_0x21d840)),_0x1895d3|=this['computeVisibleRanges'](),this['mustEnforceCursorAssoc']&&(this['mustEnforceCursorAssoc']=!0x1,_0x21d840['docView']['enforceCursorAssoc']()),_0x1895d3;}get['visibleTop'](){return this['scaler']['fromDOM'](this['pixelViewport']['top']);}get['visibleBottom'](){return this['scaler']['fromDOM'](this['pixelViewport']['bottom']);}['getViewport'](_0x2adfc3,_0x4adf89){let _0x102289=0.5-Math['max'](-0.5,Math['min'](0.5,_0x2adfc3/0x3e8/0x2)),_0x66d938=this['heightMap'],_0x32e484=this['heightOracle'],{visibleTop:_0x4c9529,visibleBottom:_0x354cd9}=this,_0x4a0b8d=new fU(_0x66d938['lineAt'](_0x4c9529-0x3e8*_0x102289,zj['ByHeight'],_0x32e484,0x0,0x0)['from'],_0x66d938['lineAt'](_0x354cd9+0x3e8*(0x1-_0x102289),zj['ByHeight'],_0x32e484,0x0,0x0)['to']);if(_0x4adf89){let {head:_0x3d9098}=_0x4adf89['range'];if(_0x3d9098<_0x4a0b8d['from']||_0x3d9098>_0x4a0b8d['to']){let _0xc67b70,_0x8d86=Math['min'](this['editorHeight'],this['pixelViewport']['bottom']-this['pixelViewport']['top']),_0x5167d6=_0x66d938['lineAt'](_0x3d9098,zj['ByPos'],_0x32e484,0x0,0x0);_0xc67b70='center'==_0x4adf89['y']?(_0x5167d6['top']+_0x5167d6['bottom'])/0x2-_0x8d86/0x2:'start'==_0x4adf89['y']||'nearest'==_0x4adf89['y']&&_0x3d9098<_0x4a0b8d['from']?_0x5167d6['top']:_0x5167d6['bottom']-_0x8d86,_0x4a0b8d=new fU(_0x66d938['lineAt'](_0xc67b70-0x1f4,zj['ByHeight'],_0x32e484,0x0,0x0)['from'],_0x66d938['lineAt'](_0xc67b70+_0x8d86+0x1f4,zj['ByHeight'],_0x32e484,0x0,0x0)['to']);}}return _0x4a0b8d;}['mapViewport'](_0x31c72b,_0x256898){let _0x2c7e89=_0x256898['mapPos'](_0x31c72b['from'],-0x1),_0x28f217=_0x256898['mapPos'](_0x31c72b['to'],0x1);return new fU(this['heightMap']['lineAt'](_0x2c7e89,zj['ByPos'],this['heightOracle'],0x0,0x0)['from'],this['heightMap']['lineAt'](_0x28f217,zj['ByPos'],this['heightOracle'],0x0,0x0)['to']);}['viewportIsAppropriate']({from:_0x174a56,to:_0x3e0991},_0x56ee24=0x0){if(!this['inView'])return!0x0;let {top:_0x2681dc}=this['heightMap']['lineAt'](_0x174a56,zj['ByPos'],this['heightOracle'],0x0,0x0),{bottom:_0x35c5e1}=this['heightMap']['lineAt'](_0x3e0991,zj['ByPos'],this['heightOracle'],0x0,0x0),{visibleTop:_0x3098f6,visibleBottom:_0x573911}=this;return(0x0==_0x174a56||_0x2681dc<=_0x3098f6-Math['max'](0xa,Math['min'](-_0x56ee24,0xfa)))&&(_0x3e0991==this['state']['doc']['length']||_0x35c5e1>=_0x573911+Math['max'](0xa,Math['min'](_0x56ee24,0xfa)))&&_0x2681dc>_0x3098f6-0x7d0&&_0x35c5e1<_0x573911+0x7d0;}['mapLineGaps'](_0x26e6ca,_0x1e7ddb){if(!_0x26e6ca['length']||_0x1e7ddb['empty'])return _0x26e6ca;let _0x42f93b=[];for(let _0x43e79f of _0x26e6ca)_0x1e7ddb['touchesRange'](_0x43e79f['from'],_0x43e79f['to'])||_0x42f93b['push'](new hU(_0x1e7ddb['mapPos'](_0x43e79f['from']),_0x1e7ddb['mapPos'](_0x43e79f['to']),_0x43e79f['size'],_0x43e79f['displaySize']));return _0x42f93b;}['ensureLineGaps'](_0x405d68,_0x1303d4){let _0x21a0d8=this['heightOracle']['lineWrapping'],_0x5bab75=_0x21a0d8?0x2710:0x7d0,_0x19a691=_0x5bab75>>0x1,_0x11eaef=_0x5bab75<<0x1;if(this['defaultTextDirection']!=AD['LTR']&&!_0x21a0d8)return[];let _0x210c26=[],_0x5f51df=(_0x4f15b8,_0x335cbb,_0x118dea,_0x24d03f)=>{if(_0x335cbb-_0x4f15b8<_0x19a691)return;let _0x52ab10=this['state']['selection']['main'],_0x1f8f03=[_0x52ab10['from']];_0x52ab10['empty']||_0x1f8f03['push'](_0x52ab10['to']);for(let _0x10cd33 of _0x1f8f03)if(_0x10cd33>_0x4f15b8&&_0x10cd33<_0x335cbb)return _0x5f51df(_0x4f15b8,_0x10cd33-0xa,_0x118dea,_0x24d03f),void _0x5f51df(_0x10cd33+0xa,_0x335cbb,_0x118dea,_0x24d03f);let _0x5e26d9=function(_0x16d13c,_0x58e6da){for(let _0x1055d0 of _0x16d13c)if(_0x58e6da(_0x1055d0))return _0x1055d0;}(_0x405d68,_0x33b969=>_0x33b969['from']>=_0x118dea['from']&&_0x33b969['to']<=_0x118dea['to']&&Math['abs'](_0x33b969['from']-_0x4f15b8)<_0x19a691&&Math['abs'](_0x33b969['to']-_0x335cbb)<_0x19a691&&!_0x1f8f03['some'](_0xff9fdf=>_0x33b969['from']<_0xff9fdf&&_0x33b969['to']>_0xff9fdf));if(!_0x5e26d9){if(_0x335cbb<_0x118dea['to']&&_0x1303d4&&_0x21a0d8&&_0x1303d4['visibleRanges']['some'](_0x587b93=>_0x587b93['from']<=_0x335cbb&&_0x587b93['to']>=_0x335cbb)){let _0x3c2748=_0x1303d4['moveToLineBoundary'](oL['cursor'](_0x335cbb),!0x1,!0x0)['head'];_0x3c2748>_0x4f15b8&&(_0x335cbb=_0x3c2748);}let _0x33e1fd=this['gapSize'](_0x118dea,_0x4f15b8,_0x335cbb,_0x24d03f);_0x5e26d9=new hU(_0x4f15b8,_0x335cbb,_0x33e1fd,_0x21a0d8||_0x33e1fd<0x1e8480?_0x33e1fd:0x1e8480);}_0x210c26['push'](_0x5e26d9);},_0x1d5be5=_0x20c27c=>{if(_0x20c27c['length']<_0x11eaef||_0x20c27c['type']!=q$['Text'])return;let _0x4daea5=function(_0x146a82,_0x3dc6c7,_0x24633e){let _0x13f5a7=[],_0x6c7d17=_0x146a82,_0x124ed9=0x0;return n$['spans'](_0x24633e,_0x146a82,_0x3dc6c7,{'span'(){},'point'(_0x52a854,_0x4a3493){_0x52a854>_0x6c7d17&&(_0x13f5a7['push']({'from':_0x6c7d17,'to':_0x52a854}),_0x124ed9+=_0x52a854-_0x6c7d17),_0x6c7d17=_0x4a3493;}},0x14),_0x6c7d17<_0x3dc6c7&&(_0x13f5a7['push']({'from':_0x6c7d17,'to':_0x3dc6c7}),_0x124ed9+=_0x3dc6c7-_0x6c7d17),{'total':_0x124ed9,'ranges':_0x13f5a7};}(_0x20c27c['from'],_0x20c27c['to'],this['stateDeco']);if(_0x4daea5['total']<_0x11eaef)return;let _0xf67364,_0x294c30,_0x4a038a=this['scrollTarget']?this['scrollTarget']['range']['head']:null;if(_0x21a0d8){let _0x184206,_0x2a5524,_0x94b907=_0x5bab75/this['heightOracle']['lineLength']*this['heightOracle']['lineHeight'];if(null!=_0x4a038a){let _0x19b84b=pU(_0x4daea5,_0x4a038a),_0x174a5e=((this['visibleBottom']-this['visibleTop'])/0x2+_0x94b907)/_0x20c27c['height'];_0x184206=_0x19b84b-_0x174a5e,_0x2a5524=_0x19b84b+_0x174a5e;}else _0x184206=(this['visibleTop']-_0x20c27c['top']-_0x94b907)/_0x20c27c['height'],_0x2a5524=(this['visibleBottom']-_0x20c27c['top']+_0x94b907)/_0x20c27c['height'];_0xf67364=mU(_0x4daea5,_0x184206),_0x294c30=mU(_0x4daea5,_0x2a5524);}else{let _0xdce76=_0x4daea5['total']*this['heightOracle']['charWidth'],_0x458060=_0x5bab75*this['heightOracle']['charWidth'],_0xc1ffe0=0x0;if(_0xdce76>0x1e8480){for(let _0x31b0bf of _0x405d68)_0x31b0bf['from']>=_0x20c27c['from']&&_0x31b0bf['from']<_0x20c27c['to']&&_0x31b0bf['size']!=_0x31b0bf['displaySize']&&_0x31b0bf['from']*this['heightOracle']['charWidth']+_0xc1ffe0<this['pixelViewport']['left']&&(_0xc1ffe0=_0x31b0bf['size']-_0x31b0bf['displaySize']);}let _0xa8e1b3,_0x3b778b,_0x27c9e6=this['pixelViewport']['left']+_0xc1ffe0,_0x34c0d1=this['pixelViewport']['right']+_0xc1ffe0;if(null!=_0x4a038a){let _0x157c34=pU(_0x4daea5,_0x4a038a),_0x34354a=((_0x34c0d1-_0x27c9e6)/0x2+_0x458060)/_0xdce76;_0xa8e1b3=_0x157c34-_0x34354a,_0x3b778b=_0x157c34+_0x34354a;}else _0xa8e1b3=(_0x27c9e6-_0x458060)/_0xdce76,_0x3b778b=(_0x34c0d1+_0x458060)/_0xdce76;_0xf67364=mU(_0x4daea5,_0xa8e1b3),_0x294c30=mU(_0x4daea5,_0x3b778b);}_0xf67364>_0x20c27c['from']&&_0x5f51df(_0x20c27c['from'],_0xf67364,_0x20c27c,_0x4daea5),_0x294c30<_0x20c27c['to']&&_0x5f51df(_0x294c30,_0x20c27c['to'],_0x20c27c,_0x4daea5);};for(let _0x3f6ffa of this['viewportLines'])Array['isArray'](_0x3f6ffa['type'])?_0x3f6ffa['type']['forEach'](_0x1d5be5):_0x1d5be5(_0x3f6ffa);return _0x210c26;}['gapSize'](_0x15332e,_0x2e6a56,_0x18f608,_0x2f658b){let _0xe37254=pU(_0x2f658b,_0x18f608)-pU(_0x2f658b,_0x2e6a56);return this['heightOracle']['lineWrapping']?_0x15332e['height']*_0xe37254:_0x2f658b['total']*this['heightOracle']['charWidth']*_0xe37254;}['updateLineGaps'](_0x391565){hU['same'](_0x391565,this['lineGaps'])||(this['lineGaps']=_0x391565,this['lineGapDeco']=W$['set'](_0x391565['map'](_0x50bf89=>_0x50bf89['draw'](this,this['heightOracle']['lineWrapping']))));}['computeVisibleRanges'](_0x1b1c2e){let _0x2ad939=this['stateDeco'];this['lineGaps']['length']&&(_0x2ad939=_0x2ad939['concat'](this['lineGapDeco']));let _0x43996a=[];n$['spans'](_0x2ad939,this['viewport']['from'],this['viewport']['to'],{'span'(_0x4d678c,_0x3075cd){_0x43996a['push']({'from':_0x4d678c,'to':_0x3075cd});},'point'(){}},0x14);let _0x1ba1e3=0x0;if(_0x43996a['length']!=this['visibleRanges']['length'])_0x1ba1e3=0xc;else for(let _0x28e0c1=0x0;_0x28e0c1<_0x43996a['length']&&!(0x8&_0x1ba1e3);_0x28e0c1++){let _0xb06929=this['visibleRanges'][_0x28e0c1],_0x4991a5=_0x43996a[_0x28e0c1];_0xb06929['from']==_0x4991a5['from']&&_0xb06929['to']==_0x4991a5['to']||(_0x1ba1e3|=0x4,_0x1b1c2e&&_0x1b1c2e['mapPos'](_0xb06929['from'],-0x1)==_0x4991a5['from']&&_0x1b1c2e['mapPos'](_0xb06929['to'],0x1)==_0x4991a5['to']||(_0x1ba1e3|=0x8));}return this['visibleRanges']=_0x43996a,_0x1ba1e3;}['lineBlockAt'](_0x41cd77){return _0x41cd77>=this['viewport']['from']&&_0x41cd77<=this['viewport']['to']&&this['viewportLines']['find'](_0x171bea=>_0x171bea['from']<=_0x41cd77&&_0x171bea['to']>=_0x41cd77)||bU(this['heightMap']['lineAt'](_0x41cd77,zj['ByPos'],this['heightOracle'],0x0,0x0),this['scaler']);}['lineBlockAtHeight'](_0x131d9){return _0x131d9>=this['viewportLines'][0x0]['top']&&_0x131d9<=this['viewportLines'][this['viewportLines']['length']-0x1]['bottom']&&this['viewportLines']['find'](_0xc1596c=>_0xc1596c['top']<=_0x131d9&&_0xc1596c['bottom']>=_0x131d9)||bU(this['heightMap']['lineAt'](this['scaler']['fromDOM'](_0x131d9),zj['ByHeight'],this['heightOracle'],0x0,0x0),this['scaler']);}['getScrollOffset'](){return(this['scrollParent']==this['view']['scrollDOM']?this['scrollParent']['scrollTop']:(this['scrollParent']?this['scrollParent']['getBoundingClientRect']()['top']:0x0)-this['view']['contentDOM']['getBoundingClientRect']()['top'])*this['scaleY'];}['scrollAnchorAt'](_0x5092db){let _0x18a5be=this['lineBlockAtHeight'](_0x5092db+0x8);return _0x18a5be['from']>=this['viewport']['from']||this['viewportLines'][0x0]['top']-_0x5092db>0xc8?_0x18a5be:this['viewportLines'][0x0];}['elementAtHeight'](_0x4f1bdf){return bU(this['heightMap']['blockAt'](this['scaler']['fromDOM'](_0x4f1bdf),this['heightOracle'],0x0,0x0),this['scaler']);}get['docHeight'](){return this['scaler']['toDOM'](this['heightMap']['height']);}get['contentHeight'](){return this['docHeight']+this['paddingTop']+this['paddingBottom'];}},fU=class{constructor(_0x3137b8,_0x1c0a56){this['from']=_0x3137b8,this['to']=_0x1c0a56;}};function mU({total:_0x3cde1d,ranges:_0x23f975},_0x34da71){if(_0x34da71<=0x0)return _0x23f975[0x0]['from'];if(_0x34da71>=0x1)return _0x23f975[_0x23f975['length']-0x1]['to'];let _0x175d7e=Math['floor'](_0x3cde1d*_0x34da71);for(let _0x3e572a=0x0;;_0x3e572a++){let {from:_0x336143,to:_0x2a9f3a}=_0x23f975[_0x3e572a],_0x1ebb63=_0x2a9f3a-_0x336143;if(_0x175d7e<=_0x1ebb63)return _0x336143+_0x175d7e;_0x175d7e-=_0x1ebb63;}}function pU(_0x285db8,_0x33c190){let _0x500085=0x0;for(let {from:_0x248469,to:_0x439c49}of _0x285db8['ranges']){if(_0x33c190<=_0x439c49){_0x500085+=_0x33c190-_0x248469;break;}_0x500085+=_0x439c49-_0x248469;}return _0x500085/_0x285db8['total'];}const gU={'toDOM':_0x14f73d=>_0x14f73d,'fromDOM':_0x2161df=>_0x2161df,'scale':0x1,'eq'(_0xbeb2e9){return _0xbeb2e9==this;}};function OU(_0x310f37){let _0x19dd9b=_0x310f37['facet'](fQ)['filter'](_0xbc68fa=>'function'!=typeof _0xbc68fa),_0x4ed898=_0x310f37['facet'](pQ)['filter'](_0x18d50c=>'function'!=typeof _0x18d50c);return _0x4ed898['length']&&_0x19dd9b['push'](n$['join'](_0x4ed898)),_0x19dd9b;}var wU=class BigScaler{constructor(_0x30c1c9,_0x31bc70,_0x425977){let _0x4222aa=0x0,_0x22cd64=0x0,_0xcd3b23=0x0;this['viewports']=_0x425977['map'](({from:_0x4b4e0f,to:_0x1df355})=>{let _0x4b8dee=_0x31bc70['lineAt'](_0x4b4e0f,zj['ByPos'],_0x30c1c9,0x0,0x0)['top'],_0x1d8cf8=_0x31bc70['lineAt'](_0x1df355,zj['ByPos'],_0x30c1c9,0x0,0x0)['bottom'];return _0x4222aa+=_0x1d8cf8-_0x4b8dee,{'from':_0x4b4e0f,'to':_0x1df355,'top':_0x4b8dee,'bottom':_0x1d8cf8,'domTop':0x0,'domBottom':0x0};}),this['scale']=(0x6acfc0-_0x4222aa)/(_0x31bc70['height']-_0x4222aa);for(let _0xb933d4 of this['viewports'])_0xb933d4['domTop']=_0xcd3b23+(_0xb933d4['top']-_0x22cd64)*this['scale'],_0xcd3b23=_0xb933d4['domBottom']=_0xb933d4['domTop']+(_0xb933d4['bottom']-_0xb933d4['top']),_0x22cd64=_0xb933d4['bottom'];}['toDOM'](_0x10dee1){for(let _0x24d653=0x0,_0xbff5d3=0x0,_0x5e20f6=0x0;;_0x24d653++){let _0x167033=_0x24d653<this['viewports']['length']?this['viewports'][_0x24d653]:null;if(!_0x167033||_0x10dee1<_0x167033['top'])return _0x5e20f6+(_0x10dee1-_0xbff5d3)*this['scale'];if(_0x10dee1<=_0x167033['bottom'])return _0x167033['domTop']+(_0x10dee1-_0x167033['top']);_0xbff5d3=_0x167033['bottom'],_0x5e20f6=_0x167033['domBottom'];}}['fromDOM'](_0x8fd203){for(let _0x5c9417=0x0,_0x364aa0=0x0,_0x578708=0x0;;_0x5c9417++){let _0x5df36e=_0x5c9417<this['viewports']['length']?this['viewports'][_0x5c9417]:null;if(!_0x5df36e||_0x8fd203<_0x5df36e['domTop'])return _0x364aa0+(_0x8fd203-_0x578708)/this['scale'];if(_0x8fd203<=_0x5df36e['domBottom'])return _0x5df36e['top']+(_0x8fd203-_0x5df36e['domTop']);_0x364aa0=_0x5df36e['bottom'],_0x578708=_0x5df36e['domBottom'];}}['eq'](_0x393565){return _0x393565 instanceof BigScaler&&(this['scale']==_0x393565['scale']&&this['viewports']['length']==_0x393565['viewports']['length']&&this['viewports']['every']((_0x3decef,_0x17e417)=>_0x3decef['from']==_0x393565['viewports'][_0x17e417]['from']&&_0x3decef['to']==_0x393565['viewports'][_0x17e417]['to']));}};function bU(_0x649777,_0x516873){if(0x1==_0x516873['scale'])return _0x649777;let _0x70978d=_0x516873['toDOM'](_0x649777['top']),_0x35a892=_0x516873['toDOM'](_0x649777['bottom']);return new Wj(_0x649777['from'],_0x649777['length'],_0x70978d,_0x35a892-_0x70978d,Array['isArray'](_0x649777['_content'])?_0x649777['_content']['map'](_0x46be40=>bU(_0x46be40,_0x516873)):_0x649777['_content']);}const yU=lL['define']({'combine':_0x5caf2a=>_0x5caf2a['join']('\x20')}),vU=lL['define']({'combine':_0x2dfe2d=>_0x2dfe2d['indexOf'](!0x0)>-0x1}),_U=v$['newName'](),EU=v$['newName'](),TU=v$['newName'](),AU={'&light':'.'+EU,'&dark':'.'+TU};function SU(_0x3cfcaf,_0x4a5eb8,_0x36d3a3){return new v$(_0x4a5eb8,{'finish':_0x577226=>/&/['test'](_0x577226)?_0x577226['replace'](/&\w*/,_0xb09d58=>{if('&'==_0xb09d58)return _0x3cfcaf;if(!_0x36d3a3||!_0x36d3a3[_0xb09d58])throw new RangeError('Unsupported\x20selector:\x20'+_0xb09d58);return _0x36d3a3[_0xb09d58];}):_0x3cfcaf+'\x20'+_0x577226});}const IU=SU('.'+_U,{'&':{'position':'relative\x20!important','boxSizing':'border-box','&.cm-focused':{'outline':'1px\x20dotted\x20#212121'},'display':'flex\x20!important','flexDirection':'column'},'.cm-scroller':{'display':'flex\x20!important','alignItems':'flex-start\x20!important','fontFamily':'monospace','lineHeight':1.4,'height':'100%','overflowX':'auto','position':'relative','zIndex':0x0,'overflowAnchor':'none'},'.cm-content':{'margin':0x0,'flexGrow':0x2,'flexShrink':0x0,'display':'block','whiteSpace':'pre','wordWrap':'normal','boxSizing':'border-box','minHeight':'100%','padding':'4px\x200','outline':'none','&[contenteditable=true]':{'WebkitUserModify':'read-write-plaintext-only'}},'.cm-lineWrapping':{'whiteSpace_fallback':'pre-wrap','whiteSpace':'break-spaces','wordBreak':'break-word','overflowWrap':'anywhere','flexShrink':0x1},'&light\x20.cm-content':{'caretColor':'black'},'&dark\x20.cm-content':{'caretColor':'white'},'.cm-line':{'display':'block','padding':'0\x202px\x200\x206px'},'.cm-layer':{'userSelect':'none','position':'absolute','left':0x0,'top':0x0,'contain':'size\x20style','&\x20>\x20*':{'position':'absolute'}},'&light\x20.cm-selectionBackground':{'background':'#d9d9d9'},'&dark\x20.cm-selectionBackground':{'background':'#222'},'&light.cm-focused\x20>\x20.cm-scroller\x20>\x20.cm-selectionLayer\x20.cm-selectionBackground':{'background':'#d7d4f0'},'&dark.cm-focused\x20>\x20.cm-scroller\x20>\x20.cm-selectionLayer\x20.cm-selectionBackground':{'background':'#233'},'.cm-cursorLayer':{'pointerEvents':'none'},'&.cm-focused\x20>\x20.cm-scroller\x20>\x20.cm-cursorLayer':{'animation':'steps(1)\x20cm-blink\x201.2s\x20infinite'},'@keyframes\x20cm-blink':{'0%':{},'50%':{'opacity':0x0},'100%':{}},'@keyframes\x20cm-blink2':{'0%':{},'50%':{'opacity':0x0},'100%':{}},'.cm-cursor,\x20.cm-dropCursor':{'borderLeft':'1.2px\x20solid\x20black','marginLeft':'-0.6px','pointerEvents':'none'},'.cm-cursor':{'display':'none'},'&dark\x20.cm-cursor':{'borderLeftColor':'#ddd'},'.cm-selectionHandle':{'backgroundColor':'currentColor','width':'1.5px'},'.cm-selectionHandle-start::before,\x20.cm-selectionHandle-end::before':{'content':'\x22\x22','backgroundColor':'inherit','borderRadius':'50%','width':'8px','height':'8px','position':'absolute','left':'-3.25px'},'.cm-selectionHandle-start::before':{'top':'-8px'},'.cm-selectionHandle-end::before':{'bottom':'-8px'},'.cm-dropCursor':{'position':'absolute'},'&.cm-focused\x20>\x20.cm-scroller\x20>\x20.cm-cursorLayer\x20.cm-cursor':{'display':'block'},'.cm-iso':{'unicodeBidi':'isolate'},'.cm-announced':{'position':'fixed','top':'-10000px'},'@media\x20print':{'.cm-announced':{'display':'none'}},'&light\x20.cm-activeLine':{'backgroundColor':'#cceeff44'},'&dark\x20.cm-activeLine':{'backgroundColor':'#99eeff33'},'&light\x20.cm-specialChar':{'color':'red'},'&dark\x20.cm-specialChar':{'color':'#f78'},'.cm-gutters':{'flexShrink':0x0,'display':'flex','height':'100%','boxSizing':'border-box','zIndex':0xc8},'.cm-gutters-before':{'insetInlineStart':0x0},'.cm-gutters-after':{'insetInlineEnd':0x0},'&light\x20.cm-gutters':{'backgroundColor':'#f5f5f5','color':'#6c6c6c','border':'0px\x20solid\x20#ddd','&.cm-gutters-before':{'borderRightWidth':'1px'},'&.cm-gutters-after':{'borderLeftWidth':'1px'}},'&dark\x20.cm-gutters':{'backgroundColor':'#333338','color':'#ccc'},'.cm-gutter':{'display':'flex\x20!important','flexDirection':'column','flexShrink':0x0,'boxSizing':'border-box','minHeight':'100%','overflow':'hidden'},'.cm-gutterElement':{'boxSizing':'border-box'},'.cm-lineNumbers\x20.cm-gutterElement':{'padding':'0\x203px\x200\x205px','minWidth':'20px','textAlign':'right','whiteSpace':'nowrap'},'&light\x20.cm-activeLineGutter':{'backgroundColor':'#e2f2ff'},'&dark\x20.cm-activeLineGutter':{'backgroundColor':'#222227'},'.cm-panels':{'boxSizing':'border-box','position':'sticky','left':0x0,'right':0x0,'zIndex':0x12c},'&light\x20.cm-panels':{'backgroundColor':'#f5f5f5','color':'black'},'&light\x20.cm-panels-top':{'borderBottom':'1px\x20solid\x20#ddd'},'&light\x20.cm-panels-bottom':{'borderTop':'1px\x20solid\x20#ddd'},'&dark\x20.cm-panels':{'backgroundColor':'#333338','color':'white'},'.cm-dialog':{'padding':'2px\x2019px\x204px\x206px','position':'relative','&\x20label':{'fontSize':'80%'}},'.cm-dialog-close':{'position':'absolute','top':'3px','right':'4px','backgroundColor':'inherit','border':'none','font':'inherit','fontSize':'14px','padding':'0'},'.cm-tab':{'display':'inline-block','overflow':'hidden','verticalAlign':'bottom'},'.cm-widgetBuffer':{'verticalAlign':'text-top','height':'1em','width':0x0,'display':'inline'},'.cm-placeholder':{'color':'#888','display':'inline-block','verticalAlign':'top','userSelect':'none'},'.cm-highlightSpace':{'backgroundImage':'radial-gradient(circle\x20at\x2050%\x2055%,\x20#aaa\x2020%,\x20transparent\x205%)','backgroundPosition':'center'},'.cm-highlightTab':{'backgroundImage':'url(\x27data:image/svg+xml,<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20width=\x22200\x22\x20height=\x2220\x22><path\x20stroke=\x22%23888\x22\x20stroke-width=\x221\x22\x20fill=\x22none\x22\x20d=\x22M1\x2010H196L190\x205M190\x2015L196\x2010M197\x204L197\x2016\x22/></svg>\x27)','backgroundSize':'auto\x20100%','backgroundPosition':'right\x2090%','backgroundRepeat':'no-repeat'},'.cm-trailingSpace':{'backgroundColor':'#ff332255'},'.cm-button':{'verticalAlign':'middle','color':'inherit','fontSize':'70%','padding':'.2em\x201em','borderRadius':'1px'},'&light\x20.cm-button':{'backgroundImage':'linear-gradient(#eff1f5,\x20#d9d9df)','border':'1px\x20solid\x20#888','&:active':{'backgroundImage':'linear-gradient(#b4b4b4,\x20#d0d3d6)'}},'&dark\x20.cm-button':{'backgroundImage':'linear-gradient(#393939,\x20#111)','border':'1px\x20solid\x20#888','&:active':{'backgroundImage':'linear-gradient(#111,\x20#333)'}},'.cm-textfield':{'verticalAlign':'middle','color':'inherit','fontSize':'70%','border':'1px\x20solid\x20silver','padding':'.2em\x20.5em'},'&light\x20.cm-textfield':{'backgroundColor':'white'},'&dark\x20.cm-textfield':{'border':'1px\x20solid\x20#555','backgroundColor':'inherit'}},AU),kU={'childList':!0x0,'characterData':!0x0,'subtree':!0x0,'attributes':!0x0,'characterDataOldValue':!0x0},xU=V$['ie']&&V$['ie_version']<=0xb;var CU=class{constructor(_0x381f83){this['view']=_0x381f83,this['active']=!0x1,this['editContext']=null,this['selectionRange']=new pD(),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']=_0x381f83['contentDOM'],this['observer']=new MutationObserver(_0x29f892=>{for(let _0x4cf90e of _0x29f892)this['queue']['push'](_0x4cf90e);(V$['ie']&&V$['ie_version']<=0xb||V$['ios']&&_0x381f83['composing'])&&_0x29f892['some'](_0x6c7068=>'childList'==_0x6c7068['type']&&_0x6c7068['removedNodes']['length']||'characterData'==_0x6c7068['type']&&_0x6c7068['oldValue']['length']>_0x6c7068['target']['nodeValue']['length'])?this['flushSoon']():this['flush']();}),!window['EditContext']||!V$['android']||!0x1===_0x381f83['constructor']['EDIT_CONTEXT']||V$['chrome']&&V$['chrome_version']<0x7e||(this['editContext']=new MU(_0x381f83),_0x381f83['state']['facet'](oQ)&&(_0x381f83['contentDOM']['editContext']=this['editContext']['editContext'])),xU&&(this['onCharData']=_0x1531ad=>{this['queue']['push']({'target':_0x1531ad['target'],'type':'characterData','oldValue':_0x1531ad['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 _0x2627e3;(null===(_0x2627e3=this['view']['docView'])||void 0x0===_0x2627e3?void 0x0:_0x2627e3['lastUpdate'])<Date['now']()-0x4b&&this['onResize']();}),this['resizeScroll']['observe'](_0x381f83['scrollDOM'])),this['addWindowListeners'](this['win']=_0x381f83['win']),this['start'](),'function'==typeof IntersectionObserver&&(this['intersection']=new IntersectionObserver(_0x4767dd=>{this['parentCheck']<0x0&&(this['parentCheck']=setTimeout(this['listenForScroll']['bind'](this),0x3e8)),_0x4767dd['length']>0x0&&_0x4767dd[_0x4767dd['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(_0x1d2302=>{_0x1d2302['length']>0x0&&_0x1d2302[_0x1d2302['length']-0x1]['intersectionRatio']>0x0&&this['onScrollChanged'](document['createEvent']('Event'));},{})),this['listenForScroll'](),this['readSelectionRange']();}['onScrollChanged'](_0x544f8c){this['view']['inputState']['runHandlers']('scroll',_0x544f8c),this['intersecting']&&this['view']['measure']();}['onScroll'](_0x30b491){this['intersecting']&&this['flush'](!0x1),this['editContext']&&this['view']['requestMeasure'](this['editContext']['measureReq']),this['onScrollChanged'](_0x30b491);}['onResize'](){this['resizeTimeout']<0x0&&(this['resizeTimeout']=setTimeout(()=>{this['resizeTimeout']=-0x1,this['view']['requestMeasure']();},0x32));}['onPrint'](_0x1ca084){('change'!=_0x1ca084['type']&&_0x1ca084['type']||_0x1ca084['matches'])&&(this['view']['viewState']['printing']=!0x0,this['view']['measure'](),setTimeout(()=>{this['view']['viewState']['printing']=!0x1,this['view']['requestMeasure']();},0x1f4));}['updateGaps'](_0x4af7f7){if(this['gapIntersection']&&(_0x4af7f7['length']!=this['gaps']['length']||this['gaps']['some']((_0x48ca78,_0x5793b7)=>_0x48ca78!=_0x4af7f7[_0x5793b7]))){this['gapIntersection']['disconnect']();for(let _0xe55ef6 of _0x4af7f7)this['gapIntersection']['observe'](_0xe55ef6);this['gaps']=_0x4af7f7;}}['onSelectionChange'](_0x21914e){let _0x35d5dd=this['selectionChanged'];if(!this['readSelectionRange']()||this['delayedAndroidKey'])return;let {view:_0x5f215b}=this,_0x332f19=this['selectionRange'];if(_0x5f215b['state']['facet'](oQ)?_0x5f215b['root']['activeElement']!=this['dom']:!nD(this['dom'],_0x332f19))return;let _0x2dc40e=_0x332f19['anchorNode']&&_0x5f215b['docView']['tile']['nearest'](_0x332f19['anchorNode']);_0x2dc40e&&_0x2dc40e['isWidget']()&&_0x2dc40e['widget']['ignoreEvent'](_0x21914e)?_0x35d5dd||(this['selectionChanged']=!0x1):(V$['ie']&&V$['ie_version']<=0xb||V$['android']&&V$['chrome'])&&!_0x5f215b['state']['selection']['main']['empty']&&_0x332f19['focusNode']&&oD(_0x332f19['focusNode'],_0x332f19['focusOffset'],_0x332f19['anchorNode'],_0x332f19['anchorOffset'])?this['flushSoon']():this['flush'](!0x1);}['readSelectionRange'](){let {view:_0x2f823f}=this,_0x22d40e=iD(_0x2f823f['root']);if(!_0x22d40e)return!0x1;let _0x54c2ba=V$['safari']&&0xb==_0x2f823f['root']['nodeType']&&_0x2f823f['root']['activeElement']==this['dom']&&function(_0x26654d,_0x368bb2){if(_0x368bb2['getComposedRanges']){let _0x2a22de=_0x368bb2['getComposedRanges'](_0x26654d['root'])[0x0];if(_0x2a22de)return PU(_0x26654d,_0x2a22de);}let _0x4963f3=null;function _0x7d4e85(_0x917aae){_0x917aae['preventDefault'](),_0x917aae['stopImmediatePropagation'](),_0x4963f3=_0x917aae['getTargetRanges']()[0x0];}return _0x26654d['contentDOM']['addEventListener']('beforeinput',_0x7d4e85,!0x0),_0x26654d['dom']['ownerDocument']['execCommand']('indent'),_0x26654d['contentDOM']['removeEventListener']('beforeinput',_0x7d4e85,!0x0),_0x4963f3?PU(_0x26654d,_0x4963f3):null;}(this['view'],_0x22d40e)||_0x22d40e;if(!_0x54c2ba||this['selectionRange']['eq'](_0x54c2ba))return!0x1;let _0x13ac2f=nD(this['dom'],_0x54c2ba);return _0x13ac2f&&!this['selectionChanged']&&_0x2f823f['inputState']['lastFocusTime']>Date['now']()-0xc8&&_0x2f823f['inputState']['lastTouchTime']<Date['now']()-0x12c&&function(_0xd6bc5e,_0x11fee2){let _0xf2a91b=_0x11fee2['focusNode'],_0x1e1362=_0x11fee2['focusOffset'];if(!_0xf2a91b||_0x11fee2['anchorNode']!=_0xf2a91b||_0x11fee2['anchorOffset']!=_0x1e1362)return!0x1;for(_0x1e1362=Math['min'](_0x1e1362,hD(_0xf2a91b));;)if(_0x1e1362){if(0x1!=_0xf2a91b['nodeType'])return!0x1;let _0x54360f=_0xf2a91b['childNodes'][_0x1e1362-0x1];'false'==_0x54360f['contentEditable']?_0x1e1362--:(_0xf2a91b=_0x54360f,_0x1e1362=hD(_0xf2a91b));}else{if(_0xf2a91b==_0xd6bc5e)return!0x0;_0x1e1362=aD(_0xf2a91b),_0xf2a91b=_0xf2a91b['parentNode'];}}(this['dom'],_0x54c2ba)?(this['view']['inputState']['lastFocusTime']=0x0,_0x2f823f['docView']['updateSelection'](),!0x1):(this['selectionRange']['setRange'](_0x54c2ba),_0x13ac2f&&(this['selectionChanged']=!0x0),!0x0);}['setSelectionRange'](_0x182aec,_0x3eb69e){this['selectionRange']['set'](_0x182aec['node'],_0x182aec['offset'],_0x3eb69e['node'],_0x3eb69e['offset']),this['selectionChanged']=!0x1;}['clearSelectionRange'](){this['selectionRange']['set'](null,0x0,null,0x0);}['listenForScroll'](){this['parentCheck']=-0x1;let _0x2c1628=0x0,_0x27930b=null;for(let _0x21dffd=this['dom'];_0x21dffd;)if(0x1==_0x21dffd['nodeType'])!_0x27930b&&_0x2c1628<this['scrollTargets']['length']&&this['scrollTargets'][_0x2c1628]==_0x21dffd?_0x2c1628++:_0x27930b||(_0x27930b=this['scrollTargets']['slice'](0x0,_0x2c1628)),_0x27930b&&_0x27930b['push'](_0x21dffd),_0x21dffd=_0x21dffd['assignedSlot']||_0x21dffd['parentNode'];else{if(0xb!=_0x21dffd['nodeType'])break;_0x21dffd=_0x21dffd['host'];}if(_0x2c1628<this['scrollTargets']['length']&&!_0x27930b&&(_0x27930b=this['scrollTargets']['slice'](0x0,_0x2c1628)),_0x27930b){for(let _0x416a1f of this['scrollTargets'])_0x416a1f['removeEventListener']('scroll',this['onScroll']);for(let _0x53e25e of this['scrollTargets']=_0x27930b)_0x53e25e['addEventListener']('scroll',this['onScroll']);}}['ignore'](_0x51a85e){if(!this['active'])return _0x51a85e();try{return this['stop'](),_0x51a85e();}finally{this['start'](),this['clear']();}}['start'](){this['active']||(this['observer']['observe'](this['dom'],kU),xU&&this['dom']['addEventListener']('DOMCharacterDataModified',this['onCharData']),this['active']=!0x0);}['stop'](){this['active']&&(this['active']=!0x1,this['observer']['disconnect'](),xU&&this['dom']['removeEventListener']('DOMCharacterDataModified',this['onCharData']));}['clear'](){this['processRecords'](),this['queue']['length']=0x0,this['selectionChanged']=!0x1;}['delayAndroidKey'](_0x5afed8,_0x48a6ca){var _0x36abd8;if(!this['delayedAndroidKey']){let _0xdbbb2d=()=>{let _0x481b2e=this['delayedAndroidKey'];_0x481b2e&&(this['clearDelayedAndroidKey'](),this['view']['inputState']['lastKeyCode']=_0x481b2e['keyCode'],this['view']['inputState']['lastKeyTime']=Date['now'](),!this['flush']()&&_0x481b2e['force']&&yD(this['dom'],_0x481b2e['key'],_0x481b2e['keyCode']));};this['flushingAndroidKey']=this['view']['win']['requestAnimationFrame'](_0xdbbb2d);}this['delayedAndroidKey']&&'Enter'!=_0x5afed8||(this['delayedAndroidKey']={'key':_0x5afed8,'keyCode':_0x48a6ca,'force':this['lastChange']<Date['now']()-0x32||!!(null===(_0x36abd8=this['delayedAndroidKey'])||void 0x0===_0x36abd8?void 0x0:_0x36abd8['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 _0x1906b0 of this['observer']['takeRecords']())this['queue']['push'](_0x1906b0);return this['queue'];}['processRecords'](){let _0x2c5541=this['pendingRecords']();_0x2c5541['length']&&(this['queue']=[]);let _0x1d3ee3=-0x1,_0x3bd6e9=-0x1,_0x4057f2=!0x1;for(let _0x4ecc2e of _0x2c5541){let _0x2381b5=this['readMutation'](_0x4ecc2e);_0x2381b5&&(_0x2381b5['typeOver']&&(_0x4057f2=!0x0),-0x1==_0x1d3ee3?{from:_0x1d3ee3,to:_0x3bd6e9}=_0x2381b5:(_0x1d3ee3=Math['min'](_0x2381b5['from'],_0x1d3ee3),_0x3bd6e9=Math['max'](_0x2381b5['to'],_0x3bd6e9)));}return{'from':_0x1d3ee3,'to':_0x3bd6e9,'typeOver':_0x4057f2};}['readChange'](){let {from:_0x4726c6,to:_0x4e0185,typeOver:_0x4524a5}=this['processRecords'](),_0x38a456=this['selectionChanged']&&nD(this['dom'],this['selectionRange']);if(_0x4726c6<0x0&&!_0x38a456)return null;_0x4726c6>-0x1&&(this['lastChange']=Date['now']()),this['view']['inputState']['lastFocusTime']=0x0,this['selectionChanged']=!0x1;let _0x385b5f=new fj(this['view'],_0x4726c6,_0x4e0185,_0x4524a5);return this['view']['docView']['domChanged']={'newSel':_0x385b5f['newSel']?_0x385b5f['newSel']['main']:null},_0x385b5f;}['flush'](_0x50beac=!0x0){if(this['delayedFlush']>=0x0||this['delayedAndroidKey'])return!0x1;_0x50beac&&this['readSelectionRange']();let _0x3a0d59=this['readChange']();if(!_0x3a0d59)return this['view']['requestMeasure'](),!0x1;let _0x5ee30e=this['view']['state'],_0x57d592=pj(this['view'],_0x3a0d59);return this['view']['state']==_0x5ee30e&&(_0x3a0d59['domChanged']||_0x3a0d59['newSel']&&!wj(this['view']['state']['selection'],_0x3a0d59['newSel']['main']))&&this['view']['update']([]),_0x57d592;}['readMutation'](_0x4d1307){let _0x5b2f65=this['view']['docView']['tile']['nearest'](_0x4d1307['target']);if(!_0x5b2f65||_0x5b2f65['isWidget']())return null;if(_0x5b2f65['markDirty']('attributes'==_0x4d1307['type']),'childList'==_0x4d1307['type']){let _0x121228=RU(_0x5b2f65,_0x4d1307['previousSibling']||_0x4d1307['target']['previousSibling'],-0x1),_0x37bfb4=RU(_0x5b2f65,_0x4d1307['nextSibling']||_0x4d1307['target']['nextSibling'],0x1);return{'from':_0x121228?_0x5b2f65['posAfter'](_0x121228):_0x5b2f65['posAtStart'],'to':_0x37bfb4?_0x5b2f65['posBefore'](_0x37bfb4):_0x5b2f65['posAtEnd'],'typeOver':!0x1};}return'characterData'==_0x4d1307['type']?{'from':_0x5b2f65['posAtStart'],'to':_0x5b2f65['posAtEnd'],'typeOver':_0x4d1307['target']['nodeValue']==_0x4d1307['oldValue']}:null;}['setWindow'](_0x1f7514){_0x1f7514!=this['win']&&(this['removeWindowListeners'](this['win']),this['win']=_0x1f7514,this['addWindowListeners'](this['win']));}['addWindowListeners'](_0x315e6e){_0x315e6e['addEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['addEventListener']?this['printQuery']['addEventListener']('change',this['onPrint']):this['printQuery']['addListener'](this['onPrint']):_0x315e6e['addEventListener']('beforeprint',this['onPrint']),_0x315e6e['addEventListener']('scroll',this['onScroll']),_0x315e6e['document']['addEventListener']('selectionchange',this['onSelectionChange']);}['removeWindowListeners'](_0x3e770d){_0x3e770d['removeEventListener']('scroll',this['onScroll']),_0x3e770d['removeEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['removeEventListener']?this['printQuery']['removeEventListener']('change',this['onPrint']):this['printQuery']['removeListener'](this['onPrint']):_0x3e770d['removeEventListener']('beforeprint',this['onPrint']),_0x3e770d['document']['removeEventListener']('selectionchange',this['onSelectionChange']);}['update'](_0x5b834b){this['editContext']&&(this['editContext']['update'](_0x5b834b),_0x5b834b['startState']['facet'](oQ)!=_0x5b834b['state']['facet'](oQ)&&(_0x5b834b['view']['contentDOM']['editContext']=_0x5b834b['state']['facet'](oQ)?this['editContext']['editContext']:null));}['destroy'](){var _0x40396c,_0x3428e0,_0x5caaaf;this['stop'](),null===(_0x40396c=this['intersection'])||void 0x0===_0x40396c||_0x40396c['disconnect'](),null===(_0x3428e0=this['gapIntersection'])||void 0x0===_0x3428e0||_0x3428e0['disconnect'](),null===(_0x5caaaf=this['resizeScroll'])||void 0x0===_0x5caaaf||_0x5caaaf['disconnect']();for(let _0x569faf of this['scrollTargets'])_0x569faf['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 RU(_0x483a51,_0x30da48,_0x495316){for(;_0x30da48;){let _0x16b143=AQ['get'](_0x30da48);if(_0x16b143&&_0x16b143['parent']==_0x483a51)return _0x16b143;let _0x2fde0e=_0x30da48['parentNode'];_0x30da48=_0x2fde0e!=_0x483a51['dom']?_0x2fde0e:_0x495316>0x0?_0x30da48['nextSibling']:_0x30da48['previousSibling'];}return null;}function PU(_0x39c53e,_0x5a5fc5){let _0x1e0f3a=_0x5a5fc5['startContainer'],_0x5d68fa=_0x5a5fc5['startOffset'],_0x5cf3ca=_0x5a5fc5['endContainer'],_0x125494=_0x5a5fc5['endOffset'],_0x533bcb=_0x39c53e['docView']['domAtPos'](_0x39c53e['state']['selection']['main']['anchor'],0x1);return oD(_0x533bcb['node'],_0x533bcb['offset'],_0x5cf3ca,_0x125494)&&([_0x1e0f3a,_0x5d68fa,_0x5cf3ca,_0x125494]=[_0x5cf3ca,_0x125494,_0x1e0f3a,_0x5d68fa]),{'anchorNode':_0x1e0f3a,'anchorOffset':_0x5d68fa,'focusNode':_0x5cf3ca,'focusOffset':_0x125494};}var MU=class{constructor(_0x163987){this['from']=0x0,this['to']=0x0,this['pendingContextChange']=null,this['handlers']=Object['create'](null),this['composing']=null,this['resetRange'](_0x163987['state']);let _0x1a7c96=this['editContext']=new window['EditContext']({'text':_0x163987['state']['doc']['sliceString'](this['from'],this['to']),'selectionStart':this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x163987['state']['selection']['main']['anchor']))),'selectionEnd':this['toContextPos'](_0x163987['state']['selection']['main']['head'])});this['handlers']['textupdate']=_0x520186=>{let _0x20541d=_0x163987['state']['selection']['main'],{anchor:_0x3821fd,head:_0x5094ae}=_0x20541d,_0x1ea53f=this['toEditorPos'](_0x520186['updateRangeStart']),_0x4ffcf2=this['toEditorPos'](_0x520186['updateRangeEnd']);_0x163987['inputState']['composing']>=0x0&&!this['composing']&&(this['composing']={'contextBase':_0x520186['updateRangeStart'],'editorBase':_0x1ea53f,'drifted':!0x1});let _0x8033e2=_0x4ffcf2-_0x1ea53f>_0x520186['text']['length'];_0x1ea53f==this['from']&&_0x3821fd<this['from']?_0x1ea53f=_0x3821fd:_0x4ffcf2==this['to']&&_0x3821fd>this['to']&&(_0x4ffcf2=_0x3821fd);let _0x2f24e0=Oj(_0x163987['state']['sliceDoc'](_0x1ea53f,_0x4ffcf2),_0x520186['text'],(_0x8033e2?_0x20541d['from']:_0x20541d['to'])-_0x1ea53f,_0x8033e2?'end':null);if(!_0x2f24e0){let _0x2efa81=oL['single'](this['toEditorPos'](_0x520186['selectionStart']),this['toEditorPos'](_0x520186['selectionEnd']));return void(wj(_0x2efa81,_0x20541d)||_0x163987['dispatch']({'selection':_0x2efa81,'userEvent':'select'}));}let _0x58da15={'from':_0x2f24e0['from']+_0x1ea53f,'to':_0x2f24e0['toA']+_0x1ea53f,'insert':LN['of'](_0x520186['text']['slice'](_0x2f24e0['from'],_0x2f24e0['toB'])['split']('\x0a'))};if((V$['mac']||V$['android'])&&_0x58da15['from']==_0x5094ae-0x1&&/^\. ?$/['test'](_0x520186['text'])&&'off'==_0x163987['contentDOM']['getAttribute']('autocorrect')&&(_0x58da15={'from':_0x1ea53f,'to':_0x4ffcf2,'insert':LN['of']([_0x520186['text']['replace']('.','\x20')])}),this['pendingContextChange']=_0x58da15,!_0x163987['state']['readOnly']){let _0x5da06b=this['to']-this['from']+(_0x58da15['to']-_0x58da15['from']+_0x58da15['insert']['length']);gj(_0x163987,_0x58da15,oL['single'](this['toEditorPos'](_0x520186['selectionStart'],_0x5da06b),this['toEditorPos'](_0x520186['selectionEnd'],_0x5da06b)));}this['pendingContextChange']&&(this['revertPending'](_0x163987['state']),this['setSelection'](_0x163987['state'])),_0x58da15['from']<_0x58da15['to']&&!_0x58da15['insert']['length']&&_0x163987['inputState']['composing']>=0x0&&!/[\\p{Alphabetic}\\p{Number}_]/['test'](_0x1a7c96['text']['slice'](Math['max'](0x0,_0x520186['updateRangeStart']-0x1),Math['min'](_0x1a7c96['text']['length'],_0x520186['updateRangeStart']+0x1)))&&this['handlers']['compositionend'](_0x520186);},this['handlers']['characterboundsupdate']=_0x3b3671=>{let _0x1e1a77=[],_0x2efbec=null;for(let _0x4736f2=this['toEditorPos'](_0x3b3671['rangeStart']),_0x272576=this['toEditorPos'](_0x3b3671['rangeEnd']);_0x4736f2<_0x272576;_0x4736f2++){let _0x581d95=_0x163987['coordsForChar'](_0x4736f2);_0x2efbec=_0x581d95&&new DOMRect(_0x581d95['left'],_0x581d95['top'],_0x581d95['right']-_0x581d95['left'],_0x581d95['bottom']-_0x581d95['top'])||_0x2efbec||new DOMRect(),_0x1e1a77['push'](_0x2efbec);}_0x1a7c96['updateCharacterBounds'](_0x3b3671['rangeStart'],_0x1e1a77);},this['handlers']['textformatupdate']=_0x4b345f=>{let _0x31cf3b=[];for(let _0x186bcf of _0x4b345f['getTextFormats']()){let _0x4107bf=_0x186bcf['underlineStyle'],_0x315f0c=_0x186bcf['underlineThickness'];if(!/none/i['test'](_0x4107bf)&&!/none/i['test'](_0x315f0c)){let _0x2cdc88=this['toEditorPos'](_0x186bcf['rangeStart']),_0x5c92a8=this['toEditorPos'](_0x186bcf['rangeEnd']);if(_0x2cdc88<_0x5c92a8){let _0x289e8c='text-decoration:\x20underline\x20'+(/^[a-z]/['test'](_0x4107bf)?_0x4107bf+'\x20':'Dashed'==_0x4107bf?'dashed\x20':'Squiggle'==_0x4107bf?'wavy\x20':'')+(/thin/i['test'](_0x315f0c)?0x1:0x2)+'px';_0x31cf3b['push'](W$['mark']({'attributes':{'style':_0x289e8c}})['range'](_0x2cdc88,_0x5c92a8));}}}_0x163987['dispatch']({'effects':nQ['of'](W$['set'](_0x31cf3b))});},this['handlers']['compositionstart']=()=>{_0x163987['inputState']['composing']<0x0&&(_0x163987['inputState']['composing']=0x0,_0x163987['inputState']['compositionFirstChange']=!0x0);},this['handlers']['compositionend']=()=>{if(_0x163987['inputState']['composing']=-0x1,_0x163987['inputState']['compositionFirstChange']=null,this['composing']){let {drifted:_0x391bd3}=this['composing'];this['composing']=null,_0x391bd3&&this['reset'](_0x163987['state']);}};for(let _0x102108 in this['handlers'])_0x1a7c96['addEventListener'](_0x102108,this['handlers'][_0x102108]);this['measureReq']={'read':_0x4525e7=>{this['editContext']['updateControlBounds'](_0x4525e7['contentDOM']['getBoundingClientRect']());let _0x457021=iD(_0x4525e7['root']);_0x457021&&_0x457021['rangeCount']&&this['editContext']['updateSelectionBounds'](_0x457021['getRangeAt'](0x0)['getBoundingClientRect']());}};}['applyEdits'](_0x2a79b5){let _0x6d0b67=0x0,_0x48ef4a=!0x1,_0x3c3d6b=this['pendingContextChange'];return _0x2a79b5['changes']['iterChanges']((_0x4bd0fc,_0x3ba277,_0xb4c11e,_0x366bc2,_0x878810)=>{if(_0x48ef4a)return;let _0x3ae533=_0x878810['length']-(_0x3ba277-_0x4bd0fc);if(_0x3c3d6b&&_0x3ba277>=_0x3c3d6b['to']){if(_0x3c3d6b['from']==_0x4bd0fc&&_0x3c3d6b['to']==_0x3ba277&&_0x3c3d6b['insert']['eq'](_0x878810))return _0x3c3d6b=this['pendingContextChange']=null,_0x6d0b67+=_0x3ae533,void(this['to']+=_0x3ae533);_0x3c3d6b=null,this['revertPending'](_0x2a79b5['state']);}if(_0x4bd0fc+=_0x6d0b67,(_0x3ba277+=_0x6d0b67)<=this['from'])this['from']+=_0x3ae533,this['to']+=_0x3ae533;else{if(_0x4bd0fc<this['to']){if(_0x4bd0fc<this['from']||_0x3ba277>this['to']||this['to']-this['from']+_0x878810['length']>0x7530)return void(_0x48ef4a=!0x0);this['editContext']['updateText'](this['toContextPos'](_0x4bd0fc),this['toContextPos'](_0x3ba277),_0x878810['toString']()),this['to']+=_0x3ae533;}}_0x6d0b67+=_0x3ae533;}),_0x3c3d6b&&!_0x48ef4a&&this['revertPending'](_0x2a79b5['state']),!_0x48ef4a;}['update'](_0x5873c5){let _0x3b511c=this['pendingContextChange'],_0x125a59=_0x5873c5['startState']['selection']['main'];this['composing']&&(this['composing']['drifted']||!_0x5873c5['changes']['touchesRange'](_0x125a59['from'],_0x125a59['to'])&&_0x5873c5['transactions']['some'](_0xe3238a=>!_0xe3238a['isUserEvent']('input.type')&&_0xe3238a['changes']['touchesRange'](this['from'],this['to'])))?(this['composing']['drifted']=!0x0,this['composing']['editorBase']=_0x5873c5['changes']['mapPos'](this['composing']['editorBase'])):this['applyEdits'](_0x5873c5)&&this['rangeIsValid'](_0x5873c5['state'])?(_0x5873c5['docChanged']||_0x5873c5['selectionSet']||_0x3b511c)&&this['setSelection'](_0x5873c5['state']):(this['pendingContextChange']=null,this['reset'](_0x5873c5['state'])),(_0x5873c5['geometryChanged']||_0x5873c5['docChanged']||_0x5873c5['selectionSet'])&&_0x5873c5['view']['requestMeasure'](this['measureReq']);}['resetRange'](_0x40d686){let {head:_0x59456d}=_0x40d686['selection']['main'];this['from']=Math['max'](0x0,_0x59456d-0x2710),this['to']=Math['min'](_0x40d686['doc']['length'],_0x59456d+0x2710);}['reset'](_0x3b4106){this['resetRange'](_0x3b4106),this['editContext']['updateText'](0x0,this['editContext']['text']['length'],_0x3b4106['doc']['sliceString'](this['from'],this['to'])),this['setSelection'](_0x3b4106);}['revertPending'](_0x227443){let _0x2e5096=this['pendingContextChange'];this['pendingContextChange']=null,this['editContext']['updateText'](this['toContextPos'](_0x2e5096['from']),this['toContextPos'](_0x2e5096['from']+_0x2e5096['insert']['length']),_0x227443['doc']['sliceString'](_0x2e5096['from'],_0x2e5096['to']));}['setSelection'](_0x3c0370){let {main:_0x542c40}=_0x3c0370['selection'],_0x445a04=this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x542c40['anchor']))),_0xe549bd=this['toContextPos'](_0x542c40['head']);this['editContext']['selectionStart']==_0x445a04&&this['editContext']['selectionEnd']==_0xe549bd||this['editContext']['updateSelection'](_0x445a04,_0xe549bd);}['rangeIsValid'](_0x1209f4){let {head:_0x4c3949}=_0x1209f4['selection']['main'];return!(this['from']>0x0&&_0x4c3949-this['from']<0x1f4||this['to']<_0x1209f4['doc']['length']&&this['to']-_0x4c3949<0x1f4||this['to']-this['from']>0x7530);}['toEditorPos'](_0x5a84e2,_0x209ea1=this['to']-this['from']){_0x5a84e2=Math['min'](_0x5a84e2,_0x209ea1);let _0x4c2ac1=this['composing'];return _0x4c2ac1&&_0x4c2ac1['drifted']?_0x4c2ac1['editorBase']+(_0x5a84e2-_0x4c2ac1['contextBase']):_0x5a84e2+this['from'];}['toContextPos'](_0xef4d86){let _0x510a8f=this['composing'];return _0x510a8f&&_0x510a8f['drifted']?_0x510a8f['contextBase']+(_0xef4d86-_0x510a8f['editorBase']):_0xef4d86-this['from'];}['destroy'](){for(let _0x74d377 in this['handlers'])this['editContext']['removeEventListener'](_0x74d377,this['handlers'][_0x74d377]);}},NU=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(_0x3899dd={}){var _0x49c921;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']),_0x3899dd['parent']&&_0x3899dd['parent']['appendChild'](this['dom']);let {dispatch:_0x4e71d7}=_0x3899dd;this['dispatchTransactions']=_0x3899dd['dispatchTransactions']||_0x4e71d7&&(_0x386556=>_0x386556['forEach'](_0x497835=>_0x4e71d7(_0x497835,this)))||(_0x55537b=>this['update'](_0x55537b)),this['dispatch']=this['dispatch']['bind'](this),this['_root']=_0x3899dd['root']||function(_0x7bb336){for(;_0x7bb336;){if(_0x7bb336&&(0x9==_0x7bb336['nodeType']||0xb==_0x7bb336['nodeType']&&_0x7bb336['host']))return _0x7bb336;_0x7bb336=_0x7bb336['assignedSlot']||_0x7bb336['parentNode'];}return null;}(_0x3899dd['parent'])||document,this['viewState']=new dU(this,_0x3899dd['state']||YL['create'](_0x3899dd)),_0x3899dd['scrollTo']&&_0x3899dd['scrollTo']['is'](sQ)&&(this['viewState']['scrollTarget']=_0x3899dd['scrollTo']['value']['clip'](this['viewState']['state'])),this['plugins']=this['state']['facet'](cQ)['map'](_0x3e700b=>new hQ(_0x3e700b));for(let _0x56289f of this['plugins'])_0x56289f['update'](this);this['observer']=new CU(this),this['inputState']=new bj(this),this['inputState']['ensureHandlers'](this['plugins']),this['docView']=new qQ(this),this['mountStyles'](),this['updateAttrs'](),this['updateState']=0x0,this['requestMeasure'](),(null===(_0x49c921=document['fonts'])||void 0x0===_0x49c921?void 0x0:_0x49c921['ready'])&&document['fonts']['ready']['then'](()=>{this['viewState']['mustMeasureContent']='refresh',this['requestMeasure']();});}['dispatch'](..._0x54441c){let _0x58181b=0x1==_0x54441c['length']&&_0x54441c[0x0]instanceof UL?_0x54441c:0x1==_0x54441c['length']&&Array['isArray'](_0x54441c[0x0])?_0x54441c[0x0]:[this['state']['update'](..._0x54441c)];this['dispatchTransactions'](_0x58181b,this);}['update'](_0x2078d4){if(0x0!=this['updateState'])throw new Error('Calls\x20to\x20EditorView.update\x20are\x20not\x20allowed\x20while\x20an\x20update\x20is\x20in\x20progress');let _0x59ed6c,_0x3efd8f=!0x1,_0x51ecb5=!0x1,_0x36f4e6=this['state'];for(let _0x9f1251 of _0x2078d4){if(_0x9f1251['startState']!=_0x36f4e6)throw new RangeError('Trying\x20to\x20update\x20state\x20with\x20a\x20transaction\x20that\x20doesn\x27t\x20start\x20from\x20the\x20previous\x20state.');_0x36f4e6=_0x9f1251['state'];}if(this['destroyed'])return void(this['viewState']['state']=_0x36f4e6);let _0x73d3c5=this['hasFocus'],_0x35c31c=0x0,_0x65d527=null;_0x2078d4['some'](_0x3155bd=>_0x3155bd['annotation'](Uj))?(this['inputState']['notifiedFocused']=_0x73d3c5,_0x35c31c=0x1):_0x73d3c5!=this['inputState']['notifiedFocused']&&(this['inputState']['notifiedFocused']=_0x73d3c5,_0x65d527=Vj(_0x36f4e6,_0x73d3c5),_0x65d527||(_0x35c31c=0x1));let _0x191ff5=this['observer']['delayedAndroidKey'],_0x4f45da=null;if(_0x191ff5?(this['observer']['clearDelayedAndroidKey'](),_0x4f45da=this['observer']['readChange'](),(_0x4f45da&&!this['state']['doc']['eq'](_0x36f4e6['doc'])||!this['state']['selection']['eq'](_0x36f4e6['selection']))&&(_0x4f45da=null)):this['observer']['clear'](),_0x36f4e6['facet'](YL['phrases'])!=this['state']['facet'](YL['phrases']))return this['setState'](_0x36f4e6);_0x59ed6c=EQ['create'](this,_0x36f4e6,_0x2078d4),_0x59ed6c['flags']|=_0x35c31c;let _0x2f3186=this['viewState']['scrollTarget'];try{this['updateState']=0x2;for(let _0x48840a of _0x2078d4){if(_0x2f3186&&(_0x2f3186=_0x2f3186['map'](_0x48840a['changes'])),_0x48840a['scrollIntoView']){let {main:_0x3ea6a2}=_0x48840a['state']['selection'],{x:_0x1a1c6f,y:_0x453e15}=this['state']['facet'](EditorView['cursorScrollMargin']);_0x2f3186=new iQ(_0x3ea6a2['empty']?_0x3ea6a2:oL['cursor'](_0x3ea6a2['head'],_0x3ea6a2['head']>_0x3ea6a2['anchor']?-0x1:0x1),'nearest','nearest',_0x453e15,_0x1a1c6f);}for(let _0x21feb2 of _0x48840a['effects'])_0x21feb2['is'](sQ)&&(_0x2f3186=_0x21feb2['value']['clip'](this['state']));}this['viewState']['update'](_0x59ed6c,_0x2f3186),this['bidiCache']=DU['update'](this['bidiCache'],_0x59ed6c['changes']),_0x59ed6c['empty']||(this['updatePlugins'](_0x59ed6c),this['inputState']['update'](_0x59ed6c)),_0x3efd8f=this['docView']['update'](_0x59ed6c),this['state']['facet'](vQ)!=this['styleModules']&&this['mountStyles'](),_0x51ecb5=this['updateAttrs'](),this['showAnnouncements'](_0x2078d4),this['docView']['updateSelection'](_0x3efd8f,_0x2078d4['some'](_0x6b49fd=>_0x6b49fd['isUserEvent']('select.pointer')));}finally{this['updateState']=0x0;}if(_0x59ed6c['startState']['facet'](yU)!=_0x59ed6c['state']['facet'](yU)&&(this['viewState']['mustMeasureContent']=!0x0),(_0x3efd8f||_0x51ecb5||_0x2f3186||this['viewState']['mustEnforceCursorAssoc']||this['viewState']['mustMeasureContent'])&&this['requestMeasure'](),_0x3efd8f&&this['docViewUpdate'](),!_0x59ed6c['empty']){for(let _0x2951b5 of this['state']['facet'](qD))try{_0x2951b5(_0x59ed6c);}catch(_0x4eab16){rQ(this['state'],_0x4eab16,'update\x20listener');}}(_0x65d527||_0x4f45da)&&Promise['resolve']()['then'](()=>{_0x65d527&&this['state']==_0x65d527['startState']&&this['dispatch'](_0x65d527),_0x4f45da&&!pj(this,_0x4f45da)&&_0x191ff5['force']&&yD(this['contentDOM'],_0x191ff5['key'],_0x191ff5['keyCode']);});}['setState'](_0x1cad0f){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']=_0x1cad0f);this['updateState']=0x2;let _0x152cc6=this['hasFocus'];try{for(let _0x2e4b72 of this['plugins'])_0x2e4b72['destroy'](this);this['viewState']=new dU(this,_0x1cad0f),this['plugins']=_0x1cad0f['facet'](cQ)['map'](_0x5904c4=>new hQ(_0x5904c4)),this['pluginMap']['clear']();for(let _0x2d8052 of this['plugins'])_0x2d8052['update'](this);this['docView']['destroy'](),this['docView']=new qQ(this),this['inputState']['ensureHandlers'](this['plugins']),this['mountStyles'](),this['updateAttrs'](),this['bidiCache']=[];}finally{this['updateState']=0x0;}_0x152cc6&&this['focus'](),this['requestMeasure']();}['updatePlugins'](_0x193822){let _0x147d52=_0x193822['startState']['facet'](cQ),_0xbfb8d4=_0x193822['state']['facet'](cQ);if(_0x147d52!=_0xbfb8d4){let _0x5b529f=[];for(let _0x831003 of _0xbfb8d4){let _0x47965d=_0x147d52['indexOf'](_0x831003);if(_0x47965d<0x0)_0x5b529f['push'](new hQ(_0x831003));else{let _0xf865c3=this['plugins'][_0x47965d];_0xf865c3['mustUpdate']=_0x193822,_0x5b529f['push'](_0xf865c3);}}for(let _0x1d34ca of this['plugins'])_0x1d34ca['mustUpdate']!=_0x193822&&_0x1d34ca['destroy'](this);this['plugins']=_0x5b529f,this['pluginMap']['clear']();}else{for(let _0x143ec2 of this['plugins'])_0x143ec2['mustUpdate']=_0x193822;}for(let _0x100028=0x0;_0x100028<this['plugins']['length'];_0x100028++)this['plugins'][_0x100028]['update'](this);_0x147d52!=_0xbfb8d4&&this['inputState']['ensureHandlers'](this['plugins']);}['docViewUpdate'](){for(let _0x381373 of this['plugins']){let _0x460e15=_0x381373['value'];if(_0x460e15&&_0x460e15['docViewUpdate'])try{_0x460e15['docViewUpdate'](this);}catch(_0x1a2b40){rQ(this['state'],_0x1a2b40,'doc\x20view\x20update\x20listener');}}}['measure'](_0x19d883=!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,_0x19d883&&this['observer']['forceFlush']();let _0x18681d=null,_0x19b512=this['viewState']['scrollParent'],_0xa2b952=this['viewState']['getScrollOffset'](),{scrollAnchorPos:_0x1c5b92,scrollAnchorHeight:_0x12b0ee}=this['viewState'];Math['abs'](_0xa2b952-this['viewState']['scrollOffset'])>0x1&&(_0x12b0ee=-0x1),this['viewState']['scrollAnchorHeight']=-0x1;try{for(let _0x4088c2=0x0;;_0x4088c2++){if(_0x12b0ee<0x0){if(vD(_0x19b512||this['win']))_0x1c5b92=-0x1,_0x12b0ee=this['viewState']['heightMap']['height'];else{let _0x50688e=this['viewState']['scrollAnchorAt'](_0xa2b952);_0x1c5b92=_0x50688e['from'],_0x12b0ee=_0x50688e['top'];}}this['updateState']=0x1;let _0x274d8c=this['viewState']['measure']();if(!_0x274d8c&&!this['measureRequests']['length']&&null==this['viewState']['scrollTarget'])break;if(_0x4088c2>0x5){console['warn'](this['measureRequests']['length']?'Measure\x20loop\x20restarted\x20more\x20than\x205\x20times':'Viewport\x20failed\x20to\x20stabilize');break;}let _0x1087a5=[];0x4&_0x274d8c||([this['measureRequests'],_0x1087a5]=[_0x1087a5,this['measureRequests']]);let _0x3fcdf5=_0x1087a5['map'](_0x4055d1=>{try{return _0x4055d1['read'](this);}catch(_0x4570e4){return rQ(this['state'],_0x4570e4),$U;}}),_0x15cad2=EQ['create'](this,this['state'],[]),_0x328eae=!0x1;_0x15cad2['flags']|=_0x274d8c,_0x18681d?_0x18681d['flags']|=_0x274d8c:_0x18681d=_0x15cad2,this['updateState']=0x2,_0x15cad2['empty']||(this['updatePlugins'](_0x15cad2),this['inputState']['update'](_0x15cad2),this['updateAttrs'](),_0x328eae=this['docView']['update'](_0x15cad2),_0x328eae&&this['docViewUpdate']());for(let _0x502e9f=0x0;_0x502e9f<_0x1087a5['length'];_0x502e9f++)if(_0x3fcdf5[_0x502e9f]!=$U)try{let _0x493323=_0x1087a5[_0x502e9f];_0x493323['write']&&_0x493323['write'](_0x3fcdf5[_0x502e9f],this);}catch(_0x315954){rQ(this['state'],_0x315954);}if(_0x328eae&&this['docView']['updateSelection'](!0x0),!_0x15cad2['viewportChanged']&&0x0==this['measureRequests']['length']){if(this['viewState']['editorHeight']){if(this['viewState']['scrollTarget']){this['docView']['scrollIntoView'](this['viewState']['scrollTarget']),this['viewState']['scrollTarget']=null,_0x12b0ee=-0x1;continue;}{let _0x843d34=((_0x1c5b92<0x0?this['viewState']['heightMap']['height']:this['viewState']['lineBlockAt'](_0x1c5b92)['top'])-_0x12b0ee)/this['scaleY'];if((_0x843d34>0x1||_0x843d34<-0x1)&&(_0x19b512==this['scrollDOM']||this['hasFocus']||Math['max'](this['inputState']['lastWheelEvent'],this['inputState']['lastTouchTime'])>Date['now']()-0x64)){_0xa2b952+=_0x843d34,_0x19b512?_0x19b512['scrollTop']+=_0x843d34:this['win']['scrollBy'](0x0,_0x843d34),_0x12b0ee=-0x1;continue;}}}break;}}}finally{this['updateState']=0x0,this['measureScheduled']=-0x1;}if(_0x18681d&&!_0x18681d['empty']){for(let _0x34bafe of this['state']['facet'](qD))_0x34bafe(_0x18681d);}}get['themeClasses'](){return _U+'\x20'+(this['state']['facet'](vU)?TU:EU)+'\x20'+this['state']['facet'](yU);}['updateAttrs'](){let _0x9d374a=QU(this,uQ,{'class':'cm-editor'+(this['hasFocus']?'\x20cm-focused\x20':'\x20')+this['themeClasses']}),_0x15a95f={'spellcheck':'false','autocorrect':'off','autocapitalize':'off','writingsuggestions':'false','translate':'no','contenteditable':this['state']['facet'](oQ)?'true':'false','class':'cm-content','style':V$['tabSize']+':\x20'+this['state']['tabSize'],'role':'textbox','aria-multiline':'true'};this['state']['readOnly']&&(_0x15a95f['aria-readonly']='true'),QU(this,dQ,_0x15a95f);let _0x188b43=this['observer']['ignore'](()=>{let _0x300e20=Z$(this['contentDOM'],this['contentAttrs'],_0x15a95f),_0x505a68=Z$(this['dom'],this['editorAttrs'],_0x9d374a);return _0x300e20||_0x505a68;});return this['editorAttrs']=_0x9d374a,this['contentAttrs']=_0x15a95f,_0x188b43;}['showAnnouncements'](_0x527c58){let _0x5a492a=!0x0;for(let _0x289f49 of _0x527c58)for(let _0x22a3ed of _0x289f49['effects'])_0x22a3ed['is'](EditorView['announce'])&&(_0x5a492a&&(this['announceDOM']['textContent']=''),_0x5a492a=!0x1,this['announceDOM']['appendChild'](document['createElement']('div'))['textContent']=_0x22a3ed['value']);}['mountStyles'](){this['styleModules']=this['state']['facet'](vQ);let _0x3416e2=this['state']['facet'](EditorView['cspNonce']);v$['mount'](this['root'],this['styleModules']['concat'](IU)['reverse'](),_0x3416e2?{'nonce':_0x3416e2}: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'](_0x35b412){if(this['measureScheduled']<0x0&&(this['measureScheduled']=this['win']['requestAnimationFrame'](()=>this['measure']())),_0x35b412){if(this['measureRequests']['indexOf'](_0x35b412)>-0x1)return;if(null!=_0x35b412['key']){for(let _0x56e633=0x0;_0x56e633<this['measureRequests']['length'];_0x56e633++)if(this['measureRequests'][_0x56e633]['key']===_0x35b412['key'])return void(this['measureRequests'][_0x56e633]=_0x35b412);}this['measureRequests']['push'](_0x35b412);}}['plugin'](_0x18a5ee){let _0x32070c=this['pluginMap']['get'](_0x18a5ee);return(void 0x0===_0x32070c||_0x32070c&&_0x32070c['plugin']!=_0x18a5ee)&&this['pluginMap']['set'](_0x18a5ee,_0x32070c=this['plugins']['find'](_0x361db9=>_0x361db9['plugin']==_0x18a5ee)||null),_0x32070c&&_0x32070c['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'](_0x4b6e8e){return this['readMeasured'](),this['viewState']['elementAtHeight'](_0x4b6e8e);}['lineBlockAtHeight'](_0x117173){return this['readMeasured'](),this['viewState']['lineBlockAtHeight'](_0x117173);}get['viewportLineBlocks'](){return this['viewState']['viewportLines'];}['lineBlockAt'](_0x585f0f){return this['viewState']['lineBlockAt'](_0x585f0f);}get['contentHeight'](){return this['viewState']['contentHeight'];}['moveByChar'](_0x45131f,_0x3bb85e,_0x44d9b7){return nj(this,_0x45131f,ej(this,_0x45131f,_0x3bb85e,_0x44d9b7));}['moveByGroup'](_0x34f745,_0xcb0d55){return nj(this,_0x34f745,ej(this,_0x34f745,_0xcb0d55,_0x2a818f=>function(_0x2aa4a4,_0x57a71c,_0x48c2b3){let _0x1a985f=_0x2aa4a4['state']['charCategorizer'](_0x57a71c),_0x580b6d=_0x1a985f(_0x48c2b3);return _0x46095b=>{let _0x47c604=_0x1a985f(_0x46095b);return _0x580b6d==XL['Space']&&(_0x580b6d=_0x47c604),_0x580b6d==_0x47c604;};}(this,_0x34f745['head'],_0x2a818f)));}['visualLineSide'](_0x37e45e,_0x1c88c2){let _0x49c70d=this['bidiSpans'](_0x37e45e),_0x540f34=this['textDirectionAt'](_0x37e45e['from']),_0x339826=_0x49c70d[_0x1c88c2?_0x49c70d['length']-0x1:0x0];return oL['cursor'](_0x339826['side'](_0x1c88c2,_0x540f34)+_0x37e45e['from'],_0x339826['forward'](!_0x1c88c2,_0x540f34)?0x1:-0x1);}['moveToLineBoundary'](_0xa3a36c,_0x25334e,_0x19f656=!0x0){return function(_0x5045e2,_0x4c33db,_0x3d0388,_0x17aa20){let _0x3da7ef=tj(_0x5045e2,_0x4c33db['head'],_0x4c33db['assoc']||-0x1),_0x27dc0b=_0x17aa20&&_0x3da7ef['type']==q$['Text']&&(_0x5045e2['lineWrapping']||_0x3da7ef['widgetLineBreaks'])?_0x5045e2['coordsAtPos'](_0x4c33db['assoc']<0x0&&_0x4c33db['head']>_0x3da7ef['from']?_0x4c33db['head']-0x1:_0x4c33db['head']):null;if(_0x27dc0b){let _0x59662a=_0x5045e2['dom']['getBoundingClientRect'](),_0x2de097=_0x5045e2['textDirectionAt'](_0x3da7ef['from']),_0x40bbc9=_0x5045e2['posAtCoords']({'x':_0x3d0388==(_0x2de097==AD['LTR'])?_0x59662a['right']-0x1:_0x59662a['left']+0x1,'y':(_0x27dc0b['top']+_0x27dc0b['bottom'])/0x2});if(null!=_0x40bbc9)return oL['cursor'](_0x40bbc9,_0x3d0388?-0x1:0x1);}return oL['cursor'](_0x3d0388?_0x3da7ef['to']:_0x3da7ef['from'],_0x3d0388?-0x1:0x1);}(this,_0xa3a36c,_0x25334e,_0x19f656);}['moveVertically'](_0x1e7479,_0xf070ed,_0x32c16e){return nj(this,_0x1e7479,function(_0x3ea384,_0x1545b2,_0x592c49,_0x2aef4a){let _0x20d9a5=_0x1545b2['head'],_0x1daaff=_0x592c49?0x1:-0x1;if(_0x20d9a5==(_0x592c49?_0x3ea384['state']['doc']['length']:0x0))return oL['cursor'](_0x20d9a5,_0x1545b2['assoc']);let _0x3ccf5d,_0x4478e6=_0x1545b2['goalColumn'],_0x56f103=_0x3ea384['contentDOM']['getBoundingClientRect'](),_0x35fdff=_0x3ea384['coordsAtPos'](_0x20d9a5,_0x1545b2['assoc']||((_0x1545b2['empty']?_0x592c49:_0x1545b2['head']==_0x1545b2['from'])?0x1:-0x1)),_0x284d38=_0x3ea384['documentTop'];if(_0x35fdff)null==_0x4478e6&&(_0x4478e6=_0x35fdff['left']-_0x56f103['left']),_0x3ccf5d=_0x1daaff<0x0?_0x35fdff['top']:_0x35fdff['bottom'];else{let _0xc163e7=_0x3ea384['viewState']['lineBlockAt'](_0x20d9a5);null==_0x4478e6&&(_0x4478e6=Math['min'](_0x56f103['right']-_0x56f103['left'],_0x3ea384['defaultCharacterWidth']*(_0x20d9a5-_0xc163e7['from']))),_0x3ccf5d=(_0x1daaff<0x0?_0xc163e7['top']:_0xc163e7['bottom'])+_0x284d38;}let _0x5a1c02=_0x56f103['left']+_0x4478e6,_0x185688=_0x3ea384['viewState']['heightOracle']['textHeight']>>0x1,_0x1943f2=null!=_0x2aef4a?_0x2aef4a:_0x185688;for(let _0x1d7888=0x0;;_0x1d7888+=_0x185688){let _0x2f0943=_0x3ccf5d+(_0x1943f2+_0x1d7888)*_0x1daaff,_0x2c2506=oj(_0x3ea384,{'x':_0x5a1c02,'y':_0x2f0943},!0x1,_0x1daaff);if(_0x592c49?_0x2f0943>_0x56f103['bottom']:_0x2f0943<_0x56f103['top'])return oL['cursor'](_0x2c2506['pos'],_0x2c2506['assoc']);let _0x25904d=_0x3ea384['coordsAtPos'](_0x2c2506['pos'],_0x2c2506['assoc']),_0x45b29e=_0x25904d?(_0x25904d['top']+_0x25904d['bottom'])/0x2:0x0;if(!_0x25904d||(_0x592c49?_0x45b29e>_0x3ccf5d:_0x45b29e<_0x3ccf5d))return oL['cursor'](_0x2c2506['pos'],_0x2c2506['assoc'],void 0x0,_0x4478e6);}}(this,_0x1e7479,_0xf070ed,_0x32c16e));}['domAtPos'](_0x24e7b7,_0x48e3c0=0x1){return this['docView']['domAtPos'](_0x24e7b7,_0x48e3c0);}['posAtDOM'](_0x11c4a2,_0x57db3b=0x0){return this['docView']['posFromDOM'](_0x11c4a2,_0x57db3b);}['posAtCoords'](_0x1983b1,_0xb47482=!0x0){this['readMeasured']();let _0x38345a=oj(this,_0x1983b1,_0xb47482);return _0x38345a&&_0x38345a['pos'];}['posAndSideAtCoords'](_0x2c0e14,_0x218b07=!0x0){return this['readMeasured'](),oj(this,_0x2c0e14,_0x218b07);}['coordsAtPos'](_0x50015c,_0x568e2b=0x1){this['readMeasured']();let _0x175371=this['docView']['coordsAt'](_0x50015c,_0x568e2b);if(!_0x175371||_0x175371['left']==_0x175371['right'])return _0x175371;let _0x538f4f=this['state']['doc']['lineAt'](_0x50015c),_0x1c6e1f=this['bidiSpans'](_0x538f4f);return uD(_0x175371,_0x1c6e1f[LD['find'](_0x1c6e1f,_0x50015c-_0x538f4f['from'],-0x1,_0x568e2b)]['dir']==AD['LTR']==_0x568e2b>0x0);}['coordsForChar'](_0x42eee6){return this['readMeasured'](),this['docView']['coordsForChar'](_0x42eee6);}get['defaultCharacterWidth'](){return this['viewState']['heightOracle']['charWidth'];}get['defaultLineHeight'](){return this['viewState']['heightOracle']['lineHeight'];}get['textDirection'](){return this['viewState']['defaultTextDirection'];}['textDirectionAt'](_0x4f0657){return!this['state']['facet'](JD)||_0x4f0657<this['viewport']['from']||_0x4f0657>this['viewport']['to']?this['textDirection']:(this['readMeasured'](),this['docView']['textDirectionAt'](_0x4f0657));}get['lineWrapping'](){return this['viewState']['heightOracle']['lineWrapping'];}['bidiSpans'](_0x492fe5){if(_0x492fe5['length']>LU)return UD(_0x492fe5['length']);let _0x2f2e9b,_0x6c409d=this['textDirectionAt'](_0x492fe5['from']);for(let _0x31dfe4 of this['bidiCache'])if(_0x31dfe4['from']==_0x492fe5['from']&&_0x31dfe4['dir']==_0x6c409d&&(_0x31dfe4['fresh']||$D(_0x31dfe4['isolates'],_0x2f2e9b=wQ(this,_0x492fe5))))return _0x31dfe4['order'];_0x2f2e9b||(_0x2f2e9b=wQ(this,_0x492fe5));let _0x4abacf=function(_0x42e798,_0xce5936,_0x1119e6){if(!_0x42e798)return[new LD(0x0,0x0,_0xce5936==ID?0x1:0x0)];if(_0xce5936==SD&&!_0x1119e6['length']&&!ND['test'](_0x42e798))return UD(_0x42e798['length']);if(_0x1119e6['length']){for(;_0x42e798['length']>DD['length'];)DD[DD['length']]=0x100;}let _0x2f3d5a=[],_0x508a86=_0xce5936==SD?0x0:0x1;return jD(_0x42e798,_0x508a86,_0x508a86,_0x1119e6,0x0,_0x42e798['length'],_0x2f3d5a),_0x2f3d5a;}(_0x492fe5['text'],_0x6c409d,_0x2f2e9b);return this['bidiCache']['push'](new DU(_0x492fe5['from'],_0x492fe5['to'],_0x6c409d,_0x2f2e9b,!0x0,_0x4abacf)),_0x4abacf;}get['hasFocus'](){var _0x35e623;return(this['dom']['ownerDocument']['hasFocus']()||V$['safari']&&(null===(_0x35e623=this['inputState'])||void 0x0===_0x35e623?void 0x0:_0x35e623['lastContextMenu'])>Date['now']()-0x7530)&&this['root']['activeElement']==this['contentDOM'];}['focus'](){this['observer']['ignore'](()=>{wD(this['contentDOM']),this['docView']['updateSelection']();});}['setRoot'](_0x526471){this['_root']!=_0x526471&&(this['_root']=_0x526471,this['observer']['setWindow']((0x9==_0x526471['nodeType']?_0x526471:_0x526471['ownerDocument'])['defaultView']||window),this['mountStyles']());}['destroy'](){this['root']['activeElement']==this['contentDOM']&&this['contentDOM']['blur']();for(let _0x469212 of this['plugins'])_0x469212['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'](_0x1aefd2,_0x451f55={}){var _0x370fc9,_0x300e50,_0x2c294d,_0x237ae5;return sQ['of'](new iQ('number'==typeof _0x1aefd2?oL['cursor'](_0x1aefd2):_0x1aefd2,null!==(_0x370fc9=_0x451f55['y'])&&void 0x0!==_0x370fc9?_0x370fc9:'nearest',null!==(_0x300e50=_0x451f55['x'])&&void 0x0!==_0x300e50?_0x300e50:'nearest',null!==(_0x2c294d=_0x451f55['yMargin'])&&void 0x0!==_0x2c294d?_0x2c294d:0x5,null!==(_0x237ae5=_0x451f55['xMargin'])&&void 0x0!==_0x237ae5?_0x237ae5:0x5));}['scrollSnapshot'](){let {scrollTop:_0x3b526a,scrollLeft:_0x597522}=this['scrollDOM'],_0x4ddcee=this['viewState']['scrollAnchorAt'](_0x3b526a);return sQ['of'](new iQ(oL['cursor'](_0x4ddcee['from']),'start','start',_0x4ddcee['top']-_0x3b526a,_0x597522,!0x0));}['setTabFocusMode'](_0x100b4f){null==_0x100b4f?this['inputState']['tabFocusMode']=this['inputState']['tabFocusMode']<0x0?0x0:-0x1:'boolean'==typeof _0x100b4f?this['inputState']['tabFocusMode']=_0x100b4f?0x0:-0x1:0x0!=this['inputState']['tabFocusMode']&&(this['inputState']['tabFocusMode']=Date['now']()+_0x100b4f);}static['domEventHandlers'](_0x10556a){return lQ['define'](()=>({}),{'eventHandlers':_0x10556a});}static['domEventObservers'](_0x373737){return lQ['define'](()=>({}),{'eventObservers':_0x373737});}static['theme'](_0x5a4ec0,_0x2ed6c4){let _0x5a1671=v$['newName'](),_0x14323d=[yU['of'](_0x5a1671),vQ['of'](SU('.'+_0x5a1671,_0x5a4ec0))];return _0x2ed6c4&&_0x2ed6c4['dark']&&_0x14323d['push'](vU['of'](!0x0)),_0x14323d;}static['baseTheme'](_0x48ec15){return _L['lowest'](vQ['of'](SU('.'+_U,_0x48ec15,AU)));}static['findFromDOM'](_0x4718bc){var _0x54bf55;let _0x142f81=_0x4718bc['querySelector']('.cm-content'),_0x913fc6=_0x142f81&&AQ['get'](_0x142f81)||AQ['get'](_0x4718bc);return(null===(_0x54bf55=null==_0x913fc6?void 0x0:_0x913fc6['root'])||void 0x0===_0x54bf55?void 0x0:_0x54bf55['view'])||null;}};NU['styleModule']=vQ,NU['inputHandler']=WD,NU['clipboardInputFilter']=YD,NU['clipboardOutputFilter']=KD,NU['scrollHandler']=eQ,NU['focusChangeEffect']=zD,NU['perLineTextDirection']=JD,NU['exceptionSink']=XD,NU['updateListener']=qD,NU['editable']=oQ,NU['mouseSelectionStyle']=GD,NU['dragMovesSelection']=ZD,NU['clickAddsSelectionRange']=HD,NU['decorations']=fQ,NU['blockWrappers']=mQ,NU['outerDecorations']=pQ,NU['atomicRanges']=gQ,NU['bidiIsolatedRanges']=OQ,NU['cursorScrollMargin']=lL['define']({'combine':_0x431faa=>{let _0x1ef8de=0x5,_0x3afc4c=0x5;for(let _0xc31e0c of _0x431faa)'number'==typeof _0xc31e0c?_0x1ef8de=_0x3afc4c=_0xc31e0c:{x:_0x1ef8de,y:_0x3afc4c}=_0xc31e0c;return{'x':_0x1ef8de,'y':_0x3afc4c};}}),NU['scrollMargins']=bQ,NU['darkTheme']=vU,NU['cspNonce']=lL['define']({'combine':_0x3c4c08=>_0x3c4c08['length']?_0x3c4c08[0x0]:''}),NU['contentAttributes']=dQ,NU['editorAttributes']=uQ,NU['lineWrapping']=NU['contentAttributes']['of']({'class':'cm-lineWrapping'}),NU['announce']=jL['define']();const LU=0x1000,$U={};var DU=class CachedOrder{constructor(_0x2bd2fc,_0x445c7c,_0x2433fd,_0x1cea5d,_0x49b9c3,_0x3d7502){this['from']=_0x2bd2fc,this['to']=_0x445c7c,this['dir']=_0x2433fd,this['isolates']=_0x1cea5d,this['fresh']=_0x49b9c3,this['order']=_0x3d7502;}static['update'](_0x435e2f,_0x1ae0ca){if(_0x1ae0ca['empty']&&!_0x435e2f['some'](_0x523329=>_0x523329['fresh']))return _0x435e2f;let _0x3dfdb8=[],_0x2ae165=_0x435e2f['length']?_0x435e2f[_0x435e2f['length']-0x1]['dir']:AD['LTR'];for(let _0x5be0cc=Math['max'](0x0,_0x435e2f['length']-0xa);_0x5be0cc<_0x435e2f['length'];_0x5be0cc++){let _0x460ebe=_0x435e2f[_0x5be0cc];_0x460ebe['dir']!=_0x2ae165||_0x1ae0ca['touchesRange'](_0x460ebe['from'],_0x460ebe['to'])||_0x3dfdb8['push'](new CachedOrder(_0x1ae0ca['mapPos'](_0x460ebe['from'],0x1),_0x1ae0ca['mapPos'](_0x460ebe['to'],-0x1),_0x460ebe['dir'],_0x460ebe['isolates'],!0x1,_0x460ebe['order']));}return _0x3dfdb8;}};function QU(_0x802f85,_0x55f5ca,_0x19f5be){for(let _0x194f54=_0x802f85['state']['facet'](_0x55f5ca),_0x32bd0d=_0x194f54['length']-0x1;_0x32bd0d>=0x0;_0x32bd0d--){let _0x297de1=_0x194f54[_0x32bd0d],_0x37bbd5='function'==typeof _0x297de1?_0x297de1(_0x802f85):_0x297de1;_0x37bbd5&&B$(_0x37bbd5,_0x19f5be);}return _0x19f5be;}const jU=V$['mac']?'mac':V$['windows']?'win':V$['linux']?'linux':'key';function UU(_0x483ba2,_0x3f672e,_0x4cf51a){return _0x3f672e['altKey']&&(_0x483ba2='Alt-'+_0x483ba2),_0x3f672e['ctrlKey']&&(_0x483ba2='Ctrl-'+_0x483ba2),_0x3f672e['metaKey']&&(_0x483ba2='Meta-'+_0x483ba2),!0x1!==_0x4cf51a&&_0x3f672e['shiftKey']&&(_0x483ba2='Shift-'+_0x483ba2),_0x483ba2;}const VU=_L['default'](NU['domEventHandlers']({'keydown':(_0x51a191,_0x12fd1c)=>function(_0x47cf01,_0x3f99bd,_0x41c7c0,_0x3a69e8){GU=_0x3f99bd;let _0x5d9c84=function(_0x484b3b){var _0x11ac27=!(S$&&_0x484b3b['metaKey']&&_0x484b3b['shiftKey']&&!_0x484b3b['ctrlKey']&&!_0x484b3b['altKey']||I$&&_0x484b3b['shiftKey']&&_0x484b3b['key']&&0x1==_0x484b3b['key']['length']||'Unidentified'==_0x484b3b['key'])&&_0x484b3b['key']||(_0x484b3b['shiftKey']?A$:T$)[_0x484b3b['keyCode']]||_0x484b3b['key']||'Unidentified';return'Esc'==_0x11ac27&&(_0x11ac27='Escape'),'Del'==_0x11ac27&&(_0x11ac27='Delete'),'Left'==_0x11ac27&&(_0x11ac27='ArrowLeft'),'Up'==_0x11ac27&&(_0x11ac27='ArrowUp'),'Right'==_0x11ac27&&(_0x11ac27='ArrowRight'),'Down'==_0x11ac27&&(_0x11ac27='ArrowDown'),_0x11ac27;}(_0x3f99bd),_0x41aba4=qN(GN(_0x5d9c84,0x0))==_0x5d9c84['length']&&'\x20'!=_0x5d9c84,_0x384797='',_0x1ed963=!0x1,_0x5d416a=!0x1,_0x42364c=!0x1;HU&&HU['view']==_0x41c7c0&&HU['scope']==_0x3a69e8&&(_0x384797=HU['prefix']+'\x20',Tj['indexOf'](_0x3f99bd['keyCode'])<0x0&&(_0x5d416a=!0x0,HU=null));let _0x5a7944,_0x38cbb6,_0x34347b=new Set(),_0xbb8e18=_0x3ad2bf=>{if(_0x3ad2bf){for(let _0x481427 of _0x3ad2bf['run'])if(!_0x34347b['has'](_0x481427)&&(_0x34347b['add'](_0x481427),_0x481427(_0x41c7c0)))return _0x3ad2bf['stopPropagation']&&(_0x42364c=!0x0),!0x0;_0x3ad2bf['preventDefault']&&(_0x3ad2bf['stopPropagation']&&(_0x42364c=!0x0),_0x5d416a=!0x0);}return!0x1;},_0x43723c=_0x47cf01[_0x3a69e8];return _0x43723c&&(_0xbb8e18(_0x43723c[_0x384797+UU(_0x5d9c84,_0x3f99bd,!_0x41aba4)])?_0x1ed963=!0x0:!_0x41aba4||!(_0x3f99bd['altKey']||_0x3f99bd['metaKey']||_0x3f99bd['ctrlKey'])||V$['windows']&&_0x3f99bd['ctrlKey']&&_0x3f99bd['altKey']||V$['mac']&&_0x3f99bd['altKey']&&!_0x3f99bd['ctrlKey']&&!_0x3f99bd['metaKey']||!(_0x5a7944=T$[_0x3f99bd['keyCode']])||_0x5a7944==_0x5d9c84?_0x41aba4&&_0x3f99bd['shiftKey']&&_0xbb8e18(_0x43723c[_0x384797+UU(_0x5d9c84,_0x3f99bd,!0x0)])&&(_0x1ed963=!0x0):(_0xbb8e18(_0x43723c[_0x384797+UU(_0x5a7944,_0x3f99bd,!0x0)])||_0x3f99bd['shiftKey']&&(_0x38cbb6=A$[_0x3f99bd['keyCode']])!=_0x5d9c84&&_0x38cbb6!=_0x5a7944&&_0xbb8e18(_0x43723c[_0x384797+UU(_0x38cbb6,_0x3f99bd,!0x1)]))&&(_0x1ed963=!0x0),!_0x1ed963&&_0xbb8e18(_0x43723c['_any'])&&(_0x1ed963=!0x0)),_0x5d416a&&(_0x1ed963=!0x0),_0x1ed963&&_0x42364c&&_0x3f99bd['stopPropagation'](),(GU=null,_0x1ed963);}(function(_0x548634){let _0x49dc1f=_0x548634['facet'](BU),_0x2afaf4=FU['get'](_0x49dc1f);return _0x2afaf4||FU['set'](_0x49dc1f,_0x2afaf4=function(_0x46f7f6,_0x37cda6=jU){let _0x419d4a=Object['create'](null),_0x2a4487=Object['create'](null),_0x44eefc=(_0x290539,_0x44d458)=>{let _0x3ba272=_0x2a4487[_0x290539];if(null==_0x3ba272)_0x2a4487[_0x290539]=_0x44d458;else{if(_0x3ba272!=_0x44d458)throw new Error('Key\x20binding\x20'+_0x290539+'\x20is\x20used\x20both\x20as\x20a\x20regular\x20binding\x20and\x20as\x20a\x20multi-stroke\x20prefix');}},_0x37973e=(_0x5f561a,_0x1bc4c6,_0x47aa19,_0x1d65c9,_0x71d68b)=>{var _0x3b305d,_0x12536d;let _0x331eed=_0x419d4a[_0x5f561a]||(_0x419d4a[_0x5f561a]=Object['create'](null)),_0x523ea1=_0x1bc4c6['split'](/ (?!$)/)['map'](_0x144634=>function(_0x3d9872,_0x9a662d){const _0x43c070=_0x3d9872['split'](/-(?!$)/);let _0x1e9552,_0x4364cb,_0x5265a6,_0x186a11,_0x911faf=_0x43c070[_0x43c070['length']-0x1];'Space'==_0x911faf&&(_0x911faf='\x20');for(let _0xc6e318=0x0;_0xc6e318<_0x43c070['length']-0x1;++_0xc6e318){const _0x6eac23=_0x43c070[_0xc6e318];if(/^(cmd|meta|m)$/i['test'](_0x6eac23))_0x186a11=!0x0;else{if(/^a(lt)?$/i['test'](_0x6eac23))_0x1e9552=!0x0;else{if(/^(c|ctrl|control)$/i['test'](_0x6eac23))_0x4364cb=!0x0;else{if(/^s(hift)?$/i['test'](_0x6eac23))_0x5265a6=!0x0;else{if(!/^mod$/i['test'](_0x6eac23))throw new Error('Unrecognized\x20modifier\x20name:\x20'+_0x6eac23);'mac'==_0x9a662d?_0x186a11=!0x0:_0x4364cb=!0x0;}}}}}return _0x1e9552&&(_0x911faf='Alt-'+_0x911faf),_0x4364cb&&(_0x911faf='Ctrl-'+_0x911faf),_0x186a11&&(_0x911faf='Meta-'+_0x911faf),_0x5265a6&&(_0x911faf='Shift-'+_0x911faf),_0x911faf;}(_0x144634,_0x37cda6));for(let _0x20e02c=0x1;_0x20e02c<_0x523ea1['length'];_0x20e02c++){let _0x395eff=_0x523ea1['slice'](0x0,_0x20e02c)['join']('\x20');_0x44eefc(_0x395eff,!0x0),_0x331eed[_0x395eff]||(_0x331eed[_0x395eff]={'preventDefault':!0x0,'stopPropagation':!0x1,'run':[_0x1a99b9=>{let _0x415b43=HU={'view':_0x1a99b9,'prefix':_0x395eff,'scope':_0x5f561a};return setTimeout(()=>{HU==_0x415b43&&(HU=null);},ZU),!0x0;}]});}let _0x726311=_0x523ea1['join']('\x20');_0x44eefc(_0x726311,!0x1);let _0x2ada01=_0x331eed[_0x726311]||(_0x331eed[_0x726311]={'preventDefault':!0x1,'stopPropagation':!0x1,'run':(null===(_0x12536d=null===(_0x3b305d=_0x331eed['_any'])||void 0x0===_0x3b305d?void 0x0:_0x3b305d['run'])||void 0x0===_0x12536d?void 0x0:_0x12536d['slice']())||[]});_0x47aa19&&_0x2ada01['run']['push'](_0x47aa19),_0x1d65c9&&(_0x2ada01['preventDefault']=!0x0),_0x71d68b&&(_0x2ada01['stopPropagation']=!0x0);};for(let _0x3fa22e of _0x46f7f6){let _0x2410ec=_0x3fa22e['scope']?_0x3fa22e['scope']['split']('\x20'):['editor'];if(_0x3fa22e['any'])for(let _0x198c9e of _0x2410ec){let _0x48232d=_0x419d4a[_0x198c9e]||(_0x419d4a[_0x198c9e]=Object['create'](null));_0x48232d['_any']||(_0x48232d['_any']={'preventDefault':!0x1,'stopPropagation':!0x1,'run':[]});let {any:_0x24d10d}=_0x3fa22e;for(let _0x1e15eb in _0x48232d)_0x48232d[_0x1e15eb]['run']['push'](_0x487d5b=>_0x24d10d(_0x487d5b,GU));}let _0x13f419=_0x3fa22e[_0x37cda6]||_0x3fa22e['key'];if(_0x13f419){for(let _0x32180b of _0x2410ec)_0x37973e(_0x32180b,_0x13f419,_0x3fa22e['run'],_0x3fa22e['preventDefault'],_0x3fa22e['stopPropagation']),_0x3fa22e['shift']&&_0x37973e(_0x32180b,'Shift-'+_0x13f419,_0x3fa22e['shift'],_0x3fa22e['preventDefault'],_0x3fa22e['stopPropagation']);}}return _0x419d4a;}(_0x49dc1f['reduce']((_0x2a2358,_0x147194)=>_0x2a2358['concat'](_0x147194),[]))),_0x2afaf4;}(_0x12fd1c['state']),_0x51a191,_0x12fd1c,'editor')})),BU=lL['define']({'enables':VU}),FU=new WeakMap();let HU=null;const ZU=0xfa0;let GU=null;var XU=class RectangleMarker{constructor(_0x1bd25e,_0x4a9191,_0x1e8aec,_0x33227f,_0x17ab1d){this['className']=_0x1bd25e,this['left']=_0x4a9191,this['top']=_0x1e8aec,this['width']=_0x33227f,this['height']=_0x17ab1d;}['draw'](){let _0x10923c=document['createElement']('div');return _0x10923c['className']=this['className'],this['adjust'](_0x10923c),_0x10923c;}['update'](_0x9ed02a,_0x5ae30d){return _0x5ae30d['className']==this['className']&&(this['adjust'](_0x9ed02a),!0x0);}['adjust'](_0x2013ee){_0x2013ee['style']['left']=this['left']+'px',_0x2013ee['style']['top']=this['top']+'px',null!=this['width']&&(_0x2013ee['style']['width']=this['width']+'px'),_0x2013ee['style']['height']=this['height']+'px';}['eq'](_0x3353ad){return this['left']==_0x3353ad['left']&&this['top']==_0x3353ad['top']&&this['width']==_0x3353ad['width']&&this['height']==_0x3353ad['height']&&this['className']==_0x3353ad['className'];}static['forRange'](_0x6486a7,_0x3d209c,_0x1d8e3b){if(_0x1d8e3b['empty']){let _0x1acf8e=_0x6486a7['coordsAtPos'](_0x1d8e3b['head'],_0x1d8e3b['assoc']||0x1);if(!_0x1acf8e)return[];let _0x1e9105=qU(_0x6486a7);return[new RectangleMarker(_0x3d209c,_0x1acf8e['left']-_0x1e9105['left'],_0x1acf8e['top']-_0x1e9105['top'],null,_0x1acf8e['bottom']-_0x1acf8e['top'])];}return zU(_0x6486a7,_0x3d209c,_0x1d8e3b);}};function qU(_0x5b0269){let _0x128ad7=_0x5b0269['scrollDOM']['getBoundingClientRect']();return{'left':(_0x5b0269['textDirection']==AD['LTR']?_0x128ad7['left']:_0x128ad7['right']-_0x5b0269['scrollDOM']['clientWidth']*_0x5b0269['scaleX'])-_0x5b0269['scrollDOM']['scrollLeft']*_0x5b0269['scaleX'],'top':_0x128ad7['top']-_0x5b0269['scrollDOM']['scrollTop']*_0x5b0269['scaleY']};}function WU(_0x43e049,_0x11d737,_0x5e74f9,_0x557d1b){let _0x83b8ed=_0x43e049['coordsAtPos'](_0x11d737,0x2*_0x5e74f9);if(!_0x83b8ed)return _0x557d1b;let _0x3fe775=_0x43e049['dom']['getBoundingClientRect'](),_0x5afa0b=(_0x83b8ed['top']+_0x83b8ed['bottom'])/0x2,_0x503d43=_0x43e049['posAtCoords']({'x':_0x3fe775['left']+0x1,'y':_0x5afa0b}),_0x2c8025=_0x43e049['posAtCoords']({'x':_0x3fe775['right']-0x1,'y':_0x5afa0b});return null==_0x503d43||null==_0x2c8025?_0x557d1b:{'from':Math['max'](_0x557d1b['from'],Math['min'](_0x503d43,_0x2c8025)),'to':Math['min'](_0x557d1b['to'],Math['max'](_0x503d43,_0x2c8025))};}function zU(_0x30c4df,_0xec9843,_0x248e68){if(_0x248e68['to']<=_0x30c4df['viewport']['from']||_0x248e68['from']>=_0x30c4df['viewport']['to'])return[];let _0x1bac1c=Math['max'](_0x248e68['from'],_0x30c4df['viewport']['from']),_0xeecfeb=Math['min'](_0x248e68['to'],_0x30c4df['viewport']['to']),_0x323736=_0x30c4df['textDirection']==AD['LTR'],_0x504529=_0x30c4df['contentDOM'],_0x5d0150=_0x504529['getBoundingClientRect'](),_0x3c5fa7=qU(_0x30c4df),_0x19ca69=_0x504529['querySelector']('.cm-line'),_0x449183=_0x19ca69&&window['getComputedStyle'](_0x19ca69),_0x59039f=_0x5d0150['left']+(_0x449183?parseInt(_0x449183['paddingLeft'])+Math['min'](0x0,parseInt(_0x449183['textIndent'])):0x0),_0xf4a0fb=_0x5d0150['right']-(_0x449183?parseInt(_0x449183['paddingRight']):0x0),_0x1265b2=tj(_0x30c4df,_0x1bac1c,0x1),_0xa179a4=tj(_0x30c4df,_0xeecfeb,-0x1),_0x2084a7=_0x1265b2['type']==q$['Text']?_0x1265b2:null,_0x211d0c=_0xa179a4['type']==q$['Text']?_0xa179a4:null;if(_0x2084a7&&(_0x30c4df['lineWrapping']||_0x1265b2['widgetLineBreaks'])&&(_0x2084a7=WU(_0x30c4df,_0x1bac1c,0x1,_0x2084a7)),_0x211d0c&&(_0x30c4df['lineWrapping']||_0xa179a4['widgetLineBreaks'])&&(_0x211d0c=WU(_0x30c4df,_0xeecfeb,-0x1,_0x211d0c)),_0x2084a7&&_0x211d0c&&_0x2084a7['from']==_0x211d0c['from']&&_0x2084a7['to']==_0x211d0c['to'])return _0x2ad39a(_0xbcb123(_0x248e68['from'],_0x248e68['to'],_0x2084a7));{let _0x2f1514=_0x2084a7?_0xbcb123(_0x248e68['from'],null,_0x2084a7):_0x32e0c3(_0x1265b2,!0x1),_0x197fa9=_0x211d0c?_0xbcb123(null,_0x248e68['to'],_0x211d0c):_0x32e0c3(_0xa179a4,!0x0),_0x5b998e=[];return(_0x2084a7||_0x1265b2)['to']<(_0x211d0c||_0xa179a4)['from']-(_0x2084a7&&_0x211d0c?0x1:0x0)||_0x1265b2['widgetLineBreaks']>0x1&&_0x2f1514['bottom']+_0x30c4df['defaultLineHeight']/0x2<_0x197fa9['top']?_0x5b998e['push'](_0x4b4e31(_0x59039f,_0x2f1514['bottom'],_0xf4a0fb,_0x197fa9['top'])):_0x2f1514['bottom']<_0x197fa9['top']&&_0x30c4df['elementAtHeight']((_0x2f1514['bottom']+_0x197fa9['top'])/0x2)['type']==q$['Text']&&(_0x2f1514['bottom']=_0x197fa9['top']=(_0x2f1514['bottom']+_0x197fa9['top'])/0x2),_0x2ad39a(_0x2f1514)['concat'](_0x5b998e)['concat'](_0x2ad39a(_0x197fa9));}function _0x4b4e31(_0x188c9c,_0x159f48,_0x144c80,_0x5651ac){return new XU(_0xec9843,_0x188c9c-_0x3c5fa7['left'],_0x159f48-_0x3c5fa7['top'],Math['max'](0x0,_0x144c80-_0x188c9c),_0x5651ac-_0x159f48);}function _0x2ad39a({top:_0x33ea61,bottom:_0x5b2f19,horizontal:_0x438c97}){let _0x24aaea=[];for(let _0x2e148a=0x0;_0x2e148a<_0x438c97['length'];_0x2e148a+=0x2)_0x24aaea['push'](_0x4b4e31(_0x438c97[_0x2e148a],_0x33ea61,_0x438c97[_0x2e148a+0x1],_0x5b2f19));return _0x24aaea;}function _0xbcb123(_0xed947b,_0x516274,_0x2d071d){let _0x32df66=0x3b9aca00,_0x3aa3f4=-0x3b9aca00,_0x2f0cf3=[];function _0x291bcd(_0x54736c,_0xaf4e15,_0x2ec7b0,_0x3b030a,_0x4300da){let _0x53da4c=_0x30c4df['coordsAtPos'](_0x54736c,_0x54736c==_0x2d071d['to']?-0x2:0x2),_0x1258cf=_0x30c4df['coordsAtPos'](_0x2ec7b0,_0x2ec7b0==_0x2d071d['from']?0x2:-0x2);_0x53da4c&&_0x1258cf&&(_0x32df66=Math['min'](_0x53da4c['top'],_0x1258cf['top'],_0x32df66),_0x3aa3f4=Math['max'](_0x53da4c['bottom'],_0x1258cf['bottom'],_0x3aa3f4),_0x4300da==AD['LTR']?_0x2f0cf3['push'](_0x323736&&_0xaf4e15?_0x59039f:_0x53da4c['left'],_0x323736&&_0x3b030a?_0xf4a0fb:_0x1258cf['right']):_0x2f0cf3['push'](!_0x323736&&_0x3b030a?_0x59039f:_0x1258cf['left'],!_0x323736&&_0xaf4e15?_0xf4a0fb:_0x53da4c['right']));}let _0x4aa599=null!=_0xed947b?_0xed947b:_0x2d071d['from'],_0x52b832=null!=_0x516274?_0x516274:_0x2d071d['to'];for(let _0x2f9876 of _0x30c4df['visibleRanges'])if(_0x2f9876['to']>_0x4aa599&&_0x2f9876['from']<_0x52b832)for(let _0x265270=Math['max'](_0x2f9876['from'],_0x4aa599),_0x5182cf=Math['min'](_0x2f9876['to'],_0x52b832);;){let _0x33540c=_0x30c4df['state']['doc']['lineAt'](_0x265270);for(let _0x327de6 of _0x30c4df['bidiSpans'](_0x33540c)){let _0x18c5be=_0x327de6['from']+_0x33540c['from'],_0xf41751=_0x327de6['to']+_0x33540c['from'];if(_0x18c5be>=_0x5182cf)break;_0xf41751>_0x265270&&_0x291bcd(Math['max'](_0x18c5be,_0x265270),null==_0xed947b&&_0x18c5be<=_0x4aa599,Math['min'](_0xf41751,_0x5182cf),null==_0x516274&&_0xf41751>=_0x52b832,_0x327de6['dir']);}if(_0x265270=_0x33540c['to']+0x1,_0x265270>=_0x5182cf)break;}return 0x0==_0x2f0cf3['length']&&_0x291bcd(_0x4aa599,null==_0xed947b,_0x52b832,null==_0x516274,_0x30c4df['textDirection']),{'top':_0x32df66,'bottom':_0x3aa3f4,'horizontal':_0x2f0cf3};}function _0x32e0c3(_0x4e6edd,_0x986787){let _0x3bca5a=_0x5d0150['top']+(_0x986787?_0x4e6edd['top']:_0x4e6edd['bottom']);return{'top':_0x3bca5a,'bottom':_0x3bca5a,'horizontal':[]};}}var YU=class{constructor(_0x4d0669,_0x4ca54d){this['view']=_0x4d0669,this['layer']=_0x4ca54d,this['drawn']=[],this['scaleX']=0x1,this['scaleY']=0x1,this['measureReq']={'read':this['measure']['bind'](this),'write':this['draw']['bind'](this)},this['dom']=_0x4d0669['scrollDOM']['appendChild'](document['createElement']('div')),this['dom']['classList']['add']('cm-layer'),_0x4ca54d['above']&&this['dom']['classList']['add']('cm-layer-above'),_0x4ca54d['class']&&this['dom']['classList']['add'](_0x4ca54d['class']),this['scale'](),this['dom']['setAttribute']('aria-hidden','true'),this['setOrder'](_0x4d0669['state']),_0x4d0669['requestMeasure'](this['measureReq']),_0x4ca54d['mount']&&_0x4ca54d['mount'](this['dom'],_0x4d0669);}['update'](_0xeae994){_0xeae994['startState']['facet'](KU)!=_0xeae994['state']['facet'](KU)&&this['setOrder'](_0xeae994['state']),(this['layer']['update'](_0xeae994,this['dom'])||_0xeae994['geometryChanged'])&&(this['scale'](),_0xeae994['view']['requestMeasure'](this['measureReq']));}['docViewUpdate'](_0x50af5a){!0x1!==this['layer']['updateOnDocViewUpdate']&&_0x50af5a['requestMeasure'](this['measureReq']);}['setOrder'](_0x1b4f7c){let _0xcdfe2c=0x0,_0x3e24ae=_0x1b4f7c['facet'](KU);for(;_0xcdfe2c<_0x3e24ae['length']&&_0x3e24ae[_0xcdfe2c]!=this['layer'];)_0xcdfe2c++;this['dom']['style']['zIndex']=String((this['layer']['above']?0x96:-0x1)-_0xcdfe2c);}['measure'](){return this['layer']['markers'](this['view']);}['scale'](){let {scaleX:_0x75be76,scaleY:_0x926a61}=this['view'];_0x75be76==this['scaleX']&&_0x926a61==this['scaleY']||(this['scaleX']=_0x75be76,this['scaleY']=_0x926a61,this['dom']['style']['transform']='scale('+0x1/_0x75be76+',\x20'+0x1/_0x926a61+')');}['draw'](_0x3867cb){if(_0x3867cb['length']!=this['drawn']['length']||_0x3867cb['some']((_0x3ef61f,_0x2906da)=>{return _0x54a482=_0x3ef61f,_0x5e28b6=this['drawn'][_0x2906da],!(_0x54a482['constructor']==_0x5e28b6['constructor']&&_0x54a482['eq'](_0x5e28b6));var _0x54a482,_0x5e28b6;})){let _0x43b7ed=this['dom']['firstChild'],_0x4db5b5=0x0;for(let _0x44f0ec of _0x3867cb)_0x44f0ec['update']&&_0x43b7ed&&_0x44f0ec['constructor']&&this['drawn'][_0x4db5b5]['constructor']&&_0x44f0ec['update'](_0x43b7ed,this['drawn'][_0x4db5b5])?(_0x43b7ed=_0x43b7ed['nextSibling'],_0x4db5b5++):this['dom']['insertBefore'](_0x44f0ec['draw'](),_0x43b7ed);for(;_0x43b7ed;){let _0x263a41=_0x43b7ed['nextSibling'];_0x43b7ed['remove'](),_0x43b7ed=_0x263a41;}this['drawn']=_0x3867cb,V$['webkit']&&(this['dom']['style']['display']=this['dom']['firstChild']?'':'none');}}['destroy'](){this['layer']['destroy']&&this['layer']['destroy'](this['dom'],this['view']),this['dom']['remove']();}};const KU=lL['define']();function JU(_0xde3541){return[lQ['define'](_0x4a1308=>new YU(_0x4a1308,_0xde3541)),KU['of'](_0xde3541)];}const tV=lL['define']({'combine':_0x1114b9=>KL(_0x1114b9,{'cursorBlinkRate':0x4b0,'drawRangeCursor':!0x0,'iosSelectionHandles':!0x0},{'cursorBlinkRate':(_0x14bd27,_0x37f813)=>Math['min'](_0x14bd27,_0x37f813),'drawRangeCursor':(_0x200121,_0x4c0dff)=>_0x200121||_0x4c0dff})});function eV(_0x2a6b4e={}){return[tV['of'](_0x2a6b4e),sV,rV,oV,tQ['of'](!0x0)];}function iV(_0x165efd){return _0x165efd['startState']['facet'](tV)!=_0x165efd['state']['facet'](tV);}const sV=JU({'above':!0x0,'markers'(_0x3640d5){let {state:_0x2b273d}=_0x3640d5,_0x522773=_0x2b273d['facet'](tV),_0x45bd34=[];for(let _0x6b1d38 of _0x2b273d['selection']['ranges']){let _0x4ae147=_0x6b1d38==_0x2b273d['selection']['main'];if(_0x6b1d38['empty']||_0x522773['drawRangeCursor']&&!(_0x4ae147&&V$['ios']&&_0x522773['iosSelectionHandles'])){let _0x36567f=_0x4ae147?'cm-cursor\x20cm-cursor-primary':'cm-cursor\x20cm-cursor-secondary',_0x8b70ff=_0x6b1d38['empty']?_0x6b1d38:oL['cursor'](_0x6b1d38['head'],_0x6b1d38['assoc']);for(let _0x23a541 of XU['forRange'](_0x3640d5,_0x36567f,_0x8b70ff))_0x45bd34['push'](_0x23a541);}}return _0x45bd34;},'update'(_0x5b5988,_0x589930){_0x5b5988['transactions']['some'](_0x1648fc=>_0x1648fc['selection'])&&(_0x589930['style']['animationName']='cm-blink'==_0x589930['style']['animationName']?'cm-blink2':'cm-blink');let _0x252aff=iV(_0x5b5988);return _0x252aff&&nV(_0x5b5988['state'],_0x589930),_0x5b5988['docChanged']||_0x5b5988['selectionSet']||_0x252aff;},'mount'(_0x7446c8,_0x341e22){nV(_0x341e22['state'],_0x7446c8);},'class':'cm-cursorLayer'});function nV(_0x23d2c0,_0x161491){_0x161491['style']['animationDuration']=_0x23d2c0['facet'](tV)['cursorBlinkRate']+'ms';}const rV=JU({'above':!0x1,'markers'(_0x994369){let _0x2a8ddf=[],{main:_0x19a160,ranges:_0x5b8bc6}=_0x994369['state']['selection'];for(let _0x5e74ed of _0x5b8bc6)if(!_0x5e74ed['empty']){for(let _0xd2540b of XU['forRange'](_0x994369,'cm-selectionBackground',_0x5e74ed))_0x2a8ddf['push'](_0xd2540b);}if(V$['ios']&&!_0x19a160['empty']&&_0x994369['state']['facet'](tV)['iosSelectionHandles']){for(let _0x1b979b of XU['forRange'](_0x994369,'cm-selectionHandle\x20cm-selectionHandle-start',oL['cursor'](_0x19a160['from'],0x1)))_0x2a8ddf['push'](_0x1b979b);for(let _0x10a8c5 of XU['forRange'](_0x994369,'cm-selectionHandle\x20cm-selectionHandle-end',oL['cursor'](_0x19a160['to'],0x1)))_0x2a8ddf['push'](_0x10a8c5);}return _0x2a8ddf;},'update':(_0x2df011,_0x2f8da3)=>_0x2df011['docChanged']||_0x2df011['selectionSet']||_0x2df011['viewportChanged']||iV(_0x2df011),'class':'cm-selectionLayer'}),oV=_L['highest'](NU['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'}}}})),aV=jL['define']({'map':(_0x1ad5e8,_0x3d67b7)=>null==_0x1ad5e8?null:_0x3d67b7['mapPos'](_0x1ad5e8)}),cV=gL['define']({'create':()=>null,'update':(_0x2ae280,_0x5c29ad)=>(null!=_0x2ae280&&(_0x2ae280=_0x5c29ad['changes']['mapPos'](_0x2ae280)),_0x5c29ad['effects']['reduce']((_0xb1644b,_0x26604d)=>_0x26604d['is'](aV)?_0x26604d['value']:_0xb1644b,_0x2ae280))}),lV=lQ['fromClass'](class{constructor(_0x446e0a){this['view']=_0x446e0a,this['cursor']=null,this['measureReq']={'read':this['readPos']['bind'](this),'write':this['drawCursor']['bind'](this)};}['update'](_0x411621){var _0x5b102f;let _0x16c293=_0x411621['state']['field'](cV);null==_0x16c293?null!=this['cursor']&&(null===(_0x5b102f=this['cursor'])||void 0x0===_0x5b102f||_0x5b102f['remove'](),this['cursor']=null):(this['cursor']||(this['cursor']=this['view']['scrollDOM']['appendChild'](document['createElement']('div')),this['cursor']['className']='cm-dropCursor'),(_0x411621['startState']['field'](cV)!=_0x16c293||_0x411621['docChanged']||_0x411621['geometryChanged'])&&this['view']['requestMeasure'](this['measureReq']));}['readPos'](){let {view:_0x28f22e}=this,_0x20990e=_0x28f22e['state']['field'](cV),_0x4c90fd=null!=_0x20990e&&_0x28f22e['coordsAtPos'](_0x20990e);if(!_0x4c90fd)return null;let _0x200783=_0x28f22e['scrollDOM']['getBoundingClientRect']();return{'left':_0x4c90fd['left']-_0x200783['left']+_0x28f22e['scrollDOM']['scrollLeft']*_0x28f22e['scaleX'],'top':_0x4c90fd['top']-_0x200783['top']+_0x28f22e['scrollDOM']['scrollTop']*_0x28f22e['scaleY'],'height':_0x4c90fd['bottom']-_0x4c90fd['top']};}['drawCursor'](_0x5adf81){if(this['cursor']){let {scaleX:_0x2340d5,scaleY:_0xfeea14}=this['view'];_0x5adf81?(this['cursor']['style']['left']=_0x5adf81['left']/_0x2340d5+'px',this['cursor']['style']['top']=_0x5adf81['top']/_0xfeea14+'px',this['cursor']['style']['height']=_0x5adf81['height']/_0xfeea14+'px'):this['cursor']['style']['left']='-100000px';}}['destroy'](){this['cursor']&&this['cursor']['remove']();}['setDropPos'](_0x28ed2f){this['view']['state']['field'](cV)!=_0x28ed2f&&this['view']['dispatch']({'effects':aV['of'](_0x28ed2f)});}},{'eventObservers':{'dragover'(_0x341851){this['setDropPos'](this['view']['posAtCoords']({'x':_0x341851['clientX'],'y':_0x341851['clientY']}));},'dragleave'(_0x24846b){_0x24846b['target']!=this['view']['contentDOM']&&this['view']['contentDOM']['contains'](_0x24846b['relatedTarget'])||this['setDropPos'](null);},'dragend'(){this['setDropPos'](null);},'drop'(){this['setDropPos'](null);}}});function hV(){return[cV,lV];}function uV(_0x346746,_0x5e31ce,_0x28d3dd,_0x42c470,_0x4e854c){_0x5e31ce['lastIndex']=0x0;for(let _0x2c6e41,_0x28806c=_0x346746['iterRange'](_0x28d3dd,_0x42c470),_0x320cf6=_0x28d3dd;!_0x28806c['next']()['done'];_0x320cf6+=_0x28806c['value']['length'])if(!_0x28806c['lineBreak']){for(;_0x2c6e41=_0x5e31ce['exec'](_0x28806c['value']);)_0x4e854c(_0x320cf6+_0x2c6e41['index'],_0x2c6e41);}}var dV=class{constructor(_0x38261d){const {regexp:_0x221c5e,decoration:_0x31393c,decorate:_0x1cbdde,boundary:_0x472dd5,maxLength:_0x1cf042=0x3e8}=_0x38261d;if(!_0x221c5e['global'])throw new RangeError('The\x20regular\x20expression\x20given\x20to\x20MatchDecorator\x20should\x20have\x20its\x20\x27g\x27\x20flag\x20set');if(this['regexp']=_0x221c5e,_0x1cbdde)this['addMatch']=(_0x531baf,_0x2f7fcf,_0x360469,_0x5b28f1)=>_0x1cbdde(_0x5b28f1,_0x360469,_0x360469+_0x531baf[0x0]['length'],_0x531baf,_0x2f7fcf);else{if('function'==typeof _0x31393c)this['addMatch']=(_0x35f4ae,_0x30a33d,_0xe2ea5b,_0x2a6358)=>{let _0x4f6319=_0x31393c(_0x35f4ae,_0x30a33d,_0xe2ea5b);_0x4f6319&&_0x2a6358(_0xe2ea5b,_0xe2ea5b+_0x35f4ae[0x0]['length'],_0x4f6319);};else{if(!_0x31393c)throw new RangeError('Either\x20\x27decorate\x27\x20or\x20\x27decoration\x27\x20should\x20be\x20provided\x20to\x20MatchDecorator');this['addMatch']=(_0x4c0de4,_0x40c335,_0x421baf,_0x56b1a4)=>_0x56b1a4(_0x421baf,_0x421baf+_0x4c0de4[0x0]['length'],_0x31393c);}}this['boundary']=_0x472dd5,this['maxLength']=_0x1cf042;}['createDeco'](_0x19a5cd){let _0x4fa9a5=new r$(),_0x207331=_0x4fa9a5['add']['bind'](_0x4fa9a5);for(let {from:_0x12003f,to:_0x433582}of function(_0x20a046,_0x23a72b){let _0x278a1a=_0x20a046['visibleRanges'];if(0x1==_0x278a1a['length']&&_0x278a1a[0x0]['from']==_0x20a046['viewport']['from']&&_0x278a1a[0x0]['to']==_0x20a046['viewport']['to'])return _0x278a1a;let _0x4c2e49=[];for(let {from:_0xb3a1e4,to:_0x175ba0}of _0x278a1a)_0xb3a1e4=Math['max'](_0x20a046['state']['doc']['lineAt'](_0xb3a1e4)['from'],_0xb3a1e4-_0x23a72b),_0x175ba0=Math['min'](_0x20a046['state']['doc']['lineAt'](_0x175ba0)['to'],_0x175ba0+_0x23a72b),_0x4c2e49['length']&&_0x4c2e49[_0x4c2e49['length']-0x1]['to']>=_0xb3a1e4?_0x4c2e49[_0x4c2e49['length']-0x1]['to']=_0x175ba0:_0x4c2e49['push']({'from':_0xb3a1e4,'to':_0x175ba0});return _0x4c2e49;}(_0x19a5cd,this['maxLength']))uV(_0x19a5cd['state']['doc'],this['regexp'],_0x12003f,_0x433582,(_0x1b3543,_0x5930a9)=>this['addMatch'](_0x5930a9,_0x19a5cd,_0x1b3543,_0x207331));return _0x4fa9a5['finish']();}['updateDeco'](_0x10bae0,_0x57f375){let _0x518abd=0x3b9aca00,_0x5249ba=-0x1;return _0x10bae0['docChanged']&&_0x10bae0['changes']['iterChanges']((_0x1dd39d,_0x3aa1d3,_0x5ce8f0,_0x4a8b60)=>{_0x4a8b60>=_0x10bae0['view']['viewport']['from']&&_0x5ce8f0<=_0x10bae0['view']['viewport']['to']&&(_0x518abd=Math['min'](_0x5ce8f0,_0x518abd),_0x5249ba=Math['max'](_0x4a8b60,_0x5249ba));}),_0x10bae0['viewportMoved']||_0x5249ba-_0x518abd>0x3e8?this['createDeco'](_0x10bae0['view']):_0x5249ba>-0x1?this['updateRange'](_0x10bae0['view'],_0x57f375['map'](_0x10bae0['changes']),_0x518abd,_0x5249ba):_0x57f375;}['updateRange'](_0x17fdc1,_0x4a1678,_0x4c4689,_0xa485fc){for(let _0x489ac1 of _0x17fdc1['visibleRanges']){let _0x44250f=Math['max'](_0x489ac1['from'],_0x4c4689),_0x2881c7=Math['min'](_0x489ac1['to'],_0xa485fc);if(_0x2881c7>=_0x44250f){let _0x552756=_0x17fdc1['state']['doc']['lineAt'](_0x44250f),_0x244dd7=_0x552756['to']<_0x2881c7?_0x17fdc1['state']['doc']['lineAt'](_0x2881c7):_0x552756,_0x1fab91=Math['max'](_0x489ac1['from'],_0x552756['from']),_0x502af2=Math['min'](_0x489ac1['to'],_0x244dd7['to']);if(this['boundary']){for(;_0x44250f>_0x552756['from'];_0x44250f--)if(this['boundary']['test'](_0x552756['text'][_0x44250f-0x1-_0x552756['from']])){_0x1fab91=_0x44250f;break;}for(;_0x2881c7<_0x244dd7['to'];_0x2881c7++)if(this['boundary']['test'](_0x244dd7['text'][_0x2881c7-_0x244dd7['from']])){_0x502af2=_0x2881c7;break;}}let _0x1c7424,_0x2131ed=[],_0x5be5fa=(_0x355b32,_0x78eccf,_0x557740)=>_0x2131ed['push'](_0x557740['range'](_0x355b32,_0x78eccf));if(_0x552756==_0x244dd7){for(this['regexp']['lastIndex']=_0x1fab91-_0x552756['from'];(_0x1c7424=this['regexp']['exec'](_0x552756['text']))&&_0x1c7424['index']<_0x502af2-_0x552756['from'];)this['addMatch'](_0x1c7424,_0x17fdc1,_0x1c7424['index']+_0x552756['from'],_0x5be5fa);}else uV(_0x17fdc1['state']['doc'],this['regexp'],_0x1fab91,_0x502af2,(_0xd86519,_0xde5912)=>this['addMatch'](_0xde5912,_0x17fdc1,_0xd86519,_0x5be5fa));_0x4a1678=_0x4a1678['update']({'filterFrom':_0x1fab91,'filterTo':_0x502af2,'filter':(_0x4f35f2,_0x238862)=>_0x4f35f2<_0x1fab91||_0x238862>_0x502af2,'add':_0x2131ed});}}return _0x4a1678;}};const fV=null!=/x/['unicode']?'gu':'g',mV=new RegExp('[\x00-\x08\x0a-\x1f\x7f-\u009f­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\ufeff￹-￼]',fV),pV={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 gV=null;const OV=lL['define']({'combine'(_0x1e2a7c){let _0x2c6f54=KL(_0x1e2a7c,{'render':null,'specialChars':mV,'addSpecialChars':null});return(_0x2c6f54['replaceTabs']=!(function(){var _0x396890;if(null==gV&&'undefined'!=typeof document&&document['body']){let _0x1aeffe=document['body']['style'];gV=null!=(null!==(_0x396890=_0x1aeffe['tabSize'])&&void 0x0!==_0x396890?_0x396890:_0x1aeffe['MozTabSize']);}return gV||!0x1;}()))&&(_0x2c6f54['specialChars']=new RegExp('\x09|'+_0x2c6f54['specialChars']['source'],fV)),_0x2c6f54['addSpecialChars']&&(_0x2c6f54['specialChars']=new RegExp(_0x2c6f54['specialChars']['source']+'|'+_0x2c6f54['addSpecialChars']['source'],fV)),_0x2c6f54;}});function wV(_0x3b9611={}){return[OV['of'](_0x3b9611),bV||(bV=lQ['fromClass'](class{constructor(_0x4130cd){this['view']=_0x4130cd,this['decorations']=W$['none'],this['decorationCache']=Object['create'](null),this['decorator']=this['makeDecorator'](_0x4130cd['state']['facet'](OV)),this['decorations']=this['decorator']['createDeco'](_0x4130cd);}['makeDecorator'](_0x1cd041){return new dV({'regexp':_0x1cd041['specialChars'],'decoration':(_0x149389,_0x143d7e,_0xba0ef0)=>{let {doc:_0x364aab}=_0x143d7e['state'],_0x133225=GN(_0x149389[0x0],0x0);if(0x9==_0x133225){let _0x27eb6d=_0x364aab['lineAt'](_0xba0ef0),_0x479b35=_0x143d7e['state']['tabSize'],_0x571f63=g$(_0x27eb6d['text'],_0x479b35,_0xba0ef0-_0x27eb6d['from']);return W$['replace']({'widget':new vV((_0x479b35-_0x571f63%_0x479b35)*this['view']['defaultCharacterWidth']/this['view']['scaleX'])});}return this['decorationCache'][_0x133225]||(this['decorationCache'][_0x133225]=W$['replace']({'widget':new yV(_0x1cd041,_0x133225)}));},'boundary':_0x1cd041['replaceTabs']?void 0x0:/[^]/});}['update'](_0x2f4b27){let _0x51d4e1=_0x2f4b27['state']['facet'](OV);_0x2f4b27['startState']['facet'](OV)!=_0x51d4e1?(this['decorator']=this['makeDecorator'](_0x51d4e1),this['decorations']=this['decorator']['createDeco'](_0x2f4b27['view'])):this['decorations']=this['decorator']['updateDeco'](_0x2f4b27,this['decorations']);}},{'decorations':_0x278e74=>_0x278e74['decorations']}))];}let bV=null;var yV=class extends X${constructor(_0xcd8c99,_0x1da370){super(),this['options']=_0xcd8c99,this['code']=_0x1da370;}['eq'](_0x53ca1f){return _0x53ca1f['code']==this['code'];}['toDOM'](_0x3bf856){let _0x176d3c=function(_0x55f4db){return _0x55f4db>=0x20?'•':0xa==_0x55f4db?'␤':String['fromCharCode'](0x2400+_0x55f4db);}(this['code']),_0x3c80e1=_0x3bf856['state']['phrase']('Control\x20character')+'\x20'+(pV[this['code']]||'0x'+this['code']['toString'](0x10)),_0x57497a=this['options']['render']&&this['options']['render'](this['code'],_0x3c80e1,_0x176d3c);if(_0x57497a)return _0x57497a;let _0x341a9e=document['createElement']('span');return _0x341a9e['textContent']=_0x176d3c,_0x341a9e['title']=_0x3c80e1,_0x341a9e['setAttribute']('aria-label',_0x3c80e1),_0x341a9e['className']='cm-specialChar',_0x341a9e;}['ignoreEvent'](){return!0x1;}},vV=class extends X${constructor(_0x4c7b2c){super(),this['width']=_0x4c7b2c;}['eq'](_0x3c5371){return _0x3c5371['width']==this['width'];}['toDOM'](){let _0x51c559=document['createElement']('span');return _0x51c559['textContent']='\x09',_0x51c559['className']='cm-tab',_0x51c559['style']['width']=this['width']+'px',_0x51c559;}['ignoreEvent'](){return!0x1;}};function _V(){return TV;}const EV=W$['line']({'class':'cm-activeLine'}),TV=lQ['fromClass'](class{constructor(_0xffcd65){this['decorations']=this['getDeco'](_0xffcd65);}['update'](_0x21e2d9){(_0x21e2d9['docChanged']||_0x21e2d9['selectionSet'])&&(this['decorations']=this['getDeco'](_0x21e2d9['view']));}['getDeco'](_0x4a909f){let _0x1eae2c=-0x1,_0xfac9bb=[];for(let _0x34dbbf of _0x4a909f['state']['selection']['ranges']){let _0x3cc2e0=_0x4a909f['lineBlockAt'](_0x34dbbf['head']);_0x3cc2e0['from']>_0x1eae2c&&(_0xfac9bb['push'](EV['range'](_0x3cc2e0['from'])),_0x1eae2c=_0x3cc2e0['from']);}return W$['set'](_0xfac9bb);}},{'decorations':_0x100074=>_0x100074['decorations']}),AV=0x7d0;function SV(_0x14499f,_0x359658){let _0x5e634a=_0x14499f['posAtCoords']({'x':_0x359658['clientX'],'y':_0x359658['clientY']},!0x1),_0x5cdc61=_0x14499f['state']['doc']['lineAt'](_0x5e634a),_0x443379=_0x5e634a-_0x5cdc61['from'],_0x47e738=_0x443379>AV?-0x1:_0x443379==_0x5cdc61['length']?function(_0x59d2b6,_0x575346){let _0x2a2357=_0x59d2b6['coordsAtPos'](_0x59d2b6['viewport']['from']);return _0x2a2357?Math['round'](Math['abs']((_0x2a2357['left']-_0x575346)/_0x59d2b6['defaultCharacterWidth'])):-0x1;}(_0x14499f,_0x359658['clientX']):g$(_0x5cdc61['text'],_0x14499f['state']['tabSize'],_0x5e634a-_0x5cdc61['from']);return{'line':_0x5cdc61['number'],'col':_0x47e738,'off':_0x443379};}function IV(_0x49bb6f,_0x14d182){let _0x414ca4=SV(_0x49bb6f,_0x14d182),_0xf14072=_0x49bb6f['state']['selection'];return _0x414ca4?{'update'(_0xb8d977){if(_0xb8d977['docChanged']){let _0x369bc9=_0xb8d977['changes']['mapPos'](_0xb8d977['startState']['doc']['line'](_0x414ca4['line'])['from']),_0x3a95bf=_0xb8d977['state']['doc']['lineAt'](_0x369bc9);_0x414ca4={'line':_0x3a95bf['number'],'col':_0x414ca4['col'],'off':Math['min'](_0x414ca4['off'],_0x3a95bf['length'])},_0xf14072=_0xf14072['map'](_0xb8d977['changes']);}},'get'(_0x2f1c5c,_0x10329a,_0x5bac65){let _0x1deb90=SV(_0x49bb6f,_0x2f1c5c);if(!_0x1deb90)return _0xf14072;let _0x598eba=function(_0x20052c,_0x1c8e3a,_0x57bb0e){let _0x1c4cd6=Math['min'](_0x1c8e3a['line'],_0x57bb0e['line']),_0x18ed62=Math['max'](_0x1c8e3a['line'],_0x57bb0e['line']),_0x2fe96f=[];if(_0x1c8e3a['off']>AV||_0x57bb0e['off']>AV||_0x1c8e3a['col']<0x0||_0x57bb0e['col']<0x0){let _0xd5a907=Math['min'](_0x1c8e3a['off'],_0x57bb0e['off']),_0x680dca=Math['max'](_0x1c8e3a['off'],_0x57bb0e['off']);for(let _0x26f2c8=_0x1c4cd6;_0x26f2c8<=_0x18ed62;_0x26f2c8++){let _0x1fca62=_0x20052c['doc']['line'](_0x26f2c8);_0x1fca62['length']<=_0x680dca&&_0x2fe96f['push'](oL['range'](_0x1fca62['from']+_0xd5a907,_0x1fca62['to']+_0x680dca));}}else{let _0x927863=Math['min'](_0x1c8e3a['col'],_0x57bb0e['col']),_0x2257c8=Math['max'](_0x1c8e3a['col'],_0x57bb0e['col']);for(let _0x1500d4=_0x1c4cd6;_0x1500d4<=_0x18ed62;_0x1500d4++){let _0x3940ed=_0x20052c['doc']['line'](_0x1500d4),_0x3328b8=O$(_0x3940ed['text'],_0x927863,_0x20052c['tabSize'],!0x0);if(_0x3328b8<0x0)_0x2fe96f['push'](oL['cursor'](_0x3940ed['to']));else{let _0x6f86d0=O$(_0x3940ed['text'],_0x2257c8,_0x20052c['tabSize']);_0x2fe96f['push'](oL['range'](_0x3940ed['from']+_0x3328b8,_0x3940ed['from']+_0x6f86d0));}}}return _0x2fe96f;}(_0x49bb6f['state'],_0x414ca4,_0x1deb90);return _0x598eba['length']?_0x5bac65?oL['create'](_0x598eba['concat'](_0xf14072['ranges'])):oL['create'](_0x598eba):_0xf14072;}}:null;}function kV(_0x359459){let _0x4b5ad7=(null==_0x359459?void 0x0:_0x359459['eventFilter'])||(_0x2642e4=>_0x2642e4['altKey']&&0x0==_0x2642e4['button']);return NU['mouseSelectionStyle']['of']((_0x4a4bd7,_0x1e6637)=>_0x4b5ad7(_0x1e6637)?IV(_0x4a4bd7,_0x1e6637):null);}const xV={'Alt':[0x12,_0x3046f0=>!!_0x3046f0['altKey']],'Control':[0x11,_0x1ea911=>!!_0x1ea911['ctrlKey']],'Shift':[0x10,_0x5d6568=>!!_0x5d6568['shiftKey']],'Meta':[0x5b,_0x5adcec=>!!_0x5adcec['metaKey']]},CV={'style':'cursor:\x20crosshair'};function RV(_0x1788d5={}){let [_0xc08f6b,_0x57a5b5]=xV[_0x1788d5['key']||'Alt'],_0x2d14be=lQ['fromClass'](class{constructor(_0x2be0d8){this['view']=_0x2be0d8,this['isDown']=!0x1;}['set'](_0x1b94ed){this['isDown']!=_0x1b94ed&&(this['isDown']=_0x1b94ed,this['view']['update']([]));}},{'eventObservers':{'keydown'(_0x133598){this['set'](_0x133598['keyCode']==_0xc08f6b||_0x57a5b5(_0x133598));},'keyup'(_0x5e27e6){_0x5e27e6['keyCode']!=_0xc08f6b&&_0x57a5b5(_0x5e27e6)||this['set'](!0x1);},'mousemove'(_0x5b5ae8){this['set'](_0x57a5b5(_0x5b5ae8));}}});return[_0x2d14be,NU['contentAttributes']['of'](_0x34df16=>{var _0x295b70;return(null===(_0x295b70=_0x34df16['plugin'](_0x2d14be))||void 0x0===_0x295b70?void 0x0:_0x295b70['isDown'])?CV:null;})];}const PV='-10000px';var MV=class{constructor(_0x45fa2f,_0x1f5018,_0x4286d2,_0x48e586){this['facet']=_0x1f5018,this['createTooltipView']=_0x4286d2,this['removeTooltipView']=_0x48e586,this['input']=_0x45fa2f['state']['facet'](_0x1f5018),this['tooltips']=this['input']['filter'](t=>t);let _0x356f70=null;this['tooltipViews']=this['tooltips']['map'](t=>_0x356f70=_0x4286d2(t,_0x356f70));}['update'](_0x467f98,_0xd9414f){var _0x50286a;let _0x242e9f=_0x467f98['state']['facet'](this['facet']),_0x10536e=_0x242e9f['filter'](_0x1f9366=>_0x1f9366);if(_0x242e9f===this['input']){for(let t of this['tooltipViews'])t['update']&&t['update'](_0x467f98);return!0x1;}let _0x5dfd5c=[],_0xcd4ec4=_0xd9414f?[]:null;for(let _0x29f00f=0x0;_0x29f00f<_0x10536e['length'];_0x29f00f++){let _0x9087a7=_0x10536e[_0x29f00f],_0x3fbdcd=-0x1;if(_0x9087a7){for(let _0x30990e=0x0;_0x30990e<this['tooltips']['length'];_0x30990e++){let _0x5d7603=this['tooltips'][_0x30990e];_0x5d7603&&_0x5d7603['create']==_0x9087a7['create']&&(_0x3fbdcd=_0x30990e);}if(_0x3fbdcd<0x0)_0x5dfd5c[_0x29f00f]=this['createTooltipView'](_0x9087a7,_0x29f00f?_0x5dfd5c[_0x29f00f-0x1]:null),_0xcd4ec4&&(_0xcd4ec4[_0x29f00f]=!!_0x9087a7['above']);else{let _0x4dbb86=_0x5dfd5c[_0x29f00f]=this['tooltipViews'][_0x3fbdcd];_0xcd4ec4&&(_0xcd4ec4[_0x29f00f]=_0xd9414f[_0x3fbdcd]),_0x4dbb86['update']&&_0x4dbb86['update'](_0x467f98);}}}for(let t of this['tooltipViews'])_0x5dfd5c['indexOf'](t)<0x0&&(this['removeTooltipView'](t),null===(_0x50286a=t['destroy'])||void 0x0===_0x50286a||_0x50286a['call'](t));return _0xd9414f&&(_0xcd4ec4['forEach']((_0x269c97,_0x49dd81)=>_0xd9414f[_0x49dd81]=_0x269c97),_0xd9414f['length']=_0xcd4ec4['length']),this['input']=_0x242e9f,this['tooltips']=_0x10536e,this['tooltipViews']=_0x5dfd5c,!0x0;}};function NV(_0x149757){let _0x5a9764=_0x149757['dom']['ownerDocument']['documentElement'];return{'top':0x0,'left':0x0,'bottom':_0x5a9764['clientHeight'],'right':_0x5a9764['clientWidth']};}const LV=lL['define']({'combine':_0x593b89=>{var _0x3d49cc,_0x381572,_0x595f31;return{'position':V$['ios']?'absolute':(null===(_0x3d49cc=_0x593b89['find'](_0x52a684=>_0x52a684['position']))||void 0x0===_0x3d49cc?void 0x0:_0x3d49cc['position'])||'fixed','parent':(null===(_0x381572=_0x593b89['find'](_0x34fcf9=>_0x34fcf9['parent']))||void 0x0===_0x381572?void 0x0:_0x381572['parent'])||null,'tooltipSpace':(null===(_0x595f31=_0x593b89['find'](_0x3ee038=>_0x3ee038['tooltipSpace']))||void 0x0===_0x595f31?void 0x0:_0x595f31['tooltipSpace'])||NV};}}),$V=new WeakMap(),DV=lQ['fromClass'](class{constructor(_0x3f353){this['view']=_0x3f353,this['above']=[],this['inView']=!0x0,this['madeAbsolute']=!0x1,this['lastTransaction']=0x0,this['measureTimeout']=-0x1;let _0x222115=_0x3f353['state']['facet'](LV);this['position']=_0x222115['position'],this['parent']=_0x222115['parent'],this['classes']=_0x3f353['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 MV(_0x3f353,VV,(t,_0x4ffd83)=>this['createTooltip'](t,_0x4ffd83),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(_0x4bc3b8=>{Date['now']()>this['lastTransaction']-0x32&&_0x4bc3b8['length']>0x0&&_0x4bc3b8[_0x4bc3b8['length']-0x1]['intersectionRatio']<0x1&&this['measureSoon']();},{'threshold':[0x1]}):null,this['observeIntersection'](),_0x3f353['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 _0x479d29 of this['manager']['tooltipViews'])this['intersectionObserver']['observe'](_0x479d29['dom']);}}['measureSoon'](){this['measureTimeout']<0x0&&(this['measureTimeout']=setTimeout(()=>{this['measureTimeout']=-0x1,this['maybeMeasure']();},0x32));}['update'](_0x23a92d){_0x23a92d['transactions']['length']&&(this['lastTransaction']=Date['now']());let _0x472711=this['manager']['update'](_0x23a92d,this['above']);_0x472711&&this['observeIntersection']();let _0x4a6c83=_0x472711||_0x23a92d['geometryChanged'],_0x553846=_0x23a92d['state']['facet'](LV);if(_0x553846['position']!=this['position']&&!this['madeAbsolute']){this['position']=_0x553846['position'];for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']=this['position'];_0x4a6c83=!0x0;}if(_0x553846['parent']!=this['parent']){this['parent']&&this['container']['remove'](),this['parent']=_0x553846['parent'],this['createContainer']();for(let t of this['manager']['tooltipViews'])this['container']['appendChild'](t['dom']);_0x4a6c83=!0x0;}else this['parent']&&this['view']['themeClasses']!=this['classes']&&(this['classes']=this['container']['className']=this['view']['themeClasses']);_0x4a6c83&&this['maybeMeasure']();}['createTooltip'](_0x27cb2c,_0x5d8bf1){let _0x12c179=_0x27cb2c['create'](this['view']),_0xb7aa93=_0x5d8bf1?_0x5d8bf1['dom']:null;if(_0x12c179['dom']['classList']['add']('cm-tooltip'),_0x27cb2c['arrow']&&!_0x12c179['dom']['querySelector']('.cm-tooltip\x20>\x20.cm-tooltip-arrow')){let _0x3b2b0c=document['createElement']('div');_0x3b2b0c['className']='cm-tooltip-arrow',_0x12c179['dom']['appendChild'](_0x3b2b0c);}return _0x12c179['dom']['style']['position']=this['position'],_0x12c179['dom']['style']['top']=PV,_0x12c179['dom']['style']['left']='0px',this['container']['insertBefore'](_0x12c179['dom'],_0xb7aa93),_0x12c179['mount']&&_0x12c179['mount'](this['view']),this['resizeObserver']&&this['resizeObserver']['observe'](_0x12c179['dom']),_0x12c179;}['destroy'](){var _0x9ef54d,_0x481654,_0x28a581;this['view']['win']['removeEventListener']('resize',this['measureSoon']);for(let _0x436981 of this['manager']['tooltipViews'])_0x436981['dom']['remove'](),null===(_0x9ef54d=_0x436981['destroy'])||void 0x0===_0x9ef54d||_0x9ef54d['call'](_0x436981);this['parent']&&this['container']['remove'](),null===(_0x481654=this['resizeObserver'])||void 0x0===_0x481654||_0x481654['disconnect'](),null===(_0x28a581=this['intersectionObserver'])||void 0x0===_0x28a581||_0x28a581['disconnect'](),clearTimeout(this['measureTimeout']);}['readMeasure'](){let _0xeea68b=0x1,_0x265209=0x1,_0x5bd788=!0x1;if('fixed'==this['position']&&this['manager']['tooltipViews']['length']){let {dom:_0x37a64e}=this['manager']['tooltipViews'][0x0];if(V$['safari']){let _0x41d641=_0x37a64e['getBoundingClientRect']();_0x5bd788=Math['abs'](_0x41d641['top']+0x2710)>0x1||Math['abs'](_0x41d641['left'])>0x1;}else _0x5bd788=!!_0x37a64e['offsetParent']&&_0x37a64e['offsetParent']!=this['container']['ownerDocument']['body'];}if(_0x5bd788||'absolute'==this['position']){if(this['parent']){let _0x31be08=this['parent']['getBoundingClientRect']();_0x31be08['width']&&_0x31be08['height']&&(_0xeea68b=_0x31be08['width']/this['parent']['offsetWidth'],_0x265209=_0x31be08['height']/this['parent']['offsetHeight']);}else({scaleX:_0xeea68b,scaleY:_0x265209}=this['view']['viewState']);}let _0x4ac4b2=this['view']['scrollDOM']['getBoundingClientRect'](),_0x43769a=yQ(this['view']);return{'visible':{'left':_0x4ac4b2['left']+_0x43769a['left'],'top':_0x4ac4b2['top']+_0x43769a['top'],'right':_0x4ac4b2['right']-_0x43769a['right'],'bottom':_0x4ac4b2['bottom']-_0x43769a['bottom']},'parent':this['parent']?this['container']['getBoundingClientRect']():this['view']['dom']['getBoundingClientRect'](),'pos':this['manager']['tooltips']['map']((t,_0x2e869f)=>{let _0x2b4420=this['manager']['tooltipViews'][_0x2e869f];return _0x2b4420['getCoords']?_0x2b4420['getCoords'](t['pos']):this['view']['coordsAtPos'](t['pos']);}),'size':this['manager']['tooltipViews']['map'](({dom:_0x2b2f48})=>_0x2b2f48['getBoundingClientRect']()),'space':this['view']['state']['facet'](LV)['tooltipSpace'](this['view']),'scaleX':_0xeea68b,'scaleY':_0x265209,'makeAbsolute':_0x5bd788};}['writeMeasure'](_0x199655){var _0x58d11a;if(_0x199655['makeAbsolute']){this['madeAbsolute']=!0x0,this['position']='absolute';for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']='absolute';}let {visible:_0x1f5f85,space:_0x2b7f66,scaleX:_0x26a2df,scaleY:_0x241144}=_0x199655,_0x524a56=[];for(let _0x814988=0x0;_0x814988<this['manager']['tooltips']['length'];_0x814988++){let _0x24979f=this['manager']['tooltips'][_0x814988],_0x1086ec=this['manager']['tooltipViews'][_0x814988],{dom:_0xc46e1e}=_0x1086ec,_0x47f31c=_0x199655['pos'][_0x814988],_0x2b7c9f=_0x199655['size'][_0x814988];if(!_0x47f31c||!0x1!==_0x24979f['clip']&&(_0x47f31c['bottom']<=Math['max'](_0x1f5f85['top'],_0x2b7f66['top'])||_0x47f31c['top']>=Math['min'](_0x1f5f85['bottom'],_0x2b7f66['bottom'])||_0x47f31c['right']<Math['max'](_0x1f5f85['left'],_0x2b7f66['left'])-0.1||_0x47f31c['left']>Math['min'](_0x1f5f85['right'],_0x2b7f66['right'])+0.1)){_0xc46e1e['style']['top']=PV;continue;}let _0x19c362=_0x24979f['arrow']?_0x1086ec['dom']['querySelector']('.cm-tooltip-arrow'):null,_0xae6577=_0x19c362?0x7:0x0,_0x2074bc=_0x2b7c9f['right']-_0x2b7c9f['left'],_0x4e495a=null!==(_0x58d11a=$V['get'](_0x1086ec))&&void 0x0!==_0x58d11a?_0x58d11a:_0x2b7c9f['bottom']-_0x2b7c9f['top'],_0x13519e=_0x1086ec['offset']||UV,_0x4eff9a=this['view']['textDirection']==AD['LTR'],_0x27128b=_0x2b7c9f['width']>_0x2b7f66['right']-_0x2b7f66['left']?_0x4eff9a?_0x2b7f66['left']:_0x2b7f66['right']-_0x2b7c9f['width']:_0x4eff9a?Math['max'](_0x2b7f66['left'],Math['min'](_0x47f31c['left']-(_0x19c362?0xe:0x0)+_0x13519e['x'],_0x2b7f66['right']-_0x2074bc)):Math['min'](Math['max'](_0x2b7f66['left'],_0x47f31c['left']-_0x2074bc+(_0x19c362?0xe:0x0)-_0x13519e['x']),_0x2b7f66['right']-_0x2074bc),_0x5a2828=this['above'][_0x814988];!_0x24979f['strictSide']&&(_0x5a2828?_0x47f31c['top']-_0x4e495a-_0xae6577-_0x13519e['y']<_0x2b7f66['top']:_0x47f31c['bottom']+_0x4e495a+_0xae6577+_0x13519e['y']>_0x2b7f66['bottom'])&&_0x5a2828==_0x2b7f66['bottom']-_0x47f31c['bottom']>_0x47f31c['top']-_0x2b7f66['top']&&(_0x5a2828=this['above'][_0x814988]=!_0x5a2828);let _0x18a639=(_0x5a2828?_0x47f31c['top']-_0x2b7f66['top']:_0x2b7f66['bottom']-_0x47f31c['bottom'])-_0xae6577;if(_0x18a639<_0x4e495a&&!0x1!==_0x1086ec['resize']){if(_0x18a639<this['view']['defaultLineHeight']){_0xc46e1e['style']['top']=PV;continue;}$V['set'](_0x1086ec,_0x4e495a),_0xc46e1e['style']['height']=(_0x4e495a=_0x18a639)/_0x241144+'px';}else _0xc46e1e['style']['height']&&(_0xc46e1e['style']['height']='');let _0x48a579=_0x5a2828?_0x47f31c['top']-_0x4e495a-_0xae6577-_0x13519e['y']:_0x47f31c['bottom']+_0xae6577+_0x13519e['y'],_0x55e5e8=_0x27128b+_0x2074bc;if(!0x0!==_0x1086ec['overlap']){for(let _0x302953 of _0x524a56)_0x302953['left']<_0x55e5e8&&_0x302953['right']>_0x27128b&&_0x302953['top']<_0x48a579+_0x4e495a&&_0x302953['bottom']>_0x48a579&&(_0x48a579=_0x5a2828?_0x302953['top']-_0x4e495a-0x2-_0xae6577:_0x302953['bottom']+_0xae6577+0x2);}if('absolute'==this['position']?(_0xc46e1e['style']['top']=(_0x48a579-_0x199655['parent']['top'])/_0x241144+'px',QV(_0xc46e1e,(_0x27128b-_0x199655['parent']['left'])/_0x26a2df)):(_0xc46e1e['style']['top']=_0x48a579/_0x241144+'px',QV(_0xc46e1e,_0x27128b/_0x26a2df)),_0x19c362){let _0x29a33a=_0x47f31c['left']+(_0x4eff9a?_0x13519e['x']:-_0x13519e['x'])-(_0x27128b+0xe-0x7);_0x19c362['style']['left']=_0x29a33a/_0x26a2df+'px';}!0x0!==_0x1086ec['overlap']&&_0x524a56['push']({'left':_0x27128b,'top':_0x48a579,'right':_0x55e5e8,'bottom':_0x48a579+_0x4e495a}),_0xc46e1e['classList']['toggle']('cm-tooltip-above',_0x5a2828),_0xc46e1e['classList']['toggle']('cm-tooltip-below',!_0x5a2828),_0x1086ec['positioned']&&_0x1086ec['positioned'](_0x199655['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 _0x345809 of this['manager']['tooltipViews'])_0x345809['dom']['style']['top']=PV;}}},{'eventObservers':{'scroll'(){this['maybeMeasure']();}}});function QV(_0x15ce6a,_0x1aaf88){let _0x5d8938=parseInt(_0x15ce6a['style']['left'],0xa);(isNaN(_0x5d8938)||Math['abs'](_0x1aaf88-_0x5d8938)>0x1)&&(_0x15ce6a['style']['left']=_0x1aaf88+'px');}const jV=NU['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'}}}),UV={'x':0x0,'y':0x0},VV=lL['define']({'enables':[DV,jV]});function BV(_0x50bfd3,_0x3157e1){let _0x491fba=_0x50bfd3['plugin'](DV);if(!_0x491fba)return null;let _0x19682d=_0x491fba['manager']['tooltips']['indexOf'](_0x3157e1);return _0x19682d<0x0?null:_0x491fba['manager']['tooltipViews'][_0x19682d];}var FV=class extends JL{['compare'](_0x19db59){return this==_0x19db59||this['constructor']==_0x19db59['constructor']&&this['eq'](_0x19db59);}['eq'](_0x33c7bf){return!0x1;}['destroy'](_0x1560ac){}};FV['prototype']['elementClass']='',FV['prototype']['toDOM']=void 0x0,FV['prototype']['mapMode']=zN['TrackBefore'],FV['prototype']['startSide']=FV['prototype']['endSide']=-0x1,FV['prototype']['point']=!0x0;const HV=lL['define'](),ZV=lL['define'](),GV={'class':'','renderEmptyElements':!0x1,'elementStyle':'','markers':()=>n$['empty'],'lineMarker':()=>null,'widgetMarker':()=>null,'lineMarkerChange':null,'initialSpacer':null,'updateSpacer':null,'domEventHandlers':{},'side':'before'},XV=lL['define']();function qV(_0x552879){return[zV(),XV['of']({...GV,..._0x552879})];}const WV=lL['define']({'combine':_0x57bbbb=>_0x57bbbb['some'](_0x33f51f=>_0x33f51f)});function zV(_0x35fbaf){let _0x477c09=[YV];return _0x35fbaf&&!0x1===_0x35fbaf['fixed']&&_0x477c09['push'](WV['of'](!0x0)),_0x477c09;}const YV=lQ['fromClass'](class{constructor(_0xcbeec7){this['view']=_0xcbeec7,this['domAfter']=null,this['prevViewport']=_0xcbeec7['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']=_0xcbeec7['state']['facet'](XV)['map'](_0x406a72=>new eB(_0xcbeec7,_0x406a72)),this['fixed']=!_0xcbeec7['state']['facet'](WV);for(let _0x5dc1ef of this['gutters'])'after'==_0x5dc1ef['config']['side']?this['getDOMAfter']()['appendChild'](_0x5dc1ef['dom']):this['dom']['appendChild'](_0x5dc1ef['dom']);this['fixed']&&(this['dom']['style']['position']='sticky'),this['syncGutters'](!0x1),_0xcbeec7['scrollDOM']['insertBefore'](this['dom'],_0xcbeec7['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'](_0x43ba50){if(this['updateGutters'](_0x43ba50)){let _0x33ca92=this['prevViewport'],_0x3a1e7b=_0x43ba50['view']['viewport'],_0x5728d8=Math['min'](_0x33ca92['to'],_0x3a1e7b['to'])-Math['max'](_0x33ca92['from'],_0x3a1e7b['from']);this['syncGutters'](_0x5728d8<0.8*(_0x3a1e7b['to']-_0x3a1e7b['from']));}if(_0x43ba50['geometryChanged']){let _0x1e89aa=this['view']['contentHeight']/this['view']['scaleY']+'px';this['dom']['style']['minHeight']=_0x1e89aa,this['domAfter']&&(this['domAfter']['style']['minHeight']=_0x1e89aa);}this['view']['state']['facet'](WV)!=!this['fixed']&&(this['fixed']=!this['fixed'],this['dom']['style']['position']=this['fixed']?'sticky':'',this['domAfter']&&(this['domAfter']['style']['position']=this['fixed']?'sticky':'')),this['prevViewport']=_0x43ba50['view']['viewport'];}['syncGutters'](_0x451505){let _0x56b4f0=this['dom']['nextSibling'];_0x451505&&(this['dom']['remove'](),this['domAfter']&&this['domAfter']['remove']());let _0xde2a86=n$['iter'](this['view']['state']['facet'](HV),this['view']['viewport']['from']),_0x57d5a6=[],_0x453233=this['gutters']['map'](_0x5e1a7a=>new tB(_0x5e1a7a,this['view']['viewport'],-this['view']['documentPadding']['top']));for(let _0x42ec13 of this['view']['viewportLineBlocks'])if(_0x57d5a6['length']&&(_0x57d5a6=[]),Array['isArray'](_0x42ec13['type'])){let _0x5e8d70=!0x0;for(let _0x143dae of _0x42ec13['type'])if(_0x143dae['type']==q$['Text']&&_0x5e8d70){JV(_0xde2a86,_0x57d5a6,_0x143dae['from']);for(let _0x5e1cd8 of _0x453233)_0x5e1cd8['line'](this['view'],_0x143dae,_0x57d5a6);_0x5e8d70=!0x1;}else{if(_0x143dae['widget']){for(let _0x250c13 of _0x453233)_0x250c13['widget'](this['view'],_0x143dae);}}}else{if(_0x42ec13['type']==q$['Text']){JV(_0xde2a86,_0x57d5a6,_0x42ec13['from']);for(let _0x4c7736 of _0x453233)_0x4c7736['line'](this['view'],_0x42ec13,_0x57d5a6);}else{if(_0x42ec13['widget']){for(let _0x1d8546 of _0x453233)_0x1d8546['widget'](this['view'],_0x42ec13);}}}for(let _0x31eb51 of _0x453233)_0x31eb51['finish']();_0x451505&&(this['view']['scrollDOM']['insertBefore'](this['dom'],_0x56b4f0),this['domAfter']&&this['view']['scrollDOM']['appendChild'](this['domAfter']));}['updateGutters'](_0x389a91){let _0x443c46=_0x389a91['startState']['facet'](XV),_0x548e56=_0x389a91['state']['facet'](XV),_0x201f7a=_0x389a91['docChanged']||_0x389a91['heightChanged']||_0x389a91['viewportChanged']||!n$['eq'](_0x389a91['startState']['facet'](HV),_0x389a91['state']['facet'](HV),_0x389a91['view']['viewport']['from'],_0x389a91['view']['viewport']['to']);if(_0x443c46==_0x548e56){for(let _0x564923 of this['gutters'])_0x564923['update'](_0x389a91)&&(_0x201f7a=!0x0);}else{_0x201f7a=!0x0;let _0x2654b3=[];for(let _0x22d8c1 of _0x548e56){let _0x3540d6=_0x443c46['indexOf'](_0x22d8c1);_0x3540d6<0x0?_0x2654b3['push'](new eB(this['view'],_0x22d8c1)):(this['gutters'][_0x3540d6]['update'](_0x389a91),_0x2654b3['push'](this['gutters'][_0x3540d6]));}for(let _0x1c3db6 of this['gutters'])_0x1c3db6['dom']['remove'](),_0x2654b3['indexOf'](_0x1c3db6)<0x0&&_0x1c3db6['destroy']();for(let _0x395602 of _0x2654b3)'after'==_0x395602['config']['side']?this['getDOMAfter']()['appendChild'](_0x395602['dom']):this['dom']['appendChild'](_0x395602['dom']);this['gutters']=_0x2654b3;}return _0x201f7a;}['destroy'](){for(let _0x3e8bef of this['gutters'])_0x3e8bef['destroy']();this['dom']['remove'](),this['domAfter']&&this['domAfter']['remove']();}},{'provide':_0x488112=>NU['scrollMargins']['of'](_0x32a5d5=>{let _0x10f171=_0x32a5d5['plugin'](_0x488112);if(!_0x10f171||0x0==_0x10f171['gutters']['length']||!_0x10f171['fixed'])return null;let _0x1105ef=_0x10f171['dom']['offsetWidth']*_0x32a5d5['scaleX'],_0x3536d6=_0x10f171['domAfter']?_0x10f171['domAfter']['offsetWidth']*_0x32a5d5['scaleX']:0x0;return _0x32a5d5['textDirection']==AD['LTR']?{'left':_0x1105ef,'right':_0x3536d6}:{'right':_0x1105ef,'left':_0x3536d6};})});function KV(_0x527b33){return Array['isArray'](_0x527b33)?_0x527b33:[_0x527b33];}function JV(_0xe82739,_0x148600,_0x2c6f9d){for(;_0xe82739['value']&&_0xe82739['from']<=_0x2c6f9d;)_0xe82739['from']==_0x2c6f9d&&_0x148600['push'](_0xe82739['value']),_0xe82739['next']();}var tB=class{constructor(_0x18e5bf,_0x472c7a,_0x126572){this['gutter']=_0x18e5bf,this['height']=_0x126572,this['i']=0x0,this['cursor']=n$['iter'](_0x18e5bf['markers'],_0x472c7a['from']);}['addElement'](_0x642d43,_0x37f47b,_0x5ca123){let {gutter:_0x5466ac}=this,_0x4ec141=(_0x37f47b['top']-this['height'])/_0x642d43['scaleY'],_0x228dff=_0x37f47b['height']/_0x642d43['scaleY'];if(this['i']==_0x5466ac['elements']['length']){let _0xe219e1=new iB(_0x642d43,_0x228dff,_0x4ec141,_0x5ca123);_0x5466ac['elements']['push'](_0xe219e1),_0x5466ac['dom']['appendChild'](_0xe219e1['dom']);}else _0x5466ac['elements'][this['i']]['update'](_0x642d43,_0x228dff,_0x4ec141,_0x5ca123);this['height']=_0x37f47b['bottom'],this['i']++;}['line'](_0x27fcfe,_0xbe11a0,_0xced65b){let _0x3da81b=[];JV(this['cursor'],_0x3da81b,_0xbe11a0['from']),_0xced65b['length']&&(_0x3da81b=_0x3da81b['concat'](_0xced65b));let _0x59927a=this['gutter']['config']['lineMarker'](_0x27fcfe,_0xbe11a0,_0x3da81b);_0x59927a&&_0x3da81b['unshift'](_0x59927a);let _0x54929b=this['gutter'];(0x0!=_0x3da81b['length']||_0x54929b['config']['renderEmptyElements'])&&this['addElement'](_0x27fcfe,_0xbe11a0,_0x3da81b);}['widget'](_0x126ec7,_0x58db0c){let _0x2aaa25=this['gutter']['config']['widgetMarker'](_0x126ec7,_0x58db0c['widget'],_0x58db0c),_0x254a0a=_0x2aaa25?[_0x2aaa25]:null;for(let _0x361692 of _0x126ec7['state']['facet'](ZV)){let _0x3fa4ae=_0x361692(_0x126ec7,_0x58db0c['widget'],_0x58db0c);_0x3fa4ae&&(_0x254a0a||(_0x254a0a=[]))['push'](_0x3fa4ae);}_0x254a0a&&this['addElement'](_0x126ec7,_0x58db0c,_0x254a0a);}['finish'](){let _0x4091cb=this['gutter'];for(;_0x4091cb['elements']['length']>this['i'];){let _0x59cf09=_0x4091cb['elements']['pop']();_0x4091cb['dom']['removeChild'](_0x59cf09['dom']),_0x59cf09['destroy']();}}},eB=class{constructor(_0xc1c486,_0x1e78c2){this['view']=_0xc1c486,this['config']=_0x1e78c2,this['elements']=[],this['spacer']=null,this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutter'+(this['config']['class']?'\x20'+this['config']['class']:'');for(let _0x2cd9fc in _0x1e78c2['domEventHandlers'])this['dom']['addEventListener'](_0x2cd9fc,_0x5c633a=>{let _0x352524,_0xa3f96=_0x5c633a['target'];if(_0xa3f96!=this['dom']&&this['dom']['contains'](_0xa3f96)){for(;_0xa3f96['parentNode']!=this['dom'];)_0xa3f96=_0xa3f96['parentNode'];let _0x177773=_0xa3f96['getBoundingClientRect']();_0x352524=(_0x177773['top']+_0x177773['bottom'])/0x2;}else _0x352524=_0x5c633a['clientY'];let _0x1cf52a=_0xc1c486['lineBlockAtHeight'](_0x352524-_0xc1c486['documentTop']);_0x1e78c2['domEventHandlers'][_0x2cd9fc](_0xc1c486,_0x1cf52a,_0x5c633a)&&_0x5c633a['preventDefault']();});this['markers']=KV(_0x1e78c2['markers'](_0xc1c486)),_0x1e78c2['initialSpacer']&&(this['spacer']=new iB(_0xc1c486,0x0,0x0,[_0x1e78c2['initialSpacer'](_0xc1c486)]),this['dom']['appendChild'](this['spacer']['dom']),this['spacer']['dom']['style']['cssText']+='visibility:\x20hidden;\x20pointer-events:\x20none');}['update'](_0x44cf66){let _0x3c2377=this['markers'];if(this['markers']=KV(this['config']['markers'](_0x44cf66['view'])),this['spacer']&&this['config']['updateSpacer']){let _0x125098=this['config']['updateSpacer'](this['spacer']['markers'][0x0],_0x44cf66);_0x125098!=this['spacer']['markers'][0x0]&&this['spacer']['update'](_0x44cf66['view'],0x0,0x0,[_0x125098]);}let _0xef85cf=_0x44cf66['view']['viewport'];return!n$['eq'](this['markers'],_0x3c2377,_0xef85cf['from'],_0xef85cf['to'])||!!this['config']['lineMarkerChange']&&this['config']['lineMarkerChange'](_0x44cf66);}['destroy'](){for(let _0x871b53 of this['elements'])_0x871b53['destroy']();}},iB=class{constructor(_0x4f7610,_0x3cbaf0,_0x117f15,_0x1d5723){this['height']=-0x1,this['above']=0x0,this['markers']=[],this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutterElement',this['update'](_0x4f7610,_0x3cbaf0,_0x117f15,_0x1d5723);}['update'](_0x40eaee,_0x298306,_0x10adaf,_0x14923a){this['height']!=_0x298306&&(this['height']=_0x298306,this['dom']['style']['height']=_0x298306+'px'),this['above']!=_0x10adaf&&(this['dom']['style']['marginTop']=(this['above']=_0x10adaf)?_0x10adaf+'px':''),function(_0x106483,_0x194509){if(_0x106483['length']!=_0x194509['length'])return!0x1;for(let _0x5a081c=0x0;_0x5a081c<_0x106483['length'];_0x5a081c++)if(!_0x106483[_0x5a081c]['compare'](_0x194509[_0x5a081c]))return!0x1;return!0x0;}(this['markers'],_0x14923a)||this['setMarkers'](_0x40eaee,_0x14923a);}['setMarkers'](_0x290c66,_0x107a42){let _0x2123ef='cm-gutterElement',_0x5230be=this['dom']['firstChild'];for(let _0x566462=0x0,_0x3882f4=0x0;;){let _0x120c59=_0x3882f4,_0x1882b1=_0x566462<_0x107a42['length']?_0x107a42[_0x566462++]:null,_0xb12d3a=!0x1;if(_0x1882b1){let _0x338321=_0x1882b1['elementClass'];_0x338321&&(_0x2123ef+='\x20'+_0x338321);for(let _0x2ddb19=_0x3882f4;_0x2ddb19<this['markers']['length'];_0x2ddb19++)if(this['markers'][_0x2ddb19]['compare'](_0x1882b1)){_0x120c59=_0x2ddb19,_0xb12d3a=!0x0;break;}}else _0x120c59=this['markers']['length'];for(;_0x3882f4<_0x120c59;){let _0xaeada=this['markers'][_0x3882f4++];if(_0xaeada['toDOM']){_0xaeada['destroy'](_0x5230be);let _0x4b1caf=_0x5230be['nextSibling'];_0x5230be['remove'](),_0x5230be=_0x4b1caf;}}if(!_0x1882b1)break;_0x1882b1['toDOM']&&(_0xb12d3a?_0x5230be=_0x5230be['nextSibling']:this['dom']['insertBefore'](_0x1882b1['toDOM'](_0x290c66),_0x5230be)),_0xb12d3a&&_0x3882f4++;}this['dom']['className']=_0x2123ef,this['markers']=_0x107a42;}['destroy'](){this['setMarkers'](null,[]);}};const sB=lL['define'](),nB=lL['define'](),rB=lL['define']({'combine':_0x37346e=>KL(_0x37346e,{'formatNumber':String,'domEventHandlers':{}},{'domEventHandlers'(_0x49e787,_0xe4f946){let _0x35af43=Object['assign']({},_0x49e787);for(let _0x1f70a5 in _0xe4f946){let _0x246aa7=_0x35af43[_0x1f70a5],_0x336644=_0xe4f946[_0x1f70a5];_0x35af43[_0x1f70a5]=_0x246aa7?(_0x36c928,_0x37a7c7,_0x57c0ec)=>_0x246aa7(_0x36c928,_0x37a7c7,_0x57c0ec)||_0x336644(_0x36c928,_0x37a7c7,_0x57c0ec):_0x336644;}return _0x35af43;}})});var oB=class extends FV{constructor(_0x351f54){super(),this['number']=_0x351f54;}['eq'](_0x151cac){return this['number']==_0x151cac['number'];}['toDOM'](){return document['createTextNode'](this['number']);}};function aB(_0x19b75c,_0x2968f9){return _0x19b75c['state']['facet'](rB)['formatNumber'](_0x2968f9,_0x19b75c['state']);}const cB=XV['compute']([rB],_0x5e515e=>({'class':'cm-lineNumbers','renderEmptyElements':!0x1,'markers':_0x387807=>_0x387807['state']['facet'](sB),'lineMarker':(_0x5ccd52,_0x27f05b,_0x395515)=>_0x395515['some'](_0x5e821a=>_0x5e821a['toDOM'])?null:new oB(aB(_0x5ccd52,_0x5ccd52['state']['doc']['lineAt'](_0x27f05b['from'])['number'])),'widgetMarker':(_0x58b171,_0x7da6c1,_0x19358d)=>{for(let _0x17373b of _0x58b171['state']['facet'](nB)){let _0x2144c5=_0x17373b(_0x58b171,_0x7da6c1,_0x19358d);if(_0x2144c5)return _0x2144c5;}return null;},'lineMarkerChange':_0x1475f1=>_0x1475f1['startState']['facet'](rB)!=_0x1475f1['state']['facet'](rB),'initialSpacer':_0x1c086d=>new oB(aB(_0x1c086d,hB(_0x1c086d['state']['doc']['lines']))),'updateSpacer'(_0x5797bf,_0x49c1bd){let _0x55b42a=aB(_0x49c1bd['view'],hB(_0x49c1bd['view']['state']['doc']['lines']));return _0x55b42a==_0x5797bf['number']?_0x5797bf:new oB(_0x55b42a);},'domEventHandlers':_0x5e515e['facet'](rB)['domEventHandlers'],'side':'before'}));function lB(_0x436476={}){return[rB['of'](_0x436476),zV(),cB];}function hB(_0x532708){let _0x46b22c=0x9;for(;_0x46b22c<_0x532708;)_0x46b22c=0xa*_0x46b22c+0x9;return _0x46b22c;}const uB=new class extends FV{constructor(){super(...arguments),this['elementClass']='cm-activeLineGutter';}}(),dB=HV['compute'](['selection'],_0x3000d7=>{let _0x30e81d=[],_0x23fda5=-0x1;for(let _0x7055e2 of _0x3000d7['selection']['ranges']){let _0x16841d=_0x3000d7['doc']['lineAt'](_0x7055e2['head'])['from'];_0x16841d>_0x23fda5&&(_0x23fda5=_0x16841d,_0x30e81d['push'](uB['range'](_0x16841d)));}return n$['of'](_0x30e81d);});function fB(){return dB;}const mB=0x400;let pB=0x0;var gB=class{constructor(_0x51fa62,_0x1dd314){this['from']=_0x51fa62,this['to']=_0x1dd314;}},OB=class{constructor(_0x4dfc60={}){this['id']=pB++,this['perNode']=!!_0x4dfc60['perNode'],this['deserialize']=_0x4dfc60['deserialize']||(()=>{throw new Error('This\x20node\x20type\x20doesn\x27t\x20define\x20a\x20deserialize\x20function');}),this['combine']=_0x4dfc60['combine']||null;}['add'](_0x55ba94){if(this['perNode'])throw new RangeError('Can\x27t\x20add\x20per-node\x20props\x20to\x20node\x20types');return'function'!=typeof _0x55ba94&&(_0x55ba94=yB['match'](_0x55ba94)),_0x330985=>{let _0x158388=_0x55ba94(_0x330985);return void 0x0===_0x158388?null:[this,_0x158388];};}};OB['closedBy']=new OB({'deserialize':_0x40a8bb=>_0x40a8bb['split']('\x20')}),OB['openedBy']=new OB({'deserialize':_0x2da806=>_0x2da806['split']('\x20')}),OB['group']=new OB({'deserialize':_0x1bcd62=>_0x1bcd62['split']('\x20')}),OB['isolate']=new OB({'deserialize':_0xeb7158=>{if(_0xeb7158&&'rtl'!=_0xeb7158&&'ltr'!=_0xeb7158&&'auto'!=_0xeb7158)throw new RangeError('Invalid\x20value\x20for\x20isolate:\x20'+_0xeb7158);return _0xeb7158||'auto';}}),OB['contextHash']=new OB({'perNode':!0x0}),OB['lookAhead']=new OB({'perNode':!0x0}),OB['mounted']=new OB({'perNode':!0x0});var wB=class{constructor(_0x53935a,_0x178564,_0x480d83,_0x1634a=!0x1){this['tree']=_0x53935a,this['overlay']=_0x178564,this['parser']=_0x480d83,this['bracketed']=_0x1634a;}static['get'](_0x2b7e48){return _0x2b7e48&&_0x2b7e48['props']&&_0x2b7e48['props'][OB['mounted']['id']];}};const bB=Object['create'](null);var yB=class NodeType{constructor(_0x2a0477,_0x1dae6f,_0x3925ad,_0x3f9b2a=0x0){this['name']=_0x2a0477,this['props']=_0x1dae6f,this['id']=_0x3925ad,this['flags']=_0x3f9b2a;}static['define'](_0x433e17){let _0x4f7acc=_0x433e17['props']&&_0x433e17['props']['length']?Object['create'](null):bB,_0x44f123=(_0x433e17['top']?0x1:0x0)|(_0x433e17['skipped']?0x2:0x0)|(_0x433e17['error']?0x4:0x0)|(null==_0x433e17['name']?0x8:0x0),_0x40e736=new NodeType(_0x433e17['name']||'',_0x4f7acc,_0x433e17['id'],_0x44f123);if(_0x433e17['props']){for(let _0x45b166 of _0x433e17['props'])if(Array['isArray'](_0x45b166)||(_0x45b166=_0x45b166(_0x40e736)),_0x45b166){if(_0x45b166[0x0]['perNode'])throw new RangeError('Can\x27t\x20store\x20a\x20per-node\x20prop\x20on\x20a\x20node\x20type');_0x4f7acc[_0x45b166[0x0]['id']]=_0x45b166[0x1];}}return _0x40e736;}['prop'](_0x5ebabf){return this['props'][_0x5ebabf['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'](_0x38a212){if('string'==typeof _0x38a212){if(this['name']==_0x38a212)return!0x0;let _0x25659b=this['prop'](OB['group']);return!!_0x25659b&&_0x25659b['indexOf'](_0x38a212)>-0x1;}return this['id']==_0x38a212;}static['match'](_0x2bd2ad){let _0x6c8248=Object['create'](null);for(let _0x5ce267 in _0x2bd2ad)for(let _0x2cf889 of _0x5ce267['split']('\x20'))_0x6c8248[_0x2cf889]=_0x2bd2ad[_0x5ce267];return _0xb712d9=>{for(let _0x5d3ca9=_0xb712d9['prop'](OB['group']),_0x4583dc=-0x1;_0x4583dc<(_0x5d3ca9?_0x5d3ca9['length']:0x0);_0x4583dc++){let _0x44aaa0=_0x6c8248[_0x4583dc<0x0?_0xb712d9['name']:_0x5d3ca9[_0x4583dc]];if(_0x44aaa0)return _0x44aaa0;}};}};yB['none']=new yB('',Object['create'](null),0x0,0x8);var vB=class NodeSet{constructor(_0x462b6f){this['types']=_0x462b6f;for(let _0xbb431e=0x0;_0xbb431e<_0x462b6f['length'];_0xbb431e++)if(_0x462b6f[_0xbb431e]['id']!=_0xbb431e)throw new RangeError('Node\x20type\x20ids\x20should\x20correspond\x20to\x20array\x20positions\x20when\x20creating\x20a\x20node\x20set');}['extend'](..._0x3f101){let _0x4b9eeb=[];for(let _0x4893cb of this['types']){let _0x27c4c5=null;for(let _0x38aff0 of _0x3f101){let _0x3054a9=_0x38aff0(_0x4893cb);if(_0x3054a9){_0x27c4c5||(_0x27c4c5=Object['assign']({},_0x4893cb['props']));let _0x2c5deb=_0x3054a9[0x1],_0x4389cc=_0x3054a9[0x0];_0x4389cc['combine']&&_0x4389cc['id']in _0x27c4c5&&(_0x2c5deb=_0x4389cc['combine'](_0x27c4c5[_0x4389cc['id']],_0x2c5deb)),_0x27c4c5[_0x4389cc['id']]=_0x2c5deb;}}_0x4b9eeb['push'](_0x27c4c5?new yB(_0x4893cb['name'],_0x27c4c5,_0x4893cb['id'],_0x4893cb['flags']):_0x4893cb);}return new NodeSet(_0x4b9eeb);}};const _B=new WeakMap(),EB=new WeakMap();var TB;!function(_0x12f8e1){_0x12f8e1[_0x12f8e1['ExcludeBuffers']=0x1]='ExcludeBuffers',_0x12f8e1[_0x12f8e1['IncludeAnonymous']=0x2]='IncludeAnonymous',_0x12f8e1[_0x12f8e1['IgnoreMounts']=0x4]='IgnoreMounts',_0x12f8e1[_0x12f8e1['IgnoreOverlays']=0x8]='IgnoreOverlays',_0x12f8e1[_0x12f8e1['EnterBracketed']=0x10]='EnterBracketed';}(TB||(TB={}));var AB=class Tree{constructor(_0x26549f,_0x404a36,_0x125911,_0x17d188,_0xa3cbf9){if(this['type']=_0x26549f,this['children']=_0x404a36,this['positions']=_0x125911,this['length']=_0x17d188,this['props']=null,_0xa3cbf9&&_0xa3cbf9['length']){this['props']=Object['create'](null);for(let [_0x2b5390,_0x4b8bef]of _0xa3cbf9)this['props']['number'==typeof _0x2b5390?_0x2b5390:_0x2b5390['id']]=_0x4b8bef;}}['toString'](){let _0x305c45=wB['get'](this);if(_0x305c45&&!_0x305c45['overlay'])return _0x305c45['tree']['toString']();let _0x54ef4b='';for(let _0xd1f6d0 of this['children']){let _0x645cf4=_0xd1f6d0['toString']();_0x645cf4&&(_0x54ef4b&&(_0x54ef4b+=','),_0x54ef4b+=_0x645cf4);}return this['type']['name']?(/\W/['test'](this['type']['name'])&&!this['type']['isError']?JSON['stringify'](this['type']['name']):this['type']['name'])+(_0x54ef4b['length']?'('+_0x54ef4b+')':''):_0x54ef4b;}['cursor'](_0x5d929f=0x0){return new QB(this['topNode'],_0x5d929f);}['cursorAt'](_0x132ce0,_0x2ac77b=0x0,_0x2a411d=0x0){let _0x59257f=new QB(_B['get'](this)||this['topNode']);return _0x59257f['moveTo'](_0x132ce0,_0x2ac77b),_B['set'](this,_0x59257f['_tree']),_0x59257f;}get['topNode'](){return new RB(this,0x0,0x0,null);}['resolve'](_0x2e7b8a,_0x576181=0x0){let _0x22812f=xB(_B['get'](this)||this['topNode'],_0x2e7b8a,_0x576181,!0x1);return _B['set'](this,_0x22812f),_0x22812f;}['resolveInner'](_0x4fcbe1,_0x5b5a41=0x0){let _0x5a2041=xB(EB['get'](this)||this['topNode'],_0x4fcbe1,_0x5b5a41,!0x0);return EB['set'](this,_0x5a2041),_0x5a2041;}['resolveStack'](_0x15d564,_0x21d983=0x0){return function(_0x33dba3,_0x56f5d6,_0x1d7137){let _0x475095=_0x33dba3['resolveInner'](_0x56f5d6,_0x1d7137),_0x12ed9b=null;for(let _0xff08bb=_0x475095 instanceof RB?_0x475095:_0x475095['context']['parent'];_0xff08bb;_0xff08bb=_0xff08bb['parent'])if(_0xff08bb['index']<0x0){let _0x1be8fb=_0xff08bb['parent'];(_0x12ed9b||(_0x12ed9b=[_0x475095]))['push'](_0x1be8fb['resolve'](_0x56f5d6,_0x1d7137)),_0xff08bb=_0x1be8fb;}else{let _0x394d77=wB['get'](_0xff08bb['tree']);if(_0x394d77&&_0x394d77['overlay']&&_0x394d77['overlay'][0x0]['from']<=_0x56f5d6&&_0x394d77['overlay'][_0x394d77['overlay']['length']-0x1]['to']>=_0x56f5d6){let _0x338415=new RB(_0x394d77['tree'],_0x394d77['overlay'][0x0]['from']+_0xff08bb['from'],-0x1,_0xff08bb);(_0x12ed9b||(_0x12ed9b=[_0x475095]))['push'](xB(_0x338415,_0x56f5d6,_0x1d7137,!0x1));}}return _0x12ed9b?$B(_0x12ed9b):_0x475095;}(this,_0x15d564,_0x21d983);}['iterate'](_0x2374f3){let {enter:_0x3a52b7,leave:_0x55cc1f,from:_0x1f8c3b=0x0,to:_0x4974e7=this['length']}=_0x2374f3,_0x51cbef=_0x2374f3['mode']||0x0,_0x521e85=(_0x51cbef&TB['IncludeAnonymous'])>0x0;for(let _0x38d690=this['cursor'](_0x51cbef|TB['IncludeAnonymous']);;){let _0x50fee1=!0x1;if(_0x38d690['from']<=_0x4974e7&&_0x38d690['to']>=_0x1f8c3b&&(!_0x521e85&&_0x38d690['type']['isAnonymous']||!0x1!==_0x3a52b7(_0x38d690))){if(_0x38d690['firstChild']())continue;_0x50fee1=!0x0;}for(;_0x50fee1&&_0x55cc1f&&(_0x521e85||!_0x38d690['type']['isAnonymous'])&&_0x55cc1f(_0x38d690),!_0x38d690['nextSibling']();){if(!_0x38d690['parent']())return;_0x50fee1=!0x0;}}}['prop'](_0x44fa2e){return _0x44fa2e['perNode']?this['props']?this['props'][_0x44fa2e['id']]:void 0x0:this['type']['prop'](_0x44fa2e);}get['propValues'](){let _0x46b941=[];if(this['props']){for(let _0x22c54c in this['props'])_0x46b941['push']([+_0x22c54c,this['props'][_0x22c54c]]);}return _0x46b941;}['balance'](_0x4e02bc={}){return this['children']['length']<=0x8?this:FB(yB['none'],this['children'],this['positions'],0x0,this['children']['length'],0x0,this['length'],(_0x8cbd4f,_0x4534f4,_0x4f4baa)=>new Tree(this['type'],_0x8cbd4f,_0x4534f4,_0x4f4baa,this['propValues']),_0x4e02bc['makeTree']||((_0x5d4c52,_0x5ec694,_0x56f41c)=>new Tree(yB['none'],_0x5d4c52,_0x5ec694,_0x56f41c)));}static['build'](_0x2ad208){return UB(_0x2ad208);}};AB['empty']=new AB(yB['none'],[],[],0x0);var SB=class FlatBufferCursor{constructor(_0x54cbdd,_0x66c66b){this['buffer']=_0x54cbdd,this['index']=_0x66c66b;}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']);}},IB=class TreeBuffer{constructor(_0x29ecb7,_0x340595,_0x4b863f){this['buffer']=_0x29ecb7,this['length']=_0x340595,this['set']=_0x4b863f;}get['type'](){return yB['none'];}['toString'](){let _0x44e2c0=[];for(let _0x341486=0x0;_0x341486<this['buffer']['length'];)_0x44e2c0['push'](this['childString'](_0x341486)),_0x341486=this['buffer'][_0x341486+0x3];return _0x44e2c0['join'](',');}['childString'](_0x17d27f){let _0x565154=this['buffer'][_0x17d27f],_0x3a03f3=this['buffer'][_0x17d27f+0x3],_0x585037=this['set']['types'][_0x565154],_0x1ceb76=_0x585037['name'];if(/\W/['test'](_0x1ceb76)&&!_0x585037['isError']&&(_0x1ceb76=JSON['stringify'](_0x1ceb76)),_0x3a03f3==(_0x17d27f+=0x4))return _0x1ceb76;let _0x2b39f9=[];for(;_0x17d27f<_0x3a03f3;)_0x2b39f9['push'](this['childString'](_0x17d27f)),_0x17d27f=this['buffer'][_0x17d27f+0x3];return _0x1ceb76+'('+_0x2b39f9['join'](',')+')';}['findChild'](_0x5db825,_0x44d27b,_0x3d45e4,_0x5e57ff,_0x3c87b0){let {buffer:_0x4b5d11}=this,_0x50bb19=-0x1;for(let _0x385ee8=_0x5db825;_0x385ee8!=_0x44d27b&&!(kB(_0x3c87b0,_0x5e57ff,_0x4b5d11[_0x385ee8+0x1],_0x4b5d11[_0x385ee8+0x2])&&(_0x50bb19=_0x385ee8,_0x3d45e4>0x0));_0x385ee8=_0x4b5d11[_0x385ee8+0x3]);return _0x50bb19;}['slice'](_0x3e9415,_0x3f92d5,_0x31f4e1){let _0x53c493=this['buffer'],_0x5a2bbb=new Uint16Array(_0x3f92d5-_0x3e9415),_0x3d1eca=0x0;for(let _0x175962=_0x3e9415,_0x5a9915=0x0;_0x175962<_0x3f92d5;){_0x5a2bbb[_0x5a9915++]=_0x53c493[_0x175962++],_0x5a2bbb[_0x5a9915++]=_0x53c493[_0x175962++]-_0x31f4e1;let _0x4161d0=_0x5a2bbb[_0x5a9915++]=_0x53c493[_0x175962++]-_0x31f4e1;_0x5a2bbb[_0x5a9915++]=_0x53c493[_0x175962++]-_0x3e9415,_0x3d1eca=Math['max'](_0x3d1eca,_0x4161d0);}return new TreeBuffer(_0x5a2bbb,_0x3d1eca,this['set']);}};function kB(_0x2a6a19,_0x40d332,_0x391b1e,_0x294bb5){switch(_0x2a6a19){case-0x2:return _0x391b1e<_0x40d332;case-0x1:return _0x294bb5>=_0x40d332&&_0x391b1e<_0x40d332;case 0x0:return _0x391b1e<_0x40d332&&_0x294bb5>_0x40d332;case 0x1:return _0x391b1e<=_0x40d332&&_0x294bb5>_0x40d332;case 0x2:return _0x294bb5>_0x40d332;case 0x4:return!0x0;}}function xB(_0x564ae2,_0x10bf9e,_0x2c1a55,_0xb6c920){for(var _0x220de6;_0x564ae2['from']==_0x564ae2['to']||(_0x2c1a55<0x1?_0x564ae2['from']>=_0x10bf9e:_0x564ae2['from']>_0x10bf9e)||(_0x2c1a55>-0x1?_0x564ae2['to']<=_0x10bf9e:_0x564ae2['to']<_0x10bf9e);){let _0x34ac93=!_0xb6c920&&_0x564ae2 instanceof RB&&_0x564ae2['index']<0x0?null:_0x564ae2['parent'];if(!_0x34ac93)return _0x564ae2;_0x564ae2=_0x34ac93;}let _0x25cb37=_0xb6c920?0x0:TB['IgnoreOverlays'];if(_0xb6c920){for(let _0x115474=_0x564ae2,_0x41a278=_0x115474['parent'];_0x41a278;_0x115474=_0x41a278,_0x41a278=_0x115474['parent'])_0x115474 instanceof RB&&_0x115474['index']<0x0&&(null===(_0x220de6=_0x41a278['enter'](_0x10bf9e,_0x2c1a55,_0x25cb37))||void 0x0===_0x220de6?void 0x0:_0x220de6['from'])!=_0x115474['from']&&(_0x564ae2=_0x41a278);}for(;;){let _0x3d5242=_0x564ae2['enter'](_0x10bf9e,_0x2c1a55,_0x25cb37);if(!_0x3d5242)return _0x564ae2;_0x564ae2=_0x3d5242;}}var CB=class{['cursor'](_0x2dc213=0x0){return new QB(this,_0x2dc213);}['getChild'](_0x24825b,_0x20041a=null,_0xb55719=null){let _0xce98ef=PB(this,_0x24825b,_0x20041a,_0xb55719);return _0xce98ef['length']?_0xce98ef[0x0]:null;}['getChildren'](_0x26c48c,_0x3d42fb=null,_0x2364b8=null){return PB(this,_0x26c48c,_0x3d42fb,_0x2364b8);}['resolve'](_0x3ccc3f,_0x4a43fd=0x0){return xB(this,_0x3ccc3f,_0x4a43fd,!0x1);}['resolveInner'](_0x39e01e,_0x502575=0x0){return xB(this,_0x39e01e,_0x502575,!0x0);}['matchContext'](_0x12f1e5){return MB(this['parent'],_0x12f1e5);}['enterUnfinishedNodesBefore'](_0x250a6d){let _0x5c13ac=this['childBefore'](_0x250a6d),_0x2e07df=this;for(;_0x5c13ac;){let _0x14a966=_0x5c13ac['lastChild'];if(!_0x14a966||_0x14a966['to']!=_0x5c13ac['to'])break;_0x14a966['type']['isError']&&_0x14a966['from']==_0x14a966['to']?(_0x2e07df=_0x5c13ac,_0x5c13ac=_0x14a966['prevSibling']):_0x5c13ac=_0x14a966;}return _0x2e07df;}get['node'](){return this;}get['next'](){return this['parent'];}},RB=class TreeNode extends CB{constructor(_0x556b66,_0x1d98fc,_0x3da19e,_0x132d29){super(),this['_tree']=_0x556b66,this['from']=_0x1d98fc,this['index']=_0x3da19e,this['_parent']=_0x132d29;}get['type'](){return this['_tree']['type'];}get['name'](){return this['_tree']['type']['name'];}get['to'](){return this['from']+this['_tree']['length'];}['nextChild'](_0x87124b,_0x487b99,_0x9df717,_0x1ad57b,_0x18b6da=0x0){for(let _0x591877=this;;){for(let {children:_0x6980df,positions:_0x29f0e6}=_0x591877['_tree'],_0x49be8f=_0x487b99>0x0?_0x6980df['length']:-0x1;_0x87124b!=_0x49be8f;_0x87124b+=_0x487b99){let _0x4ffe8a,_0x126cad=_0x6980df[_0x87124b],_0x598118=_0x29f0e6[_0x87124b]+_0x591877['from'];if(_0x18b6da&TB['EnterBracketed']&&_0x126cad instanceof AB&&(_0x4ffe8a=wB['get'](_0x126cad))&&!_0x4ffe8a['overlay']&&_0x4ffe8a['bracketed']&&_0x9df717>=_0x598118&&_0x9df717<=_0x598118+_0x126cad['length']||kB(_0x1ad57b,_0x9df717,_0x598118,_0x598118+_0x126cad['length'])){if(_0x126cad instanceof IB){if(_0x18b6da&TB['ExcludeBuffers'])continue;let _0x39728b=_0x126cad['findChild'](0x0,_0x126cad['buffer']['length'],_0x487b99,_0x9df717-_0x598118,_0x1ad57b);if(_0x39728b>-0x1)return new LB(new NB(_0x591877,_0x126cad,_0x87124b,_0x598118),null,_0x39728b);}else{if(_0x18b6da&TB['IncludeAnonymous']||!_0x126cad['type']['isAnonymous']||jB(_0x126cad)){let _0x2792e5;if(!(_0x18b6da&TB['IgnoreMounts'])&&(_0x2792e5=wB['get'](_0x126cad))&&!_0x2792e5['overlay'])return new TreeNode(_0x2792e5['tree'],_0x598118,_0x87124b,_0x591877);let _0x4cccec=new TreeNode(_0x126cad,_0x598118,_0x87124b,_0x591877);return _0x18b6da&TB['IncludeAnonymous']||!_0x4cccec['type']['isAnonymous']?_0x4cccec:_0x4cccec['nextChild'](_0x487b99<0x0?_0x126cad['children']['length']-0x1:0x0,_0x487b99,_0x9df717,_0x1ad57b,_0x18b6da);}}}}if(_0x18b6da&TB['IncludeAnonymous']||!_0x591877['type']['isAnonymous'])return null;if(_0x87124b=_0x591877['index']>=0x0?_0x591877['index']+_0x487b99:_0x487b99<0x0?-0x1:_0x591877['_parent']['_tree']['children']['length'],_0x591877=_0x591877['_parent'],!_0x591877)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'](_0x1f1ab9){return this['nextChild'](0x0,0x1,_0x1f1ab9,0x2);}['childBefore'](_0x72bb53){return this['nextChild'](this['_tree']['children']['length']-0x1,-0x1,_0x72bb53,-0x2);}['prop'](_0x11b870){return this['_tree']['prop'](_0x11b870);}['enter'](_0x5a93a3,_0x5b135e,_0xc0a9d6=0x0){let _0x8f9cda;if(!(_0xc0a9d6&TB['IgnoreOverlays'])&&(_0x8f9cda=wB['get'](this['_tree']))&&_0x8f9cda['overlay']){let _0x1aca6d=_0x5a93a3-this['from'],_0x4eff21=_0xc0a9d6&TB['EnterBracketed']&&_0x8f9cda['bracketed'];for(let {from:_0x4cbdb0,to:_0x46be1}of _0x8f9cda['overlay'])if((_0x5b135e>0x0||_0x4eff21?_0x4cbdb0<=_0x1aca6d:_0x4cbdb0<_0x1aca6d)&&(_0x5b135e<0x0||_0x4eff21?_0x46be1>=_0x1aca6d:_0x46be1>_0x1aca6d))return new TreeNode(_0x8f9cda['tree'],_0x8f9cda['overlay'][0x0]['from']+this['from'],-0x1,this);}return this['nextChild'](0x0,0x1,_0x5a93a3,_0x5b135e,_0xc0a9d6);}['nextSignificantParent'](){let _0x3cd451=this;for(;_0x3cd451['type']['isAnonymous']&&_0x3cd451['_parent'];)_0x3cd451=_0x3cd451['_parent'];return _0x3cd451;}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 PB(_0x165e3f,_0x24d9cd,_0x1c26d7,_0x2b8131){let _0x42d299=_0x165e3f['cursor'](),_0x915cc6=[];if(!_0x42d299['firstChild']())return _0x915cc6;if(null!=_0x1c26d7){for(let _0x3c8dc8=!0x1;!_0x3c8dc8;)if(_0x3c8dc8=_0x42d299['type']['is'](_0x1c26d7),!_0x42d299['nextSibling']())return _0x915cc6;}for(;;){if(null!=_0x2b8131&&_0x42d299['type']['is'](_0x2b8131))return _0x915cc6;if(_0x42d299['type']['is'](_0x24d9cd)&&_0x915cc6['push'](_0x42d299['node']),!_0x42d299['nextSibling']())return null==_0x2b8131?_0x915cc6:[];}}function MB(_0x39e6c1,_0x3f672a,_0x414143=_0x3f672a['length']-0x1){for(let _0x3b236c=_0x39e6c1;_0x414143>=0x0;_0x3b236c=_0x3b236c['parent']){if(!_0x3b236c)return!0x1;if(!_0x3b236c['type']['isAnonymous']){if(_0x3f672a[_0x414143]&&_0x3f672a[_0x414143]!=_0x3b236c['name'])return!0x1;_0x414143--;}}return!0x0;}var NB=class{constructor(_0x52ef41,_0x5e5e2d,_0x4ec4af,_0x998292){this['parent']=_0x52ef41,this['buffer']=_0x5e5e2d,this['index']=_0x4ec4af,this['start']=_0x998292;}},LB=class BufferNode extends CB{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(_0x2326a3,_0x59ad4c,_0x3c26f1){super(),this['context']=_0x2326a3,this['_parent']=_0x59ad4c,this['index']=_0x3c26f1,this['type']=_0x2326a3['buffer']['set']['types'][_0x2326a3['buffer']['buffer'][_0x3c26f1]];}['child'](_0x118a66,_0x2c71cc,_0x2dfb96){let {buffer:_0x236924}=this['context'],_0x548f77=_0x236924['findChild'](this['index']+0x4,_0x236924['buffer'][this['index']+0x3],_0x118a66,_0x2c71cc-this['context']['start'],_0x2dfb96);return _0x548f77<0x0?null:new BufferNode(this['context'],this,_0x548f77);}get['firstChild'](){return this['child'](0x1,0x0,0x4);}get['lastChild'](){return this['child'](-0x1,0x0,0x4);}['childAfter'](_0x444c43){return this['child'](0x1,_0x444c43,0x2);}['childBefore'](_0x38f79c){return this['child'](-0x1,_0x38f79c,-0x2);}['prop'](_0x3b54ca){return this['type']['prop'](_0x3b54ca);}['enter'](_0x29a3bf,_0x5db722,_0xba873c=0x0){if(_0xba873c&TB['ExcludeBuffers'])return null;let {buffer:_0x43450e}=this['context'],_0xeba066=_0x43450e['findChild'](this['index']+0x4,_0x43450e['buffer'][this['index']+0x3],_0x5db722>0x0?0x1:-0x1,_0x29a3bf-this['context']['start'],_0x5db722);return _0xeba066<0x0?null:new BufferNode(this['context'],this,_0xeba066);}get['parent'](){return this['_parent']||this['context']['parent']['nextSignificantParent']();}['externalSibling'](_0x13ae2b){return this['_parent']?null:this['context']['parent']['nextChild'](this['context']['index']+_0x13ae2b,_0x13ae2b,0x0,0x4);}get['nextSibling'](){let {buffer:_0x17e0e1}=this['context'],_0x4a6401=_0x17e0e1['buffer'][this['index']+0x3];return _0x4a6401<(this['_parent']?_0x17e0e1['buffer'][this['_parent']['index']+0x3]:_0x17e0e1['buffer']['length'])?new BufferNode(this['context'],this['_parent'],_0x4a6401):this['externalSibling'](0x1);}get['prevSibling'](){let {buffer:_0x3546e6}=this['context'],_0xb34be1=this['_parent']?this['_parent']['index']+0x4:0x0;return this['index']==_0xb34be1?this['externalSibling'](-0x1):new BufferNode(this['context'],this['_parent'],_0x3546e6['findChild'](_0xb34be1,this['index'],-0x1,0x0,0x4));}get['tree'](){return null;}['toTree'](){let _0xf96c9b=[],_0x5ae63e=[],{buffer:_0x7b926c}=this['context'],_0x5d3194=this['index']+0x4,_0x2da168=_0x7b926c['buffer'][this['index']+0x3];if(_0x2da168>_0x5d3194){let _0x37d7fc=_0x7b926c['buffer'][this['index']+0x1];_0xf96c9b['push'](_0x7b926c['slice'](_0x5d3194,_0x2da168,_0x37d7fc)),_0x5ae63e['push'](0x0);}return new AB(this['type'],_0xf96c9b,_0x5ae63e,this['to']-this['from']);}['toString'](){return this['context']['buffer']['childString'](this['index']);}};function $B(_0x79e7e7){if(!_0x79e7e7['length'])return null;let _0x483b1e=0x0,_0x2880a4=_0x79e7e7[0x0];for(let _0x31d81f=0x1;_0x31d81f<_0x79e7e7['length'];_0x31d81f++){let _0x36ba76=_0x79e7e7[_0x31d81f];(_0x36ba76['from']>_0x2880a4['from']||_0x36ba76['to']<_0x2880a4['to'])&&(_0x2880a4=_0x36ba76,_0x483b1e=_0x31d81f);}let _0x19eb81=_0x2880a4 instanceof RB&&_0x2880a4['index']<0x0?null:_0x2880a4['parent'],_0x45d7cf=_0x79e7e7['slice']();return _0x19eb81?_0x45d7cf[_0x483b1e]=_0x19eb81:_0x45d7cf['splice'](_0x483b1e,0x1),new DB(_0x45d7cf,_0x2880a4);}var DB=class{constructor(_0x7c0e73,_0x47671e){this['heads']=_0x7c0e73,this['node']=_0x47671e;}get['next'](){return $B(this['heads']);}},QB=class{get['name'](){return this['type']['name'];}constructor(_0x454bc3,_0x187253=0x0){if(this['buffer']=null,this['stack']=[],this['index']=0x0,this['bufferNode']=null,this['mode']=_0x187253&~TB['EnterBracketed'],_0x454bc3 instanceof RB)this['yieldNode'](_0x454bc3);else{this['_tree']=_0x454bc3['context']['parent'],this['buffer']=_0x454bc3['context'];for(let _0x3fbc17=_0x454bc3['_parent'];_0x3fbc17;_0x3fbc17=_0x3fbc17['_parent'])this['stack']['unshift'](_0x3fbc17['index']);this['bufferNode']=_0x454bc3,this['yieldBuf'](_0x454bc3['index']);}}['yieldNode'](_0x2f8d66){return!!_0x2f8d66&&(this['_tree']=_0x2f8d66,this['type']=_0x2f8d66['type'],this['from']=_0x2f8d66['from'],this['to']=_0x2f8d66['to'],!0x0);}['yieldBuf'](_0xd47abf,_0x470e51){this['index']=_0xd47abf;let {start:_0x2b882d,buffer:_0x279d2e}=this['buffer'];return this['type']=_0x470e51||_0x279d2e['set']['types'][_0x279d2e['buffer'][_0xd47abf]],this['from']=_0x2b882d+_0x279d2e['buffer'][_0xd47abf+0x1],this['to']=_0x2b882d+_0x279d2e['buffer'][_0xd47abf+0x2],!0x0;}['yield'](_0x3d69f7){return!!_0x3d69f7&&(_0x3d69f7 instanceof RB?(this['buffer']=null,this['yieldNode'](_0x3d69f7)):(this['buffer']=_0x3d69f7['context'],this['yieldBuf'](_0x3d69f7['index'],_0x3d69f7['type'])));}['toString'](){return this['buffer']?this['buffer']['buffer']['childString'](this['index']):this['_tree']['toString']();}['enterChild'](_0x46c56b,_0x3a7112,_0x481337){if(!this['buffer'])return this['yield'](this['_tree']['nextChild'](_0x46c56b<0x0?this['_tree']['_tree']['children']['length']-0x1:0x0,_0x46c56b,_0x3a7112,_0x481337,this['mode']));let {buffer:_0x311580}=this['buffer'],_0x3f8ddb=_0x311580['findChild'](this['index']+0x4,_0x311580['buffer'][this['index']+0x3],_0x46c56b,_0x3a7112-this['buffer']['start'],_0x481337);return!(_0x3f8ddb<0x0)&&(this['stack']['push'](this['index']),this['yieldBuf'](_0x3f8ddb));}['firstChild'](){return this['enterChild'](0x1,0x0,0x4);}['lastChild'](){return this['enterChild'](-0x1,0x0,0x4);}['childAfter'](_0x45b241){return this['enterChild'](0x1,_0x45b241,0x2);}['childBefore'](_0x57407f){return this['enterChild'](-0x1,_0x57407f,-0x2);}['enter'](_0x444d09,_0x5e5142,_0x16cc04=this['mode']){return this['buffer']?!(_0x16cc04&TB['ExcludeBuffers'])&&this['enterChild'](0x1,_0x444d09,_0x5e5142):this['yield'](this['_tree']['enter'](_0x444d09,_0x5e5142,_0x16cc04));}['parent'](){if(!this['buffer'])return this['yieldNode'](this['mode']&TB['IncludeAnonymous']?this['_tree']['_parent']:this['_tree']['parent']);if(this['stack']['length'])return this['yieldBuf'](this['stack']['pop']());let _0x5d37bf=this['mode']&TB['IncludeAnonymous']?this['buffer']['parent']:this['buffer']['parent']['nextSignificantParent']();return this['buffer']=null,this['yieldNode'](_0x5d37bf);}['sibling'](_0x335337){if(!this['buffer'])return!!this['_tree']['_parent']&&this['yield'](this['_tree']['index']<0x0?null:this['_tree']['_parent']['nextChild'](this['_tree']['index']+_0x335337,_0x335337,0x0,0x4,this['mode']));let {buffer:_0x138442}=this['buffer'],_0x3a4185=this['stack']['length']-0x1;if(_0x335337<0x0){let _0x166e59=_0x3a4185<0x0?0x0:this['stack'][_0x3a4185]+0x4;if(this['index']!=_0x166e59)return this['yieldBuf'](_0x138442['findChild'](_0x166e59,this['index'],-0x1,0x0,0x4));}else{let _0x376454=_0x138442['buffer'][this['index']+0x3];if(_0x376454<(_0x3a4185<0x0?_0x138442['buffer']['length']:_0x138442['buffer'][this['stack'][_0x3a4185]+0x3]))return this['yieldBuf'](_0x376454);}return _0x3a4185<0x0&&this['yield'](this['buffer']['parent']['nextChild'](this['buffer']['index']+_0x335337,_0x335337,0x0,0x4,this['mode']));}['nextSibling'](){return this['sibling'](0x1);}['prevSibling'](){return this['sibling'](-0x1);}['atLastNode'](_0x5173ef){let _0x49d6b6,_0x54b5c4,{buffer:_0x2a973b}=this;if(_0x2a973b){if(_0x5173ef>0x0){if(this['index']<_0x2a973b['buffer']['buffer']['length'])return!0x1;}else{for(let _0x4f3503=0x0;_0x4f3503<this['index'];_0x4f3503++)if(_0x2a973b['buffer']['buffer'][_0x4f3503+0x3]<this['index'])return!0x1;}({index:_0x49d6b6,parent:_0x54b5c4}=_0x2a973b);}else({index:_0x49d6b6,_parent:_0x54b5c4}=this['_tree']);for(;_0x54b5c4;{index:_0x49d6b6,_parent:_0x54b5c4}=_0x54b5c4)if(_0x49d6b6>-0x1)for(let _0x5ae252=_0x49d6b6+_0x5173ef,_0x559275=_0x5173ef<0x0?-0x1:_0x54b5c4['_tree']['children']['length'];_0x5ae252!=_0x559275;_0x5ae252+=_0x5173ef){let _0x49066d=_0x54b5c4['_tree']['children'][_0x5ae252];if(this['mode']&TB['IncludeAnonymous']||_0x49066d instanceof IB||!_0x49066d['type']['isAnonymous']||jB(_0x49066d))return!0x1;}return!0x0;}['move'](_0x3a3b21,_0x58031e){if(_0x58031e&&this['enterChild'](_0x3a3b21,0x0,0x4))return!0x0;for(;;){if(this['sibling'](_0x3a3b21))return!0x0;if(this['atLastNode'](_0x3a3b21)||!this['parent']())return!0x1;}}['next'](_0x12fcd8=!0x0){return this['move'](0x1,_0x12fcd8);}['prev'](_0x34f6ef=!0x0){return this['move'](-0x1,_0x34f6ef);}['moveTo'](_0x11e7bf,_0x4450c9=0x0){for(;(this['from']==this['to']||(_0x4450c9<0x1?this['from']>=_0x11e7bf:this['from']>_0x11e7bf)||(_0x4450c9>-0x1?this['to']<=_0x11e7bf:this['to']<_0x11e7bf))&&this['parent'](););for(;this['enterChild'](0x1,_0x11e7bf,_0x4450c9););return this;}get['node'](){if(!this['buffer'])return this['_tree'];let _0x276586=this['bufferNode'],_0x14785c=null,_0x3402c5=0x0;if(_0x276586&&_0x276586['context']==this['buffer']){t:for(let _0x19c41e=this['index'],_0x4ce626=this['stack']['length'];_0x4ce626>=0x0;){for(let _0x4770bc=_0x276586;_0x4770bc;_0x4770bc=_0x4770bc['_parent'])if(_0x4770bc['index']==_0x19c41e){if(_0x19c41e==this['index'])return _0x4770bc;_0x14785c=_0x4770bc,_0x3402c5=_0x4ce626+0x1;break t;}_0x19c41e=this['stack'][--_0x4ce626];}}for(let _0xc4dcce=_0x3402c5;_0xc4dcce<this['stack']['length'];_0xc4dcce++)_0x14785c=new LB(this['buffer'],_0x14785c,this['stack'][_0xc4dcce]);return this['bufferNode']=new LB(this['buffer'],_0x14785c,this['index']);}get['tree'](){return this['buffer']?null:this['_tree']['_tree'];}['iterate'](_0x22f404,_0x156397){for(let _0xbd1fa0=0x0;;){let _0x2cf609=!0x1;if(this['type']['isAnonymous']||!0x1!==_0x22f404(this)){if(this['firstChild']()){_0xbd1fa0++;continue;}this['type']['isAnonymous']||(_0x2cf609=!0x0);}for(;;){if(_0x2cf609&&_0x156397&&_0x156397(this),_0x2cf609=this['type']['isAnonymous'],!_0xbd1fa0)return;if(this['nextSibling']())break;this['parent'](),_0xbd1fa0--,_0x2cf609=!0x0;}}}['matchContext'](_0x585470){if(!this['buffer'])return MB(this['node']['parent'],_0x585470);let {buffer:_0x4c0240}=this['buffer'],{types:_0x49b759}=_0x4c0240['set'];for(let _0xcfc68a=_0x585470['length']-0x1,_0x46760d=this['stack']['length']-0x1;_0xcfc68a>=0x0;_0x46760d--){if(_0x46760d<0x0)return MB(this['_tree'],_0x585470,_0xcfc68a);let _0x432968=_0x49b759[_0x4c0240['buffer'][this['stack'][_0x46760d]]];if(!_0x432968['isAnonymous']){if(_0x585470[_0xcfc68a]&&_0x585470[_0xcfc68a]!=_0x432968['name'])return!0x1;_0xcfc68a--;}}return!0x0;}};function jB(_0x322f9c){return _0x322f9c['children']['some'](_0x164197=>_0x164197 instanceof IB||!_0x164197['type']['isAnonymous']||jB(_0x164197));}function UB(_0x1fe101){var _0x327f6f;let {buffer:_0x383c13,nodeSet:_0x4ba315,maxBufferLength:_0x307496=mB,reused:_0x3d4825=[],minRepeatType:_0x1705e6=_0x4ba315['types']['length']}=_0x1fe101,_0xb54100=Array['isArray'](_0x383c13)?new SB(_0x383c13,_0x383c13['length']):_0x383c13,_0x2df308=_0x4ba315['types'],_0x33231b=0x0,_0x1b7b5e=0x0;function _0x41e609(_0x102ff4,_0x203cdc,_0xcfb8ab,_0x523196,_0x54f4ad,_0x4a4c2b){let {id:_0x2638ea,start:_0x3fceba,end:_0x17b94a,size:_0x56c85d}=_0xb54100,_0x4a9d09=_0x1b7b5e,_0x55739b=_0x33231b;if(_0x56c85d<0x0){if(_0xb54100['next'](),-0x1==_0x56c85d){let _0xd703bb=_0x3d4825[_0x2638ea];return _0xcfb8ab['push'](_0xd703bb),void _0x523196['push'](_0x3fceba-_0x102ff4);}if(-0x3==_0x56c85d)return void(_0x33231b=_0x2638ea);if(-0x4==_0x56c85d)return void(_0x1b7b5e=_0x2638ea);throw new RangeError('Unrecognized\x20record\x20size:\x20'+_0x56c85d);}let _0x2ec671,_0x3e83d1,_0x387fc6=_0x2df308[_0x2638ea],_0x2460f6=_0x3fceba-_0x102ff4;if(_0x17b94a-_0x3fceba<=_0x307496&&(_0x3e83d1=function(_0x3b1f75,_0x379887){let _0x2de115=_0xb54100['fork'](),_0x20f4a1=0x0,_0x21538b=0x0,_0x4a4be2=0x0,_0x4d4324=_0x2de115['end']-_0x307496,_0x5631df={'size':0x0,'start':0x0,'skip':0x0};t:for(let _0xe7ba90=_0x2de115['pos']-_0x3b1f75;_0x2de115['pos']>_0xe7ba90;){let _0x5e9a74=_0x2de115['size'];if(_0x2de115['id']==_0x379887&&_0x5e9a74>=0x0){_0x5631df['size']=_0x20f4a1,_0x5631df['start']=_0x21538b,_0x5631df['skip']=_0x4a4be2,_0x4a4be2+=0x4,_0x20f4a1+=0x4,_0x2de115['next']();continue;}let _0x5f26a3=_0x2de115['pos']-_0x5e9a74;if(_0x5e9a74<0x0||_0x5f26a3<_0xe7ba90||_0x2de115['start']<_0x4d4324)break;let _0x51aef1=_0x2de115['id']>=_0x1705e6?0x4:0x0,_0x5a23f6=_0x2de115['start'];for(_0x2de115['next']();_0x2de115['pos']>_0x5f26a3;){if(_0x2de115['size']<0x0){if(-0x3!=_0x2de115['size']&&-0x4!=_0x2de115['size'])break t;_0x51aef1+=0x4;}else _0x2de115['id']>=_0x1705e6&&(_0x51aef1+=0x4);_0x2de115['next']();}_0x21538b=_0x5a23f6,_0x20f4a1+=_0x5e9a74,_0x4a4be2+=_0x51aef1;}return(_0x379887<0x0||_0x20f4a1==_0x3b1f75)&&(_0x5631df['size']=_0x20f4a1,_0x5631df['start']=_0x21538b,_0x5631df['skip']=_0x4a4be2),_0x5631df['size']>0x4?_0x5631df:void 0x0;}(_0xb54100['pos']-_0x203cdc,_0x54f4ad))){let _0x2b9476=new Uint16Array(_0x3e83d1['size']-_0x3e83d1['skip']),_0x55b0bb=_0xb54100['pos']-_0x3e83d1['size'],_0x185ff4=_0x2b9476['length'];for(;_0xb54100['pos']>_0x55b0bb;)_0x185ff4=_0x1a41db(_0x3e83d1['start'],_0x2b9476,_0x185ff4);_0x2ec671=new IB(_0x2b9476,_0x17b94a-_0x3e83d1['start'],_0x4ba315),_0x2460f6=_0x3e83d1['start']-_0x102ff4;}else{let _0x5c2133=_0xb54100['pos']-_0x56c85d;_0xb54100['next']();let _0x37ce97=[],_0x4019d0=[],_0x493e1c=_0x2638ea>=_0x1705e6?_0x2638ea:-0x1,_0xa90ed2=0x0,_0x5da701=_0x17b94a;for(;_0xb54100['pos']>_0x5c2133;)_0x493e1c>=0x0&&_0xb54100['id']==_0x493e1c&&_0xb54100['size']>=0x0?(_0xb54100['end']<=_0x5da701-_0x307496&&(_0x58d721(_0x37ce97,_0x4019d0,_0x3fceba,_0xa90ed2,_0xb54100['end'],_0x5da701,_0x493e1c,_0x4a9d09,_0x55739b),_0xa90ed2=_0x37ce97['length'],_0x5da701=_0xb54100['end']),_0xb54100['next']()):_0x4a4c2b>0x9c4?_0xfe1a0a(_0x3fceba,_0x5c2133,_0x37ce97,_0x4019d0):_0x41e609(_0x3fceba,_0x5c2133,_0x37ce97,_0x4019d0,_0x493e1c,_0x4a4c2b+0x1);if(_0x493e1c>=0x0&&_0xa90ed2>0x0&&_0xa90ed2<_0x37ce97['length']&&_0x58d721(_0x37ce97,_0x4019d0,_0x3fceba,_0xa90ed2,_0x3fceba,_0x5da701,_0x493e1c,_0x4a9d09,_0x55739b),_0x37ce97['reverse'](),_0x4019d0['reverse'](),_0x493e1c>-0x1&&_0xa90ed2>0x0){let _0x531169=function(_0x2facd9,_0x5727e5){return(_0x58460f,_0x4cba0c,_0x2a597a)=>{let _0x34a528,_0x1dc9ac,_0x131a6b=0x0,_0x4df51b=_0x58460f['length']-0x1;if(_0x4df51b>=0x0&&(_0x34a528=_0x58460f[_0x4df51b])instanceof AB){if(!_0x4df51b&&_0x34a528['type']==_0x2facd9&&_0x34a528['length']==_0x2a597a)return _0x34a528;(_0x1dc9ac=_0x34a528['prop'](OB['lookAhead']))&&(_0x131a6b=_0x4cba0c[_0x4df51b]+_0x34a528['length']+_0x1dc9ac);}return _0x1c0b71(_0x2facd9,_0x58460f,_0x4cba0c,_0x2a597a,_0x131a6b,_0x5727e5);};}(_0x387fc6,_0x55739b);_0x2ec671=FB(_0x387fc6,_0x37ce97,_0x4019d0,0x0,_0x37ce97['length'],0x0,_0x17b94a-_0x3fceba,_0x531169,_0x531169);}else _0x2ec671=_0x1c0b71(_0x387fc6,_0x37ce97,_0x4019d0,_0x17b94a-_0x3fceba,_0x4a9d09-_0x17b94a,_0x55739b);}_0xcfb8ab['push'](_0x2ec671),_0x523196['push'](_0x2460f6);}function _0xfe1a0a(_0x2b8f8d,_0x35d643,_0x52f7ce,_0x4ddcaf){let _0x7233ca=[],_0x47b327=0x0,_0x1b605d=-0x1;for(;_0xb54100['pos']>_0x35d643;){let {id:_0x422f89,start:_0x53278d,end:_0xeef79d,size:_0x2de600}=_0xb54100;if(_0x2de600>0x4)_0xb54100['next']();else{if(_0x1b605d>-0x1&&_0x53278d<_0x1b605d)break;_0x1b605d<0x0&&(_0x1b605d=_0xeef79d-_0x307496),_0x7233ca['push'](_0x422f89,_0x53278d,_0xeef79d),_0x47b327++,_0xb54100['next']();}}if(_0x47b327){let _0x555add=new Uint16Array(0x4*_0x47b327),_0x33c5fd=_0x7233ca[_0x7233ca['length']-0x2];for(let _0x272f0e=_0x7233ca['length']-0x3,_0x2086b0=0x0;_0x272f0e>=0x0;_0x272f0e-=0x3)_0x555add[_0x2086b0++]=_0x7233ca[_0x272f0e],_0x555add[_0x2086b0++]=_0x7233ca[_0x272f0e+0x1]-_0x33c5fd,_0x555add[_0x2086b0++]=_0x7233ca[_0x272f0e+0x2]-_0x33c5fd,_0x555add[_0x2086b0++]=_0x2086b0;_0x52f7ce['push'](new IB(_0x555add,_0x7233ca[0x2]-_0x33c5fd,_0x4ba315)),_0x4ddcaf['push'](_0x33c5fd-_0x2b8f8d);}}function _0x58d721(_0x2a306c,_0x3f7416,_0x50c2b0,_0x2a1291,_0xd049a4,_0x294cbb,_0x12bd55,_0x178ce6,_0x37fcac){let _0x1241f7=[],_0x491d16=[];for(;_0x2a306c['length']>_0x2a1291;)_0x1241f7['push'](_0x2a306c['pop']()),_0x491d16['push'](_0x3f7416['pop']()+_0x50c2b0-_0xd049a4);_0x2a306c['push'](_0x1c0b71(_0x4ba315['types'][_0x12bd55],_0x1241f7,_0x491d16,_0x294cbb-_0xd049a4,_0x178ce6-_0x294cbb,_0x37fcac)),_0x3f7416['push'](_0xd049a4-_0x50c2b0);}function _0x1c0b71(_0x532be4,_0x3d4e74,_0x72c9c7,_0x2b701f,_0x24152e,_0x1cf647,_0x4e33cf){if(_0x1cf647){let _0x373c6e=[OB['contextHash'],_0x1cf647];_0x4e33cf=_0x4e33cf?[_0x373c6e]['concat'](_0x4e33cf):[_0x373c6e];}if(_0x24152e>0x19){let _0x18a679=[OB['lookAhead'],_0x24152e];_0x4e33cf=_0x4e33cf?[_0x18a679]['concat'](_0x4e33cf):[_0x18a679];}return new AB(_0x532be4,_0x3d4e74,_0x72c9c7,_0x2b701f,_0x4e33cf);}function _0x1a41db(_0x5ddaf3,_0x18470e,_0x24e778){let {id:_0x11503c,start:_0x37466a,end:_0x3979cb,size:_0xb52bb7}=_0xb54100;if(_0xb54100['next'](),_0xb52bb7>=0x0&&_0x11503c<_0x1705e6){let _0x5374d0=_0x24e778;if(_0xb52bb7>0x4){let _0x446805=_0xb54100['pos']-(_0xb52bb7-0x4);for(;_0xb54100['pos']>_0x446805;)_0x24e778=_0x1a41db(_0x5ddaf3,_0x18470e,_0x24e778);}_0x18470e[--_0x24e778]=_0x5374d0,_0x18470e[--_0x24e778]=_0x3979cb-_0x5ddaf3,_0x18470e[--_0x24e778]=_0x37466a-_0x5ddaf3,_0x18470e[--_0x24e778]=_0x11503c;}else-0x3==_0xb52bb7?_0x33231b=_0x11503c:-0x4==_0xb52bb7&&(_0x1b7b5e=_0x11503c);return _0x24e778;}let _0x3a3a20=[],_0xfaa4c=[];for(;_0xb54100['pos']>0x0;)_0x41e609(_0x1fe101['start']||0x0,_0x1fe101['bufferStart']||0x0,_0x3a3a20,_0xfaa4c,-0x1,0x0);let _0x1a6493=null!==(_0x327f6f=_0x1fe101['length'])&&void 0x0!==_0x327f6f?_0x327f6f:_0x3a3a20['length']?_0xfaa4c[0x0]+_0x3a3a20[0x0]['length']:0x0;return new AB(_0x2df308[_0x1fe101['topID']],_0x3a3a20['reverse'](),_0xfaa4c['reverse'](),_0x1a6493);}const VB=new WeakMap();function BB(_0x2a0ce2,_0x5854f9){if(!_0x2a0ce2['isAnonymous']||_0x5854f9 instanceof IB||_0x5854f9['type']!=_0x2a0ce2)return 0x1;let _0xe036b5=VB['get'](_0x5854f9);if(null==_0xe036b5){_0xe036b5=0x1;for(let _0x58720b of _0x5854f9['children']){if(_0x58720b['type']!=_0x2a0ce2||!(_0x58720b instanceof AB)){_0xe036b5=0x1;break;}_0xe036b5+=BB(_0x2a0ce2,_0x58720b);}VB['set'](_0x5854f9,_0xe036b5);}return _0xe036b5;}function FB(_0x29943a,_0x282135,_0x53ee29,_0x459c5a,_0x6eecf2,_0x4fbf78,_0x579874,_0xa52646,_0x27409e){let _0x32724b=0x0;for(let _0x2af266=_0x459c5a;_0x2af266<_0x6eecf2;_0x2af266++)_0x32724b+=BB(_0x29943a,_0x282135[_0x2af266]);let _0x2fd52b=Math['ceil'](1.5*_0x32724b/0x8),_0xae585b=[],_0x397a7a=[];return function _0x379fb2(_0x48602d,_0x4daaec,_0x27e392,_0x194488,_0x3da909){for(let _0x509905=_0x27e392;_0x509905<_0x194488;){let _0x4a0fb8=_0x509905,_0x125117=_0x4daaec[_0x509905],_0x383bb8=BB(_0x29943a,_0x48602d[_0x509905]);for(_0x509905++;_0x509905<_0x194488;_0x509905++){let _0x2b1f3d=BB(_0x29943a,_0x48602d[_0x509905]);if(_0x383bb8+_0x2b1f3d>=_0x2fd52b)break;_0x383bb8+=_0x2b1f3d;}if(_0x509905==_0x4a0fb8+0x1){if(_0x383bb8>_0x2fd52b){let _0x400605=_0x48602d[_0x4a0fb8];_0x379fb2(_0x400605['children'],_0x400605['positions'],0x0,_0x400605['children']['length'],_0x4daaec[_0x4a0fb8]+_0x3da909);continue;}_0xae585b['push'](_0x48602d[_0x4a0fb8]);}else{let _0x138f9b=_0x4daaec[_0x509905-0x1]+_0x48602d[_0x509905-0x1]['length']-_0x125117;_0xae585b['push'](FB(_0x29943a,_0x48602d,_0x4daaec,_0x4a0fb8,_0x509905,_0x125117,_0x138f9b,null,_0x27409e));}_0x397a7a['push'](_0x125117+_0x3da909-_0x4fbf78);}}(_0x282135,_0x53ee29,_0x459c5a,_0x6eecf2,0x0),(_0xa52646||_0x27409e)(_0xae585b,_0x397a7a,_0x579874);}var HB=class{constructor(){this['map']=new WeakMap();}['setBuffer'](_0x527ada,_0x493073,_0x33f582){let _0x2103fc=this['map']['get'](_0x527ada);_0x2103fc||this['map']['set'](_0x527ada,_0x2103fc=new Map()),_0x2103fc['set'](_0x493073,_0x33f582);}['getBuffer'](_0x573532,_0x4535e2){let _0x39797d=this['map']['get'](_0x573532);return _0x39797d&&_0x39797d['get'](_0x4535e2);}['set'](_0x5ec4fb,_0x2a1508){_0x5ec4fb instanceof LB?this['setBuffer'](_0x5ec4fb['context']['buffer'],_0x5ec4fb['index'],_0x2a1508):_0x5ec4fb instanceof RB&&this['map']['set'](_0x5ec4fb['tree'],_0x2a1508);}['get'](_0x4fff35){return _0x4fff35 instanceof LB?this['getBuffer'](_0x4fff35['context']['buffer'],_0x4fff35['index']):_0x4fff35 instanceof RB?this['map']['get'](_0x4fff35['tree']):void 0x0;}['cursorSet'](_0x22f64d,_0x1024c2){_0x22f64d['buffer']?this['setBuffer'](_0x22f64d['buffer']['buffer'],_0x22f64d['index'],_0x1024c2):this['map']['set'](_0x22f64d['tree'],_0x1024c2);}['cursorGet'](_0x50271d){return _0x50271d['buffer']?this['getBuffer'](_0x50271d['buffer']['buffer'],_0x50271d['index']):this['map']['get'](_0x50271d['tree']);}},ZB=class TreeFragment{constructor(_0xd89c18,_0x1c0142,_0xf316df,_0x284a69,_0x311c72=!0x1,_0x392b02=!0x1){this['from']=_0xd89c18,this['to']=_0x1c0142,this['tree']=_0xf316df,this['offset']=_0x284a69,this['open']=(_0x311c72?0x1:0x0)|(_0x392b02?0x2:0x0);}get['openStart'](){return(0x1&this['open'])>0x0;}get['openEnd'](){return(0x2&this['open'])>0x0;}static['addTree'](_0x37e68b,_0x5b474a=[],_0x388dec=!0x1){let _0x13c05c=[new TreeFragment(0x0,_0x37e68b['length'],_0x37e68b,0x0,!0x1,_0x388dec)];for(let _0x24ba1b of _0x5b474a)_0x24ba1b['to']>_0x37e68b['length']&&_0x13c05c['push'](_0x24ba1b);return _0x13c05c;}static['applyChanges'](_0x542061,_0x119265,_0x5f31a5=0x80){if(!_0x119265['length'])return _0x542061;let _0x333a32=[],_0xdb703e=0x1,_0x226bf8=_0x542061['length']?_0x542061[0x0]:null;for(let _0x527064=0x0,_0x31b1cd=0x0,_0x4dacfb=0x0;;_0x527064++){let _0x266495=_0x527064<_0x119265['length']?_0x119265[_0x527064]:null,_0x31da78=_0x266495?_0x266495['fromA']:0x3b9aca00;if(_0x31da78-_0x31b1cd>=_0x5f31a5)for(;_0x226bf8&&_0x226bf8['from']<_0x31da78;){let _0x5782f9=_0x226bf8;if(_0x31b1cd>=_0x5782f9['from']||_0x31da78<=_0x5782f9['to']||_0x4dacfb){let _0x151af4=Math['max'](_0x5782f9['from'],_0x31b1cd)-_0x4dacfb,_0x22770c=Math['min'](_0x5782f9['to'],_0x31da78)-_0x4dacfb;_0x5782f9=_0x151af4>=_0x22770c?null:new TreeFragment(_0x151af4,_0x22770c,_0x5782f9['tree'],_0x5782f9['offset']+_0x4dacfb,_0x527064>0x0,!!_0x266495);}if(_0x5782f9&&_0x333a32['push'](_0x5782f9),_0x226bf8['to']>_0x31da78)break;_0x226bf8=_0xdb703e<_0x542061['length']?_0x542061[_0xdb703e++]:null;}if(!_0x266495)break;_0x31b1cd=_0x266495['toA'],_0x4dacfb=_0x266495['toA']-_0x266495['toB'];}return _0x333a32;}},GB=class{['startParse'](_0x277c53,_0x54a8db,_0x14478a){return'string'==typeof _0x277c53&&(_0x277c53=new XB(_0x277c53)),_0x14478a=_0x14478a?_0x14478a['length']?_0x14478a['map'](_0x1bc53b=>new gB(_0x1bc53b['from'],_0x1bc53b['to'])):[new gB(0x0,0x0)]:[new gB(0x0,_0x277c53['length'])],this['createParse'](_0x277c53,_0x54a8db||[],_0x14478a);}['parse'](_0x1dc185,_0x1751c2,_0x266179){let _0x10d666=this['startParse'](_0x1dc185,_0x1751c2,_0x266179);for(;;){let _0x433468=_0x10d666['advance']();if(_0x433468)return _0x433468;}}},XB=class{constructor(_0x57a2d5){this['string']=_0x57a2d5;}get['length'](){return this['string']['length'];}['chunk'](_0x41b46c){return this['string']['slice'](_0x41b46c);}get['lineChunks'](){return!0x1;}['read'](_0x1571f5,_0x5b8b1f){return this['string']['slice'](_0x1571f5,_0x5b8b1f);}};function qB(_0x2ea258){return(_0x9d0a3e,_0x47e816,_0x1b53a4,_0x36bd84)=>new JB(_0x9d0a3e,_0x2ea258,_0x47e816,_0x1b53a4,_0x36bd84);}var WB=class{constructor(_0x2b1292,_0x5f086c,_0x1c1422,_0xe7ccde,_0x481b06,_0x3932b1){this['parser']=_0x2b1292,this['parse']=_0x5f086c,this['overlay']=_0x1c1422,this['bracketed']=_0xe7ccde,this['target']=_0x481b06,this['from']=_0x3932b1;}};function zB(_0x3d054f){if(!_0x3d054f['length']||_0x3d054f['some'](_0x37ebac=>_0x37ebac['from']>=_0x37ebac['to']))throw new RangeError('Invalid\x20inner\x20parse\x20ranges\x20given:\x20'+JSON['stringify'](_0x3d054f));}var YB=class{constructor(_0x5eb194,_0x412eae,_0x390156,_0x14a793,_0xd7fe4a,_0x47ef9b,_0x162368,_0x2185c6){this['parser']=_0x5eb194,this['predicate']=_0x412eae,this['mounts']=_0x390156,this['index']=_0x14a793,this['start']=_0xd7fe4a,this['bracketed']=_0x47ef9b,this['target']=_0x162368,this['prev']=_0x2185c6,this['depth']=0x0,this['ranges']=[];}};const KB=new OB({'perNode':!0x0});var JB=class{constructor(_0x2ddd9e,_0x167e72,_0x548bd4,_0x1e7387,_0x41bc4b){this['nest']=_0x167e72,this['input']=_0x548bd4,this['fragments']=_0x1e7387,this['ranges']=_0x41bc4b,this['inner']=[],this['innerDone']=0x0,this['baseTree']=null,this['stoppedAt']=null,this['baseParse']=_0x2ddd9e;}['advance'](){if(this['baseParse']){let _0x5ad844=this['baseParse']['advance']();if(!_0x5ad844)return null;if(this['baseParse']=null,this['baseTree']=_0x5ad844,this['startInner'](),null!=this['stoppedAt']){for(let _0x4e7f4d of this['inner'])_0x4e7f4d['parse']['stopAt'](this['stoppedAt']);}}if(this['innerDone']==this['inner']['length']){let _0x500bae=this['baseTree'];return null!=this['stoppedAt']&&(_0x500bae=new AB(_0x500bae['type'],_0x500bae['children'],_0x500bae['positions'],_0x500bae['length'],_0x500bae['propValues']['concat']([[KB,this['stoppedAt']]]))),_0x500bae;}let _0x5ed12d=this['inner'][this['innerDone']],_0x5d7d6e=_0x5ed12d['parse']['advance']();if(_0x5d7d6e){this['innerDone']++;let _0x1bb512=Object['assign'](Object['create'](null),_0x5ed12d['target']['props']);_0x1bb512[OB['mounted']['id']]=new wB(_0x5d7d6e,_0x5ed12d['overlay'],_0x5ed12d['parser'],_0x5ed12d['bracketed']),_0x5ed12d['target']['props']=_0x1bb512;}return null;}get['parsedPos'](){if(this['baseParse'])return 0x0;let _0x4769b5=this['input']['length'];for(let _0x249df4=this['innerDone'];_0x249df4<this['inner']['length'];_0x249df4++)this['inner'][_0x249df4]['from']<_0x4769b5&&(_0x4769b5=Math['min'](_0x4769b5,this['inner'][_0x249df4]['parse']['parsedPos']));return _0x4769b5;}['stopAt'](_0x3f2b2c){if(this['stoppedAt']=_0x3f2b2c,this['baseParse'])this['baseParse']['stopAt'](_0x3f2b2c);else{for(let _0x4ff4b1=this['innerDone'];_0x4ff4b1<this['inner']['length'];_0x4ff4b1++)this['inner'][_0x4ff4b1]['parse']['stopAt'](_0x3f2b2c);}}['startInner'](){let _0x1a4f71=new nF(this['fragments']),_0x552586=null,_0x2acd0f=null,_0x1911f8=new QB(new RB(this['baseTree'],this['ranges'][0x0]['from'],0x0,null),TB['IncludeAnonymous']|TB['IgnoreMounts']);t:for(let _0x148bdd,_0x5a6ee7;;){let _0x29fd4a,_0x1e027c=!0x0;if(null!=this['stoppedAt']&&_0x1911f8['from']>=this['stoppedAt'])_0x1e027c=!0x1;else{if(_0x1a4f71['hasNode'](_0x1911f8)){if(_0x552586){let _0x4733be=_0x552586['mounts']['find'](_0x5e59a1=>_0x5e59a1['frag']['from']<=_0x1911f8['from']&&_0x5e59a1['frag']['to']>=_0x1911f8['to']&&_0x5e59a1['mount']['overlay']);if(_0x4733be)for(let _0x3d0ff6 of _0x4733be['mount']['overlay']){let _0x3192e3=_0x3d0ff6['from']+_0x4733be['pos'],_0x395750=_0x3d0ff6['to']+_0x4733be['pos'];_0x3192e3>=_0x1911f8['from']&&_0x395750<=_0x1911f8['to']&&!_0x552586['ranges']['some'](_0x6bd0e6=>_0x6bd0e6['from']<_0x395750&&_0x6bd0e6['to']>_0x3192e3)&&_0x552586['ranges']['push']({'from':_0x3192e3,'to':_0x395750});}}_0x1e027c=!0x1;}else{if(_0x2acd0f&&(_0x5a6ee7=tF(_0x2acd0f['ranges'],_0x1911f8['from'],_0x1911f8['to'])))_0x1e027c=0x2!=_0x5a6ee7;else{if(!_0x1911f8['type']['isAnonymous']&&(_0x148bdd=this['nest'](_0x1911f8,this['input']))&&(_0x1911f8['from']<_0x1911f8['to']||!_0x148bdd['overlay'])){_0x1911f8['tree']||(iF(_0x1911f8),_0x552586&&_0x552586['depth']++,_0x2acd0f&&_0x2acd0f['depth']++);let _0x4c3b1a=_0x1a4f71['findMounts'](_0x1911f8['from'],_0x148bdd['parser']);if('function'==typeof _0x148bdd['overlay'])_0x552586=new YB(_0x148bdd['parser'],_0x148bdd['overlay'],_0x4c3b1a,this['inner']['length'],_0x1911f8['from'],!!_0x148bdd['bracketed'],_0x1911f8['tree'],_0x552586);else{let _0x2dec31=rF(this['ranges'],_0x148bdd['overlay']||(_0x1911f8['from']<_0x1911f8['to']?[new gB(_0x1911f8['from'],_0x1911f8['to'])]:[]));_0x2dec31['length']&&zB(_0x2dec31),!_0x2dec31['length']&&_0x148bdd['overlay']||this['inner']['push'](new WB(_0x148bdd['parser'],_0x2dec31['length']?_0x148bdd['parser']['startParse'](this['input'],aF(_0x4c3b1a,_0x2dec31),_0x2dec31):_0x148bdd['parser']['startParse'](''),_0x148bdd['overlay']?_0x148bdd['overlay']['map'](_0x5902a7=>new gB(_0x5902a7['from']-_0x1911f8['from'],_0x5902a7['to']-_0x1911f8['from'])):null,!!_0x148bdd['bracketed'],_0x1911f8['tree'],_0x2dec31['length']?_0x2dec31[0x0]['from']:_0x1911f8['from'])),_0x148bdd['overlay']?_0x2dec31['length']&&(_0x2acd0f={'ranges':_0x2dec31,'depth':0x0,'prev':_0x2acd0f}):_0x1e027c=!0x1;}}else{if(_0x552586&&(_0x29fd4a=_0x552586['predicate'](_0x1911f8))&&(!0x0===_0x29fd4a&&(_0x29fd4a=new gB(_0x1911f8['from'],_0x1911f8['to'])),_0x29fd4a['from']<_0x29fd4a['to'])){let _0x5676f0=_0x552586['ranges']['length']-0x1;_0x5676f0>=0x0&&_0x552586['ranges'][_0x5676f0]['to']==_0x29fd4a['from']?_0x552586['ranges'][_0x5676f0]={'from':_0x552586['ranges'][_0x5676f0]['from'],'to':_0x29fd4a['to']}:_0x552586['ranges']['push'](_0x29fd4a);}}}}}if(_0x1e027c&&_0x1911f8['firstChild']())_0x552586&&_0x552586['depth']++,_0x2acd0f&&_0x2acd0f['depth']++;else for(;!_0x1911f8['nextSibling']();){if(!_0x1911f8['parent']())break t;if(_0x552586&&!--_0x552586['depth']){let _0x4f30ae=rF(this['ranges'],_0x552586['ranges']);_0x4f30ae['length']&&(zB(_0x4f30ae),this['inner']['splice'](_0x552586['index'],0x0,new WB(_0x552586['parser'],_0x552586['parser']['startParse'](this['input'],aF(_0x552586['mounts'],_0x4f30ae),_0x4f30ae),_0x552586['ranges']['map'](_0x39b93f=>new gB(_0x39b93f['from']-_0x552586['start'],_0x39b93f['to']-_0x552586['start'])),_0x552586['bracketed'],_0x552586['target'],_0x4f30ae[0x0]['from']))),_0x552586=_0x552586['prev'];}_0x2acd0f&&!--_0x2acd0f['depth']&&(_0x2acd0f=_0x2acd0f['prev']);}}}};function tF(_0x42d983,_0x64f4b3,_0x4417d1){for(let _0x390544 of _0x42d983){if(_0x390544['from']>=_0x4417d1)break;if(_0x390544['to']>_0x64f4b3)return _0x390544['from']<=_0x64f4b3&&_0x390544['to']>=_0x4417d1?0x2:0x1;}return 0x0;}function eF(_0x3977d6,_0x7b2eba,_0x1d3496,_0x46b40a,_0x28e7a3,_0x950c1d){if(_0x7b2eba<_0x1d3496){let _0x38213a=_0x3977d6['buffer'][_0x7b2eba+0x1];_0x46b40a['push'](_0x3977d6['slice'](_0x7b2eba,_0x1d3496,_0x38213a)),_0x28e7a3['push'](_0x38213a-_0x950c1d);}}function iF(_0x2a6452){let {node:_0x1631ad}=_0x2a6452,_0x3584c1=[],_0x5c35ec=_0x1631ad['context']['buffer'];do{_0x3584c1['push'](_0x2a6452['index']),_0x2a6452['parent']();}while(!_0x2a6452['tree']);let _0x3ee9ff=_0x2a6452['tree'],_0x10db5b=_0x3ee9ff['children']['indexOf'](_0x5c35ec),_0x5fd7c8=_0x3ee9ff['children'][_0x10db5b],_0x414f28=_0x5fd7c8['buffer'],_0x470346=[_0x10db5b];_0x3ee9ff['children'][_0x10db5b]=function _0x5720f(_0x292340,_0x3f223b,_0x45cede,_0x4a76f7,_0xbc57e0,_0x56b1d8){let _0x108e2c=_0x3584c1[_0x56b1d8],_0x3fddfa=[],_0x14a546=[];eF(_0x5fd7c8,_0x292340,_0x108e2c,_0x3fddfa,_0x14a546,_0x4a76f7);let _0x5a9e71=_0x414f28[_0x108e2c+0x1],_0x13b873=_0x414f28[_0x108e2c+0x2];_0x470346['push'](_0x3fddfa['length']);let _0x1465e1=_0x56b1d8?_0x5720f(_0x108e2c+0x4,_0x414f28[_0x108e2c+0x3],_0x5fd7c8['set']['types'][_0x414f28[_0x108e2c]],_0x5a9e71,_0x13b873-_0x5a9e71,_0x56b1d8-0x1):_0x1631ad['toTree']();return _0x3fddfa['push'](_0x1465e1),_0x14a546['push'](_0x5a9e71-_0x4a76f7),eF(_0x5fd7c8,_0x414f28[_0x108e2c+0x3],_0x3f223b,_0x3fddfa,_0x14a546,_0x4a76f7),new AB(_0x45cede,_0x3fddfa,_0x14a546,_0xbc57e0);}(0x0,_0x414f28['length'],yB['none'],0x0,_0x5fd7c8['length'],_0x3584c1['length']-0x1);for(let _0x215c66 of _0x470346){let _0x71b682=_0x2a6452['tree']['children'][_0x215c66],_0x333aa7=_0x2a6452['tree']['positions'][_0x215c66];_0x2a6452['yield'](new RB(_0x71b682,_0x333aa7+_0x2a6452['from'],_0x215c66,_0x2a6452['_tree']));}}var sF=class{constructor(_0x215f2b,_0x2ddb7c){this['offset']=_0x2ddb7c,this['done']=!0x1,this['cursor']=_0x215f2b['cursor'](TB['IncludeAnonymous']|TB['IgnoreMounts']);}['moveTo'](_0x456eb6){let {cursor:_0xc2ba00}=this,_0x154d4d=_0x456eb6-this['offset'];for(;!this['done']&&_0xc2ba00['from']<_0x154d4d;)if(_0xc2ba00['to']>=_0x456eb6&&_0xc2ba00['enter'](_0x154d4d,0x1,TB['IgnoreOverlays']|TB['ExcludeBuffers']));else{if(!(_0xc2ba00['to']<=_0x456eb6))break;_0xc2ba00['next'](!0x1)||(this['done']=!0x0);}}['hasNode'](_0x4daddc){if(this['moveTo'](_0x4daddc['from']),!this['done']&&this['cursor']['from']+this['offset']==_0x4daddc['from']&&this['cursor']['tree'])for(let _0x1ee4f5=this['cursor']['tree'];;){if(_0x1ee4f5==_0x4daddc['tree'])return!0x0;if(!(_0x1ee4f5['children']['length']&&0x0==_0x1ee4f5['positions'][0x0]&&_0x1ee4f5['children'][0x0]instanceof AB))break;_0x1ee4f5=_0x1ee4f5['children'][0x0];}return!0x1;}},nF=class{constructor(_0xed696){var _0x50cc35;if(this['fragments']=_0xed696,this['curTo']=0x0,this['fragI']=0x0,_0xed696['length']){let _0x2923da=this['curFrag']=_0xed696[0x0];this['curTo']=null!==(_0x50cc35=_0x2923da['tree']['prop'](KB))&&void 0x0!==_0x50cc35?_0x50cc35:_0x2923da['to'],this['inner']=new sF(_0x2923da['tree'],-_0x2923da['offset']);}else this['curFrag']=this['inner']=null;}['hasNode'](_0x15b768){for(;this['curFrag']&&_0x15b768['from']>=this['curTo'];)this['nextFrag']();return this['curFrag']&&this['curFrag']['from']<=_0x15b768['from']&&this['curTo']>=_0x15b768['to']&&this['inner']['hasNode'](_0x15b768);}['nextFrag'](){var _0x2fa08b;if(this['fragI']++,this['fragI']==this['fragments']['length'])this['curFrag']=this['inner']=null;else{let _0x2b128a=this['curFrag']=this['fragments'][this['fragI']];this['curTo']=null!==(_0x2fa08b=_0x2b128a['tree']['prop'](KB))&&void 0x0!==_0x2fa08b?_0x2fa08b:_0x2b128a['to'],this['inner']=new sF(_0x2b128a['tree'],-_0x2b128a['offset']);}}['findMounts'](_0x2a3e5d,_0x51aaa2){var _0x568a9d;let _0x220751=[];if(this['inner']){this['inner']['cursor']['moveTo'](_0x2a3e5d,0x1);for(let _0x1e6b8d=this['inner']['cursor']['node'];_0x1e6b8d;_0x1e6b8d=_0x1e6b8d['parent']){let _0x216cd4=null===(_0x568a9d=_0x1e6b8d['tree'])||void 0x0===_0x568a9d?void 0x0:_0x568a9d['prop'](OB['mounted']);if(_0x216cd4&&_0x216cd4['parser']==_0x51aaa2)for(let _0x11be56=this['fragI'];_0x11be56<this['fragments']['length'];_0x11be56++){let _0x455689=this['fragments'][_0x11be56];if(_0x455689['from']>=_0x1e6b8d['to'])break;_0x455689['tree']==this['curFrag']['tree']&&_0x220751['push']({'frag':_0x455689,'pos':_0x1e6b8d['from']-_0x455689['offset'],'mount':_0x216cd4});}}}return _0x220751;}};function rF(_0x225f7f,_0x674b49){let _0x1bdd54=null,_0x5e37d9=_0x674b49;for(let _0x40b77b=0x1,_0x276d49=0x0;_0x40b77b<_0x225f7f['length'];_0x40b77b++){let _0x1ee0f6=_0x225f7f[_0x40b77b-0x1]['to'],_0x25ec03=_0x225f7f[_0x40b77b]['from'];for(;_0x276d49<_0x5e37d9['length'];_0x276d49++){let _0x62be7d=_0x5e37d9[_0x276d49];if(_0x62be7d['from']>=_0x25ec03)break;_0x62be7d['to']<=_0x1ee0f6||(_0x1bdd54||(_0x5e37d9=_0x1bdd54=_0x674b49['slice']()),_0x62be7d['from']<_0x1ee0f6?(_0x1bdd54[_0x276d49]=new gB(_0x62be7d['from'],_0x1ee0f6),_0x62be7d['to']>_0x25ec03&&_0x1bdd54['splice'](_0x276d49+0x1,0x0,new gB(_0x25ec03,_0x62be7d['to']))):_0x62be7d['to']>_0x25ec03?_0x1bdd54[_0x276d49--]=new gB(_0x25ec03,_0x62be7d['to']):_0x1bdd54['splice'](_0x276d49--,0x1));}}return _0x5e37d9;}function oF(_0x5aa8d2,_0x2c77b4,_0x208b27,_0x5a6998){let _0x1ad77c=0x0,_0x5760d0=0x0,_0x3a7816=!0x1,_0x38bca5=!0x1,_0x454566=-0x3b9aca00,_0x29c373=[];for(;;){let _0x2994c3=_0x1ad77c==_0x5aa8d2['length']?0x3b9aca00:_0x3a7816?_0x5aa8d2[_0x1ad77c]['to']:_0x5aa8d2[_0x1ad77c]['from'],_0x350de4=_0x5760d0==_0x2c77b4['length']?0x3b9aca00:_0x38bca5?_0x2c77b4[_0x5760d0]['to']:_0x2c77b4[_0x5760d0]['from'];if(_0x3a7816!=_0x38bca5){let _0x5b28a3=Math['max'](_0x454566,_0x208b27),_0x278d6a=Math['min'](_0x2994c3,_0x350de4,_0x5a6998);_0x5b28a3<_0x278d6a&&_0x29c373['push'](new gB(_0x5b28a3,_0x278d6a));}if(_0x454566=Math['min'](_0x2994c3,_0x350de4),0x3b9aca00==_0x454566)break;_0x2994c3==_0x454566&&(_0x3a7816?(_0x3a7816=!0x1,_0x1ad77c++):_0x3a7816=!0x0),_0x350de4==_0x454566&&(_0x38bca5?(_0x38bca5=!0x1,_0x5760d0++):_0x38bca5=!0x0);}return _0x29c373;}function aF(_0x5a131f,_0x3a1640){let _0x1f24f5=[];for(let {pos:_0x395941,mount:_0x76f582,frag:_0x30e43c}of _0x5a131f){let _0x5e73e5=_0x395941+(_0x76f582['overlay']?_0x76f582['overlay'][0x0]['from']:0x0),_0x3a4d58=_0x5e73e5+_0x76f582['tree']['length'],_0x5a9999=Math['max'](_0x30e43c['from'],_0x5e73e5),_0x2d0c5c=Math['min'](_0x30e43c['to'],_0x3a4d58);if(_0x76f582['overlay']){let _0x5bd7f1=oF(_0x3a1640,_0x76f582['overlay']['map'](_0x3ad1cd=>new gB(_0x3ad1cd['from']+_0x395941,_0x3ad1cd['to']+_0x395941)),_0x5a9999,_0x2d0c5c);for(let _0x1db346=0x0,_0x1c6ed9=_0x5a9999;;_0x1db346++){let _0x5c8940=_0x1db346==_0x5bd7f1['length'],_0x887a58=_0x5c8940?_0x2d0c5c:_0x5bd7f1[_0x1db346]['from'];if(_0x887a58>_0x1c6ed9&&_0x1f24f5['push'](new ZB(_0x1c6ed9,_0x887a58,_0x76f582['tree'],-_0x5e73e5,_0x30e43c['from']>=_0x1c6ed9||_0x30e43c['openStart'],_0x30e43c['to']<=_0x887a58||_0x30e43c['openEnd'])),_0x5c8940)break;_0x1c6ed9=_0x5bd7f1[_0x1db346]['to'];}}else _0x1f24f5['push'](new ZB(_0x5a9999,_0x2d0c5c,_0x76f582['tree'],-_0x5e73e5,_0x30e43c['from']>=_0x5e73e5||_0x30e43c['openStart'],_0x30e43c['to']<=_0x3a4d58||_0x30e43c['openEnd']));}return _0x1f24f5;}let cF=0x0;var lF=class Tag{constructor(_0xaee976,_0x4585e3,_0x44b681,_0x21fb1c){this['name']=_0xaee976,this['set']=_0x4585e3,this['base']=_0x44b681,this['modified']=_0x21fb1c,this['id']=cF++;}['toString'](){let {name:_0x5481c8}=this;for(let _0x53689f of this['modified'])_0x53689f['name']&&(_0x5481c8=_0x53689f['name']+'('+_0x5481c8+')');return _0x5481c8;}static['define'](_0x2798e1,_0x34e616){let _0x51ae62='string'==typeof _0x2798e1?_0x2798e1:'?';if(_0x2798e1 instanceof Tag&&(_0x34e616=_0x2798e1),null==_0x34e616?void 0x0:_0x34e616['base'])throw new Error('Can\x20not\x20derive\x20from\x20a\x20modified\x20tag');let _0x5dda14=new Tag(_0x51ae62,[],null,[]);if(_0x5dda14['set']['push'](_0x5dda14),_0x34e616){for(let t of _0x34e616['set'])_0x5dda14['set']['push'](t);}return _0x5dda14;}static['defineModifier'](_0x2163bb){let _0x3343df=new uF(_0x2163bb);return _0x105649=>_0x105649['modified']['indexOf'](_0x3343df)>-0x1?_0x105649:uF['get'](_0x105649['base']||_0x105649,_0x105649['modified']['concat'](_0x3343df)['sort']((_0x3961fc,_0x305cdf)=>_0x3961fc['id']-_0x305cdf['id']));}};let hF=0x0;var uF=class Modifier{constructor(_0x4fe9c4){this['name']=_0x4fe9c4,this['instances']=[],this['id']=hF++;}static['get'](_0x4104c4,_0x4ca542){if(!_0x4ca542['length'])return _0x4104c4;let _0x403ebb=_0x4ca542[0x0]['instances']['find'](t=>{return t['base']==_0x4104c4&&(_0x3c0de7=_0x4ca542,_0x3b94e9=t['modified'],_0x3c0de7['length']==_0x3b94e9['length']&&_0x3c0de7['every']((_0x20ede5,_0x2f3bef)=>_0x20ede5==_0x3b94e9[_0x2f3bef]));var _0x3c0de7,_0x3b94e9;});if(_0x403ebb)return _0x403ebb;let _0x230efe=[],_0x126923=new lF(_0x4104c4['name'],_0x230efe,_0x4104c4,_0x4ca542);for(let _0x2be477 of _0x4ca542)_0x2be477['instances']['push'](_0x126923);let _0x230a00=function(_0x1b4309){let _0x1a9d48=[[]];for(let _0x4184ec=0x0;_0x4184ec<_0x1b4309['length'];_0x4184ec++)for(let _0x2920e7=0x0,_0x4e51cc=_0x1a9d48['length'];_0x2920e7<_0x4e51cc;_0x2920e7++)_0x1a9d48['push'](_0x1a9d48[_0x2920e7]['concat'](_0x1b4309[_0x4184ec]));return _0x1a9d48['sort']((_0x4d279f,_0x1cb6b9)=>_0x1cb6b9['length']-_0x4d279f['length']);}(_0x4ca542);for(let _0x528b19 of _0x4104c4['set'])if(!_0x528b19['modified']['length']){for(let _0x51afb5 of _0x230a00)_0x230efe['push'](Modifier['get'](_0x528b19,_0x51afb5));}return _0x126923;}};function dF(_0x4c0d6f){let _0x21daf8=Object['create'](null);for(let _0x323691 in _0x4c0d6f){let _0x3296c7=_0x4c0d6f[_0x323691];Array['isArray'](_0x3296c7)||(_0x3296c7=[_0x3296c7]);for(let _0x976f9d of _0x323691['split']('\x20'))if(_0x976f9d){let _0x49f719=[],_0x3e9cb9=0x2,_0x2c0508=_0x976f9d;for(let _0x451d67=0x0;;){if('...'==_0x2c0508&&_0x451d67>0x0&&_0x451d67+0x3==_0x976f9d['length']){_0x3e9cb9=0x1;break;}let _0x155032=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/['exec'](_0x2c0508);if(!_0x155032)throw new RangeError('Invalid\x20path:\x20'+_0x976f9d);if(_0x49f719['push']('*'==_0x155032[0x0]?'':'\x22'==_0x155032[0x0][0x0]?JSON['parse'](_0x155032[0x0]):_0x155032[0x0]),_0x451d67+=_0x155032[0x0]['length'],_0x451d67==_0x976f9d['length'])break;let _0xb06d25=_0x976f9d[_0x451d67++];if(_0x451d67==_0x976f9d['length']&&'!'==_0xb06d25){_0x3e9cb9=0x0;break;}if('/'!=_0xb06d25)throw new RangeError('Invalid\x20path:\x20'+_0x976f9d);_0x2c0508=_0x976f9d['slice'](_0x451d67);}let _0x1384bb=_0x49f719['length']-0x1,_0x2b596a=_0x49f719[_0x1384bb];if(!_0x2b596a)throw new RangeError('Invalid\x20path:\x20'+_0x976f9d);_0x21daf8[_0x2b596a]=new mF(_0x3296c7,_0x3e9cb9,_0x1384bb>0x0?_0x49f719['slice'](0x0,_0x1384bb):null)['sort'](_0x21daf8[_0x2b596a]);}}return fF['add'](_0x21daf8);}const fF=new OB({'combine'(_0x1c35d1,_0xedb220){let _0x5679bb,_0x5a17d0,_0x2a53c8;for(;_0x1c35d1||_0xedb220;){if(!_0x1c35d1||_0xedb220&&_0x1c35d1['depth']>=_0xedb220['depth']?(_0x2a53c8=_0xedb220,_0xedb220=_0xedb220['next']):(_0x2a53c8=_0x1c35d1,_0x1c35d1=_0x1c35d1['next']),_0x5679bb&&_0x5679bb['mode']==_0x2a53c8['mode']&&!_0x2a53c8['context']&&!_0x5679bb['context'])continue;let _0x1fb747=new mF(_0x2a53c8['tags'],_0x2a53c8['mode'],_0x2a53c8['context']);_0x5679bb?_0x5679bb['next']=_0x1fb747:_0x5a17d0=_0x1fb747,_0x5679bb=_0x1fb747;}return _0x5a17d0;}});var mF=class{constructor(_0x4e50c6,_0x505d1c,_0x2438b6,_0x119c3b){this['tags']=_0x4e50c6,this['mode']=_0x505d1c,this['context']=_0x2438b6,this['next']=_0x119c3b;}get['opaque'](){return 0x0==this['mode'];}get['inherit'](){return 0x1==this['mode'];}['sort'](_0x4e6f35){return!_0x4e6f35||_0x4e6f35['depth']<this['depth']?(this['next']=_0x4e6f35,this):(_0x4e6f35['next']=this['sort'](_0x4e6f35['next']),_0x4e6f35);}get['depth'](){return this['context']?this['context']['length']:0x0;}};function pF(_0x44e898,_0x100fab){let _0x1ed48c=Object['create'](null);for(let _0x1dc0b0 of _0x44e898)if(Array['isArray'](_0x1dc0b0['tag'])){for(let _0x60017b of _0x1dc0b0['tag'])_0x1ed48c[_0x60017b['id']]=_0x1dc0b0['class'];}else _0x1ed48c[_0x1dc0b0['tag']['id']]=_0x1dc0b0['class'];let {scope:_0x2706d9,all:_0x50cf9a=null}=_0x100fab||{};return{'style':_0x49bb25=>{let _0x402c53=_0x50cf9a;for(let _0x3ec235 of _0x49bb25)for(let _0x407aa7 of _0x3ec235['set']){let _0x28253a=_0x1ed48c[_0x407aa7['id']];if(_0x28253a){_0x402c53=_0x402c53?_0x402c53+'\x20'+_0x28253a:_0x28253a;break;}}return _0x402c53;},'scope':_0x2706d9};}function gF(_0x167778,_0x3e0bfb,_0x3178a2,_0x20955b=0x0,_0x3e20c4=_0x167778['length']){let _0x374690=new OF(_0x20955b,Array['isArray'](_0x3e0bfb)?_0x3e0bfb:[_0x3e0bfb],_0x3178a2);_0x374690['highlightRange'](_0x167778['cursor'](),_0x20955b,_0x3e20c4,'',_0x374690['highlighters']),_0x374690['flush'](_0x3e20c4);}mF['empty']=new mF([],0x2,null);var OF=class{constructor(_0x3370f5,_0xa3eaee,_0x1ac92f){this['at']=_0x3370f5,this['highlighters']=_0xa3eaee,this['span']=_0x1ac92f,this['class']='';}['startSpan'](_0x55608e,_0x5464c6){_0x5464c6!=this['class']&&(this['flush'](_0x55608e),_0x55608e>this['at']&&(this['at']=_0x55608e),this['class']=_0x5464c6);}['flush'](_0x47bd2c){_0x47bd2c>this['at']&&this['class']&&this['span'](this['at'],_0x47bd2c,this['class']);}['highlightRange'](_0x490b4e,_0x4a91b0,_0x248e50,_0x15a211,_0x422914){let {type:_0xbaec2a,from:_0x5c510c,to:_0x388475}=_0x490b4e;if(_0x5c510c>=_0x248e50||_0x388475<=_0x4a91b0)return;_0xbaec2a['isTop']&&(_0x422914=this['highlighters']['filter'](_0x227777=>!_0x227777['scope']||_0x227777['scope'](_0xbaec2a)));let _0x2941c8=_0x15a211,_0x5aeac0=function(_0x4fcc0c){let _0x5a0ce5=_0x4fcc0c['type']['prop'](fF);for(;_0x5a0ce5&&_0x5a0ce5['context']&&!_0x4fcc0c['matchContext'](_0x5a0ce5['context']);)_0x5a0ce5=_0x5a0ce5['next'];return _0x5a0ce5||null;}(_0x490b4e)||mF['empty'],_0x39a19e=function(_0x534c8a,_0xa8b70d){let _0xf99bfe=null;for(let _0x1e7f6e of _0x534c8a){let _0x50361b=_0x1e7f6e['style'](_0xa8b70d);_0x50361b&&(_0xf99bfe=_0xf99bfe?_0xf99bfe+'\x20'+_0x50361b:_0x50361b);}return _0xf99bfe;}(_0x422914,_0x5aeac0['tags']);if(_0x39a19e&&(_0x2941c8&&(_0x2941c8+='\x20'),_0x2941c8+=_0x39a19e,0x1==_0x5aeac0['mode']&&(_0x15a211+=(_0x15a211?'\x20':'')+_0x39a19e)),this['startSpan'](Math['max'](_0x4a91b0,_0x5c510c),_0x2941c8),_0x5aeac0['opaque'])return;let _0x3d6c93=_0x490b4e['tree']&&_0x490b4e['tree']['prop'](OB['mounted']);if(_0x3d6c93&&_0x3d6c93['overlay']){let _0x5630a7=_0x490b4e['node']['enter'](_0x3d6c93['overlay'][0x0]['from']+_0x5c510c,0x1),_0x334175=this['highlighters']['filter'](_0x51be71=>!_0x51be71['scope']||_0x51be71['scope'](_0x3d6c93['tree']['type'])),_0x40cf09=_0x490b4e['firstChild']();for(let _0x25fd84=0x0,_0x8514a8=_0x5c510c;;_0x25fd84++){let _0x503400=_0x25fd84<_0x3d6c93['overlay']['length']?_0x3d6c93['overlay'][_0x25fd84]:null,_0x2f1a00=_0x503400?_0x503400['from']+_0x5c510c:_0x388475,_0xd8efd4=Math['max'](_0x4a91b0,_0x8514a8),_0x4e3b1b=Math['min'](_0x248e50,_0x2f1a00);if(_0xd8efd4<_0x4e3b1b&&_0x40cf09){for(;_0x490b4e['from']<_0x4e3b1b&&(this['highlightRange'](_0x490b4e,_0xd8efd4,_0x4e3b1b,_0x15a211,_0x422914),this['startSpan'](Math['min'](_0x4e3b1b,_0x490b4e['to']),_0x2941c8),!(_0x490b4e['to']>=_0x2f1a00)&&_0x490b4e['nextSibling']()););}if(!_0x503400||_0x2f1a00>_0x248e50)break;_0x8514a8=_0x503400['to']+_0x5c510c,_0x8514a8>_0x4a91b0&&(this['highlightRange'](_0x5630a7['cursor'](),Math['max'](_0x4a91b0,_0x503400['from']+_0x5c510c),Math['min'](_0x248e50,_0x8514a8),'',_0x334175),this['startSpan'](Math['min'](_0x248e50,_0x8514a8),_0x2941c8));}_0x40cf09&&_0x490b4e['parent']();}else{if(_0x490b4e['firstChild']()){_0x3d6c93&&(_0x15a211='');do{if(!(_0x490b4e['to']<=_0x4a91b0)){if(_0x490b4e['from']>=_0x248e50)break;this['highlightRange'](_0x490b4e,_0x4a91b0,_0x248e50,_0x15a211,_0x422914),this['startSpan'](Math['min'](_0x248e50,_0x490b4e['to']),_0x2941c8);}}while(_0x490b4e['nextSibling']());_0x490b4e['parent']();}}}};const t=lF['define'],wF=t(),bF=t(),yF=t(bF),vF=t(bF),_F=t(),EF=t(_F),TF=t(_F),AF=t(),SF=t(AF),IF=t(),kF=t(),xF=t(),CF=t(xF),RF=t(),PF={'comment':wF,'lineComment':t(wF),'blockComment':t(wF),'docComment':t(wF),'name':bF,'variableName':t(bF),'typeName':yF,'tagName':t(yF),'propertyName':vF,'attributeName':t(vF),'className':t(bF),'labelName':t(bF),'namespace':t(bF),'macroName':t(bF),'literal':_F,'string':EF,'docString':t(EF),'character':t(EF),'attributeValue':t(EF),'number':TF,'integer':t(TF),'float':t(TF),'bool':t(_F),'regexp':t(_F),'escape':t(_F),'color':t(_F),'url':t(_F),'keyword':IF,'self':t(IF),'null':t(IF),'atom':t(IF),'unit':t(IF),'modifier':t(IF),'operatorKeyword':t(IF),'controlKeyword':t(IF),'definitionKeyword':t(IF),'moduleKeyword':t(IF),'operator':kF,'derefOperator':t(kF),'arithmeticOperator':t(kF),'logicOperator':t(kF),'bitwiseOperator':t(kF),'compareOperator':t(kF),'updateOperator':t(kF),'definitionOperator':t(kF),'typeOperator':t(kF),'controlOperator':t(kF),'punctuation':xF,'separator':t(xF),'bracket':CF,'angleBracket':t(CF),'squareBracket':t(CF),'paren':t(CF),'brace':t(CF),'content':AF,'heading':SF,'heading1':t(SF),'heading2':t(SF),'heading3':t(SF),'heading4':t(SF),'heading5':t(SF),'heading6':t(SF),'contentSeparator':t(AF),'list':t(AF),'quote':t(AF),'emphasis':t(AF),'strong':t(AF),'link':t(AF),'monospace':t(AF),'strikethrough':t(AF),'inserted':t(),'deleted':t(),'changed':t(),'invalid':t(),'meta':RF,'documentMeta':t(RF),'annotation':t(RF),'processingInstruction':t(RF),'definition':lF['defineModifier']('definition'),'constant':lF['defineModifier']('constant'),'function':lF['defineModifier']('function'),'standard':lF['defineModifier']('standard'),'local':lF['defineModifier']('local'),'special':lF['defineModifier']('special')};for(let e in PF){let s=PF[e];s instanceof lF&&(s['name']=e);}pF([{'tag':PF['link'],'class':'tok-link'},{'tag':PF['heading'],'class':'tok-heading'},{'tag':PF['emphasis'],'class':'tok-emphasis'},{'tag':PF['strong'],'class':'tok-strong'},{'tag':PF['keyword'],'class':'tok-keyword'},{'tag':PF['atom'],'class':'tok-atom'},{'tag':PF['bool'],'class':'tok-bool'},{'tag':PF['url'],'class':'tok-url'},{'tag':PF['labelName'],'class':'tok-labelName'},{'tag':PF['inserted'],'class':'tok-inserted'},{'tag':PF['deleted'],'class':'tok-deleted'},{'tag':PF['literal'],'class':'tok-literal'},{'tag':PF['string'],'class':'tok-string'},{'tag':PF['number'],'class':'tok-number'},{'tag':[PF['regexp'],PF['escape'],PF['special'](PF['string'])],'class':'tok-string2'},{'tag':PF['variableName'],'class':'tok-variableName'},{'tag':PF['local'](PF['variableName']),'class':'tok-variableName\x20tok-local'},{'tag':PF['definition'](PF['variableName']),'class':'tok-variableName\x20tok-definition'},{'tag':PF['special'](PF['variableName']),'class':'tok-variableName2'},{'tag':PF['definition'](PF['propertyName']),'class':'tok-propertyName\x20tok-definition'},{'tag':PF['typeName'],'class':'tok-typeName'},{'tag':PF['namespace'],'class':'tok-namespace'},{'tag':PF['className'],'class':'tok-className'},{'tag':PF['macroName'],'class':'tok-macroName'},{'tag':PF['propertyName'],'class':'tok-propertyName'},{'tag':PF['operator'],'class':'tok-operator'},{'tag':PF['comment'],'class':'tok-comment'},{'tag':PF['meta'],'class':'tok-meta'},{'tag':PF['invalid'],'class':'tok-invalid'},{'tag':PF['punctuation'],'class':'tok-punctuation'}]);var MF;const NF=new OB();function LF(_0x5b102c){return lL['define']({'combine':_0x5b102c?_0x1de6bb=>_0x1de6bb['concat'](_0x5b102c):void 0x0});}const $F=new OB();var DF=class{constructor(_0xb4b2cc,_0x2b6cc2,_0x2404ab=[],_0x1d5e89=''){this['data']=_0xb4b2cc,this['name']=_0x1d5e89,YL['prototype']['hasOwnProperty']('tree')||Object['defineProperty'](YL['prototype'],'tree',{'get'(){return UF(this);}}),this['parser']=_0x2b6cc2,this['extension']=[WF['of'](this),YL['languageData']['of']((_0xaeeae2,_0x4cf1e0,_0x442ac5)=>{let _0x5593c7=QF(_0xaeeae2,_0x4cf1e0,_0x442ac5),_0x47b881=_0x5593c7['type']['prop'](NF);if(!_0x47b881)return[];let _0x2926b5=_0xaeeae2['facet'](_0x47b881),_0x108fff=_0x5593c7['type']['prop']($F);if(_0x108fff){let _0x13acbf=_0x5593c7['resolve'](_0x4cf1e0-_0x5593c7['from'],_0x442ac5);for(let _0x2c21d8 of _0x108fff)if(_0x2c21d8['test'](_0x13acbf,_0xaeeae2)){let _0x5c4cc2=_0xaeeae2['facet'](_0x2c21d8['facet']);return'replace'==_0x2c21d8['type']?_0x5c4cc2:_0x5c4cc2['concat'](_0x2926b5);}}return _0x2926b5;})]['concat'](_0x2404ab);}['isActiveAt'](_0x49031a,_0xa3ff2d,_0x349f2f=-0x1){return QF(_0x49031a,_0xa3ff2d,_0x349f2f)['type']['prop'](NF)==this['data'];}['findRegions'](_0x97c79a){let _0x37bfb7=_0x97c79a['facet'](WF);if((null==_0x37bfb7?void 0x0:_0x37bfb7['data'])==this['data'])return[{'from':0x0,'to':_0x97c79a['doc']['length']}];if(!_0x37bfb7||!_0x37bfb7['allowsNesting'])return[];let _0x193523=[],_0x1e4623=(_0x4bfcdb,_0x4496c7)=>{if(_0x4bfcdb['prop'](NF)==this['data'])return void _0x193523['push']({'from':_0x4496c7,'to':_0x4496c7+_0x4bfcdb['length']});let _0x5871a2=_0x4bfcdb['prop'](OB['mounted']);if(_0x5871a2){if(_0x5871a2['tree']['prop'](NF)==this['data']){if(_0x5871a2['overlay']){for(let _0x5edcea of _0x5871a2['overlay'])_0x193523['push']({'from':_0x5edcea['from']+_0x4496c7,'to':_0x5edcea['to']+_0x4496c7});}else _0x193523['push']({'from':_0x4496c7,'to':_0x4496c7+_0x4bfcdb['length']});return;}if(_0x5871a2['overlay']){let _0x3872a7=_0x193523['length'];if(_0x1e4623(_0x5871a2['tree'],_0x5871a2['overlay'][0x0]['from']+_0x4496c7),_0x193523['length']>_0x3872a7)return;}}for(let _0x495194=0x0;_0x495194<_0x4bfcdb['children']['length'];_0x495194++){let _0x5f02d6=_0x4bfcdb['children'][_0x495194];_0x5f02d6 instanceof AB&&_0x1e4623(_0x5f02d6,_0x4bfcdb['positions'][_0x495194]+_0x4496c7);}};return _0x1e4623(UF(_0x97c79a),0x0),_0x193523;}get['allowsNesting'](){return!0x0;}};function QF(_0x17f00e,_0x5e60c8,_0x593481){let _0x5b1356=_0x17f00e['facet'](WF),_0x427b5a=UF(_0x17f00e)['topNode'];if(!_0x5b1356||_0x5b1356['allowsNesting']){for(let _0x23efec=_0x427b5a;_0x23efec;_0x23efec=_0x23efec['enter'](_0x5e60c8,_0x593481,TB['ExcludeBuffers']|TB['EnterBracketed']))_0x23efec['type']['isTop']&&(_0x427b5a=_0x23efec);}return _0x427b5a;}DF['setState']=jL['define']();var jF=class LRLanguage extends DF{constructor(_0x3c9d59,_0x18bce9,_0x19aabb){super(_0x3c9d59,_0x18bce9,[],_0x19aabb),this['parser']=_0x18bce9;}static['define'](_0x70b938){let _0x559441=LF(_0x70b938['languageData']);return new LRLanguage(_0x559441,_0x70b938['parser']['configure']({'props':[NF['add'](_0x17f512=>_0x17f512['isTop']?_0x559441:void 0x0)]}),_0x70b938['name']);}['configure'](_0x57bcb8,_0x5b9bfd){return new LRLanguage(this['data'],this['parser']['configure'](_0x57bcb8),_0x5b9bfd||this['name']);}get['allowsNesting'](){return this['parser']['hasWrappers']();}};function UF(_0x508f19){let _0x3b4285=_0x508f19['field'](DF['state'],!0x1);return _0x3b4285?_0x3b4285['tree']:AB['empty'];}var VF=class{constructor(_0x2111af){this['doc']=_0x2111af,this['cursorPos']=0x0,this['string']='',this['cursor']=_0x2111af['iter']();}get['length'](){return this['doc']['length'];}['syncTo'](_0x220fcd){return this['string']=this['cursor']['next'](_0x220fcd-this['cursorPos'])['value'],this['cursorPos']=_0x220fcd+this['string']['length'],this['cursorPos']-this['string']['length'];}['chunk'](_0x2df3eb){return this['syncTo'](_0x2df3eb),this['string'];}get['lineChunks'](){return!0x0;}['read'](_0x23bb0e,_0x467c19){let _0xae0eba=this['cursorPos']-this['string']['length'];return _0x23bb0e<_0xae0eba||_0x467c19>=this['cursorPos']?this['doc']['sliceString'](_0x23bb0e,_0x467c19):this['string']['slice'](_0x23bb0e-_0xae0eba,_0x467c19-_0xae0eba);}};let BF=null;var FF=class ParseContext{constructor(_0x54aed8,_0x58a346,_0x27c53d=[],_0x488d41,_0x13db88,_0x5f326e,_0x3eab47,_0x508925){this['parser']=_0x54aed8,this['state']=_0x58a346,this['fragments']=_0x27c53d,this['tree']=_0x488d41,this['treeLen']=_0x13db88,this['viewport']=_0x5f326e,this['skipped']=_0x3eab47,this['scheduleOn']=_0x508925,this['parse']=null,this['tempSkipped']=[];}static['create'](_0x4d50cd,_0x2d0d15,_0x50166f){return new ParseContext(_0x4d50cd,_0x2d0d15,[],AB['empty'],0x0,_0x50166f,[],null);}['startParse'](){return this['parser']['startParse'](new VF(this['state']['doc']),this['fragments']);}['work'](_0xd659d,_0xa4eb27){return null!=_0xa4eb27&&_0xa4eb27>=this['state']['doc']['length']&&(_0xa4eb27=void 0x0),this['tree']!=AB['empty']&&this['isDone'](null!=_0xa4eb27?_0xa4eb27:this['state']['doc']['length'])?(this['takeTree'](),!0x0):this['withContext'](()=>{var _0x1451c4;if('number'==typeof _0xd659d){let _0x4d55aa=Date['now']()+_0xd659d;_0xd659d=()=>Date['now']()>_0x4d55aa;}for(this['parse']||(this['parse']=this['startParse']()),null!=_0xa4eb27&&(null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0xa4eb27)&&_0xa4eb27<this['state']['doc']['length']&&this['parse']['stopAt'](_0xa4eb27);;){let _0x2642cc=this['parse']['advance']();if(_0x2642cc){if(this['fragments']=this['withoutTempSkipped'](ZB['addTree'](_0x2642cc,this['fragments'],null!=this['parse']['stoppedAt'])),this['treeLen']=null!==(_0x1451c4=this['parse']['stoppedAt'])&&void 0x0!==_0x1451c4?_0x1451c4:this['state']['doc']['length'],this['tree']=_0x2642cc,this['parse']=null,!(this['treeLen']<(null!=_0xa4eb27?_0xa4eb27:this['state']['doc']['length'])))return!0x0;this['parse']=this['startParse']();}if(_0xd659d())return!0x1;}});}['takeTree'](){let _0x49a40d,_0x5a906d;this['parse']&&(_0x49a40d=this['parse']['parsedPos'])>=this['treeLen']&&((null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x49a40d)&&this['parse']['stopAt'](_0x49a40d),this['withContext'](()=>{for(;!(_0x5a906d=this['parse']['advance']()););}),this['treeLen']=_0x49a40d,this['tree']=_0x5a906d,this['fragments']=this['withoutTempSkipped'](ZB['addTree'](this['tree'],this['fragments'],!0x0)),this['parse']=null);}['withContext'](_0x37db9d){let _0x2606a9=BF;BF=this;try{return _0x37db9d();}finally{BF=_0x2606a9;}}['withoutTempSkipped'](_0x69bb28){for(let _0x4b1755;_0x4b1755=this['tempSkipped']['pop']();)_0x69bb28=HF(_0x69bb28,_0x4b1755['from'],_0x4b1755['to']);return _0x69bb28;}['changes'](_0x152244,_0x30ddfe){let {fragments:_0x1b5236,tree:_0x54fa74,treeLen:_0x2922e5,viewport:_0xdc31c1,skipped:_0x557507}=this;if(this['takeTree'](),!_0x152244['empty']){let _0x67c367=[];if(_0x152244['iterChangedRanges']((_0x7cd739,_0x5d6afe,_0x3050da,_0x294189)=>_0x67c367['push']({'fromA':_0x7cd739,'toA':_0x5d6afe,'fromB':_0x3050da,'toB':_0x294189})),_0x1b5236=ZB['applyChanges'](_0x1b5236,_0x67c367),_0x54fa74=AB['empty'],_0x2922e5=0x0,_0xdc31c1={'from':_0x152244['mapPos'](_0xdc31c1['from'],-0x1),'to':_0x152244['mapPos'](_0xdc31c1['to'],0x1)},this['skipped']['length']){_0x557507=[];for(let _0x82c170 of this['skipped']){let _0x2445f4=_0x152244['mapPos'](_0x82c170['from'],0x1),_0xca16ec=_0x152244['mapPos'](_0x82c170['to'],-0x1);_0x2445f4<_0xca16ec&&_0x557507['push']({'from':_0x2445f4,'to':_0xca16ec});}}}return new ParseContext(this['parser'],_0x30ddfe,_0x1b5236,_0x54fa74,_0x2922e5,_0xdc31c1,_0x557507,this['scheduleOn']);}['updateViewport'](_0x4fc0fa){if(this['viewport']['from']==_0x4fc0fa['from']&&this['viewport']['to']==_0x4fc0fa['to'])return!0x1;this['viewport']=_0x4fc0fa;let _0x4f3f3f=this['skipped']['length'];for(let _0x4751ea=0x0;_0x4751ea<this['skipped']['length'];_0x4751ea++){let {from:_0x5765bb,to:_0x16bd96}=this['skipped'][_0x4751ea];_0x5765bb<_0x4fc0fa['to']&&_0x16bd96>_0x4fc0fa['from']&&(this['fragments']=HF(this['fragments'],_0x5765bb,_0x16bd96),this['skipped']['splice'](_0x4751ea--,0x1));}return!(this['skipped']['length']>=_0x4f3f3f)&&(this['reset'](),!0x0);}['reset'](){this['parse']&&(this['takeTree'](),this['parse']=null);}['skipUntilInView'](_0x3f1d9b,_0x33ab8b){this['skipped']['push']({'from':_0x3f1d9b,'to':_0x33ab8b});}static['getSkippingParser'](_0x2ec7e6){return new class extends GB{['createParse'](_0x3fae8c,_0xc298e,_0x241ca1){let _0x3d037b=_0x241ca1[0x0]['from'],_0x1ef28c=_0x241ca1[_0x241ca1['length']-0x1]['to'];return{'parsedPos':_0x3d037b,'advance'(){let _0x2d90ba=BF;if(_0x2d90ba){for(let _0x41753c of _0x241ca1)_0x2d90ba['tempSkipped']['push'](_0x41753c);_0x2ec7e6&&(_0x2d90ba['scheduleOn']=_0x2d90ba['scheduleOn']?Promise['all']([_0x2d90ba['scheduleOn'],_0x2ec7e6]):_0x2ec7e6);}return this['parsedPos']=_0x1ef28c,new AB(yB['none'],[],[],_0x1ef28c-_0x3d037b);},'stoppedAt':null,'stopAt'(){}};}}();}['isDone'](_0x3405fb){_0x3405fb=Math['min'](_0x3405fb,this['state']['doc']['length']);let _0x3ef96e=this['fragments'];return this['treeLen']>=_0x3405fb&&_0x3ef96e['length']&&0x0==_0x3ef96e[0x0]['from']&&_0x3ef96e[0x0]['to']>=_0x3405fb;}static['get'](){return BF;}};function HF(_0x43685b,_0x3ab0d9,_0x1fa4fe){return ZB['applyChanges'](_0x43685b,[{'fromA':_0x3ab0d9,'toA':_0x1fa4fe,'fromB':_0x3ab0d9,'toB':_0x1fa4fe}]);}var ZF=class LanguageState{constructor(_0x229f52){this['context']=_0x229f52,this['tree']=_0x229f52['tree'];}['apply'](_0x3987ac){if(!_0x3987ac['docChanged']&&this['tree']==this['context']['tree'])return this;let _0x544f94=this['context']['changes'](_0x3987ac['changes'],_0x3987ac['state']),_0x37f1e9=this['context']['treeLen']==_0x3987ac['startState']['doc']['length']?void 0x0:Math['max'](_0x3987ac['changes']['mapPos'](this['context']['treeLen']),_0x544f94['viewport']['to']);return _0x544f94['work'](0x14,_0x37f1e9)||_0x544f94['takeTree'](),new LanguageState(_0x544f94);}static['init'](_0x561ba5){let _0x356a1f=Math['min'](0xbb8,_0x561ba5['doc']['length']),_0xa3d52d=FF['create'](_0x561ba5['facet'](WF)['parser'],_0x561ba5,{'from':0x0,'to':_0x356a1f});return _0xa3d52d['work'](0x14,_0x356a1f)||_0xa3d52d['takeTree'](),new LanguageState(_0xa3d52d);}};DF['state']=gL['define']({'create':ZF['init'],'update'(_0xb677b1,_0x5e60c1){for(let _0x414bae of _0x5e60c1['effects'])if(_0x414bae['is'](DF['setState']))return _0x414bae['value'];return _0x5e60c1['startState']['facet'](WF)!=_0x5e60c1['state']['facet'](WF)?ZF['init'](_0x5e60c1['state']):_0xb677b1['apply'](_0x5e60c1);}});let GF=_0x4c5c8a=>{let _0x2daeee=setTimeout(()=>_0x4c5c8a(),0x1f4);return()=>clearTimeout(_0x2daeee);};'undefined'!=typeof requestIdleCallback&&(GF=_0x21efb8=>{let _0x15b68d=-0x1,_0x499e45=setTimeout(()=>{_0x15b68d=requestIdleCallback(_0x21efb8,{'timeout':0x190});},0x64);return()=>_0x15b68d<0x0?clearTimeout(_0x499e45):cancelIdleCallback(_0x15b68d);});const XF='undefined'!=typeof navigator&&(null===(MF=navigator['scheduling'])||void 0x0===MF?void 0x0:MF['isInputPending'])?()=>navigator['scheduling']['isInputPending']():null,qF=lQ['fromClass'](class ParseWorker{constructor(_0x234d1b){this['view']=_0x234d1b,this['working']=null,this['workScheduled']=0x0,this['chunkEnd']=-0x1,this['chunkBudget']=-0x1,this['work']=this['work']['bind'](this),this['scheduleWork']();}['update'](_0x212951){let _0x2eb792=this['view']['state']['field'](DF['state'])['context'];(_0x2eb792['updateViewport'](_0x212951['view']['viewport'])||this['view']['viewport']['to']>_0x2eb792['treeLen'])&&this['scheduleWork'](),(_0x212951['docChanged']||_0x212951['selectionSet'])&&(this['view']['hasFocus']&&(this['chunkBudget']+=0x32),this['scheduleWork']()),this['checkAsyncSchedule'](_0x2eb792);}['scheduleWork'](){if(this['working'])return;let {state:_0x10fb1f}=this['view'],_0x3e3406=_0x10fb1f['field'](DF['state']);_0x3e3406['tree']==_0x3e3406['context']['tree']&&_0x3e3406['context']['isDone'](_0x10fb1f['doc']['length'])||(this['working']=GF(this['work']));}['work'](_0x18950a){this['working']=null;let _0x1317e5=Date['now']();if(this['chunkEnd']<_0x1317e5&&(this['chunkEnd']<0x0||this['view']['hasFocus'])&&(this['chunkEnd']=_0x1317e5+0x7530,this['chunkBudget']=0xbb8),this['chunkBudget']<=0x0)return;let {state:_0x3edb7b,viewport:{to:_0xee1af}}=this['view'],_0x3d7e21=_0x3edb7b['field'](DF['state']);if(_0x3d7e21['tree']==_0x3d7e21['context']['tree']&&_0x3d7e21['context']['isDone'](_0xee1af+0x186a0))return;let _0x4ad69f=Date['now']()+Math['min'](this['chunkBudget'],0x64,_0x18950a&&!XF?Math['max'](0x19,_0x18950a['timeRemaining']()-0x5):0x3b9aca00),_0x473ee6=_0x3d7e21['context']['treeLen']<_0xee1af&&_0x3edb7b['doc']['length']>_0xee1af+0x3e8,_0x36cf8a=_0x3d7e21['context']['work'](()=>XF&&XF()||Date['now']()>_0x4ad69f,_0xee1af+(_0x473ee6?0x0:0x186a0));this['chunkBudget']-=Date['now']()-_0x1317e5,(_0x36cf8a||this['chunkBudget']<=0x0)&&(_0x3d7e21['context']['takeTree'](),this['view']['dispatch']({'effects':DF['setState']['of'](new ZF(_0x3d7e21['context']))})),this['chunkBudget']>0x0&&(!_0x36cf8a||_0x473ee6)&&this['scheduleWork'](),this['checkAsyncSchedule'](_0x3d7e21['context']);}['checkAsyncSchedule'](_0x37d12b){_0x37d12b['scheduleOn']&&(this['workScheduled']++,_0x37d12b['scheduleOn']['then'](()=>this['scheduleWork']())['catch'](_0x4ed723=>rQ(this['view']['state'],_0x4ed723))['then'](()=>this['workScheduled']--),_0x37d12b['scheduleOn']=null);}['destroy'](){this['working']&&this['working']();}['isWorking'](){return!!(this['working']||this['workScheduled']>0x0);}},{'eventHandlers':{'focus'(){this['scheduleWork']();}}}),WF=lL['define']({'combine':_0xdd5010=>_0xdd5010['length']?_0xdd5010[0x0]:null,'enables':_0x14facb=>[DF['state'],qF,NU['contentAttributes']['compute']([_0x14facb],_0x56c287=>{let _0xf09e38=_0x56c287['facet'](_0x14facb);return _0xf09e38&&_0xf09e38['name']?{'data-language':_0xf09e38['name']}:{};})]});var zF=class{constructor(_0x28f264,_0xc97e40=[]){this['language']=_0x28f264,this['support']=_0xc97e40,this['extension']=[_0x28f264,_0xc97e40];}},YF=class LanguageDescription{constructor(_0x49ad1a,_0x2f7da2,_0x2a77c8,_0x2f4f46,_0x4b51b5,_0x2d6ab7=void 0x0){this['name']=_0x49ad1a,this['alias']=_0x2f7da2,this['extensions']=_0x2a77c8,this['filename']=_0x2f4f46,this['loadFunc']=_0x4b51b5,this['support']=_0x2d6ab7,this['loading']=null;}['load'](){return this['loading']||(this['loading']=this['loadFunc']()['then'](_0x183c76=>this['support']=_0x183c76,_0x5c9f1b=>{throw this['loading']=null,_0x5c9f1b;}));}static['of'](_0x5960ca){let {load:_0x1d244d,support:_0x57936e}=_0x5960ca;if(!_0x1d244d){if(!_0x57936e)throw new RangeError('Must\x20pass\x20either\x20\x27load\x27\x20or\x20\x27support\x27\x20to\x20LanguageDescription.of');_0x1d244d=()=>Promise['resolve'](_0x57936e);}return new LanguageDescription(_0x5960ca['name'],(_0x5960ca['alias']||[])['concat'](_0x5960ca['name'])['map'](_0x7040a9=>_0x7040a9['toLowerCase']()),_0x5960ca['extensions']||[],_0x5960ca['filename'],_0x1d244d,_0x57936e);}static['matchFilename'](_0x4ffdeb,_0x3ab4ac){for(let _0x3e1013 of _0x4ffdeb)if(_0x3e1013['filename']&&_0x3e1013['filename']['test'](_0x3ab4ac))return _0x3e1013;let _0x36bcf5=/\.([^.]+)$/['exec'](_0x3ab4ac);if(_0x36bcf5){for(let _0x40f5c2 of _0x4ffdeb)if(_0x40f5c2['extensions']['indexOf'](_0x36bcf5[0x1])>-0x1)return _0x40f5c2;}return null;}static['matchLanguageName'](_0x1cf0b4,_0x1388f9,_0x44f2d9=!0x0){_0x1388f9=_0x1388f9['toLowerCase']();for(let _0x250462 of _0x1cf0b4)if(_0x250462['alias']['some'](_0x31f1bd=>_0x31f1bd==_0x1388f9))return _0x250462;if(_0x44f2d9){for(let _0xf7cb71 of _0x1cf0b4)for(let _0x40b5b4 of _0xf7cb71['alias']){let _0x3acf15=_0x1388f9['indexOf'](_0x40b5b4);if(_0x3acf15>-0x1&&(_0x40b5b4['length']>0x2||!/\w/['test'](_0x1388f9[_0x3acf15-0x1])&&!/\w/['test'](_0x1388f9[_0x3acf15+_0x40b5b4['length']])))return _0xf7cb71;}}return null;}};const KF=lL['define'](),JF=lL['define']({'combine':_0x2d540f=>{if(!_0x2d540f['length'])return'\x20\x20';let _0x533403=_0x2d540f[0x0];if(!_0x533403||/\S/['test'](_0x533403)||Array['from'](_0x533403)['some'](_0xd279e=>_0xd279e!=_0x533403[0x0]))throw new Error('Invalid\x20indent\x20unit:\x20'+JSON['stringify'](_0x2d540f[0x0]));return _0x533403;}});function tH(_0x2a66ef){let _0x571a9b=_0x2a66ef['facet'](JF);return 0x9==_0x571a9b['charCodeAt'](0x0)?_0x2a66ef['tabSize']*_0x571a9b['length']:_0x571a9b['length'];}function eH(_0x56a384,_0x14af46){let _0x2309e8='',_0x54c86f=_0x56a384['tabSize'],_0x15b0a5=_0x56a384['facet'](JF)[0x0];if('\x09'==_0x15b0a5){for(;_0x14af46>=_0x54c86f;)_0x2309e8+='\x09',_0x14af46-=_0x54c86f;_0x15b0a5='\x20';}for(let _0x401634=0x0;_0x401634<_0x14af46;_0x401634++)_0x2309e8+=_0x15b0a5;return _0x2309e8;}function iH(_0x43c0af,_0x359684){_0x43c0af instanceof YL&&(_0x43c0af=new sH(_0x43c0af));for(let _0x488c16 of _0x43c0af['state']['facet'](KF)){let _0x65333e=_0x488c16(_0x43c0af,_0x359684);if(void 0x0!==_0x65333e)return _0x65333e;}let _0x1b3a19=UF(_0x43c0af['state']);return _0x1b3a19['length']>=_0x359684?function(_0x4c2612,_0x5746cc,_0x5aeb7b){let _0x4f3cca=_0x5746cc['resolveStack'](_0x5aeb7b),_0x3c445d=_0x5746cc['resolveInner'](_0x5aeb7b,-0x1)['resolve'](_0x5aeb7b,0x0)['enterUnfinishedNodesBefore'](_0x5aeb7b);if(_0x3c445d!=_0x4f3cca['node']){let _0x51a234=[];for(let _0x90a66a=_0x3c445d;_0x90a66a&&!(_0x90a66a['from']<_0x4f3cca['node']['from']||_0x90a66a['to']>_0x4f3cca['node']['to']||_0x90a66a['from']==_0x4f3cca['node']['from']&&_0x90a66a['type']==_0x4f3cca['node']['type']);_0x90a66a=_0x90a66a['parent'])_0x51a234['push'](_0x90a66a);for(let _0x1789aa=_0x51a234['length']-0x1;_0x1789aa>=0x0;_0x1789aa--)_0x4f3cca={'node':_0x51a234[_0x1789aa],'next':_0x4f3cca};}return rH(_0x4f3cca,_0x4c2612,_0x5aeb7b);}(_0x43c0af,_0x1b3a19,_0x359684):null;}var sH=class{constructor(_0x464cb4,_0x1ee3ad={}){this['state']=_0x464cb4,this['options']=_0x1ee3ad,this['unit']=tH(_0x464cb4);}['lineAt'](_0x28dac1,_0x502934=0x1){let _0x326f98=this['state']['doc']['lineAt'](_0x28dac1),{simulateBreak:_0x1542e0,simulateDoubleBreak:_0x23e2b3}=this['options'];return null!=_0x1542e0&&_0x1542e0>=_0x326f98['from']&&_0x1542e0<=_0x326f98['to']?_0x23e2b3&&_0x1542e0==_0x28dac1?{'text':'','from':_0x28dac1}:(_0x502934<0x0?_0x1542e0<_0x28dac1:_0x1542e0<=_0x28dac1)?{'text':_0x326f98['text']['slice'](_0x1542e0-_0x326f98['from']),'from':_0x1542e0}:{'text':_0x326f98['text']['slice'](0x0,_0x1542e0-_0x326f98['from']),'from':_0x326f98['from']}:_0x326f98;}['textAfterPos'](_0x321cac,_0x4e3ce2=0x1){if(this['options']['simulateDoubleBreak']&&_0x321cac==this['options']['simulateBreak'])return'';let {text:_0x116f5a,from:_0x83fd2}=this['lineAt'](_0x321cac,_0x4e3ce2);return _0x116f5a['slice'](_0x321cac-_0x83fd2,Math['min'](_0x116f5a['length'],_0x321cac+0x64-_0x83fd2));}['column'](_0x282125,_0x1314ba=0x1){let {text:_0x145395,from:_0x48a5ee}=this['lineAt'](_0x282125,_0x1314ba),_0xaec46d=this['countColumn'](_0x145395,_0x282125-_0x48a5ee),_0x3bf86a=this['options']['overrideIndentation']?this['options']['overrideIndentation'](_0x48a5ee):-0x1;return _0x3bf86a>-0x1&&(_0xaec46d+=_0x3bf86a-this['countColumn'](_0x145395,_0x145395['search'](/\S|$/))),_0xaec46d;}['countColumn'](_0x3f700d,_0x4a0a82=_0x3f700d['length']){return g$(_0x3f700d,this['state']['tabSize'],_0x4a0a82);}['lineIndent'](_0x17e955,_0x14accf=0x1){let {text:_0x3437a4,from:_0x41d9f6}=this['lineAt'](_0x17e955,_0x14accf),_0x5a433a=this['options']['overrideIndentation'];if(_0x5a433a){let _0x46d382=_0x5a433a(_0x41d9f6);if(_0x46d382>-0x1)return _0x46d382;}return this['countColumn'](_0x3437a4,_0x3437a4['search'](/\S|$/));}get['simulatedBreak'](){return this['options']['simulateBreak']||null;}};const nH=new OB();function rH(_0x6ed233,_0x50d25c,_0x426313){for(let _0x574eab=_0x6ed233;_0x574eab;_0x574eab=_0x574eab['next']){let _0x311be3=oH(_0x574eab['node']);if(_0x311be3)return _0x311be3(cH['create'](_0x50d25c,_0x426313,_0x574eab));}return 0x0;}function oH(_0x1406c2){let _0x1b3903=_0x1406c2['type']['prop'](nH);if(_0x1b3903)return _0x1b3903;let _0xecc973,_0x143aa7=_0x1406c2['firstChild'];if(_0x143aa7&&(_0xecc973=_0x143aa7['type']['prop'](OB['closedBy']))){let _0x90bf91=_0x1406c2['lastChild'],_0x43b9af=_0x90bf91&&_0xecc973['indexOf'](_0x90bf91['name'])>-0x1;return _0x6ca565=>uH(_0x6ca565,!0x0,0x1,void 0x0,_0x43b9af&&!function(_0x4956f5){return _0x4956f5['pos']==_0x4956f5['options']['simulateBreak']&&_0x4956f5['options']['simulateDoubleBreak'];}(_0x6ca565)?_0x90bf91['from']:void 0x0);}return null==_0x1406c2['parent']?aH:null;}function aH(){return 0x0;}var cH=class TreeIndentContext extends sH{constructor(_0x129510,_0xb164d8,_0x282901){super(_0x129510['state'],_0x129510['options']),this['base']=_0x129510,this['pos']=_0xb164d8,this['context']=_0x282901;}get['node'](){return this['context']['node'];}static['create'](_0x9c49c8,_0x3afe5d,_0x353448){return new TreeIndentContext(_0x9c49c8,_0x3afe5d,_0x353448);}get['textAfter'](){return this['textAfterPos'](this['pos']);}get['baseIndent'](){return this['baseIndentFor'](this['node']);}['baseIndentFor'](_0x10768d){let _0x4398a1=this['state']['doc']['lineAt'](_0x10768d['from']);for(;;){let _0x5d06a0=_0x10768d['resolve'](_0x4398a1['from']);for(;_0x5d06a0['parent']&&_0x5d06a0['parent']['from']==_0x5d06a0['from'];)_0x5d06a0=_0x5d06a0['parent'];if(lH(_0x5d06a0,_0x10768d))break;_0x4398a1=this['state']['doc']['lineAt'](_0x5d06a0['from']);}return this['lineIndent'](_0x4398a1['from']);}['continue'](){return rH(this['context']['next'],this['base'],this['pos']);}};function lH(_0xf98d47,_0x53c34a){for(let _0x459a89=_0x53c34a;_0x459a89;_0x459a89=_0x459a89['parent'])if(_0xf98d47==_0x459a89)return!0x0;return!0x1;}function hH({closing:_0x702c18,align:_0x1b1901=!0x0,units:_0x60fab6=0x1}){return _0xbfaf7a=>uH(_0xbfaf7a,_0x1b1901,_0x60fab6,_0x702c18);}function uH(_0x8a9eee,_0x2b82cf,_0x425057,_0x19a898,_0x3e497){let _0x497f71=_0x8a9eee['textAfter'],_0x4e8196=_0x497f71['match'](/^\s*/)[0x0]['length'],_0xf8d366=_0x19a898&&_0x497f71['slice'](_0x4e8196,_0x4e8196+_0x19a898['length'])==_0x19a898||_0x3e497==_0x8a9eee['pos']+_0x4e8196,_0x25e9dc=_0x2b82cf?function(_0x4fd713){let _0x55fb6d=_0x4fd713['node'],_0xdd46cc=_0x55fb6d['childAfter'](_0x55fb6d['from']),_0x4c410f=_0x55fb6d['lastChild'];if(!_0xdd46cc)return null;let _0x3cae9f=_0x4fd713['options']['simulateBreak'],_0x2e7313=_0x4fd713['state']['doc']['lineAt'](_0xdd46cc['from']),_0x4237f5=null==_0x3cae9f||_0x3cae9f<=_0x2e7313['from']?_0x2e7313['to']:Math['min'](_0x2e7313['to'],_0x3cae9f);for(let _0x52eaeb=_0xdd46cc['to'];;){let _0xa40205=_0x55fb6d['childAfter'](_0x52eaeb);if(!_0xa40205||_0xa40205==_0x4c410f)return null;if(!_0xa40205['type']['isSkipped']){if(_0xa40205['from']>=_0x4237f5)return null;let _0x47178c=/^ */['exec'](_0x2e7313['text']['slice'](_0xdd46cc['to']-_0x2e7313['from']))[0x0]['length'];return{'from':_0xdd46cc['from'],'to':_0xdd46cc['to']+_0x47178c};}_0x52eaeb=_0xa40205['to'];}}(_0x8a9eee):null;return _0x25e9dc?_0xf8d366?_0x8a9eee['column'](_0x25e9dc['from']):_0x8a9eee['column'](_0x25e9dc['to']):_0x8a9eee['baseIndent']+(_0xf8d366?0x0:_0x8a9eee['unit']*_0x425057);}function dH({except:_0x194414,units:_0x3e4603=0x1}={}){return _0x231fdf=>{let _0x4b8921=_0x194414&&_0x194414['test'](_0x231fdf['textAfter']);return _0x231fdf['baseIndent']+(_0x4b8921?0x0:_0x3e4603*_0x231fdf['unit']);};}function fH(){return YL['transactionFilter']['of'](_0x114f3a=>{if(!_0x114f3a['docChanged']||!_0x114f3a['isUserEvent']('input.type')&&!_0x114f3a['isUserEvent']('input.complete'))return _0x114f3a;let _0x4f5106=_0x114f3a['startState']['languageDataAt']('indentOnInput',_0x114f3a['startState']['selection']['main']['head']);if(!_0x4f5106['length'])return _0x114f3a;let _0x50c84e=_0x114f3a['newDoc'],{head:_0x2f4238}=_0x114f3a['newSelection']['main'],_0x1f9c1b=_0x50c84e['lineAt'](_0x2f4238);if(_0x2f4238>_0x1f9c1b['from']+0xc8)return _0x114f3a;let _0xf4da7f=_0x50c84e['sliceString'](_0x1f9c1b['from'],_0x2f4238);if(!_0x4f5106['some'](_0x504b54=>_0x504b54['test'](_0xf4da7f)))return _0x114f3a;let {state:_0x34ef8c}=_0x114f3a,_0xab4a99=-0x1,_0x4a9759=[];for(let {head:_0x307db9}of _0x34ef8c['selection']['ranges']){let _0x180d85=_0x34ef8c['doc']['lineAt'](_0x307db9);if(_0x180d85['from']==_0xab4a99)continue;_0xab4a99=_0x180d85['from'];let _0x647e35=iH(_0x34ef8c,_0x180d85['from']);if(null==_0x647e35)continue;let _0x4ea3f5=/^\s*/['exec'](_0x180d85['text'])[0x0],_0x3ffb2e=eH(_0x34ef8c,_0x647e35);_0x4ea3f5!=_0x3ffb2e&&_0x4a9759['push']({'from':_0x180d85['from'],'to':_0x180d85['from']+_0x4ea3f5['length'],'insert':_0x3ffb2e});}return _0x4a9759['length']?[_0x114f3a,{'changes':_0x4a9759,'sequential':!0x0}]:_0x114f3a;});}const mH=lL['define'](),pH=new OB();function gH(_0x363636){let _0x4f96ac=_0x363636['firstChild'],_0x2c2891=_0x363636['lastChild'];return _0x4f96ac&&_0x4f96ac['to']<_0x2c2891['from']?{'from':_0x4f96ac['to'],'to':_0x2c2891['type']['isError']?_0x363636['to']:_0x2c2891['from']}:null;}function OH(_0x58d470){let _0x506ce1=_0x58d470['lastChild'];return _0x506ce1&&_0x506ce1['to']==_0x58d470['to']&&_0x506ce1['type']['isError'];}function wH(_0x594fcf,_0x53e83e,_0x43bb5f){for(let _0xb600e0 of _0x594fcf['facet'](mH)){let _0xb20a12=_0xb600e0(_0x594fcf,_0x53e83e,_0x43bb5f);if(_0xb20a12)return _0xb20a12;}return function(_0x1a40b2,_0x5f10fd,_0x38ef88){let _0x9a2146=UF(_0x1a40b2);if(_0x9a2146['length']<_0x38ef88)return null;let _0x177465=null;for(let _0x30b127=_0x9a2146['resolveStack'](_0x38ef88,0x1);_0x30b127;_0x30b127=_0x30b127['next']){let _0x23cd10=_0x30b127['node'];if(_0x23cd10['to']<=_0x38ef88||_0x23cd10['from']>_0x38ef88)continue;if(_0x177465&&_0x23cd10['from']<_0x5f10fd)break;let _0x4aca7c=_0x23cd10['type']['prop'](pH);if(_0x4aca7c&&(_0x23cd10['to']<_0x9a2146['length']-0x32||_0x9a2146['length']==_0x1a40b2['doc']['length']||!OH(_0x23cd10))){let _0x4707cf=_0x4aca7c(_0x23cd10,_0x1a40b2);_0x4707cf&&_0x4707cf['from']<=_0x38ef88&&_0x4707cf['from']>=_0x5f10fd&&_0x4707cf['to']>_0x38ef88&&(_0x177465=_0x4707cf);}}return _0x177465;}(_0x594fcf,_0x53e83e,_0x43bb5f);}function bH(_0x1d03ae,_0x48a59f){let _0x53a2c9=_0x48a59f['mapPos'](_0x1d03ae['from'],0x1),_0xfc1297=_0x48a59f['mapPos'](_0x1d03ae['to'],-0x1);return _0x53a2c9>=_0xfc1297?void 0x0:{'from':_0x53a2c9,'to':_0xfc1297};}const yH=jL['define']({'map':bH}),vH=jL['define']({'map':bH});function _H(_0x393cc2){let _0x2e1a45=[];for(let {head:_0x65ffcf}of _0x393cc2['state']['selection']['ranges'])_0x2e1a45['some'](_0x45c8c1=>_0x45c8c1['from']<=_0x65ffcf&&_0x45c8c1['to']>=_0x65ffcf)||_0x2e1a45['push'](_0x393cc2['lineBlockAt'](_0x65ffcf));return _0x2e1a45;}const EH=gL['define']({'create':()=>W$['none'],'update'(_0x323f61,_0x2a70cc){_0x2a70cc['isUserEvent']('delete')&&_0x2a70cc['changes']['iterChangedRanges']((_0x338186,_0x54cd48)=>_0x323f61=TH(_0x323f61,_0x338186,_0x54cd48)),_0x323f61=_0x323f61['map'](_0x2a70cc['changes']);for(let _0x39f247 of _0x2a70cc['effects'])if(_0x39f247['is'](yH)&&!SH(_0x323f61,_0x39f247['value']['from'],_0x39f247['value']['to'])){let {preparePlaceholder:_0x51d3b0}=_0x2a70cc['state']['facet'](RH),_0x2981a6=_0x51d3b0?W$['replace']({'widget':new LH(_0x51d3b0(_0x2a70cc['state'],_0x39f247['value']))}):NH;_0x323f61=_0x323f61['update']({'add':[_0x2981a6['range'](_0x39f247['value']['from'],_0x39f247['value']['to'])]});}else _0x39f247['is'](vH)&&(_0x323f61=_0x323f61['update']({'filter':(_0x263664,_0x13c8e5)=>_0x39f247['value']['from']!=_0x263664||_0x39f247['value']['to']!=_0x13c8e5,'filterFrom':_0x39f247['value']['from'],'filterTo':_0x39f247['value']['to']}));return _0x2a70cc['selection']&&(_0x323f61=TH(_0x323f61,_0x2a70cc['selection']['main']['head'])),_0x323f61;},'provide':_0xa98432=>NU['decorations']['from'](_0xa98432),'toJSON'(_0x2e8fa5,_0x390c19){let _0x597a4b=[];return _0x2e8fa5['between'](0x0,_0x390c19['doc']['length'],(_0x40ce57,_0x5cc843)=>{_0x597a4b['push'](_0x40ce57,_0x5cc843);}),_0x597a4b;},'fromJSON'(_0x3cac71){if(!Array['isArray'](_0x3cac71)||_0x3cac71['length']%0x2)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');let _0x4927a2=[];for(let _0x175813=0x0;_0x175813<_0x3cac71['length'];){let _0x37cea8=_0x3cac71[_0x175813++],_0x161653=_0x3cac71[_0x175813++];if('number'!=typeof _0x37cea8||'number'!=typeof _0x161653)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');_0x4927a2['push'](NH['range'](_0x37cea8,_0x161653));}return W$['set'](_0x4927a2,!0x0);}});function TH(_0x406fff,_0x2f8003,_0x592f8f=_0x2f8003){let _0x15a565=!0x1;return _0x406fff['between'](_0x2f8003,_0x592f8f,(_0xa881c5,_0x2ead5f)=>{_0xa881c5<_0x592f8f&&_0x2ead5f>_0x2f8003&&(_0x15a565=!0x0);}),_0x15a565?_0x406fff['update']({'filterFrom':_0x2f8003,'filterTo':_0x592f8f,'filter':(_0x460d4f,_0x43d276)=>_0x460d4f>=_0x592f8f||_0x43d276<=_0x2f8003}):_0x406fff;}function AH(_0x3c5fc1,_0x4b5caf,_0x1b9bf7){var _0xfe55f1;let _0x1d94ae=null;return null===(_0xfe55f1=_0x3c5fc1['field'](EH,!0x1))||void 0x0===_0xfe55f1||_0xfe55f1['between'](_0x4b5caf,_0x1b9bf7,(_0x430386,_0x18cb95)=>{(!_0x1d94ae||_0x1d94ae['from']>_0x430386)&&(_0x1d94ae={'from':_0x430386,'to':_0x18cb95});}),_0x1d94ae;}function SH(_0x64ccf6,_0x3e3488,_0x2df525){let _0x4e6f25=!0x1;return _0x64ccf6['between'](_0x3e3488,_0x3e3488,(_0xd7363a,_0x947a78)=>{_0xd7363a==_0x3e3488&&_0x947a78==_0x2df525&&(_0x4e6f25=!0x0);}),_0x4e6f25;}function IH(_0x4e816c,_0x32d377){return _0x4e816c['field'](EH,!0x1)?_0x32d377:_0x32d377['concat'](jL['appendConfig']['of'](PH()));}function kH(_0x2b2e0b,_0x5d4fba,_0x325114=!0x0){let _0x4d2da1=_0x2b2e0b['state']['doc']['lineAt'](_0x5d4fba['from'])['number'],_0x20470f=_0x2b2e0b['state']['doc']['lineAt'](_0x5d4fba['to'])['number'];return NU['announce']['of'](_0x2b2e0b['state']['phrase'](_0x325114?'Folded\x20lines':'Unfolded\x20lines')+'\x20'+_0x4d2da1+'\x20'+_0x2b2e0b['state']['phrase']('to')+'\x20'+_0x20470f+'.');}const xH=[{'key':'Ctrl-Shift-[','mac':'Cmd-Alt-[','run':_0x4fc82b=>{for(let _0x16a847 of _H(_0x4fc82b)){let _0x452535=wH(_0x4fc82b['state'],_0x16a847['from'],_0x16a847['to']);if(_0x452535)return _0x4fc82b['dispatch']({'effects':IH(_0x4fc82b['state'],[yH['of'](_0x452535),kH(_0x4fc82b,_0x452535)])}),!0x0;}return!0x1;}},{'key':'Ctrl-Shift-]','mac':'Cmd-Alt-]','run':_0x54ddba=>{if(!_0x54ddba['state']['field'](EH,!0x1))return!0x1;let _0x265fc3=[];for(let _0xa6f8eb of _H(_0x54ddba)){let _0x4114e0=AH(_0x54ddba['state'],_0xa6f8eb['from'],_0xa6f8eb['to']);_0x4114e0&&_0x265fc3['push'](vH['of'](_0x4114e0),kH(_0x54ddba,_0x4114e0,!0x1));}return _0x265fc3['length']&&_0x54ddba['dispatch']({'effects':_0x265fc3}),_0x265fc3['length']>0x0;}},{'key':'Ctrl-Alt-[','run':_0x160bd7=>{let {state:_0x24d8c5}=_0x160bd7,_0x224642=[];for(let _0x5e5fc8=0x0;_0x5e5fc8<_0x24d8c5['doc']['length'];){let _0x109b0e=_0x160bd7['lineBlockAt'](_0x5e5fc8),_0x258ba6=wH(_0x24d8c5,_0x109b0e['from'],_0x109b0e['to']);_0x258ba6&&_0x224642['push'](yH['of'](_0x258ba6)),_0x5e5fc8=(_0x258ba6?_0x160bd7['lineBlockAt'](_0x258ba6['to']):_0x109b0e)['to']+0x1;}return _0x224642['length']&&_0x160bd7['dispatch']({'effects':IH(_0x160bd7['state'],_0x224642)}),!!_0x224642['length'];}},{'key':'Ctrl-Alt-]','run':_0x517fcd=>{let _0x402bcd=_0x517fcd['state']['field'](EH,!0x1);if(!_0x402bcd||!_0x402bcd['size'])return!0x1;let _0xf9032=[];return _0x402bcd['between'](0x0,_0x517fcd['state']['doc']['length'],(_0x4d085a,_0xa4c857)=>{_0xf9032['push'](vH['of']({'from':_0x4d085a,'to':_0xa4c857}));}),_0x517fcd['dispatch']({'effects':_0xf9032}),!0x0;}}],CH={'placeholderDOM':null,'preparePlaceholder':null,'placeholderText':'…'},RH=lL['define']({'combine':_0x351ad8=>KL(_0x351ad8,CH)});function PH(_0x399f12){let _0x13be17=[EH,jH];return _0x399f12&&_0x13be17['push'](RH['of'](_0x399f12)),_0x13be17;}function MH(_0x1104cb,_0x3d31bb){let {state:_0x3774f8}=_0x1104cb,_0x5ce2ee=_0x3774f8['facet'](RH),_0x1e5024=_0x21c7da=>{let _0x4573b0=_0x1104cb['lineBlockAt'](_0x1104cb['posAtDOM'](_0x21c7da['target'])),_0x81f4a4=AH(_0x1104cb['state'],_0x4573b0['from'],_0x4573b0['to']);_0x81f4a4&&_0x1104cb['dispatch']({'effects':vH['of'](_0x81f4a4)}),_0x21c7da['preventDefault']();};if(_0x5ce2ee['placeholderDOM'])return _0x5ce2ee['placeholderDOM'](_0x1104cb,_0x1e5024,_0x3d31bb);let _0x29136c=document['createElement']('span');return _0x29136c['textContent']=_0x5ce2ee['placeholderText'],_0x29136c['setAttribute']('aria-label',_0x3774f8['phrase']('folded\x20code')),_0x29136c['title']=_0x3774f8['phrase']('unfold'),_0x29136c['className']='cm-foldPlaceholder',_0x29136c['onclick']=_0x1e5024,_0x29136c;}const NH=W$['replace']({'widget':new class extends X${['toDOM'](_0x54da51){return MH(_0x54da51,null);}}()});var LH=class extends X${constructor(_0x1b263d){super(),this['value']=_0x1b263d;}['eq'](_0x20b5ea){return this['value']==_0x20b5ea['value'];}['toDOM'](_0x4304e3){return MH(_0x4304e3,this['value']);}};const $H={'openText':'⌄','closedText':'›','markerDOM':null,'domEventHandlers':{},'foldingChanged':()=>!0x1};var DH=class extends FV{constructor(_0x441846,_0x590da7){super(),this['config']=_0x441846,this['open']=_0x590da7;}['eq'](_0x43902a){return this['config']==_0x43902a['config']&&this['open']==_0x43902a['open'];}['toDOM'](_0x109e16){if(this['config']['markerDOM'])return this['config']['markerDOM'](this['open']);let _0x1394f8=document['createElement']('span');return _0x1394f8['textContent']=this['open']?this['config']['openText']:this['config']['closedText'],_0x1394f8['title']=_0x109e16['state']['phrase'](this['open']?'Fold\x20line':'Unfold\x20line'),_0x1394f8;}};function QH(_0x428806={}){let _0x4634ea={...$H,..._0x428806},_0x589358=new DH(_0x4634ea,!0x0),_0x2eea70=new DH(_0x4634ea,!0x1),_0x2f3190=lQ['fromClass'](class{constructor(_0x19388a){this['from']=_0x19388a['viewport']['from'],this['markers']=this['buildMarkers'](_0x19388a);}['update'](_0x2a895e){(_0x2a895e['docChanged']||_0x2a895e['viewportChanged']||_0x2a895e['startState']['facet'](WF)!=_0x2a895e['state']['facet'](WF)||_0x2a895e['startState']['field'](EH,!0x1)!=_0x2a895e['state']['field'](EH,!0x1)||UF(_0x2a895e['startState'])!=UF(_0x2a895e['state'])||_0x4634ea['foldingChanged'](_0x2a895e))&&(this['markers']=this['buildMarkers'](_0x2a895e['view']));}['buildMarkers'](_0x56e14e){let _0x11f3b7=new r$();for(let _0x408c36 of _0x56e14e['viewportLineBlocks']){let _0x29f503=AH(_0x56e14e['state'],_0x408c36['from'],_0x408c36['to'])?_0x2eea70:wH(_0x56e14e['state'],_0x408c36['from'],_0x408c36['to'])?_0x589358:null;_0x29f503&&_0x11f3b7['add'](_0x408c36['from'],_0x408c36['from'],_0x29f503);}return _0x11f3b7['finish']();}}),{domEventHandlers:_0x233dd3}=_0x4634ea;return[_0x2f3190,qV({'class':'cm-foldGutter','markers'(_0x54e5a6){var _0x10e5e9;return(null===(_0x10e5e9=_0x54e5a6['plugin'](_0x2f3190))||void 0x0===_0x10e5e9?void 0x0:_0x10e5e9['markers'])||n$['empty'];},'initialSpacer':()=>new DH(_0x4634ea,!0x1),'domEventHandlers':{..._0x233dd3,'click':(_0x3a519a,_0x133566,_0x37ecff)=>{if(_0x233dd3['click']&&_0x233dd3['click'](_0x3a519a,_0x133566,_0x37ecff))return!0x0;let _0x336191=AH(_0x3a519a['state'],_0x133566['from'],_0x133566['to']);if(_0x336191)return _0x3a519a['dispatch']({'effects':vH['of'](_0x336191)}),!0x0;let _0x36387d=wH(_0x3a519a['state'],_0x133566['from'],_0x133566['to']);return!!_0x36387d&&(_0x3a519a['dispatch']({'effects':yH['of'](_0x36387d)}),!0x0);}}}),PH()];}const jH=NU['baseTheme']({'.cm-foldPlaceholder':{'backgroundColor':'#eee','border':'1px\x20solid\x20#ddd','color':'#888','borderRadius':'.2em','margin':'0\x201px','padding':'0\x201px','cursor':'pointer'},'.cm-foldGutter\x20span':{'padding':'0\x201px','cursor':'pointer'}});var UH=class HighlightStyle{constructor(_0xc25dc0,_0x58afc8){let _0x97f46d;function _0xc67f75(_0x6f8189){let _0x16a7c8=v$['newName']();return(_0x97f46d||(_0x97f46d=Object['create'](null)))['.'+_0x16a7c8]=_0x6f8189,_0x16a7c8;}this['specs']=_0xc25dc0;const _0x26e077='string'==typeof _0x58afc8['all']?_0x58afc8['all']:_0x58afc8['all']?_0xc67f75(_0x58afc8['all']):void 0x0,_0x4bac8a=_0x58afc8['scope'];this['scope']=_0x4bac8a instanceof DF?_0x12aad4=>_0x12aad4['prop'](NF)==_0x4bac8a['data']:_0x4bac8a?_0x5749ad=>_0x5749ad==_0x4bac8a:void 0x0,this['style']=pF(_0xc25dc0['map'](_0x3027c4=>({'tag':_0x3027c4['tag'],'class':_0x3027c4['class']||_0xc67f75(Object['assign']({},_0x3027c4,{'tag':null}))})),{'all':_0x26e077})['style'],this['module']=_0x97f46d?new v$(_0x97f46d):null,this['themeType']=_0x58afc8['themeType'];}static['define'](_0x37d355,_0x294a8a){return new HighlightStyle(_0x37d355,_0x294a8a||{});}};const VH=lL['define'](),BH=lL['define']({'combine':_0x2d10f7=>_0x2d10f7['length']?[_0x2d10f7[0x0]]:null});function FH(_0x2fb90e){let _0x1e9453=_0x2fb90e['facet'](VH);return _0x1e9453['length']?_0x1e9453:_0x2fb90e['facet'](BH);}function HH(_0x2a4da1,_0x45b01f){let _0x236b47,_0x487733=[GH];return _0x2a4da1 instanceof UH&&(_0x2a4da1['module']&&_0x487733['push'](NU['styleModule']['of'](_0x2a4da1['module'])),_0x236b47=_0x2a4da1['themeType']),(null==_0x45b01f?void 0x0:_0x45b01f['fallback'])?_0x487733['push'](BH['of'](_0x2a4da1)):_0x236b47?_0x487733['push'](VH['computeN']([NU['darkTheme']],_0x2f3d15=>_0x2f3d15['facet'](NU['darkTheme'])==('dark'==_0x236b47)?[_0x2a4da1]:[])):_0x487733['push'](VH['of'](_0x2a4da1)),_0x487733;}var ZH=class{constructor(_0x2d4b5d){this['markCache']=Object['create'](null),this['tree']=UF(_0x2d4b5d['state']),this['decorations']=this['buildDeco'](_0x2d4b5d,FH(_0x2d4b5d['state'])),this['decoratedTo']=_0x2d4b5d['viewport']['to'];}['update'](_0x5e9c9b){let _0x423d90=UF(_0x5e9c9b['state']),_0x1509a6=FH(_0x5e9c9b['state']),_0x5ad8b7=_0x1509a6!=FH(_0x5e9c9b['startState']),{viewport:_0x14e59e}=_0x5e9c9b['view'],_0x21ac3b=_0x5e9c9b['changes']['mapPos'](this['decoratedTo'],0x1);_0x423d90['length']<_0x14e59e['to']&&!_0x5ad8b7&&_0x423d90['type']==this['tree']['type']&&_0x21ac3b>=_0x14e59e['to']?(this['decorations']=this['decorations']['map'](_0x5e9c9b['changes']),this['decoratedTo']=_0x21ac3b):(_0x423d90!=this['tree']||_0x5e9c9b['viewportChanged']||_0x5ad8b7)&&(this['tree']=_0x423d90,this['decorations']=this['buildDeco'](_0x5e9c9b['view'],_0x1509a6),this['decoratedTo']=_0x14e59e['to']);}['buildDeco'](_0x2e8191,_0x57bc3a){if(!_0x57bc3a||!this['tree']['length'])return W$['none'];let _0xafc51a=new r$();for(let {from:_0x1c0b36,to:_0x56fb1b}of _0x2e8191['visibleRanges'])gF(this['tree'],_0x57bc3a,(_0x4474fb,_0x296dd2,_0x424a2e)=>{_0xafc51a['add'](_0x4474fb,_0x296dd2,this['markCache'][_0x424a2e]||(this['markCache'][_0x424a2e]=W$['mark']({'class':_0x424a2e})));},_0x1c0b36,_0x56fb1b);return _0xafc51a['finish']();}};const GH=_L['high'](lQ['fromClass'](ZH,{'decorations':_0x19e4ea=>_0x19e4ea['decorations']})),XH=UH['define']([{'tag':PF['meta'],'color':'#404740'},{'tag':PF['link'],'textDecoration':'underline'},{'tag':PF['heading'],'textDecoration':'underline','fontWeight':'bold'},{'tag':PF['emphasis'],'fontStyle':'italic'},{'tag':PF['strong'],'fontWeight':'bold'},{'tag':PF['strikethrough'],'textDecoration':'line-through'},{'tag':PF['keyword'],'color':'#708'},{'tag':[PF['atom'],PF['bool'],PF['url'],PF['contentSeparator'],PF['labelName']],'color':'#219'},{'tag':[PF['literal'],PF['inserted']],'color':'#164'},{'tag':[PF['string'],PF['deleted']],'color':'#a11'},{'tag':[PF['regexp'],PF['escape'],PF['special'](PF['string'])],'color':'#e40'},{'tag':PF['definition'](PF['variableName']),'color':'#00f'},{'tag':PF['local'](PF['variableName']),'color':'#30a'},{'tag':[PF['typeName'],PF['namespace']],'color':'#085'},{'tag':PF['className'],'color':'#167'},{'tag':[PF['special'](PF['variableName']),PF['macroName']],'color':'#256'},{'tag':PF['definition'](PF['propertyName']),'color':'#00c'},{'tag':PF['comment'],'color':'#940'},{'tag':PF['invalid'],'color':'#f00'}]),qH=NU['baseTheme']({'&.cm-focused\x20.cm-matchingBracket':{'backgroundColor':'#328c8252'},'&.cm-focused\x20.cm-nonmatchingBracket':{'backgroundColor':'#bb555544'}}),WH='()[]{}',zH=lL['define']({'combine':_0x47ab20=>KL(_0x47ab20,{'afterCursor':!0x0,'brackets':WH,'maxScanDistance':0x2710,'renderMatch':JH})}),YH=W$['mark']({'class':'cm-matchingBracket'}),KH=W$['mark']({'class':'cm-nonmatchingBracket'});function JH(_0x1d1a76){let _0x3ecfac=[],_0x165e2c=_0x1d1a76['matched']?YH:KH;return _0x3ecfac['push'](_0x165e2c['range'](_0x1d1a76['start']['from'],_0x1d1a76['start']['to'])),_0x1d1a76['end']&&_0x3ecfac['push'](_0x165e2c['range'](_0x1d1a76['end']['from'],_0x1d1a76['end']['to'])),_0x3ecfac;}function tZ(_0x433364){let _0x8e15d2=[],_0x21539f=_0x433364['facet'](zH);for(let _0x25955f of _0x433364['selection']['ranges']){if(!_0x25955f['empty'])continue;let _0x1bc70d=oZ(_0x433364,_0x25955f['head'],-0x1,_0x21539f)||_0x25955f['head']>0x0&&oZ(_0x433364,_0x25955f['head']-0x1,0x1,_0x21539f)||_0x21539f['afterCursor']&&(oZ(_0x433364,_0x25955f['head'],0x1,_0x21539f)||_0x25955f['head']<_0x433364['doc']['length']&&oZ(_0x433364,_0x25955f['head']+0x1,-0x1,_0x21539f));_0x1bc70d&&(_0x8e15d2=_0x8e15d2['concat'](_0x21539f['renderMatch'](_0x1bc70d,_0x433364)));}return W$['set'](_0x8e15d2,!0x0);}const eZ=[lQ['fromClass'](class{constructor(_0x4de7ae){this['paused']=!0x1,this['decorations']=tZ(_0x4de7ae['state']);}['update'](_0x2af727){(_0x2af727['docChanged']||_0x2af727['selectionSet']||this['paused'])&&(_0x2af727['view']['composing']?(this['decorations']=this['decorations']['map'](_0x2af727['changes']),this['paused']=!0x0):(this['decorations']=tZ(_0x2af727['state']),this['paused']=!0x1));}},{'decorations':_0xee8a77=>_0xee8a77['decorations']}),qH];function iZ(_0x2ca76f={}){return[zH['of'](_0x2ca76f),eZ];}const sZ=new OB();function nZ(_0x279cca,_0x5c3384,_0x396247){let _0x1e2e54=_0x279cca['prop'](_0x5c3384<0x0?OB['openedBy']:OB['closedBy']);if(_0x1e2e54)return _0x1e2e54;if(0x1==_0x279cca['name']['length']){let _0x256bfd=_0x396247['indexOf'](_0x279cca['name']);if(_0x256bfd>-0x1&&_0x256bfd%0x2==(_0x5c3384<0x0?0x1:0x0))return[_0x396247[_0x256bfd+_0x5c3384]];}return null;}function rZ(_0x293248){let _0xba1995=_0x293248['type']['prop'](sZ);return _0xba1995?_0xba1995(_0x293248['node']):_0x293248;}function oZ(_0x52abaa,_0x3020be,_0x285139,_0x2123a8={}){let _0x26810b=_0x2123a8['maxScanDistance']||0x2710,_0x3ce91b=_0x2123a8['brackets']||WH,_0x58f2d6=UF(_0x52abaa),_0x13fdf4=_0x58f2d6['resolveInner'](_0x3020be,_0x285139);for(let _0x1edf54=_0x13fdf4;_0x1edf54;_0x1edf54=_0x1edf54['parent']){let _0x1ed7a0=nZ(_0x1edf54['type'],_0x285139,_0x3ce91b);if(_0x1ed7a0&&_0x1edf54['from']<_0x1edf54['to']){let _0x1d8961=rZ(_0x1edf54);if(_0x1d8961&&(_0x285139>0x0?_0x3020be>=_0x1d8961['from']&&_0x3020be<_0x1d8961['to']:_0x3020be>_0x1d8961['from']&&_0x3020be<=_0x1d8961['to']))return aZ(_0x52abaa,_0x3020be,_0x285139,_0x1edf54,_0x1d8961,_0x1ed7a0,_0x3ce91b);}}return function(_0x347fae,_0x5e27f2,_0x3a0f59,_0xe2eb53,_0x2f0a6d,_0x281194,_0x4a3031){if(_0x3a0f59<0x0?!_0x5e27f2:_0x5e27f2==_0x347fae['doc']['length'])return null;let _0x1bdb8c=_0x3a0f59<0x0?_0x347fae['sliceDoc'](_0x5e27f2-0x1,_0x5e27f2):_0x347fae['sliceDoc'](_0x5e27f2,_0x5e27f2+0x1),_0x264f7e=_0x4a3031['indexOf'](_0x1bdb8c);if(_0x264f7e<0x0||_0x264f7e%0x2==0x0!=_0x3a0f59>0x0)return null;let _0x30d834={'from':_0x3a0f59<0x0?_0x5e27f2-0x1:_0x5e27f2,'to':_0x3a0f59>0x0?_0x5e27f2+0x1:_0x5e27f2},_0x483a12=_0x347fae['doc']['iterRange'](_0x5e27f2,_0x3a0f59>0x0?_0x347fae['doc']['length']:0x0),_0x411195=0x0;for(let _0x385156=0x0;!_0x483a12['next']()['done']&&_0x385156<=_0x281194;){let _0x40a823=_0x483a12['value'];_0x3a0f59<0x0&&(_0x385156+=_0x40a823['length']);let _0x482c47=_0x5e27f2+_0x385156*_0x3a0f59;for(let _0x4db069=_0x3a0f59>0x0?0x0:_0x40a823['length']-0x1,_0x410b32=_0x3a0f59>0x0?_0x40a823['length']:-0x1;_0x4db069!=_0x410b32;_0x4db069+=_0x3a0f59){let _0x2066e2=_0x4a3031['indexOf'](_0x40a823[_0x4db069]);if(!(_0x2066e2<0x0||_0xe2eb53['resolveInner'](_0x482c47+_0x4db069,0x1)['type']!=_0x2f0a6d)){if(_0x2066e2%0x2==0x0==_0x3a0f59>0x0)_0x411195++;else{if(0x1==_0x411195)return{'start':_0x30d834,'end':{'from':_0x482c47+_0x4db069,'to':_0x482c47+_0x4db069+0x1},'matched':_0x2066e2>>0x1==_0x264f7e>>0x1};_0x411195--;}}}_0x3a0f59>0x0&&(_0x385156+=_0x40a823['length']);}return _0x483a12['done']?{'start':_0x30d834,'matched':!0x1}:null;}(_0x52abaa,_0x3020be,_0x285139,_0x58f2d6,_0x13fdf4['type'],_0x26810b,_0x3ce91b);}function aZ(_0x5515d6,_0x2755af,_0x2bdc3e,_0x2a976d,_0x591afb,_0x381f33,_0x5663b5){let _0x7ded=_0x2a976d['parent'],_0x223cc9={'from':_0x591afb['from'],'to':_0x591afb['to']},_0x22c234=0x0,_0x30d7fd=null==_0x7ded?void 0x0:_0x7ded['cursor']();if(_0x30d7fd&&(_0x2bdc3e<0x0?_0x30d7fd['childBefore'](_0x2a976d['from']):_0x30d7fd['childAfter'](_0x2a976d['to'])))do{if(_0x2bdc3e<0x0?_0x30d7fd['to']<=_0x2a976d['from']:_0x30d7fd['from']>=_0x2a976d['to']){if(0x0==_0x22c234&&_0x381f33['indexOf'](_0x30d7fd['type']['name'])>-0x1&&_0x30d7fd['from']<_0x30d7fd['to']){let _0x119eee=rZ(_0x30d7fd);return{'start':_0x223cc9,'end':_0x119eee?{'from':_0x119eee['from'],'to':_0x119eee['to']}:void 0x0,'matched':!0x0};}if(nZ(_0x30d7fd['type'],_0x2bdc3e,_0x5663b5))_0x22c234++;else{if(nZ(_0x30d7fd['type'],-_0x2bdc3e,_0x5663b5)){if(0x0==_0x22c234){let _0x233d49=rZ(_0x30d7fd);return{'start':_0x223cc9,'end':_0x233d49&&_0x233d49['from']<_0x233d49['to']?{'from':_0x233d49['from'],'to':_0x233d49['to']}:void 0x0,'matched':!0x1};}_0x22c234--;}}}}while(_0x2bdc3e<0x0?_0x30d7fd['prevSibling']():_0x30d7fd['nextSibling']());return{'start':_0x223cc9,'matched':!0x1};}const cZ=Object['create'](null),lZ=[yB['none']],hZ=[],uZ=Object['create'](null),dZ=Object['create'](null);for(let [e,s]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']])dZ[e]=mZ(cZ,s);function fZ(_0x35833a,_0x59d122){hZ['indexOf'](_0x35833a)>-0x1||(hZ['push'](_0x35833a),console['warn'](_0x59d122));}function mZ(_0x41f10c,_0x166d81){let _0xb0de52=[];for(let _0x9c582d of _0x166d81['split']('\x20')){let _0x452247=[];for(let _0x1ea3ad of _0x9c582d['split']('.')){let _0xa803c3=_0x41f10c[_0x1ea3ad]||PF[_0x1ea3ad];_0xa803c3?'function'==typeof _0xa803c3?_0x452247['length']?_0x452247=_0x452247['map'](_0xa803c3):fZ(_0x1ea3ad,'Modifier\x20'+_0x1ea3ad+'\x20used\x20at\x20start\x20of\x20tag'):_0x452247['length']?fZ(_0x1ea3ad,'Tag\x20'+_0x1ea3ad+'\x20used\x20as\x20modifier'):_0x452247=Array['isArray'](_0xa803c3)?_0xa803c3:[_0xa803c3]:fZ(_0x1ea3ad,'Unknown\x20highlighting\x20tag\x20'+_0x1ea3ad);}for(let _0x123e92 of _0x452247)_0xb0de52['push'](_0x123e92);}if(!_0xb0de52['length'])return 0x0;let _0x352073=_0x166d81['replace'](/ /g,'_'),_0x12613c=_0x352073+'\x20'+_0xb0de52['map'](t=>t['id']),_0x3da314=uZ[_0x12613c];if(_0x3da314)return _0x3da314['id'];let _0x55ae21=uZ[_0x12613c]=yB['define']({'id':lZ['length'],'name':_0x352073,'props':[dF({[_0x352073]:_0xb0de52})]});return lZ['push'](_0x55ae21),_0x55ae21['id'];}AD['RTL'],AD['LTR'];function pZ(_0x4f1e65,_0x4faa59){return({state:_0x64f350,dispatch:_0x3a1415})=>{if(_0x64f350['readOnly'])return!0x1;let _0x3083a6=_0x4f1e65(_0x4faa59,_0x64f350);return!!_0x3083a6&&(_0x3a1415(_0x64f350['update'](_0x3083a6)),!0x0);};}const gZ=pZ(_Z,0x0),OZ=pZ(vZ,0x0),wZ=pZ((_0x2e3886,_0x39f8af)=>vZ(_0x2e3886,_0x39f8af,function(_0x1b3747){let _0x954dc3=[];for(let _0x5d3cff of _0x1b3747['selection']['ranges']){let _0x1eba3e=_0x1b3747['doc']['lineAt'](_0x5d3cff['from']),_0x26dbf3=_0x5d3cff['to']<=_0x1eba3e['to']?_0x1eba3e:_0x1b3747['doc']['lineAt'](_0x5d3cff['to']);_0x26dbf3['from']>_0x1eba3e['from']&&_0x26dbf3['from']==_0x5d3cff['to']&&(_0x26dbf3=_0x5d3cff['to']==_0x1eba3e['to']+0x1?_0x1eba3e:_0x1b3747['doc']['lineAt'](_0x5d3cff['to']-0x1));let _0x370cf6=_0x954dc3['length']-0x1;_0x370cf6>=0x0&&_0x954dc3[_0x370cf6]['to']>_0x1eba3e['from']?_0x954dc3[_0x370cf6]['to']=_0x26dbf3['to']:_0x954dc3['push']({'from':_0x1eba3e['from']+/^\s*/['exec'](_0x1eba3e['text'])[0x0]['length'],'to':_0x26dbf3['to']});}return _0x954dc3;}(_0x39f8af)),0x0);function bZ(_0xe79310,_0x43a2bf){let _0x2c6a1f=_0xe79310['languageDataAt']('commentTokens',_0x43a2bf,0x1);return _0x2c6a1f['length']?_0x2c6a1f[0x0]:{};}const yZ=0x32;function vZ(_0xbd95b2,_0x5481ef,_0x3fa1b5=_0x5481ef['selection']['ranges']){let _0x52337d=_0x3fa1b5['map'](_0x15ac39=>bZ(_0x5481ef,_0x15ac39['from'])['block']);if(!_0x52337d['every'](_0x58a899=>_0x58a899))return null;let _0x3f50a2=_0x3fa1b5['map']((_0x1c2382,_0xbe2f6a)=>function(_0xae5a38,{open:_0x2d5ef5,close:_0x507e19},_0x270de3,_0x4159dc){let _0x3e05a0,_0x2de1df,_0x539f63=_0xae5a38['sliceDoc'](_0x270de3-yZ,_0x270de3),_0xd42af8=_0xae5a38['sliceDoc'](_0x4159dc,_0x4159dc+yZ),_0x5ad1ff=/\s*$/['exec'](_0x539f63)[0x0]['length'],_0xdab4e1=/^\s*/['exec'](_0xd42af8)[0x0]['length'],_0x523678=_0x539f63['length']-_0x5ad1ff;if(_0x539f63['slice'](_0x523678-_0x2d5ef5['length'],_0x523678)==_0x2d5ef5&&_0xd42af8['slice'](_0xdab4e1,_0xdab4e1+_0x507e19['length'])==_0x507e19)return{'open':{'pos':_0x270de3-_0x5ad1ff,'margin':_0x5ad1ff&&0x1},'close':{'pos':_0x4159dc+_0xdab4e1,'margin':_0xdab4e1&&0x1}};_0x4159dc-_0x270de3<=0x2*yZ?_0x3e05a0=_0x2de1df=_0xae5a38['sliceDoc'](_0x270de3,_0x4159dc):(_0x3e05a0=_0xae5a38['sliceDoc'](_0x270de3,_0x270de3+yZ),_0x2de1df=_0xae5a38['sliceDoc'](_0x4159dc-yZ,_0x4159dc));let _0x4cac3a=/^\s*/['exec'](_0x3e05a0)[0x0]['length'],_0x247df4=/\s*$/['exec'](_0x2de1df)[0x0]['length'],_0xcdbe33=_0x2de1df['length']-_0x247df4-_0x507e19['length'];return _0x3e05a0['slice'](_0x4cac3a,_0x4cac3a+_0x2d5ef5['length'])==_0x2d5ef5&&_0x2de1df['slice'](_0xcdbe33,_0xcdbe33+_0x507e19['length'])==_0x507e19?{'open':{'pos':_0x270de3+_0x4cac3a+_0x2d5ef5['length'],'margin':/\s/['test'](_0x3e05a0['charAt'](_0x4cac3a+_0x2d5ef5['length']))?0x1:0x0},'close':{'pos':_0x4159dc-_0x247df4-_0x507e19['length'],'margin':/\s/['test'](_0x2de1df['charAt'](_0xcdbe33-0x1))?0x1:0x0}}:null;}(_0x5481ef,_0x52337d[_0xbe2f6a],_0x1c2382['from'],_0x1c2382['to']));if(0x2!=_0xbd95b2&&!_0x3f50a2['every'](_0x1f0c21=>_0x1f0c21))return{'changes':_0x5481ef['changes'](_0x3fa1b5['map']((_0x28d34f,_0x378318)=>_0x3f50a2[_0x378318]?[]:[{'from':_0x28d34f['from'],'insert':_0x52337d[_0x378318]['open']+'\x20'},{'from':_0x28d34f['to'],'insert':'\x20'+_0x52337d[_0x378318]['close']}]))};if(0x1!=_0xbd95b2&&_0x3f50a2['some'](_0x1e8296=>_0x1e8296)){let _0x50dd78=[];for(let _0x1542eb,_0x5e1cff=0x0;_0x5e1cff<_0x3f50a2['length'];_0x5e1cff++)if(_0x1542eb=_0x3f50a2[_0x5e1cff]){let _0x59e058=_0x52337d[_0x5e1cff],{open:_0x8eebbe,close:_0x3b6a33}=_0x1542eb;_0x50dd78['push']({'from':_0x8eebbe['pos']-_0x59e058['open']['length'],'to':_0x8eebbe['pos']+_0x8eebbe['margin']},{'from':_0x3b6a33['pos']-_0x3b6a33['margin'],'to':_0x3b6a33['pos']+_0x59e058['close']['length']});}return{'changes':_0x50dd78};}return null;}function _Z(_0x175bb5,_0x1c0c0a,_0x47500c=_0x1c0c0a['selection']['ranges']){let _0x3f2ae0=[],_0x30c7d5=-0x1;for(let {from:_0x1bd847,to:_0x254d3f}of _0x47500c){let _0x151d37=_0x3f2ae0['length'],_0x495d77=0x3b9aca00,_0x123b92=bZ(_0x1c0c0a,_0x1bd847)['line'];if(_0x123b92){for(let _0x4e9c0e=_0x1bd847;_0x4e9c0e<=_0x254d3f;){let _0x2a1fee=_0x1c0c0a['doc']['lineAt'](_0x4e9c0e);if(_0x2a1fee['from']>_0x30c7d5&&(_0x1bd847==_0x254d3f||_0x254d3f>_0x2a1fee['from'])){_0x30c7d5=_0x2a1fee['from'];let _0x32dfea=/^\s*/['exec'](_0x2a1fee['text'])[0x0]['length'],_0x1c7f36=_0x32dfea==_0x2a1fee['length'],_0x1ee238=_0x2a1fee['text']['slice'](_0x32dfea,_0x32dfea+_0x123b92['length'])==_0x123b92?_0x32dfea:-0x1;_0x32dfea<_0x2a1fee['text']['length']&&_0x32dfea<_0x495d77&&(_0x495d77=_0x32dfea),_0x3f2ae0['push']({'line':_0x2a1fee,'comment':_0x1ee238,'token':_0x123b92,'indent':_0x32dfea,'empty':_0x1c7f36,'single':!0x1});}_0x4e9c0e=_0x2a1fee['to']+0x1;}if(_0x495d77<0x3b9aca00){for(let _0x5e37c9=_0x151d37;_0x5e37c9<_0x3f2ae0['length'];_0x5e37c9++)_0x3f2ae0[_0x5e37c9]['indent']<_0x3f2ae0[_0x5e37c9]['line']['text']['length']&&(_0x3f2ae0[_0x5e37c9]['indent']=_0x495d77);}_0x3f2ae0['length']==_0x151d37+0x1&&(_0x3f2ae0[_0x151d37]['single']=!0x0);}}if(0x2!=_0x175bb5&&_0x3f2ae0['some'](_0x832931=>_0x832931['comment']<0x0&&(!_0x832931['empty']||_0x832931['single']))){let _0x2c6539=[];for(let {line:_0x6c7ff8,token:_0x4dc000,indent:_0x11672b,empty:_0x457a2e,single:_0x205ccd}of _0x3f2ae0)!_0x205ccd&&_0x457a2e||_0x2c6539['push']({'from':_0x6c7ff8['from']+_0x11672b,'insert':_0x4dc000+'\x20'});let _0x4e985f=_0x1c0c0a['changes'](_0x2c6539);return{'changes':_0x4e985f,'selection':_0x1c0c0a['selection']['map'](_0x4e985f,0x1)};}if(0x1!=_0x175bb5&&_0x3f2ae0['some'](_0xa0c3c5=>_0xa0c3c5['comment']>=0x0)){let _0x3dd67a=[];for(let {line:_0xbc0c1b,comment:_0x460b2f,token:_0x1f82eb}of _0x3f2ae0)if(_0x460b2f>=0x0){let _0x97861f=_0xbc0c1b['from']+_0x460b2f,_0x518255=_0x97861f+_0x1f82eb['length'];'\x20'==_0xbc0c1b['text'][_0x518255-_0xbc0c1b['from']]&&_0x518255++,_0x3dd67a['push']({'from':_0x97861f,'to':_0x518255});}return{'changes':_0x3dd67a};}return null;}const EZ=$L['define'](),TZ=$L['define'](),AZ=lL['define'](),SZ=lL['define']({'combine':_0x84e21=>KL(_0x84e21,{'minDepth':0x64,'newGroupDelay':0x1f4,'joinToEvent':(_0x3fb31b,_0x5a02e4)=>_0x5a02e4},{'minDepth':Math['max'],'newGroupDelay':Math['min'],'joinToEvent':(_0x190188,_0x3b051d)=>(_0x525128,_0x1cd7f4)=>_0x190188(_0x525128,_0x1cd7f4)||_0x3b051d(_0x525128,_0x1cd7f4)})}),IZ=gL['define']({'create':()=>HZ['empty'],'update'(_0x4ca6ae,_0x3dae08){let _0x497f8d=_0x3dae08['state']['facet'](SZ),_0x4ad20f=_0x3dae08['annotation'](EZ);if(_0x4ad20f){let _0x418d8e=NZ['fromTransaction'](_0x3dae08,_0x4ad20f['selection']),_0x22aa8f=_0x4ad20f['side'],_0x57baf2=0x0==_0x22aa8f?_0x4ca6ae['undone']:_0x4ca6ae['done'];return _0x57baf2=_0x418d8e?LZ(_0x57baf2,_0x57baf2['length'],_0x497f8d['minDepth'],_0x418d8e):jZ(_0x57baf2,_0x3dae08['startState']['selection']),new HZ(0x0==_0x22aa8f?_0x4ad20f['rest']:_0x57baf2,0x0==_0x22aa8f?_0x57baf2:_0x4ad20f['rest']);}let _0x2c0b08=_0x3dae08['annotation'](TZ);if('full'!=_0x2c0b08&&'before'!=_0x2c0b08||(_0x4ca6ae=_0x4ca6ae['isolate']()),!0x1===_0x3dae08['annotation'](UL['addToHistory']))return _0x3dae08['changes']['empty']?_0x4ca6ae:_0x4ca6ae['addMapping'](_0x3dae08['changes']['desc']);let _0x4c90a4=NZ['fromTransaction'](_0x3dae08),_0x74d702=_0x3dae08['annotation'](UL['time']),_0x17fdf5=_0x3dae08['annotation'](UL['userEvent']);return _0x4c90a4?_0x4ca6ae=_0x4ca6ae['addChanges'](_0x4c90a4,_0x74d702,_0x17fdf5,_0x497f8d,_0x3dae08):_0x3dae08['selection']&&(_0x4ca6ae=_0x4ca6ae['addSelection'](_0x3dae08['startState']['selection'],_0x74d702,_0x17fdf5,_0x497f8d['newGroupDelay'])),'full'!=_0x2c0b08&&'after'!=_0x2c0b08||(_0x4ca6ae=_0x4ca6ae['isolate']()),_0x4ca6ae;},'toJSON':_0x55a426=>({'done':_0x55a426['done']['map'](_0xca1083=>_0xca1083['toJSON']()),'undone':_0x55a426['undone']['map'](_0x47128f=>_0x47128f['toJSON']())}),'fromJSON':_0x5c7f71=>new HZ(_0x5c7f71['done']['map'](NZ['fromJSON']),_0x5c7f71['undone']['map'](NZ['fromJSON']))});function kZ(_0x2dcdfd={}){return[IZ,SZ['of'](_0x2dcdfd),NU['domEventHandlers']({'beforeinput'(_0x48cdaa,_0xcbb462){let _0x4020b1='historyUndo'==_0x48cdaa['inputType']?CZ:'historyRedo'==_0x48cdaa['inputType']?RZ:null;return!!_0x4020b1&&(_0x48cdaa['preventDefault'](),_0x4020b1(_0xcbb462));}})];}function xZ(_0x2c49fb,_0x28c8c4){return function({state:_0xe7f237,dispatch:_0x3c8843}){if(!_0x28c8c4&&_0xe7f237['readOnly'])return!0x1;let _0x340253=_0xe7f237['field'](IZ,!0x1);if(!_0x340253)return!0x1;let _0x2639de=_0x340253['pop'](_0x2c49fb,_0xe7f237,_0x28c8c4);return!!_0x2639de&&(_0x3c8843(_0x2639de),!0x0);};}const CZ=xZ(0x0,!0x1),RZ=xZ(0x1,!0x1),PZ=xZ(0x0,!0x0),MZ=xZ(0x1,!0x0);var NZ=class HistEvent{constructor(_0x4748a1,_0x17633d,_0x2afd47,_0x25ad31,_0x45b169){this['changes']=_0x4748a1,this['effects']=_0x17633d,this['mapped']=_0x2afd47,this['startSelection']=_0x25ad31,this['selectionsAfter']=_0x45b169;}['setSelAfter'](_0x247733){return new HistEvent(this['changes'],this['effects'],this['mapped'],this['startSelection'],_0x247733);}['toJSON'](){var _0x119a3b,_0xae85c0,_0x4ee2cc;return{'changes':null===(_0x119a3b=this['changes'])||void 0x0===_0x119a3b?void 0x0:_0x119a3b['toJSON'](),'mapped':null===(_0xae85c0=this['mapped'])||void 0x0===_0xae85c0?void 0x0:_0xae85c0['toJSON'](),'startSelection':null===(_0x4ee2cc=this['startSelection'])||void 0x0===_0x4ee2cc?void 0x0:_0x4ee2cc['toJSON'](),'selectionsAfter':this['selectionsAfter']['map'](_0x2208a4=>_0x2208a4['toJSON']())};}static['fromJSON'](_0x3d8cad){return new HistEvent(_0x3d8cad['changes']&&KN['fromJSON'](_0x3d8cad['changes']),[],_0x3d8cad['mapped']&&YN['fromJSON'](_0x3d8cad['mapped']),_0x3d8cad['startSelection']&&oL['fromJSON'](_0x3d8cad['startSelection']),_0x3d8cad['selectionsAfter']['map'](oL['fromJSON']));}static['fromTransaction'](_0x202f82,_0x24f726){let _0x367b77=DZ;for(let _0x282abe of _0x202f82['startState']['facet'](AZ)){let _0x44018b=_0x282abe(_0x202f82);_0x44018b['length']&&(_0x367b77=_0x367b77['concat'](_0x44018b));}return!_0x367b77['length']&&_0x202f82['changes']['empty']?null:new HistEvent(_0x202f82['changes']['invert'](_0x202f82['startState']['doc']),_0x367b77,void 0x0,_0x24f726||_0x202f82['startState']['selection'],DZ);}static['selection'](_0x1ca14d){return new HistEvent(void 0x0,DZ,void 0x0,void 0x0,_0x1ca14d);}};function LZ(_0x43b1f7,_0x2122d6,_0x344d72,_0x16c0e2){let _0x5c5e77=_0x2122d6+0x1>_0x344d72+0x14?_0x2122d6-_0x344d72-0x1:0x0,_0x1c6bd9=_0x43b1f7['slice'](_0x5c5e77,_0x2122d6);return _0x1c6bd9['push'](_0x16c0e2),_0x1c6bd9;}function $Z(_0x1f60fc,_0x141ff5){return _0x1f60fc['length']?_0x141ff5['length']?_0x1f60fc['concat'](_0x141ff5):_0x1f60fc:_0x141ff5;}const DZ=[],QZ=0xc8;function jZ(_0x2a51f1,_0x39a827){if(_0x2a51f1['length']){let _0x19c356=_0x2a51f1[_0x2a51f1['length']-0x1],_0x30e6ba=_0x19c356['selectionsAfter']['slice'](Math['max'](0x0,_0x19c356['selectionsAfter']['length']-QZ));return _0x30e6ba['length']&&_0x30e6ba[_0x30e6ba['length']-0x1]['eq'](_0x39a827)?_0x2a51f1:(_0x30e6ba['push'](_0x39a827),LZ(_0x2a51f1,_0x2a51f1['length']-0x1,0x3b9aca00,_0x19c356['setSelAfter'](_0x30e6ba)));}return[NZ['selection']([_0x39a827])];}function UZ(_0x3b45e0){let _0x4d525c=_0x3b45e0[_0x3b45e0['length']-0x1],_0x347ae7=_0x3b45e0['slice']();return _0x347ae7[_0x3b45e0['length']-0x1]=_0x4d525c['setSelAfter'](_0x4d525c['selectionsAfter']['slice'](0x0,_0x4d525c['selectionsAfter']['length']-0x1)),_0x347ae7;}function VZ(_0x2551c5,_0x1f3e04){if(!_0x2551c5['length'])return _0x2551c5;let _0x508885=_0x2551c5['length'],_0xa27d2f=DZ;for(;_0x508885;){let _0x3c74a0=BZ(_0x2551c5[_0x508885-0x1],_0x1f3e04,_0xa27d2f);if(_0x3c74a0['changes']&&!_0x3c74a0['changes']['empty']||_0x3c74a0['effects']['length']){let _0x179269=_0x2551c5['slice'](0x0,_0x508885);return _0x179269[_0x508885-0x1]=_0x3c74a0,_0x179269;}_0x1f3e04=_0x3c74a0['mapped'],_0x508885--,_0xa27d2f=_0x3c74a0['selectionsAfter'];}return _0xa27d2f['length']?[NZ['selection'](_0xa27d2f)]:DZ;}function BZ(_0x4676a7,_0x33f6aa,_0x1e99d5){let _0x3b5575=$Z(_0x4676a7['selectionsAfter']['length']?_0x4676a7['selectionsAfter']['map'](_0x78bfe4=>_0x78bfe4['map'](_0x33f6aa)):DZ,_0x1e99d5);if(!_0x4676a7['changes'])return NZ['selection'](_0x3b5575);let _0x5a308d=_0x4676a7['changes']['map'](_0x33f6aa),_0x4c9961=_0x33f6aa['mapDesc'](_0x4676a7['changes'],!0x0),_0x750c41=_0x4676a7['mapped']?_0x4676a7['mapped']['composeDesc'](_0x4c9961):_0x4c9961;return new NZ(_0x5a308d,jL['mapEffects'](_0x4676a7['effects'],_0x33f6aa),_0x750c41,_0x4676a7['startSelection']['map'](_0x4c9961),_0x3b5575);}const FZ=/^(input\.type|delete)($|\.)/;var HZ=class HistoryState{constructor(_0x583674,_0x55b622,_0xebf23e=0x0,_0x4ef2d2=void 0x0){this['done']=_0x583674,this['undone']=_0x55b622,this['prevTime']=_0xebf23e,this['prevUserEvent']=_0x4ef2d2;}['isolate'](){return this['prevTime']?new HistoryState(this['done'],this['undone']):this;}['addChanges'](_0x450a23,_0x2baa86,_0x326f44,_0xe31243,_0x598407){let _0x3d383d=this['done'],_0x2eb0c7=_0x3d383d[_0x3d383d['length']-0x1];return _0x3d383d=_0x2eb0c7&&_0x2eb0c7['changes']&&!_0x2eb0c7['changes']['empty']&&_0x450a23['changes']&&(!_0x326f44||FZ['test'](_0x326f44))&&(!_0x2eb0c7['selectionsAfter']['length']&&_0x2baa86-this['prevTime']<_0xe31243['newGroupDelay']&&_0xe31243['joinToEvent'](_0x598407,function(_0x5f1055,_0x40a0de){let _0x512ee1=[],_0x56b259=!0x1;return _0x5f1055['iterChangedRanges']((_0x62cc3f,t)=>_0x512ee1['push'](_0x62cc3f,t)),_0x40a0de['iterChangedRanges']((_0x18bf35,_0x4c0096,_0x394149,t)=>{for(let _0x37aee0=0x0;_0x37aee0<_0x512ee1['length'];){let _0x576208=_0x512ee1[_0x37aee0++],_0x4b6e05=_0x512ee1[_0x37aee0++];t>=_0x576208&&_0x394149<=_0x4b6e05&&(_0x56b259=!0x0);}}),_0x56b259;}(_0x2eb0c7['changes'],_0x450a23['changes']))||'input.type.compose'==_0x326f44)?LZ(_0x3d383d,_0x3d383d['length']-0x1,_0xe31243['minDepth'],new NZ(_0x450a23['changes']['compose'](_0x2eb0c7['changes']),$Z(jL['mapEffects'](_0x450a23['effects'],_0x2eb0c7['changes']),_0x2eb0c7['effects']),_0x2eb0c7['mapped'],_0x2eb0c7['startSelection'],DZ)):LZ(_0x3d383d,_0x3d383d['length'],_0xe31243['minDepth'],_0x450a23),new HistoryState(_0x3d383d,DZ,_0x2baa86,_0x326f44);}['addSelection'](_0x4513a7,_0x162343,_0x542cf7,_0x1c9f81){let _0x4394cc=this['done']['length']?this['done'][this['done']['length']-0x1]['selectionsAfter']:DZ;return _0x4394cc['length']>0x0&&_0x162343-this['prevTime']<_0x1c9f81&&_0x542cf7==this['prevUserEvent']&&_0x542cf7&&/^select($|\.)/['test'](_0x542cf7)&&(_0x10b6ab=_0x4394cc[_0x4394cc['length']-0x1],_0x30336c=_0x4513a7,_0x10b6ab['ranges']['length']==_0x30336c['ranges']['length']&&0x0===_0x10b6ab['ranges']['filter']((_0x506559,_0x1e1fbc)=>_0x506559['empty']!=_0x30336c['ranges'][_0x1e1fbc]['empty'])['length'])?this:new HistoryState(jZ(this['done'],_0x4513a7),this['undone'],_0x162343,_0x542cf7);var _0x10b6ab,_0x30336c;}['addMapping'](_0x3ce8d2){return new HistoryState(VZ(this['done'],_0x3ce8d2),VZ(this['undone'],_0x3ce8d2),this['prevTime'],this['prevUserEvent']);}['pop'](_0x1b1677,_0x1ed52b,_0x44d688){let _0x94ad1a=0x0==_0x1b1677?this['done']:this['undone'];if(0x0==_0x94ad1a['length'])return null;let _0x12378b=_0x94ad1a[_0x94ad1a['length']-0x1],_0xfcc0aa=_0x12378b['selectionsAfter'][0x0]||_0x1ed52b['selection'];if(_0x44d688&&_0x12378b['selectionsAfter']['length'])return _0x1ed52b['update']({'selection':_0x12378b['selectionsAfter'][_0x12378b['selectionsAfter']['length']-0x1],'annotations':EZ['of']({'side':_0x1b1677,'rest':UZ(_0x94ad1a),'selection':_0xfcc0aa}),'userEvent':0x0==_0x1b1677?'select.undo':'select.redo','scrollIntoView':!0x0});if(_0x12378b['changes']){let _0x2eaba7=0x1==_0x94ad1a['length']?DZ:_0x94ad1a['slice'](0x0,_0x94ad1a['length']-0x1);return _0x12378b['mapped']&&(_0x2eaba7=VZ(_0x2eaba7,_0x12378b['mapped'])),_0x1ed52b['update']({'changes':_0x12378b['changes'],'selection':_0x12378b['startSelection'],'effects':_0x12378b['effects'],'annotations':EZ['of']({'side':_0x1b1677,'rest':_0x2eaba7,'selection':_0xfcc0aa}),'filter':!0x1,'userEvent':0x0==_0x1b1677?'undo':'redo','scrollIntoView':!0x0});}return null;}};HZ['empty']=new HZ(DZ,DZ);const ZZ=[{'key':'Mod-z','run':CZ,'preventDefault':!0x0},{'key':'Mod-y','mac':'Mod-Shift-z','run':RZ,'preventDefault':!0x0},{'linux':'Ctrl-Shift-z','run':RZ,'preventDefault':!0x0},{'key':'Mod-u','run':PZ,'preventDefault':!0x0},{'key':'Alt-u','mac':'Mod-Shift-u','run':MZ,'preventDefault':!0x0}];function GZ(_0x7d63c7,_0x2903e2){return oL['create'](_0x7d63c7['ranges']['map'](_0x2903e2),_0x7d63c7['mainIndex']);}function XZ(_0x5c83ea,_0x46a530){return _0x5c83ea['update']({'selection':_0x46a530,'scrollIntoView':!0x0,'userEvent':'select'});}function qZ({state:_0x31cb0e,dispatch:_0x223a4b},_0x52effb){let _0x217dd5=GZ(_0x31cb0e['selection'],_0x52effb);return!_0x217dd5['eq'](_0x31cb0e['selection'],!0x0)&&(_0x223a4b(XZ(_0x31cb0e,_0x217dd5)),!0x0);}function WZ(_0x498365,_0x1d8171){return oL['cursor'](_0x1d8171?_0x498365['to']:_0x498365['from']);}function zZ(_0x1d6b8d,_0x248005){return qZ(_0x1d6b8d,_0xa79ba7=>_0xa79ba7['empty']?_0x1d6b8d['moveByChar'](_0xa79ba7,_0x248005):WZ(_0xa79ba7,_0x248005));}function YZ(_0x91def3){return _0x91def3['textDirectionAt'](_0x91def3['state']['selection']['main']['head'])==AD['LTR'];}const KZ=_0x1f11e5=>zZ(_0x1f11e5,!YZ(_0x1f11e5)),JZ=_0x312ad2=>zZ(_0x312ad2,YZ(_0x312ad2));function tG(_0x2ca2c1,_0x5bf9f6){return qZ(_0x2ca2c1,_0x5cd140=>_0x5cd140['empty']?_0x2ca2c1['moveByGroup'](_0x5cd140,_0x5bf9f6):WZ(_0x5cd140,_0x5bf9f6));}'undefined'!=typeof Intl&&Intl['Segmenter'];function eG(_0x5a871f,_0x44ca4a,_0x1836e7){if(_0x44ca4a['type']['prop'](_0x1836e7))return!0x0;let _0x1ce0d4=_0x44ca4a['to']-_0x44ca4a['from'];return _0x1ce0d4&&(_0x1ce0d4>0x2||/[^\s,.;:]/['test'](_0x5a871f['sliceDoc'](_0x44ca4a['from'],_0x44ca4a['to'])))||_0x44ca4a['firstChild'];}function iG(_0x41579e,_0x55f92e,_0x16fd3d){let _0xc8dae8,_0x35603b,_0x267866=UF(_0x41579e)['resolveInner'](_0x55f92e['head']),_0x19c847=_0x16fd3d?OB['closedBy']:OB['openedBy'];for(let _0x46eef5=_0x55f92e['head'];;){let _0x5d8278=_0x16fd3d?_0x267866['childAfter'](_0x46eef5):_0x267866['childBefore'](_0x46eef5);if(!_0x5d8278)break;eG(_0x41579e,_0x5d8278,_0x19c847)?_0x267866=_0x5d8278:_0x46eef5=_0x16fd3d?_0x5d8278['to']:_0x5d8278['from'];}return _0x35603b=_0x267866['type']['prop'](_0x19c847)&&(_0xc8dae8=_0x16fd3d?oZ(_0x41579e,_0x267866['from'],0x1):oZ(_0x41579e,_0x267866['to'],-0x1))&&_0xc8dae8['matched']?_0x16fd3d?_0xc8dae8['end']['to']:_0xc8dae8['end']['from']:_0x16fd3d?_0x267866['to']:_0x267866['from'],oL['cursor'](_0x35603b,_0x16fd3d?-0x1:0x1);}function sG(_0x219657,_0x3ba7bc){return qZ(_0x219657,_0x197f09=>{if(!_0x197f09['empty'])return WZ(_0x197f09,_0x3ba7bc);let _0xee8db4=_0x219657['moveVertically'](_0x197f09,_0x3ba7bc);return _0xee8db4['head']!=_0x197f09['head']?_0xee8db4:_0x219657['moveToLineBoundary'](_0x197f09,_0x3ba7bc);});}const nG=_0x1ebabe=>sG(_0x1ebabe,!0x1),rG=_0x5b06e1=>sG(_0x5b06e1,!0x0);function oG(_0x2ed276){let _0x288d5a,_0x491c7d=_0x2ed276['scrollDOM']['clientHeight']<_0x2ed276['scrollDOM']['scrollHeight']-0x2,_0xb9a5e8=0x0,_0x15b892=0x0;if(_0x491c7d){for(let _0x4b4b36 of _0x2ed276['state']['facet'](NU['scrollMargins'])){let _0x474107=_0x4b4b36(_0x2ed276);(null==_0x474107?void 0x0:_0x474107['top'])&&(_0xb9a5e8=Math['max'](null==_0x474107?void 0x0:_0x474107['top'],_0xb9a5e8)),(null==_0x474107?void 0x0:_0x474107['bottom'])&&(_0x15b892=Math['max'](null==_0x474107?void 0x0:_0x474107['bottom'],_0x15b892));}_0x288d5a=_0x2ed276['scrollDOM']['clientHeight']-_0xb9a5e8-_0x15b892;}else _0x288d5a=(_0x2ed276['dom']['ownerDocument']['defaultView']||window)['innerHeight'];return{'marginTop':_0xb9a5e8,'marginBottom':_0x15b892,'selfScroll':_0x491c7d,'height':Math['max'](_0x2ed276['defaultLineHeight'],_0x288d5a-0x5)};}function aG(_0x505290,_0x24c994){let _0x54de2d,_0x5c891b=oG(_0x505290),{state:_0x3e90d3}=_0x505290,_0x5b5887=GZ(_0x3e90d3['selection'],_0x20cb79=>_0x20cb79['empty']?_0x505290['moveVertically'](_0x20cb79,_0x24c994,_0x5c891b['height']):WZ(_0x20cb79,_0x24c994));if(_0x5b5887['eq'](_0x3e90d3['selection']))return!0x1;if(_0x5c891b['selfScroll']){let _0x46d31f=_0x505290['coordsAtPos'](_0x3e90d3['selection']['main']['head']),_0x153155=_0x505290['scrollDOM']['getBoundingClientRect'](),_0x4c0233=_0x153155['top']+_0x5c891b['marginTop'],_0x561c06=_0x153155['bottom']-_0x5c891b['marginBottom'];_0x46d31f&&_0x46d31f['top']>_0x4c0233&&_0x46d31f['bottom']<_0x561c06&&(_0x54de2d=NU['scrollIntoView'](_0x5b5887['main']['head'],{'y':'start','yMargin':_0x46d31f['top']-_0x4c0233}));}return _0x505290['dispatch'](XZ(_0x3e90d3,_0x5b5887),{'effects':_0x54de2d}),!0x0;}const cG=_0x3e0d5d=>aG(_0x3e0d5d,!0x1),lG=_0x5dc713=>aG(_0x5dc713,!0x0);function hG(_0x5c15b2,_0x1e8300,_0x52769e){let _0x322271=_0x5c15b2['lineBlockAt'](_0x1e8300['head']),_0x56d85f=_0x5c15b2['moveToLineBoundary'](_0x1e8300,_0x52769e);if(_0x56d85f['head']==_0x1e8300['head']&&_0x56d85f['head']!=(_0x52769e?_0x322271['to']:_0x322271['from'])&&(_0x56d85f=_0x5c15b2['moveToLineBoundary'](_0x1e8300,_0x52769e,!0x1)),!_0x52769e&&_0x56d85f['head']==_0x322271['from']&&_0x322271['length']){let _0x45eaf1=/^\s*/['exec'](_0x5c15b2['state']['sliceDoc'](_0x322271['from'],Math['min'](_0x322271['from']+0x64,_0x322271['to'])))[0x0]['length'];_0x45eaf1&&_0x1e8300['head']!=_0x322271['from']+_0x45eaf1&&(_0x56d85f=oL['cursor'](_0x322271['from']+_0x45eaf1));}return _0x56d85f;}function uG(_0x42f781,_0x4f70cf){let _0x319ca5=GZ(_0x42f781['state']['selection'],_0x5e6918=>{let _0x40f678=_0x4f70cf(_0x5e6918);return oL['range'](_0x5e6918['anchor'],_0x40f678['head'],_0x40f678['goalColumn'],_0x40f678['bidiLevel']||void 0x0);});return!_0x319ca5['eq'](_0x42f781['state']['selection'])&&(_0x42f781['dispatch'](XZ(_0x42f781['state'],_0x319ca5)),!0x0);}function dG(_0x66ba9b,_0x18a5a6){return uG(_0x66ba9b,_0x1d5710=>_0x66ba9b['moveByChar'](_0x1d5710,_0x18a5a6));}const fG=_0x5f03a9=>dG(_0x5f03a9,!YZ(_0x5f03a9)),mG=_0x43eb82=>dG(_0x43eb82,YZ(_0x43eb82));function pG(_0xf8a4b6,_0x1d863e){return uG(_0xf8a4b6,_0x2ee146=>_0xf8a4b6['moveByGroup'](_0x2ee146,_0x1d863e));}function gG(_0x5c2689,_0x4bd030){return uG(_0x5c2689,_0x5befc1=>_0x5c2689['moveVertically'](_0x5befc1,_0x4bd030));}const OG=_0x42bf3e=>gG(_0x42bf3e,!0x1),wG=_0x1771bb=>gG(_0x1771bb,!0x0);function bG(_0x2c4ee4,_0x478a72){return uG(_0x2c4ee4,_0x151877=>_0x2c4ee4['moveVertically'](_0x151877,_0x478a72,oG(_0x2c4ee4)['height']));}const yG=_0x3a1bf4=>bG(_0x3a1bf4,!0x1),vG=_0x4d3167=>bG(_0x4d3167,!0x0),_G=({state:_0x3cbbad,dispatch:_0x2ca93e})=>(_0x2ca93e(XZ(_0x3cbbad,{'anchor':0x0})),!0x0),EG=({state:_0x48541a,dispatch:_0x484d84})=>(_0x484d84(XZ(_0x48541a,{'anchor':_0x48541a['doc']['length']})),!0x0),TG=({state:_0x252e7a,dispatch:_0x3d6209})=>(_0x3d6209(XZ(_0x252e7a,{'anchor':_0x252e7a['selection']['main']['anchor'],'head':0x0})),!0x0),AG=({state:_0xddfc5b,dispatch:_0x4ef74c})=>(_0x4ef74c(XZ(_0xddfc5b,{'anchor':_0xddfc5b['selection']['main']['anchor'],'head':_0xddfc5b['doc']['length']})),!0x0);function SG(_0x1b7fbe,_0x4a947b){if(_0x1b7fbe['state']['readOnly'])return!0x1;let _0x4bef9a='delete.selection',{state:_0x1ab312}=_0x1b7fbe,_0x2d1b2a=_0x1ab312['changeByRange'](_0x5c19bf=>{let {from:_0x51dc63,to:_0x39fa94}=_0x5c19bf;if(_0x51dc63==_0x39fa94){let _0x5f2498=_0x4a947b(_0x5c19bf);_0x5f2498<_0x51dc63?(_0x4bef9a='delete.backward',_0x5f2498=IG(_0x1b7fbe,_0x5f2498,!0x1)):_0x5f2498>_0x51dc63&&(_0x4bef9a='delete.forward',_0x5f2498=IG(_0x1b7fbe,_0x5f2498,!0x0)),_0x51dc63=Math['min'](_0x51dc63,_0x5f2498),_0x39fa94=Math['max'](_0x39fa94,_0x5f2498);}else _0x51dc63=IG(_0x1b7fbe,_0x51dc63,!0x1),_0x39fa94=IG(_0x1b7fbe,_0x39fa94,!0x0);return _0x51dc63==_0x39fa94?{'range':_0x5c19bf}:{'changes':{'from':_0x51dc63,'to':_0x39fa94},'range':oL['cursor'](_0x51dc63,_0x51dc63<_0x5c19bf['head']?-0x1:0x1)};});return!_0x2d1b2a['changes']['empty']&&(_0x1b7fbe['dispatch'](_0x1ab312['update'](_0x2d1b2a,{'scrollIntoView':!0x0,'userEvent':_0x4bef9a,'effects':'delete.selection'==_0x4bef9a?NU['announce']['of'](_0x1ab312['phrase']('Selection\x20deleted')):void 0x0})),!0x0);}function IG(_0x738f38,_0xbdb6,_0x247463){if(_0x738f38 instanceof NU){for(let _0x51aca2 of _0x738f38['state']['facet'](NU['atomicRanges'])['map'](_0x8759ec=>_0x8759ec(_0x738f38)))_0x51aca2['between'](_0xbdb6,_0xbdb6,(_0x16cc09,_0x5f33fd)=>{_0x16cc09<_0xbdb6&&_0x5f33fd>_0xbdb6&&(_0xbdb6=_0x247463?_0x5f33fd:_0x16cc09);});}return _0xbdb6;}const kG=(_0x244a01,_0x3a7989,_0x1e4926)=>SG(_0x244a01,_0x462f6d=>{let _0x43937b,_0x1f86f7,_0x917c41=_0x462f6d['from'],{state:_0x49cd84}=_0x244a01,_0x21f2f1=_0x49cd84['doc']['lineAt'](_0x917c41);if(_0x1e4926&&!_0x3a7989&&_0x917c41>_0x21f2f1['from']&&_0x917c41<_0x21f2f1['from']+0xc8&&!/[^ \t]/['test'](_0x43937b=_0x21f2f1['text']['slice'](0x0,_0x917c41-_0x21f2f1['from']))){if('\x09'==_0x43937b[_0x43937b['length']-0x1])return _0x917c41-0x1;let _0x30d045=g$(_0x43937b,_0x49cd84['tabSize'])%tH(_0x49cd84)||tH(_0x49cd84);for(let _0x354807=0x0;_0x354807<_0x30d045&&'\x20'==_0x43937b[_0x43937b['length']-0x1-_0x354807];_0x354807++)_0x917c41--;_0x1f86f7=_0x917c41;}else _0x1f86f7=ZN(_0x21f2f1['text'],_0x917c41-_0x21f2f1['from'],_0x3a7989,_0x3a7989)+_0x21f2f1['from'],_0x1f86f7==_0x917c41&&_0x21f2f1['number']!=(_0x3a7989?_0x49cd84['doc']['lines']:0x1)?_0x1f86f7+=_0x3a7989?0x1:-0x1:!_0x3a7989&&/[\ufe00-\ufe0f]/['test'](_0x21f2f1['text']['slice'](_0x1f86f7-_0x21f2f1['from'],_0x917c41-_0x21f2f1['from']))&&(_0x1f86f7=ZN(_0x21f2f1['text'],_0x1f86f7-_0x21f2f1['from'],!0x1,!0x1)+_0x21f2f1['from']);return _0x1f86f7;}),xG=_0x2cbd85=>kG(_0x2cbd85,!0x1,!0x0),CG=_0x5c2abe=>kG(_0x5c2abe,!0x0,!0x1),RG=(_0x5323dc,_0x2bc831)=>SG(_0x5323dc,_0x2b07c1=>{let _0x2a4d42=_0x2b07c1['head'],{state:_0x10a90d}=_0x5323dc,_0x285f2b=_0x10a90d['doc']['lineAt'](_0x2a4d42),_0x5c4ee9=_0x10a90d['charCategorizer'](_0x2a4d42);for(let _0x252f64=null;;){if(_0x2a4d42==(_0x2bc831?_0x285f2b['to']:_0x285f2b['from'])){_0x2a4d42==_0x2b07c1['head']&&_0x285f2b['number']!=(_0x2bc831?_0x10a90d['doc']['lines']:0x1)&&(_0x2a4d42+=_0x2bc831?0x1:-0x1);break;}let _0x49ebaa=ZN(_0x285f2b['text'],_0x2a4d42-_0x285f2b['from'],_0x2bc831)+_0x285f2b['from'],_0x404c16=_0x285f2b['text']['slice'](Math['min'](_0x2a4d42,_0x49ebaa)-_0x285f2b['from'],Math['max'](_0x2a4d42,_0x49ebaa)-_0x285f2b['from']),_0x57f5f2=_0x5c4ee9(_0x404c16);if(null!=_0x252f64&&_0x57f5f2!=_0x252f64)break;'\x20'==_0x404c16&&_0x2a4d42==_0x2b07c1['head']||(_0x252f64=_0x57f5f2),_0x2a4d42=_0x49ebaa;}return _0x2a4d42;}),PG=_0x31b3e1=>RG(_0x31b3e1,!0x1);function MG(_0xb33da9){let _0x4e0fa0=[],_0x8a42c2=-0x1;for(let _0x2acdfb of _0xb33da9['selection']['ranges']){let _0x543d62=_0xb33da9['doc']['lineAt'](_0x2acdfb['from']),_0x2daa6b=_0xb33da9['doc']['lineAt'](_0x2acdfb['to']);if(_0x2acdfb['empty']||_0x2acdfb['to']!=_0x2daa6b['from']||(_0x2daa6b=_0xb33da9['doc']['lineAt'](_0x2acdfb['to']-0x1)),_0x8a42c2>=_0x543d62['number']){let _0x571060=_0x4e0fa0[_0x4e0fa0['length']-0x1];_0x571060['to']=_0x2daa6b['to'],_0x571060['ranges']['push'](_0x2acdfb);}else _0x4e0fa0['push']({'from':_0x543d62['from'],'to':_0x2daa6b['to'],'ranges':[_0x2acdfb]});_0x8a42c2=_0x2daa6b['number']+0x1;}return _0x4e0fa0;}function NG(_0x3c54c5,_0x4723aa,_0x582f1a){if(_0x3c54c5['readOnly'])return!0x1;let _0x26a532=[],_0xaf9355=[];for(let _0x13d639 of MG(_0x3c54c5)){if(_0x582f1a?_0x13d639['to']==_0x3c54c5['doc']['length']:0x0==_0x13d639['from'])continue;let _0x47f1c5=_0x3c54c5['doc']['lineAt'](_0x582f1a?_0x13d639['to']+0x1:_0x13d639['from']-0x1),_0x4c73c0=_0x47f1c5['length']+0x1;if(_0x582f1a){_0x26a532['push']({'from':_0x13d639['to'],'to':_0x47f1c5['to']},{'from':_0x13d639['from'],'insert':_0x47f1c5['text']+_0x3c54c5['lineBreak']});for(let _0xb757de of _0x13d639['ranges'])_0xaf9355['push'](oL['range'](Math['min'](_0x3c54c5['doc']['length'],_0xb757de['anchor']+_0x4c73c0),Math['min'](_0x3c54c5['doc']['length'],_0xb757de['head']+_0x4c73c0)));}else{_0x26a532['push']({'from':_0x47f1c5['from'],'to':_0x13d639['from']},{'from':_0x13d639['to'],'insert':_0x3c54c5['lineBreak']+_0x47f1c5['text']});for(let _0x1aa9e9 of _0x13d639['ranges'])_0xaf9355['push'](oL['range'](_0x1aa9e9['anchor']-_0x4c73c0,_0x1aa9e9['head']-_0x4c73c0));}}return!!_0x26a532['length']&&(_0x4723aa(_0x3c54c5['update']({'changes':_0x26a532,'scrollIntoView':!0x0,'selection':oL['create'](_0xaf9355,_0x3c54c5['selection']['mainIndex']),'userEvent':'move.line'})),!0x0);}function LG(_0x4b1331,_0x3670b4,_0x3f2a4d){if(_0x4b1331['readOnly'])return!0x1;let _0xdf8252=[];for(let _0x5edbe0 of MG(_0x4b1331))_0x3f2a4d?_0xdf8252['push']({'from':_0x5edbe0['from'],'insert':_0x4b1331['doc']['slice'](_0x5edbe0['from'],_0x5edbe0['to'])+_0x4b1331['lineBreak']}):_0xdf8252['push']({'from':_0x5edbe0['to'],'insert':_0x4b1331['lineBreak']+_0x4b1331['doc']['slice'](_0x5edbe0['from'],_0x5edbe0['to'])});return _0x3670b4(_0x4b1331['update']({'changes':_0xdf8252,'scrollIntoView':!0x0,'userEvent':'input.copyline'})),!0x0;}const $G=QG(!0x1),DG=QG(!0x0);function QG(_0x2d37f3){return({state:_0x1fa72f,dispatch:_0x1302a4})=>{if(_0x1fa72f['readOnly'])return!0x1;let _0x10509c=_0x1fa72f['changeByRange'](_0x4ff464=>{let {from:_0x6e1dd3,to:_0x5d2637}=_0x4ff464,_0x330132=_0x1fa72f['doc']['lineAt'](_0x6e1dd3),_0x387da8=!_0x2d37f3&&_0x6e1dd3==_0x5d2637&&function(_0x52bfbc,_0x25d556){if(/\(\)|\[\]|\{\}/['test'](_0x52bfbc['sliceDoc'](_0x25d556-0x1,_0x25d556+0x1)))return{'from':_0x25d556,'to':_0x25d556};let _0x2a03de,_0x2e0d84=UF(_0x52bfbc)['resolveInner'](_0x25d556),_0x1fa3f9=_0x2e0d84['childBefore'](_0x25d556),_0x4b01af=_0x2e0d84['childAfter'](_0x25d556);return _0x1fa3f9&&_0x4b01af&&_0x1fa3f9['to']<=_0x25d556&&_0x4b01af['from']>=_0x25d556&&(_0x2a03de=_0x1fa3f9['type']['prop'](OB['closedBy']))&&_0x2a03de['indexOf'](_0x4b01af['name'])>-0x1&&_0x52bfbc['doc']['lineAt'](_0x1fa3f9['to'])['from']==_0x52bfbc['doc']['lineAt'](_0x4b01af['from'])['from']&&!/\S/['test'](_0x52bfbc['sliceDoc'](_0x1fa3f9['to'],_0x4b01af['from']))?{'from':_0x1fa3f9['to'],'to':_0x4b01af['from']}:null;}(_0x1fa72f,_0x6e1dd3);_0x2d37f3&&(_0x6e1dd3=_0x5d2637=(_0x5d2637<=_0x330132['to']?_0x330132:_0x1fa72f['doc']['lineAt'](_0x5d2637))['to']);let _0x559f54=new sH(_0x1fa72f,{'simulateBreak':_0x6e1dd3,'simulateDoubleBreak':!!_0x387da8}),_0x121d68=iH(_0x559f54,_0x6e1dd3);for(null==_0x121d68&&(_0x121d68=g$(/^\s*/['exec'](_0x1fa72f['doc']['lineAt'](_0x6e1dd3)['text'])[0x0],_0x1fa72f['tabSize']));_0x5d2637<_0x330132['to']&&/\s/['test'](_0x330132['text'][_0x5d2637-_0x330132['from']]);)_0x5d2637++;_0x387da8?{from:_0x6e1dd3,to:_0x5d2637}=_0x387da8:_0x6e1dd3>_0x330132['from']&&_0x6e1dd3<_0x330132['from']+0x64&&!/\S/['test'](_0x330132['text']['slice'](0x0,_0x6e1dd3))&&(_0x6e1dd3=_0x330132['from']);let _0xf95e2d=['',eH(_0x1fa72f,_0x121d68)];return _0x387da8&&_0xf95e2d['push'](eH(_0x1fa72f,_0x559f54['lineIndent'](_0x330132['from'],-0x1))),{'changes':{'from':_0x6e1dd3,'to':_0x5d2637,'insert':LN['of'](_0xf95e2d)},'range':oL['cursor'](_0x6e1dd3+0x1+_0xf95e2d[0x1]['length'])};});return _0x1302a4(_0x1fa72f['update'](_0x10509c,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;};}function jG(_0x22748e,_0x199eb4){let _0x49d3df=-0x1;return _0x22748e['changeByRange'](_0x3929fd=>{let _0x127696=[];for(let _0x31e733=_0x3929fd['from'];_0x31e733<=_0x3929fd['to'];){let _0x3aa875=_0x22748e['doc']['lineAt'](_0x31e733);_0x3aa875['number']>_0x49d3df&&(_0x3929fd['empty']||_0x3929fd['to']>_0x3aa875['from'])&&(_0x199eb4(_0x3aa875,_0x127696,_0x3929fd),_0x49d3df=_0x3aa875['number']),_0x31e733=_0x3aa875['to']+0x1;}let _0x3de86e=_0x22748e['changes'](_0x127696);return{'changes':_0x127696,'range':oL['range'](_0x3de86e['mapPos'](_0x3929fd['anchor'],0x1),_0x3de86e['mapPos'](_0x3929fd['head'],0x1))};});}const UG=({state:_0x5cb31f,dispatch:_0x24371e})=>!_0x5cb31f['readOnly']&&(_0x24371e(_0x5cb31f['update'](jG(_0x5cb31f,(_0x51056e,_0x4af16b)=>{_0x4af16b['push']({'from':_0x51056e['from'],'insert':_0x5cb31f['facet'](JF)});}),{'userEvent':'input.indent'})),!0x0),VG=({state:_0x5f5c94,dispatch:_0x497eac})=>!_0x5f5c94['readOnly']&&(_0x497eac(_0x5f5c94['update'](jG(_0x5f5c94,(_0x573279,_0x219093)=>{let _0x41a58f=/^\s*/['exec'](_0x573279['text'])[0x0];if(!_0x41a58f)return;let _0x3eb02a=g$(_0x41a58f,_0x5f5c94['tabSize']),_0x58ceee=0x0,_0x4d1ae2=eH(_0x5f5c94,Math['max'](0x0,_0x3eb02a-tH(_0x5f5c94)));for(;_0x58ceee<_0x41a58f['length']&&_0x58ceee<_0x4d1ae2['length']&&_0x41a58f['charCodeAt'](_0x58ceee)==_0x4d1ae2['charCodeAt'](_0x58ceee);)_0x58ceee++;_0x219093['push']({'from':_0x573279['from']+_0x58ceee,'to':_0x573279['from']+_0x41a58f['length'],'insert':_0x4d1ae2['slice'](_0x58ceee)});}),{'userEvent':'delete.dedent'})),!0x0),BG=_0x168dcf=>(_0x168dcf['setTabFocusMode'](),!0x0),FG=[{'key':'Ctrl-b','run':KZ,'shift':fG,'preventDefault':!0x0},{'key':'Ctrl-f','run':JZ,'shift':mG},{'key':'Ctrl-p','run':nG,'shift':OG},{'key':'Ctrl-n','run':rG,'shift':wG},{'key':'Ctrl-a','run':_0x6dce63=>qZ(_0x6dce63,_0x341a5f=>oL['cursor'](_0x6dce63['lineBlockAt'](_0x341a5f['head'])['from'],0x1)),'shift':_0x370812=>uG(_0x370812,_0x3f1543=>oL['cursor'](_0x370812['lineBlockAt'](_0x3f1543['head'])['from']))},{'key':'Ctrl-e','run':_0x525fe5=>qZ(_0x525fe5,_0x4915d6=>oL['cursor'](_0x525fe5['lineBlockAt'](_0x4915d6['head'])['to'],-0x1)),'shift':_0x396ba3=>uG(_0x396ba3,_0x418d63=>oL['cursor'](_0x396ba3['lineBlockAt'](_0x418d63['head'])['to']))},{'key':'Ctrl-d','run':CG},{'key':'Ctrl-h','run':xG},{'key':'Ctrl-k','run':_0x107b98=>SG(_0x107b98,_0x7ca0ae=>{let _0x1afc76=_0x107b98['lineBlockAt'](_0x7ca0ae['head'])['to'];return _0x7ca0ae['head']<_0x1afc76?_0x1afc76:Math['min'](_0x107b98['state']['doc']['length'],_0x7ca0ae['head']+0x1);})},{'key':'Ctrl-Alt-h','run':PG},{'key':'Ctrl-o','run':({state:_0x12f77d,dispatch:_0x5ae47c})=>{if(_0x12f77d['readOnly'])return!0x1;let _0x39447c=_0x12f77d['changeByRange'](_0x6f8ca2=>({'changes':{'from':_0x6f8ca2['from'],'to':_0x6f8ca2['to'],'insert':LN['of'](['',''])},'range':oL['cursor'](_0x6f8ca2['from'])}));return _0x5ae47c(_0x12f77d['update'](_0x39447c,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;}},{'key':'Ctrl-t','run':({state:_0x226ea6,dispatch:_0x3d7e9c})=>{if(_0x226ea6['readOnly'])return!0x1;let _0x4b0446=_0x226ea6['changeByRange'](_0x3aa269=>{if(!_0x3aa269['empty']||0x0==_0x3aa269['from']||_0x3aa269['from']==_0x226ea6['doc']['length'])return{'range':_0x3aa269};let _0x4525aa=_0x3aa269['from'],_0x4bb440=_0x226ea6['doc']['lineAt'](_0x4525aa),_0x566679=_0x4525aa==_0x4bb440['from']?_0x4525aa-0x1:ZN(_0x4bb440['text'],_0x4525aa-_0x4bb440['from'],!0x1)+_0x4bb440['from'],_0x70c16b=_0x4525aa==_0x4bb440['to']?_0x4525aa+0x1:ZN(_0x4bb440['text'],_0x4525aa-_0x4bb440['from'],!0x0)+_0x4bb440['from'];return{'changes':{'from':_0x566679,'to':_0x70c16b,'insert':_0x226ea6['doc']['slice'](_0x4525aa,_0x70c16b)['append'](_0x226ea6['doc']['slice'](_0x566679,_0x4525aa))},'range':oL['cursor'](_0x70c16b)};});return!_0x4b0446['changes']['empty']&&(_0x3d7e9c(_0x226ea6['update'](_0x4b0446,{'scrollIntoView':!0x0,'userEvent':'move.character'})),!0x0);}},{'key':'Ctrl-v','run':lG}],HG=[{'key':'ArrowLeft','run':KZ,'shift':fG,'preventDefault':!0x0},{'key':'Mod-ArrowLeft','mac':'Alt-ArrowLeft','run':_0x92ab30=>tG(_0x92ab30,!YZ(_0x92ab30)),'shift':_0x2d637c=>pG(_0x2d637c,!YZ(_0x2d637c)),'preventDefault':!0x0},{'mac':'Cmd-ArrowLeft','run':_0x11ed35=>qZ(_0x11ed35,_0x54209f=>hG(_0x11ed35,_0x54209f,!YZ(_0x11ed35))),'shift':_0x455543=>uG(_0x455543,_0x656129=>hG(_0x455543,_0x656129,!YZ(_0x455543))),'preventDefault':!0x0},{'key':'ArrowRight','run':JZ,'shift':mG,'preventDefault':!0x0},{'key':'Mod-ArrowRight','mac':'Alt-ArrowRight','run':_0x1c6403=>tG(_0x1c6403,YZ(_0x1c6403)),'shift':_0x566d33=>pG(_0x566d33,YZ(_0x566d33)),'preventDefault':!0x0},{'mac':'Cmd-ArrowRight','run':_0xba9d91=>qZ(_0xba9d91,_0x463d69=>hG(_0xba9d91,_0x463d69,YZ(_0xba9d91))),'shift':_0x481004=>uG(_0x481004,_0x27646c=>hG(_0x481004,_0x27646c,YZ(_0x481004))),'preventDefault':!0x0},{'key':'ArrowUp','run':nG,'shift':OG,'preventDefault':!0x0},{'mac':'Cmd-ArrowUp','run':_G,'shift':TG},{'mac':'Ctrl-ArrowUp','run':cG,'shift':yG},{'key':'ArrowDown','run':rG,'shift':wG,'preventDefault':!0x0},{'mac':'Cmd-ArrowDown','run':EG,'shift':AG},{'mac':'Ctrl-ArrowDown','run':lG,'shift':vG},{'key':'PageUp','run':cG,'shift':yG},{'key':'PageDown','run':lG,'shift':vG},{'key':'Home','run':_0x3276f8=>qZ(_0x3276f8,_0x2512ea=>hG(_0x3276f8,_0x2512ea,!0x1)),'shift':_0x2a4e8f=>uG(_0x2a4e8f,_0x3ef00d=>hG(_0x2a4e8f,_0x3ef00d,!0x1)),'preventDefault':!0x0},{'key':'Mod-Home','run':_G,'shift':TG},{'key':'End','run':_0x3c53e3=>qZ(_0x3c53e3,_0x4910aa=>hG(_0x3c53e3,_0x4910aa,!0x0)),'shift':_0x2b9063=>uG(_0x2b9063,_0x4dcc94=>hG(_0x2b9063,_0x4dcc94,!0x0)),'preventDefault':!0x0},{'key':'Mod-End','run':EG,'shift':AG},{'key':'Enter','run':$G,'shift':$G},{'key':'Mod-a','run':({state:_0x3fbf7d,dispatch:_0x160cc6})=>(_0x160cc6(_0x3fbf7d['update']({'selection':{'anchor':0x0,'head':_0x3fbf7d['doc']['length']},'userEvent':'select'})),!0x0)},{'key':'Backspace','run':xG,'shift':xG},{'key':'Delete','run':CG},{'key':'Mod-Backspace','mac':'Alt-Backspace','run':PG},{'key':'Mod-Delete','mac':'Alt-Delete','run':_0x5bafc6=>RG(_0x5bafc6,!0x0)},{'mac':'Mod-Backspace','run':_0x217f1a=>SG(_0x217f1a,_0x362810=>{let _0x59b33d=_0x217f1a['moveToLineBoundary'](_0x362810,!0x1)['head'];return _0x362810['head']>_0x59b33d?_0x59b33d:Math['max'](0x0,_0x362810['head']-0x1);})},{'mac':'Mod-Delete','run':_0x83198a=>SG(_0x83198a,_0x38872e=>{let _0x3e2370=_0x83198a['moveToLineBoundary'](_0x38872e,!0x0)['head'];return _0x38872e['head']<_0x3e2370?_0x3e2370:Math['min'](_0x83198a['state']['doc']['length'],_0x38872e['head']+0x1);})}]['concat'](FG['map'](_0x3dbb51=>({'mac':_0x3dbb51['key'],'run':_0x3dbb51['run'],'shift':_0x3dbb51['shift']}))),ZG=[{'key':'Alt-ArrowLeft','mac':'Ctrl-ArrowLeft','run':_0x2941d0=>qZ(_0x2941d0,_0x3b2cad=>iG(_0x2941d0['state'],_0x3b2cad,!YZ(_0x2941d0))),'shift':_0x1a0cf4=>uG(_0x1a0cf4,_0x2b9f55=>iG(_0x1a0cf4['state'],_0x2b9f55,!YZ(_0x1a0cf4)))},{'key':'Alt-ArrowRight','mac':'Ctrl-ArrowRight','run':_0x530a4b=>qZ(_0x530a4b,_0x46557b=>iG(_0x530a4b['state'],_0x46557b,YZ(_0x530a4b))),'shift':_0x1a20f3=>uG(_0x1a20f3,_0xb9627b=>iG(_0x1a20f3['state'],_0xb9627b,YZ(_0x1a20f3)))},{'key':'Alt-ArrowUp','run':({state:_0x4503b6,dispatch:_0x6c5f6d})=>NG(_0x4503b6,_0x6c5f6d,!0x1)},{'key':'Shift-Alt-ArrowUp','run':({state:_0x42129b,dispatch:_0x4199d6})=>LG(_0x42129b,_0x4199d6,!0x1)},{'key':'Alt-ArrowDown','run':({state:_0x39f494,dispatch:_0x59873d})=>NG(_0x39f494,_0x59873d,!0x0)},{'key':'Shift-Alt-ArrowDown','run':({state:_0x290e31,dispatch:_0x51fc53})=>LG(_0x290e31,_0x51fc53,!0x0)},{'key':'Escape','run':({state:_0xaed085,dispatch:_0x1eb964})=>{let _0x129e01=_0xaed085['selection'],_0x56cc9c=null;return _0x129e01['ranges']['length']>0x1?_0x56cc9c=oL['create']([_0x129e01['main']]):_0x129e01['main']['empty']||(_0x56cc9c=oL['create']([oL['cursor'](_0x129e01['main']['head'])])),!!_0x56cc9c&&(_0x1eb964(XZ(_0xaed085,_0x56cc9c)),!0x0);}},{'key':'Mod-Enter','run':DG},{'key':'Alt-l','mac':'Ctrl-l','run':({state:_0x27906e,dispatch:_0x3783fd})=>{let _0x267ff3=MG(_0x27906e)['map'](({from:_0x2eac61,to:_0xbfd914})=>oL['range'](_0x2eac61,Math['min'](_0xbfd914+0x1,_0x27906e['doc']['length'])));return _0x3783fd(_0x27906e['update']({'selection':oL['create'](_0x267ff3),'userEvent':'select'})),!0x0;}},{'key':'Mod-i','run':({state:_0x3adcf0,dispatch:_0xc39673})=>{let _0x52c886=GZ(_0x3adcf0['selection'],_0x140775=>{let _0x32217f=UF(_0x3adcf0),_0x2c1286=_0x32217f['resolveStack'](_0x140775['from'],0x1);if(_0x140775['empty']){let _0x5b5bfa=_0x32217f['resolveStack'](_0x140775['from'],-0x1);_0x5b5bfa['node']['from']>=_0x2c1286['node']['from']&&_0x5b5bfa['node']['to']<=_0x2c1286['node']['to']&&(_0x2c1286=_0x5b5bfa);}for(let _0x487b66=_0x2c1286;_0x487b66;_0x487b66=_0x487b66['next']){let {node:_0x28befd}=_0x487b66;if((_0x28befd['from']<_0x140775['from']&&_0x28befd['to']>=_0x140775['to']||_0x28befd['to']>_0x140775['to']&&_0x28befd['from']<=_0x140775['from'])&&_0x487b66['next'])return oL['range'](_0x28befd['to'],_0x28befd['from']);}return _0x140775;});return!_0x52c886['eq'](_0x3adcf0['selection'])&&(_0xc39673(XZ(_0x3adcf0,_0x52c886)),!0x0);},'preventDefault':!0x0},{'key':'Mod-[','run':VG},{'key':'Mod-]','run':UG},{'key':'Mod-Alt-\x5c','run':({state:_0x48e5b1,dispatch:_0x17c138})=>{if(_0x48e5b1['readOnly'])return!0x1;let _0x3e19dd=Object['create'](null),_0x3f54d8=new sH(_0x48e5b1,{'overrideIndentation':_0x33e1f5=>{let _0xb2144c=_0x3e19dd[_0x33e1f5];return null==_0xb2144c?-0x1:_0xb2144c;}}),_0x463bed=jG(_0x48e5b1,(_0xbd001,_0x4c0547,_0x51c77b)=>{let _0x25a2a8=iH(_0x3f54d8,_0xbd001['from']);if(null==_0x25a2a8)return;/\S/['test'](_0xbd001['text'])||(_0x25a2a8=0x0);let _0x6628c0=/^\s*/['exec'](_0xbd001['text'])[0x0],_0x3c04e4=eH(_0x48e5b1,_0x25a2a8);(_0x6628c0!=_0x3c04e4||_0x51c77b['from']<_0xbd001['from']+_0x6628c0['length'])&&(_0x3e19dd[_0xbd001['from']]=_0x25a2a8,_0x4c0547['push']({'from':_0xbd001['from'],'to':_0xbd001['from']+_0x6628c0['length'],'insert':_0x3c04e4}));});return _0x463bed['changes']['empty']||_0x17c138(_0x48e5b1['update'](_0x463bed,{'userEvent':'indent'})),!0x0;}},{'key':'Shift-Mod-k','run':_0x2ed501=>{if(_0x2ed501['state']['readOnly'])return!0x1;let {state:_0x4bc9ff}=_0x2ed501,_0x512be9=_0x4bc9ff['changes'](MG(_0x4bc9ff)['map'](({from:_0x55017c,to:_0x515774})=>(_0x55017c>0x0?_0x55017c--:_0x515774<_0x4bc9ff['doc']['length']&&_0x515774++,{'from':_0x55017c,'to':_0x515774}))),_0x5e505b=GZ(_0x4bc9ff['selection'],_0x1c257a=>{let _0x587572;if(_0x2ed501['lineWrapping']){let _0x47f203=_0x2ed501['lineBlockAt'](_0x1c257a['head']),_0x3dcda6=_0x2ed501['coordsAtPos'](_0x1c257a['head'],_0x1c257a['assoc']||0x1);_0x3dcda6&&(_0x587572=_0x47f203['bottom']+_0x2ed501['documentTop']-_0x3dcda6['bottom']+_0x2ed501['defaultLineHeight']/0x2);}return _0x2ed501['moveVertically'](_0x1c257a,!0x0,_0x587572);})['map'](_0x512be9);return _0x2ed501['dispatch']({'changes':_0x512be9,'selection':_0x5e505b,'scrollIntoView':!0x0,'userEvent':'delete.line'}),!0x0;}},{'key':'Shift-Mod-\x5c','run':({state:_0x46721c,dispatch:_0x734208})=>function(_0x5a1b40,_0xb912f,_0x2838c8){let _0xaeef00=!0x1,_0x3ef527=GZ(_0x5a1b40['selection'],_0x42ddde=>{let _0x278b03=oZ(_0x5a1b40,_0x42ddde['head'],-0x1)||oZ(_0x5a1b40,_0x42ddde['head'],0x1)||_0x42ddde['head']>0x0&&oZ(_0x5a1b40,_0x42ddde['head']-0x1,0x1)||_0x42ddde['head']<_0x5a1b40['doc']['length']&&oZ(_0x5a1b40,_0x42ddde['head']+0x1,-0x1);if(!_0x278b03||!_0x278b03['end'])return _0x42ddde;_0xaeef00=!0x0;let _0x4d2822=_0x278b03['start']['from']==_0x42ddde['head']?_0x278b03['end']['to']:_0x278b03['end']['from'];return _0x2838c8?oL['range'](_0x42ddde['anchor'],_0x4d2822):oL['cursor'](_0x4d2822);});return!!_0xaeef00&&(_0xb912f(XZ(_0x5a1b40,_0x3ef527)),!0x0);}(_0x46721c,_0x734208,!0x1)},{'key':'Mod-/','run':_0x44b078=>{let {state:_0x2ae1f2}=_0x44b078,_0x387850=_0x2ae1f2['doc']['lineAt'](_0x2ae1f2['selection']['main']['from']),_0x1ae511=bZ(_0x44b078['state'],_0x387850['from']);return _0x1ae511['line']?gZ(_0x44b078):!!_0x1ae511['block']&&wZ(_0x44b078);}},{'key':'Alt-A','run':OZ},{'key':'Ctrl-m','mac':'Shift-Alt-m','run':BG}]['concat'](HG);var GG=class{constructor(_0x576fea,_0x3512f4,_0x4d349a,_0x2f2d9e){this['state']=_0x576fea,this['pos']=_0x3512f4,this['explicit']=_0x4d349a,this['view']=_0x2f2d9e,this['abortListeners']=[],this['abortOnDocChange']=!0x1;}['tokenBefore'](_0xb0f2e){let _0x54e376=UF(this['state'])['resolveInner'](this['pos'],-0x1);for(;_0x54e376&&_0xb0f2e['indexOf'](_0x54e376['name'])<0x0;)_0x54e376=_0x54e376['parent'];return _0x54e376?{'from':_0x54e376['from'],'to':this['pos'],'text':this['state']['sliceDoc'](_0x54e376['from'],this['pos']),'type':_0x54e376['type']}:null;}['matchBefore'](_0x1d36bb){let _0x1b555a=this['state']['doc']['lineAt'](this['pos']),_0x1f581f=Math['max'](_0x1b555a['from'],this['pos']-0xfa),_0x2dba6a=_0x1b555a['text']['slice'](_0x1f581f-_0x1b555a['from'],this['pos']-_0x1b555a['from']),_0x3e6c0a=_0x2dba6a['search'](YG(_0x1d36bb,!0x1));return _0x3e6c0a<0x0?null:{'from':_0x1f581f+_0x3e6c0a,'to':this['pos'],'text':_0x2dba6a['slice'](_0x3e6c0a)};}get['aborted'](){return null==this['abortListeners'];}['addEventListener'](_0x59a7b5,_0x28792d,_0x3e4036){'abort'==_0x59a7b5&&this['abortListeners']&&(this['abortListeners']['push'](_0x28792d),_0x3e4036&&_0x3e4036['onDocChange']&&(this['abortOnDocChange']=!0x0));}};function XG(_0x14d8b7){let _0x340701=Object['keys'](_0x14d8b7)['join'](''),_0x20bdc9=/\w/['test'](_0x340701);return _0x20bdc9&&(_0x340701=_0x340701['replace'](/\w/g,'')),'['+(_0x20bdc9?'\x5cw':'')+_0x340701['replace'](/[^\w\s]/g,'\x5c$&')+']';}function qG(_0x4989b3){let _0x2c9456=_0x4989b3['map'](_0x101f0a=>'string'==typeof _0x101f0a?{'label':_0x101f0a}:_0x101f0a),[_0x513337,_0x5d10a9]=_0x2c9456['every'](_0x1489a3=>/^\w+$/['test'](_0x1489a3['label']))?[/\w*$/,/\w+$/]:function(_0x3cc644){let _0x47f78c=Object['create'](null),_0x37e8a3=Object['create'](null);for(let {label:_0x1fadeb}of _0x3cc644){_0x47f78c[_0x1fadeb[0x0]]=!0x0;for(let _0x41e7d4=0x1;_0x41e7d4<_0x1fadeb['length'];_0x41e7d4++)_0x37e8a3[_0x1fadeb[_0x41e7d4]]=!0x0;}let _0xc231a3=XG(_0x47f78c)+XG(_0x37e8a3)+'*$';return[new RegExp('^'+_0xc231a3),new RegExp(_0xc231a3)];}(_0x2c9456);return _0x3f37fe=>{let _0x242245=_0x3f37fe['matchBefore'](_0x5d10a9);return _0x242245||_0x3f37fe['explicit']?{'from':_0x242245?_0x242245['from']:_0x3f37fe['pos'],'options':_0x2c9456,'validFor':_0x513337}:null;};}var WG=class{constructor(_0x6cb658,_0x3487a5,_0x2433e9,_0x34b9c6){this['completion']=_0x6cb658,this['source']=_0x3487a5,this['match']=_0x2433e9,this['score']=_0x34b9c6;}};function zG(_0x333734){return _0x333734['selection']['main']['from'];}function YG(_0xf70daf,_0x2ad217){var _0x1666b8;let {source:_0x43d605}=_0xf70daf,_0x31b62e=_0x2ad217&&'^'!=_0x43d605[0x0],_0x3c8c30='$'!=_0x43d605[_0x43d605['length']-0x1];return _0x31b62e||_0x3c8c30?new RegExp((_0x31b62e?'^':'')+'(?:'+_0x43d605+')'+(_0x3c8c30?'$':''),null!==(_0x1666b8=_0xf70daf['flags'])&&void 0x0!==_0x1666b8?_0x1666b8:_0xf70daf['ignoreCase']?'i':''):_0xf70daf;}const KG=$L['define']();function JG(_0x1c1d5c,_0x3f1a9a,_0xa5ba62,_0xf1a34b){let {main:_0xc4265f}=_0x1c1d5c['selection'],_0x131c89=_0xa5ba62-_0xc4265f['from'],_0x354957=_0xf1a34b-_0xc4265f['from'];return{..._0x1c1d5c['changeByRange'](_0x1a36b8=>{if(_0x1a36b8!=_0xc4265f&&_0xa5ba62!=_0xf1a34b&&_0x1c1d5c['sliceDoc'](_0x1a36b8['from']+_0x131c89,_0x1a36b8['from']+_0x354957)!=_0x1c1d5c['sliceDoc'](_0xa5ba62,_0xf1a34b))return{'range':_0x1a36b8};let _0x1937eb=_0x1c1d5c['toText'](_0x3f1a9a);return{'changes':{'from':_0x1a36b8['from']+_0x131c89,'to':_0xf1a34b==_0xc4265f['from']?_0x1a36b8['to']:_0x1a36b8['from']+_0x354957,'insert':_0x1937eb},'range':oL['cursor'](_0x1a36b8['from']+_0x131c89+_0x1937eb['length'])};}),'scrollIntoView':!0x0,'userEvent':'input.complete'};}const tX=new WeakMap();function eX(_0x1b815b){if(!Array['isArray'](_0x1b815b))return _0x1b815b;let _0x105b56=tX['get'](_0x1b815b);return _0x105b56||tX['set'](_0x1b815b,_0x105b56=qG(_0x1b815b)),_0x105b56;}const iX=jL['define'](),sX=jL['define']();var nX=class{constructor(_0x1350f8){this['pattern']=_0x1350f8,this['chars']=[],this['folded']=[],this['any']=[],this['precise']=[],this['byWord']=[],this['score']=0x0,this['matched']=[];for(let _0x5de01f=0x0;_0x5de01f<_0x1350f8['length'];){let _0x3bd3a9=GN(_0x1350f8,_0x5de01f),_0x24406f=qN(_0x3bd3a9);this['chars']['push'](_0x3bd3a9);let _0x52b031=_0x1350f8['slice'](_0x5de01f,_0x5de01f+_0x24406f),_0x2680aa=_0x52b031['toUpperCase']();this['folded']['push'](GN(_0x2680aa==_0x52b031?_0x52b031['toLowerCase']():_0x2680aa,0x0)),_0x5de01f+=_0x24406f;}this['astral']=_0x1350f8['length']!=this['chars']['length'];}['ret'](_0xc72bd7,_0x741ffd){return this['score']=_0xc72bd7,this['matched']=_0x741ffd,this;}['match'](_0xc011e5){if(0x0==this['pattern']['length'])return this['ret'](-0x64,[]);if(_0xc011e5['length']<this['pattern']['length'])return null;let {chars:_0x1bedde,folded:_0x4ef44f,any:_0xe102b4,precise:_0x26d435,byWord:_0x4cd8dc}=this;if(0x1==_0x1bedde['length']){let _0x56f7e0=GN(_0xc011e5,0x0),_0xfb575d=qN(_0x56f7e0),_0x5947ec=_0xfb575d==_0xc011e5['length']?0x0:-0x64;if(_0x56f7e0==_0x1bedde[0x0]);else{if(_0x56f7e0!=_0x4ef44f[0x0])return null;_0x5947ec+=-0xc8;}return this['ret'](_0x5947ec,[0x0,_0xfb575d]);}let _0x52ad46=_0xc011e5['indexOf'](this['pattern']);if(0x0==_0x52ad46)return this['ret'](_0xc011e5['length']==this['pattern']['length']?0x0:-0x64,[0x0,this['pattern']['length']]);let _0x35fb4d=_0x1bedde['length'],_0x1aff74=0x0;if(_0x52ad46<0x0){for(let _0x2d2345=0x0,_0x15d888=Math['min'](_0xc011e5['length'],0xc8);_0x2d2345<_0x15d888&&_0x1aff74<_0x35fb4d;){let _0x437b6d=GN(_0xc011e5,_0x2d2345);_0x437b6d!=_0x1bedde[_0x1aff74]&&_0x437b6d!=_0x4ef44f[_0x1aff74]||(_0xe102b4[_0x1aff74++]=_0x2d2345),_0x2d2345+=qN(_0x437b6d);}if(_0x1aff74<_0x35fb4d)return null;}let _0x197656=0x0,_0x5ea973=0x0,_0x204dad=!0x1,_0x24a0b0=0x0,_0x164139=-0x1,_0x5877f9=-0x1,_0x25bfa5=/[a-z]/['test'](_0xc011e5),_0xc63592=!0x0;for(let _0x4899a8=0x0,_0x2e7024=Math['min'](_0xc011e5['length'],0xc8),_0x44de5f=0x0;_0x4899a8<_0x2e7024&&_0x5ea973<_0x35fb4d;){let _0x333d8e=GN(_0xc011e5,_0x4899a8);_0x52ad46<0x0&&(_0x197656<_0x35fb4d&&_0x333d8e==_0x1bedde[_0x197656]&&(_0x26d435[_0x197656++]=_0x4899a8),_0x24a0b0<_0x35fb4d&&(_0x333d8e==_0x1bedde[_0x24a0b0]||_0x333d8e==_0x4ef44f[_0x24a0b0]?(0x0==_0x24a0b0&&(_0x164139=_0x4899a8),_0x5877f9=_0x4899a8+0x1,_0x24a0b0++):_0x24a0b0=0x0));let _0x4c0d70,_0xeb49ba=_0x333d8e<0xff?_0x333d8e>=0x30&&_0x333d8e<=0x39||_0x333d8e>=0x61&&_0x333d8e<=0x7a?0x2:_0x333d8e>=0x41&&_0x333d8e<=0x5a?0x1:0x0:(_0x4c0d70=XN(_0x333d8e))!=_0x4c0d70['toLowerCase']()?0x1:_0x4c0d70!=_0x4c0d70['toUpperCase']()?0x2:0x0;(!_0x4899a8||0x1==_0xeb49ba&&_0x25bfa5||0x0==_0x44de5f&&0x0!=_0xeb49ba)&&(_0x1bedde[_0x5ea973]==_0x333d8e||_0x4ef44f[_0x5ea973]==_0x333d8e&&(_0x204dad=!0x0)?_0x4cd8dc[_0x5ea973++]=_0x4899a8:_0x4cd8dc['length']&&(_0xc63592=!0x1)),_0x44de5f=_0xeb49ba,_0x4899a8+=qN(_0x333d8e);}return _0x5ea973==_0x35fb4d&&0x0==_0x4cd8dc[0x0]&&_0xc63592?this['result']((_0x204dad?-0xc8:0x0)-0x64,_0x4cd8dc,_0xc011e5):_0x24a0b0==_0x35fb4d&&0x0==_0x164139?this['ret'](-0xc8-_0xc011e5['length']+(_0x5877f9==_0xc011e5['length']?0x0:-0x64),[0x0,_0x5877f9]):_0x52ad46>-0x1?this['ret'](-0x2bc-_0xc011e5['length'],[_0x52ad46,_0x52ad46+this['pattern']['length']]):_0x24a0b0==_0x35fb4d?this['ret'](-0x384-_0xc011e5['length'],[_0x164139,_0x5877f9]):_0x5ea973==_0x35fb4d?this['result']((_0x204dad?-0xc8:0x0)-0x64-0x2bc+(_0xc63592?0x0:-0x44c),_0x4cd8dc,_0xc011e5):0x2==_0x1bedde['length']?null:this['result']((_0xe102b4[0x0]?-0x2bc:0x0)-0xc8-0x44c,_0xe102b4,_0xc011e5);}['result'](_0x636131,_0x5a8bfc,_0x1d7fc4){let _0x75f58d=[],_0x3ccb3d=0x0;for(let _0x53eee3 of _0x5a8bfc){let _0x4ac5f2=_0x53eee3+(this['astral']?qN(GN(_0x1d7fc4,_0x53eee3)):0x1);_0x3ccb3d&&_0x75f58d[_0x3ccb3d-0x1]==_0x53eee3?_0x75f58d[_0x3ccb3d-0x1]=_0x4ac5f2:(_0x75f58d[_0x3ccb3d++]=_0x53eee3,_0x75f58d[_0x3ccb3d++]=_0x4ac5f2);}return this['ret'](_0x636131-_0x1d7fc4['length'],_0x75f58d);}},rX=class{constructor(_0x371ebf){this['pattern']=_0x371ebf,this['matched']=[],this['score']=0x0,this['folded']=_0x371ebf['toLowerCase']();}['match'](_0x3c1d13){if(_0x3c1d13['length']<this['pattern']['length'])return null;let _0x527048=_0x3c1d13['slice'](0x0,this['pattern']['length']),_0x3ec3d6=_0x527048==this['pattern']?0x0:_0x527048['toLowerCase']()==this['folded']?-0xc8:null;return null==_0x3ec3d6?null:(this['matched']=[0x0,_0x527048['length']],this['score']=_0x3ec3d6+(_0x3c1d13['length']==this['pattern']['length']?0x0:-0x64),this);}};const oX=lL['define']({'combine':_0xe1da5e=>KL(_0xe1da5e,{'activateOnTyping':!0x0,'activateOnCompletion':()=>!0x1,'activateOnTypingDelay':0x64,'selectOnOpen':!0x0,'override':null,'closeOnBlur':!0x0,'maxRenderedOptions':0x64,'defaultKeymap':!0x0,'tooltipClass':()=>'','optionClass':()=>'','aboveCursor':!0x1,'icons':!0x0,'addToOptions':[],'positionInfo':cX,'filterStrict':!0x1,'compareCompletions':(_0x2edca0,_0x4cc4c4)=>(_0x2edca0['sortText']||_0x2edca0['label'])['localeCompare'](_0x4cc4c4['sortText']||_0x4cc4c4['label']),'interactionDelay':0x4b,'updateSyncTime':0x64},{'defaultKeymap':(_0x2a3115,_0x41d41e)=>_0x2a3115&&_0x41d41e,'closeOnBlur':(_0x52c450,_0x2090fb)=>_0x52c450&&_0x2090fb,'icons':(_0x1ef2b8,_0x2370bd)=>_0x1ef2b8&&_0x2370bd,'tooltipClass':(_0x3d00a1,_0x314531)=>_0xbe5536=>aX(_0x3d00a1(_0xbe5536),_0x314531(_0xbe5536)),'optionClass':(_0x3a7bf7,_0x9d30f5)=>_0x4814d8=>aX(_0x3a7bf7(_0x4814d8),_0x9d30f5(_0x4814d8)),'addToOptions':(_0x5938ae,_0x3d4a32)=>_0x5938ae['concat'](_0x3d4a32),'filterStrict':(_0x124dc0,_0x1b14f1)=>_0x124dc0||_0x1b14f1})});function aX(_0xad5165,_0xeabf08){return _0xad5165?_0xeabf08?_0xad5165+'\x20'+_0xeabf08:_0xad5165:_0xeabf08;}function cX(_0x332641,_0x2d75bd,_0x14e1d5,_0x33878d,_0x32f904,_0x2292b3){let _0x43b963,_0x1f4258,_0x142b13=_0x332641['textDirection']==AD['RTL'],_0x14569d=_0x142b13,_0x29fe79=!0x1,_0x168c23='top',_0x4c68ef=_0x2d75bd['left']-_0x32f904['left'],_0x262752=_0x32f904['right']-_0x2d75bd['right'],_0x437f67=_0x33878d['right']-_0x33878d['left'],_0x5911d2=_0x33878d['bottom']-_0x33878d['top'];if(_0x14569d&&_0x4c68ef<Math['min'](_0x437f67,_0x262752)?_0x14569d=!0x1:!_0x14569d&&_0x262752<Math['min'](_0x437f67,_0x4c68ef)&&(_0x14569d=!0x0),_0x437f67<=(_0x14569d?_0x4c68ef:_0x262752))_0x43b963=Math['max'](_0x32f904['top'],Math['min'](_0x14e1d5['top'],_0x32f904['bottom']-_0x5911d2))-_0x2d75bd['top'],_0x1f4258=Math['min'](0x190,_0x14569d?_0x4c68ef:_0x262752);else{_0x29fe79=!0x0,_0x1f4258=Math['min'](0x190,(_0x142b13?_0x2d75bd['right']:_0x32f904['right']-_0x2d75bd['left'])-0x1e);let _0x5be10c=_0x32f904['bottom']-_0x2d75bd['bottom'];_0x5be10c>=_0x5911d2||_0x5be10c>_0x2d75bd['top']?_0x43b963=_0x14e1d5['bottom']-_0x2d75bd['top']:(_0x168c23='bottom',_0x43b963=_0x2d75bd['bottom']-_0x14e1d5['top']);}return{'style':_0x168c23+':\x20'+_0x43b963/((_0x2d75bd['bottom']-_0x2d75bd['top'])/_0x2292b3['offsetHeight'])+'px;\x20max-width:\x20'+_0x1f4258/((_0x2d75bd['right']-_0x2d75bd['left'])/_0x2292b3['offsetWidth'])+'px','class':'cm-completionInfo-'+(_0x29fe79?_0x142b13?'left-narrow':'right-narrow':_0x14569d?'left':'right')};}const lX=jL['define']();function hX(_0x41b0bf,_0x3a2d99,_0xbf502){if(_0x41b0bf<=_0xbf502)return{'from':0x0,'to':_0x41b0bf};if(_0x3a2d99<0x0&&(_0x3a2d99=0x0),_0x3a2d99<=_0x41b0bf>>0x1){let _0x12be32=Math['floor'](_0x3a2d99/_0xbf502);return{'from':_0x12be32*_0xbf502,'to':(_0x12be32+0x1)*_0xbf502};}let _0x56d2e0=Math['ceil']((_0x41b0bf-_0x3a2d99)/_0xbf502);return{'from':_0x41b0bf-_0x56d2e0*_0xbf502,'to':_0x41b0bf-(_0x56d2e0-0x1)*_0xbf502};}var uX=class{constructor(_0x150666,_0xb0c89c,_0x47d911){this['view']=_0x150666,this['stateField']=_0xb0c89c,this['applyCompletion']=_0x47d911,this['info']=null,this['infoDestroy']=null,this['placeInfoReq']={'read':()=>this['measureInfo'](),'write':_0x860ced=>this['placeInfo'](_0x860ced),'key':this},this['space']=null,this['currentClass']='';let _0x53109e=_0x150666['state']['field'](_0xb0c89c),{options:_0x4d1786,selected:_0x58d443}=_0x53109e['open'],_0x5f25d2=_0x150666['state']['facet'](oX);this['optionContent']=function(_0x9ccc80){let _0x48a116=_0x9ccc80['addToOptions']['slice']();return _0x9ccc80['icons']&&_0x48a116['push']({'render'(_0x185b83){let _0x496ce3=document['createElement']('div');return _0x496ce3['classList']['add']('cm-completionIcon'),_0x185b83['type']&&_0x496ce3['classList']['add'](..._0x185b83['type']['split'](/\s+/g)['map'](_0x212ad6=>'cm-completionIcon-'+_0x212ad6)),_0x496ce3['setAttribute']('aria-hidden','true'),_0x496ce3;},'position':0x14}),_0x48a116['push']({'render'(_0x5a77ab,_0x43a9eb,_0x1ae0af,_0x1e8651){let _0x8a6556=document['createElement']('span');_0x8a6556['className']='cm-completionLabel';let _0x41098a=_0x5a77ab['displayLabel']||_0x5a77ab['label'],_0x1a825b=0x0;for(let _0x5ef376=0x0;_0x5ef376<_0x1e8651['length'];){let _0x2b8a0d=_0x1e8651[_0x5ef376++],_0x4aae12=_0x1e8651[_0x5ef376++];_0x2b8a0d>_0x1a825b&&_0x8a6556['appendChild'](document['createTextNode'](_0x41098a['slice'](_0x1a825b,_0x2b8a0d)));let _0x31d4d9=_0x8a6556['appendChild'](document['createElement']('span'));_0x31d4d9['appendChild'](document['createTextNode'](_0x41098a['slice'](_0x2b8a0d,_0x4aae12))),_0x31d4d9['className']='cm-completionMatchedText',_0x1a825b=_0x4aae12;}return _0x1a825b<_0x41098a['length']&&_0x8a6556['appendChild'](document['createTextNode'](_0x41098a['slice'](_0x1a825b))),_0x8a6556;},'position':0x32},{'render'(_0x15dd9b){if(!_0x15dd9b['detail'])return null;let _0x10c668=document['createElement']('span');return _0x10c668['className']='cm-completionDetail',_0x10c668['textContent']=_0x15dd9b['detail'],_0x10c668;},'position':0x50}),_0x48a116['sort']((_0x533387,_0x3a79b6)=>_0x533387['position']-_0x3a79b6['position'])['map'](_0x67289b=>_0x67289b['render']);}(_0x5f25d2),this['optionClass']=_0x5f25d2['optionClass'],this['tooltipClass']=_0x5f25d2['tooltipClass'],this['range']=hX(_0x4d1786['length'],_0x58d443,_0x5f25d2['maxRenderedOptions']),this['dom']=document['createElement']('div'),this['dom']['className']='cm-tooltip-autocomplete',this['updateTooltipClass'](_0x150666['state']),this['dom']['addEventListener']('mousedown',_0x465dd7=>{let {options:_0x45d190}=_0x150666['state']['field'](_0xb0c89c)['open'];for(let _0x3d871a,_0x4dc93e=_0x465dd7['target'];_0x4dc93e&&_0x4dc93e!=this['dom'];_0x4dc93e=_0x4dc93e['parentNode'])if('LI'==_0x4dc93e['nodeName']&&(_0x3d871a=/-(\d+)$/['exec'](_0x4dc93e['id']))&&+_0x3d871a[0x1]<_0x45d190['length'])return this['applyCompletion'](_0x150666,_0x45d190[+_0x3d871a[0x1]]),void _0x465dd7['preventDefault']();if(_0x465dd7['target']==this['list']){let _0x5d54bd=this['list']['classList']['contains']('cm-completionListIncompleteTop')&&_0x465dd7['clientY']<this['list']['firstChild']['getBoundingClientRect']()['top']?this['range']['from']-0x1:this['list']['classList']['contains']('cm-completionListIncompleteBottom')&&_0x465dd7['clientY']>this['list']['lastChild']['getBoundingClientRect']()['bottom']?this['range']['to']:null;null!=_0x5d54bd&&(_0x150666['dispatch']({'effects':lX['of'](_0x5d54bd)}),_0x465dd7['preventDefault']());}}),this['dom']['addEventListener']('focusout',_0x2f8def=>{let _0x159836=_0x150666['state']['field'](this['stateField'],!0x1);_0x159836&&_0x159836['tooltip']&&_0x150666['state']['facet'](oX)['closeOnBlur']&&_0x2f8def['relatedTarget']!=_0x150666['contentDOM']&&_0x150666['dispatch']({'effects':sX['of'](null)});}),this['showOptions'](_0x4d1786,_0x53109e['id']);}['mount'](){this['updateSel']();}['showOptions'](_0x432e4b,_0x2379d4){this['list']&&this['list']['remove'](),this['list']=this['dom']['appendChild'](this['createListBox'](_0x432e4b,_0x2379d4,this['range'])),this['list']['addEventListener']('scroll',()=>{this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);});}['update'](_0x2819ac){var _0x4add47;let _0x52f801=_0x2819ac['state']['field'](this['stateField']),_0x446b54=_0x2819ac['startState']['field'](this['stateField']);if(this['updateTooltipClass'](_0x2819ac['state']),_0x52f801!=_0x446b54){let {options:_0x1bb0fa,selected:_0x53b6dc,disabled:_0x351fcd}=_0x52f801['open'];_0x446b54['open']&&_0x446b54['open']['options']==_0x1bb0fa||(this['range']=hX(_0x1bb0fa['length'],_0x53b6dc,_0x2819ac['state']['facet'](oX)['maxRenderedOptions']),this['showOptions'](_0x1bb0fa,_0x52f801['id'])),this['updateSel'](),_0x351fcd!=(null===(_0x4add47=_0x446b54['open'])||void 0x0===_0x4add47?void 0x0:_0x4add47['disabled'])&&this['dom']['classList']['toggle']('cm-tooltip-autocomplete-disabled',!!_0x351fcd);}}['updateTooltipClass'](_0xde059f){let _0xc9551d=this['tooltipClass'](_0xde059f);if(_0xc9551d!=this['currentClass']){for(let _0x4b3e77 of this['currentClass']['split']('\x20'))_0x4b3e77&&this['dom']['classList']['remove'](_0x4b3e77);for(let _0x131421 of _0xc9551d['split']('\x20'))_0x131421&&this['dom']['classList']['add'](_0x131421);this['currentClass']=_0xc9551d;}}['positioned'](_0xbdc5d6){this['space']=_0xbdc5d6,this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);}['updateSel'](){let _0x11e5d7=this['view']['state']['field'](this['stateField']),_0x7948b=_0x11e5d7['open'];(_0x7948b['selected']>-0x1&&_0x7948b['selected']<this['range']['from']||_0x7948b['selected']>=this['range']['to'])&&(this['range']=hX(_0x7948b['options']['length'],_0x7948b['selected'],this['view']['state']['facet'](oX)['maxRenderedOptions']),this['showOptions'](_0x7948b['options'],_0x11e5d7['id']));let _0x9971ea=this['updateSelectedOption'](_0x7948b['selected']);if(_0x9971ea){this['destroyInfo']();let {completion:_0x4d2cb6}=_0x7948b['options'][_0x7948b['selected']],{info:_0xe2c478}=_0x4d2cb6;if(!_0xe2c478)return;let _0x5698e3='string'==typeof _0xe2c478?document['createTextNode'](_0xe2c478):_0xe2c478(_0x4d2cb6);if(!_0x5698e3)return;'then'in _0x5698e3?_0x5698e3['then'](_0x2224d6=>{_0x2224d6&&this['view']['state']['field'](this['stateField'],!0x1)==_0x11e5d7&&this['addInfoPane'](_0x2224d6,_0x4d2cb6);})['catch'](_0x4b7c52=>rQ(this['view']['state'],_0x4b7c52,'completion\x20info')):(this['addInfoPane'](_0x5698e3,_0x4d2cb6),_0x9971ea['setAttribute']('aria-describedby',this['info']['id']));}}['addInfoPane'](_0x1aca98,_0x2bd7fa){this['destroyInfo']();let _0x503961=this['info']=document['createElement']('div');if(_0x503961['className']='cm-tooltip\x20cm-completionInfo',_0x503961['id']='cm-completionInfo-'+Math['floor'](0xffff*Math['random']())['toString'](0x10),null!=_0x1aca98['nodeType'])_0x503961['appendChild'](_0x1aca98),this['infoDestroy']=null;else{let {dom:_0x13825f,destroy:_0x554957}=_0x1aca98;_0x503961['appendChild'](_0x13825f),this['infoDestroy']=_0x554957||null;}this['dom']['appendChild'](_0x503961),this['view']['requestMeasure'](this['placeInfoReq']);}['updateSelectedOption'](_0x22b00b){let _0x34ceba=null;for(let _0x3e6a16=this['list']['firstChild'],_0xbb33c2=this['range']['from'];_0x3e6a16;_0x3e6a16=_0x3e6a16['nextSibling'],_0xbb33c2++)'LI'==_0x3e6a16['nodeName']&&_0x3e6a16['id']?_0xbb33c2==_0x22b00b?_0x3e6a16['hasAttribute']('aria-selected')||(_0x3e6a16['setAttribute']('aria-selected','true'),_0x34ceba=_0x3e6a16):_0x3e6a16['hasAttribute']('aria-selected')&&(_0x3e6a16['removeAttribute']('aria-selected'),_0x3e6a16['removeAttribute']('aria-describedby')):_0xbb33c2--;return _0x34ceba&&function(_0x571820,_0x41a296){let _0x2d75a7=_0x571820['getBoundingClientRect'](),_0x31fdef=_0x41a296['getBoundingClientRect'](),_0x32c692=_0x2d75a7['height']/_0x571820['offsetHeight'];_0x31fdef['top']<_0x2d75a7['top']?_0x571820['scrollTop']-=(_0x2d75a7['top']-_0x31fdef['top'])/_0x32c692:_0x31fdef['bottom']>_0x2d75a7['bottom']&&(_0x571820['scrollTop']+=(_0x31fdef['bottom']-_0x2d75a7['bottom'])/_0x32c692);}(this['list'],_0x34ceba),_0x34ceba;}['measureInfo'](){let _0x189092=this['dom']['querySelector']('[aria-selected]');if(!_0x189092||!this['info'])return null;let _0x4c439a=this['dom']['getBoundingClientRect'](),_0x1af099=this['info']['getBoundingClientRect'](),_0x595c21=_0x189092['getBoundingClientRect'](),_0xad05cd=this['space'];if(!_0xad05cd){let _0x35f0e9=this['dom']['ownerDocument']['documentElement'];_0xad05cd={'left':0x0,'top':0x0,'right':_0x35f0e9['clientWidth'],'bottom':_0x35f0e9['clientHeight']};}return _0x595c21['top']>Math['min'](_0xad05cd['bottom'],_0x4c439a['bottom'])-0xa||_0x595c21['bottom']<Math['max'](_0xad05cd['top'],_0x4c439a['top'])+0xa?null:this['view']['state']['facet'](oX)['positionInfo'](this['view'],_0x4c439a,_0x595c21,_0x1af099,_0xad05cd,this['dom']);}['placeInfo'](_0x19a712){this['info']&&(_0x19a712?(_0x19a712['style']&&(this['info']['style']['cssText']=_0x19a712['style']),this['info']['className']='cm-tooltip\x20cm-completionInfo\x20'+(_0x19a712['class']||'')):this['info']['style']['cssText']='top:\x20-1e6px');}['createListBox'](_0x13dc78,_0x15ac4e,_0x5021ba){const _0x494b4e=document['createElement']('ul');_0x494b4e['id']=_0x15ac4e,_0x494b4e['setAttribute']('role','listbox'),_0x494b4e['setAttribute']('aria-expanded','true'),_0x494b4e['setAttribute']('aria-label',this['view']['state']['phrase']('Completions')),_0x494b4e['addEventListener']('mousedown',_0x13b01a=>{_0x13b01a['target']==_0x494b4e&&_0x13b01a['preventDefault']();});let _0x36039f=null;for(let _0x32d325=_0x5021ba['from'];_0x32d325<_0x5021ba['to'];_0x32d325++){let {completion:_0x5dba22,match:_0x330d58}=_0x13dc78[_0x32d325],{section:_0x40007b}=_0x5dba22;if(_0x40007b){let _0x4a44f6='string'==typeof _0x40007b?_0x40007b:_0x40007b['name'];if(_0x4a44f6!=_0x36039f&&(_0x32d325>_0x5021ba['from']||0x0==_0x5021ba['from'])){if(_0x36039f=_0x4a44f6,'string'!=typeof _0x40007b&&_0x40007b['header'])_0x494b4e['appendChild'](_0x40007b['header'](_0x40007b));else _0x494b4e['appendChild'](document['createElement']('completion-section'))['textContent']=_0x4a44f6;}}const _0x4895d9=_0x494b4e['appendChild'](document['createElement']('li'));_0x4895d9['id']=_0x15ac4e+'-'+_0x32d325,_0x4895d9['setAttribute']('role','option');let _0x318509=this['optionClass'](_0x5dba22);_0x318509&&(_0x4895d9['className']=_0x318509);for(let _0x289291 of this['optionContent']){let _0x276cef=_0x289291(_0x5dba22,this['view']['state'],this['view'],_0x330d58);_0x276cef&&_0x4895d9['appendChild'](_0x276cef);}}return _0x5021ba['from']&&_0x494b4e['classList']['add']('cm-completionListIncompleteTop'),_0x5021ba['to']<_0x13dc78['length']&&_0x494b4e['classList']['add']('cm-completionListIncompleteBottom'),_0x494b4e;}['destroyInfo'](){this['info']&&(this['infoDestroy']&&this['infoDestroy'](),this['info']['remove'](),this['info']=null);}['destroy'](){this['destroyInfo']();}};function dX(_0x38028e,_0x2f44c0){return _0xd103c8=>new uX(_0xd103c8,_0x38028e,_0x2f44c0);}function fX(_0x116d7f){return 0x64*(_0x116d7f['boost']||0x0)+(_0x116d7f['apply']?0xa:0x0)+(_0x116d7f['info']?0x5:0x0)+(_0x116d7f['type']?0x1:0x0);}var mX=class CompletionDialog{constructor(_0x25d585,_0x4730d9,_0x328380,_0x50910a,_0x17c551,_0x4e2a4f){this['options']=_0x25d585,this['attrs']=_0x4730d9,this['tooltip']=_0x328380,this['timestamp']=_0x50910a,this['selected']=_0x17c551,this['disabled']=_0x4e2a4f;}['setSelected'](_0x1e4d4b,_0x492457){return _0x1e4d4b==this['selected']||_0x1e4d4b>=this['options']['length']?this:new CompletionDialog(this['options'],wX(_0x492457,_0x1e4d4b),this['tooltip'],this['timestamp'],_0x1e4d4b,this['disabled']);}static['build'](_0x3de3f0,_0x4a2180,_0x5e6e64,_0x300517,_0x116673,_0x5e5b5b){if(_0x300517&&!_0x5e5b5b&&_0x3de3f0['some'](_0x41fffd=>_0x41fffd['isPending']))return _0x300517['setDisabled']();let _0x390a2a=function(_0xd40a98,_0x1cd719){let _0xdd6f0a=[],_0x1d24d9=null,_0x4cc1e2=null,_0x1aa74e=_0x4924f3=>{_0xdd6f0a['push'](_0x4924f3);let {section:_0x3ccb85}=_0x4924f3['completion'];if(_0x3ccb85){_0x1d24d9||(_0x1d24d9=[]);let _0x1ec005='string'==typeof _0x3ccb85?_0x3ccb85:_0x3ccb85['name'];_0x1d24d9['some'](_0x561921=>_0x561921['name']==_0x1ec005)||_0x1d24d9['push']('string'==typeof _0x3ccb85?{'name':_0x1ec005}:_0x3ccb85);}},_0x345456=_0x1cd719['facet'](oX);for(let _0x3bd84f of _0xd40a98)if(_0x3bd84f['hasResult']()){let _0x21df36=_0x3bd84f['result']['getMatch'];if(!0x1===_0x3bd84f['result']['filter']){for(let _0x5c0e71 of _0x3bd84f['result']['options'])_0x1aa74e(new WG(_0x5c0e71,_0x3bd84f['source'],_0x21df36?_0x21df36(_0x5c0e71):[],0x3b9aca00-_0xdd6f0a['length']));}else{let _0x4c9fd2,_0x110fc4=_0x1cd719['sliceDoc'](_0x3bd84f['from'],_0x3bd84f['to']),_0x44ec57=_0x345456['filterStrict']?new rX(_0x110fc4):new nX(_0x110fc4);for(let _0x3c0f3d of _0x3bd84f['result']['options'])if(_0x4c9fd2=_0x44ec57['match'](_0x3c0f3d['label'])){let _0x57ab4a=_0x3c0f3d['displayLabel']?_0x21df36?_0x21df36(_0x3c0f3d,_0x4c9fd2['matched']):[]:_0x4c9fd2['matched'],_0x5d07e9=_0x4c9fd2['score']+(_0x3c0f3d['boost']||0x0);if(_0x1aa74e(new WG(_0x3c0f3d,_0x3bd84f['source'],_0x57ab4a,_0x5d07e9)),'object'==typeof _0x3c0f3d['section']&&'dynamic'===_0x3c0f3d['section']['rank']){let {name:_0x4e842d}=_0x3c0f3d['section'];_0x4cc1e2||(_0x4cc1e2=Object['create'](null)),_0x4cc1e2[_0x4e842d]=Math['max'](_0x5d07e9,_0x4cc1e2[_0x4e842d]||-0x3b9aca00);}}}}if(_0x1d24d9){let _0x1323c0=Object['create'](null),_0x3cca8b=0x0,_0x5df71f=(_0xd8c154,_0x4aa9ef)=>('dynamic'===_0xd8c154['rank']&&'dynamic'===_0x4aa9ef['rank']?_0x4cc1e2[_0x4aa9ef['name']]-_0x4cc1e2[_0xd8c154['name']]:0x0)||('number'==typeof _0xd8c154['rank']?_0xd8c154['rank']:0x3b9aca00)-('number'==typeof _0x4aa9ef['rank']?_0x4aa9ef['rank']:0x3b9aca00)||(_0xd8c154['name']<_0x4aa9ef['name']?-0x1:0x1);for(let _0x58e4f2 of _0x1d24d9['sort'](_0x5df71f))_0x3cca8b-=0x186a0,_0x1323c0[_0x58e4f2['name']]=_0x3cca8b;for(let _0x2a41fe of _0xdd6f0a){let {section:_0x46ad1f}=_0x2a41fe['completion'];_0x46ad1f&&(_0x2a41fe['score']+=_0x1323c0['string'==typeof _0x46ad1f?_0x46ad1f:_0x46ad1f['name']]);}}let _0x49708a=[],_0x3f115b=null,_0x22e972=_0x345456['compareCompletions'];for(let _0x536614 of _0xdd6f0a['sort']((_0x3e5854,_0x54e030)=>_0x54e030['score']-_0x3e5854['score']||_0x22e972(_0x3e5854['completion'],_0x54e030['completion']))){let _0xa7a63a=_0x536614['completion'];!_0x3f115b||_0x3f115b['label']!=_0xa7a63a['label']||_0x3f115b['detail']!=_0xa7a63a['detail']||null!=_0x3f115b['type']&&null!=_0xa7a63a['type']&&_0x3f115b['type']!=_0xa7a63a['type']||_0x3f115b['apply']!=_0xa7a63a['apply']||_0x3f115b['boost']!=_0xa7a63a['boost']?_0x49708a['push'](_0x536614):fX(_0x536614['completion'])>fX(_0x3f115b)&&(_0x49708a[_0x49708a['length']-0x1]=_0x536614),_0x3f115b=_0x536614['completion'];}return _0x49708a;}(_0x3de3f0,_0x4a2180);if(!_0x390a2a['length'])return _0x300517&&_0x3de3f0['some'](_0x2d87a1=>_0x2d87a1['isPending'])?_0x300517['setDisabled']():null;let _0xdb2fb7=_0x4a2180['facet'](oX)['selectOnOpen']?0x0:-0x1;if(_0x300517&&_0x300517['selected']!=_0xdb2fb7&&-0x1!=_0x300517['selected']){let _0x3aa217=_0x300517['options'][_0x300517['selected']]['completion'];for(let _0x210a2f=0x0;_0x210a2f<_0x390a2a['length'];_0x210a2f++)if(_0x390a2a[_0x210a2f]['completion']==_0x3aa217){_0xdb2fb7=_0x210a2f;break;}}return new CompletionDialog(_0x390a2a,wX(_0x5e6e64,_0xdb2fb7),{'pos':_0x3de3f0['reduce']((_0x4c74f5,_0x26983f)=>_0x26983f['hasResult']()?Math['min'](_0x4c74f5,_0x26983f['from']):_0x4c74f5,0x5f5e100),'create':SX,'above':_0x116673['aboveCursor']},_0x300517?_0x300517['timestamp']:Date['now'](),_0xdb2fb7,!0x1);}['map'](_0xb4298b){return new CompletionDialog(this['options'],this['attrs'],{...this['tooltip'],'pos':_0xb4298b['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);}},pX=class CompletionState{constructor(_0x362648,_0x25ba6a,_0x1e7ec8){this['active']=_0x362648,this['id']=_0x25ba6a,this['open']=_0x1e7ec8;}static['start'](){return new CompletionState(bX,'cm-ac-'+Math['floor'](0x1e8480*Math['random']())['toString'](0x24),null);}['update'](_0x24fd35){let {state:_0x29e159}=_0x24fd35,_0x4d7893=_0x29e159['facet'](oX),_0x24533b=(_0x4d7893['override']||_0x29e159['languageDataAt']('autocomplete',zG(_0x29e159))['map'](eX))['map'](_0x19dda5=>(this['active']['find'](_0x545816=>_0x545816['source']==_0x19dda5)||new vX(_0x19dda5,this['active']['some'](_0x1d6862=>0x0!=_0x1d6862['state'])?0x1:0x0))['update'](_0x24fd35,_0x4d7893));_0x24533b['length']==this['active']['length']&&_0x24533b['every']((_0x3b5412,_0x235515)=>_0x3b5412==this['active'][_0x235515])&&(_0x24533b=this['active']);let _0x21f7d2=this['open'],_0x159823=_0x24fd35['effects']['some'](_0x25083a=>_0x25083a['is'](EX));_0x21f7d2&&_0x24fd35['docChanged']&&(_0x21f7d2=_0x21f7d2['map'](_0x24fd35['changes'])),_0x24fd35['selection']||_0x24533b['some'](_0x5813ca=>_0x5813ca['hasResult']()&&_0x24fd35['changes']['touchesRange'](_0x5813ca['from'],_0x5813ca['to']))||!function(_0x409e9e,_0x5bb04e){if(_0x409e9e==_0x5bb04e)return!0x0;for(let _0x5668ad=0x0,_0x1ffe7d=0x0;;){for(;_0x5668ad<_0x409e9e['length']&&!_0x409e9e[_0x5668ad]['hasResult']();)_0x5668ad++;for(;_0x1ffe7d<_0x5bb04e['length']&&!_0x5bb04e[_0x1ffe7d]['hasResult']();)_0x1ffe7d++;let _0xcc0593=_0x5668ad==_0x409e9e['length'],_0x2c04ee=_0x1ffe7d==_0x5bb04e['length'];if(_0xcc0593||_0x2c04ee)return _0xcc0593==_0x2c04ee;if(_0x409e9e[_0x5668ad++]['result']!=_0x5bb04e[_0x1ffe7d++]['result'])return!0x1;}}(_0x24533b,this['active'])||_0x159823?_0x21f7d2=mX['build'](_0x24533b,_0x29e159,this['id'],_0x21f7d2,_0x4d7893,_0x159823):_0x21f7d2&&_0x21f7d2['disabled']&&!_0x24533b['some'](_0x224942=>_0x224942['isPending'])&&(_0x21f7d2=null),!_0x21f7d2&&_0x24533b['every'](_0x20bcc3=>!_0x20bcc3['isPending'])&&_0x24533b['some'](_0x21e490=>_0x21e490['hasResult']())&&(_0x24533b=_0x24533b['map'](_0x35b0ce=>_0x35b0ce['hasResult']()?new vX(_0x35b0ce['source'],0x0):_0x35b0ce));for(let _0x282089 of _0x24fd35['effects'])_0x282089['is'](lX)&&(_0x21f7d2=_0x21f7d2&&_0x21f7d2['setSelected'](_0x282089['value'],this['id']));return _0x24533b==this['active']&&_0x21f7d2==this['open']?this:new CompletionState(_0x24533b,this['id'],_0x21f7d2);}get['tooltip'](){return this['open']?this['open']['tooltip']:null;}get['attrs'](){return this['open']?this['open']['attrs']:this['active']['length']?gX:OX;}};const gX={'aria-autocomplete':'list'},OX={};function wX(_0xe7804f,_0x4e14f7){let _0x3b903d={'aria-autocomplete':'list','aria-haspopup':'listbox','aria-controls':_0xe7804f};return _0x4e14f7>-0x1&&(_0x3b903d['aria-activedescendant']=_0xe7804f+'-'+_0x4e14f7),_0x3b903d;}const bX=[];function yX(_0x1b7d1,_0x44bf45){if(_0x1b7d1['isUserEvent']('input.complete')){let _0x58dd22=_0x1b7d1['annotation'](KG);if(_0x58dd22&&_0x44bf45['activateOnCompletion'](_0x58dd22))return 0xc;}let _0x584cfb=_0x1b7d1['isUserEvent']('input.type');return _0x584cfb&&_0x44bf45['activateOnTyping']?0x5:_0x584cfb?0x1:_0x1b7d1['isUserEvent']('delete.backward')?0x2:_0x1b7d1['selection']?0x8:_0x1b7d1['docChanged']?0x10:0x0;}var vX=class ActiveSource{constructor(_0x7db69a,_0x1826da,_0x544b33=!0x1){this['source']=_0x7db69a,this['state']=_0x1826da,this['explicit']=_0x544b33;}['hasResult'](){return!0x1;}get['isPending'](){return 0x1==this['state'];}['update'](_0x2eff87,_0x25ced2){let _0x325e69=yX(_0x2eff87,_0x25ced2),_0x58148a=this;(0x8&_0x325e69||0x10&_0x325e69&&this['touches'](_0x2eff87))&&(_0x58148a=new ActiveSource(_0x58148a['source'],0x0)),0x4&_0x325e69&&0x0==_0x58148a['state']&&(_0x58148a=new ActiveSource(this['source'],0x1)),_0x58148a=_0x58148a['updateFor'](_0x2eff87,_0x325e69);for(let _0x2a699b of _0x2eff87['effects'])if(_0x2a699b['is'](iX))_0x58148a=new ActiveSource(_0x58148a['source'],0x1,_0x2a699b['value']);else{if(_0x2a699b['is'](sX))_0x58148a=new ActiveSource(_0x58148a['source'],0x0);else{if(_0x2a699b['is'](EX)){for(let _0x146083 of _0x2a699b['value'])_0x146083['source']==_0x58148a['source']&&(_0x58148a=_0x146083);}}}return _0x58148a;}['updateFor'](_0x2dd37e,_0x5be750){return this['map'](_0x2dd37e['changes']);}['map'](_0x4581a4){return this;}['touches'](_0x34e806){return _0x34e806['changes']['touchesRange'](zG(_0x34e806['state']));}},_X=class ActiveResult extends vX{constructor(_0xacee7,_0x284342,_0x53a92f,_0x3b00f5,_0x52759c,_0x402be2){super(_0xacee7,0x3,_0x284342),this['limit']=_0x53a92f,this['result']=_0x3b00f5,this['from']=_0x52759c,this['to']=_0x402be2;}['hasResult'](){return!0x0;}['updateFor'](_0x38f378,_0xa2624a){var _0x10274b;if(!(0x3&_0xa2624a))return this['map'](_0x38f378['changes']);let _0x5b6baa=this['result'];_0x5b6baa['map']&&!_0x38f378['changes']['empty']&&(_0x5b6baa=_0x5b6baa['map'](_0x5b6baa,_0x38f378['changes']));let _0x4cc194=_0x38f378['changes']['mapPos'](this['from']),_0x4f2906=_0x38f378['changes']['mapPos'](this['to'],0x1),_0x35c17a=zG(_0x38f378['state']);if(_0x35c17a>_0x4f2906||!_0x5b6baa||0x2&_0xa2624a&&(zG(_0x38f378['startState'])==this['from']||_0x35c17a<this['limit']))return new vX(this['source'],0x4&_0xa2624a?0x1:0x0);let _0x1bffa2=_0x38f378['changes']['mapPos'](this['limit']);return function(_0x4606a6,_0x1c298d,_0x49a1bb,_0x141fbc){if(!_0x4606a6)return!0x1;let _0x142765=_0x1c298d['sliceDoc'](_0x49a1bb,_0x141fbc);return'function'==typeof _0x4606a6?_0x4606a6(_0x142765,_0x49a1bb,_0x141fbc,_0x1c298d):YG(_0x4606a6,!0x0)['test'](_0x142765);}(_0x5b6baa['validFor'],_0x38f378['state'],_0x4cc194,_0x4f2906)?new ActiveResult(this['source'],this['explicit'],_0x1bffa2,_0x5b6baa,_0x4cc194,_0x4f2906):_0x5b6baa['update']&&(_0x5b6baa=_0x5b6baa['update'](_0x5b6baa,_0x4cc194,_0x4f2906,new GG(_0x38f378['state'],_0x35c17a,!0x1)))?new ActiveResult(this['source'],this['explicit'],_0x1bffa2,_0x5b6baa,_0x5b6baa['from'],null!==(_0x10274b=_0x5b6baa['to'])&&void 0x0!==_0x10274b?_0x10274b:zG(_0x38f378['state'])):new vX(this['source'],0x1,this['explicit']);}['map'](_0x329fbf){if(_0x329fbf['empty'])return this;let _0x2443fa=this['result']['map']?this['result']['map'](this['result'],_0x329fbf):this['result'];return _0x2443fa?new ActiveResult(this['source'],this['explicit'],_0x329fbf['mapPos'](this['limit']),_0x2443fa,_0x329fbf['mapPos'](this['from']),_0x329fbf['mapPos'](this['to'],0x1)):new vX(this['source'],0x0);}['touches'](_0x17cd89){return _0x17cd89['changes']['touchesRange'](this['from'],this['to']);}};const EX=jL['define']({'map':(_0x48a6d6,_0x57279f)=>_0x48a6d6['map'](_0xa6e017=>_0xa6e017['map'](_0x57279f))}),TX=gL['define']({'create':()=>pX['start'](),'update':(_0x15f097,_0x1d097c)=>_0x15f097['update'](_0x1d097c),'provide':_0x111ec7=>[VV['from'](_0x111ec7,_0x3d134a=>_0x3d134a['tooltip']),NU['contentAttributes']['from'](_0x111ec7,_0x4aa774=>_0x4aa774['attrs'])]});function AX(_0x29d3ba,_0x526b75){const _0x447ba7=_0x526b75['completion']['apply']||_0x526b75['completion']['label'];let _0x56c5b6=_0x29d3ba['state']['field'](TX)['active']['find'](_0x43369e=>_0x43369e['source']==_0x526b75['source']);return _0x56c5b6 instanceof _X&&('string'==typeof _0x447ba7?_0x29d3ba['dispatch']({...JG(_0x29d3ba['state'],_0x447ba7,_0x56c5b6['from'],_0x56c5b6['to']),'annotations':KG['of'](_0x526b75['completion'])}):_0x447ba7(_0x29d3ba,_0x526b75['completion'],_0x56c5b6['from'],_0x56c5b6['to']),!0x0);}const SX=dX(TX,AX);function IX(_0x196b1f,_0x529163='option'){return _0x20fcd9=>{let _0x57ea27=_0x20fcd9['state']['field'](TX,!0x1);if(!_0x57ea27||!_0x57ea27['open']||_0x57ea27['open']['disabled']||Date['now']()-_0x57ea27['open']['timestamp']<_0x20fcd9['state']['facet'](oX)['interactionDelay'])return!0x1;let _0x50c0bf,_0x1e3513=0x1;'page'==_0x529163&&(_0x50c0bf=BV(_0x20fcd9,_0x57ea27['open']['tooltip']))&&(_0x1e3513=Math['max'](0x2,Math['floor'](_0x50c0bf['dom']['offsetHeight']/_0x50c0bf['dom']['querySelector']('li')['offsetHeight'])-0x1));let {length:_0xec044d}=_0x57ea27['open']['options'],_0x338a84=_0x57ea27['open']['selected']>-0x1?_0x57ea27['open']['selected']+_0x1e3513*(_0x196b1f?0x1:-0x1):_0x196b1f?0x0:_0xec044d-0x1;return _0x338a84<0x0?_0x338a84='page'==_0x529163?0x0:_0xec044d-0x1:_0x338a84>=_0xec044d&&(_0x338a84='page'==_0x529163?_0xec044d-0x1:0x0),_0x20fcd9['dispatch']({'effects':lX['of'](_0x338a84)}),!0x0;};}const kX=_0x29882d=>!!_0x29882d['state']['field'](TX,!0x1)&&(_0x29882d['dispatch']({'effects':iX['of'](!0x0)}),!0x0);var xX=class{constructor(_0x386c6b,_0x3dce23){this['active']=_0x386c6b,this['context']=_0x3dce23,this['time']=Date['now'](),this['updates']=[],this['done']=void 0x0;}};const CX=lQ['fromClass'](class{constructor(_0x1bda34){this['view']=_0x1bda34,this['debounceUpdate']=-0x1,this['running']=[],this['debounceAccept']=-0x1,this['pendingStart']=!0x1,this['composing']=0x0;for(let _0x239c42 of _0x1bda34['state']['field'](TX)['active'])_0x239c42['isPending']&&this['startQuery'](_0x239c42);}['update'](_0x1f48ba){let _0x5d56af=_0x1f48ba['state']['field'](TX),_0x10fa78=_0x1f48ba['state']['facet'](oX);if(!_0x1f48ba['selectionSet']&&!_0x1f48ba['docChanged']&&_0x1f48ba['startState']['field'](TX)==_0x5d56af)return;let _0x210780=_0x1f48ba['transactions']['some'](_0x33e364=>{let _0x1e1ed6=yX(_0x33e364,_0x10fa78);return 0x8&_0x1e1ed6||(_0x33e364['selection']||_0x33e364['docChanged'])&&!(0x3&_0x1e1ed6);});for(let _0x43647e=0x0;_0x43647e<this['running']['length'];_0x43647e++){let _0x47fe6b=this['running'][_0x43647e];if(_0x210780||_0x47fe6b['context']['abortOnDocChange']&&_0x1f48ba['docChanged']||_0x47fe6b['updates']['length']+_0x1f48ba['transactions']['length']>0x32&&Date['now']()-_0x47fe6b['time']>0x3e8){for(let _0x20a268 of _0x47fe6b['context']['abortListeners'])try{_0x20a268();}catch(_0x172868){rQ(this['view']['state'],_0x172868);}_0x47fe6b['context']['abortListeners']=null,this['running']['splice'](_0x43647e--,0x1);}else _0x47fe6b['updates']['push'](..._0x1f48ba['transactions']);}this['debounceUpdate']>-0x1&&clearTimeout(this['debounceUpdate']),_0x1f48ba['transactions']['some'](_0x348a49=>_0x348a49['effects']['some'](_0x40f804=>_0x40f804['is'](iX)))&&(this['pendingStart']=!0x0);let _0x1f990e=this['pendingStart']?0x32:_0x10fa78['activateOnTypingDelay'];if(this['debounceUpdate']=_0x5d56af['active']['some'](_0x526743=>_0x526743['isPending']&&!this['running']['some'](_0x771767=>_0x771767['active']['source']==_0x526743['source']))?setTimeout(()=>this['startUpdate'](),_0x1f990e):-0x1,0x0!=this['composing']){for(let _0x1b3961 of _0x1f48ba['transactions'])_0x1b3961['isUserEvent']('input.type')?this['composing']=0x2:0x2==this['composing']&&_0x1b3961['selection']&&(this['composing']=0x3);}}['startUpdate'](){this['debounceUpdate']=-0x1,this['pendingStart']=!0x1;let {state:_0x3df7cb}=this['view'],_0x4f4813=_0x3df7cb['field'](TX);for(let _0xade803 of _0x4f4813['active'])_0xade803['isPending']&&!this['running']['some'](_0x5a707d=>_0x5a707d['active']['source']==_0xade803['source'])&&this['startQuery'](_0xade803);this['running']['length']&&_0x4f4813['open']&&_0x4f4813['open']['disabled']&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](oX)['updateSyncTime']));}['startQuery'](_0x23bc19){let {state:_0x4ac327}=this['view'],_0x164547=new GG(_0x4ac327,zG(_0x4ac327),_0x23bc19['explicit'],this['view']),_0x3893ac=new xX(_0x23bc19,_0x164547);this['running']['push'](_0x3893ac),Promise['resolve'](_0x23bc19['source'](_0x164547))['then'](_0x1d5b63=>{_0x3893ac['context']['aborted']||(_0x3893ac['done']=_0x1d5b63||null,this['scheduleAccept']());},_0x2e08b4=>{this['view']['dispatch']({'effects':sX['of'](null)}),rQ(this['view']['state'],_0x2e08b4);});}['scheduleAccept'](){this['running']['every'](_0x30e4fe=>void 0x0!==_0x30e4fe['done'])?this['accept']():this['debounceAccept']<0x0&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](oX)['updateSyncTime']));}['accept'](){var _0x3b896b;this['debounceAccept']>-0x1&&clearTimeout(this['debounceAccept']),this['debounceAccept']=-0x1;let _0x395d5f=[],_0x772d13=this['view']['state']['facet'](oX),_0x58ecf9=this['view']['state']['field'](TX);for(let _0x20071a=0x0;_0x20071a<this['running']['length'];_0x20071a++){let _0x4be50b=this['running'][_0x20071a];if(void 0x0===_0x4be50b['done'])continue;if(this['running']['splice'](_0x20071a--,0x1),_0x4be50b['done']){let _0x31872d=zG(_0x4be50b['updates']['length']?_0x4be50b['updates'][0x0]['startState']:this['view']['state']),_0x1a1b27=Math['min'](_0x31872d,_0x4be50b['done']['from']+(_0x4be50b['active']['explicit']?0x0:0x1)),_0x2b184a=new _X(_0x4be50b['active']['source'],_0x4be50b['active']['explicit'],_0x1a1b27,_0x4be50b['done'],_0x4be50b['done']['from'],null!==(_0x3b896b=_0x4be50b['done']['to'])&&void 0x0!==_0x3b896b?_0x3b896b:_0x31872d);for(let _0x199ddd of _0x4be50b['updates'])_0x2b184a=_0x2b184a['update'](_0x199ddd,_0x772d13);if(_0x2b184a['hasResult']()){_0x395d5f['push'](_0x2b184a);continue;}}let _0x2da470=_0x58ecf9['active']['find'](_0x5583ca=>_0x5583ca['source']==_0x4be50b['active']['source']);if(_0x2da470&&_0x2da470['isPending']){if(null==_0x4be50b['done']){let _0x386530=new vX(_0x4be50b['active']['source'],0x0);for(let _0x1cf6df of _0x4be50b['updates'])_0x386530=_0x386530['update'](_0x1cf6df,_0x772d13);_0x386530['isPending']||_0x395d5f['push'](_0x386530);}else this['startQuery'](_0x2da470);}}(_0x395d5f['length']||_0x58ecf9['open']&&_0x58ecf9['open']['disabled'])&&this['view']['dispatch']({'effects':EX['of'](_0x395d5f)});}},{'eventHandlers':{'blur'(_0x476027){let _0x50d296=this['view']['state']['field'](TX,!0x1);if(_0x50d296&&_0x50d296['tooltip']&&this['view']['state']['facet'](oX)['closeOnBlur']){let _0x130046=_0x50d296['open']&&BV(this['view'],_0x50d296['open']['tooltip']);_0x130046&&_0x130046['dom']['contains'](_0x476027['relatedTarget'])||setTimeout(()=>this['view']['dispatch']({'effects':sX['of'](null)}),0xa);}},'compositionstart'(){this['composing']=0x1;},'compositionend'(){0x3==this['composing']&&setTimeout(()=>this['view']['dispatch']({'effects':iX['of'](!0x1)}),0x14),this['composing']=0x0;}}}),RX='object'==typeof navigator&&/Win/['test'](navigator['platform']),PX=_L['highest'](NU['domEventHandlers']({'keydown'(_0x45d5a9,_0x2c9fd4){let _0xd3c123=_0x2c9fd4['state']['field'](TX,!0x1);if(!_0xd3c123||!_0xd3c123['open']||_0xd3c123['open']['disabled']||_0xd3c123['open']['selected']<0x0||_0x45d5a9['key']['length']>0x1||_0x45d5a9['ctrlKey']&&(!RX||!_0x45d5a9['altKey'])||_0x45d5a9['metaKey'])return!0x1;let _0x29faf0=_0xd3c123['open']['options'][_0xd3c123['open']['selected']],_0x55c6c8=_0xd3c123['active']['find'](_0x2b30d1=>_0x2b30d1['source']==_0x29faf0['source']),_0x48422d=_0x29faf0['completion']['commitCharacters']||_0x55c6c8['result']['commitCharacters'];return _0x48422d&&_0x48422d['indexOf'](_0x45d5a9['key'])>-0x1&&AX(_0x2c9fd4,_0x29faf0),!0x1;}})),MX=NU['baseTheme']({'.cm-tooltip.cm-tooltip-autocomplete':{'&\x20>\x20ul':{'fontFamily':'monospace','whiteSpace':'nowrap','overflow':'hidden\x20auto','maxWidth_fallback':'700px','maxWidth':'min(700px,\x2095vw)','minWidth':'250px','maxHeight':'10em','height':'100%','listStyle':'none','margin':0x0,'padding':0x0,'&\x20>\x20li,\x20&\x20>\x20completion-section':{'padding':'1px\x203px','lineHeight':1.2},'&\x20>\x20li':{'overflowX':'hidden','textOverflow':'ellipsis','cursor':'pointer'},'&\x20>\x20completion-section':{'display':'list-item','borderBottom':'1px\x20solid\x20silver','paddingLeft':'0.5em','opacity':0.7}}},'&light\x20.cm-tooltip-autocomplete\x20ul\x20li[aria-selected]':{'background':'#17c','color':'white'},'&light\x20.cm-tooltip-autocomplete-disabled\x20ul\x20li[aria-selected]':{'background':'#777'},'&dark\x20.cm-tooltip-autocomplete\x20ul\x20li[aria-selected]':{'background':'#347','color':'white'},'&dark\x20.cm-tooltip-autocomplete-disabled\x20ul\x20li[aria-selected]':{'background':'#444'},'.cm-completionListIncompleteTop:before,\x20.cm-completionListIncompleteBottom:after':{'content':'\x22···\x22','opacity':0.5,'display':'block','textAlign':'center','cursor':'pointer'},'.cm-tooltip.cm-completionInfo':{'position':'absolute','padding':'3px\x209px','width':'max-content','maxWidth':'400px','boxSizing':'border-box','whiteSpace':'pre-line'},'.cm-completionInfo.cm-completionInfo-left':{'right':'100%'},'.cm-completionInfo.cm-completionInfo-right':{'left':'100%'},'.cm-completionInfo.cm-completionInfo-left-narrow':{'right':'30px'},'.cm-completionInfo.cm-completionInfo-right-narrow':{'left':'30px'},'&light\x20.cm-snippetField':{'backgroundColor':'#00000022'},'&dark\x20.cm-snippetField':{'backgroundColor':'#ffffff22'},'.cm-snippetFieldPosition':{'verticalAlign':'text-top','width':0x0,'height':'1.15em','display':'inline-block','margin':'0\x20-0.7px\x20-.7em','borderLeft':'1.4px\x20dotted\x20#888'},'.cm-completionMatchedText':{'textDecoration':'underline'},'.cm-completionDetail':{'marginLeft':'0.5em','fontStyle':'italic'},'.cm-completionIcon':{'fontSize':'90%','width':'.8em','display':'inline-block','textAlign':'center','paddingRight':'.6em','opacity':'0.6','boxSizing':'content-box'},'.cm-completionIcon-function,\x20.cm-completionIcon-method':{'&:after':{'content':'\x27ƒ\x27'}},'.cm-completionIcon-class':{'&:after':{'content':'\x27○\x27'}},'.cm-completionIcon-interface':{'&:after':{'content':'\x27◌\x27'}},'.cm-completionIcon-variable':{'&:after':{'content':'\x27𝑥\x27'}},'.cm-completionIcon-constant':{'&:after':{'content':'\x27𝐶\x27'}},'.cm-completionIcon-type':{'&:after':{'content':'\x27𝑡\x27'}},'.cm-completionIcon-enum':{'&:after':{'content':'\x27∪\x27'}},'.cm-completionIcon-property':{'&:after':{'content':'\x27□\x27'}},'.cm-completionIcon-keyword':{'&:after':{'content':'\x27🔑︎\x27'}},'.cm-completionIcon-namespace':{'&:after':{'content':'\x27▢\x27'}},'.cm-completionIcon-text':{'&:after':{'content':'\x27abc\x27','fontSize':'50%','verticalAlign':'middle'}}});var NX=class{constructor(_0x49ceec,_0x9cd33a,_0x11fcff,_0x10c6f3){this['field']=_0x49ceec,this['line']=_0x9cd33a,this['from']=_0x11fcff,this['to']=_0x10c6f3;}},LX=class FieldRange{constructor(_0x2719d2,_0x3f6030,_0x287936){this['field']=_0x2719d2,this['from']=_0x3f6030,this['to']=_0x287936;}['map'](_0x44fac8){let _0x1e6ced=_0x44fac8['mapPos'](this['from'],-0x1,zN['TrackDel']),_0x47d50a=_0x44fac8['mapPos'](this['to'],0x1,zN['TrackDel']);return null==_0x1e6ced||null==_0x47d50a?null:new FieldRange(this['field'],_0x1e6ced,_0x47d50a);}},$X=class Snippet{constructor(_0xb83075,_0x5b8cc1){this['lines']=_0xb83075,this['fieldPositions']=_0x5b8cc1;}['instantiate'](_0x27ea6a,_0x1b99cc){let _0x5d1469=[],_0x54432c=[_0x1b99cc],_0x119976=_0x27ea6a['doc']['lineAt'](_0x1b99cc),_0x3ad6e0=/^\s*/['exec'](_0x119976['text'])[0x0];for(let _0x4dd659 of this['lines']){if(_0x5d1469['length']){let _0x216f37=_0x3ad6e0,_0x39c20f=/^\t*/['exec'](_0x4dd659)[0x0]['length'];for(let _0x5197f6=0x0;_0x5197f6<_0x39c20f;_0x5197f6++)_0x216f37+=_0x27ea6a['facet'](JF);_0x54432c['push'](_0x1b99cc+_0x216f37['length']-_0x39c20f),_0x4dd659=_0x216f37+_0x4dd659['slice'](_0x39c20f);}_0x5d1469['push'](_0x4dd659),_0x1b99cc+=_0x4dd659['length']+0x1;}return{'text':_0x5d1469,'ranges':this['fieldPositions']['map'](_0x17670c=>new LX(_0x17670c['field'],_0x54432c[_0x17670c['line']]+_0x17670c['from'],_0x54432c[_0x17670c['line']]+_0x17670c['to']))};}static['parse'](_0x16d94c){let _0xd6eef2,_0x22b1de=[],_0x59c90c=[],_0x479cf4=[];for(let _0x52201d of _0x16d94c['split'](/\r\n?|\n/)){for(;_0xd6eef2=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/['exec'](_0x52201d);){let _0xa047e=_0xd6eef2[0x1]?+_0xd6eef2[0x1]:null,_0x5c0548=_0xd6eef2[0x2]||_0xd6eef2[0x3]||'',_0x32c9ac=-0x1;0x0===_0xa047e&&(_0xa047e=0x3b9aca00);let _0x18eb08=_0x5c0548['replace'](/\\[{}]/g,_0x5c57bf=>_0x5c57bf[0x1]);for(let _0x230aa6=0x0;_0x230aa6<_0x22b1de['length'];_0x230aa6++)(null!=_0xa047e?_0x22b1de[_0x230aa6]['seq']==_0xa047e:_0x18eb08&&_0x22b1de[_0x230aa6]['name']==_0x18eb08)&&(_0x32c9ac=_0x230aa6);if(_0x32c9ac<0x0){let _0x7f3b95=0x0;for(;_0x7f3b95<_0x22b1de['length']&&(null==_0xa047e||null!=_0x22b1de[_0x7f3b95]['seq']&&_0x22b1de[_0x7f3b95]['seq']<_0xa047e);)_0x7f3b95++;_0x22b1de['splice'](_0x7f3b95,0x0,{'seq':_0xa047e,'name':_0x18eb08}),_0x32c9ac=_0x7f3b95;for(let _0x38fe6e of _0x479cf4)_0x38fe6e['field']>=_0x32c9ac&&_0x38fe6e['field']++;}for(let _0x273952 of _0x479cf4)if(_0x273952['line']==_0x59c90c['length']&&_0x273952['from']>_0xd6eef2['index']){let _0x5ecb71=_0xd6eef2[0x2]?0x3+(_0xd6eef2[0x1]||'')['length']:0x2;_0x273952['from']-=_0x5ecb71,_0x273952['to']-=_0x5ecb71;}_0x479cf4['push'](new NX(_0x32c9ac,_0x59c90c['length'],_0xd6eef2['index'],_0xd6eef2['index']+_0x18eb08['length'])),_0x52201d=_0x52201d['slice'](0x0,_0xd6eef2['index'])+_0x5c0548+_0x52201d['slice'](_0xd6eef2['index']+_0xd6eef2[0x0]['length']);}_0x52201d=_0x52201d['replace'](/\\([{}])/g,(_0x27d0d5,_0x20fa0b,_0x26e6a8)=>{for(let _0x4c3bbd of _0x479cf4)_0x4c3bbd['line']==_0x59c90c['length']&&_0x4c3bbd['from']>_0x26e6a8&&(_0x4c3bbd['from']--,_0x4c3bbd['to']--);return _0x20fa0b;}),_0x59c90c['push'](_0x52201d);}return new Snippet(_0x59c90c,_0x479cf4);}};let DX=W$['widget']({'widget':new class extends X${['toDOM'](){let _0x398e0e=document['createElement']('span');return _0x398e0e['className']='cm-snippetFieldPosition',_0x398e0e;}['ignoreEvent'](){return!0x1;}}()}),QX=W$['mark']({'class':'cm-snippetField'});var jX=class ActiveSnippet{constructor(_0xd1192e,_0x470c6f){this['ranges']=_0xd1192e,this['active']=_0x470c6f,this['deco']=W$['set'](_0xd1192e['map'](_0x4864fc=>(_0x4864fc['from']==_0x4864fc['to']?DX:QX)['range'](_0x4864fc['from'],_0x4864fc['to'])),!0x0);}['map'](_0x2dc493){let _0x41378a=[];for(let _0x1c4958 of this['ranges']){let _0x1701bd=_0x1c4958['map'](_0x2dc493);if(!_0x1701bd)return null;_0x41378a['push'](_0x1701bd);}return new ActiveSnippet(_0x41378a,this['active']);}['selectionInsideField'](_0x529a90){return _0x529a90['ranges']['every'](_0x3880fe=>this['ranges']['some'](_0x2e6f5b=>_0x2e6f5b['field']==this['active']&&_0x2e6f5b['from']<=_0x3880fe['from']&&_0x2e6f5b['to']>=_0x3880fe['to']));}};const UX=jL['define']({'map':(_0x421d2f,_0x5dd3a6)=>_0x421d2f&&_0x421d2f['map'](_0x5dd3a6)}),VX=jL['define'](),BX=gL['define']({'create':()=>null,'update'(_0x318bfe,_0x3705fd){for(let _0x569822 of _0x3705fd['effects']){if(_0x569822['is'](UX))return _0x569822['value'];if(_0x569822['is'](VX)&&_0x318bfe)return new jX(_0x318bfe['ranges'],_0x569822['value']);}return _0x318bfe&&_0x3705fd['docChanged']&&(_0x318bfe=_0x318bfe['map'](_0x3705fd['changes'])),_0x318bfe&&_0x3705fd['selection']&&!_0x318bfe['selectionInsideField'](_0x3705fd['selection'])&&(_0x318bfe=null),_0x318bfe;},'provide':_0x1db332=>NU['decorations']['from'](_0x1db332,_0x25d132=>_0x25d132?_0x25d132['deco']:W$['none'])});function FX(_0x4d44c0,_0x490eda){return oL['create'](_0x4d44c0['filter'](_0x1ddde2=>_0x1ddde2['field']==_0x490eda)['map'](_0x3d322f=>oL['range'](_0x3d322f['from'],_0x3d322f['to'])));}function HX(_0x5c1df0){let _0x121d83=$X['parse'](_0x5c1df0);return(_0x5dc28f,_0x257d96,_0x49182b,_0x13982a)=>{let {text:_0x1c90b0,ranges:_0x29972d}=_0x121d83['instantiate'](_0x5dc28f['state'],_0x49182b),{main:_0x783661}=_0x5dc28f['state']['selection'],_0x4075d5={'changes':{'from':_0x49182b,'to':_0x13982a==_0x783661['from']?_0x783661['to']:_0x13982a,'insert':LN['of'](_0x1c90b0)},'scrollIntoView':!0x0,'annotations':_0x257d96?[KG['of'](_0x257d96),UL['userEvent']['of']('input.complete')]:void 0x0};if(_0x29972d['length']&&(_0x4075d5['selection']=FX(_0x29972d,0x0)),_0x29972d['some'](_0x4a3af5=>_0x4a3af5['field']>0x0)){let _0x2f1749=new jX(_0x29972d,0x0),_0x50299a=_0x4075d5['effects']=[UX['of'](_0x2f1749)];void 0x0===_0x5dc28f['state']['field'](BX,!0x1)&&_0x50299a['push'](jL['appendConfig']['of']([BX,qX,zX,MX]));}_0x5dc28f['dispatch'](_0x5dc28f['state']['update'](_0x4075d5));};}function ZX(_0xf11942){return({state:_0x5e4814,dispatch:_0x4e1e9a})=>{let _0x5449cb=_0x5e4814['field'](BX,!0x1);if(!_0x5449cb||_0xf11942<0x0&&0x0==_0x5449cb['active'])return!0x1;let _0x17cb35=_0x5449cb['active']+_0xf11942,_0x517420=_0xf11942>0x0&&!_0x5449cb['ranges']['some'](_0x5e9513=>_0x5e9513['field']==_0x17cb35+_0xf11942);return _0x4e1e9a(_0x5e4814['update']({'selection':FX(_0x5449cb['ranges'],_0x17cb35),'effects':UX['of'](_0x517420?null:new jX(_0x5449cb['ranges'],_0x17cb35)),'scrollIntoView':!0x0})),!0x0;};}const GX=[{'key':'Tab','run':ZX(0x1),'shift':ZX(-0x1)},{'key':'Escape','run':({state:_0x3dc69c,dispatch:_0x30dbf2})=>!!_0x3dc69c['field'](BX,!0x1)&&(_0x30dbf2(_0x3dc69c['update']({'effects':UX['of'](null)})),!0x0)}],XX=lL['define']({'combine':_0x45326b=>_0x45326b['length']?_0x45326b[0x0]:GX}),qX=_L['highest'](BU['compute']([XX],_0xbf4986=>_0xbf4986['facet'](XX)));function WX(_0x4092b4,_0x1a7ba2){return{..._0x1a7ba2,'apply':HX(_0x4092b4)};}const zX=NU['domEventHandlers']({'mousedown'(_0x241f99,_0x392d53){let _0x5b36b6,_0x341c08=_0x392d53['state']['field'](BX,!0x1);if(!_0x341c08||null==(_0x5b36b6=_0x392d53['posAtCoords']({'x':_0x241f99['clientX'],'y':_0x241f99['clientY']})))return!0x1;let _0x46366f=_0x341c08['ranges']['find'](_0x5d71f8=>_0x5d71f8['from']<=_0x5b36b6&&_0x5d71f8['to']>=_0x5b36b6);return!(!_0x46366f||_0x46366f['field']==_0x341c08['active'])&&(_0x392d53['dispatch']({'selection':FX(_0x341c08['ranges'],_0x46366f['field']),'effects':UX['of'](_0x341c08['ranges']['some'](_0x4348ae=>_0x4348ae['field']>_0x46366f['field'])?new jX(_0x341c08['ranges'],_0x46366f['field']):null),'scrollIntoView':!0x0}),!0x0);}}),YX={'brackets':['(','[','{','\x27','\x22'],'before':')]}:;>','stringPrefixes':[]},KX=jL['define']({'map'(_0x4fa058,_0x3af0ec){let _0x531a03=_0x3af0ec['mapPos'](_0x4fa058,-0x1,zN['TrackAfter']);return null==_0x531a03?void 0x0:_0x531a03;}}),JX=new class extends JL{}();JX['startSide']=0x1,JX['endSide']=-0x1;const tq=gL['define']({'create':()=>n$['empty'],'update'(_0x3d3608,_0x81b13d){if(_0x3d3608=_0x3d3608['map'](_0x81b13d['changes']),_0x81b13d['selection']){let _0x29e751=_0x81b13d['state']['doc']['lineAt'](_0x81b13d['selection']['main']['head']);_0x3d3608=_0x3d3608['update']({'filter':_0x3d403c=>_0x3d403c>=_0x29e751['from']&&_0x3d403c<=_0x29e751['to']});}for(let _0x5eaf29 of _0x81b13d['effects'])_0x5eaf29['is'](KX)&&(_0x3d3608=_0x3d3608['update']({'add':[JX['range'](_0x5eaf29['value'],_0x5eaf29['value']+0x1)]}));return _0x3d3608;}});function eq(){return[oq,tq];}const iq='()[]{}<>«»»«［］｛｝';function sq(_0x13b4f7){for(let _0xe69265=0x0;_0xe69265<0x10;_0xe69265+=0x2)if(iq['charCodeAt'](_0xe69265)==_0x13b4f7)return iq['charAt'](_0xe69265+0x1);return XN(_0x13b4f7<0x80?_0x13b4f7:_0x13b4f7+0x1);}function nq(_0x6f59df,_0xdc6e2f){return _0x6f59df['languageDataAt']('closeBrackets',_0xdc6e2f)[0x0]||YX;}const rq='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),oq=NU['inputHandler']['of']((_0x52cb8d,_0x50e246,_0x3a6547,_0x4a1975)=>{if((rq?_0x52cb8d['composing']:_0x52cb8d['compositionStarted'])||_0x52cb8d['state']['readOnly'])return!0x1;let _0x2ce9af=_0x52cb8d['state']['selection']['main'];if(_0x4a1975['length']>0x2||0x2==_0x4a1975['length']&&0x1==qN(GN(_0x4a1975,0x0))||_0x50e246!=_0x2ce9af['from']||_0x3a6547!=_0x2ce9af['to'])return!0x1;let _0x43bd23=function(_0x41a409,_0x1215d7){let _0x2ebfa0=nq(_0x41a409,_0x41a409['selection']['main']['head']),_0x116b17=_0x2ebfa0['brackets']||YX['brackets'];for(let _0x5eddc6 of _0x116b17){let _0xacd86b=sq(GN(_0x5eddc6,0x0));if(_0x1215d7==_0x5eddc6)return _0xacd86b==_0x5eddc6?dq(_0x41a409,_0x5eddc6,_0x116b17['indexOf'](_0x5eddc6+_0x5eddc6+_0x5eddc6)>-0x1,_0x2ebfa0):hq(_0x41a409,_0x5eddc6,_0xacd86b,_0x2ebfa0['before']||YX['before']);if(_0x1215d7==_0xacd86b&&cq(_0x41a409,_0x41a409['selection']['main']['from']))return uq(_0x41a409,_0x5eddc6,_0xacd86b);}return null;}(_0x52cb8d['state'],_0x4a1975);return!!_0x43bd23&&(_0x52cb8d['dispatch'](_0x43bd23),!0x0);}),aq=[{'key':'Backspace','run':({state:_0x3f7859,dispatch:_0x465e41})=>{if(_0x3f7859['readOnly'])return!0x1;let _0x3dd054=nq(_0x3f7859,_0x3f7859['selection']['main']['head'])['brackets']||YX['brackets'],_0x1f399b=null,_0x105b3e=_0x3f7859['changeByRange'](_0x57f96a=>{if(_0x57f96a['empty']){let _0x222317=function(_0x47e4b6,_0x49095a){let _0x4e1963=_0x47e4b6['sliceString'](_0x49095a-0x2,_0x49095a);return qN(GN(_0x4e1963,0x0))==_0x4e1963['length']?_0x4e1963:_0x4e1963['slice'](0x1);}(_0x3f7859['doc'],_0x57f96a['head']);for(let _0x492657 of _0x3dd054)if(_0x492657==_0x222317&&lq(_0x3f7859['doc'],_0x57f96a['head'])==sq(GN(_0x492657,0x0)))return{'changes':{'from':_0x57f96a['head']-_0x492657['length'],'to':_0x57f96a['head']+_0x492657['length']},'range':oL['cursor'](_0x57f96a['head']-_0x492657['length'])};}return{'range':_0x1f399b=_0x57f96a};});return _0x1f399b||_0x465e41(_0x3f7859['update'](_0x105b3e,{'scrollIntoView':!0x0,'userEvent':'delete.backward'})),!_0x1f399b;}}];function cq(_0x44562e,_0x54c768){let _0x2c6a26=!0x1;return _0x44562e['field'](tq)['between'](0x0,_0x44562e['doc']['length'],_0x2166b3=>{_0x2166b3==_0x54c768&&(_0x2c6a26=!0x0);}),_0x2c6a26;}function lq(_0x1a5edc,_0x5a8949){let _0x170782=_0x1a5edc['sliceString'](_0x5a8949,_0x5a8949+0x2);return _0x170782['slice'](0x0,qN(GN(_0x170782,0x0)));}function hq(_0x29af18,_0x2a84b2,_0x58d4db,_0x344c56){let _0x24785d=null,_0xf5d732=_0x29af18['changeByRange'](_0x7426df=>{if(!_0x7426df['empty'])return{'changes':[{'insert':_0x2a84b2,'from':_0x7426df['from']},{'insert':_0x58d4db,'from':_0x7426df['to']}],'effects':KX['of'](_0x7426df['to']+_0x2a84b2['length']),'range':oL['range'](_0x7426df['anchor']+_0x2a84b2['length'],_0x7426df['head']+_0x2a84b2['length'])};let _0x551d98=lq(_0x29af18['doc'],_0x7426df['head']);return!_0x551d98||/\s/['test'](_0x551d98)||_0x344c56['indexOf'](_0x551d98)>-0x1?{'changes':{'insert':_0x2a84b2+_0x58d4db,'from':_0x7426df['head']},'effects':KX['of'](_0x7426df['head']+_0x2a84b2['length']),'range':oL['cursor'](_0x7426df['head']+_0x2a84b2['length'])}:{'range':_0x24785d=_0x7426df};});return _0x24785d?null:_0x29af18['update'](_0xf5d732,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function uq(_0x387f0d,_0x52e3ed,_0xa064f){let _0x3a1cfc=null,_0x3f7d22=_0x387f0d['changeByRange'](_0x21a9b2=>_0x21a9b2['empty']&&lq(_0x387f0d['doc'],_0x21a9b2['head'])==_0xa064f?{'changes':{'from':_0x21a9b2['head'],'to':_0x21a9b2['head']+_0xa064f['length'],'insert':_0xa064f},'range':oL['cursor'](_0x21a9b2['head']+_0xa064f['length'])}:_0x3a1cfc={'range':_0x21a9b2});return _0x3a1cfc?null:_0x387f0d['update'](_0x3f7d22,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function dq(_0xbf64eb,_0x23d525,_0x1b24c6,_0x4a4628){let _0x143876=_0x4a4628['stringPrefixes']||YX['stringPrefixes'],_0x1fa879=null,_0x34421b=_0xbf64eb['changeByRange'](_0x3f64f4=>{if(!_0x3f64f4['empty'])return{'changes':[{'insert':_0x23d525,'from':_0x3f64f4['from']},{'insert':_0x23d525,'from':_0x3f64f4['to']}],'effects':KX['of'](_0x3f64f4['to']+_0x23d525['length']),'range':oL['range'](_0x3f64f4['anchor']+_0x23d525['length'],_0x3f64f4['head']+_0x23d525['length'])};let _0x5e6d84,_0x3c652d=_0x3f64f4['head'],_0x875fa3=lq(_0xbf64eb['doc'],_0x3c652d);if(_0x875fa3==_0x23d525){if(fq(_0xbf64eb,_0x3c652d))return{'changes':{'insert':_0x23d525+_0x23d525,'from':_0x3c652d},'effects':KX['of'](_0x3c652d+_0x23d525['length']),'range':oL['cursor'](_0x3c652d+_0x23d525['length'])};if(cq(_0xbf64eb,_0x3c652d)){let _0x26971a=_0x1b24c6&&_0xbf64eb['sliceDoc'](_0x3c652d,_0x3c652d+0x3*_0x23d525['length'])==_0x23d525+_0x23d525+_0x23d525?_0x23d525+_0x23d525+_0x23d525:_0x23d525;return{'changes':{'from':_0x3c652d,'to':_0x3c652d+_0x26971a['length'],'insert':_0x26971a},'range':oL['cursor'](_0x3c652d+_0x26971a['length'])};}}else{if(_0x1b24c6&&_0xbf64eb['sliceDoc'](_0x3c652d-0x2*_0x23d525['length'],_0x3c652d)==_0x23d525+_0x23d525&&(_0x5e6d84=mq(_0xbf64eb,_0x3c652d-0x2*_0x23d525['length'],_0x143876))>-0x1&&fq(_0xbf64eb,_0x5e6d84))return{'changes':{'insert':_0x23d525+_0x23d525+_0x23d525+_0x23d525,'from':_0x3c652d},'effects':KX['of'](_0x3c652d+_0x23d525['length']),'range':oL['cursor'](_0x3c652d+_0x23d525['length'])};if(_0xbf64eb['charCategorizer'](_0x3c652d)(_0x875fa3)!=XL['Word']&&mq(_0xbf64eb,_0x3c652d,_0x143876)>-0x1&&!function(_0x517b13,_0x62944e,_0xba0714,_0x45765e){let _0x299f40=UF(_0x517b13)['resolveInner'](_0x62944e,-0x1),_0x4a6883=_0x45765e['reduce']((_0x1ab252,_0x1f2f51)=>Math['max'](_0x1ab252,_0x1f2f51['length']),0x0);for(let _0x596d58=0x0;_0x596d58<0x5;_0x596d58++){let _0x32b934=_0x517b13['sliceDoc'](_0x299f40['from'],Math['min'](_0x299f40['to'],_0x299f40['from']+_0xba0714['length']+_0x4a6883)),_0x385a8a=_0x32b934['indexOf'](_0xba0714);if(!_0x385a8a||_0x385a8a>-0x1&&_0x45765e['indexOf'](_0x32b934['slice'](0x0,_0x385a8a))>-0x1){let _0x424d08=_0x299f40['firstChild'];for(;_0x424d08&&_0x424d08['from']==_0x299f40['from']&&_0x424d08['to']-_0x424d08['from']>_0xba0714['length']+_0x385a8a;){if(_0x517b13['sliceDoc'](_0x424d08['to']-_0xba0714['length'],_0x424d08['to'])==_0xba0714)return!0x1;_0x424d08=_0x424d08['firstChild'];}return!0x0;}let _0x547989=_0x299f40['to']==_0x62944e&&_0x299f40['parent'];if(!_0x547989)break;_0x299f40=_0x547989;}return!0x1;}(_0xbf64eb,_0x3c652d,_0x23d525,_0x143876))return{'changes':{'insert':_0x23d525+_0x23d525,'from':_0x3c652d},'effects':KX['of'](_0x3c652d+_0x23d525['length']),'range':oL['cursor'](_0x3c652d+_0x23d525['length'])};}return{'range':_0x1fa879=_0x3f64f4};});return _0x1fa879?null:_0xbf64eb['update'](_0x34421b,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function fq(_0xa337b6,_0x4efe15){let _0x1547a2=UF(_0xa337b6)['resolveInner'](_0x4efe15+0x1);return _0x1547a2['parent']&&_0x1547a2['from']==_0x4efe15;}function mq(_0x5a0f66,_0x384a79,_0x4a28a0){let _0x2a9d6b=_0x5a0f66['charCategorizer'](_0x384a79);if(_0x2a9d6b(_0x5a0f66['sliceDoc'](_0x384a79-0x1,_0x384a79))!=XL['Word'])return _0x384a79;for(let _0x4d3830 of _0x4a28a0){let _0x36bd25=_0x384a79-_0x4d3830['length'];if(_0x5a0f66['sliceDoc'](_0x36bd25,_0x384a79)==_0x4d3830&&_0x2a9d6b(_0x5a0f66['sliceDoc'](_0x36bd25-0x1,_0x36bd25))!=XL['Word'])return _0x36bd25;}return-0x1;}function pq(_0x4b8d20={}){return[PX,TX,oX['of'](_0x4b8d20),CX,Oq,MX];}const gq=[{'key':'Ctrl-Space','run':kX},{'mac':'Alt-`','run':kX},{'mac':'Alt-i','run':kX},{'key':'Escape','run':_0x1076c2=>{let _0x4efbf8=_0x1076c2['state']['field'](TX,!0x1);return!(!_0x4efbf8||!_0x4efbf8['active']['some'](_0x60ff9e=>0x0!=_0x60ff9e['state']))&&(_0x1076c2['dispatch']({'effects':sX['of'](null)}),!0x0);}},{'key':'ArrowDown','run':IX(!0x0)},{'key':'ArrowUp','run':IX(!0x1)},{'key':'PageDown','run':IX(!0x0,'page')},{'key':'PageUp','run':IX(!0x1,'page')},{'key':'Enter','run':_0x382d01=>{let _0x2c94c6=_0x382d01['state']['field'](TX,!0x1);return!(_0x382d01['state']['readOnly']||!_0x2c94c6||!_0x2c94c6['open']||_0x2c94c6['open']['selected']<0x0||_0x2c94c6['open']['disabled']||Date['now']()-_0x2c94c6['open']['timestamp']<_0x382d01['state']['facet'](oX)['interactionDelay'])&&AX(_0x382d01,_0x2c94c6['open']['options'][_0x2c94c6['open']['selected']]);}}],Oq=_L['highest'](BU['computeN']([oX],_0x4a1212=>_0x4a1212['facet'](oX)['defaultKeymap']?[gq]:[]));var wq=class Stack{constructor(_0x3fc2a4,_0x5ed14f,_0x434fc9,_0x133d38,_0x556bc6,_0x1ad226,_0x567f9a,_0x1ddd4e,_0x4eebda,_0x4a99b0=0x0,_0x1cd5f1){this['p']=_0x3fc2a4,this['stack']=_0x5ed14f,this['state']=_0x434fc9,this['reducePos']=_0x133d38,this['pos']=_0x556bc6,this['score']=_0x1ad226,this['buffer']=_0x567f9a,this['bufferBase']=_0x1ddd4e,this['curContext']=_0x4eebda,this['lookAhead']=_0x4a99b0,this['parent']=_0x1cd5f1;}['toString'](){return'['+this['stack']['filter']((_0x228a60,_0x204e54)=>_0x204e54%0x3==0x0)['concat'](this['state'])+']@'+this['pos']+(this['score']?'!'+this['score']:'');}static['start'](_0x4f1ba8,_0x4f18a6,_0x2ed710=0x0){let _0x35d3a5=_0x4f1ba8['parser']['context'];return new Stack(_0x4f1ba8,[],_0x4f18a6,_0x2ed710,_0x2ed710,0x0,[],0x0,_0x35d3a5?new bq(_0x35d3a5,_0x35d3a5['start']):null,0x0,null);}get['context'](){return this['curContext']?this['curContext']['context']:null;}['pushState'](_0x22e698,_0x334a93){this['stack']['push'](this['state'],_0x334a93,this['bufferBase']+this['buffer']['length']),this['state']=_0x22e698;}['reduce'](_0x4947cb){var _0x4977b6;let _0x14dd9c=_0x4947cb>>0x13,_0x3c7c0c=0xffff&_0x4947cb,{parser:_0x4cf4c2}=this['p'],_0x2823ea=this['reducePos']<this['pos']-0x19&&this['setLookAhead'](this['pos']),_0x1a5f29=_0x4cf4c2['dynamicPrecedence'](_0x3c7c0c);if(_0x1a5f29&&(this['score']+=_0x1a5f29),0x0==_0x14dd9c)return _0x3c7c0c<_0x4cf4c2['minRepeatTerm']&&this['reducePos']<this['pos']&&(this['reducePos']=this['pos']),this['pushState'](_0x4cf4c2['getGoto'](this['state'],_0x3c7c0c,!0x0),this['reducePos']),_0x3c7c0c<_0x4cf4c2['minRepeatTerm']&&this['storeNode'](_0x3c7c0c,this['reducePos'],this['reducePos'],_0x2823ea?0x8:0x4,!0x0),void this['reduceContext'](_0x3c7c0c,this['reducePos']);let _0x22b696=this['stack']['length']-0x3*(_0x14dd9c-0x1)-(0x40000&_0x4947cb?0x6:0x0),_0x5a3975=_0x22b696?this['stack'][_0x22b696-0x2]:this['p']['ranges'][0x0]['from'];_0x3c7c0c<_0x4cf4c2['minRepeatTerm']&&_0x5a3975==this['reducePos']&&this['reducePos']<this['pos']&&(this['reducePos']=this['pos']);let _0x1c761e=this['reducePos']-_0x5a3975;_0x1c761e>=0x7d0&&!(null===(_0x4977b6=this['p']['parser']['nodeSet']['types'][_0x3c7c0c])||void 0x0===_0x4977b6?void 0x0:_0x4977b6['isAnonymous'])&&(_0x5a3975==this['p']['lastBigReductionStart']?(this['p']['bigReductionCount']++,this['p']['lastBigReductionSize']=_0x1c761e):this['p']['lastBigReductionSize']<_0x1c761e&&(this['p']['bigReductionCount']=0x1,this['p']['lastBigReductionStart']=_0x5a3975,this['p']['lastBigReductionSize']=_0x1c761e));let _0x37b630=_0x22b696?this['stack'][_0x22b696-0x1]:0x0,_0x2244b1=this['bufferBase']+this['buffer']['length']-_0x37b630;if(_0x3c7c0c<_0x4cf4c2['minRepeatTerm']||0x20000&_0x4947cb){let _0xbb0f2c=_0x4cf4c2['stateFlag'](this['state'],0x1)?this['pos']:this['reducePos'];this['storeNode'](_0x3c7c0c,_0x5a3975,_0xbb0f2c,_0x2244b1+0x4,!0x0);}if(0x40000&_0x4947cb)this['state']=this['stack'][_0x22b696];else{let _0x3993f5=this['stack'][_0x22b696-0x3];this['state']=_0x4cf4c2['getGoto'](_0x3993f5,_0x3c7c0c,!0x0);}for(;this['stack']['length']>_0x22b696;)this['stack']['pop']();this['reduceContext'](_0x3c7c0c,_0x5a3975);}['storeNode'](_0x5b6357,_0x2b4f72,_0x3a781f,_0x2a1435=0x4,_0x549ee0=!0x1){if(0x0==_0x5b6357&&(!this['stack']['length']||this['stack'][this['stack']['length']-0x1]<this['buffer']['length']+this['bufferBase'])){let _0x220f76=this['buffer']['length'];if(_0x220f76>0x0&&0x0==this['buffer'][_0x220f76-0x4]&&this['buffer'][_0x220f76-0x1]>-0x1){if(_0x2b4f72==_0x3a781f)return;if(this['buffer'][_0x220f76-0x2]>=_0x2b4f72)return void(this['buffer'][_0x220f76-0x2]=_0x3a781f);}}if(_0x549ee0&&this['pos']!=_0x3a781f){let _0x385b26=this['buffer']['length'];if(_0x385b26>0x0&&(0x0!=this['buffer'][_0x385b26-0x4]||this['buffer'][_0x385b26-0x1]<0x0)){let _0x1ffdb3=!0x1;for(let _0x42377a=_0x385b26;_0x42377a>0x0&&this['buffer'][_0x42377a-0x2]>_0x3a781f;_0x42377a-=0x4)if(this['buffer'][_0x42377a-0x1]>=0x0){_0x1ffdb3=!0x0;break;}if(_0x1ffdb3){for(;_0x385b26>0x0&&this['buffer'][_0x385b26-0x2]>_0x3a781f;)this['buffer'][_0x385b26]=this['buffer'][_0x385b26-0x4],this['buffer'][_0x385b26+0x1]=this['buffer'][_0x385b26-0x3],this['buffer'][_0x385b26+0x2]=this['buffer'][_0x385b26-0x2],this['buffer'][_0x385b26+0x3]=this['buffer'][_0x385b26-0x1],_0x385b26-=0x4,_0x2a1435>0x4&&(_0x2a1435-=0x4);}}this['buffer'][_0x385b26]=_0x5b6357,this['buffer'][_0x385b26+0x1]=_0x2b4f72,this['buffer'][_0x385b26+0x2]=_0x3a781f,this['buffer'][_0x385b26+0x3]=_0x2a1435;}else this['buffer']['push'](_0x5b6357,_0x2b4f72,_0x3a781f,_0x2a1435);}['shift'](_0x26dcd8,_0x2099fe,_0x5cc64e,_0x5e94df){if(0x20000&_0x26dcd8)this['pushState'](0xffff&_0x26dcd8,this['pos']);else{if(0x40000&_0x26dcd8)this['pos']=_0x5e94df,this['shiftContext'](_0x2099fe,_0x5cc64e),_0x2099fe<=this['p']['parser']['maxNode']&&this['buffer']['push'](_0x2099fe,_0x5cc64e,_0x5e94df,0x4);else{let _0x42137c=_0x26dcd8,{parser:_0x254138}=this['p'];this['pos']=_0x5e94df;let _0x2eb662=_0x254138['stateFlag'](_0x42137c,0x1);!_0x2eb662&&(_0x5e94df>_0x5cc64e||_0x2099fe<=_0x254138['maxNode'])&&(this['reducePos']=_0x5e94df),this['pushState'](_0x42137c,_0x2eb662?_0x5cc64e:Math['min'](_0x5cc64e,this['reducePos'])),this['shiftContext'](_0x2099fe,_0x5cc64e),_0x2099fe<=_0x254138['maxNode']&&this['buffer']['push'](_0x2099fe,_0x5cc64e,_0x5e94df,0x4);}}}['apply'](_0x2ba272,_0xbf67fa,_0x48d778,_0x37e7ae){0x10000&_0x2ba272?this['reduce'](_0x2ba272):this['shift'](_0x2ba272,_0xbf67fa,_0x48d778,_0x37e7ae);}['useNode'](_0x135afe,_0x40fa39){let _0x2d8ea1=this['p']['reused']['length']-0x1;(_0x2d8ea1<0x0||this['p']['reused'][_0x2d8ea1]!=_0x135afe)&&(this['p']['reused']['push'](_0x135afe),_0x2d8ea1++);let _0x3a17e5=this['pos'];this['reducePos']=this['pos']=_0x3a17e5+_0x135afe['length'],this['pushState'](_0x40fa39,_0x3a17e5),this['buffer']['push'](_0x2d8ea1,_0x3a17e5,this['reducePos'],-0x1),this['curContext']&&this['updateContext'](this['curContext']['tracker']['reuse'](this['curContext']['context'],_0x135afe,this,this['p']['stream']['reset'](this['pos']-_0x135afe['length'])));}['split'](){let _0x4b0824=this,_0x4d420b=_0x4b0824['buffer']['length'];for(_0x4d420b&&0x0==_0x4b0824['buffer'][_0x4d420b-0x4]&&(_0x4d420b-=0x4);_0x4d420b>0x0&&_0x4b0824['buffer'][_0x4d420b-0x2]>_0x4b0824['reducePos'];)_0x4d420b-=0x4;let _0xccb869=_0x4b0824['buffer']['slice'](_0x4d420b),_0x31c971=_0x4b0824['bufferBase']+_0x4d420b;for(;_0x4b0824&&_0x31c971==_0x4b0824['bufferBase'];)_0x4b0824=_0x4b0824['parent'];return new Stack(this['p'],this['stack']['slice'](),this['state'],this['reducePos'],this['pos'],this['score'],_0xccb869,_0x31c971,this['curContext'],this['lookAhead'],_0x4b0824);}['recoverByDelete'](_0x51daf6,_0x5d787d){let _0x364439=_0x51daf6<=this['p']['parser']['maxNode'];_0x364439&&this['storeNode'](_0x51daf6,this['pos'],_0x5d787d,0x4),this['storeNode'](0x0,this['pos'],_0x5d787d,_0x364439?0x8:0x4),this['pos']=this['reducePos']=_0x5d787d,this['score']-=0xbe;}['canShift'](_0x4754cc){for(let _0x522082=new yq(this);;){let _0x1b8c1d=this['p']['parser']['stateSlot'](_0x522082['state'],0x4)||this['p']['parser']['hasAction'](_0x522082['state'],_0x4754cc);if(0x0==_0x1b8c1d)return!0x1;if(!(0x10000&_0x1b8c1d))return!0x0;_0x522082['reduce'](_0x1b8c1d);}}['recoverByInsert'](_0x2e2709){if(this['stack']['length']>=0x12c)return[];let _0xd98cbc=this['p']['parser']['nextStates'](this['state']);if(_0xd98cbc['length']>0x8||this['stack']['length']>=0x78){let _0x59bbd3=[];for(let _0x41eeba,_0x1e84c2=0x0;_0x1e84c2<_0xd98cbc['length'];_0x1e84c2+=0x2)(_0x41eeba=_0xd98cbc[_0x1e84c2+0x1])!=this['state']&&this['p']['parser']['hasAction'](_0x41eeba,_0x2e2709)&&_0x59bbd3['push'](_0xd98cbc[_0x1e84c2],_0x41eeba);if(this['stack']['length']<0x78)for(let _0x591ffb=0x0;_0x59bbd3['length']<0x8&&_0x591ffb<_0xd98cbc['length'];_0x591ffb+=0x2){let _0x2baf66=_0xd98cbc[_0x591ffb+0x1];_0x59bbd3['some']((_0x581da5,_0x57157c)=>0x1&_0x57157c&&_0x581da5==_0x2baf66)||_0x59bbd3['push'](_0xd98cbc[_0x591ffb],_0x2baf66);}_0xd98cbc=_0x59bbd3;}let _0x253157=[];for(let _0x1207e4=0x0;_0x1207e4<_0xd98cbc['length']&&_0x253157['length']<0x4;_0x1207e4+=0x2){let _0x5e8e60=_0xd98cbc[_0x1207e4+0x1];if(_0x5e8e60==this['state'])continue;let _0x198925=this['split']();_0x198925['pushState'](_0x5e8e60,this['pos']),_0x198925['storeNode'](0x0,_0x198925['pos'],_0x198925['pos'],0x4,!0x0),_0x198925['shiftContext'](_0xd98cbc[_0x1207e4],this['pos']),_0x198925['reducePos']=this['pos'],_0x198925['score']-=0xc8,_0x253157['push'](_0x198925);}return _0x253157;}['forceReduce'](){let {parser:_0x30119c}=this['p'],_0x39c244=_0x30119c['stateSlot'](this['state'],0x5);if(!(0x10000&_0x39c244))return!0x1;if(!_0x30119c['validAction'](this['state'],_0x39c244)){let _0x4f97b1=_0x39c244>>0x13,_0x501724=0xffff&_0x39c244,_0x1d6514=this['stack']['length']-0x3*_0x4f97b1;if(_0x1d6514<0x0||_0x30119c['getGoto'](this['stack'][_0x1d6514],_0x501724,!0x1)<0x0){let _0x44dd14=this['findForcedReduction']();if(null==_0x44dd14)return!0x1;_0x39c244=_0x44dd14;}this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['score']-=0x64;}return this['reducePos']=this['pos'],this['reduce'](_0x39c244),!0x0;}['findForcedReduction'](){let {parser:_0x4a7fc5}=this['p'],_0x16d1e5=[],_0x22c9e0=(_0x2803fc,_0x19611f)=>{if(!_0x16d1e5['includes'](_0x2803fc))return _0x16d1e5['push'](_0x2803fc),_0x4a7fc5['allActions'](_0x2803fc,_0x87c318=>{if(0x60000&_0x87c318);else{if(0x10000&_0x87c318){let _0x86a3ab=(_0x87c318>>0x13)-_0x19611f;if(_0x86a3ab>0x1){let _0x48df8b=0xffff&_0x87c318,_0x2ee701=this['stack']['length']-0x3*_0x86a3ab;if(_0x2ee701>=0x0&&_0x4a7fc5['getGoto'](this['stack'][_0x2ee701],_0x48df8b,!0x1)>=0x0)return _0x86a3ab<<0x13|0x10000|_0x48df8b;}}else{let _0x2d0c=_0x22c9e0(_0x87c318,_0x19611f+0x1);if(null!=_0x2d0c)return _0x2d0c;}}});};return _0x22c9e0(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:_0x11cc4c}=this['p'];return 0xffff==_0x11cc4c['data'][_0x11cc4c['stateSlot'](this['state'],0x1)]&&!_0x11cc4c['stateSlot'](this['state'],0x4);}['restart'](){this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['state']=this['stack'][0x0],this['stack']['length']=0x0;}['sameState'](_0x37a700){if(this['state']!=_0x37a700['state']||this['stack']['length']!=_0x37a700['stack']['length'])return!0x1;for(let _0x3ab00a=0x0;_0x3ab00a<this['stack']['length'];_0x3ab00a+=0x3)if(this['stack'][_0x3ab00a]!=_0x37a700['stack'][_0x3ab00a])return!0x1;return!0x0;}get['parser'](){return this['p']['parser'];}['dialectEnabled'](_0x3bbb0e){return this['p']['parser']['dialect']['flags'][_0x3bbb0e];}['shiftContext'](_0x3454bf,_0x54df6e){this['curContext']&&this['updateContext'](this['curContext']['tracker']['shift'](this['curContext']['context'],_0x3454bf,this,this['p']['stream']['reset'](_0x54df6e)));}['reduceContext'](_0x4addb8,_0x570764){this['curContext']&&this['updateContext'](this['curContext']['tracker']['reduce'](this['curContext']['context'],_0x4addb8,this,this['p']['stream']['reset'](_0x570764)));}['emitContext'](){let _0x445d41=this['buffer']['length']-0x1;(_0x445d41<0x0||-0x3!=this['buffer'][_0x445d41])&&this['buffer']['push'](this['curContext']['hash'],this['pos'],this['pos'],-0x3);}['emitLookAhead'](){let _0x556e44=this['buffer']['length']-0x1;(_0x556e44<0x0||-0x4!=this['buffer'][_0x556e44])&&this['buffer']['push'](this['lookAhead'],this['pos'],this['pos'],-0x4);}['updateContext'](_0x1ad8ab){if(_0x1ad8ab!=this['curContext']['context']){let _0x12df73=new bq(this['curContext']['tracker'],_0x1ad8ab);_0x12df73['hash']!=this['curContext']['hash']&&this['emitContext'](),this['curContext']=_0x12df73;}}['setLookAhead'](_0x30ef27){return!(_0x30ef27<=this['lookAhead'])&&(this['emitLookAhead'](),this['lookAhead']=_0x30ef27,!0x0);}['close'](){this['curContext']&&this['curContext']['tracker']['strict']&&this['emitContext'](),this['lookAhead']>0x0&&this['emitLookAhead']();}},bq=class{constructor(_0x337c7e,_0x6260d3){this['tracker']=_0x337c7e,this['context']=_0x6260d3,this['hash']=_0x337c7e['strict']?_0x337c7e['hash'](_0x6260d3):0x0;}},yq=class{constructor(_0x1df545){this['start']=_0x1df545,this['state']=_0x1df545['state'],this['stack']=_0x1df545['stack'],this['base']=this['stack']['length'];}['reduce'](_0x406c3d){let _0x50f36f=0xffff&_0x406c3d,_0x5eec79=_0x406c3d>>0x13;0x0==_0x5eec79?(this['stack']==this['start']['stack']&&(this['stack']=this['stack']['slice']()),this['stack']['push'](this['state'],0x0,0x0),this['base']+=0x3):this['base']-=0x3*(_0x5eec79-0x1);let _0x107e64=this['start']['p']['parser']['getGoto'](this['stack'][this['base']-0x3],_0x50f36f,!0x0);this['state']=_0x107e64;}},vq=class StackBufferCursor{constructor(_0x229dd0,_0x749207,_0x39b070){this['stack']=_0x229dd0,this['pos']=_0x749207,this['index']=_0x39b070,this['buffer']=_0x229dd0['buffer'],0x0==this['index']&&this['maybeNext']();}static['create'](_0x210553,_0x418f31=_0x210553['bufferBase']+_0x210553['buffer']['length']){return new StackBufferCursor(_0x210553,_0x418f31,_0x418f31-_0x210553['bufferBase']);}['maybeNext'](){let _0x55a6ae=this['stack']['parent'];null!=_0x55a6ae&&(this['index']=this['stack']['bufferBase']-_0x55a6ae['bufferBase'],this['stack']=_0x55a6ae,this['buffer']=_0x55a6ae['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 _q(_0x5e47c0,_0x343d65=Uint16Array){if('string'!=typeof _0x5e47c0)return _0x5e47c0;let _0x54b65d=null;for(let _0x30fffa=0x0,_0x326436=0x0;_0x30fffa<_0x5e47c0['length'];){let _0x28adb8=0x0;for(;;){let _0x28a892=_0x5e47c0['charCodeAt'](_0x30fffa++),_0x57d95e=!0x1;if(0x7e==_0x28a892){_0x28adb8=0xffff;break;}_0x28a892>=0x5c&&_0x28a892--,_0x28a892>=0x22&&_0x28a892--;let _0x25a4dd=_0x28a892-0x20;if(_0x25a4dd>=0x2e&&(_0x25a4dd-=0x2e,_0x57d95e=!0x0),_0x28adb8+=_0x25a4dd,_0x57d95e)break;_0x28adb8*=0x2e;}_0x54b65d?_0x54b65d[_0x326436++]=_0x28adb8:_0x54b65d=new _0x343d65(_0x28adb8);}return _0x54b65d;}var Eq=class{constructor(){this['start']=-0x1,this['value']=-0x1,this['end']=-0x1,this['extended']=-0x1,this['lookAhead']=0x0,this['mask']=0x0,this['context']=0x0;}};const Tq=new Eq();var Aq=class{constructor(_0x580866,_0x5da41c){this['input']=_0x580866,this['ranges']=_0x5da41c,this['chunk']='',this['chunkOff']=0x0,this['chunk2']='',this['chunk2Pos']=0x0,this['next']=-0x1,this['token']=Tq,this['rangeIndex']=0x0,this['pos']=this['chunkPos']=_0x5da41c[0x0]['from'],this['range']=_0x5da41c[0x0],this['end']=_0x5da41c[_0x5da41c['length']-0x1]['to'],this['readNext']();}['resolveOffset'](_0x1eca4e,_0x3e4e96){let _0x17df7d=this['range'],_0x168af4=this['rangeIndex'],_0x2e27b0=this['pos']+_0x1eca4e;for(;_0x2e27b0<_0x17df7d['from'];){if(!_0x168af4)return null;let _0x252342=this['ranges'][--_0x168af4];_0x2e27b0-=_0x17df7d['from']-_0x252342['to'],_0x17df7d=_0x252342;}for(;_0x3e4e96<0x0?_0x2e27b0>_0x17df7d['to']:_0x2e27b0>=_0x17df7d['to'];){if(_0x168af4==this['ranges']['length']-0x1)return null;let _0x5802ad=this['ranges'][++_0x168af4];_0x2e27b0+=_0x5802ad['from']-_0x17df7d['to'],_0x17df7d=_0x5802ad;}return _0x2e27b0;}['clipPos'](_0x514e0a){if(_0x514e0a>=this['range']['from']&&_0x514e0a<this['range']['to'])return _0x514e0a;for(let _0x579905 of this['ranges'])if(_0x579905['to']>_0x514e0a)return Math['max'](_0x514e0a,_0x579905['from']);return this['end'];}['peek'](_0x12b078){let _0x1ae0aa,_0x5336bd,_0x4f2f45=this['chunkOff']+_0x12b078;if(_0x4f2f45>=0x0&&_0x4f2f45<this['chunk']['length'])_0x1ae0aa=this['pos']+_0x12b078,_0x5336bd=this['chunk']['charCodeAt'](_0x4f2f45);else{let _0x2ed8ea=this['resolveOffset'](_0x12b078,0x1);if(null==_0x2ed8ea)return-0x1;if(_0x1ae0aa=_0x2ed8ea,_0x1ae0aa>=this['chunk2Pos']&&_0x1ae0aa<this['chunk2Pos']+this['chunk2']['length'])_0x5336bd=this['chunk2']['charCodeAt'](_0x1ae0aa-this['chunk2Pos']);else{let _0x5b66db=this['rangeIndex'],_0x3194dc=this['range'];for(;_0x3194dc['to']<=_0x1ae0aa;)_0x3194dc=this['ranges'][++_0x5b66db];this['chunk2']=this['input']['chunk'](this['chunk2Pos']=_0x1ae0aa),_0x1ae0aa+this['chunk2']['length']>_0x3194dc['to']&&(this['chunk2']=this['chunk2']['slice'](0x0,_0x3194dc['to']-_0x1ae0aa)),_0x5336bd=this['chunk2']['charCodeAt'](0x0);}}return _0x1ae0aa>=this['token']['lookAhead']&&(this['token']['lookAhead']=_0x1ae0aa+0x1),_0x5336bd;}['acceptToken'](_0x2317d8,_0x2ddcd8=0x0){let _0x394120=_0x2ddcd8?this['resolveOffset'](_0x2ddcd8,-0x1):this['pos'];if(null==_0x394120||_0x394120<this['token']['start'])throw new RangeError('Token\x20end\x20out\x20of\x20bounds');this['token']['value']=_0x2317d8,this['token']['end']=_0x394120;}['acceptTokenTo'](_0x1f545c,_0x4129b4){this['token']['value']=_0x1f545c,this['token']['end']=_0x4129b4;}['getChunk'](){if(this['pos']>=this['chunk2Pos']&&this['pos']<this['chunk2Pos']+this['chunk2']['length']){let {chunk:_0x75dafc,chunkPos:_0x9184a8}=this;this['chunk']=this['chunk2'],this['chunkPos']=this['chunk2Pos'],this['chunk2']=_0x75dafc,this['chunk2Pos']=_0x9184a8,this['chunkOff']=this['pos']-this['chunkPos'];}else{this['chunk2']=this['chunk'],this['chunk2Pos']=this['chunkPos'];let _0x37dc98=this['input']['chunk'](this['pos']),_0x533592=this['pos']+_0x37dc98['length'];this['chunk']=_0x533592>this['range']['to']?_0x37dc98['slice'](0x0,this['range']['to']-this['pos']):_0x37dc98,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'](_0x48a3fd=0x1){for(this['chunkOff']+=_0x48a3fd;this['pos']+_0x48a3fd>=this['range']['to'];){if(this['rangeIndex']==this['ranges']['length']-0x1)return this['setDone']();_0x48a3fd-=this['range']['to']-this['pos'],this['range']=this['ranges'][++this['rangeIndex']],this['pos']=this['range']['from'];}return this['pos']+=_0x48a3fd,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'](_0x27e26f,_0x577225){if(_0x577225?(this['token']=_0x577225,_0x577225['start']=_0x27e26f,_0x577225['lookAhead']=_0x27e26f+0x1,_0x577225['value']=_0x577225['extended']=-0x1):this['token']=Tq,this['pos']!=_0x27e26f){if(this['pos']=_0x27e26f,_0x27e26f==this['end'])return this['setDone'](),this;for(;_0x27e26f<this['range']['from'];)this['range']=this['ranges'][--this['rangeIndex']];for(;_0x27e26f>=this['range']['to'];)this['range']=this['ranges'][++this['rangeIndex']];_0x27e26f>=this['chunkPos']&&_0x27e26f<this['chunkPos']+this['chunk']['length']?this['chunkOff']=_0x27e26f-this['chunkPos']:(this['chunk']='',this['chunkOff']=0x0),this['readNext']();}return this;}['read'](_0x39d4ae,_0x27ebbd){if(_0x39d4ae>=this['chunkPos']&&_0x27ebbd<=this['chunkPos']+this['chunk']['length'])return this['chunk']['slice'](_0x39d4ae-this['chunkPos'],_0x27ebbd-this['chunkPos']);if(_0x39d4ae>=this['chunk2Pos']&&_0x27ebbd<=this['chunk2Pos']+this['chunk2']['length'])return this['chunk2']['slice'](_0x39d4ae-this['chunk2Pos'],_0x27ebbd-this['chunk2Pos']);if(_0x39d4ae>=this['range']['from']&&_0x27ebbd<=this['range']['to'])return this['input']['read'](_0x39d4ae,_0x27ebbd);let _0x4e948c='';for(let _0x4783c6 of this['ranges']){if(_0x4783c6['from']>=_0x27ebbd)break;_0x4783c6['to']>_0x39d4ae&&(_0x4e948c+=this['input']['read'](Math['max'](_0x4783c6['from'],_0x39d4ae),Math['min'](_0x4783c6['to'],_0x27ebbd)));}return _0x4e948c;}},Sq=class{constructor(_0x232ba3,_0x21bad8){this['data']=_0x232ba3,this['id']=_0x21bad8;}['token'](_0x2338e7,_0x39613a){let {parser:_0x4c27d4}=_0x39613a['p'];xq(this['data'],_0x2338e7,_0x39613a,this['id'],_0x4c27d4['data'],_0x4c27d4['tokenPrecTable']);}};Sq['prototype']['contextual']=Sq['prototype']['fallback']=Sq['prototype']['extend']=!0x1;var Iq=class{constructor(_0x1108de,_0x5f2836,_0x1b2534){this['precTable']=_0x5f2836,this['elseToken']=_0x1b2534,this['data']='string'==typeof _0x1108de?_q(_0x1108de):_0x1108de;}['token'](_0x3a2104,_0x3495cb){let _0x502c8a=_0x3a2104['pos'],_0x27f8ca=0x0;for(;;){let _0x1a5254=_0x3a2104['next']<0x0,_0x3fccfe=_0x3a2104['resolveOffset'](0x1,0x1);if(xq(this['data'],_0x3a2104,_0x3495cb,0x0,this['data'],this['precTable']),_0x3a2104['token']['value']>-0x1)break;if(null==this['elseToken'])return;if(_0x1a5254||_0x27f8ca++,null==_0x3fccfe)break;_0x3a2104['reset'](_0x3fccfe,_0x3a2104['token']);}_0x27f8ca&&(_0x3a2104['reset'](_0x502c8a,_0x3a2104['token']),_0x3a2104['acceptToken'](this['elseToken'],_0x27f8ca));}};Iq['prototype']['contextual']=Sq['prototype']['fallback']=Sq['prototype']['extend']=!0x1;var kq=class{constructor(_0x26389a,_0x3af51a={}){this['token']=_0x26389a,this['contextual']=!!_0x3af51a['contextual'],this['fallback']=!!_0x3af51a['fallback'],this['extend']=!!_0x3af51a['extend'];}};function xq(_0x5b9f9b,_0xb7f461,_0x54be14,_0x14fcfe,_0x3e3ce8,_0x2016cd){let _0x3cbd32=0x0,_0x5efa3e=0x1<<_0x14fcfe,{dialect:_0x6d49bd}=_0x54be14['p']['parser'];t:for(;0x0!=(_0x5efa3e&_0x5b9f9b[_0x3cbd32]);){let _0x150958=_0x5b9f9b[_0x3cbd32+0x1];for(let _0x52b1b9=_0x3cbd32+0x3;_0x52b1b9<_0x150958;_0x52b1b9+=0x2)if((_0x5b9f9b[_0x52b1b9+0x1]&_0x5efa3e)>0x0){let _0x54f373=_0x5b9f9b[_0x52b1b9];if(_0x6d49bd['allows'](_0x54f373)&&(-0x1==_0xb7f461['token']['value']||_0xb7f461['token']['value']==_0x54f373||Rq(_0x54f373,_0xb7f461['token']['value'],_0x3e3ce8,_0x2016cd))){_0xb7f461['acceptToken'](_0x54f373);break;}}let _0x137cfc=_0xb7f461['next'],_0x4bbcd7=0x0,_0xbc4df0=_0x5b9f9b[_0x3cbd32+0x2];if(!(_0xb7f461['next']<0x0&&_0xbc4df0>_0x4bbcd7&&0xffff==_0x5b9f9b[_0x150958+0x3*_0xbc4df0-0x3])){for(;_0x4bbcd7<_0xbc4df0;){let _0x461de2=_0x4bbcd7+_0xbc4df0>>0x1,_0x330600=_0x150958+_0x461de2+(_0x461de2<<0x1),_0x4f4868=_0x5b9f9b[_0x330600],_0x5bd620=_0x5b9f9b[_0x330600+0x1]||0x10000;if(_0x137cfc<_0x4f4868)_0xbc4df0=_0x461de2;else{if(!(_0x137cfc>=_0x5bd620)){_0x3cbd32=_0x5b9f9b[_0x330600+0x2],_0xb7f461['advance']();continue t;}_0x4bbcd7=_0x461de2+0x1;}}break;}_0x3cbd32=_0x5b9f9b[_0x150958+0x3*_0xbc4df0-0x1];}}function Cq(_0x22cf6b,_0x3704fa,_0x280767){for(let _0x42f8b2,_0x2da3a2=_0x3704fa;0xffff!=(_0x42f8b2=_0x22cf6b[_0x2da3a2]);_0x2da3a2++)if(_0x42f8b2==_0x280767)return _0x2da3a2-_0x3704fa;return-0x1;}function Rq(_0x3080fd,_0x346e94,_0x44b712,_0x4854f7){let _0x26356a=Cq(_0x44b712,_0x4854f7,_0x346e94);return _0x26356a<0x0||Cq(_0x44b712,_0x4854f7,_0x3080fd)<_0x26356a;}const Pq='undefined'!=typeof process&&process['env']&&/\bparse\b/['test'](process['env']['LOG']);let Mq=null;function Nq(_0x1663f0,_0x467495,_0x37e1e7){let _0x132b1d=_0x1663f0['cursor'](TB['IncludeAnonymous']);for(_0x132b1d['moveTo'](_0x467495);;)if(!(_0x37e1e7<0x0?_0x132b1d['childBefore'](_0x467495):_0x132b1d['childAfter'](_0x467495)))for(;;){if((_0x37e1e7<0x0?_0x132b1d['to']<_0x467495:_0x132b1d['from']>_0x467495)&&!_0x132b1d['type']['isError'])return _0x37e1e7<0x0?Math['max'](0x0,Math['min'](_0x132b1d['to']-0x1,_0x467495-0x19)):Math['min'](_0x1663f0['length'],Math['max'](_0x132b1d['from']+0x1,_0x467495+0x19));if(_0x37e1e7<0x0?_0x132b1d['prevSibling']():_0x132b1d['nextSibling']())break;if(!_0x132b1d['parent']())return _0x37e1e7<0x0?0x0:_0x1663f0['length'];}}var Lq=class{constructor(_0x551b4a,_0x147ec1){this['fragments']=_0x551b4a,this['nodeSet']=_0x147ec1,this['i']=0x0,this['fragment']=null,this['safeFrom']=-0x1,this['safeTo']=-0x1,this['trees']=[],this['start']=[],this['index']=[],this['nextFragment']();}['nextFragment'](){let _0x18493e=this['fragment']=this['i']==this['fragments']['length']?null:this['fragments'][this['i']++];if(_0x18493e){for(this['safeFrom']=_0x18493e['openStart']?Nq(_0x18493e['tree'],_0x18493e['from']+_0x18493e['offset'],0x1)-_0x18493e['offset']:_0x18493e['from'],this['safeTo']=_0x18493e['openEnd']?Nq(_0x18493e['tree'],_0x18493e['to']+_0x18493e['offset'],-0x1)-_0x18493e['offset']:_0x18493e['to'];this['trees']['length'];)this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();this['trees']['push'](_0x18493e['tree']),this['start']['push'](-_0x18493e['offset']),this['index']['push'](0x0),this['nextStart']=this['safeFrom'];}else this['nextStart']=0x3b9aca00;}['nodeAt'](_0x424be8){if(_0x424be8<this['nextStart'])return null;for(;this['fragment']&&this['safeTo']<=_0x424be8;)this['nextFragment']();if(!this['fragment'])return null;for(;;){let _0x4b9632=this['trees']['length']-0x1;if(_0x4b9632<0x0)return this['nextFragment'](),null;let _0x3857d3=this['trees'][_0x4b9632],_0x4fcee6=this['index'][_0x4b9632];if(_0x4fcee6==_0x3857d3['children']['length']){this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();continue;}let _0x3fe714=_0x3857d3['children'][_0x4fcee6],_0xdad01a=this['start'][_0x4b9632]+_0x3857d3['positions'][_0x4fcee6];if(_0xdad01a>_0x424be8)return this['nextStart']=_0xdad01a,null;if(_0x3fe714 instanceof AB){if(_0xdad01a==_0x424be8){if(_0xdad01a<this['safeFrom'])return null;let _0x48b526=_0xdad01a+_0x3fe714['length'];if(_0x48b526<=this['safeTo']){let _0x230f23=_0x3fe714['prop'](OB['lookAhead']);if(!_0x230f23||_0x48b526+_0x230f23<this['fragment']['to'])return _0x3fe714;}}this['index'][_0x4b9632]++,_0xdad01a+_0x3fe714['length']>=Math['max'](this['safeFrom'],_0x424be8)&&(this['trees']['push'](_0x3fe714),this['start']['push'](_0xdad01a),this['index']['push'](0x0));}else this['index'][_0x4b9632]++,this['nextStart']=_0xdad01a+_0x3fe714['length'];}}},$q=class{constructor(_0x4738b3,_0x18ce29){this['stream']=_0x18ce29,this['tokens']=[],this['mainToken']=null,this['actions']=[],this['tokens']=_0x4738b3['tokenizers']['map'](_0x291607=>new Eq());}['getActions'](_0x33df1b){let _0x245573=0x0,_0x58c3b8=null,{parser:_0x5e418c}=_0x33df1b['p'],{tokenizers:_0x42022a}=_0x5e418c,_0x3e0f1f=_0x5e418c['stateSlot'](_0x33df1b['state'],0x3),_0x405dd2=_0x33df1b['curContext']?_0x33df1b['curContext']['hash']:0x0,_0x72965a=0x0;for(let _0x332afd=0x0;_0x332afd<_0x42022a['length'];_0x332afd++){if(!(0x1<<_0x332afd&_0x3e0f1f))continue;let _0x314f41=_0x42022a[_0x332afd],_0x1a6123=this['tokens'][_0x332afd];if((!_0x58c3b8||_0x314f41['fallback'])&&((_0x314f41['contextual']||_0x1a6123['start']!=_0x33df1b['pos']||_0x1a6123['mask']!=_0x3e0f1f||_0x1a6123['context']!=_0x405dd2)&&(this['updateCachedToken'](_0x1a6123,_0x314f41,_0x33df1b),_0x1a6123['mask']=_0x3e0f1f,_0x1a6123['context']=_0x405dd2),_0x1a6123['lookAhead']>_0x1a6123['end']+0x19&&(_0x72965a=Math['max'](_0x1a6123['lookAhead'],_0x72965a)),0x0!=_0x1a6123['value'])){let _0x4bdc64=_0x245573;if(_0x1a6123['extended']>-0x1&&(_0x245573=this['addActions'](_0x33df1b,_0x1a6123['extended'],_0x1a6123['end'],_0x245573)),_0x245573=this['addActions'](_0x33df1b,_0x1a6123['value'],_0x1a6123['end'],_0x245573),!_0x314f41['extend']&&(_0x58c3b8=_0x1a6123,_0x245573>_0x4bdc64))break;}}for(;this['actions']['length']>_0x245573;)this['actions']['pop']();return _0x72965a&&_0x33df1b['setLookAhead'](_0x72965a),_0x58c3b8||_0x33df1b['pos']!=this['stream']['end']||(_0x58c3b8=new Eq(),_0x58c3b8['value']=_0x33df1b['p']['parser']['eofTerm'],_0x58c3b8['start']=_0x58c3b8['end']=_0x33df1b['pos'],_0x245573=this['addActions'](_0x33df1b,_0x58c3b8['value'],_0x58c3b8['end'],_0x245573)),this['mainToken']=_0x58c3b8,this['actions'];}['getMainToken'](_0x5b577c){if(this['mainToken'])return this['mainToken'];let _0x14ab3e=new Eq(),{pos:_0x2d3eed,p:_0x31d816}=_0x5b577c;return _0x14ab3e['start']=_0x2d3eed,_0x14ab3e['end']=Math['min'](_0x2d3eed+0x1,_0x31d816['stream']['end']),_0x14ab3e['value']=_0x2d3eed==_0x31d816['stream']['end']?_0x31d816['parser']['eofTerm']:0x0,_0x14ab3e;}['updateCachedToken'](_0x21abe2,_0x54913e,_0x3245f0){let _0x14f2ea=this['stream']['clipPos'](_0x3245f0['pos']);if(_0x54913e['token'](this['stream']['reset'](_0x14f2ea,_0x21abe2),_0x3245f0),_0x21abe2['value']>-0x1){let {parser:_0x3c9c25}=_0x3245f0['p'];for(let _0x2d8f08=0x0;_0x2d8f08<_0x3c9c25['specialized']['length'];_0x2d8f08++)if(_0x3c9c25['specialized'][_0x2d8f08]==_0x21abe2['value']){let _0x3f0ecf=_0x3c9c25['specializers'][_0x2d8f08](this['stream']['read'](_0x21abe2['start'],_0x21abe2['end']),_0x3245f0);if(_0x3f0ecf>=0x0&&_0x3245f0['p']['parser']['dialect']['allows'](_0x3f0ecf>>0x1)){0x1&_0x3f0ecf?_0x21abe2['extended']=_0x3f0ecf>>0x1:_0x21abe2['value']=_0x3f0ecf>>0x1;break;}}}else _0x21abe2['value']=0x0,_0x21abe2['end']=this['stream']['clipPos'](_0x14f2ea+0x1);}['putAction'](_0x3a2a30,_0x1d4d3b,_0x528ca8,_0x539c7c){for(let _0x110215=0x0;_0x110215<_0x539c7c;_0x110215+=0x3)if(this['actions'][_0x110215]==_0x3a2a30)return _0x539c7c;return this['actions'][_0x539c7c++]=_0x3a2a30,this['actions'][_0x539c7c++]=_0x1d4d3b,this['actions'][_0x539c7c++]=_0x528ca8,_0x539c7c;}['addActions'](_0x5b5d13,_0x552587,_0x404df3,_0x369c51){let {state:_0x4b1844}=_0x5b5d13,{parser:_0x389544}=_0x5b5d13['p'],{data:_0x464f5d}=_0x389544;for(let _0x3b458e=0x0;_0x3b458e<0x2;_0x3b458e++)for(let _0x3bd773=_0x389544['stateSlot'](_0x4b1844,_0x3b458e?0x2:0x1);;_0x3bd773+=0x3){if(0xffff==_0x464f5d[_0x3bd773]){if(0x1!=_0x464f5d[_0x3bd773+0x1]){0x0==_0x369c51&&0x2==_0x464f5d[_0x3bd773+0x1]&&(_0x369c51=this['putAction'](Fq(_0x464f5d,_0x3bd773+0x2),_0x552587,_0x404df3,_0x369c51));break;}_0x3bd773=Fq(_0x464f5d,_0x3bd773+0x2);}_0x464f5d[_0x3bd773]==_0x552587&&(_0x369c51=this['putAction'](Fq(_0x464f5d,_0x3bd773+0x1),_0x552587,_0x404df3,_0x369c51));}return _0x369c51;}},Dq=class{constructor(_0x9c8b3c,_0x465e19,_0x39d181,_0x54ee51){this['parser']=_0x9c8b3c,this['input']=_0x465e19,this['ranges']=_0x54ee51,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 Aq(_0x465e19,_0x54ee51),this['tokens']=new $q(_0x9c8b3c,this['stream']),this['topTerm']=_0x9c8b3c['top'][0x1];let {from:_0x3b67f0}=_0x54ee51[0x0];this['stacks']=[wq['start'](this,_0x9c8b3c['top'][0x0],_0x3b67f0)],this['fragments']=_0x39d181['length']&&this['stream']['end']-_0x3b67f0>0x4*_0x9c8b3c['bufferLength']?new Lq(_0x39d181,_0x9c8b3c['nodeSet']):null;}get['parsedPos'](){return this['minStackPos'];}['advance'](){let _0x72f25b,_0x214cc5,_0x44c909=this['stacks'],_0x147330=this['minStackPos'],_0x4d4058=this['stacks']=[];if(this['bigReductionCount']>0x12c&&0x1==_0x44c909['length']){let [_0x56508a]=_0x44c909;for(;_0x56508a['forceReduce']()&&_0x56508a['stack']['length']&&_0x56508a['stack'][_0x56508a['stack']['length']-0x2]>=this['lastBigReductionStart'];);this['bigReductionCount']=this['lastBigReductionSize']=0x0;}for(let _0x47c190=0x0;_0x47c190<_0x44c909['length'];_0x47c190++){let _0x3e4671=_0x44c909[_0x47c190];for(;;){if(this['tokens']['mainToken']=null,_0x3e4671['pos']>_0x147330)_0x4d4058['push'](_0x3e4671);else{if(this['advanceStack'](_0x3e4671,_0x4d4058,_0x44c909))continue;{_0x72f25b||(_0x72f25b=[],_0x214cc5=[]),_0x72f25b['push'](_0x3e4671);let _0x513c39=this['tokens']['getMainToken'](_0x3e4671);_0x214cc5['push'](_0x513c39['value'],_0x513c39['end']);}}break;}}if(!_0x4d4058['length']){let _0x39e88c=_0x72f25b&&function(_0x5c4425){let _0x901f4a=null;for(let _0x505b2b of _0x5c4425){let _0x3d02fd=_0x505b2b['p']['stoppedAt'];(_0x505b2b['pos']==_0x505b2b['p']['stream']['end']||null!=_0x3d02fd&&_0x505b2b['pos']>_0x3d02fd)&&_0x505b2b['p']['parser']['stateFlag'](_0x505b2b['state'],0x2)&&(!_0x901f4a||_0x901f4a['score']<_0x505b2b['score'])&&(_0x901f4a=_0x505b2b);}return _0x901f4a;}(_0x72f25b);if(_0x39e88c)return Pq&&console['log']('Finish\x20with\x20'+this['stackID'](_0x39e88c)),this['stackToTree'](_0x39e88c);if(this['parser']['strict'])throw Pq&&_0x72f25b&&console['log']('Stuck\x20with\x20token\x20'+(this['tokens']['mainToken']?this['parser']['getName'](this['tokens']['mainToken']['value']):'none')),new SyntaxError('No\x20parse\x20at\x20'+_0x147330);this['recovering']||(this['recovering']=0x5);}if(this['recovering']&&_0x72f25b){let _0x1b6dd3=null!=this['stoppedAt']&&_0x72f25b[0x0]['pos']>this['stoppedAt']?_0x72f25b[0x0]:this['runRecovery'](_0x72f25b,_0x214cc5,_0x4d4058);if(_0x1b6dd3)return Pq&&console['log']('Force-finish\x20'+this['stackID'](_0x1b6dd3)),this['stackToTree'](_0x1b6dd3['forceAll']());}if(this['recovering']){let _0x465b74=0x1==this['recovering']?0x1:0x3*this['recovering'];if(_0x4d4058['length']>_0x465b74){for(_0x4d4058['sort']((_0x1b4ec3,_0xc31b55)=>_0xc31b55['score']-_0x1b4ec3['score']);_0x4d4058['length']>_0x465b74;)_0x4d4058['pop']();}_0x4d4058['some'](_0x553300=>_0x553300['reducePos']>_0x147330)&&this['recovering']--;}else{if(_0x4d4058['length']>0x1){t:for(let _0x46606a=0x0;_0x46606a<_0x4d4058['length']-0x1;_0x46606a++){let _0x258ab5=_0x4d4058[_0x46606a];for(let _0x37ad36=_0x46606a+0x1;_0x37ad36<_0x4d4058['length'];_0x37ad36++){let _0x4b993c=_0x4d4058[_0x37ad36];if(_0x258ab5['sameState'](_0x4b993c)||_0x258ab5['buffer']['length']>0x1f4&&_0x4b993c['buffer']['length']>0x1f4){if(!((_0x258ab5['score']-_0x4b993c['score']||_0x258ab5['buffer']['length']-_0x4b993c['buffer']['length'])>0x0)){_0x4d4058['splice'](_0x46606a--,0x1);continue t;}_0x4d4058['splice'](_0x37ad36--,0x1);}}}_0x4d4058['length']>0xc&&(_0x4d4058['sort']((_0x595330,_0xd5055d)=>_0xd5055d['score']-_0x595330['score']),_0x4d4058['splice'](0xc,_0x4d4058['length']-0xc));}}this['minStackPos']=_0x4d4058[0x0]['pos'];for(let _0xe6e289=0x1;_0xe6e289<_0x4d4058['length'];_0xe6e289++)_0x4d4058[_0xe6e289]['pos']<this['minStackPos']&&(this['minStackPos']=_0x4d4058[_0xe6e289]['pos']);return null;}['stopAt'](_0x5d5bbf){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x5d5bbf)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x5d5bbf;}['advanceStack'](_0x5e8acd,_0x212f9e,_0xae8dbf){let _0x43687e=_0x5e8acd['pos'],{parser:_0x32b487}=this,_0x2ffc79=Pq?this['stackID'](_0x5e8acd)+'\x20->\x20':'';if(null!=this['stoppedAt']&&_0x43687e>this['stoppedAt'])return _0x5e8acd['forceReduce']()?_0x5e8acd:null;if(this['fragments']){let _0x13e4d6=_0x5e8acd['curContext']&&_0x5e8acd['curContext']['tracker']['strict'],_0x47f13a=_0x13e4d6?_0x5e8acd['curContext']['hash']:0x0;for(let _0x4d3a3e=this['fragments']['nodeAt'](_0x43687e);_0x4d3a3e;){let _0x11c1a1=this['parser']['nodeSet']['types'][_0x4d3a3e['type']['id']]==_0x4d3a3e['type']?_0x32b487['getGoto'](_0x5e8acd['state'],_0x4d3a3e['type']['id']):-0x1;if(_0x11c1a1>-0x1&&_0x4d3a3e['length']&&(!_0x13e4d6||(_0x4d3a3e['prop'](OB['contextHash'])||0x0)==_0x47f13a))return _0x5e8acd['useNode'](_0x4d3a3e,_0x11c1a1),Pq&&console['log'](_0x2ffc79+this['stackID'](_0x5e8acd)+('\x20(via\x20reuse\x20of\x20'+_0x32b487['getName'](_0x4d3a3e['type']['id'])+')')),!0x0;if(!(_0x4d3a3e instanceof AB)||0x0==_0x4d3a3e['children']['length']||_0x4d3a3e['positions'][0x0]>0x0)break;let _0xe0c717=_0x4d3a3e['children'][0x0];if(!(_0xe0c717 instanceof AB&&0x0==_0x4d3a3e['positions'][0x0]))break;_0x4d3a3e=_0xe0c717;}}let _0x40759d=_0x32b487['stateSlot'](_0x5e8acd['state'],0x4);if(_0x40759d>0x0)return _0x5e8acd['reduce'](_0x40759d),Pq&&console['log'](_0x2ffc79+this['stackID'](_0x5e8acd)+('\x20(via\x20always-reduce\x20'+_0x32b487['getName'](0xffff&_0x40759d)+')')),!0x0;if(_0x5e8acd['stack']['length']>=0x20d0){for(;_0x5e8acd['stack']['length']>0x1770&&_0x5e8acd['forceReduce'](););}let _0x33ff1a=this['tokens']['getActions'](_0x5e8acd);for(let _0x5d4281=0x0;_0x5d4281<_0x33ff1a['length'];){let _0x101a0b=_0x33ff1a[_0x5d4281++],_0x5347fa=_0x33ff1a[_0x5d4281++],_0x44b218=_0x33ff1a[_0x5d4281++],_0x55e951=_0x5d4281==_0x33ff1a['length']||!_0xae8dbf,_0x1979a1=_0x55e951?_0x5e8acd:_0x5e8acd['split'](),_0x2ce87d=this['tokens']['mainToken'];if(_0x1979a1['apply'](_0x101a0b,_0x5347fa,_0x2ce87d?_0x2ce87d['start']:_0x1979a1['pos'],_0x44b218),Pq&&console['log'](_0x2ffc79+this['stackID'](_0x1979a1)+('\x20(via\x20'+(0x10000&_0x101a0b?'reduce\x20of\x20'+_0x32b487['getName'](0xffff&_0x101a0b):'shift')+'\x20for\x20'+_0x32b487['getName'](_0x5347fa)+'\x20@\x20'+_0x43687e+(_0x1979a1==_0x5e8acd?'':',\x20split')+')')),_0x55e951)return!0x0;_0x1979a1['pos']>_0x43687e?_0x212f9e['push'](_0x1979a1):_0xae8dbf['push'](_0x1979a1);}return!0x1;}['advanceFully'](_0xeed9bd,_0x44acc8){let _0x2a9fd5=_0xeed9bd['pos'];for(;;){if(!this['advanceStack'](_0xeed9bd,null,null))return!0x1;if(_0xeed9bd['pos']>_0x2a9fd5)return Qq(_0xeed9bd,_0x44acc8),!0x0;}}['runRecovery'](_0x3b79cb,_0x512dd8,_0x3d7b7d){let _0xbe8cc9=null,_0x168831=!0x1;for(let _0x91e60b=0x0;_0x91e60b<_0x3b79cb['length'];_0x91e60b++){let _0xd2805a=_0x3b79cb[_0x91e60b],_0x3d390a=_0x512dd8[_0x91e60b<<0x1],_0x350b66=_0x512dd8[0x1+(_0x91e60b<<0x1)],_0x183d16=Pq?this['stackID'](_0xd2805a)+'\x20->\x20':'';if(_0xd2805a['deadEnd']){if(_0x168831)continue;if(_0x168831=!0x0,_0xd2805a['restart'](),Pq&&console['log'](_0x183d16+this['stackID'](_0xd2805a)+'\x20(restarted)'),this['advanceFully'](_0xd2805a,_0x3d7b7d))continue;}let _0x1a0c37=_0xd2805a['split'](),_0x43da68=_0x183d16;for(let _0x3e95c0=0x0;_0x3e95c0<0xa&&_0x1a0c37['forceReduce']()&&(Pq&&console['log'](_0x43da68+this['stackID'](_0x1a0c37)+'\x20(via\x20force-reduce)'),!this['advanceFully'](_0x1a0c37,_0x3d7b7d));_0x3e95c0++)Pq&&(_0x43da68=this['stackID'](_0x1a0c37)+'\x20->\x20');for(let _0x56a72c of _0xd2805a['recoverByInsert'](_0x3d390a))Pq&&console['log'](_0x183d16+this['stackID'](_0x56a72c)+'\x20(via\x20recover-insert)'),this['advanceFully'](_0x56a72c,_0x3d7b7d);this['stream']['end']>_0xd2805a['pos']?(_0x350b66==_0xd2805a['pos']&&(_0x350b66++,_0x3d390a=0x0),_0xd2805a['recoverByDelete'](_0x3d390a,_0x350b66),Pq&&console['log'](_0x183d16+this['stackID'](_0xd2805a)+('\x20(via\x20recover-delete\x20'+this['parser']['getName'](_0x3d390a)+')')),Qq(_0xd2805a,_0x3d7b7d)):(!_0xbe8cc9||_0xbe8cc9['score']<_0x1a0c37['score'])&&(_0xbe8cc9=_0x1a0c37);}return _0xbe8cc9;}['stackToTree'](_0x9bec87){return _0x9bec87['close'](),AB['build']({'buffer':vq['create'](_0x9bec87),'nodeSet':this['parser']['nodeSet'],'topID':this['topTerm'],'maxBufferLength':this['parser']['bufferLength'],'reused':this['reused'],'start':this['ranges'][0x0]['from'],'length':_0x9bec87['pos']-this['ranges'][0x0]['from'],'minRepeatType':this['parser']['minRepeatTerm']});}['stackID'](_0xf3ed15){let _0x522e58=(Mq||(Mq=new WeakMap()))['get'](_0xf3ed15);return _0x522e58||Mq['set'](_0xf3ed15,_0x522e58=String['fromCodePoint'](this['nextStackID']++)),_0x522e58+_0xf3ed15;}};function Qq(_0x392e73,_0x4964ac){for(let _0x10b5ee=0x0;_0x10b5ee<_0x4964ac['length'];_0x10b5ee++){let _0x3c8046=_0x4964ac[_0x10b5ee];if(_0x3c8046['pos']==_0x392e73['pos']&&_0x3c8046['sameState'](_0x392e73))return void(_0x4964ac[_0x10b5ee]['score']<_0x392e73['score']&&(_0x4964ac[_0x10b5ee]=_0x392e73));}_0x4964ac['push'](_0x392e73);}var jq=class{constructor(_0x22c4b9,_0x5b0d5b,_0x12e5d6){this['source']=_0x22c4b9,this['flags']=_0x5b0d5b,this['disabled']=_0x12e5d6;}['allows'](_0x3a97d6){return!this['disabled']||0x0==this['disabled'][_0x3a97d6];}};const Uq=_0x3d838d=>_0x3d838d;var Vq=class{constructor(_0x56c25b){this['start']=_0x56c25b['start'],this['shift']=_0x56c25b['shift']||Uq,this['reduce']=_0x56c25b['reduce']||Uq,this['reuse']=_0x56c25b['reuse']||Uq,this['hash']=_0x56c25b['hash']||(()=>0x0),this['strict']=!0x1!==_0x56c25b['strict'];}},Bq=class LRParser extends GB{constructor(_0xfcdca8){if(super(),this['wrappers']=[],0xe!=_0xfcdca8['version'])throw new RangeError('Parser\x20version\x20('+_0xfcdca8['version']+')\x20doesn\x27t\x20match\x20runtime\x20version\x20(14)');let _0x26e832=_0xfcdca8['nodeNames']['split']('\x20');this['minRepeatTerm']=_0x26e832['length'];for(let _0x7b0427=0x0;_0x7b0427<_0xfcdca8['repeatNodeCount'];_0x7b0427++)_0x26e832['push']('');let _0xa53511=Object['keys'](_0xfcdca8['topRules'])['map'](_0x1feb20=>_0xfcdca8['topRules'][_0x1feb20][0x1]),_0x179558=[];for(let _0x386c54=0x0;_0x386c54<_0x26e832['length'];_0x386c54++)_0x179558['push']([]);function _0x29fc63(_0x57db7b,_0x33eab9,_0x33524e){_0x179558[_0x57db7b]['push']([_0x33eab9,_0x33eab9['deserialize'](String(_0x33524e))]);}if(_0xfcdca8['nodeProps'])for(let _0x46d6bb of _0xfcdca8['nodeProps']){let _0x5e7dae=_0x46d6bb[0x0];'string'==typeof _0x5e7dae&&(_0x5e7dae=OB[_0x5e7dae]);for(let _0x1e1846=0x1;_0x1e1846<_0x46d6bb['length'];){let _0xa26518=_0x46d6bb[_0x1e1846++];if(_0xa26518>=0x0)_0x29fc63(_0xa26518,_0x5e7dae,_0x46d6bb[_0x1e1846++]);else{let _0x38e542=_0x46d6bb[_0x1e1846+-_0xa26518];for(let _0x519380=-_0xa26518;_0x519380>0x0;_0x519380--)_0x29fc63(_0x46d6bb[_0x1e1846++],_0x5e7dae,_0x38e542);_0x1e1846++;}}}this['nodeSet']=new vB(_0x26e832['map']((_0x2d7fc0,_0x4998f7)=>yB['define']({'name':_0x4998f7>=this['minRepeatTerm']?void 0x0:_0x2d7fc0,'id':_0x4998f7,'props':_0x179558[_0x4998f7],'top':_0xa53511['indexOf'](_0x4998f7)>-0x1,'error':0x0==_0x4998f7,'skipped':_0xfcdca8['skippedNodes']&&_0xfcdca8['skippedNodes']['indexOf'](_0x4998f7)>-0x1}))),_0xfcdca8['propSources']&&(this['nodeSet']=this['nodeSet']['extend'](..._0xfcdca8['propSources'])),this['strict']=!0x1,this['bufferLength']=mB;let _0x55eecb=_q(_0xfcdca8['tokenData']);this['context']=_0xfcdca8['context'],this['specializerSpecs']=_0xfcdca8['specialized']||[],this['specialized']=new Uint16Array(this['specializerSpecs']['length']);for(let _0x38f813=0x0;_0x38f813<this['specializerSpecs']['length'];_0x38f813++)this['specialized'][_0x38f813]=this['specializerSpecs'][_0x38f813]['term'];this['specializers']=this['specializerSpecs']['map'](Hq),this['states']=_q(_0xfcdca8['states'],Uint32Array),this['data']=_q(_0xfcdca8['stateData']),this['goto']=_q(_0xfcdca8['goto']),this['maxTerm']=_0xfcdca8['maxTerm'],this['tokenizers']=_0xfcdca8['tokenizers']['map'](_0x1d3e8c=>'number'==typeof _0x1d3e8c?new Sq(_0x55eecb,_0x1d3e8c):_0x1d3e8c),this['topRules']=_0xfcdca8['topRules'],this['dialects']=_0xfcdca8['dialects']||{},this['dynamicPrecedences']=_0xfcdca8['dynamicPrecedences']||null,this['tokenPrecTable']=_0xfcdca8['tokenPrec'],this['termNames']=_0xfcdca8['termNames']||null,this['maxNode']=this['nodeSet']['types']['length']-0x1,this['dialect']=this['parseDialect'](),this['top']=this['topRules'][Object['keys'](this['topRules'])[0x0]];}['createParse'](_0x3cddb0,_0x4947f3,_0x58a990){let _0x5ce05f=new Dq(this,_0x3cddb0,_0x4947f3,_0x58a990);for(let _0xd18287 of this['wrappers'])_0x5ce05f=_0xd18287(_0x5ce05f,_0x3cddb0,_0x4947f3,_0x58a990);return _0x5ce05f;}['getGoto'](_0x2fdfaf,_0x407757,_0x471177=!0x1){let _0x276bdc=this['goto'];if(_0x407757>=_0x276bdc[0x0])return-0x1;for(let _0x4327bc=_0x276bdc[_0x407757+0x1];;){let _0x3e3574=_0x276bdc[_0x4327bc++],_0x186275=0x1&_0x3e3574,_0x30d7a2=_0x276bdc[_0x4327bc++];if(_0x186275&&_0x471177)return _0x30d7a2;for(let _0x1d091a=_0x4327bc+(_0x3e3574>>0x1);_0x4327bc<_0x1d091a;_0x4327bc++)if(_0x276bdc[_0x4327bc]==_0x2fdfaf)return _0x30d7a2;if(_0x186275)return-0x1;}}['hasAction'](_0x399b67,_0x5d0656){let _0x595450=this['data'];for(let _0x42511b=0x0;_0x42511b<0x2;_0x42511b++)for(let _0x22201b,_0x442401=this['stateSlot'](_0x399b67,_0x42511b?0x2:0x1);;_0x442401+=0x3){if(0xffff==(_0x22201b=_0x595450[_0x442401])){if(0x1!=_0x595450[_0x442401+0x1]){if(0x2==_0x595450[_0x442401+0x1])return Fq(_0x595450,_0x442401+0x2);break;}_0x22201b=_0x595450[_0x442401=Fq(_0x595450,_0x442401+0x2)];}if(_0x22201b==_0x5d0656||0x0==_0x22201b)return Fq(_0x595450,_0x442401+0x1);}return 0x0;}['stateSlot'](_0x29af76,_0x38953a){return this['states'][0x6*_0x29af76+_0x38953a];}['stateFlag'](_0x468f48,_0x2e5523){return(this['stateSlot'](_0x468f48,0x0)&_0x2e5523)>0x0;}['validAction'](_0x2be76a,_0xec93e){return!!this['allActions'](_0x2be76a,_0x2e8898=>_0x2e8898==_0xec93e||null);}['allActions'](_0x50136d,_0x5e11cb){let _0x2c5364=this['stateSlot'](_0x50136d,0x4),_0x50d018=_0x2c5364?_0x5e11cb(_0x2c5364):void 0x0;for(let _0x414de2=this['stateSlot'](_0x50136d,0x1);null==_0x50d018;_0x414de2+=0x3){if(0xffff==this['data'][_0x414de2]){if(0x1!=this['data'][_0x414de2+0x1])break;_0x414de2=Fq(this['data'],_0x414de2+0x2);}_0x50d018=_0x5e11cb(Fq(this['data'],_0x414de2+0x1));}return _0x50d018;}['nextStates'](_0x1afea6){let _0x1428bd=[];for(let _0x4db984=this['stateSlot'](_0x1afea6,0x1);;_0x4db984+=0x3){if(0xffff==this['data'][_0x4db984]){if(0x1!=this['data'][_0x4db984+0x1])break;_0x4db984=Fq(this['data'],_0x4db984+0x2);}if(!(0x1&this['data'][_0x4db984+0x2])){let _0x167e71=this['data'][_0x4db984+0x1];_0x1428bd['some']((_0x3dd43d,_0x460fd7)=>0x1&_0x460fd7&&_0x3dd43d==_0x167e71)||_0x1428bd['push'](this['data'][_0x4db984],_0x167e71);}}return _0x1428bd;}['configure'](_0x1ee9de){let _0x4a7d12=Object['assign'](Object['create'](LRParser['prototype']),this);if(_0x1ee9de['props']&&(_0x4a7d12['nodeSet']=this['nodeSet']['extend'](..._0x1ee9de['props'])),_0x1ee9de['top']){let _0xf84007=this['topRules'][_0x1ee9de['top']];if(!_0xf84007)throw new RangeError('Invalid\x20top\x20rule\x20name\x20'+_0x1ee9de['top']);_0x4a7d12['top']=_0xf84007;}return _0x1ee9de['tokenizers']&&(_0x4a7d12['tokenizers']=this['tokenizers']['map'](t=>{let _0x3cfb5f=_0x1ee9de['tokenizers']['find'](_0x158a02=>_0x158a02['from']==t);return _0x3cfb5f?_0x3cfb5f['to']:t;})),_0x1ee9de['specializers']&&(_0x4a7d12['specializers']=this['specializers']['slice'](),_0x4a7d12['specializerSpecs']=this['specializerSpecs']['map']((_0x4ae8c5,_0xf3e714)=>{let _0xe4bf=_0x1ee9de['specializers']['find'](_0x1f6387=>_0x1f6387['from']==_0x4ae8c5['external']);if(!_0xe4bf)return _0x4ae8c5;let _0x406d68=Object['assign'](Object['assign']({},_0x4ae8c5),{'external':_0xe4bf['to']});return _0x4a7d12['specializers'][_0xf3e714]=Hq(_0x406d68),_0x406d68;})),_0x1ee9de['contextTracker']&&(_0x4a7d12['context']=_0x1ee9de['contextTracker']),_0x1ee9de['dialect']&&(_0x4a7d12['dialect']=this['parseDialect'](_0x1ee9de['dialect'])),null!=_0x1ee9de['strict']&&(_0x4a7d12['strict']=_0x1ee9de['strict']),_0x1ee9de['wrap']&&(_0x4a7d12['wrappers']=_0x4a7d12['wrappers']['concat'](_0x1ee9de['wrap'])),null!=_0x1ee9de['bufferLength']&&(_0x4a7d12['bufferLength']=_0x1ee9de['bufferLength']),_0x4a7d12;}['hasWrappers'](){return this['wrappers']['length']>0x0;}['getName'](_0x2dacaf){return this['termNames']?this['termNames'][_0x2dacaf]:String(_0x2dacaf<=this['maxNode']&&this['nodeSet']['types'][_0x2dacaf]['name']||_0x2dacaf);}get['eofTerm'](){return this['maxNode']+0x1;}get['topNode'](){return this['nodeSet']['types'][this['top'][0x1]];}['dynamicPrecedence'](_0xfd60d0){let _0x5d429e=this['dynamicPrecedences'];return null==_0x5d429e?0x0:_0x5d429e[_0xfd60d0]||0x0;}['parseDialect'](_0x3aa51f){let _0x5b3764=Object['keys'](this['dialects']),_0x1a4347=_0x5b3764['map'](()=>!0x1);if(_0x3aa51f)for(let _0x2e7070 of _0x3aa51f['split']('\x20')){let _0x109908=_0x5b3764['indexOf'](_0x2e7070);_0x109908>=0x0&&(_0x1a4347[_0x109908]=!0x0);}let _0x5a8be6=null;for(let _0x53e3a6=0x0;_0x53e3a6<_0x5b3764['length'];_0x53e3a6++)if(!_0x1a4347[_0x53e3a6]){for(let _0x331bac,_0x41e730=this['dialects'][_0x5b3764[_0x53e3a6]];0xffff!=(_0x331bac=this['data'][_0x41e730++]);)(_0x5a8be6||(_0x5a8be6=new Uint8Array(this['maxTerm']+0x1)))[_0x331bac]=0x1;}return new jq(_0x3aa51f,_0x1a4347,_0x5a8be6);}static['deserialize'](_0x4f78ab){return new LRParser(_0x4f78ab);}};function Fq(_0x10e11f,_0xbd950e){return _0x10e11f[_0xbd950e]|_0x10e11f[_0xbd950e+0x1]<<0x10;}function Hq(_0x1a5265){if(_0x1a5265['external']){let _0x1d160b=_0x1a5265['extend']?0x1:0x0;return(_0x2b6fab,_0x3c68bf)=>_0x1a5265['external'](_0x2b6fab,_0x3c68bf)<<0x1|_0x1d160b;}return _0x1a5265['get'];}const Zq={'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},Gq={'dd':!0x0,'li':!0x0,'optgroup':!0x0,'option':!0x0,'p':!0x0,'rp':!0x0,'rt':!0x0,'tbody':!0x0,'td':!0x0,'tfoot':!0x0,'th':!0x0,'tr':!0x0},Xq={'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 qq(_0x21de25){return 0x2d==_0x21de25||0x2e==_0x21de25||0x3a==_0x21de25||_0x21de25>=0x41&&_0x21de25<=0x5a||0x5f==_0x21de25||_0x21de25>=0x61&&_0x21de25<=0x7a||_0x21de25>=0xa1;}let Wq=null,zq=null,Yq=0x0;function Kq(_0x5d1e3f,_0x5ceb77){let _0x25b280=_0x5d1e3f['pos']+_0x5ceb77;if(Yq==_0x25b280&&zq==_0x5d1e3f)return Wq;let _0x81273e=_0x5d1e3f['peek'](_0x5ceb77),_0x5cb650='';for(;qq(_0x81273e);)_0x5cb650+=String['fromCharCode'](_0x81273e),_0x81273e=_0x5d1e3f['peek'](++_0x5ceb77);return zq=_0x5d1e3f,Yq=_0x25b280,Wq=_0x5cb650?_0x5cb650['toLowerCase']():_0x81273e==Jq||_0x81273e==tW?void 0x0:null;}const Jq=0x3f,tW=0x21;function eW(_0x407f89,_0x5d7333){this['name']=_0x407f89,this['parent']=_0x5d7333;}const iW=[0x6,0xa,0x7,0x8,0x9],sW=new Vq({'start':null,'shift':(_0x216e8b,_0x1ed25f,_0x410216,_0x2011c7)=>iW['indexOf'](_0x1ed25f)>-0x1?new eW(Kq(_0x2011c7,0x1)||'',_0x216e8b):_0x216e8b,'reduce':(_0x4f081f,_0x4a52e5)=>0x15==_0x4a52e5&&_0x4f081f?_0x4f081f['parent']:_0x4f081f,'reuse'(_0x40a710,_0x28e2ac,_0x4933c7,_0x37bb44){let _0x2ec096=_0x28e2ac['type']['id'];return 0x6==_0x2ec096||0x25==_0x2ec096?new eW(Kq(_0x37bb44,0x1)||'',_0x40a710):_0x40a710;},'strict':!0x1}),nW=new kq((_0x181ff5,_0x26a8b8)=>{if(0x3c!=_0x181ff5['next'])return void(_0x181ff5['next']<0x0&&_0x26a8b8['context']&&_0x181ff5['acceptToken'](0x3a));_0x181ff5['advance']();let _0x1f0828=0x2f==_0x181ff5['next'];_0x1f0828&&_0x181ff5['advance']();let _0x326338=Kq(_0x181ff5,0x0);if(void 0x0===_0x326338)return;if(!_0x326338)return _0x181ff5['acceptToken'](_0x1f0828?0xf:0xe);let _0x43692c=_0x26a8b8['context']?_0x26a8b8['context']['name']:null;if(_0x1f0828){if(_0x326338==_0x43692c)return _0x181ff5['acceptToken'](0xb);if(_0x43692c&&Gq[_0x43692c])return _0x181ff5['acceptToken'](0x3a,-0x2);if(_0x26a8b8['dialectEnabled'](0x0))return _0x181ff5['acceptToken'](0xc);for(let _0x50ca81=_0x26a8b8['context'];_0x50ca81;_0x50ca81=_0x50ca81['parent'])if(_0x50ca81['name']==_0x326338)return;_0x181ff5['acceptToken'](0xd);}else{if('script'==_0x326338)return _0x181ff5['acceptToken'](0x7);if('style'==_0x326338)return _0x181ff5['acceptToken'](0x8);if('textarea'==_0x326338)return _0x181ff5['acceptToken'](0x9);if(Zq['hasOwnProperty'](_0x326338))return _0x181ff5['acceptToken'](0xa);_0x43692c&&Xq[_0x43692c]&&Xq[_0x43692c][_0x326338]?_0x181ff5['acceptToken'](0x3a,-0x1):_0x181ff5['acceptToken'](0x6);}},{'contextual':!0x0}),rW=new kq(_0x27c595=>{for(let _0xa39a5a=0x0,_0x17e3f3=0x0;;_0x17e3f3++){if(_0x27c595['next']<0x0){_0x17e3f3&&_0x27c595['acceptToken'](0x3b);break;}if(0x2d==_0x27c595['next'])_0xa39a5a++;else{if(0x3e==_0x27c595['next']&&_0xa39a5a>=0x2){_0x17e3f3>=0x3&&_0x27c595['acceptToken'](0x3b,-0x2);break;}_0xa39a5a=0x0;}_0x27c595['advance']();}}),oW=new kq((_0x5d5ea9,_0x4fa3c8)=>{if(0x2f==_0x5d5ea9['next']&&0x3e==_0x5d5ea9['peek'](0x1)){let _0x1e64fb=_0x4fa3c8['dialectEnabled'](0x1)||function(_0x31bdf8){for(;_0x31bdf8;_0x31bdf8=_0x31bdf8['parent'])if('svg'==_0x31bdf8['name']||'math'==_0x31bdf8['name'])return!0x0;return!0x1;}(_0x4fa3c8['context']);_0x5d5ea9['acceptToken'](_0x1e64fb?0x5:0x4,0x2);}else 0x3e==_0x5d5ea9['next']&&_0x5d5ea9['acceptToken'](0x4,0x1);});function aW(_0x49f41f,_0x56cab8,_0x5a1618){let _0x3ed550=0x2+_0x49f41f['length'];return new kq(_0x1a6962=>{for(let _0x42ea71=0x0,_0x2251c5=0x0,_0x1029da=0x0;;_0x1029da++){if(_0x1a6962['next']<0x0){_0x1029da&&_0x1a6962['acceptToken'](_0x56cab8);break;}if(0x0==_0x42ea71&&0x3c==_0x1a6962['next']||0x1==_0x42ea71&&0x2f==_0x1a6962['next']||_0x42ea71>=0x2&&_0x42ea71<_0x3ed550&&_0x1a6962['next']==_0x49f41f['charCodeAt'](_0x42ea71-0x2))_0x42ea71++,_0x2251c5++;else{if(_0x42ea71==_0x3ed550&&0x3e==_0x1a6962['next']){_0x1029da>_0x2251c5?_0x1a6962['acceptToken'](_0x56cab8,-_0x2251c5):_0x1a6962['acceptToken'](_0x5a1618,-(_0x2251c5-0x2));break;}if((0xa==_0x1a6962['next']||0xd==_0x1a6962['next'])&&_0x1029da){_0x1a6962['acceptToken'](_0x56cab8,0x1);break;}_0x42ea71=_0x2251c5=0x0;}_0x1a6962['advance']();}});}const cW=aW('script',0x37,0x1),lW=aW('style',0x38,0x2),hW=aW('textarea',0x39,0x3),uW=dF({'Text\x20RawText\x20IncompleteTag\x20IncompleteCloseTag':PF['content'],'StartTag\x20StartCloseTag\x20SelfClosingEndTag\x20EndTag':PF['angleBracket'],'TagName':PF['tagName'],'MismatchedCloseTag/TagName':[PF['tagName'],PF['invalid']],'AttributeName':PF['attributeName'],'AttributeValue\x20UnquotedAttributeValue':PF['attributeValue'],'Is':PF['definitionOperator'],'EntityReference\x20CharacterReference':PF['character'],'Comment':PF['blockComment'],'ProcessingInst':PF['processingInstruction'],'DoctypeDecl':PF['documentMeta']}),dW=Bq['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':sW,'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':[uW],'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':[cW,lW,hW,oW,nW,rW,0x0,0x1,0x2,0x3,0x4,0x5],'topRules':{'Document':[0x0,0x10]},'dialects':{'noMatch':0x0,'selfClosing':0x203},'tokenPrec':0x205});function fW(_0x190f33,_0x52c422){let _0x420058=Object['create'](null);for(let _0x37f0a9 of _0x190f33['getChildren'](0x18)){let _0xf30487=_0x37f0a9['getChild'](0x19),_0x59b076=_0x37f0a9['getChild'](0x1b)||_0x37f0a9['getChild'](0x1c);_0xf30487&&(_0x420058[_0x52c422['read'](_0xf30487['from'],_0xf30487['to'])]=_0x59b076?0x1b==_0x59b076['type']['id']?_0x52c422['read'](_0x59b076['from']+0x1,_0x59b076['to']-0x1):_0x52c422['read'](_0x59b076['from'],_0x59b076['to']):'');}return _0x420058;}function mW(_0x43f9c8,_0x3f6934){let _0x5c4cdc=_0x43f9c8['getChild'](0x17);return _0x5c4cdc?_0x3f6934['read'](_0x5c4cdc['from'],_0x5c4cdc['to']):'\x20';}function pW(_0x50afb4,_0x36cd76,_0x5f2b6e){let _0x3814d3;for(let _0x4a893c of _0x5f2b6e)if(!_0x4a893c['attrs']||_0x4a893c['attrs'](_0x3814d3||(_0x3814d3=fW(_0x50afb4['node']['parent']['firstChild'],_0x36cd76))))return{'parser':_0x4a893c['parser'],'bracketed':!0x0};return null;}function gW(_0x4b14f6=[],_0x350770=[]){let _0x690e98=[],_0x2748c6=[],_0x20d718=[],_0x5d5dc2=[];for(let _0x32076b of _0x4b14f6)('script'==_0x32076b['tag']?_0x690e98:'style'==_0x32076b['tag']?_0x2748c6:'textarea'==_0x32076b['tag']?_0x20d718:_0x5d5dc2)['push'](_0x32076b);let _0xc5e6dd=_0x350770['length']?Object['create'](null):null;for(let _0x5e8a82 of _0x350770)(_0xc5e6dd[_0x5e8a82['name']]||(_0xc5e6dd[_0x5e8a82['name']]=[]))['push'](_0x5e8a82);return qB((_0x2a405e,_0x3fd904)=>{let _0x5ecbac=_0x2a405e['type']['id'];if(0x1d==_0x5ecbac)return pW(_0x2a405e,_0x3fd904,_0x690e98);if(0x20==_0x5ecbac)return pW(_0x2a405e,_0x3fd904,_0x2748c6);if(0x23==_0x5ecbac)return pW(_0x2a405e,_0x3fd904,_0x20d718);if(0x15==_0x5ecbac&&_0x5d5dc2['length']){let _0x292247,_0x305803=_0x2a405e['node'],_0xf5b533=_0x305803['firstChild'],_0x3f4ae4=_0xf5b533&&mW(_0xf5b533,_0x3fd904);if(_0x3f4ae4){for(let _0x498e56 of _0x5d5dc2)if(_0x498e56['tag']==_0x3f4ae4&&(!_0x498e56['attrs']||_0x498e56['attrs'](_0x292247||(_0x292247=fW(_0xf5b533,_0x3fd904))))){let _0x48c7af=_0x305803['lastChild'],_0x11bd00=0x26==_0x48c7af['type']['id']?_0x48c7af['from']:_0x305803['to'];if(_0x11bd00>_0xf5b533['to'])return{'parser':_0x498e56['parser'],'overlay':[{'from':_0xf5b533['to'],'to':_0x11bd00}]};}}}if(_0xc5e6dd&&0x18==_0x5ecbac){let _0x4124c2,_0x1617c0=_0x2a405e['node'];if(_0x4124c2=_0x1617c0['firstChild']){let _0x4459fb=_0xc5e6dd[_0x3fd904['read'](_0x4124c2['from'],_0x4124c2['to'])];if(_0x4459fb)for(let _0x54ecdf of _0x4459fb){if(_0x54ecdf['tagName']&&_0x54ecdf['tagName']!=mW(_0x1617c0['parent'],_0x3fd904))continue;let _0x2847a7=_0x1617c0['lastChild'];if(0x1b==_0x2847a7['type']['id']){let _0x5b2e48=_0x2847a7['from']+0x1,_0x4d121a=_0x2847a7['lastChild'],_0x417edf=_0x2847a7['to']-(_0x4d121a&&_0x4d121a['isError']?0x0:0x1);if(_0x417edf>_0x5b2e48)return{'parser':_0x54ecdf['parser'],'overlay':[{'from':_0x5b2e48,'to':_0x417edf}],'bracketed':!0x0};}else{if(0x1c==_0x2847a7['type']['id'])return{'parser':_0x54ecdf['parser'],'overlay':[{'from':_0x2847a7['from'],'to':_0x2847a7['to']}]};}}}}return null;});}const OW=[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 wW(_0x52ba48){return _0x52ba48>=0x41&&_0x52ba48<=0x5a||_0x52ba48>=0x61&&_0x52ba48<=0x7a||_0x52ba48>=0xa1;}function bW(_0x290c37){return _0x290c37>=0x30&&_0x290c37<=0x39;}function yW(_0xa82ef){return bW(_0xa82ef)||_0xa82ef>=0x61&&_0xa82ef<=0x66||_0xa82ef>=0x41&&_0xa82ef<=0x46;}const vW=(_0xe841ac,_0x4c30ed,_0x185331)=>(_0x32e637,_0x108038)=>{for(let _0x57c713=!0x1,_0x19e0fe=0x0,_0x104196=0x0;;_0x104196++){let {next:_0x5d53d9}=_0x32e637;if(wW(_0x5d53d9)||0x2d==_0x5d53d9||0x5f==_0x5d53d9||_0x57c713&&bW(_0x5d53d9))!_0x57c713&&(0x2d!=_0x5d53d9||_0x104196>0x0)&&(_0x57c713=!0x0),_0x19e0fe===_0x104196&&0x2d==_0x5d53d9&&_0x19e0fe++,_0x32e637['advance']();else{if(0x5c!=_0x5d53d9||0xa==_0x32e637['peek'](0x1)){_0x57c713&&_0x32e637['acceptToken'](0x2==_0x19e0fe&&_0x108038['canShift'](0x2)?_0x4c30ed:0x28==_0x5d53d9?_0x185331:_0xe841ac);break;}if(_0x32e637['advance'](),yW(_0x32e637['next'])){do{_0x32e637['advance']();}while(yW(_0x32e637['next']));0x20==_0x32e637['next']&&_0x32e637['advance']();}else _0x32e637['next']>-0x1&&_0x32e637['advance']();_0x57c713=!0x0;}}},_W=new kq(vW(0x88,0x2,0x89),{'contextual':!0x0}),EW=new kq(vW(0x8a,0x3,0x4),{'contextual':!0x0}),TW=new kq(_0x4af43f=>{if(OW['includes'](_0x4af43f['peek'](-0x1))){let {next:_0x1931f5}=_0x4af43f;(wW(_0x1931f5)||0x5f==_0x1931f5||0x23==_0x1931f5||0x2e==_0x1931f5||0x2a==_0x1931f5||0x5b==_0x1931f5||0x3a==_0x1931f5&&wW(_0x4af43f['peek'](0x1))||0x2d==_0x1931f5||0x26==_0x1931f5)&&_0x4af43f['acceptToken'](0x87);}}),AW=new kq(_0x159f98=>{if(!OW['includes'](_0x159f98['peek'](-0x1))){let {next:_0x3367ce}=_0x159f98;if(0x25==_0x3367ce&&(_0x159f98['advance'](),_0x159f98['acceptToken'](0x1)),wW(_0x3367ce)){do{_0x159f98['advance']();}while(wW(_0x159f98['next'])||bW(_0x159f98['next']));_0x159f98['acceptToken'](0x1);}}}),SW=dF({'AtKeyword\x20import\x20charset\x20namespace\x20keyframes\x20media\x20supports\x20font-feature-values':PF['definitionKeyword'],'from\x20to\x20selector\x20scope\x20MatchFlag':PF['keyword'],'NamespaceName':PF['namespace'],'KeyframeName':PF['labelName'],'KeyframeRangeName':PF['operatorKeyword'],'TagName':PF['tagName'],'ClassName':PF['className'],'PseudoClassName':PF['constant'](PF['className']),'IdName':PF['labelName'],'FeatureName\x20PropertyName':PF['propertyName'],'AttributeName':PF['attributeName'],'NumberLiteral':PF['number'],'KeywordQuery':PF['keyword'],'UnaryQueryOp':PF['operatorKeyword'],'CallTag\x20ValueName\x20FontName':PF['atom'],'VariableName':PF['variableName'],'Callee':PF['operatorKeyword'],'Unit':PF['unit'],'UniversalSelector\x20NestingSelector':PF['definitionOperator'],'MatchOp\x20CompareOp':PF['compareOperator'],'ChildOp\x20SiblingOp,\x20LogicOp':PF['logicOperator'],'BinOp':PF['arithmeticOperator'],'Important':PF['modifier'],'Comment':PF['blockComment'],'ColorLiteral':PF['color'],'ParenthesizedContent\x20StringLiteral':PF['string'],':':PF['punctuation'],'PseudoOp\x20#':PF['derefOperator'],';\x20,\x20|':PF['separator'],'(\x20)':PF['paren'],'[\x20]':PF['squareBracket'],'{\x20}':PF['brace']}),IW={'__proto__':null,'lang':0x2c,'nth-child':0x2c,'nth-last-child':0x2c,'nth-of-type':0x2c,'nth-last-of-type':0x2c,'dir':0x2c,'host-context':0x2c,'if':0x5a,'url':0x84,'url-prefix':0x84,'domain':0x84,'regexp':0x84},kW={'__proto__':null,'or':0x68,'and':0x68,'not':0x70,'only':0x70,'layer':0xba},xW={'__proto__':null,'selector':0x76,'layer':0xb6},CW={'__proto__':null,'@import':0xb2,'@media':0xbe,'@charset':0xc2,'@namespace':0xc6,'@keyframes':0xcc,'@supports':0xd8,'@scope':0xdc,'@font-feature-values':0xe2},RW={'__proto__':null,'to':0xdf},PW=Bq['deserialize']({'version':0xe,'states':'IpQYQdOOO#}QdOOP$UO`OOO%OQaO\x27#CfOOQP\x27#Ce\x27#CeO%VQdO\x27#CgO%[Q`O\x27#CgO%aQaO\x27#FdO&XQdO\x27#CkO&xQaO\x27#CcO\x27SQdO\x27#CnO\x27_QdO\x27#DtO\x27dQdO\x27#DvO\x27oQdO\x27#D}O\x27oQdO\x27#EQOOQP\x27#Fd\x27#FdO)OQhO\x27#EsOOQS\x27#Fc\x27#FcOOQS\x27#Ev\x27#EvQYQdOOO)VQdO\x27#EWO*cQhO\x27#E^O)VQdO\x27#E`O*jQdO\x27#EbO*uQdO\x27#EeO)zQhO\x27#EkO*}QdO\x27#EmO+YQdO\x27#EpO+_QaO\x27#CfO+fQ`O\x27#ETO+kQ`O\x27#FnO+vQdO\x27#FnQOQ`OOP,QO&jO\x27#CaPOOO)CAR)CAROOQP\x27#Ci\x27#CiOOQP,59R,59RO%VQdO,59ROOQP\x27#Cm\x27#CmOOQP,59V,59VO&XQdO,59VO,]QdO,59YO\x27_QdO,5:`O\x27dQdO,5:bO\x27oQdO,5:iO\x27oQdO,5:kO\x27oQdO,5:lO\x27oQdO\x27#E}O,hQ`O,58}O,pQdO\x27#ESOOQS,58},58}OOQP\x27#Cq\x27#CqOOQO\x27#Dr\x27#DrOOQP,59Y,59YO,wQ`O,59YO,|Q`O,59YOOQP\x27#Du\x27#DuOOQP,5:`,5:`O-RQpO\x27#DwO-^QdO\x27#DxO-cQ`O\x27#DxO-hQpO,5:bO.RQaO,5:iO.iQaO,5:lOOQW\x27#D^\x27#D^O/eQhO\x27#DgO/xQhO,5;_O)zQhO\x27#DeO0VQ`O\x27#DkO0[QhO\x27#DnOOQW\x27#Fj\x27#FjOOQS,5;_,5;_O0aQ`O\x27#DhOOQS-E8t-E8tOOQ[\x27#Cv\x27#CvO0fQdO\x27#CwO0|QdO\x27#C}O1dQdO\x27#DQO1zQ!pO\x27#DSO4TQ!jO,5:rOOQO\x27#DX\x27#DXO,|Q`O\x27#DWO4eQ!nO\x27#FgO6hQ`O\x27#DYO6mQ`O\x27#DoOOQ[\x27#Fg\x27#FgO6rQhO\x27#FqO7QQ`O,5:xO7VQ!bO,5:zOOQS\x27#Ed\x27#EdO7_Q`O,5:|O7dQdO,5:|OOQO\x27#Eg\x27#EgO7lQ`O,5;PO7qQhO,5;VO\x27oQdO\x27#DjOOQS,5;X,5;XO0aQ`O,5;XO7yQdO,5;XOOQS\x27#FU\x27#FUO8RQdO\x27#ErO7QQ`O,5;[O8ZQdO,5:oO8kQdO\x27#FPO8xQ`O,5<YO8xQ`O,5<YPOOO\x27#Eu\x27#EuP9TO&jO,58{POOO,58{,58{OOQP1G.m1G.mOOQP1G.q1G.qOOQP1G.t1G.tO,wQ`O1G.tO,|Q`O1G.tOOQP1G/z1G/zO9`QpO1G/|O9hQaO1G0TO:OQaO1G0VO:fQaO1G0WO:|QaO,5;iOOQO-E8{-E8{OOQS1G.i1G.iO;WQ`O,5:nO;]QdO\x27#DsO;dQdO\x27#CuOOQO\x27#Dz\x27#DzOOQO,5:d,5:dO-^QdO,5:dOOQP1G/|1G/|O)VQdO1G/|O;kQ!jO\x27#D^O;yQ!bO,59yO<RQhO,5:ROOQO\x27#Fk\x27#FkO;|Q!bO,59}O<ZQhO\x27#FVO)zQhO,59{O)zQhO\x27#FVO=OQhO1G0yOOQS1G0y1G0yO=YQhO,5:PO>QQhO\x27#DlOOQW,5:V,5:VOOQW,5:Y,5:YOOQW,5:S,5:SO>[Q!fO\x27#FhOOQS\x27#Fh\x27#FhOOQS\x27#Ex\x27#ExO?lQdO,59cOOQ[,59c,59cO@SQdO,59iOOQ[,59i,59iO@jQdO,59lOOQ[,59l,59lOOQ[,59n,59nO)VQdO,59pOAQQhO\x27#EYOOQW\x27#EY\x27#EYOAlQ`O1G0^O4^QhO1G0^OOQ[,59r,59rO)zQhO\x27#D[OOQ[,59t,59tOAqQ#tO,5:ZOA|QhO\x27#FROBZQ`O,5<]OOQS1G0d1G0dOOQS1G0f1G0fOOQS1G0h1G0hOBfQ`O1G0hOBkQdO\x27#EhOOQS1G0k1G0kOOQS1G0q1G0qOBvQaO,5:UO7QQ`O1G0sOOQS1G0s1G0sO0aQ`O1G0sOOQS-E9S-E9SOOQS1G0v1G0vOB}Q!fO1G0ZOCeQ`O\x27#EVOOQO1G0Z1G0ZOOQO,5;k,5;kOCjQdO,5;kOOQO-E8}-E8}OCwQ`O1G1tPOOO-E8s-E8sPOOO1G.g1G.gOOQP7+$`7+$`OOQP7+%h7+%hO)VQdO7+%hOOQS1G0Y1G0YODSQaO\x27#FmOD^Q`O,5:_ODcQ!fO\x27#EwOEaQdO\x27#FfOEkQ`O,59aOOQO1G0O1G0OOEpQ!bO7+%hO)VQdO1G/eOE{QhO1G/iOOQW1G/m1G/mOOQW1G/g1G/gOF^QhO,5;qOOQW-E9T-E9TOOQS7+&e7+&eOGRQhO\x27#D^OGaQhO\x27#FlOGlQ`O\x27#FlOGqQ`O,5:WOOQS-E8v-E8vOOQ[1G.}1G.}OOQ[1G/T1G/TOOQ[1G/W1G/WOOQ[1G/[1G/[OGvQdO,5:tOOQS7+%x7+%xOG{Q`O7+%xOHQQhO\x27#D]OHYQ`O,59vO)zQhO,59vOOQ[1G/u1G/uOHbQ`O1G/uOHgQhO,5;mOOQO-E9P-E9POOQS7+&S7+&SOHuQbO\x27#DSOOQO\x27#Ej\x27#EjOITQ`O\x27#EiOOQO\x27#Ei\x27#EiOI`Q`O\x27#FSOIhQdO,5;SOOQS,5;S,5;SOOQ[1G/p1G/pOOQS7+&_7+&_O7QQ`O7+&_OIsQ!fO\x27#FOO)VQdO\x27#FOOJzQdO7+%uOOQO7+%u7+%uOOQO,5:q,5:qOOQO1G1V1G1VOK_Q!bO<<ISOKjQdO\x27#E|OKtQ`O,5<XOOQP1G/y1G/yOOQS-E8u-E8uOK|QdO\x27#E{OLWQ`O,5<QOOQ]1G.{1G.{OOQP<<IS<<ISOL`Q`O<<ISOLeQdO7+%POOQO\x27#D`\x27#D`OLlQ!bO7+%TOLtQhO\x27#EzOMRQ`O,5<WO)VQdO,5<WOOQW1G/r1G/rOOQO\x27#E[\x27#E[OMZQ`O1G0`OOQS<<Id<<IdO)VQdO,59wOMzQhO1G/bOOQ[1G/b1G/bONRQ`O1G/bOOQW-E8w-E8wOOQ[7+%a7+%aOOQO,5;T,5;TOBnQdO\x27#FTOI`Q`O,5;nOOQS,5;n,5;nOOQS-E9Q-E9QOOQS1G0n1G0nOOQS<<Iy<<IyONZQ!fO,5;jOOQS-E8|-E8|OOQO<<Ia<<IaOOQPAN>nAN>nO!\x20bQ`OAN>nO!\x20gQaO,5;hOOQO-E8z-E8zO!\x20qQdO,5;gOOQO-E8y-E8yOOQW<<Hk<<HkOOQW<<Ho<<HoO!\x20{QhO<<HoO!!^QhO,5;fO!!iQ`O,5;fOOQO-E8x-E8xO!!nQdO1G1rOGvQdO\x27#FQO!!xQ`O7+%zOOQW7+%z7+%zO!#QQ!bO1G/cOOQ[7+$|7+$|O!#]QhO7+$|P!#dQ`O\x27#EyOOQO,5;o,5;oOOQO-E9R-E9ROOQS1G1Y1G1YOOQPG24YG24YO!#iQ`OAN>ZO)VQdO1G1QO!#nQ`O7+\x27^OOQO,5;l,5;lOOQO-E9O-E9OOOQW<<If<<IfOOQ[<<Hh<<HhPOQW,5;e,5;eOOQWG23uG23uO!#vQdO7+&l','stateData':'!$Z~O$QOS$RQQ~OWVO^_O`WOcYOdYOl`OmZOp[O!r]O!u^O!{dO#ReO#TfO#VgO#YhO#`iO#bjO#ekO#|RO$XTO~OQmOWVO^_O`WOcYOdYOl`OmZOp[O!r]O!u^O!{dO#ReO#TfO#VgO#YhO#`iO#bjO#ekO#|lO$XTO~O#z$bP~P!jO$RqO~O`YXcYXdYXmYXpYXsYX!aYX!rYX!uYX#{YX$X[X~OgYX~P$ZO#|sO~O$XuO~O$XuO`$WXc$WXd$WXm$WXp$WXs$WX!a$WX!r$WX!u$WX#{$WXg$WX~O#|vO~O`xOcyOdyOmzOp{O!r|O!u!OO#{}O~Os!RO!a!PO~P&^Of!XO#|!TO#}!UO~O#|!YO~OW!^O#|![O$X!]O~OWVO^_O`WOcYOdYOmZOp[O!r]O!u^O#|RO$XTO~OS!fOc!gOd!gOh!cOs!RO!Y!eO!]!jO$O!bO~On!iO~P(dOQ!tOh!mOp!nOs!oOu!wOw!wO}!uO!d!vO#|!lO#}!rO$]!pO~OS!fOc!gOd!gOh!cO!Y!eO!]!jO$O!bO~Os$eP~P)zOw!|O!d!vO#|!{O~Ow#OO#|#OO~Oh#ROs!RO#c#TO~O#|#VO~Oc!xX~P$ZOc#YO~On#ZO#z$bXr$bX~O#z$bXr$bX~P!jO$S#^O$T#^O$U#`O~Of#eO#|!TO#}!UO~Os!RO!a!PO~Or$bP~P!jOh#oO~Oh#pO~Oo!kX!o!kX$X!mX~O#|#qO~O$X#sO~Oo#tO!o#uO~O`xOcyOdyOmzOp{O~Os!qa!a!qa!r!qa!u!qa#{!qag!qa~P-pOs!ta!a!ta!r!ta!u!ta#{!tag!ta~P-pOS!fOc!gOd!gOh!cO!Y!eO!]!jO~OR#yOu#yOw#yO$O#vO$]!pO~P/POn$PO!U#|O!a#}O~P(dOh$RO~O$O$TO~Oh#RO~O`$WOc$WOg$ZOl$WOm$WOn$WO~P)VO`$WOc$WOl$WOm$WOn$WOo$]O~P)VO`$WOc$WOl$WOm$WOn$WOr$_O~P)VOP$`OSvXcvXdvXhvXnvXyvX!YvX!]vX!}vX#PvX$OvX!WvXQvX`vXgvXlvXmvXpvXsvXuvXwvX}vX!dvX#|vX#}vX$]vXovXrvX!avX#zvX$dvX!pvX~Oy$aO!}$bO#P$cOn$eP~P)zOh#pOS$ZXc$ZXd$ZXn$ZXy$ZX!Y$ZX!]$ZX!}$ZX#P$ZX$O$ZXQ$ZX`$ZXg$ZXl$ZXm$ZXp$ZXs$ZXu$ZXw$ZX}$ZX!d$ZX#|$ZX#}$ZX$]$ZXo$ZXr$ZX!a$ZX#z$ZX$d$ZX!p$ZX~Oh$gO~Oh$iO~O!U#|O!a$jOs$eXn$eX~Os!RO~On$mOy$aO~On$nO~Ow$oO!d!vO~Os$pO~Os!RO!U#|O~Os!RO#c$vO~O#|#VOs#fX~O$d$zOn!wa#z!war!wa~P)VOn#sX#z#sXr#sX~P!jOn#ZO#z$bar$ba~O$S#^O$T#^O$U%RO~Oo%TO!o%UO~Os!qi!a!qi!r!qi!u!qi#{!qig!qi~P-pOs!si!a!si!r!si!u!si#{!sig!si~P-pOs!ti!a!ti!r!ti!u!ti#{!tig!ti~P-pOs#qa!a#qa~P&^Or%VO~Og$aP~P\x27oOg$YP~P)VOc!SXg!QX!U!QX!W!SX~Oc%_O!W%`O~Og%aO!U#|O~O!U#|OS#yXc#yXd#yXh#yXn#yXs#yX!Y#yX!]#yX!a#yX$O#yX~On%eO!a#}O~P(dO!U#|OS!Xac!Xad!Xah!Xan!Xas!Xa!Y!Xa!]!Xa!a!Xa$O!Xag!Xa~O$O%fOg$`P~P/POy$aOQ$[X`$[Xc$[Xg$[Xh$[Xl$[Xm$[Xn$[Xp$[Xs$[Xu$[Xw$[X}$[X!d$[X#|$[X#}$[X$]$[Xo$[Xr$[X~O`$WOc$WOg%kOl$WOm$WOn$WO~P)VO`$WOc$WOl$WOm$WOn$WOo%lO~P)VO`$WOc$WOl$WOm$WOn$WOr%mO~P)VOh%oOS!|Xc!|Xd!|Xn!|X!Y!|X!]!|X$O!|X~On%pO~Og%uOw%vO!e%vO~Os#uX!a#uXn#uX~P)zO!a$jOs$ean$ea~On%yO~Or&QO#|%{O$]%zO~Og&RO~P&^Oy$aO!a&VO$d$zOn!wi#z!wir!wi~P)VO$c&YO~On#sa#z#sar#sa~P!jOn#ZO#z$bir$bi~O!a&]Og$aX~P&^Og&_O~Oy$aOQ#kXg#kXh#kXp#kXs#kXu#kXw#kX}#kX!a#kX!d#kX#|#kX#}#kX$]#kX~O!a&aOg$YX~P)VOg&cO~Oo&dOy$aO!p&eO~OR#yOu#yOw#yO$O&gO$]!pO~O!U#|OS#yac#yad#yah#yan#yas#ya!Y#ya!]#ya!a#ya$O#ya~Oc!SXg!QX!U!QX!a!QX~O!U#|O!a&iOg$`X~Oc&kO~Og&lO~O#|&mO~On&oO~Oc&pO!U#|O~Og&rOn&qO~Og&uO~O!U#|Os#ua!a#uan#ua~OP$`OsvX!avXgvX~O$]%zOs#]X!a#]X~Os!RO!a&wO~Or&{O#|%{O$]%zO~Oy$aOQ#rXh#rXn#rXp#rXs#rXu#rXw#rX}#rX!a#rX!d#rX#z#rX#|#rX#}#rX$]#rX$d#rXr#rX~O!a&VO$d$zOn!wq#z!wqr!wq~P)VOo\x27QOy$aO!p\x27RO~Og#pX!a#pX~P\x27oO!a&]Og$aa~Og#oX!a#oX~P)VO!a&aOg$Ya~Oo\x27QO~Og\x27WO~P)VOg\x27XO!W\x27YO~O$O%fOg#nX!a#nX~P/PO!a&iOg$`a~O`\x27_Og\x27aO~OS#mac#mad#mah#ma!Y#ma!]#ma$O#ma~Og\x27cO~PMcOg\x27cOn\x27dO~Oy$aOQ#rah#ran#rap#ras#rau#raw#ra}#ra!a#ra!d#ra#z#ra#|#ra#}#ra$]#ra$d#rar#ra~Oo\x27iO~Og#pa!a#pa~P&^Og#oa!a#oa~P)VOR#yOu#yOw#yO$O&gO$]%zO~O!U#|Og#na!a#na~Oc\x27kO~O!a&iOg$`i~P)VO`\x27_Og\x27oO~Oy$aOg!Pin!Pi~Og\x27pO~PMcOn\x27qO~Og\x27rO~O!a&iOg$`q~Og#nq!a#nq~P)VO$Q!e$R$]`$]y!u~','goto':'4h$fPPPPP$gP$jP$s%V$s%i%{P$sP&R$sPP&XPPP&_&i&iPPPPP&iPP&iP\x27VP&iP&i(Q&iP(n(q(w(w)Z(wP(wP(wP(w(wP)j(w)vP(w)yPP*m*s$s*y$s+P+P+V+ZPP$sP$s$sP+a,],j,q$jP,zP,}P$jP$jP$jP-T$jP-W-Z-^-e$jP$jPP$jP-j$jP-m-s.S.j.x/O/Y/`/f/l/r/|0S0Y0`0f0lPPPPPPPPPPP0r0{P1q1t2vP3O3x4R4U4XPP4_RrQ_aOPco!R#Z$}q_OP]^co|}!O!P!R#R#Z#o$}&]qSOP]^co|}!O!P!R#R#Z#o$}&]qUOP]^co|}!O!P!R#R#Z#o$}&]QtTR#auQwWR#bxQ!VYR#cyQ#c!XS$f!s!tR%S#e!V!wdf!m!n!o#Y#p#u$Y$[$^$a$y%U%Z%_&V&W&a&f&k&p\x27U\x27^\x27k\x27s!U!wdf!m!n!o#Y#p#u$Y$[$^$a$y%U%Z%_&V&W&a&f&k&p\x27U\x27^\x27k\x27sU#y!c%`\x27YU%}$p&P&wR&v%|!V!sdf!m!n!o#Y#p#u$Y$[$^$a$y%U%Z%_&V&W&a&f&k&p\x27U\x27^\x27k\x27sR$h!uQ%s$gR&s%tq!h`ei!c!d!e!q#|#}$O$R$e$g$j%t&iQ#w!cQ%h$RQ&h%`Q\x27[&iR\x27j\x27YQ#UjQ$U!jQ$t#TR&T$vR$S!f!U!wdf!m!n!o#Y#p#u$Y$[$^$a$y%U%Z%_&V&W&a&f&k&p\x27U\x27^\x27k\x27sQ!|gR$o!}Q!WYR#dyQ#c!WR%S#dQ!ZZR#fzQ!_[R#g{T!^[{Q#r!]R%]#sQ!SXQ!i`Q#SjQ#m!QQ$P!dQ$l!yQ$r#QQ$u#UQ$x#XQ%e$OQ&S$tQ&y&OQ&|&TR\x27h&xSnP!RQ#]oQ$|#ZR&Z$}ZmPo!R#Z$}Q${#YQ&X$yR\x27P&WR$e!qQ&n%oR\x27m\x27_R!}gR#PhR$q#PS&O$p&PR\x27f&wV%|$p&P&wR#XkQ#_qR%Q#_QcOSoP!RU!kco$}R$}#ZQ%Z#pY&`%Z&f\x27U\x27^\x27sQ&f%_Q\x27U&aQ\x27^&kR\x27s\x27kQ$Y!mQ$[!nQ$^!oV%j$Y$[$^Q%t$gR&t%tQ&j%gS\x27]&j\x27lR\x27l\x27^Q&b%ZR\x27V&bQ&^%WR\x27T&^Q!QXR#l!QQ&W$yR\x27O&WQ#[nS%O#[%PR%P#]Q\x27`&nR\x27n\x27`Q$k!xR%x$kQ&P$pR&z&PQ&x&OR\x27g&xQ#WkR$w#WQ$O!dR%d$O_bOPco!R#Z$}^XOPco!R#Z$}Q!`]Q!a^Q#h|Q#i}Q#j!OQ#k!PQ$s#RQ%W#oR\x27S&]R%[#pQ!qdQ!zf[$V!m!n!o$Y$[$^Q$y#Yd%Y#p%Z%_&a&f&k\x27U\x27^\x27k\x27sQ%^#uQ%n$aS&U$y&WQ&[%UQ&}&VR\x27b&p]$X!m!n!o$Y$[$^Q!d`U!xe!q$eQ#QiQ#x!cS#{!d$OQ$Q!eQ%b#|Q%c#}Q%g$RS%r$g%tQ%w$jR\x27Z&iQ#z!cQ&h%`R\x27j\x27YR%i$RR%X#oQpPR#n!RQ!yeQ$d!qR%q$e','nodeNames':'⚠\x20Unit\x20VariableName\x20VariableName\x20QueryCallee\x20Comment\x20StyleSheet\x20RuleSet\x20UniversalSelector\x20TagSelector\x20TagName\x20NamespacedTagSelector\x20NamespaceName\x20TagName\x20NestingSelector\x20ClassSelector\x20.\x20ClassName\x20PseudoClassSelector\x20:\x20::\x20PseudoClassName\x20PseudoClassName\x20)\x20(\x20ArgList\x20ValueName\x20ParenthesizedValue\x20AtKeyword\x20#\x20;\x20]\x20[\x20BracketedValue\x20}\x20{\x20BracedValue\x20ColorLiteral\x20NumberLiteral\x20StringLiteral\x20BinaryExpression\x20BinOp\x20CallExpression\x20Callee\x20IfExpression\x20if\x20ArgList\x20IfBranch\x20KeywordQuery\x20FeatureQuery\x20FeatureName\x20BinaryQuery\x20LogicOp\x20ComparisonQuery\x20CompareOp\x20UnaryQuery\x20UnaryQueryOp\x20ParenthesizedQuery\x20SelectorQuery\x20selector\x20ParenthesizedSelector\x20CallQuery\x20ArgList\x20,\x20PseudoQuery\x20CallLiteral\x20CallTag\x20ParenthesizedContent\x20PseudoClassName\x20ArgList\x20IdSelector\x20IdName\x20AttributeSelector\x20AttributeName\x20NamespacedAttribute\x20NamespaceName\x20AttributeName\x20MatchOp\x20MatchFlag\x20ChildSelector\x20ChildOp\x20DescendantSelector\x20SiblingSelector\x20SiblingOp\x20Block\x20Declaration\x20PropertyName\x20Important\x20ImportStatement\x20import\x20Layer\x20layer\x20LayerName\x20layer\x20MediaStatement\x20media\x20CharsetStatement\x20charset\x20NamespaceStatement\x20namespace\x20NamespaceName\x20KeyframesStatement\x20keyframes\x20KeyframeName\x20KeyframeList\x20KeyframeSelector\x20KeyframeRangeName\x20SupportsStatement\x20supports\x20ScopeStatement\x20scope\x20to\x20FontFeatureStatement\x20font-feature-values\x20FontName\x20AtRule\x20Styles','maxTerm':0x9f,'nodeProps':[['isolate',-0x2,0x5,0x27,''],['openedBy',0x17,'(',0x1f,'[',0x22,'{'],['closedBy',0x18,')',0x20,']',0x23,'}']],'propSources':[SW],'skippedNodes':[0x0,0x5,0x75],'repeatNodeCount':0x11,'tokenData':'K`~R!bOX%ZX^&R^p%Zpq&Rqr)ers)vst+jtu2Xuv%Zvw3Rwx3dxy5Ryz5dz{5i{|6S|}:u}!O;W!O!P;u!P!Q<^!Q![=V![!]>Q!]!^>|!^!_?_!_!`@Z!`!a@n!a!b%Z!b!cAo!c!k%Z!k!lC|!l!u%Z!u!vC|!v!}%Z!}#OD_#O#P%Z#P#QDp#Q#R2X#R#]%Z#]#^ER#^#g%Z#g#hC|#h#o%Z#o#pIf#p#qIw#q#rJ`#r#sJq#s#y%Z#y#z&R#z$f%Z$f$g&R$g#BY%Z#BY#BZ&R#BZ$IS%Z$IS$I_&R$I_$I|%Z$I|$JO&R$JO$JT%Z$JT$JU&R$JU$KV%Z$KV$KW&R$KW&FU%Z&FU&FV&R&FV;\x27S%Z;\x27S;=`KY<%lO%Z`%^SOy%jz;\x27S%j;\x27S;=`%{<%lO%j`%oS!e`Oy%jz;\x27S%j;\x27S;=`%{<%lO%j`&OP;=`<%l%j~&Wh$Q~OX%jX^\x27r^p%jpq\x27rqy%jz#y%j#y#z\x27r#z$f%j$f$g\x27r$g#BY%j#BY#BZ\x27r#BZ$IS%j$IS$I_\x27r$I_$I|%j$I|$JO\x27r$JO$JT%j$JT$JU\x27r$JU$KV%j$KV$KW\x27r$KW&FU%j&FU&FV\x27r&FV;\x27S%j;\x27S;=`%{<%lO%j~\x27yh$Q~!e`OX%jX^\x27r^p%jpq\x27rqy%jz#y%j#y#z\x27r#z$f%j$f$g\x27r$g#BY%j#BY#BZ\x27r#BZ$IS%j$IS$I_\x27r$I_$I|%j$I|$JO\x27r$JO$JT%j$JT$JU\x27r$JU$KV%j$KV$KW\x27r$KW&FU%j&FU&FV\x27r&FV;\x27S%j;\x27S;=`%{<%lO%jj)jS$dYOy%jz;\x27S%j;\x27S;=`%{<%lO%j~)yWOY)vZr)vrs*cs#O)v#O#P*h#P;\x27S)v;\x27S;=`+d<%lO)v~*hOw~~*kRO;\x27S)v;\x27S;=`*t;=`O)v~*wXOY)vZr)vrs*cs#O)v#O#P*h#P;\x27S)v;\x27S;=`+d;=`<%l)v<%lO)v~+gP;=`<%l)vj+oYmYOy%jz!Q%j!Q![,_![!c%j!c!i,_!i#T%j#T#Z,_#Z;\x27S%j;\x27S;=`%{<%lO%jj,dY!e`Oy%jz!Q%j!Q![-S![!c%j!c!i-S!i#T%j#T#Z-S#Z;\x27S%j;\x27S;=`%{<%lO%jj-XY!e`Oy%jz!Q%j!Q![-w![!c%j!c!i-w!i#T%j#T#Z-w#Z;\x27S%j;\x27S;=`%{<%lO%jj.OYuY!e`Oy%jz!Q%j!Q![.n![!c%j!c!i.n!i#T%j#T#Z.n#Z;\x27S%j;\x27S;=`%{<%lO%jj.uYuY!e`Oy%jz!Q%j!Q![/e![!c%j!c!i/e!i#T%j#T#Z/e#Z;\x27S%j;\x27S;=`%{<%lO%jj/jY!e`Oy%jz!Q%j!Q![0Y![!c%j!c!i0Y!i#T%j#T#Z0Y#Z;\x27S%j;\x27S;=`%{<%lO%jj0aYuY!e`Oy%jz!Q%j!Q![1P![!c%j!c!i1P!i#T%j#T#Z1P#Z;\x27S%j;\x27S;=`%{<%lO%jj1UY!e`Oy%jz!Q%j!Q![1t![!c%j!c!i1t!i#T%j#T#Z1t#Z;\x27S%j;\x27S;=`%{<%lO%jj1{SuY!e`Oy%jz;\x27S%j;\x27S;=`%{<%lO%jd2[UOy%jz!_%j!_!`2n!`;\x27S%j;\x27S;=`%{<%lO%jd2uS!oS!e`Oy%jz;\x27S%j;\x27S;=`%{<%lO%jb3WS^QOy%jz;\x27S%j;\x27S;=`%{<%lO%j~3gWOY3dZw3dwx*cx#O3d#O#P4P#P;\x27S3d;\x27S;=`4{<%lO3d~4SRO;\x27S3d;\x27S;=`4];=`O3d~4`XOY3dZw3dwx*cx#O3d#O#P4P#P;\x27S3d;\x27S;=`4{;=`<%l3d<%lO3d~5OP;=`<%l3dj5WShYOy%jz;\x27S%j;\x27S;=`%{<%lO%j~5iOg~n5pUWQyWOy%jz!_%j!_!`2n!`;\x27S%j;\x27S;=`%{<%lO%jj6ZWyW!uQOy%jz!O%j!O!P6s!P!Q%j!Q![9x![;\x27S%j;\x27S;=`%{<%lO%jj6xU!e`Oy%jz!Q%j!Q![7[![;\x27S%j;\x27S;=`%{<%lO%jj7cY!e`$]YOy%jz!Q%j!Q![7[![!g%j!g!h8R!h#X%j#X#Y8R#Y;\x27S%j;\x27S;=`%{<%lO%jj8WY!e`Oy%jz{%j{|8v|}%j}!O8v!O!Q%j!Q![9_![;\x27S%j;\x27S;=`%{<%lO%jj8{U!e`Oy%jz!Q%j!Q![9_![;\x27S%j;\x27S;=`%{<%lO%jj9fU!e`$]YOy%jz!Q%j!Q![9_![;\x27S%j;\x27S;=`%{<%lO%jj:P[!e`$]YOy%jz!O%j!O!P7[!P!Q%j!Q![9x![!g%j!g!h8R!h#X%j#X#Y8R#Y;\x27S%j;\x27S;=`%{<%lO%jj:zS!aYOy%jz;\x27S%j;\x27S;=`%{<%lO%jj;]WyWOy%jz!O%j!O!P6s!P!Q%j!Q![9x![;\x27S%j;\x27S;=`%{<%lO%jj;zU`YOy%jz!Q%j!Q![7[![;\x27S%j;\x27S;=`%{<%lO%j~<cTyWOy%jz{<r{;\x27S%j;\x27S;=`%{<%lO%j~<yS!e`$R~Oy%jz;\x27S%j;\x27S;=`%{<%lO%jj=[[$]YOy%jz!O%j!O!P7[!P!Q%j!Q![9x![!g%j!g!h8R!h#X%j#X#Y8R#Y;\x27S%j;\x27S;=`%{<%lO%jj>VUcYOy%jz![%j![!]>i!];\x27S%j;\x27S;=`%{<%lO%jj>pSdY!e`Oy%jz;\x27S%j;\x27S;=`%{<%lO%jj?RSnYOy%jz;\x27S%j;\x27S;=`%{<%lO%jh?dU!WWOy%jz!_%j!_!`?v!`;\x27S%j;\x27S;=`%{<%lO%jh?}S!WW!e`Oy%jz;\x27S%j;\x27S;=`%{<%lO%jl@bS!WW!oSOy%jz;\x27S%j;\x27S;=`%{<%lO%jj@uV!rQ!WWOy%jz!_%j!_!`?v!`!aA[!a;\x27S%j;\x27S;=`%{<%lO%jbAcS!rQ!e`Oy%jz;\x27S%j;\x27S;=`%{<%lO%jjArYOy%jz}%j}!OBb!O!c%j!c!}CP!}#T%j#T#oCP#o;\x27S%j;\x27S;=`%{<%lO%jjBgW!e`Oy%jz!c%j!c!}CP!}#T%j#T#oCP#o;\x27S%j;\x27S;=`%{<%lO%jjCW[lY!e`Oy%jz}%j}!OCP!O!Q%j!Q![CP![!c%j!c!}CP!}#T%j#T#oCP#o;\x27S%j;\x27S;=`%{<%lO%jhDRS!pWOy%jz;\x27S%j;\x27S;=`%{<%lO%jjDdSpYOy%jz;\x27S%j;\x27S;=`%{<%lO%jnDuSo^Oy%jz;\x27S%j;\x27S;=`%{<%lO%jjEWU!pWOy%jz#a%j#a#bEj#b;\x27S%j;\x27S;=`%{<%lO%jbEoU!e`Oy%jz#d%j#d#eFR#e;\x27S%j;\x27S;=`%{<%lO%jbFWU!e`Oy%jz#c%j#c#dFj#d;\x27S%j;\x27S;=`%{<%lO%jbFoU!e`Oy%jz#f%j#f#gGR#g;\x27S%j;\x27S;=`%{<%lO%jbGWU!e`Oy%jz#h%j#h#iGj#i;\x27S%j;\x27S;=`%{<%lO%jbGoU!e`Oy%jz#T%j#T#UHR#U;\x27S%j;\x27S;=`%{<%lO%jbHWU!e`Oy%jz#b%j#b#cHj#c;\x27S%j;\x27S;=`%{<%lO%jbHoU!e`Oy%jz#h%j#h#iIR#i;\x27S%j;\x27S;=`%{<%lO%jbIYS$cQ!e`Oy%jz;\x27S%j;\x27S;=`%{<%lO%jjIkSsYOy%jz;\x27S%j;\x27S;=`%{<%lO%jfI|U$XUOy%jz!_%j!_!`2n!`;\x27S%j;\x27S;=`%{<%lO%jjJeSrYOy%jz;\x27S%j;\x27S;=`%{<%lO%jfJvU!uQOy%jz!_%j!_!`2n!`;\x27S%j;\x27S;=`%{<%lO%j`K]P;=`<%l%Z','tokenizers':[TW,AW,_W,EW,0x1,0x2,0x3,0x4,new Iq('m~RRYZ[z{a~~g~aO$T~~dP!P!Qg~lO$U~~',0x1c,0x8e)],'topRules':{'StyleSheet':[0x0,0x6],'Styles':[0x1,0x74]},'dynamicPrecedences':{0x54:0x1},'specialized':[{'term':0x89,'get':_0x59e165=>IW[_0x59e165]||-0x1},{'term':0x8a,'get':_0x1e9dfe=>kW[_0x1e9dfe]||-0x1},{'term':0x4,'get':_0x46eac2=>xW[_0x46eac2]||-0x1},{'term':0x1c,'get':_0x56984d=>CW[_0x56984d]||-0x1},{'term':0x88,'get':_0x56f4f6=>RW[_0x56f4f6]||-0x1}],'tokenPrec':0x8d0});let MW=null;function NW(){if(!MW&&'object'==typeof document&&document['body']){let {style:_0x201414}=document['body'],_0x83da73=[],_0x51758b=new Set();for(let _0x50c31f in _0x201414)'cssText'!=_0x50c31f&&'cssFloat'!=_0x50c31f&&'string'==typeof _0x201414[_0x50c31f]&&(/[A-Z]/['test'](_0x50c31f)&&(_0x50c31f=_0x50c31f['replace'](/[A-Z]/g,_0x15bcee=>'-'+_0x15bcee['toLowerCase']())),_0x51758b['has'](_0x50c31f)||(_0x83da73['push'](_0x50c31f),_0x51758b['add'](_0x50c31f)));MW=_0x83da73['sort']()['map'](_0x918f6=>({'type':'property','label':_0x918f6,'apply':_0x918f6+':\x20'}));}return MW||[];}const LW=['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'](_0x2c1d7d=>({'type':'class','label':_0x2c1d7d})),$W=['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'](_0x587458=>({'type':'keyword','label':_0x587458}))['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'](_0x39ecfb=>({'type':'constant','label':_0x39ecfb}))),DW=['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'](_0x2b6337=>({'type':'type','label':_0x2b6337})),QW=['@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'](_0x500038=>({'type':'keyword','label':_0x500038})),jW=/^(\w[\w-]*|-\w[\w-]*|)$/,UW=/^-(-[\w-]*)?$/,VW=new HB(),BW=['Declaration'];function FW(_0x2c7bd4){for(let _0x3f04d8=_0x2c7bd4;;){if(_0x3f04d8['type']['isTop'])return _0x3f04d8;if(!(_0x3f04d8=_0x3f04d8['parent']))return _0x2c7bd4;}}function HW(_0xde239e,_0x19d440,_0x4ae26c){if(_0x19d440['to']-_0x19d440['from']>0x1000){let _0x3bfdb5=VW['get'](_0x19d440);if(_0x3bfdb5)return _0x3bfdb5;let _0xbdb0bf=[],_0x3f0d7d=new Set(),_0x4f637b=_0x19d440['cursor'](TB['IncludeAnonymous']);if(_0x4f637b['firstChild']())do{for(let _0x396f69 of HW(_0xde239e,_0x4f637b['node'],_0x4ae26c))_0x3f0d7d['has'](_0x396f69['label'])||(_0x3f0d7d['add'](_0x396f69['label']),_0xbdb0bf['push'](_0x396f69));}while(_0x4f637b['nextSibling']());return VW['set'](_0x19d440,_0xbdb0bf),_0xbdb0bf;}{let _0xf9c526=[],_0x3f70e3=new Set();return _0x19d440['cursor']()['iterate'](_0x136254=>{var _0x4233ac;if(_0x4ae26c(_0x136254)&&_0x136254['matchContext'](BW)&&':'==(null===(_0x4233ac=_0x136254['node']['nextSibling'])||void 0x0===_0x4233ac?void 0x0:_0x4233ac['name'])){let _0x3cbc6d=_0xde239e['sliceString'](_0x136254['from'],_0x136254['to']);_0x3f70e3['has'](_0x3cbc6d)||(_0x3f70e3['add'](_0x3cbc6d),_0xf9c526['push']({'label':_0x3cbc6d,'type':'variable'}));}}),_0xf9c526;}}const ZW=_0x58440e=>_0x512e68=>{let {state:_0x589ecc,pos:_0x5d8ef8}=_0x512e68,_0xd79209=UF(_0x589ecc)['resolveInner'](_0x5d8ef8,-0x1),_0x44b4fe=_0xd79209['type']['isError']&&_0xd79209['from']==_0xd79209['to']-0x1&&'-'==_0x589ecc['doc']['sliceString'](_0xd79209['from'],_0xd79209['to']);if('PropertyName'==_0xd79209['name']||(_0x44b4fe||'TagName'==_0xd79209['name'])&&/^(Block|Styles)$/['test'](_0xd79209['resolve'](_0xd79209['to'])['name']))return{'from':_0xd79209['from'],'options':NW(),'validFor':jW};if('ValueName'==_0xd79209['name'])return{'from':_0xd79209['from'],'options':$W,'validFor':jW};if('PseudoClassName'==_0xd79209['name'])return{'from':_0xd79209['from'],'options':LW,'validFor':jW};if(_0x58440e(_0xd79209)||(_0x512e68['explicit']||_0x44b4fe)&&function(_0x1afcae,_0x343d80){var _0x17823e;if(('('==_0x1afcae['name']||_0x1afcae['type']['isError'])&&(_0x1afcae=_0x1afcae['parent']||_0x1afcae),'ArgList'!=_0x1afcae['name'])return!0x1;let _0x4ad61f=null===(_0x17823e=_0x1afcae['parent'])||void 0x0===_0x17823e?void 0x0:_0x17823e['firstChild'];return'Callee'==(null==_0x4ad61f?void 0x0:_0x4ad61f['name'])&&'var'==_0x343d80['sliceString'](_0x4ad61f['from'],_0x4ad61f['to']);}(_0xd79209,_0x589ecc['doc']))return{'from':_0x58440e(_0xd79209)||_0x44b4fe?_0xd79209['from']:_0x5d8ef8,'options':HW(_0x589ecc['doc'],FW(_0xd79209),_0x58440e),'validFor':UW};if('TagName'==_0xd79209['name']){for(let {parent:_0x55a941}=_0xd79209;_0x55a941;_0x55a941=_0x55a941['parent'])if('Block'==_0x55a941['name'])return{'from':_0xd79209['from'],'options':NW(),'validFor':jW};return{'from':_0xd79209['from'],'options':DW,'validFor':jW};}if('AtKeyword'==_0xd79209['name'])return{'from':_0xd79209['from'],'options':QW,'validFor':jW};if(!_0x512e68['explicit'])return null;let _0x2cbeb9=_0xd79209['resolve'](_0x5d8ef8),_0x35831e=_0x2cbeb9['childBefore'](_0x5d8ef8);return _0x35831e&&':'==_0x35831e['name']&&'PseudoClassSelector'==_0x2cbeb9['name']?{'from':_0x5d8ef8,'options':LW,'validFor':jW}:_0x35831e&&':'==_0x35831e['name']&&'Declaration'==_0x2cbeb9['name']||'ArgList'==_0x2cbeb9['name']?{'from':_0x5d8ef8,'options':$W,'validFor':jW}:'Block'==_0x2cbeb9['name']||'Styles'==_0x2cbeb9['name']?{'from':_0x5d8ef8,'options':NW(),'validFor':jW}:null;},GW=ZW(_0x41cf30=>'VariableName'==_0x41cf30['name']),XW=jF['define']({'name':'css','parser':PW['configure']({'props':[nH['add']({'Declaration':dH()}),pH['add']({'Block\x20KeyframeList':gH})]}),'languageData':{'commentTokens':{'block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*\}$/,'wordChars':'-'}}),qW=[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],WW=new Vq({'start':!0x1,'shift':(_0x386211,_0x131d71)=>0x5==_0x131d71||0x6==_0x131d71||0x140==_0x131d71?_0x386211:0x141==_0x131d71,'strict':!0x1}),zW=new kq((_0x43b802,_0x1ce3ba)=>{let {next:_0x52fbb0}=_0x43b802;(0x7d==_0x52fbb0||-0x1==_0x52fbb0||_0x1ce3ba['context'])&&_0x43b802['acceptToken'](0x13e);},{'contextual':!0x0,'fallback':!0x0}),YW=new kq((_0x4aed27,_0x5b170f)=>{let _0x403be6,{next:_0x2fca6e}=_0x4aed27;qW['indexOf'](_0x2fca6e)>-0x1||(0x2f!=_0x2fca6e||0x2f!=(_0x403be6=_0x4aed27['peek'](0x1))&&0x2a!=_0x403be6)&&(0x7d==_0x2fca6e||0x3b==_0x2fca6e||-0x1==_0x2fca6e||_0x5b170f['context']||_0x4aed27['acceptToken'](0x13c));},{'contextual':!0x0}),KW=new kq((_0x36679d,_0x6c60cb)=>{0x5b!=_0x36679d['next']||_0x6c60cb['context']||_0x36679d['acceptToken'](0x13d);},{'contextual':!0x0}),JW=new kq((_0x4c533a,_0x29d8bf)=>{let {next:_0x311789}=_0x4c533a;if(0x2b==_0x311789||0x2d==_0x311789){if(_0x4c533a['advance'](),_0x311789==_0x4c533a['next']){_0x4c533a['advance']();let _0x37539b=!_0x29d8bf['context']&&_0x29d8bf['canShift'](0x1);_0x4c533a['acceptToken'](_0x37539b?0x1:0x2);}}else 0x3f==_0x311789&&0x2e==_0x4c533a['peek'](0x1)&&(_0x4c533a['advance'](),_0x4c533a['advance'](),(_0x4c533a['next']<0x30||_0x4c533a['next']>0x39)&&_0x4c533a['acceptToken'](0x3));},{'contextual':!0x0});function tz(_0x26ddfa,_0x1d8933){return _0x26ddfa>=0x41&&_0x26ddfa<=0x5a||_0x26ddfa>=0x61&&_0x26ddfa<=0x7a||0x5f==_0x26ddfa||_0x26ddfa>=0xc0||!_0x1d8933&&_0x26ddfa>=0x30&&_0x26ddfa<=0x39;}const ez=new kq((_0x2eb0e5,_0x4e1245)=>{if(0x3c!=_0x2eb0e5['next']||!_0x4e1245['dialectEnabled'](0x0))return;if(_0x2eb0e5['advance'](),0x2f==_0x2eb0e5['next'])return;let _0xba4d80=0x0;for(;qW['indexOf'](_0x2eb0e5['next'])>-0x1;)_0x2eb0e5['advance'](),_0xba4d80++;if(tz(_0x2eb0e5['next'],!0x0)){for(_0x2eb0e5['advance'](),_0xba4d80++;tz(_0x2eb0e5['next'],!0x1);)_0x2eb0e5['advance'](),_0xba4d80++;for(;qW['indexOf'](_0x2eb0e5['next'])>-0x1;)_0x2eb0e5['advance'](),_0xba4d80++;if(0x2c==_0x2eb0e5['next'])return;for(let _0x1a5b40=0x0;;_0x1a5b40++){if(0x7==_0x1a5b40){if(!tz(_0x2eb0e5['next'],!0x0))return;break;}if(_0x2eb0e5['next']!='extends'['charCodeAt'](_0x1a5b40))break;_0x2eb0e5['advance'](),_0xba4d80++;}}_0x2eb0e5['acceptToken'](0x4,-_0xba4d80);}),iz=dF({'get\x20set\x20async\x20static':PF['modifier'],'for\x20while\x20do\x20if\x20else\x20switch\x20try\x20catch\x20finally\x20return\x20throw\x20break\x20continue\x20default\x20case\x20defer':PF['controlKeyword'],'in\x20of\x20await\x20yield\x20void\x20typeof\x20delete\x20instanceof\x20as\x20satisfies':PF['operatorKeyword'],'let\x20var\x20const\x20using\x20function\x20class\x20extends':PF['definitionKeyword'],'import\x20export\x20from':PF['moduleKeyword'],'with\x20debugger\x20new':PF['keyword'],'TemplateString':PF['special'](PF['string']),'super':PF['atom'],'BooleanLiteral':PF['bool'],'this':PF['self'],'null':PF['null'],'Star':PF['modifier'],'VariableName':PF['variableName'],'CallExpression/VariableName\x20TaggedTemplateExpression/VariableName':PF['function'](PF['variableName']),'VariableDefinition':PF['definition'](PF['variableName']),'Label':PF['labelName'],'PropertyName':PF['propertyName'],'PrivatePropertyName':PF['special'](PF['propertyName']),'CallExpression/MemberExpression/PropertyName':PF['function'](PF['propertyName']),'FunctionDeclaration/VariableDefinition':PF['function'](PF['definition'](PF['variableName'])),'ClassDeclaration/VariableDefinition':PF['definition'](PF['className']),'NewExpression/VariableName':PF['className'],'PropertyDefinition':PF['definition'](PF['propertyName']),'PrivatePropertyDefinition':PF['definition'](PF['special'](PF['propertyName'])),'UpdateOp':PF['updateOperator'],'LineComment\x20Hashbang':PF['lineComment'],'BlockComment':PF['blockComment'],'Number':PF['number'],'String':PF['string'],'Escape':PF['escape'],'ArithOp':PF['arithmeticOperator'],'LogicOp':PF['logicOperator'],'BitOp':PF['bitwiseOperator'],'CompareOp':PF['compareOperator'],'RegExp':PF['regexp'],'Equals':PF['definitionOperator'],'Arrow':PF['function'](PF['punctuation']),':\x20Spread':PF['punctuation'],'(\x20)':PF['paren'],'[\x20]':PF['squareBracket'],'{\x20}':PF['brace'],'InterpolationStart\x20InterpolationEnd':PF['special'](PF['brace']),'.':PF['derefOperator'],',\x20;':PF['separator'],'@':PF['meta'],'TypeName':PF['typeName'],'TypeDefinition':PF['definition'](PF['typeName']),'type\x20enum\x20interface\x20implements\x20namespace\x20module\x20declare':PF['definitionKeyword'],'abstract\x20global\x20Privacy\x20readonly\x20override':PF['modifier'],'is\x20keyof\x20unique\x20infer\x20asserts':PF['operatorKeyword'],'JSXAttributeValue':PF['attributeValue'],'JSXText':PF['content'],'JSXStartTag\x20JSXStartCloseTag\x20JSXSelfCloseEndTag\x20JSXEndTag':PF['angleBracket'],'JSXIdentifier\x20JSXNameSpacedName':PF['tagName'],'JSXAttribute/JSXIdentifier\x20JSXAttribute/JSXNameSpacedName':PF['attributeName'],'JSXBuiltin/JSXIdentifier':PF['standard'](PF['tagName'])}),sz={'__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},nz={'__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},rz={'__proto__':null,'<':0xc1},oz=Bq['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':WW,'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':[iz],'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':[YW,KW,JW,ez,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,zW,new Iq('$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 Iq('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':_0x1b3835=>sz[_0x1b3835]||-0x1},{'term':0x157,'get':_0x56959e=>nz[_0x56959e]||-0x1},{'term':0x5f,'get':_0x5b1dd7=>rz[_0x5b1dd7]||-0x1}],'tokenPrec':0x3b61}),az=[WX('function\x20${name}(${params})\x20{\x0a\x09${}\x0a}',{'label':'function','detail':'definition','type':'keyword'}),WX('for\x20(let\x20${index}\x20=\x200;\x20${index}\x20<\x20${bound};\x20${index}++)\x20{\x0a\x09${}\x0a}',{'label':'for','detail':'loop','type':'keyword'}),WX('for\x20(let\x20${name}\x20of\x20${collection})\x20{\x0a\x09${}\x0a}',{'label':'for','detail':'of\x20loop','type':'keyword'}),WX('do\x20{\x0a\x09${}\x0a}\x20while\x20(${})',{'label':'do','detail':'loop','type':'keyword'}),WX('while\x20(${})\x20{\x0a\x09${}\x0a}',{'label':'while','detail':'loop','type':'keyword'}),WX('try\x20{\x0a\x09${}\x0a}\x20catch\x20(${error})\x20{\x0a\x09${}\x0a}',{'label':'try','detail':'/\x20catch\x20block','type':'keyword'}),WX('if\x20(${})\x20{\x0a\x09${}\x0a}',{'label':'if','detail':'block','type':'keyword'}),WX('if\x20(${})\x20{\x0a\x09${}\x0a}\x20else\x20{\x0a\x09${}\x0a}',{'label':'if','detail':'/\x20else\x20block','type':'keyword'}),WX('class\x20${name}\x20{\x0a\x09constructor(${params})\x20{\x0a\x09\x09${}\x0a\x09}\x0a}',{'label':'class','detail':'definition','type':'keyword'}),WX('import\x20{${names}}\x20from\x20\x22${module}\x22\x0a${}',{'label':'import','detail':'named','type':'keyword'}),WX('import\x20${name}\x20from\x20\x22${module}\x22\x0a${}',{'label':'import','detail':'default','type':'keyword'})],cz=az['concat']([WX('interface\x20${name}\x20{\x0a\x09${}\x0a}',{'label':'interface','detail':'definition','type':'keyword'}),WX('type\x20${name}\x20=\x20${type}',{'label':'type','detail':'definition','type':'keyword'}),WX('enum\x20${name}\x20{\x0a\x09${}\x0a}',{'label':'enum','detail':'definition','type':'keyword'})]),lz=new HB(),hz=new Set(['Script','Block','FunctionExpression','FunctionDeclaration','ArrowFunction','MethodDeclaration','ForStatement']);function uz(_0x42371e){return(_0x30a85b,_0x10473a)=>{let _0x402b90=_0x30a85b['node']['getChild']('VariableDefinition');return _0x402b90&&_0x10473a(_0x402b90,_0x42371e),!0x0;};}const dz=['FunctionDeclaration'],fz={'FunctionDeclaration':uz('function'),'ClassDeclaration':uz('class'),'ClassExpression':()=>!0x0,'EnumDeclaration':uz('constant'),'TypeAliasDeclaration':uz('type'),'NamespaceDeclaration':uz('namespace'),'VariableDefinition'(_0x2ebd3f,_0xe9b05b){_0x2ebd3f['matchContext'](dz)||_0xe9b05b(_0x2ebd3f,'variable');},'TypeDefinition'(_0x17ee6b,_0x38f3fd){_0x38f3fd(_0x17ee6b,'type');},'__proto__':null};function mz(_0x319a8d,_0x412e20){let _0x10cd51=lz['get'](_0x412e20);if(_0x10cd51)return _0x10cd51;let _0x91093e=[],_0x37a3dc=!0x0;function _0x58d844(_0x39a09c,_0x325c60){let _0x3c8412=_0x319a8d['sliceString'](_0x39a09c['from'],_0x39a09c['to']);_0x91093e['push']({'label':_0x3c8412,'type':_0x325c60});}return _0x412e20['cursor'](TB['IncludeAnonymous'])['iterate'](_0x28afdf=>{if(_0x37a3dc)_0x37a3dc=!0x1;else{if(_0x28afdf['name']){let _0x414da9=fz[_0x28afdf['name']];if(_0x414da9&&_0x414da9(_0x28afdf,_0x58d844)||hz['has'](_0x28afdf['name']))return!0x1;}else{if(_0x28afdf['to']-_0x28afdf['from']>0x2000){for(let _0x11b2e7 of mz(_0x319a8d,_0x28afdf['node']))_0x91093e['push'](_0x11b2e7);return!0x1;}}}}),lz['set'](_0x412e20,_0x91093e),_0x91093e;}const pz=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,gz=['TemplateString','String','RegExp','LineComment','BlockComment','VariableDefinition','TypeDefinition','Label','PropertyDefinition','PropertyName','PrivatePropertyDefinition','PrivatePropertyName','JSXText','JSXAttributeValue','JSXOpenTag','JSXCloseTag','JSXSelfClosingTag','.','?.'];function Oz(_0x58a43f){let _0x58ec46=UF(_0x58a43f['state'])['resolveInner'](_0x58a43f['pos'],-0x1);if(gz['indexOf'](_0x58ec46['name'])>-0x1)return null;let _0x2b67a8='VariableName'==_0x58ec46['name']||_0x58ec46['to']-_0x58ec46['from']<0x14&&pz['test'](_0x58a43f['state']['sliceDoc'](_0x58ec46['from'],_0x58ec46['to']));if(!_0x2b67a8&&!_0x58a43f['explicit'])return null;let _0x4297b0=[];for(let _0x2bbd23=_0x58ec46;_0x2bbd23;_0x2bbd23=_0x2bbd23['parent'])hz['has'](_0x2bbd23['name'])&&(_0x4297b0=_0x4297b0['concat'](mz(_0x58a43f['state']['doc'],_0x2bbd23)));return{'options':_0x4297b0,'from':_0x2b67a8?_0x58ec46['from']:_0x58a43f['pos'],'validFor':pz};}const wz=jF['define']({'name':'javascript','parser':oz['configure']({'props':[nH['add']({'IfStatement':dH({'except':/^\s*({|else\b)/}),'TryStatement':dH({'except':/^\s*({|catch\b|finally\b)/}),'LabeledStatement':_0x165e50=>_0x165e50['baseIndent'],'SwitchBody':_0x2ec11f=>{let _0xfdb92c=_0x2ec11f['textAfter'],_0x4f5548=/^\s*\}/['test'](_0xfdb92c),_0x1f0f83=/^\s*(case|default)\b/['test'](_0xfdb92c);return _0x2ec11f['baseIndent']+(_0x4f5548?0x0:_0x1f0f83?0x1:0x2)*_0x2ec11f['unit'];},'Block':hH({'closing':'}'}),'ArrowFunction':_0x2d4263=>_0x2d4263['baseIndent']+_0x2d4263['unit'],'TemplateString\x20BlockComment':()=>null,'Statement\x20Property':dH({'except':/^\s*{/}),'JSXElement'(_0x3fdd43){let _0x3520ba=/^\s*<\//['test'](_0x3fdd43['textAfter']);return _0x3fdd43['lineIndent'](_0x3fdd43['node']['from'])+(_0x3520ba?0x0:_0x3fdd43['unit']);},'JSXEscape'(_0x2ca80d){let _0x431521=/\s*\}/['test'](_0x2ca80d['textAfter']);return _0x2ca80d['lineIndent'](_0x2ca80d['node']['from'])+(_0x431521?0x0:_0x2ca80d['unit']);},'JSXOpenTag\x20JSXSelfClosingTag':_0x3abcf0=>_0x3abcf0['column'](_0x3abcf0['node']['from'])+_0x3abcf0['unit']}),pH['add']({'Block\x20ClassBody\x20SwitchBody\x20EnumBody\x20ObjectExpression\x20ArrayExpression\x20ObjectType':gH,'BlockComment':_0x4b0ccd=>({'from':_0x4b0ccd['from']+0x2,'to':_0x4b0ccd['to']-0x2}),'JSXElement'(_0x2365b2){let _0x5e9143=_0x2365b2['firstChild'];if(!_0x5e9143||'JSXSelfClosingTag'==_0x5e9143['name'])return null;let _0x4cb28d=_0x2365b2['lastChild'];return{'from':_0x5e9143['to'],'to':_0x4cb28d['type']['isError']?_0x2365b2['to']:_0x4cb28d['from']};},'JSXSelfClosingTag\x20JSXOpenTag'(_0x8f8489){var _0x22b9e9;let _0xd28a85=null===(_0x22b9e9=_0x8f8489['firstChild'])||void 0x0===_0x22b9e9?void 0x0:_0x22b9e9['nextSibling'],_0xf5ac06=_0x8f8489['lastChild'];return!_0xd28a85||_0xd28a85['type']['isError']?null:{'from':_0xd28a85['to'],'to':_0xf5ac06['type']['isError']?_0x8f8489['to']:_0xf5ac06['from']};}})]}),'languageData':{'closeBrackets':{'brackets':['(','[','{','\x27','\x22','`']},'commentTokens':{'line':'//','block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*(?:case |default:|\{|\}|<\/)$/,'wordChars':'$'}}),bz={'test':_0x419e13=>/^JSX/['test'](_0x419e13['name']),'facet':LF({'commentTokens':{'block':{'open':'{/*','close':'*/}'}}})},yz=wz['configure']({'dialect':'ts'},'typescript'),vz=wz['configure']({'dialect':'jsx','props':[$F['add'](_0x48be2f=>_0x48be2f['isTop']?[bz]:void 0x0)]}),_z=wz['configure']({'dialect':'jsx\x20ts','props':[$F['add'](_0x3c02c4=>_0x3c02c4['isTop']?[bz]:void 0x0)]},'typescript');let Ez=_0x2334cf=>({'label':_0x2334cf,'type':'keyword'});const Tz='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'](Ez),Az=Tz['concat'](['declare','implements','private','protected','public']['map'](Ez));function Sz(_0x46c152={}){let _0x27049d=_0x46c152['jsx']?_0x46c152['typescript']?_z:vz:_0x46c152['typescript']?yz:wz,_0x2fc726=_0x46c152['typescript']?cz['concat'](Az):az['concat'](Tz);return new zF(_0x27049d,[wz['data']['of']({'autocomplete':(_0x26ce91=gz,_0x4a07de=qG(_0x2fc726),_0x41a54c=>{for(let _0x29d0c8=UF(_0x41a54c['state'])['resolveInner'](_0x41a54c['pos'],-0x1);_0x29d0c8;_0x29d0c8=_0x29d0c8['parent']){if(_0x26ce91['indexOf'](_0x29d0c8['name'])>-0x1)return null;if(_0x29d0c8['type']['isTop'])break;}return _0x4a07de(_0x41a54c);})}),wz['data']['of']({'autocomplete':Oz}),_0x46c152['jsx']?xz:[]]);var _0x26ce91,_0x4a07de;}function Iz(_0x1b05a9,_0x5b84dd,_0x4bdca9=_0x1b05a9['length']){for(let _0x457737=null==_0x5b84dd?void 0x0:_0x5b84dd['firstChild'];_0x457737;_0x457737=_0x457737['nextSibling'])if('JSXIdentifier'==_0x457737['name']||'JSXBuiltin'==_0x457737['name']||'JSXNamespacedName'==_0x457737['name']||'JSXMemberExpression'==_0x457737['name'])return _0x1b05a9['sliceString'](_0x457737['from'],Math['min'](_0x457737['to'],_0x4bdca9));return'';}const kz='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),xz=NU['inputHandler']['of']((_0x21b034,_0xb79bc3,_0x3881c0,_0x330074,_0x547345)=>{if((kz?_0x21b034['composing']:_0x21b034['compositionStarted'])||_0x21b034['state']['readOnly']||_0xb79bc3!=_0x3881c0||'>'!=_0x330074&&'/'!=_0x330074||!wz['isActiveAt'](_0x21b034['state'],_0xb79bc3,-0x1))return!0x1;let _0x33a9bc=_0x547345(),{state:_0x5cc3e6}=_0x33a9bc,_0x21582a=_0x5cc3e6['changeByRange'](_0x40e867=>{var _0x1329e6;let _0x2809a8,{head:_0x4ffa7c}=_0x40e867,_0x2c5235=UF(_0x5cc3e6)['resolveInner'](_0x4ffa7c-0x1,-0x1);if('JSXStartTag'==_0x2c5235['name']&&(_0x2c5235=_0x2c5235['parent']),_0x5cc3e6['doc']['sliceString'](_0x4ffa7c-0x1,_0x4ffa7c)!=_0x330074||'JSXAttributeValue'==_0x2c5235['name']&&_0x2c5235['to']>_0x4ffa7c);else{if('>'==_0x330074&&'JSXFragmentTag'==_0x2c5235['name'])return{'range':_0x40e867,'changes':{'from':_0x4ffa7c,'insert':'</>'}};if('/'==_0x330074&&'JSXStartCloseTag'==_0x2c5235['name']){let _0xd1fb58=_0x2c5235['parent'],_0x3616ce=_0xd1fb58['parent'];if(_0x3616ce&&_0xd1fb58['from']==_0x4ffa7c-0x2&&((_0x2809a8=Iz(_0x5cc3e6['doc'],_0x3616ce['firstChild'],_0x4ffa7c))||'JSXFragmentTag'==(null===(_0x1329e6=_0x3616ce['firstChild'])||void 0x0===_0x1329e6?void 0x0:_0x1329e6['name']))){let _0x3c3ab8=_0x2809a8+'>';return{'range':oL['cursor'](_0x4ffa7c+_0x3c3ab8['length'],-0x1),'changes':{'from':_0x4ffa7c,'insert':_0x3c3ab8}};}}else{if('>'==_0x330074){let _0x39093d=function(_0x2dbed9){for(;;){if('JSXOpenTag'==_0x2dbed9['name']||'JSXSelfClosingTag'==_0x2dbed9['name']||'JSXFragmentTag'==_0x2dbed9['name'])return _0x2dbed9;if('JSXEscape'==_0x2dbed9['name']||!_0x2dbed9['parent'])return null;_0x2dbed9=_0x2dbed9['parent'];}}(_0x2c5235);if(_0x39093d&&'JSXOpenTag'==_0x39093d['name']&&!/^\/?>|^<\//['test'](_0x5cc3e6['doc']['sliceString'](_0x4ffa7c,_0x4ffa7c+0x2))&&(_0x2809a8=Iz(_0x5cc3e6['doc'],_0x39093d,_0x4ffa7c)))return{'range':_0x40e867,'changes':{'from':_0x4ffa7c,'insert':'</'+_0x2809a8+'>'}};}}}return{'range':_0x40e867};});return!_0x21582a['changes']['empty']&&(_0x21b034['dispatch']([_0x33a9bc,_0x5cc3e6['update'](_0x21582a,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);}),Cz=['_blank','_self','_top','_parent'],Rz=['ascii','utf-8','utf-16','latin1','latin1'],Pz=['get','post','put','delete'],Mz=['application/x-www-form-urlencoded','multipart/form-data','text/plain'],Nz=['true','false'],Lz={},$z={'a':{'attrs':{'href':null,'ping':null,'type':null,'media':null,'target':Cz,'hreflang':null}},'abbr':Lz,'address':Lz,'area':{'attrs':{'alt':null,'coords':null,'href':null,'target':null,'ping':null,'media':null,'hreflang':null,'type':null,'shape':['default','rect','circle','poly']}},'article':Lz,'aside':Lz,'audio':{'attrs':{'src':null,'mediagroup':null,'crossorigin':['anonymous','use-credentials'],'preload':['none','metadata','auto'],'autoplay':['autoplay'],'loop':['loop'],'controls':['controls']}},'b':Lz,'base':{'attrs':{'href':null,'target':Cz}},'bdi':Lz,'bdo':Lz,'blockquote':{'attrs':{'cite':null}},'body':Lz,'br':Lz,'button':{'attrs':{'form':null,'formaction':null,'name':null,'value':null,'autofocus':['autofocus'],'disabled':['autofocus'],'formenctype':Mz,'formmethod':Pz,'formnovalidate':['novalidate'],'formtarget':Cz,'type':['submit','reset','button']}},'canvas':{'attrs':{'width':null,'height':null}},'caption':Lz,'center':Lz,'cite':Lz,'code':Lz,'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':Lz,'del':{'attrs':{'cite':null,'datetime':null}},'details':{'attrs':{'open':['open']}},'dfn':Lz,'div':Lz,'dl':Lz,'dt':Lz,'em':Lz,'embed':{'attrs':{'src':null,'type':null,'width':null,'height':null}},'eventsource':{'attrs':{'src':null}},'fieldset':{'attrs':{'disabled':['disabled'],'form':null,'name':null}},'figcaption':Lz,'figure':Lz,'footer':Lz,'form':{'attrs':{'action':null,'name':null,'accept-charset':Rz,'autocomplete':['on','off'],'enctype':Mz,'method':Pz,'novalidate':['novalidate'],'target':Cz}},'h1':Lz,'h2':Lz,'h3':Lz,'h4':Lz,'h5':Lz,'h6':Lz,'head':{'children':['title','base','link','style','meta','script','noscript','command']},'header':Lz,'hgroup':Lz,'hr':Lz,'html':{'attrs':{'manifest':null}},'i':Lz,'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':Mz,'formmethod':Pz,'formnovalidate':['novalidate'],'formtarget':Cz,'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':Lz,'keygen':{'attrs':{'challenge':null,'form':null,'name':null,'autofocus':['autofocus'],'disabled':['disabled'],'keytype':['RSA']}},'label':{'attrs':{'for':null,'form':null}},'legend':Lz,'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':Lz,'menu':{'attrs':{'label':null,'type':['list','context','toolbar']}},'meta':{'attrs':{'content':null,'charset':Rz,'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':Lz,'noscript':Lz,'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':Lz,'param':{'attrs':{'name':null,'value':null}},'pre':Lz,'progress':{'attrs':{'value':null,'max':null}},'q':{'attrs':{'cite':null}},'rp':Lz,'rt':Lz,'ruby':Lz,'samp':Lz,'script':{'attrs':{'type':['text/javascript'],'src':null,'async':['async'],'defer':['defer'],'charset':Rz}},'section':Lz,'select':{'attrs':{'form':null,'name':null,'size':null,'autofocus':['autofocus'],'disabled':['disabled'],'multiple':['multiple']}},'slot':{'attrs':{'name':null}},'small':Lz,'source':{'attrs':{'src':null,'type':null,'media':null}},'span':Lz,'strong':Lz,'style':{'attrs':{'type':['text/css'],'media':null,'scoped':null}},'sub':Lz,'summary':Lz,'sup':Lz,'table':Lz,'tbody':Lz,'td':{'attrs':{'colspan':null,'rowspan':null,'headers':null}},'template':Lz,'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':Lz,'th':{'attrs':{'colspan':null,'rowspan':null,'headers':null,'scope':['row','col','rowgroup','colgroup']}},'thead':Lz,'time':{'attrs':{'datetime':null}},'title':Lz,'tr':Lz,'track':{'attrs':{'src':null,'label':null,'default':null,'kind':['subtitles','captions','descriptions','chapters','metadata'],'srclang':null}},'ul':{'children':['li','script','template','ul','ol']},'var':Lz,'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':Lz},Dz={'accesskey':null,'class':null,'contenteditable':Nz,'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':Nz,'autocorrect':Nz,'autocapitalize':Nz,'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':Nz,'aria-autocomplete':['inline','list','both','none'],'aria-busy':Nz,'aria-checked':['true','false','mixed','undefined'],'aria-controls':null,'aria-describedby':null,'aria-disabled':Nz,'aria-dropeffect':null,'aria-expanded':['true','false','undefined'],'aria-flowto':null,'aria-grabbed':['true','false','undefined'],'aria-haspopup':Nz,'aria-hidden':Nz,'aria-invalid':['true','false','grammar','spelling'],'aria-label':null,'aria-labelledby':null,'aria-level':null,'aria-live':['off','polite','assertive'],'aria-multiline':Nz,'aria-multiselectable':Nz,'aria-owns':null,'aria-posinset':null,'aria-pressed':['true','false','mixed','undefined'],'aria-readonly':Nz,'aria-relevant':null,'aria-required':Nz,'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},Qz='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'](_0x456a06=>'on'+_0x456a06);for(let e of Qz)Dz[e]=null;var jz=class{constructor(_0x1cb18f,_0x22e92a){this['tags']={...$z,..._0x1cb18f},this['globalAttrs']={...Dz,..._0x22e92a},this['allTags']=Object['keys'](this['tags']),this['globalAttrNames']=Object['keys'](this['globalAttrs']);}};function Uz(_0x1d5ffb,_0x5a7490,_0x52eb6c=_0x1d5ffb['length']){if(!_0x5a7490)return'';let _0x44be10=_0x5a7490['firstChild'],_0x4615cf=_0x44be10&&_0x44be10['getChild']('TagName');return _0x4615cf?_0x1d5ffb['sliceString'](_0x4615cf['from'],Math['min'](_0x4615cf['to'],_0x52eb6c)):'';}function Vz(_0x3948ff,_0x456cdd=!0x1){for(;_0x3948ff;_0x3948ff=_0x3948ff['parent'])if('Element'==_0x3948ff['name']){if(!_0x456cdd)return _0x3948ff;_0x456cdd=!0x1;}return null;}function Bz(_0x314041,_0x4d7c64,_0x216551){let _0x351bb5=_0x216551['tags'][Uz(_0x314041,Vz(_0x4d7c64))];return(null==_0x351bb5?void 0x0:_0x351bb5['children'])||_0x216551['allTags'];}function Fz(_0x30e473,_0x5e1bbf){let _0x5d1538=[];for(let _0x5b79a9=Vz(_0x5e1bbf);_0x5b79a9&&!_0x5b79a9['type']['isTop'];_0x5b79a9=Vz(_0x5b79a9['parent'])){let _0x10b0c5=Uz(_0x30e473,_0x5b79a9);if(_0x10b0c5&&'CloseTag'==_0x5b79a9['lastChild']['name'])break;_0x10b0c5&&_0x5d1538['indexOf'](_0x10b0c5)<0x0&&('EndTag'==_0x5e1bbf['name']||_0x5e1bbf['from']>=_0x5b79a9['firstChild']['to'])&&_0x5d1538['push'](_0x10b0c5);}return _0x5d1538;}jz['default']=new jz();const Hz=/^[:\-\.\w\u00b7-\uffff]*$/;function Zz(_0x584c6d,_0x1fefed,_0x308bf5,_0x57c6a6,_0x2652ed){let _0x41bcea=/\s*>/['test'](_0x584c6d['sliceDoc'](_0x2652ed,_0x2652ed+0x5))?'':'>',_0x4e30b1=Vz(_0x308bf5,'StartTag'==_0x308bf5['name']||'TagName'==_0x308bf5['name']);return{'from':_0x57c6a6,'to':_0x2652ed,'options':Bz(_0x584c6d['doc'],_0x4e30b1,_0x1fefed)['map'](_0xcffa38=>({'label':_0xcffa38,'type':'type'}))['concat'](Fz(_0x584c6d['doc'],_0x308bf5)['map']((_0x254de7,_0x10f19e)=>({'label':'/'+_0x254de7,'apply':'/'+_0x254de7+_0x41bcea,'type':'type','boost':0x63-_0x10f19e}))),'validFor':/^\/?[:\-\.\w\u00b7-\uffff]*$/};}function Gz(_0x3a6cab,_0x2461fd,_0x11c481,_0x2d7688){let _0x95380c=/\s*>/['test'](_0x3a6cab['sliceDoc'](_0x2d7688,_0x2d7688+0x5))?'':'>';return{'from':_0x11c481,'to':_0x2d7688,'options':Fz(_0x3a6cab['doc'],_0x2461fd)['map']((_0x46e436,_0x139178)=>({'label':_0x46e436,'apply':_0x46e436+_0x95380c,'type':'type','boost':0x63-_0x139178})),'validFor':Hz};}function Xz(_0x6aea06,_0x7f8a50){let {state:_0x2e2924,pos:_0x21a5e7}=_0x7f8a50,_0x25b013=UF(_0x2e2924)['resolveInner'](_0x21a5e7,-0x1),_0xdcf29=_0x25b013['resolve'](_0x21a5e7);for(let _0x2729c0,_0x3dfe56=_0x21a5e7;_0xdcf29==_0x25b013&&(_0x2729c0=_0x25b013['childBefore'](_0x3dfe56));){let _0x426bfc=_0x2729c0['lastChild'];if(!_0x426bfc||!_0x426bfc['type']['isError']||_0x426bfc['from']<_0x426bfc['to'])break;_0xdcf29=_0x25b013=_0x2729c0,_0x3dfe56=_0x426bfc['from'];}return'TagName'==_0x25b013['name']?_0x25b013['parent']&&/CloseTag$/['test'](_0x25b013['parent']['name'])?Gz(_0x2e2924,_0x25b013,_0x25b013['from'],_0x21a5e7):Zz(_0x2e2924,_0x6aea06,_0x25b013,_0x25b013['from'],_0x21a5e7):'StartTag'==_0x25b013['name']||'IncompleteTag'==_0x25b013['name']?Zz(_0x2e2924,_0x6aea06,_0x25b013,_0x21a5e7,_0x21a5e7):'StartCloseTag'==_0x25b013['name']||'IncompleteCloseTag'==_0x25b013['name']?Gz(_0x2e2924,_0x25b013,_0x21a5e7,_0x21a5e7):'OpenTag'==_0x25b013['name']||'SelfClosingTag'==_0x25b013['name']||'AttributeName'==_0x25b013['name']?function(_0x391986,_0x377284,_0x5948b8,_0x557360,_0x25f532){let _0xe860d2=Vz(_0x5948b8),_0x5b5e79=_0xe860d2?_0x377284['tags'][Uz(_0x391986['doc'],_0xe860d2)]:null,_0x1036a2=_0x5b5e79&&_0x5b5e79['attrs']?Object['keys'](_0x5b5e79['attrs']):[];return{'from':_0x557360,'to':_0x25f532,'options':(_0x5b5e79&&!0x1===_0x5b5e79['globalAttrs']?_0x1036a2:_0x1036a2['length']?_0x1036a2['concat'](_0x377284['globalAttrNames']):_0x377284['globalAttrNames'])['map'](_0x5365c6=>({'label':_0x5365c6,'type':'property'})),'validFor':Hz};}(_0x2e2924,_0x6aea06,_0x25b013,'AttributeName'==_0x25b013['name']?_0x25b013['from']:_0x21a5e7,_0x21a5e7):'Is'==_0x25b013['name']||'AttributeValue'==_0x25b013['name']||'UnquotedAttributeValue'==_0x25b013['name']?function(_0x15cf46,_0x4f2874,_0x46e912,_0x29858c,_0x4f444f){var _0x5b09ba;let _0xc528b0,_0x11a1ca=null===(_0x5b09ba=_0x46e912['parent'])||void 0x0===_0x5b09ba?void 0x0:_0x5b09ba['getChild']('AttributeName'),_0x2c0725=[];if(_0x11a1ca){let _0x54169b=_0x15cf46['sliceDoc'](_0x11a1ca['from'],_0x11a1ca['to']),_0x5b4e24=_0x4f2874['globalAttrs'][_0x54169b];if(!_0x5b4e24){let _0x18c80f=Vz(_0x46e912),_0x138652=_0x18c80f?_0x4f2874['tags'][Uz(_0x15cf46['doc'],_0x18c80f)]:null;_0x5b4e24=(null==_0x138652?void 0x0:_0x138652['attrs'])&&_0x138652['attrs'][_0x54169b];}if(_0x5b4e24){let _0x4f886b=_0x15cf46['sliceDoc'](_0x29858c,_0x4f444f)['toLowerCase'](),_0x4b9e0b='\x22',_0x40c97a='\x22';/^['"]/['test'](_0x4f886b)?(_0xc528b0='\x22'==_0x4f886b[0x0]?/^[^"]*$/:/^[^']*$/,_0x4b9e0b='',_0x40c97a=_0x15cf46['sliceDoc'](_0x4f444f,_0x4f444f+0x1)==_0x4f886b[0x0]?'':_0x4f886b[0x0],_0x4f886b=_0x4f886b['slice'](0x1),_0x29858c++):_0xc528b0=/^[^\s<>='"]*$/;for(let _0x378718 of _0x5b4e24)_0x2c0725['push']({'label':_0x378718,'apply':_0x4b9e0b+_0x378718+_0x40c97a,'type':'constant'});}}return{'from':_0x29858c,'to':_0x4f444f,'options':_0x2c0725,'validFor':_0xc528b0};}(_0x2e2924,_0x6aea06,_0x25b013,'Is'==_0x25b013['name']?_0x21a5e7:_0x25b013['from'],_0x21a5e7):!_0x7f8a50['explicit']||'Element'!=_0xdcf29['name']&&'Text'!=_0xdcf29['name']&&'Document'!=_0xdcf29['name']?null:function(_0x42358a,_0x1ffceb,_0x5aca9c,_0x259787){let _0x2d6857=[],_0x443a17=0x0;for(let _0x928cad of Bz(_0x42358a['doc'],_0x5aca9c,_0x1ffceb))_0x2d6857['push']({'label':'<'+_0x928cad,'type':'type'});for(let _0x5bc055 of Fz(_0x42358a['doc'],_0x5aca9c))_0x2d6857['push']({'label':'</'+_0x5bc055+'>','type':'type','boost':0x63-_0x443a17++});return{'from':_0x259787,'to':_0x259787,'options':_0x2d6857,'validFor':/^<\/?[:\-\.\w\u00b7-\uffff]*$/};}(_0x2e2924,_0x6aea06,_0x25b013,_0x21a5e7);}function qz(_0xfe85cf){let {extraTags:_0x514095,extraGlobalAttributes:_0x3b7250}=_0xfe85cf,_0x1e9c3c=_0x3b7250||_0x514095?new jz(_0x514095,_0x3b7250):jz['default'];return _0x9e7e2=>Xz(_0x1e9c3c,_0x9e7e2);}const Wz=wz['parser']['configure']({'top':'SingleExpression'}),zz=[{'tag':'script','attrs':_0x3cbb6b=>'text/typescript'==_0x3cbb6b['type']||'ts'==_0x3cbb6b['lang'],'parser':yz['parser']},{'tag':'script','attrs':_0x23e19a=>'text/babel'==_0x23e19a['type']||'text/jsx'==_0x23e19a['type'],'parser':vz['parser']},{'tag':'script','attrs':_0x505b4b=>'text/typescript-jsx'==_0x505b4b['type'],'parser':_z['parser']},{'tag':'script','attrs':_0xed6e3e=>/^(importmap|speculationrules|application\/(.+\+)?json)$/i['test'](_0xed6e3e['type']),'parser':Wz},{'tag':'script','attrs':_0x348d77=>!_0x348d77['type']||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i['test'](_0x348d77['type']),'parser':wz['parser']},{'tag':'style','attrs':_0x42e27c=>(!_0x42e27c['lang']||'css'==_0x42e27c['lang'])&&(!_0x42e27c['type']||/^(text\/)?(x-)?(stylesheet|css)$/i['test'](_0x42e27c['type'])),'parser':XW['parser']}],Yz=[{'name':'style','parser':XW['parser']['configure']({'top':'Styles'})}]['concat'](Qz['map'](_0x7dbf67=>({'name':_0x7dbf67,'parser':wz['parser']}))),Kz=jF['define']({'name':'html','parser':dW['configure']({'props':[nH['add']({'Element'(_0x4ee0f6){let _0x474307=/^(\s*)(<\/)?/['exec'](_0x4ee0f6['textAfter']);return _0x4ee0f6['node']['to']<=_0x4ee0f6['pos']+_0x474307[0x0]['length']?_0x4ee0f6['continue']():_0x4ee0f6['lineIndent'](_0x4ee0f6['node']['from'])+(_0x474307[0x2]?0x0:_0x4ee0f6['unit']);},'OpenTag\x20CloseTag\x20SelfClosingTag':_0xd028b1=>_0xd028b1['column'](_0xd028b1['node']['from'])+_0xd028b1['unit'],'Document'(_0x29e5f3){if(_0x29e5f3['pos']+/\s*/['exec'](_0x29e5f3['textAfter'])[0x0]['length']<_0x29e5f3['node']['to'])return _0x29e5f3['continue']();let _0x491ac5,_0x142a52=null;for(let _0x100f02=_0x29e5f3['node'];;){let _0x4cd9dc=_0x100f02['lastChild'];if(!_0x4cd9dc||'Element'!=_0x4cd9dc['name']||_0x4cd9dc['to']!=_0x100f02['to'])break;_0x142a52=_0x100f02=_0x4cd9dc;}return _0x142a52&&(!(_0x491ac5=_0x142a52['lastChild'])||'CloseTag'!=_0x491ac5['name']&&'SelfClosingTag'!=_0x491ac5['name'])?_0x29e5f3['lineIndent'](_0x142a52['from'])+_0x29e5f3['unit']:null;}}),pH['add']({'Element'(_0x321816){let _0x9286b5=_0x321816['firstChild'],_0x5a495a=_0x321816['lastChild'];return _0x9286b5&&'OpenTag'==_0x9286b5['name']?{'from':_0x9286b5['to'],'to':'CloseTag'==_0x5a495a['name']?_0x5a495a['from']:_0x321816['to']}:null;}}),sZ['add']({'OpenTag\x20CloseTag':_0x154647=>_0x154647['getChild']('TagName')})]}),'languageData':{'commentTokens':{'block':{'open':'<!--','close':'-->'}},'indentOnInput':/^\s*<\/\w+\W$/,'wordChars':'-_'}}),Jz=Kz['configure']({'wrap':gW(zz,Yz)});function tY(_0xe1014a={}){let _0x58fe2a,_0x677f2f='';return!0x1===_0xe1014a['matchClosingTags']&&(_0x677f2f='noMatch'),!0x0===_0xe1014a['selfClosingTags']&&(_0x677f2f=(_0x677f2f?_0x677f2f+'\x20':'')+'selfClosing'),(_0xe1014a['nestedLanguages']&&_0xe1014a['nestedLanguages']['length']||_0xe1014a['nestedAttributes']&&_0xe1014a['nestedAttributes']['length'])&&(_0x58fe2a=gW((_0xe1014a['nestedLanguages']||[])['concat'](zz),(_0xe1014a['nestedAttributes']||[])['concat'](Yz))),new zF(_0x58fe2a?Kz['configure']({'wrap':_0x58fe2a,'dialect':_0x677f2f}):_0x677f2f?Jz['configure']({'dialect':_0x677f2f}):Jz,[Jz['data']['of']({'autocomplete':qz(_0xe1014a)}),!0x1!==_0xe1014a['autoCloseTags']?iY:[],Sz()['support'],new zF(XW,XW['data']['of']({'autocomplete':GW}))['support']]);}const eY=new Set('area\x20base\x20br\x20col\x20command\x20embed\x20frame\x20hr\x20img\x20input\x20keygen\x20link\x20meta\x20param\x20source\x20track\x20wbr\x20menuitem'['split']('\x20')),iY=NU['inputHandler']['of']((_0x26e974,_0x4b6662,_0x44d427,_0x483d1f,_0x13436e)=>{if(_0x26e974['composing']||_0x26e974['state']['readOnly']||_0x4b6662!=_0x44d427||'>'!=_0x483d1f&&'/'!=_0x483d1f||!Jz['isActiveAt'](_0x26e974['state'],_0x4b6662,-0x1))return!0x1;let _0x57643c=_0x13436e(),{state:_0x138ca3}=_0x57643c,_0x185799=_0x138ca3['changeByRange'](_0x110203=>{var _0x192012,_0x10b371,_0x3da384;let _0x7bb00d,_0x3b9789=_0x138ca3['doc']['sliceString'](_0x110203['from']-0x1,_0x110203['to'])==_0x483d1f,{head:_0x3cc56b}=_0x110203,_0x4e87f2=UF(_0x138ca3)['resolveInner'](_0x3cc56b,-0x1);if(_0x3b9789&&'>'==_0x483d1f&&'EndTag'==_0x4e87f2['name']){let _0x47d4eb=_0x4e87f2['parent'];if('CloseTag'!=(null===(_0x10b371=null===(_0x192012=_0x47d4eb['parent'])||void 0x0===_0x192012?void 0x0:_0x192012['lastChild'])||void 0x0===_0x10b371?void 0x0:_0x10b371['name'])&&(_0x7bb00d=Uz(_0x138ca3['doc'],_0x47d4eb['parent'],_0x3cc56b))&&!eY['has'](_0x7bb00d))return{'range':_0x110203,'changes':{'from':_0x3cc56b,'to':_0x3cc56b+('>'===_0x138ca3['doc']['sliceString'](_0x3cc56b,_0x3cc56b+0x1)?0x1:0x0),'insert':'</'+_0x7bb00d+'>'}};}else{if(_0x3b9789&&'/'==_0x483d1f&&'IncompleteCloseTag'==_0x4e87f2['name']){let _0x16a73e=_0x4e87f2['parent'];if(_0x4e87f2['from']==_0x3cc56b-0x2&&'CloseTag'!=(null===(_0x3da384=_0x16a73e['lastChild'])||void 0x0===_0x3da384?void 0x0:_0x3da384['name'])&&(_0x7bb00d=Uz(_0x138ca3['doc'],_0x16a73e,_0x3cc56b))&&!eY['has'](_0x7bb00d)){let _0x34417a=_0x3cc56b+('>'===_0x138ca3['doc']['sliceString'](_0x3cc56b,_0x3cc56b+0x1)?0x1:0x0),_0x28ad1a=_0x7bb00d+'>';return{'range':oL['cursor'](_0x3cc56b+_0x28ad1a['length'],-0x1),'changes':{'from':_0x3cc56b,'to':_0x34417a,'insert':_0x28ad1a}};}}}return{'range':_0x110203};});return!_0x185799['changes']['empty']&&(_0x26e974['dispatch']([_0x57643c,_0x138ca3['update'](_0x185799,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);});var sY,nY=class CompositeBlock{static['create'](_0x434782,_0x3525fc,_0x4718ef,_0x5564ab,_0xc8ada9){return new CompositeBlock(_0x434782,_0x3525fc,_0x4718ef,_0x5564ab+(_0x5564ab<<0x8)+_0x434782+(_0x3525fc<<0x4)|0x0,_0xc8ada9,[],[]);}constructor(_0x5ec833,_0x16cbca,_0x345077,_0x4bdb02,_0x1c015d,_0x5c7a92,_0x505eb8){this['type']=_0x5ec833,this['value']=_0x16cbca,this['from']=_0x345077,this['hash']=_0x4bdb02,this['end']=_0x1c015d,this['children']=_0x5c7a92,this['positions']=_0x505eb8,this['hashProp']=[[OB['contextHash'],_0x4bdb02]];}['addChild'](_0x6fe763,_0x5f0e7b){_0x6fe763['prop'](OB['contextHash'])!=this['hash']&&(_0x6fe763=new AB(_0x6fe763['type'],_0x6fe763['children'],_0x6fe763['positions'],_0x6fe763['length'],this['hashProp'])),this['children']['push'](_0x6fe763),this['positions']['push'](_0x5f0e7b);}['toTree'](_0x53c8d8,_0x5cbf1c=this['end']){let _0x858599=this['children']['length']-0x1;return _0x858599>=0x0&&(_0x5cbf1c=Math['max'](_0x5cbf1c,this['positions'][_0x858599]+this['children'][_0x858599]['length']+this['from'])),new AB(_0x53c8d8['types'][this['type']],this['children'],this['positions'],_0x5cbf1c-this['from'])['balance']({'makeTree':(_0x535d0b,_0xedd52,_0x523af6)=>new AB(yB['none'],_0x535d0b,_0xedd52,_0x523af6,this['hashProp'])});}};!function(_0x4f947f){_0x4f947f[_0x4f947f['Document']=0x1]='Document',_0x4f947f[_0x4f947f['CodeBlock']=0x2]='CodeBlock',_0x4f947f[_0x4f947f['FencedCode']=0x3]='FencedCode',_0x4f947f[_0x4f947f['Blockquote']=0x4]='Blockquote',_0x4f947f[_0x4f947f['HorizontalRule']=0x5]='HorizontalRule',_0x4f947f[_0x4f947f['BulletList']=0x6]='BulletList',_0x4f947f[_0x4f947f['OrderedList']=0x7]='OrderedList',_0x4f947f[_0x4f947f['ListItem']=0x8]='ListItem',_0x4f947f[_0x4f947f['ATXHeading1']=0x9]='ATXHeading1',_0x4f947f[_0x4f947f['ATXHeading2']=0xa]='ATXHeading2',_0x4f947f[_0x4f947f['ATXHeading3']=0xb]='ATXHeading3',_0x4f947f[_0x4f947f['ATXHeading4']=0xc]='ATXHeading4',_0x4f947f[_0x4f947f['ATXHeading5']=0xd]='ATXHeading5',_0x4f947f[_0x4f947f['ATXHeading6']=0xe]='ATXHeading6',_0x4f947f[_0x4f947f['SetextHeading1']=0xf]='SetextHeading1',_0x4f947f[_0x4f947f['SetextHeading2']=0x10]='SetextHeading2',_0x4f947f[_0x4f947f['HTMLBlock']=0x11]='HTMLBlock',_0x4f947f[_0x4f947f['LinkReference']=0x12]='LinkReference',_0x4f947f[_0x4f947f['Paragraph']=0x13]='Paragraph',_0x4f947f[_0x4f947f['CommentBlock']=0x14]='CommentBlock',_0x4f947f[_0x4f947f['ProcessingInstructionBlock']=0x15]='ProcessingInstructionBlock',_0x4f947f[_0x4f947f['Escape']=0x16]='Escape',_0x4f947f[_0x4f947f['Entity']=0x17]='Entity',_0x4f947f[_0x4f947f['HardBreak']=0x18]='HardBreak',_0x4f947f[_0x4f947f['Emphasis']=0x19]='Emphasis',_0x4f947f[_0x4f947f['StrongEmphasis']=0x1a]='StrongEmphasis',_0x4f947f[_0x4f947f['Link']=0x1b]='Link',_0x4f947f[_0x4f947f['Image']=0x1c]='Image',_0x4f947f[_0x4f947f['InlineCode']=0x1d]='InlineCode',_0x4f947f[_0x4f947f['HTMLTag']=0x1e]='HTMLTag',_0x4f947f[_0x4f947f['Comment']=0x1f]='Comment',_0x4f947f[_0x4f947f['ProcessingInstruction']=0x20]='ProcessingInstruction',_0x4f947f[_0x4f947f['Autolink']=0x21]='Autolink',_0x4f947f[_0x4f947f['HeaderMark']=0x22]='HeaderMark',_0x4f947f[_0x4f947f['QuoteMark']=0x23]='QuoteMark',_0x4f947f[_0x4f947f['ListMark']=0x24]='ListMark',_0x4f947f[_0x4f947f['LinkMark']=0x25]='LinkMark',_0x4f947f[_0x4f947f['EmphasisMark']=0x26]='EmphasisMark',_0x4f947f[_0x4f947f['CodeMark']=0x27]='CodeMark',_0x4f947f[_0x4f947f['CodeText']=0x28]='CodeText',_0x4f947f[_0x4f947f['CodeInfo']=0x29]='CodeInfo',_0x4f947f[_0x4f947f['LinkTitle']=0x2a]='LinkTitle',_0x4f947f[_0x4f947f['LinkLabel']=0x2b]='LinkLabel',_0x4f947f[_0x4f947f['URL']=0x2c]='URL';}(sY||(sY={}));var rY=class{constructor(_0x4dfa31,_0x565696){this['start']=_0x4dfa31,this['content']=_0x565696,this['marks']=[],this['parsers']=[];}},oY=class{constructor(){this['text']='',this['baseIndent']=0x0,this['basePos']=0x0,this['depth']=0x0,this['markers']=[],this['pos']=0x0,this['indent']=0x0,this['next']=-0x1;}['forward'](){this['basePos']>this['pos']&&this['forwardInner']();}['forwardInner'](){let _0x344364=this['skipSpace'](this['basePos']);this['indent']=this['countIndent'](_0x344364,this['pos'],this['indent']),this['pos']=_0x344364,this['next']=_0x344364==this['text']['length']?-0x1:this['text']['charCodeAt'](_0x344364);}['skipSpace'](_0x13a2dd){return hY(this['text'],_0x13a2dd);}['reset'](_0x20ab60){for(this['text']=_0x20ab60,this['baseIndent']=this['basePos']=this['pos']=this['indent']=0x0,this['forwardInner'](),this['depth']=0x1;this['markers']['length'];)this['markers']['pop']();}['moveBase'](_0x1750d1){this['basePos']=_0x1750d1,this['baseIndent']=this['countIndent'](_0x1750d1,this['pos'],this['indent']);}['moveBaseColumn'](_0x1e27a4){this['baseIndent']=_0x1e27a4,this['basePos']=this['findColumn'](_0x1e27a4);}['addMarker'](_0x2833f9){this['markers']['push'](_0x2833f9);}['countIndent'](_0x5c5948,_0x560f4e=0x0,_0x21d5cb=0x0){for(let _0x333578=_0x560f4e;_0x333578<_0x5c5948;_0x333578++)_0x21d5cb+=0x9==this['text']['charCodeAt'](_0x333578)?0x4-_0x21d5cb%0x4:0x1;return _0x21d5cb;}['findColumn'](_0x16ecad){let _0x39ca01=0x0;for(let _0x5987a3=0x0;_0x39ca01<this['text']['length']&&_0x5987a3<_0x16ecad;_0x39ca01++)_0x5987a3+=0x9==this['text']['charCodeAt'](_0x39ca01)?0x4-_0x5987a3%0x4:0x1;return _0x39ca01;}['scrub'](){if(!this['baseIndent'])return this['text'];let _0x1246bc='';for(let _0x5a4d34=0x0;_0x5a4d34<this['basePos'];_0x5a4d34++)_0x1246bc+='\x20';return _0x1246bc+this['text']['slice'](this['basePos']);}};function aY(_0x2f1ac2,_0x32512a,_0x243123){if(_0x243123['pos']==_0x243123['text']['length']||_0x2f1ac2!=_0x32512a['block']&&_0x243123['indent']>=_0x32512a['stack'][_0x243123['depth']+0x1]['value']+_0x243123['baseIndent'])return!0x0;if(_0x243123['indent']>=_0x243123['baseIndent']+0x4)return!0x1;let _0x3202f3=(_0x2f1ac2['type']==sY['OrderedList']?OY:gY)(_0x243123,_0x32512a,!0x1);return _0x3202f3>0x0&&(_0x2f1ac2['type']!=sY['BulletList']||mY(_0x243123,_0x32512a,!0x1)<0x0)&&_0x243123['text']['charCodeAt'](_0x243123['pos']+_0x3202f3-0x1)==_0x2f1ac2['value'];}const cY={[sY['Blockquote']]:(_0x3c0831,_0x8b39cf,_0x2d56d8)=>0x3e==_0x2d56d8['next']&&(_0x2d56d8['markers']['push'](ZY(sY['QuoteMark'],_0x8b39cf['lineStart']+_0x2d56d8['pos'],_0x8b39cf['lineStart']+_0x2d56d8['pos']+0x1)),_0x2d56d8['moveBase'](_0x2d56d8['pos']+(lY(_0x2d56d8['text']['charCodeAt'](_0x2d56d8['pos']+0x1))?0x2:0x1)),_0x3c0831['end']=_0x8b39cf['lineStart']+_0x2d56d8['text']['length'],!0x0),[sY['ListItem']]:(_0x542d2d,_0x580543,_0x2543e9)=>!(_0x2543e9['indent']<_0x2543e9['baseIndent']+_0x542d2d['value']&&_0x2543e9['next']>-0x1)&&(_0x2543e9['moveBaseColumn'](_0x2543e9['baseIndent']+_0x542d2d['value']),!0x0),[sY['OrderedList']]:aY,[sY['BulletList']]:aY,[sY['Document']]:()=>!0x0};function lY(_0x553f31){return 0x20==_0x553f31||0x9==_0x553f31||0xa==_0x553f31||0xd==_0x553f31;}function hY(_0x1fc8d5,_0x1a1baa=0x0){for(;_0x1a1baa<_0x1fc8d5['length']&&lY(_0x1fc8d5['charCodeAt'](_0x1a1baa));)_0x1a1baa++;return _0x1a1baa;}function uY(_0x4ae161,_0x35b5b5,_0x577a6b){for(;_0x35b5b5>_0x577a6b&&lY(_0x4ae161['charCodeAt'](_0x35b5b5-0x1));)_0x35b5b5--;return _0x35b5b5;}function dY(_0x227c13){if(0x60!=_0x227c13['next']&&0x7e!=_0x227c13['next'])return-0x1;let _0x371e5b=_0x227c13['pos']+0x1;for(;_0x371e5b<_0x227c13['text']['length']&&_0x227c13['text']['charCodeAt'](_0x371e5b)==_0x227c13['next'];)_0x371e5b++;if(_0x371e5b<_0x227c13['pos']+0x3)return-0x1;if(0x60==_0x227c13['next']){for(let _0x2a6ae0=_0x371e5b;_0x2a6ae0<_0x227c13['text']['length'];_0x2a6ae0++)if(0x60==_0x227c13['text']['charCodeAt'](_0x2a6ae0))return-0x1;}return _0x371e5b;}function fY(_0xf7c484){return 0x3e!=_0xf7c484['next']?-0x1:0x20==_0xf7c484['text']['charCodeAt'](_0xf7c484['pos']+0x1)?0x2:0x1;}function mY(_0x49d19b,_0x2d739f,_0x5a3ab9){if(0x2a!=_0x49d19b['next']&&0x2d!=_0x49d19b['next']&&0x5f!=_0x49d19b['next'])return-0x1;let _0x4e4989=0x1;for(let _0x31b341=_0x49d19b['pos']+0x1;_0x31b341<_0x49d19b['text']['length'];_0x31b341++){let _0x304178=_0x49d19b['text']['charCodeAt'](_0x31b341);if(_0x304178==_0x49d19b['next'])_0x4e4989++;else{if(!lY(_0x304178))return-0x1;}}return _0x5a3ab9&&0x2d==_0x49d19b['next']&&bY(_0x49d19b)>-0x1&&_0x49d19b['depth']==_0x2d739f['stack']['length']&&_0x2d739f['parser']['leafBlockParsers']['indexOf'](RY['SetextHeading'])>-0x1||_0x4e4989<0x3?-0x1:0x1;}function pY(_0x4f7d6e,_0x1e0cbb){for(let _0x1f5ea4=_0x4f7d6e['stack']['length']-0x1;_0x1f5ea4>=0x0;_0x1f5ea4--)if(_0x4f7d6e['stack'][_0x1f5ea4]['type']==_0x1e0cbb)return!0x0;return!0x1;}function gY(_0x3112aa,_0x33a17e,_0x2aa1c5){return 0x2d!=_0x3112aa['next']&&0x2b!=_0x3112aa['next']&&0x2a!=_0x3112aa['next']||_0x3112aa['pos']!=_0x3112aa['text']['length']-0x1&&!lY(_0x3112aa['text']['charCodeAt'](_0x3112aa['pos']+0x1))||!(!_0x2aa1c5||pY(_0x33a17e,sY['BulletList'])||_0x3112aa['skipSpace'](_0x3112aa['pos']+0x2)<_0x3112aa['text']['length'])?-0x1:0x1;}function OY(_0x4457f3,_0x2be006,_0x222d18){let _0x1eb36e=_0x4457f3['pos'],_0x590496=_0x4457f3['next'];for(;_0x590496>=0x30&&_0x590496<=0x39;){if(_0x1eb36e++,_0x1eb36e==_0x4457f3['text']['length'])return-0x1;_0x590496=_0x4457f3['text']['charCodeAt'](_0x1eb36e);}return _0x1eb36e==_0x4457f3['pos']||_0x1eb36e>_0x4457f3['pos']+0x9||0x2e!=_0x590496&&0x29!=_0x590496||_0x1eb36e<_0x4457f3['text']['length']-0x1&&!lY(_0x4457f3['text']['charCodeAt'](_0x1eb36e+0x1))||_0x222d18&&!pY(_0x2be006,sY['OrderedList'])&&(_0x4457f3['skipSpace'](_0x1eb36e+0x1)==_0x4457f3['text']['length']||_0x1eb36e>_0x4457f3['pos']+0x1||0x31!=_0x4457f3['next'])?-0x1:_0x1eb36e+0x1-_0x4457f3['pos'];}function wY(_0x17aa44){if(0x23!=_0x17aa44['next'])return-0x1;let _0x34d7c9=_0x17aa44['pos']+0x1;for(;_0x34d7c9<_0x17aa44['text']['length']&&0x23==_0x17aa44['text']['charCodeAt'](_0x34d7c9);)_0x34d7c9++;if(_0x34d7c9<_0x17aa44['text']['length']&&0x20!=_0x17aa44['text']['charCodeAt'](_0x34d7c9))return-0x1;let _0x578458=_0x34d7c9-_0x17aa44['pos'];return _0x578458>0x6?-0x1:_0x578458;}function bY(_0x493c27){if(0x2d!=_0x493c27['next']&&0x3d!=_0x493c27['next']||_0x493c27['indent']>=_0x493c27['baseIndent']+0x4)return-0x1;let _0x2b439e=_0x493c27['pos']+0x1;for(;_0x2b439e<_0x493c27['text']['length']&&_0x493c27['text']['charCodeAt'](_0x2b439e)==_0x493c27['next'];)_0x2b439e++;let _0x55c71a=_0x2b439e;for(;_0x2b439e<_0x493c27['text']['length']&&lY(_0x493c27['text']['charCodeAt'](_0x2b439e));)_0x2b439e++;return _0x2b439e==_0x493c27['text']['length']?_0x55c71a:-0x1;}const yY=/^[ \t]*$/,vY=/-->/,_Y=/\?>/,EY=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,vY],[/^\s*<\?/,_Y],[/^\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,yY],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,yY]];function TY(_0x3f693c,_0x346134,_0x29e65d){if(0x3c!=_0x3f693c['next'])return-0x1;let _0x4f5664=_0x3f693c['text']['slice'](_0x3f693c['pos']);for(let _0xd4294c=0x0,_0x3b252d=EY['length']-(_0x29e65d?0x1:0x0);_0xd4294c<_0x3b252d;_0xd4294c++)if(EY[_0xd4294c][0x0]['test'](_0x4f5664))return _0xd4294c;return-0x1;}function AY(_0x164ef5,_0xbbd914){let _0x194a81=_0x164ef5['countIndent'](_0xbbd914,_0x164ef5['pos'],_0x164ef5['indent']),_0x165607=_0x164ef5['countIndent'](_0x164ef5['skipSpace'](_0xbbd914),_0xbbd914,_0x194a81);return _0x165607>=_0x194a81+0x5?_0x194a81+0x1:_0x165607;}function SY(_0x5ca6d1,_0x492b38,_0x20ae26){let _0x148973=_0x5ca6d1['length']-0x1;_0x148973>=0x0&&_0x5ca6d1[_0x148973]['to']==_0x492b38&&_0x5ca6d1[_0x148973]['type']==sY['CodeText']?_0x5ca6d1[_0x148973]['to']=_0x20ae26:_0x5ca6d1['push'](ZY(sY['CodeText'],_0x492b38,_0x20ae26));}const IY={'LinkReference':void 0x0,'IndentedCode'(_0x184250,_0x163964){let _0x4491fb=_0x163964['baseIndent']+0x4;if(_0x163964['indent']<_0x4491fb)return!0x1;let _0x37dd10=_0x163964['findColumn'](_0x4491fb),_0x2e73c2=_0x184250['lineStart']+_0x37dd10,_0x40bd59=_0x184250['lineStart']+_0x163964['text']['length'],_0x590960=[],_0x37d495=[];for(SY(_0x590960,_0x2e73c2,_0x40bd59);_0x184250['nextLine']()&&_0x163964['depth']>=_0x184250['stack']['length'];)if(_0x163964['pos']==_0x163964['text']['length']){SY(_0x37d495,_0x184250['lineStart']-0x1,_0x184250['lineStart']);for(let _0x225f82 of _0x163964['markers'])_0x37d495['push'](_0x225f82);}else{if(_0x163964['indent']<_0x4491fb)break;{if(_0x37d495['length']){for(let _0x4f148d of _0x37d495)_0x4f148d['type']==sY['CodeText']?SY(_0x590960,_0x4f148d['from'],_0x4f148d['to']):_0x590960['push'](_0x4f148d);_0x37d495=[];}SY(_0x590960,_0x184250['lineStart']-0x1,_0x184250['lineStart']);for(let _0x1aa6e6 of _0x163964['markers'])_0x590960['push'](_0x1aa6e6);_0x40bd59=_0x184250['lineStart']+_0x163964['text']['length'];let _0x57a32e=_0x184250['lineStart']+_0x163964['findColumn'](_0x163964['baseIndent']+0x4);_0x57a32e<_0x40bd59&&SY(_0x590960,_0x57a32e,_0x40bd59);}}return _0x37d495['length']&&(_0x37d495=_0x37d495['filter'](_0x4e9e9e=>_0x4e9e9e['type']!=sY['CodeText']),_0x37d495['length']&&(_0x163964['markers']=_0x37d495['concat'](_0x163964['markers']))),_0x184250['addNode'](_0x184250['buffer']['writeElements'](_0x590960,-_0x2e73c2)['finish'](sY['CodeBlock'],_0x40bd59-_0x2e73c2),_0x2e73c2),!0x0;},'FencedCode'(_0x264e75,_0x23dac7){let _0x45b41e=dY(_0x23dac7);if(_0x45b41e<0x0)return!0x1;let _0x37f917=_0x264e75['lineStart']+_0x23dac7['pos'],_0xd83e68=_0x23dac7['next'],_0x5949c8=_0x45b41e-_0x23dac7['pos'],_0x5cb7c5=_0x23dac7['skipSpace'](_0x45b41e),_0x25735e=uY(_0x23dac7['text'],_0x23dac7['text']['length'],_0x5cb7c5),_0x17e70e=[ZY(sY['CodeMark'],_0x37f917,_0x37f917+_0x5949c8)];_0x5cb7c5<_0x25735e&&_0x17e70e['push'](ZY(sY['CodeInfo'],_0x264e75['lineStart']+_0x5cb7c5,_0x264e75['lineStart']+_0x25735e));for(let _0x28838f=!0x0,_0xe3986c=!0x0,_0x5699f1=!0x1;_0x264e75['nextLine']()&&_0x23dac7['depth']>=_0x264e75['stack']['length'];_0x28838f=!0x1){let _0x227d2d=_0x23dac7['pos'];if(_0x23dac7['indent']-_0x23dac7['baseIndent']<0x4){for(;_0x227d2d<_0x23dac7['text']['length']&&_0x23dac7['text']['charCodeAt'](_0x227d2d)==_0xd83e68;)_0x227d2d++;}if(_0x227d2d-_0x23dac7['pos']>=_0x5949c8&&_0x23dac7['skipSpace'](_0x227d2d)==_0x23dac7['text']['length']){for(let _0x356216 of _0x23dac7['markers'])_0x17e70e['push'](_0x356216);_0xe3986c&&_0x5699f1&&SY(_0x17e70e,_0x264e75['lineStart']-0x1,_0x264e75['lineStart']),_0x17e70e['push'](ZY(sY['CodeMark'],_0x264e75['lineStart']+_0x23dac7['pos'],_0x264e75['lineStart']+_0x227d2d)),_0x264e75['nextLine']();break;}{_0x5699f1=!0x0,_0x28838f||(SY(_0x17e70e,_0x264e75['lineStart']-0x1,_0x264e75['lineStart']),_0xe3986c=!0x1);for(let _0x7e3dd2 of _0x23dac7['markers'])_0x17e70e['push'](_0x7e3dd2);let _0x2b8d69=_0x264e75['lineStart']+_0x23dac7['basePos'],_0x94036a=_0x264e75['lineStart']+_0x23dac7['text']['length'];_0x2b8d69<_0x94036a&&(SY(_0x17e70e,_0x2b8d69,_0x94036a),_0xe3986c=!0x1);}}return _0x264e75['addNode'](_0x264e75['buffer']['writeElements'](_0x17e70e,-_0x37f917)['finish'](sY['FencedCode'],_0x264e75['prevLineEnd']()-_0x37f917),_0x37f917),!0x0;},'Blockquote'(_0x16c316,_0x4e32cc){let _0x4ed83c=fY(_0x4e32cc);return!(_0x4ed83c<0x0)&&(_0x16c316['startContext'](sY['Blockquote'],_0x4e32cc['pos']),_0x16c316['addNode'](sY['QuoteMark'],_0x16c316['lineStart']+_0x4e32cc['pos'],_0x16c316['lineStart']+_0x4e32cc['pos']+0x1),_0x4e32cc['moveBase'](_0x4e32cc['pos']+_0x4ed83c),null);},'HorizontalRule'(_0x53746e,_0x50e8e6){if(mY(_0x50e8e6,_0x53746e,!0x1)<0x0)return!0x1;let _0x432900=_0x53746e['lineStart']+_0x50e8e6['pos'];return _0x53746e['nextLine'](),_0x53746e['addNode'](sY['HorizontalRule'],_0x432900),!0x0;},'BulletList'(_0x4b31a3,_0x5b27af){let _0x21673e=gY(_0x5b27af,_0x4b31a3,!0x1);if(_0x21673e<0x0)return!0x1;_0x4b31a3['block']['type']!=sY['BulletList']&&_0x4b31a3['startContext'](sY['BulletList'],_0x5b27af['basePos'],_0x5b27af['next']);let _0x49bae4=AY(_0x5b27af,_0x5b27af['pos']+0x1);return _0x4b31a3['startContext'](sY['ListItem'],_0x5b27af['basePos'],_0x49bae4-_0x5b27af['baseIndent']),_0x4b31a3['addNode'](sY['ListMark'],_0x4b31a3['lineStart']+_0x5b27af['pos'],_0x4b31a3['lineStart']+_0x5b27af['pos']+_0x21673e),_0x5b27af['moveBaseColumn'](_0x49bae4),null;},'OrderedList'(_0x1ec64c,_0x2e2a66){let _0x344ca7=OY(_0x2e2a66,_0x1ec64c,!0x1);if(_0x344ca7<0x0)return!0x1;_0x1ec64c['block']['type']!=sY['OrderedList']&&_0x1ec64c['startContext'](sY['OrderedList'],_0x2e2a66['basePos'],_0x2e2a66['text']['charCodeAt'](_0x2e2a66['pos']+_0x344ca7-0x1));let _0x11410c=AY(_0x2e2a66,_0x2e2a66['pos']+_0x344ca7);return _0x1ec64c['startContext'](sY['ListItem'],_0x2e2a66['basePos'],_0x11410c-_0x2e2a66['baseIndent']),_0x1ec64c['addNode'](sY['ListMark'],_0x1ec64c['lineStart']+_0x2e2a66['pos'],_0x1ec64c['lineStart']+_0x2e2a66['pos']+_0x344ca7),_0x2e2a66['moveBaseColumn'](_0x11410c),null;},'ATXHeading'(_0x51f08f,_0x49c917){let _0x322301=wY(_0x49c917);if(_0x322301<0x0)return!0x1;let _0x26fd65=_0x49c917['pos'],_0x56172c=_0x51f08f['lineStart']+_0x26fd65,_0x4de7a7=uY(_0x49c917['text'],_0x49c917['text']['length'],_0x26fd65),_0x2acf34=_0x4de7a7;for(;_0x2acf34>_0x26fd65&&_0x49c917['text']['charCodeAt'](_0x2acf34-0x1)==_0x49c917['next'];)_0x2acf34--;_0x2acf34!=_0x4de7a7&&_0x2acf34!=_0x26fd65&&lY(_0x49c917['text']['charCodeAt'](_0x2acf34-0x1))||(_0x2acf34=_0x49c917['text']['length']);let _0x490bc3=_0x51f08f['buffer']['write'](sY['HeaderMark'],0x0,_0x322301)['writeElements'](_0x51f08f['parser']['parseInline'](_0x49c917['text']['slice'](_0x26fd65+_0x322301+0x1,_0x2acf34),_0x56172c+_0x322301+0x1),-_0x56172c);_0x2acf34<_0x49c917['text']['length']&&_0x490bc3['write'](sY['HeaderMark'],_0x2acf34-_0x26fd65,_0x4de7a7-_0x26fd65);let _0x3249f4=_0x490bc3['finish'](sY['ATXHeading1']-0x1+_0x322301,_0x49c917['text']['length']-_0x26fd65);return _0x51f08f['nextLine'](),_0x51f08f['addNode'](_0x3249f4,_0x56172c),!0x0;},'HTMLBlock'(_0x57cdb8,_0x417e79){let _0xf4da5c=TY(_0x417e79,0x0,!0x1);if(_0xf4da5c<0x0)return!0x1;let _0x15f9dc=_0x57cdb8['lineStart']+_0x417e79['pos'],_0xfa1970=EY[_0xf4da5c][0x1],_0x15f004=[],_0x31968b=_0xfa1970!=yY;for(;!_0xfa1970['test'](_0x417e79['text'])&&_0x57cdb8['nextLine']();){if(_0x417e79['depth']<_0x57cdb8['stack']['length']){_0x31968b=!0x1;break;}for(let _0x54e2d2 of _0x417e79['markers'])_0x15f004['push'](_0x54e2d2);}_0x31968b&&_0x57cdb8['nextLine']();let _0x5473ff=_0xfa1970==vY?sY['CommentBlock']:_0xfa1970==_Y?sY['ProcessingInstructionBlock']:sY['HTMLBlock'],_0x465e4d=_0x57cdb8['prevLineEnd']();return _0x57cdb8['addNode'](_0x57cdb8['buffer']['writeElements'](_0x15f004,-_0x15f9dc)['finish'](_0x5473ff,_0x465e4d-_0x15f9dc),_0x15f9dc),!0x0;},'SetextHeading':void 0x0};var kY=class{constructor(_0x2c0d67){this['stage']=0x0,this['elts']=[],this['pos']=0x0,this['start']=_0x2c0d67['start'],this['advance'](_0x2c0d67['content']);}['nextLine'](_0x41969d,_0x5c831b,_0x186095){if(-0x1==this['stage'])return!0x1;let _0x5782ee=_0x186095['content']+'\x0a'+_0x5c831b['scrub'](),_0x26a742=this['advance'](_0x5782ee);return _0x26a742>-0x1&&_0x26a742<_0x5782ee['length']&&this['complete'](_0x41969d,_0x186095,_0x26a742);}['finish'](_0x3f6835,_0x5360f2){return(0x2==this['stage']||0x3==this['stage'])&&hY(_0x5360f2['content'],this['pos'])==_0x5360f2['content']['length']&&this['complete'](_0x3f6835,_0x5360f2,_0x5360f2['content']['length']);}['complete'](_0x4c7ddc,_0x387a64,_0xbed784){return _0x4c7ddc['addLeafElement'](_0x387a64,ZY(sY['LinkReference'],this['start'],this['start']+_0xbed784,this['elts'])),!0x0;}['nextStage'](_0x544305){return _0x544305?(this['pos']=_0x544305['to']-this['start'],this['elts']['push'](_0x544305),this['stage']++,!0x0):(!0x1===_0x544305&&(this['stage']=-0x1),!0x1);}['advance'](_0x5a75ef){for(;;){if(-0x1==this['stage'])return-0x1;if(0x0==this['stage']){if(!this['nextStage'](iK(_0x5a75ef,this['pos'],this['start'],!0x0)))return-0x1;if(0x3a!=_0x5a75ef['charCodeAt'](this['pos']))return this['stage']=-0x1;this['elts']['push'](ZY(sY['LinkMark'],this['pos']+this['start'],this['pos']+this['start']+0x1)),this['pos']++;}else{if(0x1!=this['stage']){if(0x2==this['stage']){let _0x1b6183=hY(_0x5a75ef,this['pos']),_0x47e36c=0x0;if(_0x1b6183>this['pos']){let _0xe020c=eK(_0x5a75ef,_0x1b6183,this['start']);if(_0xe020c){let _0x41e67a=xY(_0x5a75ef,_0xe020c['to']-this['start']);_0x41e67a>0x0&&(this['nextStage'](_0xe020c),_0x47e36c=_0x41e67a);}}return _0x47e36c||(_0x47e36c=xY(_0x5a75ef,this['pos'])),_0x47e36c>0x0&&_0x47e36c<_0x5a75ef['length']?_0x47e36c:-0x1;}return xY(_0x5a75ef,this['pos']);}if(!this['nextStage'](tK(_0x5a75ef,hY(_0x5a75ef,this['pos']),this['start'])))return-0x1;}}}};function xY(_0x3cb759,_0x377f9e){for(;_0x377f9e<_0x3cb759['length'];_0x377f9e++){let _0x15b940=_0x3cb759['charCodeAt'](_0x377f9e);if(0xa==_0x15b940)break;if(!lY(_0x15b940))return-0x1;}return _0x377f9e;}var CY=class{['nextLine'](_0x15d9f1,_0x398cee,_0xa5fa11){let _0x17739f=_0x398cee['depth']<_0x15d9f1['stack']['length']?-0x1:bY(_0x398cee),_0x18c478=_0x398cee['next'];if(_0x17739f<0x0)return!0x1;let _0x226c54=ZY(sY['HeaderMark'],_0x15d9f1['lineStart']+_0x398cee['pos'],_0x15d9f1['lineStart']+_0x17739f);return _0x15d9f1['nextLine'](),_0x15d9f1['addLeafElement'](_0xa5fa11,ZY(0x3d==_0x18c478?sY['SetextHeading1']:sY['SetextHeading2'],_0xa5fa11['start'],_0x15d9f1['prevLineEnd'](),[..._0x15d9f1['parser']['parseInline'](_0xa5fa11['content'],_0xa5fa11['start']),_0x226c54])),!0x0;}['finish'](){return!0x1;}};const RY={'LinkReference':(_0x3fc562,_0x105d90)=>0x5b==_0x105d90['content']['charCodeAt'](0x0)?new kY(_0x105d90):null,'SetextHeading':()=>new CY()},PY=[(_0x32fef8,_0x2692e1)=>wY(_0x2692e1)>=0x0,(_0x5895ce,_0x4e924f)=>dY(_0x4e924f)>=0x0,(_0x430435,_0x14530e)=>fY(_0x14530e)>=0x0,(_0x500d1a,_0x107fc8)=>gY(_0x107fc8,_0x500d1a,!0x0)>=0x0,(_0x18cb36,_0x205b9b)=>OY(_0x205b9b,_0x18cb36,!0x0)>=0x0,(_0x281050,_0x4fe328)=>mY(_0x4fe328,_0x281050,!0x0)>=0x0,(_0x816657,_0x5d6ca7)=>TY(_0x5d6ca7,0x0,!0x0)>=0x0],MY={'text':'','end':0x0};var NY=class{constructor(_0x30233a,_0x1a6ca8,_0x5376fa,_0x3f3a12){this['parser']=_0x30233a,this['input']=_0x1a6ca8,this['ranges']=_0x3f3a12,this['line']=new oY(),this['atEnd']=!0x1,this['reusePlaceholders']=new Map(),this['stoppedAt']=null,this['rangeI']=0x0,this['to']=_0x3f3a12[_0x3f3a12['length']-0x1]['to'],this['lineStart']=this['absoluteLineStart']=this['absoluteLineEnd']=_0x3f3a12[0x0]['from'],this['block']=nY['create'](sY['Document'],0x0,this['lineStart'],0x0,0x0),this['stack']=[this['block']],this['fragments']=_0x5376fa['length']?new oK(_0x5376fa,_0x1a6ca8):null,this['readLine']();}get['parsedPos'](){return this['absoluteLineStart'];}['advance'](){if(null!=this['stoppedAt']&&this['absoluteLineStart']>this['stoppedAt'])return this['finish']();let {line:_0x42dc3b}=this;for(;;){for(let _0x499d26=0x0;;){let _0x27d49d=_0x42dc3b['depth']<this['stack']['length']?this['stack'][this['stack']['length']-0x1]:null;for(;_0x499d26<_0x42dc3b['markers']['length']&&(!_0x27d49d||_0x42dc3b['markers'][_0x499d26]['from']<_0x27d49d['end']);){let _0x41d59e=_0x42dc3b['markers'][_0x499d26++];this['addNode'](_0x41d59e['type'],_0x41d59e['from'],_0x41d59e['to']);}if(!_0x27d49d)break;this['finishContext']();}if(_0x42dc3b['pos']<_0x42dc3b['text']['length'])break;if(!this['nextLine']())return this['finish']();}if(this['fragments']&&this['reuseFragment'](_0x42dc3b['basePos']))return null;t:for(;;){for(let _0x57d8ed of this['parser']['blockParsers'])if(_0x57d8ed){let _0x11c9d0=_0x57d8ed(this,_0x42dc3b);if(0x0!=_0x11c9d0){if(0x1==_0x11c9d0)return null;_0x42dc3b['forward']();continue t;}}break;}let _0xe2da9a=new rY(this['lineStart']+_0x42dc3b['pos'],_0x42dc3b['text']['slice'](_0x42dc3b['pos']));for(let _0x12f9d9 of this['parser']['leafBlockParsers'])if(_0x12f9d9){let _0x3c643c=_0x12f9d9(this,_0xe2da9a);_0x3c643c&&_0xe2da9a['parsers']['push'](_0x3c643c);}t:for(;this['nextLine']()&&_0x42dc3b['pos']!=_0x42dc3b['text']['length'];){if(_0x42dc3b['indent']<_0x42dc3b['baseIndent']+0x4){for(let _0x656ab0 of this['parser']['endLeafBlock'])if(_0x656ab0(this,_0x42dc3b,_0xe2da9a))break t;}for(let _0x248b04 of _0xe2da9a['parsers'])if(_0x248b04['nextLine'](this,_0x42dc3b,_0xe2da9a))return null;_0xe2da9a['content']+='\x0a'+_0x42dc3b['scrub']();for(let _0x2e9035 of _0x42dc3b['markers'])_0xe2da9a['marks']['push'](_0x2e9035);}return this['finishLeaf'](_0xe2da9a),null;}['stopAt'](_0x3c2e77){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x3c2e77)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x3c2e77;}['reuseFragment'](_0x4f671d){if(!this['fragments']['moveTo'](this['absoluteLineStart']+_0x4f671d,this['absoluteLineStart'])||!this['fragments']['matches'](this['block']['hash']))return!0x1;let _0x18de66=this['fragments']['takeNodes'](this);return!!_0x18de66&&(this['absoluteLineStart']+=_0x18de66,this['lineStart']=aK(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'](_0x5bcd14=this['depth']-0x1){return this['parser']['nodeSet']['types'][this['stack'][_0x5bcd14]['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'](_0x425dab){let _0x3c3bcb=MY;if(_0x3c3bcb['end']=_0x425dab,_0x425dab>=this['to'])_0x3c3bcb['text']='';else{if(_0x3c3bcb['text']=this['lineChunkAt'](_0x425dab),_0x3c3bcb['end']+=_0x3c3bcb['text']['length'],this['ranges']['length']>0x1){let _0x21fc80=this['absoluteLineStart'],_0x540c1f=this['rangeI'];for(;this['ranges'][_0x540c1f]['to']<_0x3c3bcb['end'];){_0x540c1f++;let _0x322e96=this['ranges'][_0x540c1f]['from'],_0x1fa81b=this['lineChunkAt'](_0x322e96);_0x3c3bcb['end']=_0x322e96+_0x1fa81b['length'],_0x3c3bcb['text']=_0x3c3bcb['text']['slice'](0x0,this['ranges'][_0x540c1f-0x1]['to']-_0x21fc80)+_0x1fa81b,_0x21fc80=_0x3c3bcb['end']-_0x3c3bcb['text']['length'];}}}return _0x3c3bcb;}['readLine'](){let {line:_0x541e61}=this,{text:_0x284fb1,end:_0x2a2ce8}=this['scanLine'](this['absoluteLineStart']);for(this['absoluteLineEnd']=_0x2a2ce8,_0x541e61['reset'](_0x284fb1);_0x541e61['depth']<this['stack']['length'];_0x541e61['depth']++){let _0x306467=this['stack'][_0x541e61['depth']],_0xe0135e=this['parser']['skipContextMarkup'][_0x306467['type']];if(!_0xe0135e)throw new Error('Unhandled\x20block\x20context\x20'+sY[_0x306467['type']]);let _0x439440=this['line']['markers']['length'];if(!_0xe0135e(_0x306467,this,_0x541e61)){this['line']['markers']['length']>_0x439440&&(_0x306467['end']=this['line']['markers'][this['line']['markers']['length']-0x1]['to']),_0x541e61['forward']();break;}_0x541e61['forward']();}}['lineChunkAt'](_0x81e3){let _0x330258,_0x1f6f57=this['input']['chunk'](_0x81e3);if(this['input']['lineChunks'])_0x330258='\x0a'==_0x1f6f57?'':_0x1f6f57;else{let _0x1a4ac2=_0x1f6f57['indexOf']('\x0a');_0x330258=_0x1a4ac2<0x0?_0x1f6f57:_0x1f6f57['slice'](0x0,_0x1a4ac2);}return _0x81e3+_0x330258['length']>this['to']?_0x330258['slice'](0x0,this['to']-_0x81e3):_0x330258;}['prevLineEnd'](){return this['atEnd']?this['lineStart']:this['lineStart']-0x1;}['startContext'](_0x2f20d0,_0x2b2620,_0x1eb399=0x0){this['block']=nY['create'](_0x2f20d0,_0x1eb399,this['lineStart']+_0x2b2620,this['block']['hash'],this['lineStart']+this['line']['text']['length']),this['stack']['push'](this['block']);}['startComposite'](_0x53cc0b,_0x12f129,_0x16fd5a=0x0){this['startContext'](this['parser']['getNodeType'](_0x53cc0b),_0x12f129,_0x16fd5a);}['addNode'](_0x5ecfe5,_0x62bd3c,_0x39da8b){'number'==typeof _0x5ecfe5&&(_0x5ecfe5=new AB(this['parser']['nodeSet']['types'][_0x5ecfe5],VY,VY,(null!=_0x39da8b?_0x39da8b:this['prevLineEnd']())-_0x62bd3c)),this['block']['addChild'](_0x5ecfe5,_0x62bd3c-this['block']['from']);}['addElement'](_0x1b7ece){this['block']['addChild'](_0x1b7ece['toTree'](this['parser']['nodeSet']),_0x1b7ece['from']-this['block']['from']);}['addLeafElement'](_0x429468,_0x472a6d){this['addNode'](this['buffer']['writeElements'](nK(_0x472a6d['children'],_0x429468['marks']),-_0x472a6d['from'])['finish'](_0x472a6d['type'],_0x472a6d['to']-_0x472a6d['from']),_0x472a6d['from']);}['finishContext'](){let _0x11601a=this['stack']['pop'](),_0x3b7615=this['stack'][this['stack']['length']-0x1];_0x3b7615['addChild'](_0x11601a['toTree'](this['parser']['nodeSet']),_0x11601a['from']-_0x3b7615['from']),this['block']=_0x3b7615;}['finish'](){for(;this['stack']['length']>0x1;)this['finishContext']();return this['addGaps'](this['block']['toTree'](this['parser']['nodeSet'],this['lineStart']));}['addGaps'](_0x2f1a05){return this['ranges']['length']>0x1?LY(this['ranges'],0x0,_0x2f1a05['topNode'],this['ranges'][0x0]['from'],this['reusePlaceholders']):_0x2f1a05;}['finishLeaf'](_0xff1cd){for(let _0xb0cdb0 of _0xff1cd['parsers'])if(_0xb0cdb0['finish'](this,_0xff1cd))return;let _0x970185=nK(this['parser']['parseInline'](_0xff1cd['content'],_0xff1cd['start']),_0xff1cd['marks']);this['addNode'](this['buffer']['writeElements'](_0x970185,-_0xff1cd['start'])['finish'](sY['Paragraph'],_0xff1cd['content']['length']),_0xff1cd['start']);}['elt'](_0x11d513,_0x55b7b1,_0x3e4f2a,_0x1a9d98){return'string'==typeof _0x11d513?ZY(this['parser']['getNodeType'](_0x11d513),_0x55b7b1,_0x3e4f2a,_0x1a9d98):new HY(_0x11d513,_0x55b7b1);}get['buffer'](){return new BY(this['parser']['nodeSet']);}};function LY(_0xed1d0f,_0x48dfb3,_0x4a0c6d,_0x52b08a,_0x1bb171){let _0x4e3547=_0xed1d0f[_0x48dfb3]['to'],_0x2575eb=[],_0x3e0047=[],_0x49c65a=_0x4a0c6d['from']+_0x52b08a;function _0x31fdf4(_0x4eac51,_0x1aa85d){for(;_0x1aa85d?_0x4eac51>=_0x4e3547:_0x4eac51>_0x4e3547;){let _0x341f20=_0xed1d0f[_0x48dfb3+0x1]['from']-_0x4e3547;_0x52b08a+=_0x341f20,_0x4eac51+=_0x341f20,_0x48dfb3++,_0x4e3547=_0xed1d0f[_0x48dfb3]['to'];}}for(let _0x5537b8=_0x4a0c6d['firstChild'];_0x5537b8;_0x5537b8=_0x5537b8['nextSibling']){_0x31fdf4(_0x5537b8['from']+_0x52b08a,!0x0);let _0x599cf2,_0x297a15=_0x5537b8['from']+_0x52b08a,_0x32358e=_0x1bb171['get'](_0x5537b8['tree']);_0x32358e?_0x599cf2=_0x32358e:_0x5537b8['to']+_0x52b08a>_0x4e3547?(_0x599cf2=LY(_0xed1d0f,_0x48dfb3,_0x5537b8,_0x52b08a,_0x1bb171),_0x31fdf4(_0x5537b8['to']+_0x52b08a,!0x1)):_0x599cf2=_0x5537b8['toTree'](),_0x2575eb['push'](_0x599cf2),_0x3e0047['push'](_0x297a15-_0x49c65a);}return _0x31fdf4(_0x4a0c6d['to']+_0x52b08a,!0x1),new AB(_0x4a0c6d['type'],_0x2575eb,_0x3e0047,_0x4a0c6d['to']+_0x52b08a-_0x49c65a,_0x4a0c6d['tree']?_0x4a0c6d['tree']['propValues']:void 0x0);}var $Y=class MarkdownParser extends GB{constructor(_0x455bdb,_0x9ad8f1,_0x5148dd,_0x4ebbae,_0x4ae2af,_0x23a6a3,_0x5dc5e6,_0x1366bd,_0x3773d9){super(),this['nodeSet']=_0x455bdb,this['blockParsers']=_0x9ad8f1,this['leafBlockParsers']=_0x5148dd,this['blockNames']=_0x4ebbae,this['endLeafBlock']=_0x4ae2af,this['skipContextMarkup']=_0x23a6a3,this['inlineParsers']=_0x5dc5e6,this['inlineNames']=_0x1366bd,this['wrappers']=_0x3773d9,this['nodeTypes']=Object['create'](null);for(let t of _0x455bdb['types'])this['nodeTypes'][t['name']]=t['id'];}['createParse'](_0x32b35b,_0x4346db,_0x4d7cb1){let _0x4ea806=new NY(this,_0x32b35b,_0x4346db,_0x4d7cb1);for(let _0x1c1354 of this['wrappers'])_0x4ea806=_0x1c1354(_0x4ea806,_0x32b35b,_0x4346db,_0x4d7cb1);return _0x4ea806;}['configure'](_0x4c7a25){let _0x21ff79=QY(_0x4c7a25);if(!_0x21ff79)return this;let {nodeSet:_0x455945,skipContextMarkup:_0x2274d1}=this,_0x4eeb38=this['blockParsers']['slice'](),_0x1a2559=this['leafBlockParsers']['slice'](),_0x441185=this['blockNames']['slice'](),_0x8557fc=this['inlineParsers']['slice'](),_0x497e4a=this['inlineNames']['slice'](),_0x3c9c43=this['endLeafBlock']['slice'](),_0x1c48bb=this['wrappers'];if(DY(_0x21ff79['defineNodes'])){_0x2274d1=Object['assign']({},_0x2274d1);let _0x14714c,_0xdde6a8=_0x455945['types']['slice']();for(let _0x379f06 of _0x21ff79['defineNodes']){let {name:_0x56eeb7,block:_0x148441,composite:_0x3deca2,style:_0x4c48c9}='string'==typeof _0x379f06?{'name':_0x379f06}:_0x379f06;if(_0xdde6a8['some'](t=>t['name']==_0x56eeb7))continue;_0x3deca2&&(_0x2274d1[_0xdde6a8['length']]=(_0x9a539b,_0x54f635,_0x3bac7b)=>_0x3deca2(_0x54f635,_0x3bac7b,_0x9a539b['value']));let _0x30e358=_0xdde6a8['length'],_0x1a7410=_0x3deca2?['Block','BlockContext']:_0x148441?_0x30e358>=sY['ATXHeading1']&&_0x30e358<=sY['SetextHeading2']?['Block','LeafBlock','Heading']:['Block','LeafBlock']:void 0x0;_0xdde6a8['push'](yB['define']({'id':_0x30e358,'name':_0x56eeb7,'props':_0x1a7410&&[[OB['group'],_0x1a7410]]})),_0x4c48c9&&(_0x14714c||(_0x14714c={}),Array['isArray'](_0x4c48c9)||_0x4c48c9 instanceof lF?_0x14714c[_0x56eeb7]=_0x4c48c9:Object['assign'](_0x14714c,_0x4c48c9));}_0x455945=new vB(_0xdde6a8),_0x14714c&&(_0x455945=_0x455945['extend'](dF(_0x14714c)));}if(DY(_0x21ff79['props'])&&(_0x455945=_0x455945['extend'](..._0x21ff79['props'])),DY(_0x21ff79['remove']))for(let _0x50f98c of _0x21ff79['remove']){let _0x55864a=this['blockNames']['indexOf'](_0x50f98c),_0x495aa8=this['inlineNames']['indexOf'](_0x50f98c);_0x55864a>-0x1&&(_0x4eeb38[_0x55864a]=_0x1a2559[_0x55864a]=void 0x0),_0x495aa8>-0x1&&(_0x8557fc[_0x495aa8]=void 0x0);}if(DY(_0x21ff79['parseBlock']))for(let _0x25f48d of _0x21ff79['parseBlock']){let _0x223d32=_0x441185['indexOf'](_0x25f48d['name']);if(_0x223d32>-0x1)_0x4eeb38[_0x223d32]=_0x25f48d['parse'],_0x1a2559[_0x223d32]=_0x25f48d['leaf'];else{let _0x3a80fc=_0x25f48d['before']?jY(_0x441185,_0x25f48d['before']):_0x25f48d['after']?jY(_0x441185,_0x25f48d['after'])+0x1:_0x441185['length']-0x1;_0x4eeb38['splice'](_0x3a80fc,0x0,_0x25f48d['parse']),_0x1a2559['splice'](_0x3a80fc,0x0,_0x25f48d['leaf']),_0x441185['splice'](_0x3a80fc,0x0,_0x25f48d['name']);}_0x25f48d['endLeaf']&&_0x3c9c43['push'](_0x25f48d['endLeaf']);}if(DY(_0x21ff79['parseInline']))for(let _0x4fa26d of _0x21ff79['parseInline']){let _0xfe3d27=_0x497e4a['indexOf'](_0x4fa26d['name']);if(_0xfe3d27>-0x1)_0x8557fc[_0xfe3d27]=_0x4fa26d['parse'];else{let _0x244e57=_0x4fa26d['before']?jY(_0x497e4a,_0x4fa26d['before']):_0x4fa26d['after']?jY(_0x497e4a,_0x4fa26d['after'])+0x1:_0x497e4a['length']-0x1;_0x8557fc['splice'](_0x244e57,0x0,_0x4fa26d['parse']),_0x497e4a['splice'](_0x244e57,0x0,_0x4fa26d['name']);}}return _0x21ff79['wrap']&&(_0x1c48bb=_0x1c48bb['concat'](_0x21ff79['wrap'])),new MarkdownParser(_0x455945,_0x4eeb38,_0x1a2559,_0x441185,_0x3c9c43,_0x2274d1,_0x8557fc,_0x497e4a,_0x1c48bb);}['getNodeType'](_0xccf467){let _0x426131=this['nodeTypes'][_0xccf467];if(null==_0x426131)throw new RangeError('Unknown\x20node\x20type\x20\x27'+_0xccf467+'\x27');return _0x426131;}['parseInline'](_0x24377f,_0x10c215){let _0x26d604=new sK(this,_0x24377f,_0x10c215);t:for(let _0x1a3b3d=_0x10c215;_0x1a3b3d<_0x26d604['end'];){let _0x248293=_0x26d604['char'](_0x1a3b3d);for(let _0x4cfd46 of this['inlineParsers'])if(_0x4cfd46){let _0x144323=_0x4cfd46(_0x26d604,_0x248293,_0x1a3b3d);if(_0x144323>=0x0){_0x1a3b3d=_0x144323;continue t;}}_0x1a3b3d++;}return _0x26d604['resolveMarkers'](0x0);}};function DY(_0x1efc46){return null!=_0x1efc46&&_0x1efc46['length']>0x0;}function QY(_0x3ff94c){if(!Array['isArray'](_0x3ff94c))return _0x3ff94c;if(0x0==_0x3ff94c['length'])return null;let _0xaaabff=QY(_0x3ff94c[0x0]);if(0x1==_0x3ff94c['length'])return _0xaaabff;let _0x7182ce=QY(_0x3ff94c['slice'](0x1));if(!_0x7182ce||!_0xaaabff)return _0xaaabff||_0x7182ce;let _0x4335e3=(_0x350c52,_0x13d1ad)=>(_0x350c52||VY)['concat'](_0x13d1ad||VY),_0x452f25=_0xaaabff['wrap'],_0x30666d=_0x7182ce['wrap'];return{'props':_0x4335e3(_0xaaabff['props'],_0x7182ce['props']),'defineNodes':_0x4335e3(_0xaaabff['defineNodes'],_0x7182ce['defineNodes']),'parseBlock':_0x4335e3(_0xaaabff['parseBlock'],_0x7182ce['parseBlock']),'parseInline':_0x4335e3(_0xaaabff['parseInline'],_0x7182ce['parseInline']),'remove':_0x4335e3(_0xaaabff['remove'],_0x7182ce['remove']),'wrap':_0x452f25?_0x30666d?(_0x44c618,_0x326e6b,_0x7cd46,_0x257893)=>_0x452f25(_0x30666d(_0x44c618,_0x326e6b,_0x7cd46,_0x257893),_0x326e6b,_0x7cd46,_0x257893):_0x452f25:_0x30666d};}function jY(_0x2d3f71,_0x5c6527){let _0x1c7278=_0x2d3f71['indexOf'](_0x5c6527);if(_0x1c7278<0x0)throw new RangeError('Position\x20specified\x20relative\x20to\x20unknown\x20parser\x20'+_0x5c6527);return _0x1c7278;}let UY=[yB['none']];for(let e,s=0x1;e=sY[s];s++)UY[s]=yB['define']({'id':s,'name':e,'props':s>=sY['Escape']?[]:[[OB['group'],s in cY?['Block','BlockContext']:['Block','LeafBlock']]],'top':'Document'==e});const VY=[];var BY=class{constructor(_0x41f82f){this['nodeSet']=_0x41f82f,this['content']=[],this['nodes']=[];}['write'](_0x5de840,_0x4ecc49,_0x537866,_0x195f09=0x0){return this['content']['push'](_0x5de840,_0x4ecc49,_0x537866,0x4+0x4*_0x195f09),this;}['writeElements'](_0x2bd0c8,_0x63f391=0x0){for(let _0x2c3558 of _0x2bd0c8)_0x2c3558['writeTo'](this,_0x63f391);return this;}['finish'](_0x4d80d5,_0x9192e1){return AB['build']({'buffer':this['content'],'nodeSet':this['nodeSet'],'reused':this['nodes'],'topID':_0x4d80d5,'length':_0x9192e1});}},FY=class{constructor(_0x502efe,_0x5cb2b5,_0x463f85,_0x1f1702=VY){this['type']=_0x502efe,this['from']=_0x5cb2b5,this['to']=_0x463f85,this['children']=_0x1f1702;}['writeTo'](_0x2df672,_0x701c1c){let _0x537b9c=_0x2df672['content']['length'];_0x2df672['writeElements'](this['children'],_0x701c1c),_0x2df672['content']['push'](this['type'],this['from']+_0x701c1c,this['to']+_0x701c1c,_0x2df672['content']['length']+0x4-_0x537b9c);}['toTree'](_0x589fb){return new BY(_0x589fb)['writeElements'](this['children'],-this['from'])['finish'](this['type'],this['to']-this['from']);}},HY=class{constructor(_0x42a7c6,_0x49c6c8){this['tree']=_0x42a7c6,this['from']=_0x49c6c8;}get['to'](){return this['from']+this['tree']['length'];}get['type'](){return this['tree']['type']['id'];}get['children'](){return VY;}['writeTo'](_0x30b2fd,_0x4d270c){_0x30b2fd['nodes']['push'](this['tree']),_0x30b2fd['content']['push'](_0x30b2fd['nodes']['length']-0x1,this['from']+_0x4d270c,this['to']+_0x4d270c,-0x1);}['toTree'](){return this['tree'];}};function ZY(_0x453073,_0x51cc14,_0x528152,_0x27b280){return new FY(_0x453073,_0x51cc14,_0x528152,_0x27b280);}const GY={'resolve':'Emphasis','mark':'EmphasisMark'},XY={'resolve':'Emphasis','mark':'EmphasisMark'},qY={},WY={};var zY=class{constructor(_0x19a4f2,_0x2a95be,_0x2d99ab,_0x1439f8){this['type']=_0x19a4f2,this['from']=_0x2a95be,this['to']=_0x2d99ab,this['side']=_0x1439f8;}};let YY=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{YY=new RegExp('[\x5cp{S}|\x5cp{P}]','u');}catch(_0x3691d2){}const KY={'Escape'(_0x4d8dad,_0x4808ca,_0x16c3a6){if(0x5c!=_0x4808ca||_0x16c3a6==_0x4d8dad['end']-0x1)return-0x1;let _0x45188f=_0x4d8dad['char'](_0x16c3a6+0x1);for(let _0x25ee87=0x0;_0x25ee87<0x20;_0x25ee87++)if('!\x22#$%&\x27()*+,-./:;<=>?@[\x5c]^_`{|}~'['charCodeAt'](_0x25ee87)==_0x45188f)return _0x4d8dad['append'](ZY(sY['Escape'],_0x16c3a6,_0x16c3a6+0x2));return-0x1;},'Entity'(_0x675d6,_0x2d75d4,_0x1e22a7){if(0x26!=_0x2d75d4)return-0x1;let _0x5d7aec=/^(?:#\d+|#x[a-f\d]+|\w+);/i['exec'](_0x675d6['slice'](_0x1e22a7+0x1,_0x1e22a7+0x1f));return _0x5d7aec?_0x675d6['append'](ZY(sY['Entity'],_0x1e22a7,_0x1e22a7+0x1+_0x5d7aec[0x0]['length'])):-0x1;},'InlineCode'(_0xd88efc,_0x527eb4,_0x400214){if(0x60!=_0x527eb4||_0x400214&&0x60==_0xd88efc['char'](_0x400214-0x1))return-0x1;let _0x23603a=_0x400214+0x1;for(;_0x23603a<_0xd88efc['end']&&0x60==_0xd88efc['char'](_0x23603a);)_0x23603a++;let _0x5809f0=_0x23603a-_0x400214,_0x201db5=0x0;for(;_0x23603a<_0xd88efc['end'];_0x23603a++)if(0x60==_0xd88efc['char'](_0x23603a)){if(_0x201db5++,_0x201db5==_0x5809f0&&0x60!=_0xd88efc['char'](_0x23603a+0x1))return _0xd88efc['append'](ZY(sY['InlineCode'],_0x400214,_0x23603a+0x1,[ZY(sY['CodeMark'],_0x400214,_0x400214+_0x5809f0),ZY(sY['CodeMark'],_0x23603a+0x1-_0x5809f0,_0x23603a+0x1)]));}else _0x201db5=0x0;return-0x1;},'HTMLTag'(_0x31f2c4,_0x1a7e82,_0x3a4a7d){if(0x3c!=_0x1a7e82||_0x3a4a7d==_0x31f2c4['end']-0x1)return-0x1;let _0x276dd3=_0x31f2c4['slice'](_0x3a4a7d+0x1,_0x31f2c4['end']),_0x10cf16=/^(?:[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'](_0x276dd3);if(_0x10cf16)return _0x31f2c4['append'](ZY(sY['Autolink'],_0x3a4a7d,_0x3a4a7d+0x1+_0x10cf16[0x0]['length'],[ZY(sY['LinkMark'],_0x3a4a7d,_0x3a4a7d+0x1),ZY(sY['URL'],_0x3a4a7d+0x1,_0x3a4a7d+_0x10cf16[0x0]['length']),ZY(sY['LinkMark'],_0x3a4a7d+_0x10cf16[0x0]['length'],_0x3a4a7d+0x1+_0x10cf16[0x0]['length'])]));let _0x702984=/^!--[^>](?:-[^-]|[^-])*?-->/i['exec'](_0x276dd3);if(_0x702984)return _0x31f2c4['append'](ZY(sY['Comment'],_0x3a4a7d,_0x3a4a7d+0x1+_0x702984[0x0]['length']));let _0x25ac0b=/^\?[^]*?\?>/['exec'](_0x276dd3);if(_0x25ac0b)return _0x31f2c4['append'](ZY(sY['ProcessingInstruction'],_0x3a4a7d,_0x3a4a7d+0x1+_0x25ac0b[0x0]['length']));let _0x4f59f1=/^(?:![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'](_0x276dd3);return _0x4f59f1?_0x31f2c4['append'](ZY(sY['HTMLTag'],_0x3a4a7d,_0x3a4a7d+0x1+_0x4f59f1[0x0]['length'])):-0x1;},'Emphasis'(_0x4fa1c6,_0x1076df,_0x927236){if(0x5f!=_0x1076df&&0x2a!=_0x1076df)return-0x1;let _0x14b19c=_0x927236+0x1;for(;_0x4fa1c6['char'](_0x14b19c)==_0x1076df;)_0x14b19c++;let _0x340318=_0x4fa1c6['slice'](_0x927236-0x1,_0x927236),_0x40c0c0=_0x4fa1c6['slice'](_0x14b19c,_0x14b19c+0x1),_0x1148db=YY['test'](_0x340318),_0x3c0629=YY['test'](_0x40c0c0),_0x27962e=/\s|^$/['test'](_0x340318),_0x4c1f70=/\s|^$/['test'](_0x40c0c0),_0x2001b2=!_0x4c1f70&&(!_0x3c0629||_0x27962e||_0x1148db),_0x180f49=!_0x27962e&&(!_0x1148db||_0x4c1f70||_0x3c0629),_0x1b149a=_0x2001b2&&(0x2a==_0x1076df||!_0x180f49||_0x1148db),_0x408aa0=_0x180f49&&(0x2a==_0x1076df||!_0x2001b2||_0x3c0629);return _0x4fa1c6['append'](new zY(0x5f==_0x1076df?GY:XY,_0x927236,_0x14b19c,(_0x1b149a?0x1:0x0)|(_0x408aa0?0x2:0x0)));},'HardBreak'(_0x2b3894,_0xa8da11,_0x1d8976){if(0x5c==_0xa8da11&&0xa==_0x2b3894['char'](_0x1d8976+0x1))return _0x2b3894['append'](ZY(sY['HardBreak'],_0x1d8976,_0x1d8976+0x2));if(0x20==_0xa8da11){let _0x1bf818=_0x1d8976+0x1;for(;0x20==_0x2b3894['char'](_0x1bf818);)_0x1bf818++;if(0xa==_0x2b3894['char'](_0x1bf818)&&_0x1bf818>=_0x1d8976+0x2)return _0x2b3894['append'](ZY(sY['HardBreak'],_0x1d8976,_0x1bf818+0x1));}return-0x1;},'Link':(_0x4a5f09,_0x104485,_0x207d27)=>0x5b==_0x104485?_0x4a5f09['append'](new zY(qY,_0x207d27,_0x207d27+0x1,0x1)):-0x1,'Image':(_0x2ea38b,_0x2ebfab,_0xe14b97)=>0x21==_0x2ebfab&&0x5b==_0x2ea38b['char'](_0xe14b97+0x1)?_0x2ea38b['append'](new zY(WY,_0xe14b97,_0xe14b97+0x2,0x1)):-0x1,'LinkEnd'(_0xeee1d3,_0x4ae2c9,_0x493152){if(0x5d!=_0x4ae2c9)return-0x1;for(let _0x203873=_0xeee1d3['parts']['length']-0x1;_0x203873>=0x0;_0x203873--){let _0x24dbcf=_0xeee1d3['parts'][_0x203873];if(_0x24dbcf instanceof zY&&(_0x24dbcf['type']==qY||_0x24dbcf['type']==WY)){if(!_0x24dbcf['side']||_0xeee1d3['skipSpace'](_0x24dbcf['to'])==_0x493152&&!/[(\[]/['test'](_0xeee1d3['slice'](_0x493152+0x1,_0x493152+0x2)))return _0xeee1d3['parts'][_0x203873]=null,-0x1;let _0x46a8d4=_0xeee1d3['takeContent'](_0x203873),_0x56fb02=_0xeee1d3['parts'][_0x203873]=JY(_0xeee1d3,_0x46a8d4,_0x24dbcf['type']==qY?sY['Link']:sY['Image'],_0x24dbcf['from'],_0x493152+0x1);if(_0x24dbcf['type']==qY)for(let _0x73ff61=0x0;_0x73ff61<_0x203873;_0x73ff61++){let _0x491734=_0xeee1d3['parts'][_0x73ff61];_0x491734 instanceof zY&&_0x491734['type']==qY&&(_0x491734['side']=0x0);}return _0x56fb02['to'];}}return-0x1;}};function JY(_0x149068,_0x48ee4c,_0x534644,_0xdccfb3,_0x10ad43){let {text:_0x51a61b}=_0x149068,_0x4882f4=_0x149068['char'](_0x10ad43),_0x14c3de=_0x10ad43;if(_0x48ee4c['unshift'](ZY(sY['LinkMark'],_0xdccfb3,_0xdccfb3+(_0x534644==sY['Image']?0x2:0x1))),_0x48ee4c['push'](ZY(sY['LinkMark'],_0x10ad43-0x1,_0x10ad43)),0x28==_0x4882f4){let _0xae52df,_0x56c63d=_0x149068['skipSpace'](_0x10ad43+0x1),_0x282a00=tK(_0x51a61b,_0x56c63d-_0x149068['offset'],_0x149068['offset']);_0x282a00&&(_0x56c63d=_0x149068['skipSpace'](_0x282a00['to']),_0x56c63d!=_0x282a00['to']&&(_0xae52df=eK(_0x51a61b,_0x56c63d-_0x149068['offset'],_0x149068['offset']),_0xae52df&&(_0x56c63d=_0x149068['skipSpace'](_0xae52df['to'])))),0x29==_0x149068['char'](_0x56c63d)&&(_0x48ee4c['push'](ZY(sY['LinkMark'],_0x10ad43,_0x10ad43+0x1)),_0x14c3de=_0x56c63d+0x1,_0x282a00&&_0x48ee4c['push'](_0x282a00),_0xae52df&&_0x48ee4c['push'](_0xae52df),_0x48ee4c['push'](ZY(sY['LinkMark'],_0x56c63d,_0x14c3de)));}else{if(0x5b==_0x4882f4){let _0x45f658=iK(_0x51a61b,_0x10ad43-_0x149068['offset'],_0x149068['offset'],!0x1);_0x45f658&&(_0x48ee4c['push'](_0x45f658),_0x14c3de=_0x45f658['to']);}}return ZY(_0x534644,_0xdccfb3,_0x14c3de,_0x48ee4c);}function tK(_0x31a8ed,_0x3467f7,_0x20db84){if(0x3c==_0x31a8ed['charCodeAt'](_0x3467f7)){for(let _0x37b1c5=_0x3467f7+0x1;_0x37b1c5<_0x31a8ed['length'];_0x37b1c5++){let _0x50b5e1=_0x31a8ed['charCodeAt'](_0x37b1c5);if(0x3e==_0x50b5e1)return ZY(sY['URL'],_0x3467f7+_0x20db84,_0x37b1c5+0x1+_0x20db84);if(0x3c==_0x50b5e1||0xa==_0x50b5e1)return!0x1;}return null;}{let _0x27ca66=0x0,_0x506ea0=_0x3467f7;for(let _0x71157e=!0x1;_0x506ea0<_0x31a8ed['length'];_0x506ea0++){let _0x1de3d9=_0x31a8ed['charCodeAt'](_0x506ea0);if(lY(_0x1de3d9))break;if(_0x71157e)_0x71157e=!0x1;else{if(0x28==_0x1de3d9)_0x27ca66++;else{if(0x29==_0x1de3d9){if(!_0x27ca66)break;_0x27ca66--;}else 0x5c==_0x1de3d9&&(_0x71157e=!0x0);}}}return _0x506ea0>_0x3467f7?ZY(sY['URL'],_0x3467f7+_0x20db84,_0x506ea0+_0x20db84):_0x506ea0==_0x31a8ed['length']&&null;}}function eK(_0x47380e,_0x5931fa,_0x4e6bee){let _0x30e559=_0x47380e['charCodeAt'](_0x5931fa);if(0x27!=_0x30e559&&0x22!=_0x30e559&&0x28!=_0x30e559)return!0x1;let _0x190d49=0x28==_0x30e559?0x29:_0x30e559;for(let _0x52e816=_0x5931fa+0x1,_0x3440a3=!0x1;_0x52e816<_0x47380e['length'];_0x52e816++){let _0x1a07dd=_0x47380e['charCodeAt'](_0x52e816);if(_0x3440a3)_0x3440a3=!0x1;else{if(_0x1a07dd==_0x190d49)return ZY(sY['LinkTitle'],_0x5931fa+_0x4e6bee,_0x52e816+0x1+_0x4e6bee);0x5c==_0x1a07dd&&(_0x3440a3=!0x0);}}return null;}function iK(_0x5bb59b,_0x57afd8,_0x587646,_0x57c7d7){for(let _0x192c54=!0x1,_0x4dcb68=_0x57afd8+0x1,_0x526d6e=Math['min'](_0x5bb59b['length'],_0x4dcb68+0x3e7);_0x4dcb68<_0x526d6e;_0x4dcb68++){let _0x1d1e60=_0x5bb59b['charCodeAt'](_0x4dcb68);if(_0x192c54)_0x192c54=!0x1;else{if(0x5d==_0x1d1e60)return!_0x57c7d7&&ZY(sY['LinkLabel'],_0x57afd8+_0x587646,_0x4dcb68+0x1+_0x587646);if(_0x57c7d7&&!lY(_0x1d1e60)&&(_0x57c7d7=!0x1),0x5b==_0x1d1e60)return!0x1;0x5c==_0x1d1e60&&(_0x192c54=!0x0);}}return null;}var sK=class{constructor(_0x5ce2ec,_0x26747d,_0x1619f6){this['parser']=_0x5ce2ec,this['text']=_0x26747d,this['offset']=_0x1619f6,this['parts']=[];}['char'](_0x202116){return _0x202116>=this['end']?-0x1:this['text']['charCodeAt'](_0x202116-this['offset']);}get['end'](){return this['offset']+this['text']['length'];}['slice'](_0x1d27eb,_0x2e9130){return this['text']['slice'](_0x1d27eb-this['offset'],_0x2e9130-this['offset']);}['append'](_0x2b5fb6){return this['parts']['push'](_0x2b5fb6),_0x2b5fb6['to'];}['addDelimiter'](_0x4d00c7,_0x347270,_0x1b5a33,_0x85016a,_0x5859f8){return this['append'](new zY(_0x4d00c7,_0x347270,_0x1b5a33,(_0x85016a?0x1:0x0)|(_0x5859f8?0x2:0x0)));}get['hasOpenLink'](){for(let _0x56ca74=this['parts']['length']-0x1;_0x56ca74>=0x0;_0x56ca74--){let _0x41adef=this['parts'][_0x56ca74];if(_0x41adef instanceof zY&&(_0x41adef['type']==qY||_0x41adef['type']==WY))return!0x0;}return!0x1;}['addElement'](_0x53b869){return this['append'](_0x53b869);}['resolveMarkers'](_0x5a6896){for(let _0x13c1ed=_0x5a6896;_0x13c1ed<this['parts']['length'];_0x13c1ed++){let _0x1455d1=this['parts'][_0x13c1ed];if(!(_0x1455d1 instanceof zY&&_0x1455d1['type']['resolve']&&0x2&_0x1455d1['side']))continue;let _0x32dc8d,_0x917ab0=_0x1455d1['type']==GY||_0x1455d1['type']==XY,_0x16cf60=_0x1455d1['to']-_0x1455d1['from'],_0x9740c6=_0x13c1ed-0x1;for(;_0x9740c6>=_0x5a6896;_0x9740c6--){let _0x32a049=this['parts'][_0x9740c6];if(_0x32a049 instanceof zY&&0x1&_0x32a049['side']&&_0x32a049['type']==_0x1455d1['type']&&!(_0x917ab0&&(0x1&_0x1455d1['side']||0x2&_0x32a049['side'])&&(_0x32a049['to']-_0x32a049['from']+_0x16cf60)%0x3==0x0&&((_0x32a049['to']-_0x32a049['from'])%0x3||_0x16cf60%0x3))){_0x32dc8d=_0x32a049;break;}}if(!_0x32dc8d)continue;let _0x3f0cfb=_0x1455d1['type']['resolve'],_0x4b8254=[],_0x35de62=_0x32dc8d['from'],_0x477417=_0x1455d1['to'];if(_0x917ab0){let _0x5319aa=Math['min'](0x2,_0x32dc8d['to']-_0x32dc8d['from'],_0x16cf60);_0x35de62=_0x32dc8d['to']-_0x5319aa,_0x477417=_0x1455d1['from']+_0x5319aa,_0x3f0cfb=0x1==_0x5319aa?'Emphasis':'StrongEmphasis';}_0x32dc8d['type']['mark']&&_0x4b8254['push'](this['elt'](_0x32dc8d['type']['mark'],_0x35de62,_0x32dc8d['to']));for(let _0x3ea771=_0x9740c6+0x1;_0x3ea771<_0x13c1ed;_0x3ea771++)this['parts'][_0x3ea771]instanceof FY&&_0x4b8254['push'](this['parts'][_0x3ea771]),this['parts'][_0x3ea771]=null;_0x1455d1['type']['mark']&&_0x4b8254['push'](this['elt'](_0x1455d1['type']['mark'],_0x1455d1['from'],_0x477417));let _0x3ed8f1=this['elt'](_0x3f0cfb,_0x35de62,_0x477417,_0x4b8254);this['parts'][_0x9740c6]=_0x917ab0&&_0x32dc8d['from']!=_0x35de62?new zY(_0x32dc8d['type'],_0x32dc8d['from'],_0x35de62,_0x32dc8d['side']):null,(this['parts'][_0x13c1ed]=_0x917ab0&&_0x1455d1['to']!=_0x477417?new zY(_0x1455d1['type'],_0x477417,_0x1455d1['to'],_0x1455d1['side']):null)?this['parts']['splice'](_0x13c1ed,0x0,_0x3ed8f1):this['parts'][_0x13c1ed]=_0x3ed8f1;}let _0xa831fb=[];for(let _0x31a913=_0x5a6896;_0x31a913<this['parts']['length'];_0x31a913++){let _0x422d60=this['parts'][_0x31a913];_0x422d60 instanceof FY&&_0xa831fb['push'](_0x422d60);}return _0xa831fb;}['findOpeningDelimiter'](_0x3292e4){for(let _0x4bd189=this['parts']['length']-0x1;_0x4bd189>=0x0;_0x4bd189--){let _0x1ea2cf=this['parts'][_0x4bd189];if(_0x1ea2cf instanceof zY&&_0x1ea2cf['type']==_0x3292e4&&0x1&_0x1ea2cf['side'])return _0x4bd189;}return null;}['takeContent'](_0x138ff6){let _0x33a92e=this['resolveMarkers'](_0x138ff6);return this['parts']['length']=_0x138ff6,_0x33a92e;}['getDelimiterAt'](_0xeae4c4){let _0x474638=this['parts'][_0xeae4c4];return _0x474638 instanceof zY?_0x474638:null;}['skipSpace'](_0x3f03af){return hY(this['text'],_0x3f03af-this['offset'])+this['offset'];}['elt'](_0x2608c4,_0x35299c,_0x2a4f40,_0x14748c){return'string'==typeof _0x2608c4?ZY(this['parser']['getNodeType'](_0x2608c4),_0x35299c,_0x2a4f40,_0x14748c):new HY(_0x2608c4,_0x35299c);}};function nK(_0x266965,_0x11f2b2){if(!_0x11f2b2['length'])return _0x266965;if(!_0x266965['length'])return _0x11f2b2;let _0x5cce2b=_0x266965['slice'](),_0x5b74c5=0x0;for(let _0x908767 of _0x11f2b2){for(;_0x5b74c5<_0x5cce2b['length']&&_0x5cce2b[_0x5b74c5]['to']<_0x908767['to'];)_0x5b74c5++;if(_0x5b74c5<_0x5cce2b['length']&&_0x5cce2b[_0x5b74c5]['from']<_0x908767['from']){let _0x256ba9=_0x5cce2b[_0x5b74c5];_0x256ba9 instanceof FY&&(_0x5cce2b[_0x5b74c5]=new FY(_0x256ba9['type'],_0x256ba9['from'],_0x256ba9['to'],nK(_0x256ba9['children'],[_0x908767])));}else _0x5cce2b['splice'](_0x5b74c5++,0x0,_0x908767);}return _0x5cce2b;}sK['linkStart']=qY,sK['imageStart']=WY;const rK=[sY['CodeBlock'],sY['ListItem'],sY['OrderedList'],sY['BulletList']];var oK=class{constructor(_0x9221f3,_0x2c1cbb){this['fragments']=_0x9221f3,this['input']=_0x2c1cbb,this['i']=0x0,this['fragment']=null,this['fragmentEnd']=-0x1,this['cursor']=null,_0x9221f3['length']&&(this['fragment']=_0x9221f3[this['i']++]);}['nextFragment'](){this['fragment']=this['i']<this['fragments']['length']?this['fragments'][this['i']++]:null,this['cursor']=null,this['fragmentEnd']=-0x1;}['moveTo'](_0xc4d046,_0x2aa2ec){for(;this['fragment']&&this['fragment']['to']<=_0xc4d046;)this['nextFragment']();if(!this['fragment']||this['fragment']['from']>(_0xc4d046?_0xc4d046-0x1:0x0))return!0x1;if(this['fragmentEnd']<0x0){let _0x143aef=this['fragment']['to'];for(;_0x143aef>0x0&&'\x0a'!=this['input']['read'](_0x143aef-0x1,_0x143aef);)_0x143aef--;this['fragmentEnd']=_0x143aef?_0x143aef-0x1:0x0;}let _0x29a9eb=this['cursor'];_0x29a9eb||(_0x29a9eb=this['cursor']=this['fragment']['tree']['cursor'](),_0x29a9eb['firstChild']());let _0x4b417c=_0xc4d046+this['fragment']['offset'];for(;_0x29a9eb['to']<=_0x4b417c;)if(!_0x29a9eb['parent']())return!0x1;for(;;){if(_0x29a9eb['from']>=_0x4b417c)return this['fragment']['from']<=_0x2aa2ec;if(!_0x29a9eb['childAfter'](_0x4b417c))return!0x1;}}['matches'](_0x2188c4){let _0x2a0dc9=this['cursor']['tree'];return _0x2a0dc9&&_0x2a0dc9['prop'](OB['contextHash'])==_0x2188c4;}['takeNodes'](_0x41b8cf){let _0x5cc130=this['cursor'],_0x423b39=this['fragment']['offset'],_0x10f775=this['fragmentEnd']-(this['fragment']['openEnd']?0x1:0x0),_0x7d7250=_0x41b8cf['absoluteLineStart'],_0xa93da4=_0x7d7250,_0x493f9d=_0x41b8cf['block']['children']['length'],_0xfa33fc=_0xa93da4,_0x2d82ab=_0x493f9d;for(;;){if(_0x5cc130['to']-_0x423b39>_0x10f775){if(_0x5cc130['type']['isAnonymous']&&_0x5cc130['firstChild']())continue;break;}let _0x2aa3c5=aK(_0x5cc130['from']-_0x423b39,_0x41b8cf['ranges']);if(_0x5cc130['to']-_0x423b39<=_0x41b8cf['ranges'][_0x41b8cf['rangeI']]['to'])_0x41b8cf['addNode'](_0x5cc130['tree'],_0x2aa3c5);else{let _0x49aa45=new AB(_0x41b8cf['parser']['nodeSet']['types'][sY['Paragraph']],[],[],0x0,_0x41b8cf['block']['hashProp']);_0x41b8cf['reusePlaceholders']['set'](_0x49aa45,_0x5cc130['tree']),_0x41b8cf['addNode'](_0x49aa45,_0x2aa3c5);}if(_0x5cc130['type']['is']('Block')&&(rK['indexOf'](_0x5cc130['type']['id'])<0x0?(_0xa93da4=_0x5cc130['to']-_0x423b39,_0x493f9d=_0x41b8cf['block']['children']['length']):(_0xa93da4=_0xfa33fc,_0x493f9d=_0x2d82ab),_0xfa33fc=_0x5cc130['to']-_0x423b39,_0x2d82ab=_0x41b8cf['block']['children']['length']),!_0x5cc130['nextSibling']())break;}for(;_0x41b8cf['block']['children']['length']>_0x493f9d;)_0x41b8cf['block']['children']['pop'](),_0x41b8cf['block']['positions']['pop']();return _0xa93da4-_0x7d7250;}};function aK(_0x1e60d0,_0x4d04fb){let _0x19c277=_0x1e60d0;for(let _0x4901b5=0x1;_0x4901b5<_0x4d04fb['length'];_0x4901b5++){let _0x26e875=_0x4d04fb[_0x4901b5-0x1]['to'],_0x113bdd=_0x4d04fb[_0x4901b5]['from'];_0x26e875<_0x1e60d0&&(_0x19c277-=_0x113bdd-_0x26e875);}return _0x19c277;}const cK=dF({'Blockquote/...':PF['quote'],'HorizontalRule':PF['contentSeparator'],'ATXHeading1/...\x20SetextHeading1/...':PF['heading1'],'ATXHeading2/...\x20SetextHeading2/...':PF['heading2'],'ATXHeading3/...':PF['heading3'],'ATXHeading4/...':PF['heading4'],'ATXHeading5/...':PF['heading5'],'ATXHeading6/...':PF['heading6'],'Comment\x20CommentBlock':PF['comment'],'Escape':PF['escape'],'Entity':PF['character'],'Emphasis/...':PF['emphasis'],'StrongEmphasis/...':PF['strong'],'Link/...\x20Image/...':PF['link'],'OrderedList/...\x20BulletList/...':PF['list'],'BlockQuote/...':PF['quote'],'InlineCode\x20CodeText':PF['monospace'],'URL\x20Autolink':PF['url'],'HeaderMark\x20HardBreak\x20QuoteMark\x20ListMark\x20LinkMark\x20EmphasisMark\x20CodeMark':PF['processingInstruction'],'CodeInfo\x20LinkLabel':PF['labelName'],'LinkTitle':PF['string'],'Paragraph':PF['content']}),lK=new $Y(new vB(UY)['extend'](cK),Object['keys'](IY)['map'](_0x4d37dd=>IY[_0x4d37dd]),Object['keys'](IY)['map'](_0x104d04=>RY[_0x104d04]),Object['keys'](IY),PY,cY,Object['keys'](KY)['map'](_0x27b683=>KY[_0x27b683]),Object['keys'](KY),[]);function hK(_0x232ef9,_0x5e21a6,_0x275e58){let _0x237448=[];for(let _0x3698e1=_0x232ef9['firstChild'],_0x488d4b=_0x5e21a6;;_0x3698e1=_0x3698e1['nextSibling']){let _0x586b6d=_0x3698e1?_0x3698e1['from']:_0x275e58;if(_0x586b6d>_0x488d4b&&_0x237448['push']({'from':_0x488d4b,'to':_0x586b6d}),!_0x3698e1)break;_0x488d4b=_0x3698e1['to'];}return _0x237448;}const uK={'resolve':'Strikethrough','mark':'StrikethroughMark'},dK={'defineNodes':[{'name':'Strikethrough','style':{'Strikethrough/...':PF['strikethrough']}},{'name':'StrikethroughMark','style':PF['processingInstruction']}],'parseInline':[{'name':'Strikethrough','parse'(_0x2671ff,_0x775f1,_0x417134){if(0x7e!=_0x775f1||0x7e!=_0x2671ff['char'](_0x417134+0x1)||0x7e==_0x2671ff['char'](_0x417134+0x2))return-0x1;let _0x43a885=_0x2671ff['slice'](_0x417134-0x1,_0x417134),_0x58c390=_0x2671ff['slice'](_0x417134+0x2,_0x417134+0x3),_0x3df54d=/\s|^$/['test'](_0x43a885),_0x49f279=/\s|^$/['test'](_0x58c390),_0x53a772=YY['test'](_0x43a885),_0x56478a=YY['test'](_0x58c390);return _0x2671ff['addDelimiter'](uK,_0x417134,_0x417134+0x2,!_0x49f279&&(!_0x56478a||_0x3df54d||_0x53a772),!_0x3df54d&&(!_0x53a772||_0x49f279||_0x56478a));},'after':'Emphasis'}]};function fK(_0x33be15,_0x2e091f,_0x1c8f7d=0x0,_0xf51ffb,_0x516990=0x0){let _0x393046=0x0,_0x24563f=!0x0,_0x5c4c5a=-0x1,_0x1a4096=-0x1,_0x4c9438=!0x1,_0x12f79b=()=>{_0xf51ffb['push'](_0x33be15['elt']('TableCell',_0x516990+_0x5c4c5a,_0x516990+_0x1a4096,_0x33be15['parser']['parseInline'](_0x2e091f['slice'](_0x5c4c5a,_0x1a4096),_0x516990+_0x5c4c5a)));};for(let _0x4cb096=_0x1c8f7d;_0x4cb096<_0x2e091f['length'];_0x4cb096++){let _0xc2f10c=_0x2e091f['charCodeAt'](_0x4cb096);0x7c!=_0xc2f10c||_0x4c9438?(_0x4c9438||0x20!=_0xc2f10c&&0x9!=_0xc2f10c)&&(_0x5c4c5a<0x0&&(_0x5c4c5a=_0x4cb096),_0x1a4096=_0x4cb096+0x1):((!_0x24563f||_0x5c4c5a>-0x1)&&_0x393046++,_0x24563f=!0x1,_0xf51ffb&&(_0x5c4c5a>-0x1&&_0x12f79b(),_0xf51ffb['push'](_0x33be15['elt']('TableDelimiter',_0x4cb096+_0x516990,_0x4cb096+_0x516990+0x1))),_0x5c4c5a=_0x1a4096=-0x1),_0x4c9438=!_0x4c9438&&0x5c==_0xc2f10c;}return _0x5c4c5a>-0x1&&(_0x393046++,_0xf51ffb&&_0x12f79b()),_0x393046;}function mK(_0xfba24c,_0x379ded){for(let _0x5ee78a=_0x379ded;_0x5ee78a<_0xfba24c['length'];_0x5ee78a++){let _0x401c66=_0xfba24c['charCodeAt'](_0x5ee78a);if(0x7c==_0x401c66)return!0x0;0x5c==_0x401c66&&_0x5ee78a++;}return!0x1;}const pK=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/;var gK=class{constructor(){this['rows']=null;}['nextLine'](_0x21445e,_0x1bef80,_0x383635){if(null==this['rows']){let _0x3e59cd;if(this['rows']=!0x1,(0x2d==_0x1bef80['next']||0x3a==_0x1bef80['next']||0x7c==_0x1bef80['next'])&&pK['test'](_0x3e59cd=_0x1bef80['text']['slice'](_0x1bef80['pos']))){let _0x546187=[];fK(_0x21445e,_0x383635['content'],0x0,_0x546187,_0x383635['start'])==fK(_0x21445e,_0x3e59cd,0x0)&&(this['rows']=[_0x21445e['elt']('TableHeader',_0x383635['start'],_0x383635['start']+_0x383635['content']['length'],_0x546187),_0x21445e['elt']('TableDelimiter',_0x21445e['lineStart']+_0x1bef80['pos'],_0x21445e['lineStart']+_0x1bef80['text']['length'])]);}}else{if(this['rows']){let _0x17f95f=[];fK(_0x21445e,_0x1bef80['text'],_0x1bef80['pos'],_0x17f95f,_0x21445e['lineStart']),this['rows']['push'](_0x21445e['elt']('TableRow',_0x21445e['lineStart']+_0x1bef80['pos'],_0x21445e['lineStart']+_0x1bef80['text']['length'],_0x17f95f));}}return!0x1;}['finish'](_0x4503d7,_0x1df358){return!!this['rows']&&(_0x4503d7['addLeafElement'](_0x1df358,_0x4503d7['elt']('Table',_0x1df358['start'],_0x1df358['start']+_0x1df358['content']['length'],this['rows'])),!0x0);}};const OK={'defineNodes':[{'name':'Table','block':!0x0},{'name':'TableHeader','style':{'TableHeader/...':PF['heading']}},'TableRow',{'name':'TableCell','style':PF['content']},{'name':'TableDelimiter','style':PF['processingInstruction']}],'parseBlock':[{'name':'Table','leaf':(_0x23789a,_0x295093)=>mK(_0x295093['content'],0x0)?new gK():null,'endLeaf'(_0x5e16e7,_0x4a7acf,_0x136884){if(_0x136884['parsers']['some'](_0x402fcc=>_0x402fcc instanceof gK)||!mK(_0x4a7acf['text'],_0x4a7acf['basePos']))return!0x1;let _0x120658=_0x5e16e7['peekLine']();return pK['test'](_0x120658)&&fK(_0x5e16e7,_0x4a7acf['text'],_0x4a7acf['basePos'])==fK(_0x5e16e7,_0x120658,_0x4a7acf['basePos']);},'before':'SetextHeading'}]};var wK=class{['nextLine'](){return!0x1;}['finish'](_0x3fc8c5,_0x18f7d6){return _0x3fc8c5['addLeafElement'](_0x18f7d6,_0x3fc8c5['elt']('Task',_0x18f7d6['start'],_0x18f7d6['start']+_0x18f7d6['content']['length'],[_0x3fc8c5['elt']('TaskMarker',_0x18f7d6['start'],_0x18f7d6['start']+0x3),..._0x3fc8c5['parser']['parseInline'](_0x18f7d6['content']['slice'](0x3),_0x18f7d6['start']+0x3)])),!0x0;}};const bK={'defineNodes':[{'name':'Task','block':!0x0,'style':PF['list']},{'name':'TaskMarker','style':PF['atom']}],'parseBlock':[{'name':'TaskList','leaf':(_0x3b0bb3,_0x24e1c9)=>/^\[[ xX]\][ \t]/['test'](_0x24e1c9['content'])&&'ListItem'==_0x3b0bb3['parentType']()['name']?new wK():null,'after':'SetextHeading'}]},yK=/(www\.)|(https?:\/\/)|([\w.+-]{1,100}@)|(mailto:|xmpp:)/gy,vK=/[\w-]+(\.[\w-]+)+(:\d+)?(\/[^\s<]*)?/gy,_K=/[\w-]+\.[\w-]+($|[/:])/,EK=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,TK=/\/[a-zA-Z\d@.]+/gy;function AK(_0x12e241,_0x473c34,_0x4fe2ef,_0x5515cb){let _0x5b11ef=0x0;for(let _0xcc1bb7=_0x473c34;_0xcc1bb7<_0x4fe2ef;_0xcc1bb7++)_0x12e241[_0xcc1bb7]==_0x5515cb&&_0x5b11ef++;return _0x5b11ef;}function SK(_0x19e5ce,_0x533c7b){EK['lastIndex']=_0x533c7b;let _0x4e0b90=EK['exec'](_0x19e5ce);if(!_0x4e0b90)return-0x1;let _0x35a36e=_0x4e0b90[0x0][_0x4e0b90[0x0]['length']-0x1];return'_'==_0x35a36e||'-'==_0x35a36e?-0x1:_0x533c7b+_0x4e0b90[0x0]['length']-('.'==_0x35a36e?0x1:0x0);}const IK={'parseInline':[{'name':'Autolink','parse'(_0x18417b,_0x2fa0ab,_0x49b3eb){let _0x34a476=_0x49b3eb-_0x18417b['offset'];if(_0x34a476&&/\w/['test'](_0x18417b['text'][_0x34a476-0x1]))return-0x1;yK['lastIndex']=_0x34a476;let _0xef2670=yK['exec'](_0x18417b['text']),_0x93af4e=-0x1;return _0xef2670?(_0xef2670[0x1]||_0xef2670[0x2]?(_0x93af4e=function(_0x3b3347,_0xe8b555){vK['lastIndex']=_0xe8b555;let _0x2a25aa=vK['exec'](_0x3b3347);if(!_0x2a25aa||_K['exec'](_0x2a25aa[0x0])[0x0]['indexOf']('_')>-0x1)return-0x1;let _0x321666=_0xe8b555+_0x2a25aa[0x0]['length'];for(;;){let _0x3a260f,_0x2a8a8a=_0x3b3347[_0x321666-0x1];if(/[?!.,:*_~]/['test'](_0x2a8a8a)||')'==_0x2a8a8a&&AK(_0x3b3347,_0xe8b555,_0x321666,')')>AK(_0x3b3347,_0xe8b555,_0x321666,'('))_0x321666--;else{if(';'!=_0x2a8a8a||!(_0x3a260f=/&(?:#\d+|#x[a-f\d]+|\w+);$/['exec'](_0x3b3347['slice'](_0xe8b555,_0x321666))))break;_0x321666=_0xe8b555+_0x3a260f['index'];}}return _0x321666;}(_0x18417b['text'],_0x34a476+_0xef2670[0x0]['length']),_0x93af4e>-0x1&&_0x18417b['hasOpenLink']&&(_0x93af4e=_0x34a476+/([^\[\]]|\[[^\]]*\])*/['exec'](_0x18417b['text']['slice'](_0x34a476,_0x93af4e))[0x0]['length'])):_0xef2670[0x3]?_0x93af4e=SK(_0x18417b['text'],_0x34a476):(_0x93af4e=SK(_0x18417b['text'],_0x34a476+_0xef2670[0x0]['length']),_0x93af4e>-0x1&&'xmpp:'==_0xef2670[0x0]&&(TK['lastIndex']=_0x93af4e,_0xef2670=TK['exec'](_0x18417b['text']),_0xef2670&&(_0x93af4e=_0xef2670['index']+_0xef2670[0x0]['length']))),_0x93af4e<0x0?-0x1:(_0x18417b['addElement'](_0x18417b['elt']('URL',_0x49b3eb,_0x93af4e+_0x18417b['offset'])),_0x93af4e+_0x18417b['offset'])):-0x1;}}]},kK=[OK,bK,dK,IK];function xK(_0x33c648,_0x31caf3,_0x20f76e){return(_0x36bf6f,_0x433915,_0x296349)=>{if(_0x433915!=_0x33c648||_0x36bf6f['char'](_0x296349+0x1)==_0x33c648)return-0x1;let _0x30727d=[_0x36bf6f['elt'](_0x20f76e,_0x296349,_0x296349+0x1)];for(let _0x1f7c12=_0x296349+0x1;_0x1f7c12<_0x36bf6f['end'];_0x1f7c12++){let _0x14d71a=_0x36bf6f['char'](_0x1f7c12);if(_0x14d71a==_0x33c648)return _0x36bf6f['addElement'](_0x36bf6f['elt'](_0x31caf3,_0x296349,_0x1f7c12+0x1,_0x30727d['concat'](_0x36bf6f['elt'](_0x20f76e,_0x1f7c12,_0x1f7c12+0x1))));if(0x5c==_0x14d71a&&_0x30727d['push'](_0x36bf6f['elt']('Escape',_0x1f7c12,0x2+_0x1f7c12++)),lY(_0x14d71a))break;}return-0x1;};}const CK={'defineNodes':[{'name':'Superscript','style':PF['special'](PF['content'])},{'name':'SuperscriptMark','style':PF['processingInstruction']}],'parseInline':[{'name':'Superscript','parse':xK(0x5e,'Superscript','SuperscriptMark')}]},RK={'defineNodes':[{'name':'Subscript','style':PF['special'](PF['content'])},{'name':'SubscriptMark','style':PF['processingInstruction']}],'parseInline':[{'name':'Subscript','parse':xK(0x7e,'Subscript','SubscriptMark')}]},PK={'defineNodes':[{'name':'Emoji','style':PF['character']}],'parseInline':[{'name':'Emoji','parse'(_0x340d73,_0x362957,_0x19ccab){let _0xa04267;return 0x3a==_0x362957&&(_0xa04267=/^[a-zA-Z_0-9]+:/['exec'](_0x340d73['slice'](_0x19ccab+0x1,_0x340d73['end'])))?_0x340d73['addElement'](_0x340d73['elt']('Emoji',_0x19ccab,_0x19ccab+0x1+_0xa04267[0x0]['length'])):-0x1;}}]},MK=LF({'commentTokens':{'block':{'open':'<!--','close':'-->'}}}),NK=new OB(),LK=lK['configure']({'props':[pH['add'](_0x653419=>!_0x653419['is']('Block')||_0x653419['is']('Document')||null!=$K(_0x653419)||function(_0x4e94de){return'OrderedList'==_0x4e94de['name']||'BulletList'==_0x4e94de['name'];}(_0x653419)?void 0x0:(_0x531be2,_0x3734e1)=>({'from':_0x3734e1['doc']['lineAt'](_0x531be2['from'])['to'],'to':_0x531be2['to']})),NK['add']($K),nH['add']({'Document':()=>null}),NF['add']({'Document':MK})]});function $K(_0x603ea6){let _0x27fd94=/^(?:ATX|Setext)Heading(\d)$/['exec'](_0x603ea6['name']);return _0x27fd94?+_0x27fd94[0x1]:void 0x0;}function DK(_0x187f20,_0x542f1b){let _0x1a4871=_0x187f20;for(;;){let _0x760afb,_0x9e86c7=_0x1a4871['nextSibling'];if(!_0x9e86c7||null!=(_0x760afb=$K(_0x9e86c7['type']))&&_0x760afb<=_0x542f1b)break;_0x1a4871=_0x9e86c7;}return _0x1a4871['to'];}const QK=mH['of']((_0xd0e6d8,_0x122ed7,_0x23c020)=>{for(let _0x35fc0c=UF(_0xd0e6d8)['resolveInner'](_0x23c020,-0x1);_0x35fc0c&&!(_0x35fc0c['from']<_0x122ed7);_0x35fc0c=_0x35fc0c['parent']){let _0x426677=_0x35fc0c['type']['prop'](NK);if(null==_0x426677)continue;let _0x5a2cf3=DK(_0x35fc0c,_0x426677);if(_0x5a2cf3>_0x23c020)return{'from':_0x23c020,'to':_0x5a2cf3};}return null;});function jK(_0x3d1e57){return new DF(MK,_0x3d1e57,[QK],'markdown');}const UK=jK(LK),VK=jK(LK['configure']([kK,RK,CK,PK,{'props':[pH['add']({'Table':(_0x55d220,_0x47e71d)=>({'from':_0x47e71d['doc']['lineAt'](_0x55d220['from'])['to'],'to':_0x55d220['to']})})]}]));var BK=class{constructor(_0x482ef0,_0x43a533,_0x5bfc48,_0x24ecb9,_0x36e18d,_0x3bb666,_0x36fcfb){this['node']=_0x482ef0,this['from']=_0x43a533,this['to']=_0x5bfc48,this['spaceBefore']=_0x24ecb9,this['spaceAfter']=_0x36e18d,this['type']=_0x3bb666,this['item']=_0x36fcfb;}['blank'](_0x49f2ec,_0x1060b1=!0x0){let _0x4a1093=this['spaceBefore']+('Blockquote'==this['node']['name']?'>':'');if(null!=_0x49f2ec){for(;_0x4a1093['length']<_0x49f2ec;)_0x4a1093+='\x20';return _0x4a1093;}for(let _0x578d0a=this['to']-this['from']-_0x4a1093['length']-this['spaceAfter']['length'];_0x578d0a>0x0;_0x578d0a--)_0x4a1093+='\x20';return _0x4a1093+(_0x1060b1?this['spaceAfter']:'');}['marker'](_0x455cc9,_0x2a2999){let _0x5ca45b='OrderedList'==this['node']['name']?String(+HK(this['item'],_0x455cc9)[0x2]+_0x2a2999):'';return this['spaceBefore']+_0x5ca45b+this['type']+this['spaceAfter'];}};function FK(_0x563208,_0x25d3c4){let _0x1a9112=[],_0x43f092=[];for(let _0x18b0cc=_0x563208;_0x18b0cc;_0x18b0cc=_0x18b0cc['parent']){if('FencedCode'==_0x18b0cc['name'])return _0x43f092;'ListItem'!=_0x18b0cc['name']&&'Blockquote'!=_0x18b0cc['name']||_0x1a9112['push'](_0x18b0cc);}for(let _0x129357=_0x1a9112['length']-0x1;_0x129357>=0x0;_0x129357--){let _0x95779d,_0x38adde=_0x1a9112[_0x129357],_0x184d22=_0x25d3c4['lineAt'](_0x38adde['from']),_0x5d6df0=_0x38adde['from']-_0x184d22['from'];if('Blockquote'==_0x38adde['name']&&(_0x95779d=/^ *>( ?)/['exec'](_0x184d22['text']['slice'](_0x5d6df0))))_0x43f092['push'](new BK(_0x38adde,_0x5d6df0,_0x5d6df0+_0x95779d[0x0]['length'],'',_0x95779d[0x1],'>',null));else{if('ListItem'==_0x38adde['name']&&'OrderedList'==_0x38adde['parent']['name']&&(_0x95779d=/^( *)\d+([.)])( *)/['exec'](_0x184d22['text']['slice'](_0x5d6df0)))){let _0xe9b110=_0x95779d[0x3],_0x29f34f=_0x95779d[0x0]['length'];_0xe9b110['length']>=0x4&&(_0xe9b110=_0xe9b110['slice'](0x0,_0xe9b110['length']-0x4),_0x29f34f-=0x4),_0x43f092['push'](new BK(_0x38adde['parent'],_0x5d6df0,_0x5d6df0+_0x29f34f,_0x95779d[0x1],_0xe9b110,_0x95779d[0x2],_0x38adde));}else{if('ListItem'==_0x38adde['name']&&'BulletList'==_0x38adde['parent']['name']&&(_0x95779d=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/['exec'](_0x184d22['text']['slice'](_0x5d6df0)))){let _0x5d9be5=_0x95779d[0x4],_0x345071=_0x95779d[0x0]['length'];_0x5d9be5['length']>0x4&&(_0x5d9be5=_0x5d9be5['slice'](0x0,_0x5d9be5['length']-0x4),_0x345071-=0x4);let _0x5d41ec=_0x95779d[0x2];_0x95779d[0x3]&&(_0x5d41ec+=_0x95779d[0x3]['replace'](/[xX]/,'\x20')),_0x43f092['push'](new BK(_0x38adde['parent'],_0x5d6df0,_0x5d6df0+_0x345071,_0x95779d[0x1],_0x5d9be5,_0x5d41ec,_0x38adde));}}}}return _0x43f092;}function HK(_0x17211d,_0xcd3739){return/^(\s*)(\d+)(?=[.)])/['exec'](_0xcd3739['sliceString'](_0x17211d['from'],_0x17211d['from']+0xa));}function ZK(_0x57e53b,_0xb6fc4c,_0x3bac55,_0x1eaa16=0x0){for(let _0x42c736=-0x1,_0x1a80a4=_0x57e53b;;){if('ListItem'==_0x1a80a4['name']){let _0x41e01e=HK(_0x1a80a4,_0xb6fc4c),_0x107877=+_0x41e01e[0x2];if(_0x42c736>=0x0){if(_0x107877!=_0x42c736+0x1)return;_0x3bac55['push']({'from':_0x1a80a4['from']+_0x41e01e[0x1]['length'],'to':_0x1a80a4['from']+_0x41e01e[0x0]['length'],'insert':String(_0x42c736+0x2+_0x1eaa16)});}_0x42c736=_0x107877;}let _0xce9c55=_0x1a80a4['nextSibling'];if(!_0xce9c55)break;_0x1a80a4=_0xce9c55;}}function GK(_0xc0089f,_0x18f799){let _0x21f242=/^[ \t]*/['exec'](_0xc0089f)[0x0]['length'];if(!_0x21f242||'\x09'!=_0x18f799['facet'](JF))return _0xc0089f;let _0x503bf0='';for(let _0x1974e6=g$(_0xc0089f,0x4,_0x21f242);_0x1974e6>0x0;)_0x1974e6>=0x4?(_0x503bf0+='\x09',_0x1974e6-=0x4):(_0x503bf0+='\x20',_0x1974e6--);return _0x503bf0+_0xc0089f['slice'](_0x21f242);}function XK(_0x31c48a){return'QuoteMark'==_0x31c48a['name']||'ListMark'==_0x31c48a['name'];}function qK(_0x5dfde7,_0x50e208,_0x55836b){let _0x5ea2c3='';for(let _0x4fbd88=0x0,_0x20abbd=_0x5dfde7['length']-0x2;_0x4fbd88<=_0x20abbd;_0x4fbd88++)_0x5ea2c3+=_0x5dfde7[_0x4fbd88]['blank'](_0x4fbd88<_0x20abbd?g$(_0x55836b['text'],0x4,Math['min'](_0x55836b['text']['length'],_0x5dfde7[_0x4fbd88+0x1]['from']))-_0x5ea2c3['length']:null,_0x4fbd88<_0x20abbd);return GK(_0x5ea2c3,_0x50e208);}const WK=[{'key':'Enter','run':({state:_0x3e84ea,dispatch:_0x27d9fb})=>{let _0x4326d7=UF(_0x3e84ea),{doc:_0x50b21a}=_0x3e84ea,_0x3e9ad9=null,_0x112f87=_0x3e84ea['changeByRange'](_0x2c7d82=>{if(!_0x2c7d82['empty']||!VK['isActiveAt'](_0x3e84ea,_0x2c7d82['from'],0x0))return _0x3e9ad9={'range':_0x2c7d82};let _0x48683c=_0x2c7d82['from'],_0x35ee36=_0x50b21a['lineAt'](_0x48683c),_0x3be0a7=FK(_0x4326d7['resolveInner'](_0x48683c,-0x1),_0x50b21a);for(;_0x3be0a7['length']&&_0x3be0a7[_0x3be0a7['length']-0x1]['from']>_0x48683c-_0x35ee36['from'];)_0x3be0a7['pop']();if(!_0x3be0a7['length'])return _0x3e9ad9={'range':_0x2c7d82};let _0x41db55=_0x3be0a7[_0x3be0a7['length']-0x1];if(_0x41db55['to']-_0x41db55['spaceAfter']['length']>_0x48683c-_0x35ee36['from'])return _0x3e9ad9={'range':_0x2c7d82};let _0x46acff=_0x48683c>=_0x41db55['to']-_0x41db55['spaceAfter']['length']&&!/\S/['test'](_0x35ee36['text']['slice'](_0x41db55['to']));if(_0x41db55['item']&&_0x46acff){let _0x4dc231=_0x41db55['node']['firstChild'],_0x5ed3d2=_0x41db55['node']['getChild']('ListItem','ListItem');if(_0x4dc231['to']>=_0x48683c||_0x5ed3d2&&_0x5ed3d2['to']<_0x48683c||_0x35ee36['from']>0x0&&!/[^\s>]/['test'](_0x50b21a['lineAt'](_0x35ee36['from']-0x1)['text'])){let _0x280474,_0x183178=_0x3be0a7['length']>0x1?_0x3be0a7[_0x3be0a7['length']-0x2]:null,_0x222edb='';_0x183178&&_0x183178['item']?(_0x280474=_0x35ee36['from']+_0x183178['from'],_0x222edb=_0x183178['marker'](_0x50b21a,0x1)):_0x280474=_0x35ee36['from']+(_0x183178?_0x183178['to']:0x0);let _0x172109=[{'from':_0x280474,'to':_0x48683c,'insert':_0x222edb}];return'OrderedList'==_0x41db55['node']['name']&&ZK(_0x41db55['item'],_0x50b21a,_0x172109,-0x2),_0x183178&&'OrderedList'==_0x183178['node']['name']&&ZK(_0x183178['item'],_0x50b21a,_0x172109),{'range':oL['cursor'](_0x280474+_0x222edb['length']),'changes':_0x172109};}{let _0x548a7b=qK(_0x3be0a7,_0x3e84ea,_0x35ee36);return{'range':oL['cursor'](_0x48683c+_0x548a7b['length']+0x1),'changes':{'from':_0x35ee36['from'],'insert':_0x548a7b+_0x3e84ea['lineBreak']}};}}if('Blockquote'==_0x41db55['node']['name']&&_0x46acff&&_0x35ee36['from']){let _0x1f4e00=_0x50b21a['lineAt'](_0x35ee36['from']-0x1),_0x1a0246=/>\s*$/['exec'](_0x1f4e00['text']);if(_0x1a0246&&_0x1a0246['index']==_0x41db55['from']){let _0x1784bc=_0x3e84ea['changes']([{'from':_0x1f4e00['from']+_0x1a0246['index'],'to':_0x1f4e00['to']},{'from':_0x35ee36['from']+_0x41db55['from'],'to':_0x35ee36['to']}]);return{'range':_0x2c7d82['map'](_0x1784bc),'changes':_0x1784bc};}}let _0x80381e=[];'OrderedList'==_0x41db55['node']['name']&&ZK(_0x41db55['item'],_0x50b21a,_0x80381e);let _0x2fb7e7=_0x41db55['item']&&_0x41db55['item']['from']<_0x35ee36['from'],_0x3a1db6='';if(!_0x2fb7e7||/^[\s\d.)\-+*>]*/['exec'](_0x35ee36['text'])[0x0]['length']>=_0x41db55['to']){for(let _0x330a91=0x0,_0x252621=_0x3be0a7['length']-0x1;_0x330a91<=_0x252621;_0x330a91++)_0x3a1db6+=_0x330a91!=_0x252621||_0x2fb7e7?_0x3be0a7[_0x330a91]['blank'](_0x330a91<_0x252621?g$(_0x35ee36['text'],0x4,_0x3be0a7[_0x330a91+0x1]['from'])-_0x3a1db6['length']:null):_0x3be0a7[_0x330a91]['marker'](_0x50b21a,0x1);}let _0x8baf65=_0x48683c;for(;_0x8baf65>_0x35ee36['from']&&/\s/['test'](_0x35ee36['text']['charAt'](_0x8baf65-_0x35ee36['from']-0x1));)_0x8baf65--;return _0x3a1db6=GK(_0x3a1db6,_0x3e84ea),function(_0x3e9ff8,_0x4dfbe4){if('OrderedList'!=_0x3e9ff8['name']&&'BulletList'!=_0x3e9ff8['name'])return!0x1;let _0x16546c=_0x3e9ff8['firstChild'],_0x19d26d=_0x3e9ff8['getChild']('ListItem','ListItem');if(!_0x19d26d)return!0x1;let _0x5e85fd=_0x4dfbe4['lineAt'](_0x16546c['to']),_0x2e41fe=_0x4dfbe4['lineAt'](_0x19d26d['from']),_0x267a6c=/^[\s>]*$/['test'](_0x5e85fd['text']);return _0x5e85fd['number']+(_0x267a6c?0x0:0x1)<_0x2e41fe['number'];}(_0x41db55['node'],_0x3e84ea['doc'])&&(_0x3a1db6=qK(_0x3be0a7,_0x3e84ea,_0x35ee36)+_0x3e84ea['lineBreak']+_0x3a1db6),_0x80381e['push']({'from':_0x8baf65,'to':_0x48683c,'insert':_0x3e84ea['lineBreak']+_0x3a1db6}),{'range':oL['cursor'](_0x8baf65+_0x3a1db6['length']+0x1),'changes':_0x80381e};});return!_0x3e9ad9&&(_0x27d9fb(_0x3e84ea['update'](_0x112f87,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0);}},{'key':'Backspace','run':({state:_0x708c9d,dispatch:_0x13bae5})=>{let _0xab5a78=UF(_0x708c9d),_0x55b3df=null,_0x98366e=_0x708c9d['changeByRange'](_0x4e91fe=>{let _0x3a4d08=_0x4e91fe['from'],{doc:_0x3643d9}=_0x708c9d;if(_0x4e91fe['empty']&&VK['isActiveAt'](_0x708c9d,_0x4e91fe['from'])){let _0x1b6598=_0x3643d9['lineAt'](_0x3a4d08),_0x8ac110=FK(function(_0x21a682,_0x1ddf58){let _0x567238=_0x21a682['resolveInner'](_0x1ddf58,-0x1),_0xf95c72=_0x1ddf58;XK(_0x567238)&&(_0xf95c72=_0x567238['from'],_0x567238=_0x567238['parent']);for(let _0x21ce30;_0x21ce30=_0x567238['childBefore'](_0xf95c72);)if(XK(_0x21ce30))_0xf95c72=_0x21ce30['from'];else{if('OrderedList'!=_0x21ce30['name']&&'BulletList'!=_0x21ce30['name'])break;_0x567238=_0x21ce30['lastChild'],_0xf95c72=_0x567238['to'];}return _0x567238;}(_0xab5a78,_0x3a4d08),_0x3643d9);if(_0x8ac110['length']){let _0x269b7e=_0x8ac110[_0x8ac110['length']-0x1],_0x4ce3b2=_0x269b7e['to']-_0x269b7e['spaceAfter']['length']+(_0x269b7e['spaceAfter']?0x1:0x0);if(_0x3a4d08-_0x1b6598['from']>_0x4ce3b2&&!/\S/['test'](_0x1b6598['text']['slice'](_0x4ce3b2,_0x3a4d08-_0x1b6598['from'])))return{'range':oL['cursor'](_0x1b6598['from']+_0x4ce3b2),'changes':{'from':_0x1b6598['from']+_0x4ce3b2,'to':_0x3a4d08}};if(_0x3a4d08-_0x1b6598['from']==_0x4ce3b2&&(!_0x269b7e['item']||_0x1b6598['from']<=_0x269b7e['item']['from']||!/\S/['test'](_0x1b6598['text']['slice'](0x0,_0x269b7e['to'])))){let _0x3a59b9=_0x1b6598['from']+_0x269b7e['from'];if(_0x269b7e['item']&&_0x269b7e['node']['from']<_0x269b7e['item']['from']&&/\S/['test'](_0x1b6598['text']['slice'](_0x269b7e['from'],_0x269b7e['to']))){let _0x153c3e=_0x269b7e['blank'](g$(_0x1b6598['text'],0x4,_0x269b7e['to'])-g$(_0x1b6598['text'],0x4,_0x269b7e['from']));return _0x3a59b9==_0x1b6598['from']&&(_0x153c3e=GK(_0x153c3e,_0x708c9d)),{'range':oL['cursor'](_0x3a59b9+_0x153c3e['length']),'changes':{'from':_0x3a59b9,'to':_0x1b6598['from']+_0x269b7e['to'],'insert':_0x153c3e}};}if(_0x3a59b9<_0x3a4d08)return{'range':oL['cursor'](_0x3a59b9),'changes':{'from':_0x3a59b9,'to':_0x3a4d08}};}}}return _0x55b3df={'range':_0x4e91fe};});return!_0x55b3df&&(_0x13bae5(_0x708c9d['update'](_0x98366e,{'scrollIntoView':!0x0,'userEvent':'delete'})),!0x0);}}],zK=tY({'matchClosingTags':!0x1});function YK(_0x132fc0={}){let {codeLanguages:_0x3aa2e4,defaultCodeLanguage:_0x3be856,addKeymap:_0x59bf8d=!0x0,base:{parser:_0x4052d1}=UK,completeHTMLTags:_0x1a3790=!0x0,htmlTagLanguage:_0xc9bf32=zK}=_0x132fc0;if(!(_0x4052d1 instanceof $Y))throw new RangeError('Base\x20parser\x20provided\x20to\x20`markdown`\x20should\x20be\x20a\x20Markdown\x20parser');let _0x13472a,_0x336e0b=_0x132fc0['extensions']?[_0x132fc0['extensions']]:[],_0x28fdee=[_0xc9bf32['support']];_0x3be856 instanceof zF?(_0x28fdee['push'](_0x3be856['support']),_0x13472a=_0x3be856['language']):_0x3be856&&(_0x13472a=_0x3be856);let _0x179072=_0x3aa2e4||_0x13472a?(_0x40ab12=_0x3aa2e4,_0x1792a5=_0x13472a,_0x531e55=>{if(_0x531e55&&_0x40ab12){let _0x47cbae=null;if(_0x531e55=/\S*/['exec'](_0x531e55)[0x0],_0x47cbae='function'==typeof _0x40ab12?_0x40ab12(_0x531e55):YF['matchLanguageName'](_0x40ab12,_0x531e55,!0x0),_0x47cbae instanceof YF)return _0x47cbae['support']?_0x47cbae['support']['language']['parser']:FF['getSkippingParser'](_0x47cbae['load']());if(_0x47cbae)return _0x47cbae['parser'];}return _0x1792a5?_0x1792a5['parser']:null;}):void 0x0;var _0x40ab12,_0x1792a5;_0x336e0b['push'](function(_0x4c819f){let {codeParser:_0x521062,htmlParser:_0x393d59}=_0x4c819f;return{'wrap':qB((_0x4765b8,_0x37d6ef)=>{let _0x30021c=_0x4765b8['type']['id'];if(!_0x521062||_0x30021c!=sY['CodeBlock']&&_0x30021c!=sY['FencedCode']){if(_0x393d59&&(_0x30021c==sY['HTMLBlock']||_0x30021c==sY['HTMLTag']||_0x30021c==sY['CommentBlock']))return{'parser':_0x393d59,'overlay':hK(_0x4765b8['node'],_0x4765b8['from'],_0x4765b8['to'])};}else{let _0x31a21a='';if(_0x30021c==sY['FencedCode']){let _0xa377bd=_0x4765b8['node']['getChild'](sY['CodeInfo']);_0xa377bd&&(_0x31a21a=_0x37d6ef['read'](_0xa377bd['from'],_0xa377bd['to']));}let _0x2a84e6=_0x521062(_0x31a21a);if(_0x2a84e6)return{'parser':_0x2a84e6,'overlay':_0x453a5b=>_0x453a5b['type']['id']==sY['CodeText'],'bracketed':_0x30021c==sY['FencedCode']};}return null;})};}({'codeParser':_0x179072,'htmlParser':_0xc9bf32['language']['parser']})),_0x59bf8d&&_0x28fdee['push'](_L['high'](BU['of'](WK)));let _0x53606f=jK(_0x4052d1['configure'](_0x336e0b));return _0x1a3790&&_0x28fdee['push'](_0x53606f['data']['of']({'autocomplete':KK})),new zF(_0x53606f,_0x28fdee);}function KK(_0x4c2b47){let {state:_0x3aab23,pos:_0x14b182}=_0x4c2b47,_0x40bd92=/<[:\-\.\w\u00b7-\uffff]*$/['exec'](_0x3aab23['sliceDoc'](_0x14b182-0x19,_0x14b182));if(!_0x40bd92)return null;let _0x484a95=UF(_0x3aab23)['resolveInner'](_0x14b182,-0x1);for(;_0x484a95&&!_0x484a95['type']['isTop'];){if('CodeBlock'==_0x484a95['name']||'FencedCode'==_0x484a95['name']||'ProcessingInstructionBlock'==_0x484a95['name']||'CommentBlock'==_0x484a95['name']||'Link'==_0x484a95['name']||'Image'==_0x484a95['name'])return null;_0x484a95=_0x484a95['parent'];}return{'from':_0x14b182-_0x40bd92[0x0]['length'],'to':_0x14b182,'options':tJ(),'validFor':/^<[:\-\.\w\u00b7-\uffff]*$/};}let JK=null;function tJ(){if(JK)return JK;let _0x3613ad=(_0x5dab9a=new GG(YL['create']({'extensions':zK}),0x0,!0x0),Xz(jz['default'],_0x5dab9a));var _0x5dab9a;return JK=_0x3613ad?_0x3613ad['options']:[];}const eJ='#e06c75',iJ='#abb2bf',sJ='#7d8799',nJ='#d19a66',rJ='#2c313a',oJ='#282c34',aJ='#353a42',cJ='#528bff',lJ=[NU['theme']({'&':{'color':iJ,'backgroundColor':oJ},'.cm-content':{'caretColor':cJ},'.cm-cursor,\x20.cm-dropCursor':{'borderLeftColor':cJ},'&.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':iJ},'.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':oJ,'color':sJ,'border':'none'},'.cm-activeLineGutter':{'backgroundColor':rJ},'.cm-foldPlaceholder':{'backgroundColor':'transparent','border':'none','color':'#ddd'},'.cm-tooltip':{'border':'none','backgroundColor':aJ},'.cm-tooltip\x20.cm-tooltip-arrow:before':{'borderTopColor':'transparent','borderBottomColor':'transparent'},'.cm-tooltip\x20.cm-tooltip-arrow:after':{'borderTopColor':aJ,'borderBottomColor':aJ},'.cm-tooltip-autocomplete':{'&\x20>\x20ul\x20>\x20li[aria-selected]':{'backgroundColor':rJ,'color':iJ}}},{'dark':!0x0}),HH(UH['define']([{'tag':PF['keyword'],'color':'#c678dd'},{'tag':[PF['name'],PF['deleted'],PF['character'],PF['propertyName'],PF['macroName']],'color':eJ},{'tag':[PF['function'](PF['variableName']),PF['labelName']],'color':'#61afef'},{'tag':[PF['color'],PF['constant'](PF['name']),PF['standard'](PF['name'])],'color':nJ},{'tag':[PF['definition'](PF['name']),PF['separator']],'color':iJ},{'tag':[PF['typeName'],PF['className'],PF['number'],PF['changed'],PF['annotation'],PF['modifier'],PF['self'],PF['namespace']],'color':'#e5c07b'},{'tag':[PF['operator'],PF['operatorKeyword'],PF['url'],PF['escape'],PF['regexp'],PF['link'],PF['special'](PF['string'])],'color':'#56b6c2'},{'tag':[PF['meta'],PF['comment']],'color':sJ},{'tag':PF['strong'],'fontWeight':'bold'},{'tag':PF['emphasis'],'fontStyle':'italic'},{'tag':PF['strikethrough'],'textDecoration':'line-through'},{'tag':PF['link'],'color':sJ,'textDecoration':'underline'},{'tag':PF['heading'],'fontWeight':'bold','color':eJ},{'tag':[PF['atom'],PF['bool'],PF['special'](PF['variableName'])],'color':nJ},{'tag':[PF['processingInstruction'],PF['string'],PF['inserted']],'color':'#98c379'},{'tag':PF['invalid'],'color':'#ffffff'}]))];function hJ(_0x5e5814){const _0x30b922=[NU['lineWrapping'],pq(),iZ(),eq(),RV(),eV(),hV(),lB(),QH(),_V(),fB(),wV(),kZ(),fH(),kV(),HH(XH,{'fallback':!0x0})],_0xdaa1ed=new TL();_0x30b922['push'](_0xdaa1ed['of'](NU['editable']['of'](!0x0))),'html'===_0x5e5814['syntaxLanguage']?_0x30b922['push'](tY()):_0x30b922['push'](YK());const _0x4b2ba0=(_0x8ef911=_0x5e5814['theme'])&&'default'!==_0x8ef911?'dark'===_0x8ef911?lJ:_0x8ef911:null;var _0x8ef911;_0x4b2ba0&&_0x30b922['push'](_0x4b2ba0),_0x30b922['push'](BU['of']([...aq,...ZG,...ZZ,...xH,...gq,{'key':'Tab','run':UG,'shift':VG,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':RZ,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':RZ,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':CZ,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x132d8f=new NU({'extensions':_0x30b922,'parent':_0x5e5814['parent']});return BG(_0x132d8f),{'focus':()=>{_0x132d8f['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x132d8f['focus']();},'getData':()=>_0x132d8f['state']['doc']['toString'](),'setData':_0x518211=>{_0x132d8f['dispatch']({'changes':{'from':0x0,'to':_0x132d8f['state']['doc']['length'],'insert':_0x518211},'annotations':UL['addToHistory']['of'](!0x1)});},'setReadOnly':_0x30cd02=>{_0x132d8f['dispatch']({'effects':[_0xdaa1ed['reconfigure'](NU['editable']['of'](!_0x30cd02))]});},'destroy':()=>{_0x132d8f['destroy']();},'instance':_0x132d8f};}var uJ=class extends _0x2df468{['_codeEditorApi']=null;['_options'];constructor(_0x547e3a,_0x5c6bd3){super(_0x547e3a),this['_options']=_0x5c6bd3,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']=hJ({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x29be89,_0x2fe793,_0x25b307)=>{this['setReadOnly'](_0x25b307);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0xf680f0){this['_codeEditorApi']['setData'](_0xf680f0);}['setReadOnly'](_0x167522){this['_codeEditorApi']['setReadOnly'](_0x167522);}};const dJ='SourceEditingEnhancedMode';var fJ=class extends _0x32be70{constructor(_0x3c1070){super(_0x3c1070),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x56f92e)['on']('change:hasAny',(_0x1c3598,_0x5254f6,_0x3937b6)=>{_0x3937b6?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x495ca3=this['editor'];for(const _0x23b28d of _0x495ca3['commands']['names']())['replaceSource','editSource']['includes'](_0x23b28d)||_0x495ca3['commands']['get'](_0x23b28d)['forceDisabled'](dJ);}['_enableCommands'](){const _0xe9f77=this['editor'];for(const _0x2ea776 of _0xe9f77['commands']['commands']())_0x2ea776['clearForceDisabled'](dJ);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x3930c4=this['editor'],_0x1231a0=_0x3930c4['locale'],_0xe937fe=_0x3930c4['plugins']['get']('Dialog'),_0x26fa51=vN(_0x3930c4),_0x3a8214=EN(_0x1b1230=_0x3930c4['data']['get']({'rootName':_0x26fa51}))?_0x583ed4(_0x1b1230):_0x1b1230;var _0x1b1230;const _0x5c2eae=new uJ(_0x1231a0,{'syntaxLanguage':_0x3930c4['plugins']['has']('Markdown')?'markdown':'html','theme':_0x3930c4['config']['get']('sourceEditingEnhanced.theme')});let _0x3bc193=!0x0;const _0x24ba8c=_0x5202a8=>{if(_0x3bc193&&_N(_0x5c2eae['getData']())!==_N(_0x3a8214))return window['confirm'](yN(_0x1231a0,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x5202a8['stop']();};_0xe937fe['show']({'id':'sourceEditingEnhanced','title':yN(_0x1231a0,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x5c2eae,'actionButtons':[{'label':yN(_0x1231a0,'Cancel'),'withText':!0x0,'onExecute':()=>{_0xe937fe['hide']();}},{'label':yN(_0x1231a0,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x12db67=_N(_0x5c2eae['getData']())!==_N(_0x3a8214);_0x12db67&&_0x3930c4['execute']('replaceSource',_0x5c2eae['getData']()),_0x3bc193=!0x1,_0xe937fe['hide'](),_0x12db67&&'editables'in _0x3930c4['ui']['view']&&_0x3930c4['ui']['view']['editables'][_0x26fa51]['element']['focus']();},'onCreate':_0x57b942=>{_0x57b942['set']('isEnabled',!_0x3930c4['isReadOnly']),_0x57b942['bind']('isEnabled')['to'](_0x3930c4,'isReadOnly',this,'isEnabled',(_0x1a4cc9,_0xc576af)=>!_0x1a4cc9&&_0xc576af);}}],'onHide':()=>{this['_enableCommands'](),_0xe937fe['off']('hide',_0x24ba8c),_0x5c2eae['destroy']();},'onShow':()=>{_0x5c2eae['bind']('isReadOnly')['to'](_0x3930c4,'isReadOnly',this,'isEnabled',(_0x58e732,_0x26b2f0)=>_0x58e732||!_0x26b2f0),_0x5c2eae['setData'](_0x3a8214),_0x5c2eae['focus'](),_0xe937fe['on']('hide',_0x24ba8c,{'priority':'highest'}),this['_disableCommands']();}});}},mJ=class extends _0x36b920{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x56f92e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x527b65=this['editor'],_0x2226ec=_0x527b65['locale'],_0x398cd9=new fJ(_0x527b65);_0x527b65['commands']['add']('editSource',_0x398cd9),_0x527b65['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x175b20=this['_createButton'](_0x47ddb0,_0x398cd9);return _0x175b20['set']({'label':yN(_0x2226ec,'Source'),'icon':_0x2d695c,'tooltip':yN(_0x2226ec,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x175b20;}),_0x527b65['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x1321db=this['_createButton'](_0x3dd6ab,_0x398cd9,!0x0);return _0x1321db['set']({'label':yN(_0x2226ec,'Edit\x20source\x20modal\x20label'),'icon':_0x2d695c,'role':'menuitemcheckbox'}),_0x1321db;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x3db65b){const _0x10e190='NQVXyBFHJzr8WGI4aZnTeoUx6p9jfv3DitLwuckYlhdMA2K5S7mbCOPEs1qgR0',_0x3444a9=0x78fc0,_0x1109b8=window['Date']['now'](),_0x267bb5=_0x3db65b['editor'],_0x16ed4c=new window['Promise'](_0x5055fd=>{_0x267bb5['once']('ready',_0x5055fd);}),_0x35c2dc={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x181b1f=_0x267bb5['config']['get']('licenseKey');async function _0x4cf26e(){let _0x3a5ba2,_0x2d3e35=null,_0x1b25eb=null;try{return'GPL'==_0x181b1f?'NotAllowed':(_0x3a5ba2=_0x10b8d5(),_0x3a5ba2?(_0x3a5ba2['usageEndpoint']&&(_0x1b25eb=_0x3c5857(_0x3a5ba2['usageEndpoint'],_0x3a5ba2['jti'])),await _0x5415d5()?_0x38edb9()?_0x121ed6()?'Expired':_0x2ce1e0()?('evaluation'==_0x3a5ba2['licenseType']&&(_0x2d3e35=_0x5b4997('EvaluationLimit')),await _0x1f60f8()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x121ed6(){const _0x45c621=['evaluation','trial']['includes'](_0x3a5ba2['licenseType'])?_0x1109b8/0x3e8:0xe10*_0x3444a9;return _0x3a5ba2['exp']<_0x45c621;}function _0x38edb9(){const _0x7c198a=_0x3a5ba2['features'];return!!_0x7c198a&&(!!_0x7c198a['includes']('*')||!!_0x7c198a['includes']('SEE'));}function _0x2ce1e0(){const _0x1a0cf6=_0x3a5ba2['licensedHosts'];if(!_0x1a0cf6||0x0==_0x1a0cf6['length'])return!0x0;const {hostname:_0x582d26}=new URL(window['location']['href']);if(_0x1a0cf6['includes'](_0x582d26))return!0x0;const _0x38dbab=_0x582d26['split']('.');return _0x1a0cf6['filter'](_0x49bbc5=>_0x49bbc5['includes']('*'))['map'](_0x270fc6=>_0x270fc6['split']('.'))['filter'](_0x534be2=>_0x534be2['length']<=_0x38dbab['length'])['map'](_0x3c3d52=>Array(_0x38dbab['length']-_0x3c3d52['length'])['fill']('*'===_0x3c3d52[0x0]?'*':'')['concat'](_0x3c3d52))['some'](_0x267c19=>_0x38dbab['every']((_0x51d88d,_0x2102ce)=>_0x267c19[_0x2102ce]===_0x51d88d||'*'===_0x267c19[_0x2102ce]));}function _0x1f60f8(){return _0x2d3e35&&_0x1b25eb?new window['Promise']((_0x450763,_0x5e075d)=>{_0x2d3e35['then'](_0x450763,_0x5e075d),_0x1b25eb['then'](_0x770944=>{'Valid'!=_0x770944&&_0x450763(_0x770944);},_0x5e075d);}):_0x2d3e35||_0x1b25eb||'Valid';}}function _0x3c5857(_0x3d3c2a,_0x2a47d8){return new window['Promise'](_0x57d537=>{if(_0x4cf806())return _0x57d537('Valid');_0xacdd3a(),_0x267bb5['decorate']('_sendUsageRequest');let _0x1d0a73=!0x1;const _0x47c35d=_0x10825a();function _0x13c2f9(_0x226588){return!!_0x226588&&('object'==typeof _0x226588||'function'==typeof _0x226588)&&'function'==typeof _0x226588['then']&&'function'==typeof _0x226588['catch'];}function _0x20ceb0(_0x191702){_0x2d79b6(_0x191702)['then'](_0x303220=>_0x303220&&'ok'==_0x303220['status']?_0xd44ade(_0x44c561(_0x47c35d+_0x2a47d8))!=_0x303220['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x44125a=>(_0x2a014e(),_0x44125a),()=>{const _0x445f39=_0x223c2c();return null==_0x445f39?(_0x2a014e(),'Valid'):_0x1109b8-_0x445f39>0x240c8400?'UsageLimit':'Valid';})['then'](_0x57d537)['catch'](()=>{_0x57d537('UsageLimit');});const _0x2406ce=0x36ee80;function _0x2a014e(){const _0x31ae48='llct-'+_0xd44ade(_0x44c561(_0x3d3c2a)),_0x127fed=_0x5183e4(_0xd44ade(window['Math']['ceil'](_0x1109b8/_0x2406ce)));window['localStorage']['setItem'](_0x31ae48,_0x127fed);}function _0x223c2c(){const _0x2e0964='llct-'+_0xd44ade(_0x44c561(_0x3d3c2a)),_0x5cfcf3=window['localStorage']['getItem'](_0x2e0964);return _0x5cfcf3?window['parseInt'](_0x5183e4(_0x5cfcf3),0x10)*_0x2406ce:null;}function _0x2d79b6(_0x45311c){return new window['Promise']((_0x4094bb,_0x268cc5)=>{_0x45311c['then'](_0x4094bb,_0x268cc5),window['setTimeout'](_0x268cc5,0x1d4c0);});}}_0x267bb5['on']('_sendUsageRequest',(_0x2ae59c,_0x4ed2c0)=>{if(_0x4ed2c0[0x0]!=_0x3d3c2a)return _0x57d537('UsageLimit');_0x4ed2c0[0x1]={..._0x4ed2c0[0x1],'requestId':_0x47c35d};},{'priority':'high'}),_0x267bb5['on']('_sendUsageRequest',_0x50c493=>{_0x13c2f9(_0x50c493['return'])&&(_0x1d0a73=!0x0,_0x20ceb0(_0x50c493['return']));},{'priority':'low'}),_0x16ed4c['then'](()=>{_0x1d0a73||_0x57d537('UsageLimit');});});function _0x4cf806(){return'auto'==_0x267bb5['editing']['view']['_overlayModeHint'];}function _0xacdd3a(){_0x267bb5['editing']['view']['_overlayModeHint']='auto';}}function _0x5b4997(_0x372d4d){const _0x27c9c0=[new window['Promise'](_0x129e10=>setTimeout(_0x129e10,0x93ecc)),_0x16ed4c['then'](()=>new window['Promise'](_0x1e2393=>{let _0x4dabaa=0x0;_0x267bb5['model']['on']('applyOperation',(_0x4ce9d0,_0x2665fa)=>{_0x2665fa[0x0]['isDocumentOperation']&&_0x4dabaa++,0x5e8==_0x4dabaa&&(_0x1e2393(),_0x4ce9d0['off']());});}))];return window['Promise']['race'](_0x27c9c0)['then'](()=>_0x372d4d);}async function _0x197df8(){await _0x16ed4c,_0x267bb5['model']['change']=_0x5eaaef,_0x267bb5['model']['enqueueChange']=_0x5eaaef,_0x267bb5['enableReadOnlyMode']('model');}function _0x497ef5(_0x3b3531){const _0x55a317=_0x2a939e();_0x267bb5[_0x55a317]='sourceEditingEnhancedLicenseKey'+_0x3b3531,'Valid'!=_0x3b3531&&_0x197df8();}function _0x2a939e(){const _0x261c99=window['String'](window['performance']['now']())['replace']('.','');let _0x5b6600='N';for(let _0x4ae340=0x0;_0x4ae340<_0x261c99['length'];_0x4ae340+=0x2){let _0x5c6afc=window['parseInt'](_0x261c99['substring'](_0x4ae340,_0x4ae340+0x2));_0x5c6afc>=0x3e&&(_0x5c6afc-=0x3e),_0x5b6600+=_0x10e190[_0x5c6afc];}return _0x5b6600;}function _0x10b8d5(){const _0x321e1d=_0x181b1f['split']('.');if(0x3!=_0x321e1d['length'])return null;return _0xc96970(_0x321e1d[0x1]);function _0xc96970(_0x24ea67){const _0x4bd312=_0x2fd1f5(_0x24ea67);return _0x4bd312&&_0x27058a()?_0x4bd312:null;function _0x27058a(){const _0x3f9ff6=_0x4bd312['jti'],_0x7b85de=window['parseInt'](_0x3f9ff6['substring'](_0x3f9ff6['length']-0x8),0x10),_0x4c58ae={..._0x4bd312,'jti':_0x3f9ff6['substring'](0x0,_0x3f9ff6['length']-0x8)};return delete _0x4c58ae['vc'],_0x44c561(_0x4c58ae)==_0x7b85de;}}}async function _0x5415d5(){let _0x71263b=!0x0;try{const [_0x479d7b,_0x596a8f,_0x11544c]=_0x181b1f['split']('.');return _0x48edfd(_0x479d7b),await _0x2e0b89(_0x479d7b,_0x596a8f,_0x11544c),_0x71263b;}catch{return!0x1;}function _0x48edfd(_0x4448d3){const _0xaae8e6=_0x2fd1f5(_0x4448d3);_0xaae8e6&&'ES256'==_0xaae8e6['alg']||(_0x71263b=!0x1);}async function _0x2e0b89(_0x3d878b,_0x454c1a,_0x6b2cce){const _0x2d55ed=window['Uint8Array']['from'](_0x25b101(_0x6b2cce),_0x48ad0e=>_0x48ad0e['charCodeAt'](0x0)),_0x359972=new window['TextEncoder']()['encode'](_0x3d878b+'.'+_0x454c1a),_0x4ea8c2=window['crypto']['subtle'];if(!_0x4ea8c2)return;const _0x4d5b3d=await _0x4ea8c2['importKey']('jwk',_0x35c2dc,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x4ea8c2['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x4d5b3d,_0x2d55ed,_0x359972)||(_0x71263b=!0x1);}}function _0x2fd1f5(_0xdcab08){return _0xdcab08['startsWith']('ey')?JSON['parse'](_0x25b101(_0xdcab08)):null;}function _0x25b101(_0x5bbcbb){return window['atob'](_0x5bbcbb['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x44c561(_0x4e8cdd){let _0x2e970b=0x1505;function _0x19051b(_0x88ffb4){for(let _0x20adf7=0x0;_0x20adf7<_0x88ffb4['length'];_0x20adf7++){const _0x5ecf33=_0x88ffb4['charCodeAt'](_0x20adf7);_0x2e970b=(_0x2e970b<<0x5)+_0x2e970b+_0x5ecf33,_0x2e970b&=_0x2e970b;}}function _0x2567aa(_0x5e67f9){Array['isArray'](_0x5e67f9)?_0x5e67f9['forEach'](_0x2567aa):_0x5e67f9&&'object'==typeof _0x5e67f9?Object['entries'](_0x5e67f9)['sort']()['forEach'](([_0x47d8eb,_0x2a508c])=>{_0x19051b(_0x47d8eb),_0x2567aa(_0x2a508c);}):_0x19051b(window['String'](_0x5e67f9));}return _0x2567aa(_0x4e8cdd),_0x2e970b>>>0x0;}function _0xd44ade(_0x4da3c9){return _0x4da3c9['toString'](0x10)['padStart'](0x8,'0');}function _0x5183e4(_0x1496f1){return _0x1496f1['split']('')['reverse']()['join']('');}function _0x5eaaef(){}_0x497ef5(await _0x4cf26e());}(this);}['_createButton'](_0x3dba06,_0x381629,_0x52562b=!0x1){const _0xeed526=new _0x3dba06(this['editor']['locale']);return _0xeed526['set']({'withText':_0x52562b,'isToggleable':!0x1}),_0xeed526['bind']('isEnabled')['to'](_0x381629,'isEnabled'),this['listenTo'](_0xeed526,'execute',()=>_0x381629['execute']()),_0xeed526;}['_registerKeybindings'](){const _0x2e990e=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':yN(_0x2e990e,'Source\x20Editing\x20Enhanced')});const _0x4d4b65=_0x221d7d['isMac']||_0x221d7d['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':yN(_0x2e990e,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':yN(_0x2e990e,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':yN(_0x2e990e,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':yN(_0x2e990e,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':yN(_0x2e990e,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':yN(_0x2e990e,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':yN(_0x2e990e,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x4d4b65?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':yN(_0x2e990e,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':yN(_0x2e990e,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':yN(_0x2e990e,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':yN(_0x2e990e,'Select\x20line'),'keystroke':_0x4d4b65?'Ctrl!+L':'Alt+L'},{'label':yN(_0x2e990e,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x4d4b65?'Alt+Shift+M':'Ctrl+M'},{'label':yN(_0x2e990e,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':yN(_0x2e990e,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':yN(_0x2e990e,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':yN(_0x2e990e,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':yN(_0x2e990e,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x4d4b65?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}},pJ=class extends _0x32be70{constructor(_0x159f31){super(_0x159f31),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x224ae8,_0xe760af){const _0x5b18a0=this['editor'],_0x341e8d=_0xe760af?.['rootName']??vN(_0x5b18a0);_0x5b18a0['data']['set']({[_0x341e8d]:_0x224ae8},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}},gJ=class extends _0x36b920{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[mJ];}constructor(_0x56e205){super(_0x56e205),_0x56e205['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new pJ(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x29b0fc=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3c262d;for(const _0x571582 in _0x29b0fc){const _0xb8b5a8=_0x571582,_0x2a46ac=_0x29b0fc[_0xb8b5a8];if('sourceEditingEnhancedLicenseKeyValid'==_0x2a46ac||'sourceEditingEnhancedLicenseKeyInvalid'==_0x2a46ac||'sourceEditingEnhancedLicenseKeyExpired'==_0x2a46ac||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x2a46ac||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x2a46ac||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x2a46ac||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x2a46ac){delete _0x29b0fc[_0xb8b5a8],_0x3c262d=_0x2a46ac,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x3c262d&&_0x29b0fc['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x3c262d&&_0x29b0fc['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x3c262d&&_0x29b0fc['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x3c262d&&_0x29b0fc['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x3c262d&&_0x29b0fc['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x3c262d&&_0x29b0fc['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x7bf622=this['editor'],_0x24cc3c=_0x7bf622['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x24cc3c&&_0x7bf622['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x5b5a95('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x24cc3c&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x28ff98=>_0x7bf622['plugins']['has'](_0x28ff98))&&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.'),_0x7bf622['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.');}},OJ=class extends _0x32be70{['execute'](_0x576530){const {model:_0x37c912}=this['editor'];let _0x1c2a9e;switch(typeof _0x576530){case'string':_0x1c2a9e=_0x576530;break;case'function':_0x1c2a9e=_0x576530();}'string'==typeof _0x1c2a9e&&_0x37c912['change'](()=>{const _0x5ed1f4=this['editor']['data']['htmlProcessor']['toView'](_0x1c2a9e),_0x567241=_0x37c912['document']['selection']['getFirstPosition']()['root'],_0x5946df=this['editor']['data']['toModel'](_0x5ed1f4,_0x567241);_0x37c912['insertContent'](_0x5946df);});}},wJ=class extends _0x36b920{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5156d1}=this;_0x5156d1['commands']['add']('insertTemplate',new OJ(_0x5156d1)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x11367b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x297bcf;for(const _0xcd8122 in _0x11367b){const _0x268384=_0xcd8122,_0xc5a5ce=_0x11367b[_0x268384];if('templateLicenseKeyValid'==_0xc5a5ce||'templateLicenseKeyInvalid'==_0xc5a5ce||'templateLicenseKeyExpired'==_0xc5a5ce||'templateLicenseKeyDomainLimit'==_0xc5a5ce||'templateLicenseKeyNotAllowed'==_0xc5a5ce||'templateLicenseKeyEvaluationLimit'==_0xc5a5ce||'templateLicenseKeyUsageLimit'==_0xc5a5ce){delete _0x11367b[_0x268384],_0x297bcf=_0xc5a5ce,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x297bcf&&_0x11367b['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x297bcf&&_0x11367b['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x297bcf&&_0x11367b['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x297bcf&&_0x11367b['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x297bcf&&_0x11367b['_showLicenseError']('evaluationLimit'),'templateLicenseKeyUsageLimit'==_0x297bcf&&_0x11367b['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},bJ=class extends _0x344603{['filter'](_0x5490fc){if(!_0x5490fc)return this['_resetFiltering']();const _0x2059ca=new Map(),_0xec31be=this['items']['map'](_0x13e6f5=>{const _0x52f551=_0x13e6f5['buttonView']['isMatching'](_0x5490fc);return _0x13e6f5['isVisible']=!!_0x52f551,_0x13e6f5['buttonView']['highlightText'](_0x52f551?_0x5490fc:null),_0x52f551&&_0x2059ca['set'](_0x13e6f5,_0x52f551),_0x13e6f5;})['sort'](yJ)['sort'](function(_0x32e5e5){return function(_0x57561a,_0x2f14a3){const _0x5683de=_0x32e5e5['get'](_0x57561a),_0x2faaa0=_0x32e5e5['get'](_0x2f14a3);return _0x5683de&&!_0x2faaa0?-0x1:_0x2faaa0&&!_0x5683de?0x1:_0x5683de||_0x2faaa0?_0x5683de['title']&&!_0x2faaa0['title']?-0x1:!_0x5683de['title']&&_0x2faaa0['title']?0x1:0x0:0x0;};}(_0x2059ca));return this['items']['clear'](),this['items']['addMany'](_0xec31be),{'resultsCount':_0x2059ca['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x13b0d4=this['items']['map'](_0x39e2cd=>_0x39e2cd)['sort'](yJ);return _0x13b0d4['forEach'](_0x2a54d3=>{_0x2a54d3['isVisible']=!0x0,_0x2a54d3['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x13b0d4),{'resultsCount':_0x13b0d4['length'],'totalItemsCount':_0x13b0d4['length']};}};function yJ(_0x371687,_0x18245a){return _0x371687['originalIndex']-_0x18245a['originalIndex'];}var vJ=class extends _0x1853ec{['originalIndex'];['buttonView'];constructor(_0x31fb7c,_0x430d5a){super(_0x31fb7c),this['originalIndex']=_0x430d5a,this['buttonView']=null;}},_J=class extends _0x47ddb0{['templateDefinition'];['textPartView'];constructor(_0x354e7c,_0x3ecf3b){super(_0x354e7c),this['templateDefinition']=_0x3ecf3b,this['textPartView']=null;const {icon:_0x23873e=_0x5b92ac}=_0x3ecf3b;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x23873e}),this['iconView']['isColorInherited']=!0x1;}['render'](){super['render'](),this['textPartView']=new EJ(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'](_0x5961ac){const {title:_0x35d018,description:_0x34e3be}=this['templateDefinition'],_0x321c3f=!!_0x35d018['match'](_0x5961ac),_0x1cd349=!(!_0x34e3be||!_0x34e3be['match'](_0x5961ac));return _0x321c3f||_0x1cd349?{'title':_0x321c3f,'description':_0x1cd349}:null;}['highlightText'](_0x222887){this['textPartView']['highlightText'](_0x222887);}},EJ=class extends _0x2df468{constructor(_0x27a4de,_0x4c1b23,_0x4930ca){super(_0x27a4de),this['title']=_0x4c1b23['title'],this['description']=_0x4c1b23['description'],this['titleView']=new _0x3f1b1e(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x4930ca}});const _0x1d2480=[this['titleView']];this['description']&&(this['descriptionView']=new _0x3f1b1e(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x1d2480['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x1d2480});}['highlightText'](_0x52cee4){this['titleView']['highlightText'](_0x52cee4),this['description']&&this['descriptionView']['highlightText'](_0x52cee4);}};function TJ(_0x4bbd59,_0x110ae1,..._0x430a7e){const t=_0x4bbd59['t'];switch(_0x110ae1){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x430a7e);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',..._0x430a7e);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x110ae1;}}var AJ=class extends _0x36b920{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1fa472}=this,_0x500fc1=_0x1fa472['config']['get']('template.definitions')||[];_0x1fa472['ui']['componentFactory']['add']('insertTemplate',_0x4c4c7e=>{const _0x478b7a=_0x18eee9(_0x4c4c7e),_0x391e6f=new _0x2c9de8(_0x4c4c7e,{'filteredView':this['_createTemplateListView'](_0x4c4c7e,_0x500fc1),'queryView':{'label':TJ(_0x4c4c7e,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x1c63a7=>TJ(_0x4c4c7e,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x1c63a7),'secondary':TJ(_0x4c4c7e,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':TJ(_0x4c4c7e,'No\x20templates\x20available.')}}}}),_0x4da02d=_0x1fa472['commands']['get']('insertTemplate');return _0x391e6f['on']('search',(_0xb70585,_0x4728ec)=>{_0x4728ec['query']&&_0x4728ec['query']['length']&&_0x1fa472['ui']['ariaLiveAnnouncer']['announce'](TJ(_0x4c4c7e,'%0\x20templates\x20found',_0x4728ec['resultsCount']));}),_0x478b7a['bind']('isEnabled')['to'](_0x4da02d),_0x478b7a['panelView']['children']['add'](_0x391e6f),_0x478b7a['buttonView']['set']({'label':TJ(_0x4c4c7e,'Insert\x20template'),'icon':_0x487d1f,'tooltip':!0x0}),_0x478b7a['on']('change:isOpen',(_0x23303f,_0x174a4a,_0x4646ee)=>{_0x4646ee||_0x391e6f['reset']();}),_0x478b7a;}),_0x1fa472['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x56f729=>{const _0x15712e=_0x1fa472['commands']['get']('insertTemplate'),_0x3f3c0c=new _0x4108b4(_0x56f729);_0x3f3c0c['buttonView']['set']({'label':TJ(_0x56f729,'Template'),'icon':_0x487d1f});const _0xbd15a=new _0x14375b(_0x56f729);if(!_0x500fc1||!_0x500fc1['length']){const _0x39c557=new _0x2b149f(_0x56f729,_0x3f3c0c),_0x23f355=new _0x3dd6ab(_0x56f729);_0x23f355['set']({'label':TJ(_0x56f729,'No\x20templates\x20available.')}),_0x23f355['delegate']('execute')['to'](_0x3f3c0c),_0x23f355['on']('execute',()=>{_0x1fa472['editing']['view']['focus']();}),_0x39c557['children']['add'](_0x23f355),_0xbd15a['items']['add'](_0x39c557);}for(const _0x4a43db of _0x500fc1){const _0x50faf5=new _0x2b149f(_0x56f729,_0x3f3c0c),_0xdb7970=new _0x3dd6ab(_0x56f729);_0xdb7970['set']({'class':'ck-template-button','label':_0x4a43db['title'],'icon':_0x4a43db['icon']||_0x5b92ac}),_0xdb7970['delegate']('execute')['to'](_0x3f3c0c),_0xdb7970['on']('execute',()=>{_0x1fa472['execute']('insertTemplate',_0x4a43db['data']),_0x1fa472['editing']['view']['focus']();}),_0x50faf5['children']['add'](_0xdb7970),_0xbd15a['items']['add'](_0x50faf5);}return _0x3f3c0c['panelView']['children']['add'](_0xbd15a),_0x3f3c0c['bind']('isEnabled')['to'](_0x15712e,'isEnabled'),_0x3f3c0c;});}['afterInit'](){!async function(_0x11f448){const _0x4b17e2='5goNZRxHzmBfrl0Fq6Cks1ahDGS2LUEWiby3wKvu4IVPdeT8jn9MOQJtcAY7Xp',_0x125747=0x78fc0,_0x53a8c2=window['Date']['now'](),_0x40acba=_0x11f448['editor'],_0x56ee96=new window['Promise'](_0xc981cf=>{_0x40acba['once']('ready',_0xc981cf);}),_0x52078b={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0xd79fe1=_0x40acba['config']['get']('licenseKey');async function _0x9d48ce(){let _0x2d0816,_0x56cb4e=null,_0x227f64=null;try{return'GPL'==_0xd79fe1?'NotAllowed':(_0x2d0816=_0x1317be(),_0x2d0816?(_0x2d0816['usageEndpoint']&&(_0x227f64=_0x2f145b(_0x2d0816['usageEndpoint'],_0x2d0816['jti'])),await _0x241602()?_0x3fdc27()?_0x4a7874()?'Expired':_0x470a35()?('evaluation'==_0x2d0816['licenseType']&&(_0x56cb4e=_0x2ed91d('EvaluationLimit')),await _0x4100af()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x4a7874(){const _0x2691cd=['evaluation','trial']['includes'](_0x2d0816['licenseType'])?_0x53a8c2/0x3e8:0xe10*_0x125747;return _0x2d0816['exp']<_0x2691cd;}function _0x3fdc27(){const _0x2badf7=_0x2d0816['features'];return!!_0x2badf7&&(!!_0x2badf7['includes']('*')||(!!_0x2badf7['includes']('TPL')||(!!_0x2badf7['includes']('PP')||(!(!_0x2badf7['includes']('DRUP')||!_0x6aeaee())||!(!_0x2badf7['includes']('TRILIUM')||!_0x1c1dc0())))));}function _0x470a35(){const _0x216847=_0x2d0816['licensedHosts'];if(!_0x216847||0x0==_0x216847['length'])return!0x0;const {hostname:_0x1dad57}=new URL(window['location']['href']);if(_0x216847['includes'](_0x1dad57))return!0x0;const _0x4f7d2f=_0x1dad57['split']('.');return _0x216847['filter'](_0x4db516=>_0x4db516['includes']('*'))['map'](_0x5ab401=>_0x5ab401['split']('.'))['filter'](_0x1d975a=>_0x1d975a['length']<=_0x4f7d2f['length'])['map'](_0x560789=>Array(_0x4f7d2f['length']-_0x560789['length'])['fill']('*'===_0x560789[0x0]?'*':'')['concat'](_0x560789))['some'](_0x43a108=>_0x4f7d2f['every']((_0x25b297,_0xf00d7f)=>_0x43a108[_0xf00d7f]===_0x25b297||'*'===_0x43a108[_0xf00d7f]));}function _0x4100af(){return _0x56cb4e&&_0x227f64?new window['Promise']((_0x4857dd,_0x3245c7)=>{_0x56cb4e['then'](_0x4857dd,_0x3245c7),_0x227f64['then'](_0x2823ab=>{'Valid'!=_0x2823ab&&_0x4857dd(_0x2823ab);},_0x3245c7);}):_0x56cb4e||_0x227f64||'Valid';}}function _0x2f145b(_0x333674,_0x1c38c7){return new window['Promise'](_0xdbb81d=>{if(_0x58cea1())return _0xdbb81d('Valid');_0x55ee20(),_0x40acba['decorate']('_sendUsageRequest');let _0xf5687e=!0x1;const _0x1b09a2=_0x10825a();function _0x2261f2(_0x22b220){return!!_0x22b220&&('object'==typeof _0x22b220||'function'==typeof _0x22b220)&&'function'==typeof _0x22b220['then']&&'function'==typeof _0x22b220['catch'];}function _0x5978dd(_0x1f6423){_0x367421(_0x1f6423)['then'](_0x5367d6=>_0x5367d6&&'ok'==_0x5367d6['status']?_0x1762fe(_0xda06cd(_0x1b09a2+_0x1c38c7))!=_0x5367d6['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x40ff2b=>(_0x453deb(),_0x40ff2b),()=>{const _0x590ba9=_0x267527();return null==_0x590ba9?(_0x453deb(),'Valid'):_0x53a8c2-_0x590ba9>0x240c8400?'UsageLimit':'Valid';})['then'](_0xdbb81d)['catch'](()=>{_0xdbb81d('UsageLimit');});const _0x556ca3=0x36ee80;function _0x453deb(){const _0x10a81b='llct-'+_0x1762fe(_0xda06cd(_0x333674)),_0x381635=_0x1b8e44(_0x1762fe(window['Math']['ceil'](_0x53a8c2/_0x556ca3)));window['localStorage']['setItem'](_0x10a81b,_0x381635);}function _0x267527(){const _0x178cdb='llct-'+_0x1762fe(_0xda06cd(_0x333674)),_0x3ad5e5=window['localStorage']['getItem'](_0x178cdb);return _0x3ad5e5?window['parseInt'](_0x1b8e44(_0x3ad5e5),0x10)*_0x556ca3:null;}function _0x367421(_0x677f54){return new window['Promise']((_0x49c38f,_0x116728)=>{_0x677f54['then'](_0x49c38f,_0x116728),window['setTimeout'](_0x116728,0x1d4c0);});}}_0x40acba['on']('_sendUsageRequest',(_0x29438a,_0x35b2aa)=>{if(_0x35b2aa[0x0]!=_0x333674)return _0xdbb81d('UsageLimit');_0x35b2aa[0x1]={..._0x35b2aa[0x1],'requestId':_0x1b09a2};},{'priority':'high'}),_0x40acba['on']('_sendUsageRequest',_0x181d90=>{_0x2261f2(_0x181d90['return'])&&(_0xf5687e=!0x0,_0x5978dd(_0x181d90['return']));},{'priority':'low'}),_0x56ee96['then'](()=>{_0xf5687e||_0xdbb81d('UsageLimit');});});function _0x58cea1(){return'auto'==_0x40acba['editing']['view']['_overlayModeHint'];}function _0x55ee20(){_0x40acba['editing']['view']['_overlayModeHint']='auto';}}function _0x2ed91d(_0x777e49){const _0x1ebd6a=[new window['Promise'](_0x559d5b=>setTimeout(_0x559d5b,0x93ecc)),_0x56ee96['then'](()=>new window['Promise'](_0x3a67cb=>{let _0x5d133c=0x0;_0x40acba['model']['on']('applyOperation',(_0x3347a2,_0xb94ea6)=>{_0xb94ea6[0x0]['isDocumentOperation']&&_0x5d133c++,0x5e8==_0x5d133c&&(_0x3a67cb(),_0x3347a2['off']());});}))];return window['Promise']['race'](_0x1ebd6a)['then'](()=>_0x777e49);}async function _0x420882(){await _0x56ee96,_0x40acba['model']['change']=_0x13f634,_0x40acba['model']['enqueueChange']=_0x13f634,_0x40acba['enableReadOnlyMode']('model');}function _0x6aeaee(){return window['Drupal'];}function _0x1c1dc0(){return window['glob']&&window['glob']['triliumVersion'];}function _0x5a8e93(_0x217cbd){const _0x1f480b=_0x14e4ce();_0x40acba[_0x1f480b]='templateLicenseKey'+_0x217cbd,'Valid'!=_0x217cbd&&_0x420882();}function _0x14e4ce(){const _0x16495e=window['String'](window['performance']['now']())['replace']('.','');let _0x1e9f86='g';for(let _0x56205d=0x0;_0x56205d<_0x16495e['length'];_0x56205d+=0x2){let _0x19ab3=window['parseInt'](_0x16495e['substring'](_0x56205d,_0x56205d+0x2));_0x19ab3>=0x3e&&(_0x19ab3-=0x3e),_0x1e9f86+=_0x4b17e2[_0x19ab3];}return _0x1e9f86;}function _0x1317be(){const _0x41afac=_0xd79fe1['split']('.');if(0x3!=_0x41afac['length'])return null;return _0x4044dc(_0x41afac[0x1]);function _0x4044dc(_0x4c8bd3){const _0x467037=_0x94805f(_0x4c8bd3);return _0x467037&&_0x3822f3()?_0x467037:null;function _0x3822f3(){const _0x228e06=_0x467037['jti'],_0x502725=window['parseInt'](_0x228e06['substring'](_0x228e06['length']-0x8),0x10),_0x21691c={..._0x467037,'jti':_0x228e06['substring'](0x0,_0x228e06['length']-0x8)};return delete _0x21691c['vc'],_0xda06cd(_0x21691c)==_0x502725;}}}async function _0x241602(){let _0xb85d05=!0x0;try{const [_0x5568f9,_0x970e41,_0x52de69]=_0xd79fe1['split']('.');return _0x46ca08(_0x5568f9),await _0x104c1b(_0x5568f9,_0x970e41,_0x52de69),_0xb85d05;}catch{return!0x1;}function _0x46ca08(_0x323ea3){const _0x1760fd=_0x94805f(_0x323ea3);_0x1760fd&&'ES256'==_0x1760fd['alg']||(_0xb85d05=!0x1);}async function _0x104c1b(_0x3051d4,_0x2a623e,_0x4c004f){const _0x2d19d6=window['Uint8Array']['from'](_0x19a30d(_0x4c004f),_0x51f41f=>_0x51f41f['charCodeAt'](0x0)),_0x2f8400=new window['TextEncoder']()['encode'](_0x3051d4+'.'+_0x2a623e),_0x24e51a=window['crypto']['subtle'];if(!_0x24e51a)return;const _0xdd1ef6=await _0x24e51a['importKey']('jwk',_0x52078b,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x24e51a['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0xdd1ef6,_0x2d19d6,_0x2f8400)||(_0xb85d05=!0x1);}}function _0x94805f(_0xa7eb5){return _0xa7eb5['startsWith']('ey')?JSON['parse'](_0x19a30d(_0xa7eb5)):null;}function _0x19a30d(_0x2a77fb){return window['atob'](_0x2a77fb['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0xda06cd(_0x5d75c5){let _0x41e51a=0x1505;function _0x3370f1(_0x315065){for(let _0x102f34=0x0;_0x102f34<_0x315065['length'];_0x102f34++){const _0x5dbca8=_0x315065['charCodeAt'](_0x102f34);_0x41e51a=(_0x41e51a<<0x5)+_0x41e51a+_0x5dbca8,_0x41e51a&=_0x41e51a;}}function _0x1edafa(_0x4061df){Array['isArray'](_0x4061df)?_0x4061df['forEach'](_0x1edafa):_0x4061df&&'object'==typeof _0x4061df?Object['entries'](_0x4061df)['sort']()['forEach'](([_0x6817c4,_0x5e16f4])=>{_0x3370f1(_0x6817c4),_0x1edafa(_0x5e16f4);}):_0x3370f1(window['String'](_0x4061df));}return _0x1edafa(_0x5d75c5),_0x41e51a>>>0x0;}function _0x1762fe(_0x3b53d2){return _0x3b53d2['toString'](0x10)['padStart'](0x8,'0');}function _0x1b8e44(_0x1de52b){return _0x1de52b['split']('')['reverse']()['join']('');}function _0x13f634(){}_0x5a8e93(await _0x9d48ce());}(this);}['_createTemplateListView'](_0x411c3a,_0x1ac0a1){const {editor:_0x3a6792}=this,_0x5c3329=new bJ(_0x411c3a);return _0x5c3329['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x5c3329['items']['addMany'](_0x1ac0a1['map']((_0x25d520,_0x36dc7b)=>{const _0x37e0c5=new vJ(_0x411c3a,_0x36dc7b),_0x2ddce5=new _J(_0x411c3a,_0x25d520);return _0x37e0c5['buttonView']=_0x2ddce5,_0x37e0c5['children']['add'](_0x2ddce5),_0x37e0c5['buttonView']['on']('execute',_0x2cb990=>{_0x3a6792['execute']('insertTemplate',_0x2cb990['source']['templateDefinition']['data']),_0x3a6792['editing']['view']['focus']();}),_0x37e0c5;})),_0x5c3329;}},SJ=class extends _0x36b920{static get['requires'](){return[wJ,AJ];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};function IJ(_0x3a94f9,_0x19f88d,_0x553930){const t=_0x3a94f9['t'],_0x32efcf=_0x3a94f9['t'];switch(_0x19f88d){case'local':return{'text':_0x32efcf('Insert'===_0x553930?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x32efcf('From\x20computer')};case'url':return{'text':'Insert'===_0x553930?_0x32efcf('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x32efcf('Via\x20URL')};case'dropbox':return{'text':t('Insert'===_0x553930?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case'facebook':return{'text':t('Insert'===_0x553930?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case'gdrive':return{'text':t('Insert'===_0x553930?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case'gphotos':return{'text':t('Insert'===_0x553930?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case'onedrive':return{'text':t('Insert'===_0x553930?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x19f88d;}}var kJ=class extends _0x36b920{['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 _0x1c31bb=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x53305f;for(const _0x1dbdc1 in _0x1c31bb){const _0xdea200=_0x1dbdc1,_0x1bfa7e=_0x1c31bb[_0xdea200];if('uploadcareLicenseKeyValid'==_0x1bfa7e||'uploadcareLicenseKeyInvalid'==_0x1bfa7e||'uploadcareLicenseKeyExpired'==_0x1bfa7e||'uploadcareLicenseKeyDomainLimit'==_0x1bfa7e||'uploadcareLicenseKeyNotAllowed'==_0x1bfa7e||'uploadcareLicenseKeyEvaluationLimit'==_0x1bfa7e||'uploadcareLicenseKeyUsageLimit'==_0x1bfa7e){delete _0x1c31bb[_0xdea200],_0x53305f=_0x1bfa7e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x53305f&&_0x1c31bb['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x53305f&&_0x1c31bb['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x53305f&&_0x1c31bb['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x53305f&&_0x1c31bb['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x53305f&&_0x1c31bb['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x53305f&&_0x1c31bb['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x33cb61}=this,_0x24ac30=_0x33cb61['commands']['get']('uploadcare');if(!_0x24ac30)return;const _0x132f43=this['_normalizeConfigSourceList'](_0x33cb61['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x408665,_0x89b3a1)=>{const _0xa0cb9f=this['_getIntegrationKey'](_0x89b3a1['type']);return _0x408665[_0xa0cb9f]||(_0x408665[_0xa0cb9f]=[]),_0x408665[_0xa0cb9f]['push'](_0x89b3a1),_0x408665;},{});_0x33cb61['plugins']['has']('ImageInsertUI')&&_0x33cb61['commands']['get']('uploadcare')&&Object['entries'](_0x132f43)['forEach'](([_0x5d8942,_0x15084a])=>{_0x33cb61['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x5d8942,'observable':()=>_0x24ac30,'buttonViewCreator':()=>this['_createToolbarButton'](_0x15084a),'formViewCreator':()=>this['_createDropdownButtons'](_0x15084a),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x15084a),'override':'assetManager'!==_0x5d8942});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x5e198e){const {locale:_0x3d7071}=this['editor'];return _0x5e198e['map'](_0x4fa8d9=>{const _0x4fd9d7=IJ(_0x3d7071,_0x4fa8d9,'Insert');switch(_0x4fa8d9){case'local':return{'icon':_0x1e552c,'type':'local',..._0x4fd9d7};case'url':return{'icon':_0x1cced0,'type':'url',..._0x4fd9d7};case'dropbox':return{'icon':_0x4e52ea,'type':'dropbox',..._0x4fd9d7};case'facebook':return{'icon':et,'type':'facebook',..._0x4fd9d7};case'gdrive':return{'icon':nt,'type':'gdrive',..._0x4fd9d7};case'gphotos':return{'icon':rt,'type':'gphotos',..._0x4fd9d7};case'onedrive':return{'icon':Dt,'type':'onedrive',..._0x4fd9d7};}});}['_getIntegrationKey'](_0x181dea){switch(_0x181dea){case'local':return'upload';case'url':return'url';default:return'assetManager';}}['_createButton'](_0x2fb826,_0xdbce29){const _0x4dfc76=this['editor'],_0x4e16f7=new _0x2fb826(_0x4dfc76['locale']),_0x2d4942=_0x4dfc76['commands']['get']('uploadcare');return _0x4e16f7['bind']('isEnabled')['to'](_0x2d4942),_0x4e16f7['on']('execute',()=>{_0x2d4942['execute'](_0xdbce29);}),_0x4e16f7;}['_createToolbarButton'](_0x2d0c19){const {locale:_0x1ed916}=this['editor'],_0x58ceca=this['editor']['plugins']['get']('ImageInsertUI'),_0x4c1719=_0x2d0c19[0x0],_0x10a9f0=this['_createButton'](_0x47ddb0,_0x4c1719['type']);return _0x10a9f0['icon']=_0x4c1719['icon'],_0x10a9f0['bind']('label')['to'](_0x58ceca,'isImageSelected',_0x43c1ce=>IJ(_0x1ed916,_0x4c1719['type'],_0x43c1ce?'Replace':'Insert')['text']),_0x10a9f0['tooltip']=!0x0,_0x10a9f0;}['_createDropdownButtons'](_0x20f543){const {locale:_0x17cdc5}=this['editor'],_0x16af5a=this['editor']['plugins']['get']('ImageInsertUI');return _0x20f543['map'](_0x5a49e3=>{const _0x2eb482=this['_createButton'](_0x47ddb0,_0x5a49e3['type']);return _0x2eb482['withText']=!0x0,_0x2eb482['icon']=_0x5a49e3['icon'],_0x2eb482['bind']('label')['to'](_0x16af5a,'isImageSelected',_0x252ef2=>IJ(_0x17cdc5,_0x5a49e3['type'],_0x252ef2?'Replace':'Insert')['text']),_0x2eb482;});}['_createMenuBarButtons'](_0x5975e4){return _0x5975e4['map'](_0x315e04=>{const _0x38c00e=this['_createButton'](_0x3dd6ab,_0x315e04['type']);return _0x38c00e['icon']=_0x315e04['icon'],_0x38c00e['label']=_0x315e04['shortText'],_0x38c00e;});}},xJ=class extends _0x2df468{['focusTracker'];['focusCycler'];constructor(_0x31941c){super(_0x31941c),this['focusTracker']=new _0x33fa41(),this['focusCycler']=new _0x1a2844({'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');})}};}},CJ=class extends xJ{constructor(_0x298359,_0x489f43){super(_0x298359),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-'+_0x489f43}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}};function RJ(_0x5c9216,_0xbe4f7f){const _0x5da459=_0x5c9216['replace'](/\/$/,'');return{'imageFallbackUrl':_0x5c9216,'imageSources':[{'srcset':[...[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x138d27=>_0x138d27<_0xbe4f7f)['map'](_0x450c8f=>_0x5da459+'/-/resize/'+_0x450c8f+'x/\x20'+_0x450c8f+'w'),_0x5c9216+'\x20'+_0xbe4f7f+'w']['join'](',\x20'),'sizes':'(max-width:\x20'+_0xbe4f7f+'px)\x20100vw,\x20'+_0xbe4f7f+'px','type':'image/webp'}]};}function PJ(_0x256904,_0x19a950,_0x2bb06b){const _0x4a66ca=_0x256904['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4a66ca?parseInt(_0x4a66ca[0x1],0xa):_0x19a950,'height':_0x4a66ca?parseInt(_0x4a66ca[0x2],0xa):_0x2bb06b};}function MJ(_0x442fdc,_0x2155b2){const _0x1289a9=new(_0x40568c())(),_0x4a4201=_0x442fdc['plugins']['get']('ImageUtils'),_0x1e911b=_0x442fdc['editing']['mapper']['toViewElement'](_0x2155b2),_0x589f24=_0x4a4201['findViewImgElement'](_0x1e911b),_0xeddcbf=_0x442fdc['editing']['view']['domConverter']['viewToDom'](_0x589f24),_0x16643e=_0x2155b2['getAttribute']('width'),_0x479b57=_0x2155b2['getAttribute']('height'),_0x1b5ae6='image-processing';_0x442fdc['editing']['view']['change'](_0x4ad15e=>{_0x4ad15e['addClass'](_0x1b5ae6,_0x1e911b),_0x4ad15e['setStyle']('aspect-ratio',_0x16643e+'/'+_0x479b57,_0x589f24);}),_0x1289a9['listenTo'](_0xeddcbf,'load',()=>{_0x1289a9['stopListening'](_0xeddcbf,'load'),_0x442fdc['editing']['view']['change'](_0x4427a4=>{_0x4427a4['removeClass'](_0x1b5ae6,_0x1e911b),_0x4427a4['removeStyle']('aspect-ratio',_0x589f24);});});}function NJ(_0x2a26ca){if(Array['isArray'](_0x2a26ca)){const _0x1c9390=_0x2a26ca['map'](NJ);return _0x484b19=>_0x1c9390['some'](_0x3887bd=>_0x3887bd(_0x484b19));}if('origin'==_0x2a26ca){const _0x2cefe8=_0x22955f['window']['location']['origin'];return _0x383938=>new URL(_0x383938,_0x22955f['document']['baseURI'])['origin']==_0x2cefe8;}return'function'==typeof _0x2a26ca?_0x2a26ca:_0x2a26ca instanceof RegExp?_0x2dbafc=>!(!_0x2dbafc['match'](_0x2a26ca)&&!_0x2dbafc['replace'](/^https?:\/\//,'')['match'](_0x2a26ca)):()=>!0x1;}function LJ(_0x1d9fb6,_0x206bd1){return _0xa87cc0(_0x1d9fb6['target'])['includes'](_0x206bd1);}const $J=/* #__PURE__ -- @preserve */
_0x5b14e3();var DJ=class extends $J{['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x283933,_0x3caa6a,_0x201c0f){super(),this['_editor']=_0x283933,this['_editing']=_0x3caa6a,this['_dialog']=_0x283933['plugins']['get'](_0x5cd402),this['_api']=_0x3caa6a['ctxElement']['getAPI'](),this['_type']=_0x201c0f,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:_0x3f6b54,model:_0x56115c}=this['_editor'],_0x2d1d5b=_0x56115c['document']['selection']['getSelectedElement'](),_0x3fe9f3=_0x2d1d5b&&(_0x2d1d5b['is']('element','imageBlock')||_0x2d1d5b['is']('element','imageInline'));this['_formView']=new CJ(_0x3f6b54,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x1e552c,'title':IJ(_0x3f6b54,this['_type'],_0x3fe9f3?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x41f24f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x106e3d=>!LJ(_0x106e3d,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x18ea1d}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x2d1bb6=>{const _0x14b8e1=_0x18ea1d['length'];for(const _0x4551cb of _0x18ea1d){const _0x1fb25a=_0x4551cb===_0x18ea1d[_0x14b8e1-0x1],{cdnUrl:_0xa39390,fileInfo:_0x5845ab}=_0x4551cb;if(!_0xa39390||!_0x5845ab)continue;const {width:_0x1c5c83,height:_0x312737}=_0x5845ab['imageInfo'],_0x36e877=PJ(_0xa39390,_0x1c5c83,_0x312737),_0x35662c=RJ(_0xa39390,_0x36e877['width']),_0x4c85f3={'id':_0x5845ab['uuid'],'type':'image','attributes':{'imageDimension':_0x36e877,..._0x35662c}};this['_insertAsset'](_0x4c85f3,_0x1fb25a,_0x2d1bb6);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x1ed9ed=>{'idle'===_0x1ed9ed['detail']['status']&&!_0x1ed9ed['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&('local'===this['_type']?this['_api']['setCurrentActivity']('start-from'):this['_api']['initFlow']());});}['_insertAsset'](_0x3a90ee,_0x4fb00a,_0x357751){const _0x292727=this['_editor']['model']['document']['selection'],_0x13c2e7=_0x292727['getSelectedElement'](),_0x37f1b0=!(!_0x13c2e7||!_0x13c2e7['is']('element','imageInline'));_0x357751['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x3a90ee,_0x37f1b0),_0x4fb00a||_0x357751['setSelection'](_0x292727['getLastPosition']());}['_insertImage'](_0x1fa884,_0x838530){const _0x4d16c4=this['_editor'],{imageDimension:_0x51ea13,imageFallbackUrl:_0x550564,imageSources:_0x472a64}=_0x1fa884['attributes'];_0x4d16c4['execute']('insertImage',{'imageType':_0x838530?'imageInline':null,'source':{'uploadcareImageId':_0x1fa884['id'],'src':_0x550564,'sources':_0x472a64,..._0x51ea13}});}},QJ=class extends _0x32be70{['_editing'];['_controller']=null;static get['requires'](){return[_0x5cd402,Z0];}constructor(_0x5e7e30){super(_0x5e7e30),this['_editing']=_0x5e7e30['plugins']['get'](Z0);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x3522d6){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new DJ(this['editor'],this['_editing'],_0x3522d6);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}};function jJ(_0x2b7ded){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x2b7ded);}const UJ=/\W|_/g;function VJ(_0x54d654){return _0x54d654['split'](UJ)['map']((_0x1ded5c,_0x179b91)=>_0x1ded5c['charAt'](0x0)[_0x179b91>0x0?'toUpperCase':'toLowerCase']()+_0x1ded5c['slice'](0x1))['join']('');}function BJ(_0xa8b9c0,{ignoreKeys:_0xf34198}={'ignoreKeys':[]}){return Array['isArray'](_0xa8b9c0)?_0xa8b9c0['map'](_0x15b087=>FJ(_0x15b087,{'ignoreKeys':_0xf34198})):_0xa8b9c0;}function FJ(_0x22f74f,{ignoreKeys:_0x35e457}={'ignoreKeys':[]}){if(Array['isArray'](_0x22f74f))return BJ(_0x22f74f,{'ignoreKeys':_0x35e457});if(!jJ(_0x22f74f))return _0x22f74f;const _0x30a0d0={};for(const _0x4144f1 of Object['keys'](_0x22f74f)){let _0x123e5a=_0x22f74f[_0x4144f1];_0x35e457['includes'](_0x4144f1)?_0x30a0d0[_0x4144f1]=_0x123e5a:(jJ(_0x123e5a)?_0x123e5a=FJ(_0x123e5a,{'ignoreKeys':_0x35e457}):Array['isArray'](_0x123e5a)&&(_0x123e5a=BJ(_0x123e5a,{'ignoreKeys':_0x35e457})),_0x30a0d0[VJ(_0x4144f1)]=_0x123e5a);}return _0x30a0d0;}const HJ={'factor':0x2,'time':0x64};function ZJ(_0x45ec67,_0x10e296=HJ){let _0x13738f=0x0;return function _0x570c9e(_0x38c740){const _0x2cfd56=Math['round'](_0x10e296['time']*_0x10e296['factor']**_0x13738f);return _0x38c740({'attempt':_0x13738f,'retry':_0xc2609b=>(_0x22481e=>new Promise(_0xc8e204=>setTimeout(_0xc8e204,_0x22481e)))(_0xc2609b??_0x2cfd56)['then'](()=>(_0x13738f+=0x1,_0x570c9e(_0x38c740)))});}(_0x45ec67);}var GJ=class extends Error{},XJ=class NetworkError extends GJ{['originalProgressEvent'];constructor(_0x348591){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,NetworkError['prototype']),this['originalProgressEvent']=_0x348591;}};const qJ=(_0x521a34,_0x547d4d)=>{_0x521a34&&(_0x521a34['aborted']?Promise['resolve']()['then'](_0x547d4d):_0x521a34['addEventListener']('abort',()=>_0x547d4d(),{'once':!0x0}));};var WJ=class CancelError extends GJ{['isCancel']=!0x0;constructor(_0x4932db='Request\x20canceled'){super(_0x4932db),this['name']='CancelError',Object['setPrototypeOf'](this,CancelError['prototype']);}};const zJ=({check:_0xaaf637,interval:_0x511733=0x1f4,timeout:_0x4d1c7a,signal:_0x5430ac})=>new Promise((_0xe7f7a4,_0x2751d1)=>{let _0x2ab6aa,_0x5d3086;qJ(_0x5430ac,()=>{_0x2ab6aa&&clearTimeout(_0x2ab6aa),_0x2751d1(new WJ('Poll\x20cancelled'));}),_0x4d1c7a&&(_0x5d3086=setTimeout(()=>{_0x2ab6aa&&clearTimeout(_0x2ab6aa),_0x2751d1(new WJ('Timed\x20out'));},_0x4d1c7a));const _0x57c147=()=>{try{Promise['resolve'](_0xaaf637(_0x5430ac))['then'](_0x4c4137=>{_0x4c4137?(_0x5d3086&&clearTimeout(_0x5d3086),_0xe7f7a4(_0x4c4137)):_0x2ab6aa=setTimeout(_0x57c147,_0x511733);})['catch'](_0x28249a=>{_0x5d3086&&clearTimeout(_0x5d3086),_0x2751d1(_0x28249a);});}catch(_0x11a5e2){_0x5d3086&&clearTimeout(_0x5d3086),_0x2751d1(_0x11a5e2);}};_0x2ab6aa=setTimeout(_0x57c147,0x0);}),YJ='https://ucarecdn.com',KJ='https://upload.uploadcare.com',JJ=0x1,t0=0x3,e0=0x1900000,i0=0x500000,s0=0x4,n0='79ae88bd931ea68464d9',r0='application/octet-stream',o0='original',a0=({method:_0x2f828a,url:_0x409a7e,data:_0x51d041,headers:_0x3c5117={},signal:_0x1c8efe,onProgress:_0x32ca42})=>new Promise((_0x24ebed,_0x5ad878)=>{const _0x434348=new XMLHttpRequest(),_0x7cff97=_0x2f828a?.['toUpperCase']()||'GET';let _0x3ada23=!0x1;_0x434348['open'](_0x7cff97,_0x409a7e,!0x0),_0x3c5117&&Object['entries'](_0x3c5117)['forEach'](_0x50ce84=>{const [_0x6e7680,_0x4df5d1]=_0x50ce84;void 0x0!==_0x4df5d1&&!Array['isArray'](_0x4df5d1)&&_0x434348['setRequestHeader'](_0x6e7680,_0x4df5d1);}),_0x434348['responseType']='text',qJ(_0x1c8efe,()=>{_0x3ada23=!0x0,_0x434348['abort'](),_0x5ad878(new WJ());}),_0x434348['onload']=()=>{if(0xc8!=_0x434348['status'])_0x5ad878(new Error('Error\x20'+_0x434348['status']+':\x20'+_0x434348['statusText']));else{const _0x798cd9={'method':_0x7cff97,'url':_0x409a7e,'data':_0x51d041,'headers':_0x3c5117||void 0x0,'signal':_0x1c8efe,'onProgress':_0x32ca42},_0x67ce9f=_0x434348['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0x1f9e00={};_0x67ce9f['forEach'](function(_0x2f7e45){const _0x2d3117=_0x2f7e45['split'](':\x20'),_0x439aa6=_0x2d3117['shift'](),_0x427d96=_0x2d3117['join'](':\x20');_0x439aa6&&void 0x0!==_0x439aa6&&(_0x1f9e00[_0x439aa6]=_0x427d96);});const _0xcb9cc3=_0x434348['response'],_0x16aa09=_0x434348['status'];_0x24ebed({'request':_0x798cd9,'data':_0xcb9cc3,'headers':_0x1f9e00,'status':_0x16aa09});}},_0x434348['onerror']=_0x17dfc1=>{_0x3ada23||_0x5ad878(new XJ(_0x17dfc1));},_0x32ca42&&'function'==typeof _0x32ca42&&(_0x434348['upload']['onprogress']=_0x55ceb4=>{_0x55ceb4['lengthComputable']?_0x32ca42({'isComputable':!0x0,'value':_0x55ceb4['loaded']/_0x55ceb4['total']}):_0x32ca42({'isComputable':!0x1});}),_0x51d041?_0x434348['send'](_0x51d041):_0x434348['send']();}),c0=function(_0x1af5a6,..._0x467b69){return _0x1af5a6;},l0=_0x136e77=>'undefined'!=typeof Blob&&_0x136e77 instanceof Blob,h0=_0xc146e2=>'undefined'!=typeof File&&_0xc146e2 instanceof File,u0=_0x410818=>!!_0x410818&&'object'==typeof _0x410818&&!Array['isArray'](_0x410818)&&'uri'in _0x410818&&'string'==typeof _0x410818['uri'],d0=_0x4fa409=>l0(_0x4fa409)||h0(_0x4fa409)||u0(_0x4fa409);function f0(_0x386362,_0x24eb84,_0x115ba5){if(Array['isArray'](_0x115ba5)){for(const _0x5632ba of _0x115ba5)f0(_0x386362,_0x24eb84+'[]',_0x5632ba);}else{if((_0x2b83d0=>!!_0x2b83d0&&'object'==typeof _0x2b83d0&&'data'in _0x2b83d0&&d0(_0x2b83d0['data']))(_0x115ba5)){const {name:_0x15b22f,contentType:_0x5acb2e}=_0x115ba5,_0x5e3932=c0(_0x115ba5['data'],_0x15b22f,_0x5acb2e??r0),_0x402ef=(({name:_0x3a6431})=>_0x3a6431?[_0x3a6431]:[])({'name':_0x15b22f,'contentType':_0x5acb2e});_0x386362['push']([_0x24eb84,_0x5e3932,..._0x402ef]);}else{if((_0x2239f2=>!!_0x2239f2&&'object'==typeof _0x2239f2&&!Array['isArray'](_0x2239f2))(_0x115ba5)){for(const [_0x3a2f04,_0x48592a]of Object['entries'](_0x115ba5))void 0x0!==_0x48592a&&_0x386362['push']([_0x24eb84+'['+_0x3a2f04+']',String(_0x48592a)]);}else(_0x29705e=>'string'==typeof _0x29705e||'number'==typeof _0x29705e||void 0x0===_0x29705e)(_0x115ba5)&&_0x115ba5&&_0x386362['push']([_0x24eb84,_0x115ba5['toString']()]);}}}function m0(_0x3d06e7){const _0xe4bafa=new FormData(),_0x203d67=function(_0x145a44){const _0x653b18=[];for(const [_0x5f43fc,_0x29d865]of Object['entries'](_0x145a44))f0(_0x653b18,_0x5f43fc,_0x29d865);return _0x653b18;}(_0x3d06e7);for(const _0x1ec5a5 of _0x203d67){const [_0x1d2ab9,_0x2873e9,..._0x17a571]=_0x1ec5a5;_0xe4bafa['append'](_0x1d2ab9,_0x2873e9,..._0x17a571);}return _0xe4bafa;}var p0=class UploadError extends GJ{['code'];['request'];['response'];['headers'];constructor(_0x40c022,_0x40bd94,_0xd5d5f2,_0x2cc732,_0x46aa2f){super(),this['name']='UploadError',this['message']=_0x40c022,this['code']=_0x40bd94,this['request']=_0xd5d5f2,this['response']=_0x2cc732,this['headers']=_0x46aa2f,Object['setPrototypeOf'](this,UploadError['prototype']);}};const g0=(_0x1e4a18,_0x49816b,_0x140d0a)=>{const _0x1ccce0=new URL(_0x1e4a18);return _0x1ccce0['pathname']=(_0x1ccce0['pathname']+_0x49816b)['replace']('//','/'),_0x140d0a&&(_0x1ccce0['search']=(_0x75d648=>{const _0x3d5af9=new URLSearchParams();for(const [_0x98ac21,_0x89b6dc]of Object['entries'](_0x75d648))_0x89b6dc&&'object'==typeof _0x89b6dc&&!Array['isArray'](_0x89b6dc)?Object['entries'](_0x89b6dc)['filter'](_0xcbd0d=>_0xcbd0d[0x1]??!0x1)['forEach'](_0x319868=>_0x3d5af9['set'](_0x98ac21+'['+_0x319868[0x0]+']',String(_0x319868[0x1]))):Array['isArray'](_0x89b6dc)?_0x89b6dc['forEach'](_0x177277=>{_0x3d5af9['append'](_0x98ac21+'[]',_0x177277);}):'string'==typeof _0x89b6dc&&_0x89b6dc?_0x3d5af9['set'](_0x98ac21,_0x89b6dc):'number'==typeof _0x89b6dc&&_0x3d5af9['set'](_0x98ac21,_0x89b6dc['toString']());return _0x3d5af9['toString']();})(_0x140d0a)),_0x1ccce0['toString']();};function O0(_0x42f6be){return function({libraryName:_0x52ebef,libraryVersion:_0x1a2774,userAgent:_0xa343e1,publicKey:_0x102251='',integration:_0x35b084=''}){const _0x266bf9='JavaScript';return'string'==typeof _0xa343e1?_0xa343e1:'function'==typeof _0xa343e1?_0xa343e1({'publicKey':_0x102251,'libraryName':_0x52ebef,'libraryVersion':_0x1a2774,'languageName':_0x266bf9,'integration':_0x35b084}):[_0x52ebef,_0x1a2774,_0x102251]['filter'](Boolean)['join']('/')+'\x20('+[_0x266bf9,_0x35b084]['filter'](Boolean)['join'](';\x20')+')';}({'libraryName':'UploadcareUploadClient','libraryVersion':'6.14.3',..._0x42f6be});}function w0(_0x4b69e0,_0x4b5bcc){const {retryThrottledRequestMaxTimes:_0x4de04a,retryNetworkErrorMaxTimes:_0x26f678}=_0x4b5bcc;return ZJ(({attempt:_0x2ecd93,retry:_0x392a00})=>_0x4b69e0()['catch'](_0x486795=>{if('response'in _0x486795&&'RequestThrottledError'===_0x486795?.['code']&&_0x2ecd93<_0x4de04a)return _0x392a00(function(_0x2b01ce){const {headers:_0x46bd0f}=_0x2b01ce||{};if(!_0x46bd0f||'string'!=typeof _0x46bd0f['retry-after'])return 0x3a98;const _0x269046=parseInt(_0x46bd0f['retry-after'],0xa);return Number['isFinite'](_0x269046)?0x3e8*_0x269046:0x3a98;}(_0x486795));if(_0x486795 instanceof XJ&&_0x2ecd93<_0x26f678)return _0x392a00(0x3e8*(_0x2ecd93+0x1));throw _0x486795;}));}const b0=_0x5778a9=>{let _0x2bbf9d='';return(l0(_0x5778a9)||h0(_0x5778a9)||u0(_0x5778a9))&&(_0x2bbf9d=_0x5778a9['type']),_0x2bbf9d||r0;},y0=_0x56ac89=>{let _0x5874f1='';return h0(_0x56ac89)&&_0x56ac89['name']?_0x5874f1=_0x56ac89['name']:l0(_0x56ac89)?_0x5874f1='':u0(_0x56ac89)&&_0x56ac89['name']&&(_0x5874f1=_0x56ac89['name']),_0x5874f1||o0;};function v0(_0x5d41e6){return void 0x0===_0x5d41e6||'auto'===_0x5d41e6?'auto':_0x5d41e6?'1':'0';}var _0,E0;!function(_0x3a1a7b){_0x3a1a7b['Token']='token',_0x3a1a7b['FileInfo']='file_info';}(_0||(_0={})),function(_0x16171e){_0x16171e['Unknown']='unknown',_0x16171e['Waiting']='waiting',_0x16171e['Progress']='progress',_0x16171e['Error']='error',_0x16171e['Success']='success';}(E0||(E0={}));function T0(_0x3de46b,{publicKey:_0x2e318f,baseURL:_0x17db3d=KJ,signal:_0x35844a,integration:_0x4726f4,userAgent:_0x189935,retryThrottledRequestMaxTimes:_0xa94ece=JJ,retryNetworkErrorMaxTimes:_0x599aa5=t0}={}){return w0(()=>a0({'method':'GET','headers':_0x2e318f?{'X-UC-User-Agent':O0({'publicKey':_0x2e318f,'integration':_0x4726f4,'userAgent':_0x189935})}:void 0x0,'url':g0(_0x17db3d,'/from_url/status/',{'jsonerrors':0x1,'token':_0x3de46b}),'signal':_0x35844a})['then'](({data:_0xe7c116,headers:_0x1ac4fb,request:_0x22c2c0})=>{const _0x299e4a=FJ(JSON['parse'](_0xe7c116));if('error'in _0x299e4a&&!(_0x1dc5e2=>'status'in _0x1dc5e2&&_0x1dc5e2['status']===E0['Error'])(_0x299e4a))throw new p0(_0x299e4a['error']['content'],_0x299e4a['error']['errorCode'],_0x22c2c0,_0x299e4a,_0x1ac4fb);return _0x299e4a;}),{'retryNetworkErrorMaxTimes':_0x599aa5,'retryThrottledRequestMaxTimes':_0xa94ece});}function A0(_0x5bd7fc,{publicKey:_0x44cb83,baseURL:_0x1b4368=KJ,signal:_0x3c2262,source:_0x30e56f,integration:_0x27c959,userAgent:_0x4920dd,retryThrottledRequestMaxTimes:_0x76e9da=JJ,retryNetworkErrorMaxTimes:_0x17bb68=t0}){return w0(()=>a0({'method':'GET','headers':{'X-UC-User-Agent':O0({'publicKey':_0x44cb83,'integration':_0x27c959,'userAgent':_0x4920dd})},'url':g0(_0x1b4368,'/info/',{'jsonerrors':0x1,'pub_key':_0x44cb83,'file_id':_0x5bd7fc,'source':_0x30e56f}),'signal':_0x3c2262})['then'](({data:_0x54bbbd,headers:_0xe63c15,request:_0xee9550})=>{const _0x1deff5=FJ(JSON['parse'](_0x54bbbd));if('error'in _0x1deff5)throw new p0(_0x1deff5['error']['content'],_0x1deff5['error']['errorCode'],_0xee9550,_0x1deff5,_0xe63c15);return _0x1deff5;}),{'retryThrottledRequestMaxTimes':_0x76e9da,'retryNetworkErrorMaxTimes':_0x17bb68});}function S0(_0x3cee01,{publicKey:_0x454786,baseURL:_0x84455e,source:_0x73377a,integration:_0x3ec42d,userAgent:_0x446318,retryThrottledRequestMaxTimes:_0x9b779,retryNetworkErrorMaxTimes:_0xb0709c,signal:_0x394848,onProgress:_0x241bd9}){return zJ({'check':_0x42154f=>A0(_0x3cee01,{'publicKey':_0x454786,'baseURL':_0x84455e,'signal':_0x42154f,'source':_0x73377a,'integration':_0x3ec42d,'userAgent':_0x446318,'retryThrottledRequestMaxTimes':_0x9b779,'retryNetworkErrorMaxTimes':_0xb0709c})['then'](_0x567048=>_0x567048['isReady']?_0x567048:(_0x241bd9&&_0x241bd9({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0x394848});}var I0=class{['uuid'];['name'];['size'];['isStored'];['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];['contentInfo'];['metadata'];['s3Bucket'];['defaultEffects']=null;constructor(_0x5b7e02,{baseCDN:_0x3db9fc=YJ,fileName:_0x380ddb}={}){const {uuid:_0x8bc8fd,s3Bucket:_0x346d3f}=_0x5b7e02,_0x403cf2=g0(_0x3db9fc,_0x8bc8fd+'/'),_0x4a1deb=_0x346d3f?g0('https://'+_0x346d3f+'.s3.amazonaws.com/',_0x8bc8fd+'/'+_0x5b7e02['filename']):null;this['uuid']=_0x8bc8fd,this['name']=_0x380ddb||_0x5b7e02['filename'],this['size']=_0x5b7e02['size'],this['isStored']=_0x5b7e02['isStored'],this['isImage']=_0x5b7e02['isImage'],this['mimeType']=_0x5b7e02['mimeType'],this['cdnUrl']=_0x403cf2,this['originalFilename']=_0x5b7e02['originalFilename'],this['imageInfo']=_0x5b7e02['imageInfo'],this['videoInfo']=_0x5b7e02['videoInfo'],this['contentInfo']=_0x5b7e02['contentInfo'],this['metadata']=_0x5b7e02['metadata']||null,this['s3Bucket']=_0x346d3f||null,this['s3Url']=_0x4a1deb,function(_0x16226b){return'defaultEffects'in _0x16226b;}(_0x5b7e02)&&(this['defaultEffects']=_0x5b7e02['defaultEffects']);}};const k0=(_0x3e5d5a,{publicKey:_0x4f2717,fileName:_0x4510ee,baseURL:_0x47a193,secureSignature:_0xcc0241,secureExpire:_0x38bfe2,store:_0x3491cc,contentType:_0x4f7e94,signal:_0x57c056,onProgress:_0x208da6,source:_0x4e5c40,integration:_0x175270,userAgent:_0x57470d,retryThrottledRequestMaxTimes:_0x14be93,retryNetworkErrorMaxTimes:_0x519871,baseCDN:_0x23b4e8,metadata:_0xedd85b})=>function(_0x118b62,{publicKey:_0x494718,fileName:_0xdb66a0,contentType:_0x3b5dbb,baseURL:_0x41e8f6=KJ,secureSignature:_0x3d049e,secureExpire:_0x589735,store:_0x229b8e,signal:_0x5aa0c9,onProgress:_0x1e6338,source:_0x15af91='local',integration:_0x409a6e,userAgent:_0x28fdc5,retryThrottledRequestMaxTimes:_0x275398=JJ,retryNetworkErrorMaxTimes:_0x4500da=t0,metadata:_0x3833f7}){return w0(()=>a0({'method':'POST','url':g0(_0x41e8f6,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':O0({'publicKey':_0x494718,'integration':_0x409a6e,'userAgent':_0x28fdc5})},'data':m0({'file':{'data':_0x118b62,'name':_0xdb66a0||y0(_0x118b62),'contentType':_0x3b5dbb||b0(_0x118b62)},'UPLOADCARE_PUB_KEY':_0x494718,'UPLOADCARE_STORE':v0(_0x229b8e),'signature':_0x3d049e,'expire':_0x589735,'source':_0x15af91,'metadata':_0x3833f7}),'signal':_0x5aa0c9,'onProgress':_0x1e6338})['then'](({data:_0x2cf043,headers:_0x3326bb,request:_0x353ed0})=>{const _0xf4e115=FJ(JSON['parse'](_0x2cf043));if('error'in _0xf4e115)throw new p0(_0xf4e115['error']['content'],_0xf4e115['error']['errorCode'],_0x353ed0,_0xf4e115,_0x3326bb);return _0xf4e115;}),{'retryNetworkErrorMaxTimes':_0x4500da,'retryThrottledRequestMaxTimes':_0x275398});}(_0x3e5d5a,{'publicKey':_0x4f2717,'fileName':_0x4510ee,'contentType':_0x4f7e94,'baseURL':_0x47a193,'secureSignature':_0xcc0241,'secureExpire':_0x38bfe2,'store':_0x3491cc,'signal':_0x57c056,'onProgress':_0x208da6,'source':_0x4e5c40,'integration':_0x175270,'userAgent':_0x57470d,'retryThrottledRequestMaxTimes':_0x14be93,'retryNetworkErrorMaxTimes':_0x519871,'metadata':_0xedd85b})['then'](({file:_0x578897})=>S0(_0x578897,{'publicKey':_0x4f2717,'baseURL':_0x47a193,'source':_0x4e5c40,'integration':_0x175270,'userAgent':_0x57470d,'retryThrottledRequestMaxTimes':_0x14be93,'retryNetworkErrorMaxTimes':_0x519871,'onProgress':_0x208da6,'signal':_0x57c056}))['then'](_0xe38de1=>new I0(_0xe38de1,{'baseCDN':_0x23b4e8})),x0=(_0x51a9b7,{signal:_0x243362}={})=>{let _0x51b2fd=null,_0x23defd=null;const _0x3b5a11=_0x51a9b7['map'](()=>new AbortController());return qJ(_0x243362,()=>{_0x3b5a11['forEach'](_0x3665cb=>_0x3665cb['abort']());}),Promise['all'](_0x51a9b7['map']((_0x397027,_0x2478df)=>{const _0x22c902=(_0x1246a5=>()=>{_0x23defd=_0x1246a5,_0x3b5a11['forEach']((_0x411779,_0x5e1123)=>_0x5e1123!==_0x1246a5&&_0x411779['abort']());})(_0x2478df);return Promise['resolve']()['then'](()=>_0x397027({'stopRace':_0x22c902,'signal':_0x3b5a11[_0x2478df]['signal']}))['then'](_0x3ce257=>(_0x22c902(),_0x3ce257))['catch'](_0x494ffe=>(_0x51b2fd=_0x494ffe,null));}))['then'](_0x324da9=>{if(null===_0x23defd)throw _0x51b2fd;return _0x324da9[_0x23defd];});};var C0=window['WebSocket'],R0=class{['events']=Object['create']({});['emit'](_0x56c4ae,_0x386733){this['events'][_0x56c4ae]?.['forEach'](_0x3c8859=>_0x3c8859(_0x386733));}['on'](_0x139f5b,_0x7699ff){this['events'][_0x139f5b]=this['events'][_0x139f5b]||[],this['events'][_0x139f5b]['push'](_0x7699ff);}['off'](_0x2bb3ad,_0x263a89){this['events'][_0x2bb3ad]=_0x263a89?this['events'][_0x2bb3ad]['filter'](_0x2bf793=>_0x2bf793!==_0x263a89):[];}},P0=class{['key'];['disconnectTime'];['ws']=void 0x0;['queue']=[];['isConnected']=!0x1;['subscribers']=0x0;['emmitter']=new R0();['disconnectTimeoutId']=null;constructor(_0x3c7e00,_0x42c7e0=0x7530){this['key']=_0x3c7e00,this['disconnectTime']=_0x42c7e0;}['connect'](){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){const _0x2e8e41='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new C0(_0x2e8e41),this['ws']['addEventListener']('error',_0x3949fb=>{this['emmitter']['emit']('error',new Error(_0x3949fb['message']));}),this['emmitter']['on']('connected',()=>{this['isConnected']=!0x0,this['queue']['forEach'](_0x1af79d=>this['send'](_0x1af79d['event'],_0x1af79d['data'])),this['queue']=[];}),this['ws']['addEventListener']('message',_0x27b2f1=>{const _0x1b5b78=JSON['parse'](_0x27b2f1['data']['toString']());switch(_0x1b5b78['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'](_0x1b5b78['channel'],((_0x263f14,_0x4f936f)=>'success'===_0x263f14?{'status':E0['Success'],..._0x4f936f}:'progress'===_0x263f14?{'status':E0['Progress'],..._0x4f936f}:{'status':E0['Error'],..._0x4f936f})(_0x1b5b78['event'],JSON['parse'](_0x1b5b78['data'])));}});}}['disconnect'](){const _0x30251d=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0x30251d();},this['disconnectTime']):_0x30251d();}['send'](_0x1f2908,_0xa57604){const _0x22ab16=JSON['stringify']({'event':_0x1f2908,'data':_0xa57604});this['ws']?.['send'](_0x22ab16);}['subscribe'](_0x21b3bf,_0x385036){this['subscribers']+=0x1,this['connect']();const _0x4b54e5='task-status-'+_0x21b3bf,_0x3d3232={'event':'pusher:subscribe','data':{'channel':_0x4b54e5}};this['emmitter']['on'](_0x4b54e5,_0x385036),this['isConnected']?this['send'](_0x3d3232['event'],_0x3d3232['data']):this['queue']['push'](_0x3d3232);}['unsubscribe'](_0x240705){this['subscribers']-=0x1;const _0x189378='task-status-'+_0x240705,_0x3ecb84={'event':'pusher:unsubscribe','data':{'channel':_0x189378}};this['emmitter']['off'](_0x189378),this['isConnected']?this['send'](_0x3ecb84['event'],_0x3ecb84['data']):this['queue']=this['queue']['filter'](_0x532e46=>_0x532e46['data']['channel']!==_0x189378),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x1c325d){return this['emmitter']['on']('error',_0x1c325d),()=>this['emmitter']['off']('error',_0x1c325d);}};let M0=null;const N0=_0x477a6a=>(M0||(M0=new P0(_0x477a6a,'undefined'==typeof window?0x0:0x7530)),M0),L0=(_0x229073,{publicKey:_0x4f7b11,fileName:_0x30cab7,baseURL:_0x25d702,baseCDN:_0x53e932,checkForUrlDuplicates:_0x1d7fa0,saveUrlForRecurrentUploads:_0x2f8d87,secureSignature:_0x4933dd,secureExpire:_0x5d94b7,store:_0x53675c,signal:_0x13ee82,onProgress:_0x33184e,source:_0x18e5b4,integration:_0x83bc8a,userAgent:_0x1e42ed,retryThrottledRequestMaxTimes:_0x51ffe7,pusherKey:_0x5dbc3f=n0,metadata:_0x3776b0})=>{return Promise['resolve']((_0x2d3883=_0x5dbc3f,void N0(_0x2d3883)['connect']()))['then'](()=>function(_0x14a22c,{publicKey:_0x40de91,baseURL:_0xcf9c39=KJ,store:_0x3470f8,fileName:_0x44d108,checkForUrlDuplicates:_0x5df68c,saveUrlForRecurrentUploads:_0x2ae9a7,secureSignature:_0x3fab8e,secureExpire:_0x49769c,source:_0x16615c='url',signal:_0x1ce721,integration:_0x299473,userAgent:_0x5238c8,retryThrottledRequestMaxTimes:_0x328918=JJ,retryNetworkErrorMaxTimes:_0x345bd7=t0,metadata:_0x1dbddf}){return w0(()=>a0({'method':'POST','headers':{'X-UC-User-Agent':O0({'publicKey':_0x40de91,'integration':_0x299473,'userAgent':_0x5238c8})},'url':g0(_0xcf9c39,'/from_url/',{'jsonerrors':0x1,'pub_key':_0x40de91,'source_url':_0x14a22c,'store':v0(_0x3470f8),'filename':_0x44d108,'check_URL_duplicates':_0x5df68c?0x1:void 0x0,'save_URL_duplicates':_0x2ae9a7?0x1:void 0x0,'signature':_0x3fab8e,'expire':_0x49769c,'source':_0x16615c,'metadata':_0x1dbddf}),'signal':_0x1ce721})['then'](({data:_0xa36a0b,headers:_0x36040f,request:_0x117c17})=>{const _0x294c6d=FJ(JSON['parse'](_0xa36a0b));if('error'in _0x294c6d)throw new p0(_0x294c6d['error']['content'],_0x294c6d['error']['errorCode'],_0x117c17,_0x294c6d,_0x36040f);return _0x294c6d;}),{'retryNetworkErrorMaxTimes':_0x345bd7,'retryThrottledRequestMaxTimes':_0x328918});}(_0x229073,{'publicKey':_0x4f7b11,'fileName':_0x30cab7,'baseURL':_0x25d702,'checkForUrlDuplicates':_0x1d7fa0,'saveUrlForRecurrentUploads':_0x2f8d87,'secureSignature':_0x4933dd,'secureExpire':_0x5d94b7,'store':_0x53675c,'signal':_0x13ee82,'source':_0x18e5b4,'integration':_0x83bc8a,'userAgent':_0x1e42ed,'retryThrottledRequestMaxTimes':_0x51ffe7,'metadata':_0x3776b0}))['catch'](_0x32e033=>(N0(_0x5dbc3f)?.['disconnect'](),Promise['reject'](_0x32e033)))['then'](_0xceeb2e=>_0xceeb2e['type']===_0['FileInfo']?_0xceeb2e:x0([({signal:_0x4612b9})=>function({token:_0x177dac,publicKey:_0x27aab8,baseURL:_0x5d5789,integration:_0x291b4b,userAgent:_0x1a8c35,retryThrottledRequestMaxTimes:_0x30cfc0,retryNetworkErrorMaxTimes:_0x25e37a,onProgress:_0x247d60,signal:_0x2da8a6}){return zJ({'check':_0x1f617e=>T0(_0x177dac,{'publicKey':_0x27aab8,'baseURL':_0x5d5789,'integration':_0x291b4b,'userAgent':_0x1a8c35,'retryThrottledRequestMaxTimes':_0x30cfc0,'retryNetworkErrorMaxTimes':_0x25e37a,'signal':_0x1f617e})['then'](_0x29df71=>{switch(_0x29df71['status']){case E0['Error']:return new p0(_0x29df71['error'],_0x29df71['errorCode']);case E0['Waiting']:return!0x1;case E0['Unknown']:return new p0('Token\x20\x22'+_0x177dac+'\x22\x20was\x20not\x20found.');case E0['Progress']:return _0x247d60&&('unknown'===_0x29df71['total']?_0x247d60({'isComputable':!0x1}):_0x247d60({'isComputable':!0x0,'value':_0x29df71['done']/_0x29df71['total']})),!0x1;case E0['Success']:return _0x247d60&&_0x247d60({'isComputable':!0x0,'value':_0x29df71['done']/_0x29df71['total']}),_0x29df71;default:throw new Error('Unknown\x20status');}}),'signal':_0x2da8a6});}({'token':_0xceeb2e['token'],'publicKey':_0x4f7b11,'baseURL':_0x25d702,'integration':_0x83bc8a,'userAgent':_0x1e42ed,'retryThrottledRequestMaxTimes':_0x51ffe7,'onProgress':_0x33184e,'signal':_0x4612b9}),({signal:_0x371d83})=>(({token:_0x2094a3,pusherKey:_0x27152a,signal:_0x593e3e,onProgress:_0x1b89be})=>new Promise((_0x180f79,_0x12c603)=>{const _0x7790b=N0(_0x27152a),_0x322b21=_0x7790b['onError'](_0x12c603),_0x38cf2d=()=>{_0x322b21(),_0x7790b['unsubscribe'](_0x2094a3);};qJ(_0x593e3e,()=>{_0x38cf2d(),_0x12c603(new WJ('pusher\x20cancelled'));}),_0x7790b['subscribe'](_0x2094a3,_0x4df0cd=>{switch(_0x4df0cd['status']){case E0['Progress']:_0x1b89be&&('unknown'===_0x4df0cd['total']?_0x1b89be({'isComputable':!0x1}):_0x1b89be({'isComputable':!0x0,'value':_0x4df0cd['done']/_0x4df0cd['total']}));break;case E0['Success']:_0x38cf2d(),_0x1b89be&&_0x1b89be({'isComputable':!0x0,'value':_0x4df0cd['done']/_0x4df0cd['total']}),_0x180f79(_0x4df0cd);break;case E0['Error']:_0x38cf2d(),_0x12c603(new p0(_0x4df0cd['msg'],_0x4df0cd['error_code']));}});}))({'token':_0xceeb2e['token'],'pusherKey':_0x5dbc3f,'signal':_0x371d83,'onProgress':_0x33184e})],{'signal':_0x13ee82}))['then'](_0x3f3cba=>{if(_0x3f3cba instanceof p0)throw _0x3f3cba;return _0x3f3cba;})['then'](_0x231d84=>S0(_0x231d84['uuid'],{'publicKey':_0x4f7b11,'baseURL':_0x25d702,'integration':_0x83bc8a,'userAgent':_0x1e42ed,'retryThrottledRequestMaxTimes':_0x51ffe7,'onProgress':_0x33184e,'signal':_0x13ee82}))['then'](_0x22dc50=>new I0(_0x22dc50,{'baseCDN':_0x53e932}));var _0x2d3883;},$0=new WeakMap(),D0=async _0x2f322d=>{if(h0(_0x2f322d)||l0(_0x2f322d))return _0x2f322d['size'];if(u0(_0x2f322d))return(await(async _0x323ed3=>{if($0['has'](_0x323ed3))return $0['get'](_0x323ed3);const _0x423db3=await fetch(_0x323ed3['uri'])['then'](_0x1a0fb0=>_0x1a0fb0['blob']());return $0['set'](_0x323ed3,_0x423db3),_0x423db3;})(_0x2f322d))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},Q0=async(_0x295245,_0x9d22df,_0x5decb2)=>_0x128b71=>((_0x2af2fd,_0x5124c8,_0x392e37,_0x4cb3e0)=>{const _0x16f222=_0x4cb3e0*_0x5124c8,_0x4d220c=Math['min'](_0x16f222+_0x4cb3e0,_0x392e37);return _0x2af2fd['slice'](_0x16f222,_0x4d220c);})(_0x295245,_0x128b71,_0x9d22df,_0x5decb2),j0=(_0x354baa,_0x28eed9,{publicKey:_0x441764,contentType:_0xfdf82,onProgress:_0x18cf30,signal:_0x4bfabf,integration:_0x17abd0,retryThrottledRequestMaxTimes:_0x107fe3,retryNetworkErrorMaxTimes:_0x1eaa10})=>function(_0x51a26d,_0x272d73,{contentType:_0x1c3955,signal:_0x28c56f,onProgress:_0x42d8f6,retryThrottledRequestMaxTimes:_0x22c6e0=JJ,retryNetworkErrorMaxTimes:_0x25112a=t0}){return w0(()=>a0({'method':'PUT','url':_0x272d73,'data':_0x51a26d,'onProgress':_0x42d8f6,'signal':_0x28c56f,'headers':{'Content-Type':_0x1c3955||r0}})['then'](_0x44e378=>(_0x42d8f6&&_0x42d8f6({'isComputable':!0x0,'value':0x1}),_0x44e378))['then'](({status:_0x2f5a93})=>({'code':_0x2f5a93})),{'retryThrottledRequestMaxTimes':_0x22c6e0,'retryNetworkErrorMaxTimes':_0x25112a});}(_0x354baa,_0x28eed9,{'publicKey':_0x441764,'contentType':_0xfdf82,'onProgress':_0x18cf30,'signal':_0x4bfabf,'integration':_0x17abd0,'retryThrottledRequestMaxTimes':_0x107fe3,'retryNetworkErrorMaxTimes':_0x1eaa10}),U0=async(_0x2effc7,{publicKey:_0x184da0,fileName:_0x36477d,fileSize:_0x5ce504,baseURL:_0x3fc970,secureSignature:_0x4489ba,secureExpire:_0x5cd7b3,store:_0x6d8173,signal:_0x20e573,onProgress:_0x589722,source:_0x50c76d,integration:_0x39c96b,userAgent:_0x38e33f,retryThrottledRequestMaxTimes:_0x2357bc,retryNetworkErrorMaxTimes:_0x4cf777,contentType:_0xdf99e5,multipartChunkSize:_0x61b2c4=i0,maxConcurrentRequests:_0x159ea1=s0,baseCDN:_0x2704bb,metadata:_0x2a2605})=>{const _0xaa2ca0=_0x5ce504??await D0(_0x2effc7);let _0x2f79f8;const _0x18819b=(_0x3745b0,_0x12585d)=>{if(!_0x589722)return;_0x2f79f8||(_0x2f79f8=Array(_0x3745b0)['fill'](0x0));const _0x511f02=_0x511c57=>_0x511c57['reduce']((_0x5d46d6,_0x4b19da)=>_0x5d46d6+_0x4b19da,0x0);return _0x3ae4ac=>{_0x3ae4ac['isComputable']&&(_0x2f79f8[_0x12585d]=_0x3ae4ac['value'],_0x589722({'isComputable':!0x0,'value':_0x511f02(_0x2f79f8)/_0x3745b0}));};};return _0xdf99e5||=b0(_0x2effc7),function(_0x2a29d4,{publicKey:_0x19141d,contentType:_0x466c00,fileName:_0x3a79ae,multipartChunkSize:_0x2b1a23=i0,baseURL:_0x59bc96='',secureSignature:_0xaf4a81,secureExpire:_0x346ba8,store:_0x2a8f7b,signal:_0x1831d9,source:_0x4be4c3='local',integration:_0x3ee113,userAgent:_0x5e0c7f,retryThrottledRequestMaxTimes:_0x2b6651=JJ,retryNetworkErrorMaxTimes:_0x51aa83=t0,metadata:_0x51688d}){return w0(()=>a0({'method':'POST','url':g0(_0x59bc96,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':O0({'publicKey':_0x19141d,'integration':_0x3ee113,'userAgent':_0x5e0c7f})},'data':m0({'filename':_0x3a79ae||o0,'size':_0x2a29d4,'content_type':_0x466c00||r0,'part_size':_0x2b1a23,'UPLOADCARE_STORE':v0(_0x2a8f7b),'UPLOADCARE_PUB_KEY':_0x19141d,'signature':_0xaf4a81,'expire':_0x346ba8,'source':_0x4be4c3,'metadata':_0x51688d}),'signal':_0x1831d9})['then'](({data:_0x5d8903,headers:_0x274da5,request:_0x24e0c0})=>{const _0x2a3419=FJ(JSON['parse'](_0x5d8903));if('error'in _0x2a3419)throw new p0(_0x2a3419['error']['content'],_0x2a3419['error']['errorCode'],_0x24e0c0,_0x2a3419,_0x274da5);return _0x2a3419['parts']=Object['keys'](_0x2a3419['parts'])['map'](_0x52651a=>_0x2a3419['parts'][Number(_0x52651a)]),_0x2a3419;}),{'retryThrottledRequestMaxTimes':_0x2b6651,'retryNetworkErrorMaxTimes':_0x51aa83});}(_0xaa2ca0,{'publicKey':_0x184da0,'contentType':_0xdf99e5,'fileName':_0x36477d||y0(_0x2effc7),'baseURL':_0x3fc970,'secureSignature':_0x4489ba,'secureExpire':_0x5cd7b3,'store':_0x6d8173,'signal':_0x20e573,'source':_0x50c76d,'integration':_0x39c96b,'userAgent':_0x38e33f,'retryThrottledRequestMaxTimes':_0x2357bc,'retryNetworkErrorMaxTimes':_0x4cf777,'metadata':_0x2a2605,'multipartChunkSize':_0x61b2c4})['then'](async({uuid:_0x3aed72,parts:_0x21fa3e})=>{const _0x102949=await Q0(_0x2effc7,_0xaa2ca0,_0x61b2c4);return Promise['all']([_0x3aed72,(_0x169be3=_0x159ea1,_0xf8e1af=_0x21fa3e['map']((_0x20a052,_0x15ee49)=>()=>j0(_0x102949(_0x15ee49),_0x20a052,{'publicKey':_0x184da0,'contentType':_0xdf99e5,'onProgress':_0x18819b(_0x21fa3e['length'],_0x15ee49),'signal':_0x20e573,'integration':_0x39c96b,'retryThrottledRequestMaxTimes':_0x2357bc,'retryNetworkErrorMaxTimes':_0x4cf777})),new Promise((_0x565b77,_0x5a5944)=>{const _0x2a8d79=[];let _0x282577=!0x1,_0x5a8aca=_0xf8e1af['length'];const _0x26c0b9=[..._0xf8e1af],_0x13c0d1=()=>{const _0x501200=_0xf8e1af['length']-_0x26c0b9['length'],_0x5ba0b3=_0x26c0b9['shift']();_0x5ba0b3&&_0x5ba0b3()['then'](_0x10a552=>{_0x282577||(_0x2a8d79[_0x501200]=_0x10a552,_0x5a8aca-=0x1,_0x5a8aca?_0x13c0d1():_0x565b77(_0x2a8d79));})['catch'](_0x48a121=>{_0x282577=!0x0,_0x5a5944(_0x48a121);});};for(let _0x1f84f5=0x0;_0x1f84f5<_0x169be3;_0x1f84f5++)_0x13c0d1();}))]);var _0x169be3,_0xf8e1af;})['then'](([_0x22baf9])=>function(_0x7d9918,{publicKey:_0x147888,baseURL:_0x30aaef=KJ,source:_0x3dcf93='local',signal:_0x3d61b7,integration:_0x4157e0,userAgent:_0x1484a3,retryThrottledRequestMaxTimes:_0x3feab1=JJ,retryNetworkErrorMaxTimes:_0x33294e=t0}){return w0(()=>a0({'method':'POST','url':g0(_0x30aaef,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':O0({'publicKey':_0x147888,'integration':_0x4157e0,'userAgent':_0x1484a3})},'data':m0({'uuid':_0x7d9918,'UPLOADCARE_PUB_KEY':_0x147888,'source':_0x3dcf93}),'signal':_0x3d61b7})['then'](({data:_0x196506,headers:_0x2cb549,request:_0x316bf0})=>{const _0x26cd20=FJ(JSON['parse'](_0x196506));if('error'in _0x26cd20)throw new p0(_0x26cd20['error']['content'],_0x26cd20['error']['errorCode'],_0x316bf0,_0x26cd20,_0x2cb549);return _0x26cd20;}),{'retryThrottledRequestMaxTimes':_0x3feab1,'retryNetworkErrorMaxTimes':_0x33294e});}(_0x22baf9,{'publicKey':_0x184da0,'baseURL':_0x3fc970,'source':_0x50c76d,'integration':_0x39c96b,'userAgent':_0x38e33f,'retryThrottledRequestMaxTimes':_0x2357bc,'retryNetworkErrorMaxTimes':_0x4cf777}))['then'](_0x34d2d1=>_0x34d2d1['isReady']?_0x34d2d1:S0(_0x34d2d1['uuid'],{'publicKey':_0x184da0,'baseURL':_0x3fc970,'source':_0x50c76d,'integration':_0x39c96b,'userAgent':_0x38e33f,'retryThrottledRequestMaxTimes':_0x2357bc,'retryNetworkErrorMaxTimes':_0x4cf777,'onProgress':_0x589722,'signal':_0x20e573}))['then'](_0x475f06=>new I0(_0x475f06,{'baseCDN':_0x2704bb}));};async function V0(_0x17df6e,{publicKey:_0xcbf92,fileName:_0x790673,baseURL:_0x5788b3=KJ,secureSignature:_0x1e3c4d,secureExpire:_0x8b9d34,store:_0x1ab4d6,signal:_0x2c0ee8,onProgress:_0x55d1f0,source:_0xa6a5a7,integration:_0x1af010,userAgent:_0x44998c,retryThrottledRequestMaxTimes:_0xa66ded,retryNetworkErrorMaxTimes:_0x113f71,contentType:_0x17bc29,multipartMinFileSize:_0x5ceb61,multipartChunkSize:_0x45cdf8,maxConcurrentRequests:_0x5bcbe6,baseCDN:_0x20c3e4=YJ,checkForUrlDuplicates:_0xd0cb2d,saveUrlForRecurrentUploads:_0x2035d9,pusherKey:_0x55be38,metadata:_0x2cefde}){if(d0(_0x17df6e)){const _0x466dd8=await D0(_0x17df6e);return((_0x1555ab,_0x337828=e0)=>_0x1555ab>=_0x337828)(_0x466dd8,_0x5ceb61)?U0(_0x17df6e,{'publicKey':_0xcbf92,'contentType':_0x17bc29,'multipartChunkSize':_0x45cdf8,'fileSize':_0x466dd8,'fileName':_0x790673,'baseURL':_0x5788b3,'secureSignature':_0x1e3c4d,'secureExpire':_0x8b9d34,'store':_0x1ab4d6,'signal':_0x2c0ee8,'onProgress':_0x55d1f0,'source':_0xa6a5a7,'integration':_0x1af010,'userAgent':_0x44998c,'maxConcurrentRequests':_0x5bcbe6,'retryThrottledRequestMaxTimes':_0xa66ded,'retryNetworkErrorMaxTimes':_0x113f71,'baseCDN':_0x20c3e4,'metadata':_0x2cefde}):k0(_0x17df6e,{'publicKey':_0xcbf92,'fileName':_0x790673,'contentType':_0x17bc29,'baseURL':_0x5788b3,'secureSignature':_0x1e3c4d,'secureExpire':_0x8b9d34,'store':_0x1ab4d6,'signal':_0x2c0ee8,'onProgress':_0x55d1f0,'source':_0xa6a5a7,'integration':_0x1af010,'userAgent':_0x44998c,'retryThrottledRequestMaxTimes':_0xa66ded,'retryNetworkErrorMaxTimes':_0x113f71,'baseCDN':_0x20c3e4,'metadata':_0x2cefde});}if((_0xb2e652=>{const _0xac0e3=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!d0(_0xb2e652)&&_0xac0e3['test'](_0xb2e652);})(_0x17df6e))return L0(_0x17df6e,{'publicKey':_0xcbf92,'fileName':_0x790673,'baseURL':_0x5788b3,'baseCDN':_0x20c3e4,'checkForUrlDuplicates':_0xd0cb2d,'saveUrlForRecurrentUploads':_0x2035d9,'secureSignature':_0x1e3c4d,'secureExpire':_0x8b9d34,'store':_0x1ab4d6,'signal':_0x2c0ee8,'onProgress':_0x55d1f0,'source':_0xa6a5a7,'integration':_0x1af010,'userAgent':_0x44998c,'retryThrottledRequestMaxTimes':_0xa66ded,'retryNetworkErrorMaxTimes':_0x113f71,'pusherKey':_0x55be38,'metadata':_0x2cefde});if((_0x2c45f5=>{const _0x12d536=new RegExp('[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}');return!d0(_0x2c45f5)&&_0x12d536['test'](_0x2c45f5);})(_0x17df6e))return((_0x36481c,{publicKey:_0x3393e6,fileName:_0x112e6,baseURL:_0x21c917,signal:_0x5283da,onProgress:_0x5f4d79,source:_0x5afe61,integration:_0x1252b5,userAgent:_0x4dc562,retryThrottledRequestMaxTimes:_0x22afd9,retryNetworkErrorMaxTimes:_0x49806f,baseCDN:_0x5e81ab})=>A0(_0x36481c,{'publicKey':_0x3393e6,'baseURL':_0x21c917,'signal':_0x5283da,'source':_0x5afe61,'integration':_0x1252b5,'userAgent':_0x4dc562,'retryThrottledRequestMaxTimes':_0x22afd9,'retryNetworkErrorMaxTimes':_0x49806f})['then'](_0xbcc90=>new I0(_0xbcc90,{'baseCDN':_0x5e81ab,'fileName':_0x112e6}))['then'](_0x2c9fa4=>(_0x5f4d79&&_0x5f4d79({'isComputable':!0x0,'value':0x1}),_0x2c9fa4)))(_0x17df6e,{'publicKey':_0xcbf92,'fileName':_0x790673,'baseURL':_0x5788b3,'signal':_0x2c0ee8,'onProgress':_0x55d1f0,'source':_0xa6a5a7,'integration':_0x1af010,'userAgent':_0x44998c,'retryThrottledRequestMaxTimes':_0xa66ded,'retryNetworkErrorMaxTimes':_0x113f71,'baseCDN':_0x20c3e4});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0x17df6e+'\x22\x20is\x20not\x20supported');}var B0=class{static['upload']({file:_0x425d5d,..._0xd574cb}){return V0(_0x425d5d,_0xd574cb);}static['getInfo'](_0x1e79dd,_0x1dd49f){return A0(_0x1e79dd,_0x1dd49f);}},F0=class extends _0x36b920{static get['requires'](){return[_0x103380,_0x1f47f2,_0x2702a1,Z0];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5dab0e=this['editor'];if(!_0x5dab0e['config']['get']('uploadcare'))return;_0x5dab0e['plugins']['get'](_0x2702a1)['createUploadAdapter']=_0x5d0d71=>new H0(_0x5d0d71,_0x5dab0e),_0x5dab0e['plugins']['get'](_0x103380)['on']('uploadComplete',(_0xeba8e6,{imageElement:_0x237c2c,data:_0x1550b6})=>{_0x5dab0e['model']['change'](_0x303b77=>{_0x303b77['setAttribute']('uploadcareImageId',_0x1550b6['uploadcareImageId'],_0x237c2c);});});}},H0=class{['loader'];['editor'];['controller'];constructor(_0x31f27f,_0x533cb7){this['loader']=_0x31f27f,this['editor']=_0x533cb7,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2bd305=await this['loader']['file'];return B0['upload']({'file':_0x2bd305,'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':_0xef2f2c=>{_0xef2f2c&&_0xef2f2c['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0xef2f2c['value']);}})['then'](async _0x2b1e1d=>{const {imageFallbackUrl:_0x207df6,imageSources:_0x3c9dce}=RJ(_0x2b1e1d['cdnUrl'],_0x2b1e1d['imageInfo']['width']);return{'uploadcareImageId':_0x2b1e1d['uuid'],'default':_0x207df6,'sources':_0x3c9dce};})['catch'](()=>{const _0x53f76f=t('Cannot\x20upload\x20file:')+('\x20'+_0x2bd305['name']+'.');return Promise['reject'](_0x53f76f);});}['abort'](){this['controller']['abort']();}},Z0=class extends _0x36b920{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return[_0x49cf38,F0,_0x5cd402];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x44a59c){super(_0x44a59c),this['ucContextId']=_0x10825a();}['init'](){const _0x1d5389=this['editor'];_0x1d5389['commands']['add']('uploadcare',new QJ(_0x1d5389));}['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 _0x490fc8=_0x22955f['document']['querySelector']('input[uploadcare-file-input]');_0x490fc8&&_0x490fc8['remove']();}),async function(_0x164d0c){const _0x1de1e7='hgP68pqc7OBJx9u3zrHatYUXf04TdVkMFmwCs5SDAvj21iWQGeZKLyRlENnoIb',_0x33f21c=0x78fc0,_0x5fd7c6=window['Date']['now'](),_0x42e83a=_0x164d0c['editor'],_0xfc4af9=new window['Promise'](_0x16cba1=>{_0x42e83a['once']('ready',_0x16cba1);}),_0x2c5c1b={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x5b15ae=_0x42e83a['config']['get']('licenseKey');async function _0x1ea0a9(){let _0x3c0d09,_0x6c7b8c=null,_0x3752ca=null;try{return'GPL'==_0x5b15ae?'NotAllowed':(_0x3c0d09=_0x1a5f1c(),_0x3c0d09?(_0x3c0d09['usageEndpoint']&&(_0x3752ca=_0x404b75(_0x3c0d09['usageEndpoint'],_0x3c0d09['jti'])),await _0x24f7cf()?_0x50f00e()?_0x5ee43d()?'Expired':_0x31f18d()?('evaluation'==_0x3c0d09['licenseType']&&(_0x6c7b8c=_0x45f41b('EvaluationLimit')),await _0x46b564()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x5ee43d(){const _0x556b1d=['evaluation','trial']['includes'](_0x3c0d09['licenseType'])?_0x5fd7c6/0x3e8:0xe10*_0x33f21c;return _0x3c0d09['exp']<_0x556b1d;}function _0x50f00e(){const _0x16d419=_0x3c0d09['features'];return!!_0x16d419&&(!!_0x16d419['includes']('*')||!!_0x16d419['includes']('UPLC'));}function _0x31f18d(){const _0x1a92b9=_0x3c0d09['licensedHosts'];if(!_0x1a92b9||0x0==_0x1a92b9['length'])return!0x0;const {hostname:_0x41d234}=new URL(window['location']['href']);if(_0x1a92b9['includes'](_0x41d234))return!0x0;const _0x1d438d=_0x41d234['split']('.');return _0x1a92b9['filter'](_0x3fffa3=>_0x3fffa3['includes']('*'))['map'](_0x576200=>_0x576200['split']('.'))['filter'](_0x3effc3=>_0x3effc3['length']<=_0x1d438d['length'])['map'](_0xed8176=>Array(_0x1d438d['length']-_0xed8176['length'])['fill']('*'===_0xed8176[0x0]?'*':'')['concat'](_0xed8176))['some'](_0x2ae105=>_0x1d438d['every']((_0x699d34,_0x30fcda)=>_0x2ae105[_0x30fcda]===_0x699d34||'*'===_0x2ae105[_0x30fcda]));}function _0x46b564(){return _0x6c7b8c&&_0x3752ca?new window['Promise']((_0x3dd2f5,_0x41e4b4)=>{_0x6c7b8c['then'](_0x3dd2f5,_0x41e4b4),_0x3752ca['then'](_0x4183a5=>{'Valid'!=_0x4183a5&&_0x3dd2f5(_0x4183a5);},_0x41e4b4);}):_0x6c7b8c||_0x3752ca||'Valid';}}function _0x404b75(_0x51371c,_0x424e24){return new window['Promise'](_0x103ca1=>{if(_0x2e2989())return _0x103ca1('Valid');_0x475955(),_0x42e83a['decorate']('_sendUsageRequest');let _0x2e3444=!0x1;const _0x5aaf05=_0x10825a();function _0x5dd852(_0x5617fa){return!!_0x5617fa&&('object'==typeof _0x5617fa||'function'==typeof _0x5617fa)&&'function'==typeof _0x5617fa['then']&&'function'==typeof _0x5617fa['catch'];}function _0x1ffaf7(_0x20e121){_0x2b726d(_0x20e121)['then'](_0x43f4ae=>_0x43f4ae&&'ok'==_0x43f4ae['status']?_0x195b67(_0x3b22fb(_0x5aaf05+_0x424e24))!=_0x43f4ae['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x33cb07=>(_0x847b7e(),_0x33cb07),()=>{const _0x4034e5=_0x10cf14();return null==_0x4034e5?(_0x847b7e(),'Valid'):_0x5fd7c6-_0x4034e5>0x240c8400?'UsageLimit':'Valid';})['then'](_0x103ca1)['catch'](()=>{_0x103ca1('UsageLimit');});const _0x1fce38=0x36ee80;function _0x847b7e(){const _0x3fe724='llct-'+_0x195b67(_0x3b22fb(_0x51371c)),_0x4f1706=_0x550ce8(_0x195b67(window['Math']['ceil'](_0x5fd7c6/_0x1fce38)));window['localStorage']['setItem'](_0x3fe724,_0x4f1706);}function _0x10cf14(){const _0xb8332c='llct-'+_0x195b67(_0x3b22fb(_0x51371c)),_0x4cf76c=window['localStorage']['getItem'](_0xb8332c);return _0x4cf76c?window['parseInt'](_0x550ce8(_0x4cf76c),0x10)*_0x1fce38:null;}function _0x2b726d(_0x529bc8){return new window['Promise']((_0x269eec,_0x13ba87)=>{_0x529bc8['then'](_0x269eec,_0x13ba87),window['setTimeout'](_0x13ba87,0x1d4c0);});}}_0x42e83a['on']('_sendUsageRequest',(_0x3ffc2a,_0x17e6af)=>{if(_0x17e6af[0x0]!=_0x51371c)return _0x103ca1('UsageLimit');_0x17e6af[0x1]={..._0x17e6af[0x1],'requestId':_0x5aaf05};},{'priority':'high'}),_0x42e83a['on']('_sendUsageRequest',_0x378b62=>{_0x5dd852(_0x378b62['return'])&&(_0x2e3444=!0x0,_0x1ffaf7(_0x378b62['return']));},{'priority':'low'}),_0xfc4af9['then'](()=>{_0x2e3444||_0x103ca1('UsageLimit');});});function _0x2e2989(){return'auto'==_0x42e83a['editing']['view']['_overlayModeHint'];}function _0x475955(){_0x42e83a['editing']['view']['_overlayModeHint']='auto';}}function _0x45f41b(_0x27ee13){const _0x1bb5a3=[new window['Promise'](_0x5be034=>setTimeout(_0x5be034,0x93ecc)),_0xfc4af9['then'](()=>new window['Promise'](_0x2362bf=>{let _0x5274f4=0x0;_0x42e83a['model']['on']('applyOperation',(_0x261f06,_0x38d397)=>{_0x38d397[0x0]['isDocumentOperation']&&_0x5274f4++,0x5e8==_0x5274f4&&(_0x2362bf(),_0x261f06['off']());});}))];return window['Promise']['race'](_0x1bb5a3)['then'](()=>_0x27ee13);}async function _0x22246c(){await _0xfc4af9,_0x42e83a['model']['change']=_0x2b217b,_0x42e83a['model']['enqueueChange']=_0x2b217b,_0x42e83a['enableReadOnlyMode']('model');}function _0x824ea6(_0x50f848){const _0x568073=_0x3b7c65();_0x42e83a[_0x568073]='uploadcareLicenseKey'+_0x50f848,'Valid'!=_0x50f848&&_0x22246c();}function _0x3b7c65(){const _0x30596c=window['String'](window['performance']['now']())['replace']('.','');let _0xc687ff='h';for(let _0x52f6e7=0x0;_0x52f6e7<_0x30596c['length'];_0x52f6e7+=0x2){let _0x142a08=window['parseInt'](_0x30596c['substring'](_0x52f6e7,_0x52f6e7+0x2));_0x142a08>=0x3e&&(_0x142a08-=0x3e),_0xc687ff+=_0x1de1e7[_0x142a08];}return _0xc687ff;}function _0x1a5f1c(){const _0x40f30b=_0x5b15ae['split']('.');if(0x3!=_0x40f30b['length'])return null;return _0x3f28a8(_0x40f30b[0x1]);function _0x3f28a8(_0x377a3b){const _0x26695f=_0x3ac8a3(_0x377a3b);return _0x26695f&&_0x3ba082()?_0x26695f:null;function _0x3ba082(){const _0x41f668=_0x26695f['jti'],_0xc31a3e=window['parseInt'](_0x41f668['substring'](_0x41f668['length']-0x8),0x10),_0x2cd741={..._0x26695f,'jti':_0x41f668['substring'](0x0,_0x41f668['length']-0x8)};return delete _0x2cd741['vc'],_0x3b22fb(_0x2cd741)==_0xc31a3e;}}}async function _0x24f7cf(){let _0xc1188f=!0x0;try{const [_0x1f9ce4,_0x4c0c6f,_0x2f82bb]=_0x5b15ae['split']('.');return _0x1c96db(_0x1f9ce4),await _0x109f3c(_0x1f9ce4,_0x4c0c6f,_0x2f82bb),_0xc1188f;}catch{return!0x1;}function _0x1c96db(_0x8f462){const _0x3a4a0e=_0x3ac8a3(_0x8f462);_0x3a4a0e&&'ES256'==_0x3a4a0e['alg']||(_0xc1188f=!0x1);}async function _0x109f3c(_0x4adc77,_0x18dca0,_0x42b976){const _0x140f4b=window['Uint8Array']['from'](_0x383d82(_0x42b976),_0x122309=>_0x122309['charCodeAt'](0x0)),_0x120bc7=new window['TextEncoder']()['encode'](_0x4adc77+'.'+_0x18dca0),_0x5f37a9=window['crypto']['subtle'];if(!_0x5f37a9)return;const _0x34e0a3=await _0x5f37a9['importKey']('jwk',_0x2c5c1b,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x5f37a9['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x34e0a3,_0x140f4b,_0x120bc7)||(_0xc1188f=!0x1);}}function _0x3ac8a3(_0x42d28e){return _0x42d28e['startsWith']('ey')?JSON['parse'](_0x383d82(_0x42d28e)):null;}function _0x383d82(_0x2b44d9){return window['atob'](_0x2b44d9['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x3b22fb(_0xdea79a){let _0x3447e7=0x1505;function _0x431b4a(_0x2ab89f){for(let _0x137ae3=0x0;_0x137ae3<_0x2ab89f['length'];_0x137ae3++){const _0x26fc65=_0x2ab89f['charCodeAt'](_0x137ae3);_0x3447e7=(_0x3447e7<<0x5)+_0x3447e7+_0x26fc65,_0x3447e7&=_0x3447e7;}}function _0x29a8d1(_0x1ef9d9){Array['isArray'](_0x1ef9d9)?_0x1ef9d9['forEach'](_0x29a8d1):_0x1ef9d9&&'object'==typeof _0x1ef9d9?Object['entries'](_0x1ef9d9)['sort']()['forEach'](([_0x3681dc,_0x243d1f])=>{_0x431b4a(_0x3681dc),_0x29a8d1(_0x243d1f);}):_0x431b4a(window['String'](_0x1ef9d9));}return _0x29a8d1(_0xdea79a),_0x3447e7>>>0x0;}function _0x195b67(_0x549fac){return _0x549fac['toString'](0x10)['padStart'](0x8,'0');}function _0x550ce8(_0xa43ecf){return _0xa43ecf['split']('')['reverse']()['join']('');}function _0x2b217b(){}_0x824ea6(await _0x1ea0a9());}(this);}['_initSchema'](){const _0x96cb8d=this['editor']['model']['schema'];_0x96cb8d['isRegistered']('imageBlock')&&_0x96cb8d['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x96cb8d['isRegistered']('imageInline')&&_0x96cb8d['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x2d1eed=this['editor'];_0x2d1eed['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x2d1eed['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x3775b7=>_0x3775b7['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xe39db7=_0x2d1eed['commands']['get']('replaceImageSource');_0xe39db7&&this['listenTo'](_0xe39db7,'cleanupImage',(_0x464c41,[_0x361874,_0x189b50])=>{_0x361874['removeAttribute']('uploadcareImageId',_0x189b50);});}['_initConfig'](){const _0x9f1d1c=this['editor']['config']['get']('uploadcare.uploader')||{},_0x3da84a=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x1a6ae6(_0x22955f['document'],'uc-config',{..._0x9f1d1c,'pubkey':_0x3da84a,'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']=_0x3b64ad=>{if('closeMax'==_0x3b64ad)return'#uc-icon-arrow-down';},_0x22955f['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x1a6ae6(_0x22955f['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x22955f['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x29de9b=this['editor']['commands']['get']('insertImage');_0x29de9b&&this['listenTo'](_0x29de9b,'execute',()=>{const _0x595d86=this['editor']['model']['document']['selection']['getSelectedElement']();_0x595d86&&_0x595d86['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{MJ(this['editor'],_0x595d86);});});const _0x50b12f=this['editor']['commands']['get']('uploadcareImageReplace');_0x50b12f&&this['listenTo'](_0x50b12f,'execute',()=>{const _0x1fdc7e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1fdc7e&&_0x1fdc7e['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{MJ(this['editor'],_0x1fdc7e);});});}},G0=qn({'ActivityBlock':()=>Q6,'ActivityHeader':()=>C7,'BaseComponent':()=>I2,'Block':()=>k4,'BtnUi':()=>I8,'CameraSource':()=>O9,'CloudImageEditor':()=>J8,'CloudImageEditorActivity':()=>t9,'CloudImageEditorBlock':()=>Y8,'Config':()=>f8,'Copyright':()=>g7,'CropFrame':()=>x8,'Data':()=>i1,'DropArea':()=>G7,'EditorAspectRatioButtonControl':()=>F8,'EditorCropButtonControl':()=>H8,'EditorFilterControl':()=>Z8,'EditorFreeformButtonControl':()=>B8,'EditorImageCropper':()=>C8,'EditorImageFader':()=>M8,'EditorOperationControl':()=>G8,'EditorScroller':()=>q8,'EditorSlider':()=>j8,'EditorToolbar':()=>W8,'ExternalSource':()=>u9,'ExternalUploadSource':()=>l6,'FileItem':()=>Q7,'FileUploaderInline':()=>ntt,'FileUploaderMinimal':()=>ott,'FileUploaderRegular':()=>stt,'FormInput':()=>p7,'Icon':()=>U6,'Img':()=>q6,'LineLoaderUi':()=>T8,'Modal':()=>m7,'ModalEvents':()=>E5,'PACKAGE_NAME':()=>g4,'PACKAGE_VERSION':()=>O4,'PluginActivityHost':()=>p8,'PluginActivityRenderer':()=>g8,'PresenceToggle':()=>E8,'ProgressBar':()=>O7,'ProgressBarCommon':()=>w7,'Select':()=>b7,'SimpleBtn':()=>m8,'SliderUi':()=>D8,'SolutionBlock':()=>$4,'SourceBtn':()=>y7,'SourceList':()=>v7,'Spinner':()=>_7,'StartFrom':()=>R7,'Thumb':()=>x7,'UID':()=>k2,'UploadCtxProvider':()=>P7,'UploadList':()=>X7,'UploadSource':()=>u6,'UploaderBlock':()=>j6,'UrlSource':()=>e9,'defineComponents':()=>C2,'defineLocale':()=>D2,'loadFileUploaderFrom':()=>P2,'toKebabCase':()=>A5}),X0=Object['defineProperty'],q0=Object['getOwnPropertyDescriptor'],W0=(_0x301c7e,_0x9770f2)=>{for(var t in _0x9770f2)X0(_0x301c7e,t,{'get':_0x9770f2[t],'enumerable':!0x0});},z0=(_0x49677b,_0x16baeb,t,_0x3a3b58)=>{for(var _0x53d8ad,_0x4cf14e=_0x3a3b58>0x1?void 0x0:_0x3a3b58?q0(_0x16baeb,t):_0x16baeb,_0x18784d=_0x49677b['length']-0x1;_0x18784d>=0x0;_0x18784d--)(_0x53d8ad=_0x49677b[_0x18784d])&&(_0x4cf14e=(_0x3a3b58?_0x53d8ad(_0x16baeb,t,_0x4cf14e):_0x53d8ad(_0x4cf14e))||_0x4cf14e);return _0x3a3b58&&_0x4cf14e&&X0(_0x16baeb,t,_0x4cf14e),_0x4cf14e;},Y0=[],K0=0x0;function J0(_0x312c41,_0xf4ad38,t){let _0x58f1a9=new Set(_0xf4ad38)['add'](void 0x0);return _0x312c41['listen']((_0xe67e3d,_0x2bfac8,_0x3aa459)=>{_0x58f1a9['has'](_0x3aa459)&&t(_0xe67e3d,_0x2bfac8,_0x3aa459);});}function t1(_0x50b6f5,_0x24a39e,t){let _0x473371=J0(_0x50b6f5,_0x24a39e,t);return t(_0x50b6f5['value']),_0x473371;}var e1=(_0x1238a4={})=>{let _0xd4271=(_0x17dfe8=>{let _0xbe68be=[],t={'get':()=>(t['lc']||t['listen'](()=>{})(),t['value']),'lc':0x0,'listen':_0x348eaa=>(t['lc']=_0xbe68be['push'](_0x348eaa),()=>{for(let _0x15e76d=K0+0x4;_0x15e76d<Y0['length'];)Y0[_0x15e76d]===_0x348eaa?Y0['splice'](_0x15e76d,0x4):_0x15e76d+=0x4;let _0x1f07d9=_0xbe68be['indexOf'](_0x348eaa);~_0x1f07d9&&(_0xbe68be['splice'](_0x1f07d9,0x1),--t['lc']||t['off']());}),'notify'(_0xb09ca6,_0x27aa7a){let _0x4df360=!Y0['length'];for(let _0xa9312e of _0xbe68be)Y0['push'](_0xa9312e,t['value'],_0xb09ca6,_0x27aa7a);if(_0x4df360){for(K0=0x0;K0<Y0['length'];K0+=0x4)Y0[K0](Y0[K0+0x1],Y0[K0+0x2],Y0[K0+0x3]);Y0['length']=0x0;}},'off'(){},'set'(_0xf88af3){let _0x276f2f=t['value'];_0x276f2f!==_0xf88af3&&(t['value']=_0xf88af3,t['notify'](_0x276f2f));},'subscribe'(_0x18cba5){let _0x3e318f=t['listen'](_0x18cba5);return _0x18cba5(t['value']),_0x3e318f;},'value':_0x17dfe8};return t;})(_0x1238a4);return _0xd4271['setKey']=function(t,_0x4a3deb){let _0x2611f0=_0xd4271['value'];typeof _0x4a3deb>'u'&&t in _0xd4271['value']?(_0xd4271['value']={..._0xd4271['value']},delete _0xd4271['value'][t],_0xd4271['notify'](_0x2611f0,t)):_0xd4271['value'][t]!==_0x4a3deb&&(_0xd4271['value']={..._0xd4271['value'],[t]:_0x4a3deb},_0xd4271['notify'](_0x2611f0,t));},_0xd4271;},i1=class o{static{this['qt']=new Map();}constructor(_0xce6bb5,t){this['J']=_0xce6bb5,this['ae']=t;}get['id'](){return this['J'];}['pub'](_0x56ed5b,t){_0x56ed5b in this['ae']['get']()||console['warn']('PubSub#pub:\x20Key\x20\x22'+String(_0x56ed5b)+'\x22\x20not\x20found'),this['ae']['setKey'](_0x56ed5b,t);}['sub'](_0x5848cf,t,_0x26a7ed=!0x0){return(_0x26a7ed?t1:J0)(this['ae'],[_0x5848cf],_0x13e747=>{t(_0x13e747[_0x5848cf]);});}['read'](_0x1a67e1){return _0x1a67e1 in this['ae']['get']()||console['warn']('PubSub#read:\x20Key\x20\x22'+String(_0x1a67e1)+'\x22\x20not\x20found'),this['ae']['get']()[_0x1a67e1];}['add'](_0x25b245,t,_0x5efec2=!0x1){(!(_0x25b245 in this['ae']['get']())||_0x5efec2)&&this['ae']['setKey'](_0x25b245,t);}['has'](_0x779003){return _0x779003 in this['ae']['get']();}get['store'](){return this['ae']['get']();}static['registerCtx'](_0x531ab1,t){if(o['qt']['has'](t))throw new Error('PubSub:\x20Context\x20with\x20id\x20\x22'+t+'\x22\x20already\x20exists');let _0x27c7c0=e1(_0x531ab1);return o['qt']['set'](t,_0x27c7c0),new o(t,_0x27c7c0);}static['deleteCtx'](_0x122f11){o['qt']['delete'](_0x122f11);}static['getCtx'](_0x345e17){let t=o['qt']['get'](_0x345e17);return t?new o(_0x345e17,t):null;}static['hasCtx'](_0x320c0a){return o['qt']['has'](_0x320c0a);}},s1=globalThis,n1=s1['ShadowRoot']&&(void 0x0===s1['ShadyCSS']||s1['ShadyCSS']['nativeShadow'])&&'adoptedStyleSheets'in Document['prototype']&&'replace'in CSSStyleSheet['prototype'],r1=Symbol(),o1=new WeakMap(),a1=class{constructor(_0x266b8f,t,_0x4b3312){if(this['Cc']=!0x0,_0x4b3312!==r1)throw Error('CSSResult\x20is\x20not\x20constructable.\x20Use\x20`unsafeCSS`\x20or\x20`css`\x20instead.');this['cssText']=_0x266b8f,this['t']=t;}get['styleSheet'](){let _0x199b8c=this['o'],t=this['t'];if(n1&&void 0x0===_0x199b8c){let _0x4c25a3=void 0x0!==t&&0x1===t['length'];_0x4c25a3&&(_0x199b8c=o1['get'](t)),void 0x0===_0x199b8c&&((this['o']=_0x199b8c=new CSSStyleSheet())['replaceSync'](this['cssText']),_0x4c25a3&&o1['set'](t,_0x199b8c));}return _0x199b8c;}['toString'](){return this['cssText'];}},c1=n1?_0x1be591=>_0x1be591:_0x23e53a=>_0x23e53a instanceof CSSStyleSheet?(_0x3f1a5c=>{let t='';for(let _0x3a9a95 of _0x3f1a5c['cssRules'])t+=_0x3a9a95['cssText'];return(_0x42bd0e=>new a1('string'==typeof _0x42bd0e?_0x42bd0e:_0x42bd0e+'',void 0x0,r1))(t);})(_0x23e53a):_0x23e53a,{is:l1,defineProperty:h1,getOwnPropertyDescriptor:u1,getOwnPropertyNames:d1,getOwnPropertySymbols:f1,getPrototypeOf:m1}=Object,p1=globalThis,g1=p1['trustedTypes'],O1=g1?g1['emptyScript']:'',w1=p1['reactiveElementPolyfillSupport'],b1=(_0x5da565,_0x32342e)=>_0x5da565,y1={'toAttribute'(_0x23ea8a,_0x479dc3){switch(_0x479dc3){case Boolean:_0x23ea8a=_0x23ea8a?O1:null;break;case Object:case Array:_0x23ea8a=null==_0x23ea8a?_0x23ea8a:JSON['stringify'](_0x23ea8a);}return _0x23ea8a;},'fromAttribute'(_0x28d56c,_0x25eb63){let t=_0x28d56c;switch(_0x25eb63){case Boolean:t=null!==_0x28d56c;break;case Number:t=null===_0x28d56c?null:Number(_0x28d56c);break;case Object:case Array:try{t=JSON['parse'](_0x28d56c);}catch{t=null;}}return t;}},v1=(_0x52e275,_0x569b3f)=>!l1(_0x52e275,_0x569b3f),_1={'attribute':!0x0,'type':String,'converter':y1,'reflect':!0x1,'useDefault':!0x1,'hasChanged':v1};Symbol['metadata']??=Symbol('metadata'),p1['litPropertyMetadata']??=new WeakMap();var E1=class extends HTMLElement{static['addInitializer'](_0x6aafe0){this['Br'](),(this['l']??=[])['push'](_0x6aafe0);}static get['observedAttributes'](){return this['finalize'](),this['Li']&&[...this['Li']['keys']()];}static['createProperty'](_0x36bb63,t=_1){if(t['state']&&(t['attribute']=!0x1),this['Br'](),this['prototype']['hasOwnProperty'](_0x36bb63)&&((t=Object['create'](t))['wrapped']=!0x0),this['elementProperties']['set'](_0x36bb63,t),!t['noAccessor']){let _0x10a3b3=Symbol(),_0x20bdb7=this['getPropertyDescriptor'](_0x36bb63,_0x10a3b3,t);void 0x0!==_0x20bdb7&&h1(this['prototype'],_0x36bb63,_0x20bdb7);}}static['getPropertyDescriptor'](_0x215d4a,t,_0x138361){let {get:_0x463105,set:_0x2e18f4}=u1(this['prototype'],_0x215d4a)??{'get'(){return this[t];},'set'(_0x2b8821){this[t]=_0x2b8821;}};return{'get':_0x463105,'set'(_0x4dd466){let _0x302392=_0x463105?.['call'](this);_0x2e18f4?.['call'](this,_0x4dd466),this['requestUpdate'](_0x215d4a,_0x302392,_0x138361);},'configurable':!0x0,'enumerable':!0x0};}static['getPropertyOptions'](_0x517234){return this['elementProperties']['get'](_0x517234)??_1;}static['Br'](){if(this['hasOwnProperty'](b1('elementProperties')))return;let _0x39fe99=m1(this);_0x39fe99['finalize'](),void 0x0!==_0x39fe99['l']&&(this['l']=[..._0x39fe99['l']]),this['elementProperties']=new Map(_0x39fe99['elementProperties']);}static['finalize'](){if(this['hasOwnProperty'](b1('finalized')))return;if(this['finalized']=!0x0,this['Br'](),this['hasOwnProperty'](b1('properties'))){let t=this['properties'],_0x3eacbe=[...d1(t),...f1(t)];for(let _0xe1dba8 of _0x3eacbe)this['createProperty'](_0xe1dba8,t[_0xe1dba8]);}let _0x1636c9=this[Symbol['metadata']];if(null!==_0x1636c9){let t=litPropertyMetadata['get'](_0x1636c9);if(void 0x0!==t){for(let [_0x444e9d,_0x1eb077]of t)this['elementProperties']['set'](_0x444e9d,_0x1eb077);}}this['Li']=new Map();for(let [t,_0x4d7404]of this['elementProperties']){let _0x5eeed8=this['zr'](t,_0x4d7404);void 0x0!==_0x5eeed8&&this['Li']['set'](_0x5eeed8,t);}this['elementStyles']=this['finalizeStyles'](this['styles']);}static['finalizeStyles'](_0x2b6fdf){let t=[];if(Array['isArray'](_0x2b6fdf)){let _0x52e6eb=new Set(_0x2b6fdf['flat'](0x1/0x0)['reverse']());for(let _0x3051cf of _0x52e6eb)t['unshift'](c1(_0x3051cf));}else void 0x0!==_0x2b6fdf&&t['push'](c1(_0x2b6fdf));return t;}static['zr'](_0x2a70fb,t){let _0xa6e721=t['attribute'];return!0x1===_0xa6e721?void 0x0:'string'==typeof _0xa6e721?_0xa6e721:'string'==typeof _0x2a70fb?_0x2a70fb['toLowerCase']():void 0x0;}constructor(){super(),this['Ri']=void 0x0,this['isUpdatePending']=!0x1,this['hasUpdated']=!0x1,this['vt']=null,this['Sc']();}['Sc'](){this['Hr']=new Promise(_0x21d276=>this['enableUpdating']=_0x21d276),this['Fe']=new Map(),this['Ac'](),this['requestUpdate'](),this['constructor']['l']?.['forEach'](_0x47d503=>_0x47d503(this));}['addController'](_0x2c0945){(this['Wt']??=new Set())['add'](_0x2c0945),void 0x0!==this['renderRoot']&&this['isConnected']&&_0x2c0945['hostConnected']?.();}['removeController'](_0x3f4843){this['Wt']?.['delete'](_0x3f4843);}['Ac'](){let _0x1145fe=new Map(),t=this['constructor']['elementProperties'];for(let _0x562cb7 of t['keys']())this['hasOwnProperty'](_0x562cb7)&&(_0x1145fe['set'](_0x562cb7,this[_0x562cb7]),delete this[_0x562cb7]);_0x1145fe['size']>0x0&&(this['Ri']=_0x1145fe);}['createRenderRoot'](){let _0x12841d=this['shadowRoot']??this['attachShadow'](this['constructor']['shadowRootOptions']);return((_0x27a45a,_0x2c0bcd)=>{if(n1)_0x27a45a['adoptedStyleSheets']=_0x2c0bcd['map'](t=>t instanceof CSSStyleSheet?t:t['styleSheet']);else for(let t of _0x2c0bcd){let _0x5b7edb=document['createElement']('style'),_0xd01ddb=s1['litNonce'];void 0x0!==_0xd01ddb&&_0x5b7edb['setAttribute']('nonce',_0xd01ddb),_0x5b7edb['textContent']=t['cssText'],_0x27a45a['appendChild'](_0x5b7edb);}})(_0x12841d,this['constructor']['elementStyles']),_0x12841d;}['connectedCallback'](){this['renderRoot']??=this['createRenderRoot'](),this['enableUpdating'](!0x0),this['Wt']?.['forEach'](_0x102435=>_0x102435['hostConnected']?.());}['enableUpdating'](_0x5684d9){}['disconnectedCallback'](){this['Wt']?.['forEach'](_0x19f818=>_0x19f818['hostDisconnected']?.());}['attributeChangedCallback'](_0x454805,t,_0x3c4169){this['Kr'](_0x454805,_0x3c4169);}['kc'](_0x28e3b5,t){let _0x3c7d81=this['constructor']['elementProperties']['get'](_0x28e3b5),_0x5c5b31=this['constructor']['zr'](_0x28e3b5,_0x3c7d81);if(void 0x0!==_0x5c5b31&&!0x0===_0x3c7d81['reflect']){let _0x148c57=(void 0x0!==_0x3c7d81['converter']?.['toAttribute']?_0x3c7d81['converter']:y1)['toAttribute'](t,_0x3c7d81['type']);this['vt']=_0x28e3b5,null==_0x148c57?this['removeAttribute'](_0x5c5b31):this['setAttribute'](_0x5c5b31,_0x148c57),this['vt']=null;}}['Kr'](_0x2912c7,t){let _0x1a7653=this['constructor'],_0x1fd937=_0x1a7653['Li']['get'](_0x2912c7);if(void 0x0!==_0x1fd937&&this['vt']!==_0x1fd937){let _0x42e003=_0x1a7653['getPropertyOptions'](_0x1fd937),_0x552b4a='function'==typeof _0x42e003['converter']?{'fromAttribute':_0x42e003['converter']}:void 0x0!==_0x42e003['converter']?.['fromAttribute']?_0x42e003['converter']:y1;this['vt']=_0x1fd937;let _0x1ecab7=_0x552b4a['fromAttribute'](t,_0x42e003['type']);this[_0x1fd937]=_0x1ecab7??this['jr']?.['get'](_0x1fd937)??_0x1ecab7,this['vt']=null;}}['requestUpdate'](_0x529701,t,_0x57072f,_0x4e4ba2=!0x1,_0xe9c078){if(void 0x0!==_0x529701){let _0x4a5831=this['constructor'];if(!0x1===_0x4e4ba2&&(_0xe9c078=this[_0x529701]),_0x57072f??=_0x4a5831['getPropertyOptions'](_0x529701),!((_0x57072f['hasChanged']??v1)(_0xe9c078,t)||_0x57072f['useDefault']&&_0x57072f['reflect']&&_0xe9c078===this['jr']?.['get'](_0x529701)&&!this['hasAttribute'](_0x4a5831['zr'](_0x529701,_0x57072f))))return;this['C'](_0x529701,t,_0x57072f);}!0x1===this['isUpdatePending']&&(this['Hr']=this['Mc']());}['C'](_0x395842,t,{useDefault:_0x103a2b,reflect:_0x38fb93,wrapped:_0x48d4b0},_0x53cd82){_0x103a2b&&!(this['jr']??=new Map())['has'](_0x395842)&&(this['jr']['set'](_0x395842,_0x53cd82??t??this[_0x395842]),!0x0!==_0x48d4b0||void 0x0!==_0x53cd82)||(this['Fe']['has'](_0x395842)||(this['hasUpdated']||_0x103a2b||(t=void 0x0),this['Fe']['set'](_0x395842,t)),!0x0===_0x38fb93&&this['vt']!==_0x395842&&(this['Gs']??=new Set())['add'](_0x395842));}async['Mc'](){this['isUpdatePending']=!0x0;try{await this['Hr'];}catch(_0x1dd3ac){Promise['reject'](_0x1dd3ac);}let _0x5f0d80=this['scheduleUpdate']();return null!=_0x5f0d80&&await _0x5f0d80,!this['isUpdatePending'];}['scheduleUpdate'](){return this['performUpdate']();}['performUpdate'](){if(!this['isUpdatePending'])return;if(!this['hasUpdated']){if(this['renderRoot']??=this['createRenderRoot'](),this['Ri']){for(let [_0x5d427a,_0x458f30]of this['Ri'])this[_0x5d427a]=_0x458f30;this['Ri']=void 0x0;}let _0x5ad0f7=this['constructor']['elementProperties'];if(_0x5ad0f7['size']>0x0)for(let [_0x684419,_0x25d003]of _0x5ad0f7){let {wrapped:_0x14a434}=_0x25d003,_0x196b86=this[_0x684419];!0x0!==_0x14a434||this['Fe']['has'](_0x684419)||void 0x0===_0x196b86||this['C'](_0x684419,void 0x0,_0x25d003,_0x196b86);}}let _0x1f0a9d=!0x1,t=this['Fe'];try{_0x1f0a9d=this['shouldUpdate'](t),_0x1f0a9d?(this['willUpdate'](t),this['Wt']?.['forEach'](_0x582ed6=>_0x582ed6['hostUpdate']?.()),this['update'](t)):this['Gr']();}catch(_0x3b5110){throw _0x1f0a9d=!0x1,this['Gr'](),_0x3b5110;}_0x1f0a9d&&this['Oc'](t);}['willUpdate'](_0xe82770){}['Oc'](_0x16651f){this['Wt']?.['forEach'](t=>t['hostUpdated']?.()),this['hasUpdated']||(this['hasUpdated']=!0x0,this['firstUpdated'](_0x16651f)),this['updated'](_0x16651f);}['Gr'](){this['Fe']=new Map(),this['isUpdatePending']=!0x1;}get['updateComplete'](){return this['getUpdateComplete']();}['getUpdateComplete'](){return this['Hr'];}['shouldUpdate'](_0x374ff5){return!0x0;}['update'](_0x4f51d1){this['Gs']&&=this['Gs']['forEach'](t=>this['kc'](t,this[t])),this['Gr']();}['updated'](_0x5cbbbe){}['firstUpdated'](_0x2767e9){}};E1['elementStyles']=[],E1['shadowRootOptions']={'mode':'open'},E1[b1('elementProperties')]=new Map(),E1[b1('finalized')]=new Map(),w1?.({'ReactiveElement':E1}),(p1['reactiveElementVersions']??=[])['push']('2.1.2');var T1,A1=globalThis,S1=_0x2f1daa=>_0x2f1daa,I1=A1['trustedTypes'],k1=I1?I1['createPolicy']('lit-html',{'createHTML':_0x20fb6b=>_0x20fb6b}):void 0x0,x1='$lit$',C1='lit$'+Math['random']()['toFixed'](0x9)['slice'](0x2)+'$',R1='?'+C1,P1='<'+R1+'>',M1=document,N1=()=>M1['createComment'](''),L1=_0x2164ea=>null===_0x2164ea||'object'!=typeof _0x2164ea&&'function'!=typeof _0x2164ea,$1=Array['isArray'],D1='[\x20\x0c\x0d]',Q1=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,j1=/-->/g,U1=/>/g,V1=RegExp('>|'+D1+'(?:([^\x5cs\x22\x27>=/]+)('+D1+'*='+D1+'*(?:[^\x20\x0c\x0d\x22\x27`<>=]|(\x22|\x27)|))|$)','g'),B1=/'/g,F1=/"/g,H1=/^(?:script|style|textarea|title)$/i,Z1=(T1=0x1,(_0x2d6284,...t)=>({'Ne':T1,'strings':_0x2d6284,'values':t})),G1=Symbol['for']('lit-noChange'),X1=Symbol['for']('lit-nothing'),q1=new WeakMap(),W1=M1['createTreeWalker'](M1,0x81);function z1(_0x5c88a3,_0x14ae84){if(!$1(_0x5c88a3)||!_0x5c88a3['hasOwnProperty']('raw'))throw Error('invalid\x20template\x20strings\x20array');return void 0x0!==k1?k1['createHTML'](_0x14ae84):_0x14ae84;}var Y1=class o{constructor({strings:_0x4d47b5,Ne:t},_0x282870){let _0x38e11b;this['parts']=[];let _0xba034f=0x0,_0x9959ef=0x0,_0x43e41d=_0x4d47b5['length']-0x1,_0xd2d6c6=this['parts'],[_0x3062d1,_0x3e54c9]=((_0x412f3f,_0x4e7dc6)=>{let _0x2008f0,t=_0x412f3f['length']-0x1,_0x5a6103=[],_0x327512=0x2===_0x4e7dc6?'<svg>':0x3===_0x4e7dc6?'<math>':'',_0x2528f1=Q1;for(let _0x5d04a6=0x0;_0x5d04a6<t;_0x5d04a6++){let _0x4c4141,_0x1d8596,_0x5b829d=_0x412f3f[_0x5d04a6],_0x3f8f46=-0x1,_0x50336c=0x0;for(;_0x50336c<_0x5b829d['length']&&(_0x2528f1['lastIndex']=_0x50336c,_0x1d8596=_0x2528f1['exec'](_0x5b829d),null!==_0x1d8596);)_0x50336c=_0x2528f1['lastIndex'],_0x2528f1===Q1?'!--'===_0x1d8596[0x1]?_0x2528f1=j1:void 0x0!==_0x1d8596[0x1]?_0x2528f1=U1:void 0x0!==_0x1d8596[0x2]?(H1['test'](_0x1d8596[0x2])&&(_0x2008f0=RegExp('</'+_0x1d8596[0x2],'g')),_0x2528f1=V1):void 0x0!==_0x1d8596[0x3]&&(_0x2528f1=V1):_0x2528f1===V1?'>'===_0x1d8596[0x0]?(_0x2528f1=_0x2008f0??Q1,_0x3f8f46=-0x1):void 0x0===_0x1d8596[0x1]?_0x3f8f46=-0x2:(_0x3f8f46=_0x2528f1['lastIndex']-_0x1d8596[0x2]['length'],_0x4c4141=_0x1d8596[0x1],_0x2528f1=void 0x0===_0x1d8596[0x3]?V1:'\x22'===_0x1d8596[0x3]?F1:B1):_0x2528f1===F1||_0x2528f1===B1?_0x2528f1=V1:_0x2528f1===j1||_0x2528f1===U1?_0x2528f1=Q1:(_0x2528f1=V1,_0x2008f0=void 0x0);let _0x20e621=_0x2528f1===V1&&_0x412f3f[_0x5d04a6+0x1]['startsWith']('/>')?'\x20':'';_0x327512+=_0x2528f1===Q1?_0x5b829d+P1:_0x3f8f46>=0x0?(_0x5a6103['push'](_0x4c4141),_0x5b829d['slice'](0x0,_0x3f8f46)+x1+_0x5b829d['slice'](_0x3f8f46)+C1+_0x20e621):_0x5b829d+C1+(-0x2===_0x3f8f46?_0x5d04a6:_0x20e621);}return[z1(_0x412f3f,_0x327512+(_0x412f3f[t]||'<?>')+(0x2===_0x4e7dc6?'</svg>':0x3===_0x4e7dc6?'</math>':'')),_0x5a6103];})(_0x4d47b5,t);if(this['el']=o['createElement'](_0x3062d1,_0x282870),W1['currentNode']=this['el']['content'],0x2===t||0x3===t){let _0x1d5243=this['el']['content']['firstChild'];_0x1d5243['replaceWith'](..._0x1d5243['childNodes']);}for(;null!==(_0x38e11b=W1['nextNode']())&&_0xd2d6c6['length']<_0x43e41d;){if(0x1===_0x38e11b['nodeType']){if(_0x38e11b['hasAttributes']()){for(let _0x53c024 of _0x38e11b['getAttributeNames']())if(_0x53c024['endsWith'](x1)){let _0x19755a=_0x3e54c9[_0x9959ef++],_0x4a263=_0x38e11b['getAttribute'](_0x53c024)['split'](C1),_0x5ef5fc=/([.?@])?(.*)/['exec'](_0x19755a);_0xd2d6c6['push']({'type':0x1,'index':_0xba034f,'name':_0x5ef5fc[0x2],'strings':_0x4a263,'ctor':'.'===_0x5ef5fc[0x1]?i2:'?'===_0x5ef5fc[0x1]?s2:'@'===_0x5ef5fc[0x1]?n2:e2}),_0x38e11b['removeAttribute'](_0x53c024);}else _0x53c024['startsWith'](C1)&&(_0xd2d6c6['push']({'type':0x6,'index':_0xba034f}),_0x38e11b['removeAttribute'](_0x53c024));}if(H1['test'](_0x38e11b['tagName'])){let _0x24e87e=_0x38e11b['textContent']['split'](C1),_0x511f4d=_0x24e87e['length']-0x1;if(_0x511f4d>0x0){_0x38e11b['textContent']=I1?I1['emptyScript']:'';for(let _0x196c17=0x0;_0x196c17<_0x511f4d;_0x196c17++)_0x38e11b['append'](_0x24e87e[_0x196c17],N1()),W1['nextNode'](),_0xd2d6c6['push']({'type':0x2,'index':++_0xba034f});_0x38e11b['append'](_0x24e87e[_0x511f4d],N1());}}}else{if(0x8===_0x38e11b['nodeType']){if(_0x38e11b['data']===R1)_0xd2d6c6['push']({'type':0x2,'index':_0xba034f});else{let _0x1c4c33=-0x1;for(;-0x1!==(_0x1c4c33=_0x38e11b['data']['indexOf'](C1,_0x1c4c33+0x1));)_0xd2d6c6['push']({'type':0x7,'index':_0xba034f}),_0x1c4c33+=C1['length']-0x1;}}}_0xba034f++;}}static['createElement'](_0x537e9f,t){let _0x40010b=M1['createElement']('template');return _0x40010b['innerHTML']=_0x537e9f,_0x40010b;}};function K1(_0x7ca3a5,_0x537350,t=_0x7ca3a5,_0x447b85){if(_0x537350===G1)return _0x537350;let _0x37e9d4=void 0x0!==_0x447b85?t['Ic']?.[_0x447b85]:t['Pc'],_0x4640fa=L1(_0x537350)?void 0x0:_0x537350['qr'];return _0x37e9d4?.['constructor']!==_0x4640fa&&(_0x37e9d4?.['qs']?.(!0x1),void 0x0===_0x4640fa?_0x37e9d4=void 0x0:(_0x37e9d4=new _0x4640fa(_0x7ca3a5),_0x37e9d4['Wr'](_0x7ca3a5,t,_0x447b85)),void 0x0!==_0x447b85?(t['Ic']??=[])[_0x447b85]=_0x37e9d4:t['Pc']=_0x37e9d4),void 0x0!==_0x37e9d4&&(_0x537350=K1(_0x7ca3a5,_0x37e9d4['Lc'](_0x7ca3a5,_0x537350['values']),_0x37e9d4,_0x447b85)),_0x537350;}var J1=class{constructor(_0x10477f,t){this['Ws']=[],this['le']=void 0x0,this['Zs']=_0x10477f,this['f']=t;}get['parentNode'](){return this['f']['parentNode'];}get['W'](){return this['f']['W'];}['u'](_0x5c262c){let {el:{content:t},parts:_0x4630c1}=this['Zs'],_0x321341=(_0x5c262c?.['creationScope']??M1)['importNode'](t,!0x0);W1['currentNode']=_0x321341;let _0x444b9e=W1['nextNode'](),_0x5d573e=0x0,_0x2ccd4f=0x0,_0xeed4b8=_0x4630c1[0x0];for(;void 0x0!==_0xeed4b8;){if(_0x5d573e===_0xeed4b8['index']){let _0x145aa3;0x2===_0xeed4b8['type']?_0x145aa3=new t2(_0x444b9e,_0x444b9e['nextSibling'],this,_0x5c262c):0x1===_0xeed4b8['type']?_0x145aa3=new _0xeed4b8['ctor'](_0x444b9e,_0xeed4b8['name'],_0xeed4b8['strings'],this,_0x5c262c):0x6===_0xeed4b8['type']&&(_0x145aa3=new r2(_0x444b9e,this,_0x5c262c)),this['Ws']['push'](_0x145aa3),_0xeed4b8=_0x4630c1[++_0x2ccd4f];}_0x5d573e!==_0xeed4b8?.['index']&&(_0x444b9e=W1['nextNode'](),_0x5d573e++);}return W1['currentNode']=M1,_0x321341;}['p'](_0x4f888d){let t=0x0;for(let _0x390ad4 of this['Ws'])void 0x0!==_0x390ad4&&(void 0x0!==_0x390ad4['strings']?(_0x390ad4['ce'](_0x4f888d,_0x390ad4,t),t+=_0x390ad4['strings']['length']-0x2):_0x390ad4['ce'](_0x4f888d[t])),t++;}},t2=class o{get['W'](){return this['f']?.['W']??this['Ys'];}constructor(_0x3d5f77,t,_0x4ff64f,_0x1a12a9){this['type']=0x2,this['r']=X1,this['le']=void 0x0,this['ve']=_0x3d5f77,this['yt']=t,this['f']=_0x4ff64f,this['options']=_0x1a12a9,this['Ys']=_0x1a12a9?.['isConnected']??!0x0;}get['parentNode'](){let _0x1b55d8=this['ve']['parentNode'],t=this['f'];return void 0x0!==t&&0xb===_0x1b55d8?.['nodeType']&&(_0x1b55d8=t['parentNode']),_0x1b55d8;}get['startNode'](){return this['ve'];}get['endNode'](){return this['yt'];}['ce'](_0x27e110,t=this){_0x27e110=K1(this,_0x27e110,t),L1(_0x27e110)?_0x27e110===X1||null==_0x27e110||''===_0x27e110?(this['r']!==X1&&this['bt'](),this['r']=X1):_0x27e110!==this['r']&&_0x27e110!==G1&&this['Xs'](_0x27e110):void 0x0!==_0x27e110['Ne']?this['$'](_0x27e110):void 0x0!==_0x27e110['nodeType']?this['T'](_0x27e110):(_0x1d0ddd=>$1(_0x1d0ddd)||'function'==typeof _0x1d0ddd?.[Symbol['iterator']])(_0x27e110)?this['k'](_0x27e110):this['Xs'](_0x27e110);}['O'](_0xcf5ae2){return this['ve']['parentNode']['insertBefore'](_0xcf5ae2,this['yt']);}['T'](_0x1b35d4){this['r']!==_0x1b35d4&&(this['bt'](),this['r']=this['O'](_0x1b35d4));}['Xs'](_0x514ffe){this['r']!==X1&&L1(this['r'])?this['ve']['nextSibling']['data']=_0x514ffe:this['T'](M1['createTextNode'](_0x514ffe)),this['r']=_0x514ffe;}['$'](_0x44df21){let {values:t,Ne:_0x373fc0}=_0x44df21,_0xc2e303='number'==typeof _0x373fc0?this['Rc'](_0x44df21):(void 0x0===_0x373fc0['el']&&(_0x373fc0['el']=Y1['createElement'](z1(_0x373fc0['h'],_0x373fc0['h'][0x0]),this['options'])),_0x373fc0);if(this['r']?.['Zs']===_0xc2e303)this['r']['p'](t);else{let _0x3a4815=new J1(_0xc2e303,this),_0x395db6=_0x3a4815['u'](this['options']);_0x3a4815['p'](t),this['T'](_0x395db6),this['r']=_0x3a4815;}}['Rc'](_0x1bf05a){let t=q1['get'](_0x1bf05a['strings']);return void 0x0===t&&q1['set'](_0x1bf05a['strings'],t=new Y1(_0x1bf05a)),t;}['k'](_0x509c2f){$1(this['r'])||(this['r']=[],this['bt']());let _0x412c37,t=this['r'],_0x5d9f53=0x0;for(let _0x17a82b of _0x509c2f)_0x5d9f53===t['length']?t['push'](_0x412c37=new o(this['O'](N1()),this['O'](N1()),this,this['options'])):_0x412c37=t[_0x5d9f53],_0x412c37['ce'](_0x17a82b),_0x5d9f53++;_0x5d9f53<t['length']&&(this['bt'](_0x412c37&&_0x412c37['yt']['nextSibling'],_0x5d9f53),t['length']=_0x5d9f53);}['bt'](_0x207a37=this['ve']['nextSibling'],t){for(this['Ui']?.(!0x1,!0x0,t);_0x207a37!==this['yt'];){let _0x51a4bd=S1(_0x207a37)['nextSibling'];S1(_0x207a37)['remove'](),_0x207a37=_0x51a4bd;}}['setConnected'](_0x22678d){void 0x0===this['f']&&(this['Ys']=_0x22678d,this['Ui']?.(_0x22678d));}},e2=class{get['tagName'](){return this['element']['tagName'];}get['W'](){return this['f']['W'];}constructor(_0x58f1f1,t,_0x50b95f,_0x3c117a,_0x4c716d){this['type']=0x1,this['r']=X1,this['le']=void 0x0,this['element']=_0x58f1f1,this['name']=t,this['f']=_0x3c117a,this['options']=_0x4c716d,_0x50b95f['length']>0x2||''!==_0x50b95f[0x0]||''!==_0x50b95f[0x1]?(this['r']=Array(_0x50b95f['length']-0x1)['fill'](new String()),this['strings']=_0x50b95f):this['r']=X1;}['ce'](_0x1aa07b,t=this,_0x40bad7,_0x42ad53){let _0x203ad9=this['strings'],_0x24b1be=!0x1;if(void 0x0===_0x203ad9)_0x1aa07b=K1(this,_0x1aa07b,t,0x0),_0x24b1be=!L1(_0x1aa07b)||_0x1aa07b!==this['r']&&_0x1aa07b!==G1,_0x24b1be&&(this['r']=_0x1aa07b);else{let _0x27e0a8,_0x369d83,_0x224df9=_0x1aa07b;for(_0x1aa07b=_0x203ad9[0x0],_0x27e0a8=0x0;_0x27e0a8<_0x203ad9['length']-0x1;_0x27e0a8++)_0x369d83=K1(this,_0x224df9[_0x40bad7+_0x27e0a8],t,_0x27e0a8),_0x369d83===G1&&(_0x369d83=this['r'][_0x27e0a8]),_0x24b1be||=!L1(_0x369d83)||_0x369d83!==this['r'][_0x27e0a8],_0x369d83===X1?_0x1aa07b=X1:_0x1aa07b!==X1&&(_0x1aa07b+=(_0x369d83??'')+_0x203ad9[_0x27e0a8+0x1]),this['r'][_0x27e0a8]=_0x369d83;}_0x24b1be&&!_0x42ad53&&this['j'](_0x1aa07b);}['j'](_0x2316eb){_0x2316eb===X1?this['element']['removeAttribute'](this['name']):this['element']['setAttribute'](this['name'],_0x2316eb??'');}},i2=class extends e2{constructor(){super(...arguments),this['type']=0x3;}['j'](_0x41be3b){this['element'][this['name']]=_0x41be3b===X1?void 0x0:_0x41be3b;}},s2=class extends e2{constructor(){super(...arguments),this['type']=0x4;}['j'](_0x3b8c38){this['element']['toggleAttribute'](this['name'],!!_0x3b8c38&&_0x3b8c38!==X1);}},n2=class extends e2{constructor(_0x23083f,t,_0x95a310,_0x4b7044,_0x2c959e){super(_0x23083f,t,_0x95a310,_0x4b7044,_0x2c959e),this['type']=0x5;}['ce'](_0x265ac9,t=this){if((_0x265ac9=K1(this,_0x265ac9,t,0x0)??X1)===G1)return;let _0x1defa1=this['r'],_0x4addc4=_0x265ac9===X1&&_0x1defa1!==X1||_0x265ac9['capture']!==_0x1defa1['capture']||_0x265ac9['once']!==_0x1defa1['once']||_0x265ac9['passive']!==_0x1defa1['passive'],_0x47e276=_0x265ac9!==X1&&(_0x1defa1===X1||_0x4addc4);_0x4addc4&&this['element']['removeEventListener'](this['name'],this,_0x1defa1),_0x47e276&&this['element']['addEventListener'](this['name'],this,_0x265ac9),this['r']=_0x265ac9;}['handleEvent'](_0x508d8f){'function'==typeof this['r']?this['r']['call'](this['options']?.['host']??this['element'],_0x508d8f):this['r']['handleEvent'](_0x508d8f);}},r2=class{constructor(_0x5145f7,t,_0x474799){this['element']=_0x5145f7,this['type']=0x6,this['le']=void 0x0,this['f']=t,this['options']=_0x474799;}get['W'](){return this['f']['W'];}['ce'](_0x25fbb7){K1(this,_0x25fbb7);}},o2={'I':t2},a2=A1['litHtmlPolyfillSupport'];a2?.(Y1,t2),(A1['litHtmlVersions']??=[])['push']('3.3.2');var c2=globalThis,l2=class extends E1{constructor(){super(...arguments),this['renderOptions']={'host':this},this['Zr']=void 0x0;}['createRenderRoot'](){let _0x153a56=super['createRenderRoot']();return this['renderOptions']['renderBefore']??=_0x153a56['firstChild'],_0x153a56;}['update'](_0x4d027a){let t=this['render']();this['hasUpdated']||(this['renderOptions']['isConnected']=this['isConnected']),super['update'](_0x4d027a),this['Zr']=((_0x38142e,_0x342450,t)=>{let _0x51ccdc=t?.['renderBefore']??_0x342450,_0x5882eb=_0x51ccdc['Uc'];if(void 0x0===_0x5882eb){let _0x6a6b18=t?.['renderBefore']??null;_0x51ccdc['Uc']=_0x5882eb=new t2(_0x342450['insertBefore'](N1(),_0x6a6b18),_0x6a6b18,void 0x0,t??{});}return _0x5882eb['ce'](_0x38142e),_0x5882eb;})(t,this['renderRoot'],this['renderOptions']);}['connectedCallback'](){super['connectedCallback'](),this['Zr']?.['setConnected'](!0x0);}['disconnectedCallback'](){super['disconnectedCallback'](),this['Zr']?.['setConnected'](!0x1);}['render'](){return G1;}};l2['jp']=!0x0,l2['finalized']=!0x0,c2['litElementHydrateSupport']?.({'LitElement':l2});var h2=c2['litElementPolyfillSupport'];h2?.({'LitElement':l2}),(c2['litElementVersions']??=[])['push']('4.2.2');var u2=/\\([0-9a-fA-F]{1,6} ?)/g;function d2(_0x21c808){return class _0x313ccd extends _0x21c808{constructor(){super(...arguments),this['Qs']=null,this['Yr']=null;}['getCssData'](_0x7889b3,_0x18beb1=!0x1){let _0x3607c4=this['Qs']??Object['create'](null);if(!Object['keys'](_0x3607c4)['includes'](_0x7889b3)||!_0x3607c4[_0x7889b3]){this['Yr']||(this['Yr']=window['getComputedStyle'](this));let _0x51d087=this['Yr']['getPropertyValue'](_0x7889b3)['trim']();try{_0x3607c4[_0x7889b3]=function(_0x335f60){let _0x451c77=_0x335f60;(function(_0x1e7f36){return!(_0x1e7f36['length']<0x2||'\x22'!==_0x1e7f36[0x0]&&'\x27'!==_0x1e7f36[0x0]||'\x22'!==_0x1e7f36[_0x1e7f36['length']-0x1]&&'\x27'!==_0x1e7f36[_0x1e7f36['length']-0x1]);}(_0x335f60)&&(_0x451c77=function(_0x18eba4){let _0x110457=_0x18eba4;return('\x22'===_0x110457[0x0]||'\x27'===_0x110457[0x0])&&(_0x110457=_0x110457['slice'](0x1)),('\x22'===_0x110457[_0x110457['length']-0x1]||'\x27'===_0x110457[_0x110457['length']-0x1])&&(_0x110457=_0x110457['slice'](0x0,-0x1)),_0x110457;}(_0x451c77),_0x451c77=_0x451c77['replace'](u2,(t,_0x66f0)=>String['fromCodePoint'](parseInt(_0x66f0['trim'](),0x10))),_0x451c77=_0x451c77['replaceAll']('\x5c\x20','\x5cn'),_0x451c77=function(_0x30e488){let _0x4b357e='',t='';for(let _0x3c45d3=0x0;_0x3c45d3<_0x30e488['length'];_0x3c45d3++){let _0x2f8fbe=_0x30e488[_0x3c45d3+0x1];'\x5c'===_0x30e488[_0x3c45d3]&&'\x22'===_0x2f8fbe?(_0x4b357e+='\x5c\x22',_0x3c45d3++):'\x22'===_0x30e488[_0x3c45d3]&&'\x5c'!==t?_0x4b357e+='\x5c\x22':_0x4b357e+=_0x30e488[_0x3c45d3],t=_0x30e488[_0x3c45d3]??'';}return _0x4b357e;}(_0x451c77),_0x451c77='\x22'+_0x451c77+'\x22'));try{return JSON['parse'](_0x451c77);}catch{return;}}(_0x51d087);}catch(_0x35ee3e){_0x18beb1||console['warn']('CSS\x20Data\x20error:\x20'+_0x7889b3,_0x35ee3e),_0x3607c4[_0x7889b3]=null;}}return this['Qs']=_0x3607c4,_0x3607c4[_0x7889b3];}};}function f2(_0x317acf){return class _0x476bfd extends _0x317acf{constructor(){super(...arguments),this['willYield']=!0x0,this['Ve']={},this['_e']=null,this['$i']=!0x1;}['createRenderRoot'](){return this;}['connectedCallback'](){this['_e']||(this['_e']=Array['from'](this['childNodes'])),super['connectedCallback']();}['$c'](){if(this['$i'])return;this['$i']=!0x0,this['Ve']={};let _0x2d8a36=Array['from'](this['childNodes']),_0x3e0fdd=_0x2d8a36['length']?_0x2d8a36:this['_e']??[];for(let _0x63397a of _0x3e0fdd){let _0x10d46d=this['Js'](_0x63397a),_0x194dbf=this['Ve'][_0x10d46d]??[];_0x63397a instanceof Element&&(_0x63397a['removeAttribute']('slot'),_0x63397a['removeAttribute']('content-for')),_0x194dbf['push'](_0x63397a),this['Ve'][_0x10d46d]=_0x194dbf;}this['_e']=null;}['Js'](_0x15e048){return _0x15e048 instanceof Comment&&_0x15e048['nextSibling']instanceof Element?this['Js'](_0x15e048['nextSibling']):'contentFor'in _0x15e048?_0x15e048['contentFor']||'':_0x15e048 instanceof Element&&_0x15e048['hasAttribute']('content-for')&&_0x15e048['getAttribute']('content-for')||'';}['Dc'](_0x1d3bf0){return!_0x1d3bf0['textContent']||!_0x1d3bf0['textContent']['trim']();}['Fc'](_0x1983df){let _0xd5d94f=this['Ve'][_0x1983df];return!_0xd5d94f||_0xd5d94f['every'](_0x493c38=>_0x493c38 instanceof Comment||_0x493c38 instanceof Text&&this['Dc'](_0x493c38));}['update'](_0x1cd6c3){!this['hasUpdated']&&this['willYield']&&this['$c'](),super['update'](_0x1cd6c3);}['yield'](_0x494a4b,_0x6e578a){if(''===_0x494a4b&&!this['Ve'][_0x494a4b]&&!this['$i']&&this['_e']?.['length']){let _0x3780fe=[];for(let _0x565492 of this['_e'])_0x565492 instanceof Element&&(_0x565492['removeAttribute']('slot'),_0x565492['removeAttribute']('content-for')),_0x3780fe['push'](_0x565492);this['Ve'][_0x494a4b]=_0x3780fe,this['$i']=!0x0,this['_e']=null;}return Z1` ${this['Ve'][_0x494a4b]} ${this['Fc'](_0x494a4b)?_0x6e578a:void 0x0} `;}};}function m2(_0x46ad47){return class _0x2716a5 extends _0x46ad47{static['reg'](_0x1be31b){let _0x2211d1=this,_0x2e9186=window['customElements']['get'](_0x1be31b);_0x2e9186?_0x2e9186!==_0x2211d1&&console['warn'](['Element\x20with\x20tag\x20name\x20\x22'+_0x1be31b+'\x22\x20already\x20registered.','You\x27re\x20trying\x20to\x20override\x20it\x20with\x20another\x20class\x20\x22'+this['name']+'\x22.','This\x20is\x20most\x20likely\x20a\x20mistake.','New\x20element\x20will\x20not\x20be\x20registered.']['join']('\x20')):window['customElements']['define'](_0x1be31b,_0x2211d1);}};}var p2=class extends Event{constructor(_0xa16e27,t,_0x1999f1,_0x135386){super('context-request',{'bubbles':!0x0,'composed':!0x0}),this['context']=_0xa16e27,this['contextTarget']=t,this['callback']=_0x1999f1,this['subscribe']=_0x135386??!0x1;}},g2=class{constructor(_0x7deeb2,t,_0x345769,_0x4a600a){if(this['subscribe']=!0x1,this['provided']=!0x1,this['value']=void 0x0,this['t']=(_0x78c3d3,_0x51588c)=>{this['unsubscribe']&&(this['unsubscribe']!==_0x51588c&&(this['provided']=!0x1,this['unsubscribe']()),this['subscribe']||this['unsubscribe']()),this['value']=_0x78c3d3,this['host']['requestUpdate'](),this['provided']&&!this['subscribe']||(this['provided']=!0x0,this['callback']&&this['callback'](_0x78c3d3,_0x51588c)),this['unsubscribe']=_0x51588c;},this['host']=_0x7deeb2,void 0x0!==t['context']){let _0xb6b61b=t;this['context']=_0xb6b61b['context'],this['callback']=_0xb6b61b['callback'],this['subscribe']=_0xb6b61b['subscribe']??!0x1;}else this['context']=t,this['callback']=_0x345769,this['subscribe']=_0x4a600a??!0x1;this['host']['addController'](this);}['hostConnected'](){this['dispatchRequest']();}['hostDisconnected'](){this['unsubscribe']&&(this['unsubscribe'](),this['unsubscribe']=void 0x0);}['dispatchRequest'](){this['host']['dispatchEvent'](new p2(this['context'],this['host'],this['t'],this['subscribe']));}},O2=class{get['value'](){return this['o'];}set['value'](_0x8c4b59){this['setValue'](_0x8c4b59);}['setValue'](_0x2c4bb3,t=!0x1){let _0xe5c710=t||!Object['is'](_0x2c4bb3,this['o']);this['o']=_0x2c4bb3,_0xe5c710&&this['updateObservers']();}constructor(_0xfd87ca){this['subscriptions']=new Map(),this['updateObservers']=()=>{for(let [t,{disposer:_0x41c81e}]of this['subscriptions'])t(this['o'],_0x41c81e);},void 0x0!==_0xfd87ca&&(this['value']=_0xfd87ca);}['addCallback'](_0x5cc0db,t,_0x529126){if(!_0x529126)return void _0x5cc0db(this['value']);this['subscriptions']['has'](_0x5cc0db)||this['subscriptions']['set'](_0x5cc0db,{'disposer':()=>{this['subscriptions']['delete'](_0x5cc0db);},'consumerHost':t});let {disposer:_0xb891e5}=this['subscriptions']['get'](_0x5cc0db);_0x5cc0db(this['value'],_0xb891e5);}['clearCallbacks'](){this['subscriptions']['clear']();}},w2=class extends Event{constructor(_0x48eb29,t){super('context-provider',{'bubbles':!0x0,'composed':!0x0}),this['context']=_0x48eb29,this['contextTarget']=t;}},b2=class extends O2{constructor(_0x39e1a0,t,_0xccd926){super(void 0x0!==t['context']?t['initialValue']:_0xccd926),this['onContextRequest']=_0x302d93=>{if(_0x302d93['context']!==this['context'])return;let _0x1f3fc6=_0x302d93['contextTarget']??_0x302d93['composedPath']()[0x0];_0x1f3fc6!==this['host']&&(_0x302d93['stopPropagation'](),this['addCallback'](_0x302d93['callback'],_0x1f3fc6,_0x302d93['subscribe']));},this['onProviderRequest']=_0x3e0f50=>{if(_0x3e0f50['context']!==this['context']||(_0x3e0f50['contextTarget']??_0x3e0f50['composedPath']()[0x0])===this['host'])return;let _0x3be779=new Set();for(let [_0x47ecf2,{consumerHost:_0x2b677b}]of this['subscriptions'])_0x3be779['has'](_0x47ecf2)||(_0x3be779['add'](_0x47ecf2),_0x2b677b['dispatchEvent'](new p2(this['context'],_0x2b677b,_0x47ecf2,!0x0)));_0x3e0f50['stopPropagation']();},this['host']=_0x39e1a0,void 0x0!==t['context']?this['context']=t['context']:this['context']=t,this['attachListeners'](),this['host']['addController']?.(this);}['attachListeners'](){this['host']['addEventListener']('context-request',this['onContextRequest']),this['host']['addEventListener']('context-provider',this['onProviderRequest']);}['hostConnected'](){this['host']['dispatchEvent'](new w2(this['context'],this['host']));}},y2={'attribute':!0x0,'type':String,'converter':y1,'reflect':!0x1,'hasChanged':v1},v2=(_0xa28056=y2,_0xad184e,t)=>{let {kind:_0xce4bb3,metadata:_0x4b2507}=t,_0x3f36d9=globalThis['litPropertyMetadata']['get'](_0x4b2507);if(void 0x0===_0x3f36d9&&globalThis['litPropertyMetadata']['set'](_0x4b2507,_0x3f36d9=new Map()),'setter'===_0xce4bb3&&((_0xa28056=Object['create'](_0xa28056))['wrapped']=!0x0),_0x3f36d9['set'](t['name'],_0xa28056),'accessor'===_0xce4bb3){let {name:_0x2709e2}=t;return{'set'(_0x399a45){let _0x4d6795=_0xad184e['get']['call'](this);_0xad184e['set']['call'](this,_0x399a45),this['requestUpdate'](_0x2709e2,_0x4d6795,_0xa28056,!0x0,_0x399a45);},'init'(_0x545709){return void 0x0!==_0x545709&&this['C'](_0x2709e2,void 0x0,_0xa28056,_0x545709),_0x545709;}};}if('setter'===_0xce4bb3){let {name:_0x4f580d}=t;return function(_0x183bf0){let _0x2bce9b=this[_0x4f580d];_0xad184e['call'](this,_0x183bf0),this['requestUpdate'](_0x4f580d,_0x2bce9b,_0xa28056,!0x0,_0x183bf0);};}throw Error('Unsupported\x20decorator\x20location:\x20'+_0xce4bb3);};function _2(_0x2459f3){return(_0x108e80,t)=>'object'==typeof t?v2(_0x2459f3,_0x108e80,t):((_0x432e5b,_0x18b7eb,_0x249b86)=>{let _0x3517fb=_0x18b7eb['hasOwnProperty'](_0x249b86);return _0x18b7eb['constructor']['createProperty'](_0x249b86,_0x432e5b),_0x3517fb?Object['getOwnPropertyDescriptor'](_0x18b7eb,_0x249b86):void 0x0;})(_0x2459f3,_0x108e80,t);}function E2(_0x5e332d){return _2({..._0x5e332d,'state':!0x0,'attribute':!0x1});}function T2(_0x4d8ca6,_0x1f7daf){let t,_0x4d97d4=(..._0x29ee13)=>{t&&clearTimeout(t),t=setTimeout(()=>_0x4d8ca6(..._0x29ee13),_0x1f7daf);};return _0x4d97d4['cancel']=()=>{t&&clearTimeout(t);},_0x4d97d4;}var A2='ctx-name-context';function S2(){return function(_0x193234){class _0x45b841 extends _0x193234{constructor(..._0x12349d){super(..._0x12349d),this['ee']=null,this['Zt']=!0x1,this['Xr']=!0x1,this['Qr']=void 0x0,this['wt']=new Map(),this['Yt']=new Set(),this['init$']={},this['ctxOwner']=!0x1,this['Di']=void 0x0,this['Fi']=!0x1,this['ctxName']=this['Ae'],this['ke']=!0x1,this['Di']=this['getAttribute']('ctx-name')||void 0x0,this['ctxName']=this['Ae'],this['Nc']=new g2(this,{'context':A2,'callback':_0x52c114=>{_0x52c114?(this['rn']=_0x52c114,this['tn']()):console['error']('SymbioteMixin:\x20Received\x20invalid\x20ctx-name\x20from\x20context');},'subscribe':!0x0});}static set['template'](_0x470dbb){console['error']('Caution:\x20static\x20\x27template\x27\x20property\x20is\x20deprecated\x20and\x20has\x20no\x20effect.\x20See\x20https://github.com/uploadcare/file-uploader/releases/tag/v1.25.0\x20for\x20details.');}get['en'](){return this['Di'];}set['en'](_0x3cedbd){let _0x292b8a=_0x3cedbd??void 0x0;this['Di']!==_0x292b8a&&(this['Di']=_0x292b8a,this['tn']());}['shouldUpdate'](_0x32ef4b){return!!this['ke']&&super['shouldUpdate'](_0x32ef4b);}get['Ae'](){return this['en']||this['rn']||void 0x0;}['tn'](){if(this['ctxName']=this['Ae'],this['ctxName']&&!this['Zt']){if(this['isConnected'])return void this['Jr']();this['Fi']=!0x0;}}['willUpdate'](_0x3bb695){super['willUpdate'](_0x3bb695),this['ctxName']=this['Ae'],this['ctxName']&&(this['Qr']?this['Qr']['setValue'](this['ctxName']):this['Qr']=new b2(this,{'context':A2,'initialValue':this['ctxName']}));}['sn'](){if(this['ee']&&0x0!==this['wt']['size']){for(let [_0x44200a,{value:_0x1dc0dc,rewrite:_0x52d470}]of this['wt'])this['ee']['add'](_0x44200a,_0x1dc0dc,_0x52d470);this['wt']['clear']();}}['nn'](){return!this['ee']&&this['Ae']&&this['eo'](),this['ee']&&this['sn'](),this['ee'];}['Ni'](){let _0x467704=this['nn']();if(!_0x467704)throw new Error('SymbioteMixin:\x20Shared\x20context\x20is\x20not\x20initialized.');return _0x467704;}['eo'](){let _0x56fcff=this['init$'],_0x21b443=this['Ae'];if(_0x21b443){if(!this['ee']){this['ee']=i1['getCtx'](_0x21b443)??i1['registerCtx'](_0x56fcff,_0x21b443);for(let [_0x46d3fb,_0x4bd09b]of Object['entries'](this['init$']))this['ee']['add'](_0x46d3fb,_0x4bd09b,this['ctxOwner']);this['sn']();}}else console['error']('SymbioteMixin:\x20ctx-name\x20is\x20required\x20for\x20components\x20with\x20shared\x20properties\x20(*)');}get['$'](){return this['Ae']&&this['eo'](),new Proxy({},{'get':(_0x3b1494,_0xfcc98c)=>{if('string'==typeof _0xfcc98c)return this['ee']?.['read'](_0xfcc98c);},'set':(_0x29bdc6,_0x343efe,_0x45c42f)=>('string'!=typeof _0x343efe||this['ee']?.['pub'](_0x343efe,_0x45c42f),!0x0)});}['sub'](_0x1e2c11,_0x43178e,_0x13e529=!0x0){let _0x2bf70d=this['Ni']()['sub'](_0x1e2c11,_0x43178e,_0x13e529);if(!_0x2bf70d||'function'!=typeof _0x2bf70d)return()=>{};let _0x4a238b=_0x2bf70d['bind'](_0x2bf70d),_0x2e5d1c=!0x1,_0x49c0ec=()=>{_0x2e5d1c||(_0x2e5d1c=!0x0,_0x4a238b(),this['Yt']['delete'](_0x49c0ec));};return this['Yt']['add'](_0x49c0ec),_0x49c0ec;}['pub'](_0xdfbb35,_0x3464bd){this['Ni']()['pub'](_0xdfbb35,_0x3464bd);}['set$'](_0x582d0d){for(let [_0x2d09d8,_0x4777a6]of Object['entries'](_0x582d0d))this['pub'](_0x2d09d8,_0x4777a6);}get['sharedCtx'](){return this['Ni']();}['has'](_0x22ae0b){return this['ee']?.['has'](_0x22ae0b)??!0x1;}['add'](_0x4c0f1d,_0x21b2ba,_0x1ffe0f=!0x1){let _0x9f1a1a=this['nn']();if(_0x9f1a1a)this['wt']['delete'](_0x4c0f1d),_0x9f1a1a['add'](_0x4c0f1d,_0x21b2ba,_0x1ffe0f);else{if(!_0x1ffe0f&&this['wt']['has'](_0x4c0f1d))return;this['wt']['set'](_0x4c0f1d,{'value':_0x21b2ba,'rewrite':_0x1ffe0f});}}['add$'](_0x4ca19a,_0x3def1b=!0x1){for(let [_0x493807,_0x1827dc]of Object['entries'](_0x4ca19a))this['add'](_0x493807,_0x1827dc,_0x3def1b);}['connectedCallback'](){super['connectedCallback'](),this['Zt']?this['ke']&&this['Xr']&&(this['Xr']=!0x1,this['initCallback']()):(this['ctxName']||this['Fi']&&this['Ae'])&&(this['Fi']=!0x1,this['Jr']());}['Jr'](){if(this['Zt'])return;this['Zt']=!0x0,this['eo']();let _0x40f858=this['init$'];if(Object['keys'](_0x40f858)['length']>0x0){let _0x4d4f98=this['Ni']();for(let [_0x1e945c,_0x51c721]of Object['entries'](_0x40f858))void 0x0===_0x4d4f98['read'](_0x1e945c)&&_0x4d4f98['pub'](_0x1e945c,_0x51c721),this['sub'](_0x1e945c,T2(async()=>{this['isConnected']&&(await this['updateComplete'],this['requestUpdate']());},0x0),!0x1);}this['initCallback'](),this['ke']=!0x0,this['requestUpdate']();}['firstUpdated'](_0x3a041b){super['firstUpdated'](_0x3a041b);}['disconnectedCallback'](){this['Vc'](),super['disconnectedCallback'](),this['Zt']&&(this['Xr']=!0x0);}['Vc'](){if(0x0!==this['Yt']['size']){for(let _0x37fa6c of[...this['Yt']])_0x37fa6c();this['Yt']['clear']();}}['initCallback'](){}}return z0([_2({'type':String,'attribute':'ctx-name','noAccessor':!0x0})],_0x45b841['prototype'],'en',0x1),z0([E2()],_0x45b841['prototype'],'rn',0x2),z0([E2()],_0x45b841['prototype'],'ctxName',0x2),z0([E2()],_0x45b841['prototype'],'ke',0x2),_0x45b841;};}var I2=class extends m2(S2()(d2(f2(l2)))){},k2=class o{static['generateFastUid'](){return'uid-'+Date['now']()['toString'](0x24)+'-'+Math['random']()['toString'](0x24)['slice'](0x2,0xb);}static['generateRandomUUID'](){let _0x183361=globalThis['crypto'];return _0x183361&&'function'==typeof _0x183361['randomUUID']?_0x183361['randomUUID']():o['generateFastUid']();}},x2=['UploaderBlock','ActivityBlock','Block','SolutionBlock'];function C2(_0x456a98){for(let _0x2acf36 in _0x456a98){if(x2['includes'](_0x2acf36))continue;let t=[..._0x2acf36]['reduce']((_0x40c028,_0x4c4601)=>(_0x4c4601['toUpperCase']()===_0x4c4601&&(_0x4c4601='-'+_0x4c4601['toLowerCase']()),_0x40c028+=_0x4c4601),'');t['startsWith']('-')&&(t=t['replace']('-','')),t['startsWith']('uc-')||(t='uc-'+t),_0x456a98[_0x2acf36]['reg']&&_0x456a98[_0x2acf36]['reg'](t);}}var R2='UC';function P2(_0x396a9a,_0xa3992a=!0x1){return new Promise((t,_0x10864c)=>{if('object'!=typeof document)return void t(null);if('object'==typeof window&&window[R2])return void t(window[R2]);let _0x2a548f=document['createElement']('script');_0x2a548f['async']=!0x0,_0x2a548f['src']=_0x396a9a,_0x2a548f['onerror']=()=>{_0x10864c();},_0x2a548f['onload']=()=>{let _0xf9160c=window[R2];_0xa3992a&&C2(_0xf9160c),t(_0xf9160c);},document['head']['appendChild'](_0x2a548f);});}var M2={'locale-id':'en','social-source-lang':'en','upload-file':'Upload\x20file','upload-files':'Upload\x20files','choose-file':'Choose\x20file','choose-files':'Choose\x20files','drop-files-here':'Drop\x20files\x20here','drop-file-here':'Drop\x20file\x20here','select-file-source':'Select\x20file\x20source','selected':'Selected','upload':'Upload','add-more':'Add\x20more','cancel':'Cancel','start-from-cancel':'Cancel','clear':'Clear','camera-shot':'Shot','upload-url':'Import','upload-url-placeholder':'Paste\x20link\x20here','edit-image':'Edit\x20image','edit-detail':'Details','back':'Back','done':'Done','ok':'Ok','remove-from-list':'Remove','no':'No','yes':'Yes','confirm-your-action':'Confirm\x20your\x20action','are-you-sure':'Are\x20you\x20sure?','selected-count':'{{count}}\x20of\x20{{total}}\x20selected','select-all':'Select\x20all','deselect-all':'Deselect\x20all','upload-error':'Upload\x20error','validation-error':'Validation\x20error','no-files':'No\x20files\x20selected','browse':'Browse','not-uploaded-yet':'Not\x20uploaded\x20yet...','file__one':'file','file__other':'files','error__one':'error','error__other':'errors','header-uploading':'Uploading\x20{{count}}\x20{{plural:file(count)}}','header-failed':'{{count}}\x20{{plural:error(count)}}','header-succeed':'{{count}}\x20{{plural:file(count)}}\x20uploaded','header-total':'{{count}}\x20{{plural:file(count)}}\x20selected','src-type-local':'From\x20device','src-type-from-url':'From\x20link','src-type-camera':'Camera','src-type-mobile-video-camera':'Video','src-type-mobile-photo-camera':'Photo','src-type-facebook':'Facebook','src-type-dropbox':'Dropbox','src-type-gdrive':'Google\x20Drive','src-type-ngdrive':'Google\x20Drive','src-type-gphotos':'Google\x20Photos','src-type-flickr':'Flickr','src-type-vk':'VK','src-type-evernote':'Evernote','src-type-box':'Box','src-type-onedrive':'OneDrive','src-type-huddle':'Huddle','src-type-other':'Other','caption-from-url':'Import\x20from\x20link','caption-camera':'Camera','caption-edit-file':'Edit\x20file','file-no-name':'No\x20name...','toggle-fullscreen':'Toggle\x20fullscreen','toggle-guides':'Toggle\x20guides','rotate':'Rotate','flip-vertical':'Flip\x20vertical','flip-horizontal':'Flip\x20horizontal','apply':'Apply','brightness':'Brightness','contrast':'Contrast','saturation':'Saturation','exposure':'Exposure','gamma':'Gamma','vibrance':'Vibrance','warmth':'Warmth','enhance':'Enhance','original':'Original','resize':'Resize\x20image','crop':'Crop','select-color':'Select\x20color','text':'Text','draw':'Draw','cancel-edit':'Cancel\x20edit','tab-view':'Preview','tab-details':'Details','file-name':'Name','file-size':'Size','cdn-url':'CDN\x20URL','file-size-unknown':'Unknown','camera-permissions-denied':'Camera\x20access\x20denied','camera-permissions-prompt':'Please\x20allow\x20access\x20to\x20the\x20camera','camera-permissions-request':'Request\x20access','files-count-limit-error-title':'Files\x20count\x20limit\x20overflow','files-count-limit-error-too-few':'You’ve\x20chosen\x20{{total}}\x20{{plural:file(total)}}.\x20At\x20least\x20{{min}}\x20{{plural:file(min)}}\x20required.','files-count-limit-error-too-many':'You’ve\x20chosen\x20too\x20many\x20files.\x20{{max}}\x20{{plural:file(max)}}\x20is\x20maximum.','files-max-size-limit-error':'File\x20is\x20too\x20big.\x20Max\x20file\x20size\x20is\x20{{maxFileSize}}.','has-validation-errors':'File\x20validation\x20error\x20occurred.\x20Please,\x20check\x20your\x20files\x20before\x20upload.','images-only-accepted':'Only\x20image\x20files\x20are\x20accepted.','file-type-not-allowed':'Uploading\x20of\x20these\x20file\x20types\x20is\x20not\x20allowed.','some-files-were-not-uploaded':'Some\x20files\x20were\x20not\x20uploaded.','file-item-edit-button':'Edit','file-item-remove-button':'Remove','a11y-editor-tab-filters':'Filters','a11y-editor-tab-tuning':'Tuning','a11y-editor-tab-crop':'Crop','a11y-activity-header-button-close':'Close','flip':'Flip','mirror':'Mirror','a11y-cloud-editor-apply-filter':'Apply\x20{{name}}\x20filter','a11y-cloud-editor-apply-crop':'Apply\x20{{name}}\x20operation','a11y-cloud-editor-apply-tuning':'Apply\x20{{name}}\x20tuning','a11y-cloud-editor-apply-aspect-ratio':'Apply\x20operation\x20{{name}}\x20{{value}}','finished':'Finished','failed':'Failed','uploading':'Uploading','idle':'Idle','a11y-file-item-status':'File\x20{{fileName}}\x20in\x20status\x20{{status}}','waiting-for':'Waiting\x20for\x20{{source}}','queued-uploading':'Queued\x20for\x20upload','queued-validation':'Queued\x20for\x20validation','validation':'Validating','crop-to-shape':'Crop\x20to\x20{{value}}','custom':'Freeform','freeform-crop':'Freeform\x20crop'},N2=new Map(),L2=new Map(),$2=(_0x53367f,_0x3ea254)=>{N2['has'](_0x53367f)&&console['log']('Locale\x20'+_0x53367f+'\x20is\x20already\x20defined.\x20Overwriting...');let t={...M2,..._0x3ea254};return N2['set'](_0x53367f,t),t;},D2=(_0x84717,_0x4f72c7)=>{'function'==typeof _0x4f72c7?((_0x3ca7e6,_0x446b90)=>{L2['set'](_0x3ca7e6,_0x446b90);})(_0x84717,_0x4f72c7):$2(_0x84717,_0x4f72c7);};D2('en',M2);var Q2=_0x381ce0=>'*cfg/'+_0x381ce0,j2=_0x530d10=>_0x530d10?_0x530d10['split'](',')['map'](_0x26f4a1=>_0x26f4a1['trim']())['filter'](Boolean):[],U2=_0x1fd037=>_0x1fd037['join'](','),V2=_0x308d3a=>{if('string'!=typeof _0x308d3a||!_0x308d3a)return'';let _0x4f9b78=_0x308d3a['trim']();return _0x4f9b78['startsWith']('-/')?_0x4f9b78=_0x4f9b78['slice'](0x2):_0x4f9b78['startsWith']('/')&&(_0x4f9b78=_0x4f9b78['slice'](0x1)),_0x4f9b78['endsWith']('/')&&(_0x4f9b78=_0x4f9b78['slice'](0x0,_0x4f9b78['length']-0x1)),_0x4f9b78;},B2=(..._0x3cc89a)=>_0x3cc89a['filter'](_0x494fac=>'string'==typeof _0x494fac&&!!_0x494fac)['map'](_0x1cbb9a=>V2(_0x1cbb9a))['join']('/-/'),F2=(..._0x29fb54)=>{let _0x4eb03e=B2(..._0x29fb54);return _0x4eb03e?'-/'+_0x4eb03e+'/':'';};function H2(_0xf34e7d){let _0x13037e=new URL(_0xf34e7d),t=_0x13037e['pathname']+_0x13037e['search']+_0x13037e['hash'],_0x58cb88=t['lastIndexOf']('http'),_0x28c29a=t['lastIndexOf']('/'),_0xe55d6a='';return _0x58cb88>=0x0?_0xe55d6a=t['slice'](_0x58cb88):_0x28c29a>=0x0&&(_0xe55d6a=t['slice'](_0x28c29a+0x1)),_0xe55d6a;}function Z2(_0x28ba42){let {pathname:t}=new URL(_0x28ba42),_0x140ff4=t['indexOf']('/'),_0x2af580=t['indexOf']('/',_0x140ff4+0x1);return t['substring'](_0x140ff4+0x1,_0x2af580);}function G2(_0x508ab4){let _0x28c81c=q2(_0x508ab4),t=new URL(_0x28c81c),_0x26ce8a=t['pathname']['indexOf']('/-/');return-0x1===_0x26ce8a?'':t['pathname']['substring'](_0x26ce8a)['slice'](0x1);}function X2(_0x213d49){return G2(_0x213d49)['split']('/-/')['filter'](Boolean)['map'](t=>V2(t));}function q2(_0x209c3f){let _0xb5cb58=new URL(_0x209c3f),t=H2(_0x209c3f),_0x569ef0=W2(t)?z2(t)['pathname']:t;return _0xb5cb58['pathname']=_0xb5cb58['pathname']['replace'](_0x569ef0,''),_0xb5cb58['search']='',_0xb5cb58['hash']='',_0xb5cb58['toString']();}function W2(_0x1fed54){return _0x1fed54['startsWith']('http');}function z2(_0x3b233f){let _0x2206ce=new URL(_0x3b233f);return{'pathname':''+_0x2206ce['origin']+(_0x2206ce['pathname']??''),'search':_0x2206ce['search']??'','hash':_0x2206ce['hash']??''};}var Y2=(_0x183002,_0x1cb278,t)=>{let _0x493bf9=new URL(q2(_0x183002)),_0x321f17=t??H2(_0x183002),_0x5cd437=_0x1cb278??'';if(_0x493bf9['pathname']['startsWith']('//')&&(_0x493bf9['pathname']=_0x493bf9['pathname']['replace']('//','/')),_0x321f17&&W2(_0x321f17)){let _0x2d7e97=z2(_0x321f17);_0x493bf9['pathname']=''+_0x493bf9['pathname']+_0x5cd437+(_0x2d7e97['pathname']||''),_0x493bf9['search']=_0x2d7e97['search'],_0x493bf9['hash']=_0x2d7e97['hash'];}else _0x493bf9['pathname']=''+_0x493bf9['pathname']+_0x5cd437+(_0x321f17||'');return _0x493bf9['toString']();},K2=(_0x11537f,_0x10fa1f)=>{let t=new URL(_0x11537f);return t['pathname']=_0x10fa1f+'/',t['toString']();},J2=(_0x296d6e,_0x4a33d1=',')=>_0x296d6e['trim']()['split'](_0x4a33d1)['map'](t=>t['trim']())['filter'](t=>t['length']>0x0),t5=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}),e5=['enhance','brightness','exposure','gamma','contrast','saturation','vibrance','warmth','filter','mirror','flip','rotate','crop'];function i5(_0x3c82d0){return B2(...e5['filter'](_0x9e816=>typeof _0x3c82d0[_0x9e816]<'u'&&null!==_0x3c82d0[_0x9e816])['map'](_0x48d8ce=>function(_0x3b5437,_0x65b2cc){if('number'==typeof _0x65b2cc){let t=_0x65b2cc;return t5[_0x3b5437]!==t?_0x3b5437+'/'+t:'';}if('boolean'==typeof _0x65b2cc){let t=_0x65b2cc;return t5[_0x3b5437]!==t?''+_0x3b5437:'';}if('filter'===_0x3b5437&&_0x65b2cc){let {name:t,amount:_0x383d1f}=_0x65b2cc;return t5['filter']===_0x383d1f?'':_0x3b5437+'/'+t+'/'+_0x383d1f;}if('crop'===_0x3b5437&&_0x65b2cc){let {dimensions:t,coords:_0x465440}=_0x65b2cc;return _0x3b5437+'/'+t['join']('x')+'/'+_0x465440['join'](',');}return'';}(_0x48d8ce,_0x3c82d0[_0x48d8ce]))['filter'](_0x2b96e9=>!!_0x2b96e9));}var s5=B2('format/auto','progressive/yes'),n5=([_0x205e85])=>typeof _0x205e85<'u'?Number(_0x205e85):void 0x0,r5=()=>!0x0,o5=Object['freeze']({'enhance':n5,'brightness':n5,'exposure':n5,'gamma':n5,'contrast':n5,'saturation':n5,'vibrance':n5,'warmth':n5,'filter':([_0x39fc1b,_0x49ba35])=>({'name':_0x39fc1b,'amount':typeof _0x49ba35<'u'?Number(_0x49ba35):0x64}),'mirror':r5,'flip':r5,'rotate':n5,'crop':_0x1852b5=>{let [_0x5cf50a,t]=_0x1852b5,{dimensions:_0x2ee0f3,coords:_0x511890}=(([_0x5e9c3a,_0x27c28d])=>{if(!/\d+x\d+/['test'](_0x5e9c3a)||!/\d+,\d+/['test'](_0x27c28d))throw new Error('Crop\x20by\x20aspect\x20ratio,\x20percentage\x20or\x20alignment\x20shortcuts\x20is\x20not\x20supported.');return{'dimensions':J2(_0x5e9c3a,'x')['map'](Number),'coords':J2(_0x27c28d)['map'](Number)};})([_0x5cf50a,t]);return{'dimensions':_0x2ee0f3,'coords':_0x511890};}});function a5(_0x154e70){let _0x1d9de4={};for(let t of _0x154e70){let [_0x2b2c8e,..._0x97d68]=t['split']('/');if(!_0x2b2c8e||!e5['includes'](_0x2b2c8e))continue;let _0x50424c=_0x2b2c8e,_0x33d5ac=o5[_0x50424c];try{_0x1d9de4[_0x50424c]=_0x33d5ac(_0x97d68);}catch(_0x1fd107){console['warn'](['Failed\x20to\x20parse\x20URL\x20operation\x20\x22'+t+'\x22.\x20It\x20will\x20be\x20ignored.',_0x1fd107 instanceof Error?'Error\x20message:\x20\x22'+_0x1fd107['message']+'\x22':_0x1fd107,'If\x20you\x20need\x20this\x20functionality,\x20please\x20feel\x20free\x20to\x20open\x20an\x20issue\x20at\x20https://github.com/uploadcare/blocks/issues/new']['join']('\x20'));}}return _0x1d9de4;}var c5=Object['freeze']({'CROP':'crop','TUNING':'tuning','FILTERS':'filters'}),l5=Object['freeze']([c5['CROP'],c5['TUNING'],c5['FILTERS']]),h5=Object['freeze'](['brightness','exposure','gamma','contrast','saturation','vibrance','warmth','enhance']),u5=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']),d5=Object['freeze'](['rotate','mirror','flip']),f5=t5,m5=Object['freeze']({'brightness':{'zero':f5['brightness'],'range':[-0x64,0x64],'keypointsNumber':0x2},'exposure':{'zero':f5['exposure'],'range':[-0x1f4,0x1f4],'keypointsNumber':0x2},'gamma':{'zero':f5['gamma'],'range':[0x0,0x3e8],'keypointsNumber':0x2},'contrast':{'zero':f5['contrast'],'range':[-0x64,0x1f4],'keypointsNumber':0x2},'saturation':{'zero':f5['saturation'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'vibrance':{'zero':f5['vibrance'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'warmth':{'zero':f5['warmth'],'range':[-0x64,0x64],'keypointsNumber':0x1},'enhance':{'zero':f5['enhance'],'range':[0x0,0x64],'keypointsNumber':0x1},'filter':{'zero':f5['filter'],'range':[0x0,0x64],'keypointsNumber':0x1}}),p5='https://ucarecdn.com',g5={'pubkey':'','multiple':!0x0,'multipleMin':0x0,'multipleMax':Number['MAX_SAFE_INTEGER'],'confirmUpload':!0x1,'imgOnly':!0x1,'accept':'','externalSourcesPreferredTypes':'','externalSourcesEmbedCss':'','store':'auto','cameraMirror':!0x1,'cameraCapture':'','sourceList':'local,\x20url,\x20camera,\x20dropbox,\x20gdrive','topLevelOrigin':'','maxLocalFileSizeBytes':0x0,'thumbSize':0x4c,'showEmptyList':!0x1,'useLocalImageEditor':!0x1,'removeCopyright':!0x1,'cropPreset':'','imageShrink':'','modalScrollLock':!0x0,'modalBackdropStrokes':!0x1,'sourceListWrap':!0x0,'remoteTabSessionKey':'','cdnCname':p5,'cdnCnamePrefixed':'https://ucarecd.net','baseUrl':'https://upload.uploadcare.com','socialBaseUrl':'https://social.uploadcare.com','secureSignature':'','secureExpire':'','secureDeliveryProxy':'','retryThrottledRequestMaxTimes':0x3,'retryNetworkErrorMaxTimes':0x3,'multipartMinFileSize':0x1900000,'multipartChunkSize':0x500000,'maxConcurrentRequests':0xa,'multipartMaxConcurrentRequests':0x4,'multipartMaxAttempts':0x3,'checkForUrlDuplicates':!0x1,'saveUrlForRecurrentUploads':!0x1,'groupOutput':!0x1,'userAgentIntegration':'','debug':!0x1,'metadata':null,'localeName':'en','localeDefinitionOverride':null,'secureUploadsExpireThreshold':0x927c0,'secureUploadsSignatureResolver':null,'secureDeliveryProxyUrlResolver':null,'iconHrefResolver':null,'fileValidators':[],'collectionValidators':[],'validationTimeout':0x3a98,'validationConcurrency':0x64,'cameraModes':'photo,\x20video','defaultCameraMode':null,'enableAudioRecording':!0x0,'enableVideoRecording':null,'maxVideoRecordingDuration':null,'mediaRecorderOptions':null,'filesViewMode':'list','gridShowFileNames':!0x1,'useCloudImageEditor':!0x0,'cloudImageEditorAutoOpen':!0x1,'cloudImageEditorTabs':U2(l5),'cloudImageEditorMaskHref':null,'testMode':!0x1,'qualityInsights':!0x0,'pasteScope':'local','plugins':[]},O5=Object['freeze'](g5),w5=(_0x40eb29,_0x59e0b5)=>(...t)=>{let _0xec8047=_0x40eb29();if(!_0xec8047['read'](Q2('debug')))return;let _0x4ca99c=t;'function'==typeof t?.[0x0]&&(_0x4ca99c=(0x0,t[0x0])());let _0x2f1edc=[_0xec8047['id'],_0x59e0b5]['filter'](Boolean);console['log']('['+_0x2f1edc['join']('][')+']',..._0x4ca99c);},b5=class{constructor(_0x571fd){this['to']=new Set(),this['Be']=null,this['w']=w5(()=>this['i']['ctx'],this['constructor']['name']),this['i']=_0x571fd,this['e']=_0x571fd['ctx'];}['addSub'](_0x10d43a){this['to']['add'](_0x10d43a);}get['ze'](){if(!this['Be']){let _0x3cf7d6={};this['Be']=new Proxy(_0x3cf7d6,{'set':()=>{throw new Error('SharedInstance\x20cfg\x20proxy\x20is\x20read-only');},'get':(t,_0x1d2235)=>{if('string'!=typeof _0x1d2235)return;let _0x41b45b=Q2(_0x1d2235);return this['i']['ctx']['has'](_0x41b45b)?this['i']['ctx']['read'](_0x41b45b):O5[_0x1d2235];}});}return this['Be'];}['destroy'](){for(let _0x33fc35 of this['to'])try{_0x33fc35();}catch{}this['to']['clear']();}},y5={'modalManager':'*modalManager','pluginManager':'*pluginManager','telemetryManager':'*telemetryManager','localeManager':'*localeManager','a11y':'*a11y','clipboard':'*clipboard','blocksRegistry':'*blocksRegistry','eventEmitter':'*eventEmitter','uploadCollection':'*uploadCollection','secureUploadsManager':'*secureUploadsManager','api':'*publicApi','validationManager':'*validationManager'},v5=(_0x34ce3d,_0x153a92,t=!0x0)=>{let _0x5b138d=_0x34ce3d['has'](_0x153a92),_0xa7d220=_0x5b138d?_0x34ce3d['read'](_0x153a92):null;if(_0x5b138d&&_0xa7d220||!t)return _0xa7d220;throw new Error('Unexpected\x20error:\x20shared\x20instance\x20for\x20key\x20\x22'+String(_0x153a92)+'\x22\x20is\x20not\x20available');},_5=_0x29ac50=>({get 'ctx'(){return _0x29ac50();},get 'modalManager'(){return v5(_0x29ac50(),'*modalManager',!0x1);},get 'pluginManager'(){return v5(_0x29ac50(),'*pluginManager');},get 'telemetryManager'(){return v5(_0x29ac50(),'*telemetryManager');},get 'localeManager'(){return v5(_0x29ac50(),'*localeManager');},get 'a11y'(){return v5(_0x29ac50(),'*a11y');},get 'blocksRegistry'(){return v5(_0x29ac50(),'*blocksRegistry');},get 'eventEmitter'(){return v5(_0x29ac50(),'*eventEmitter');},get 'uploadCollection'(){return v5(_0x29ac50(),'*uploadCollection');},get 'secureUploadsManager'(){return v5(_0x29ac50(),'*secureUploadsManager',!0x1);},get 'api'(){return v5(_0x29ac50(),'*publicApi');},get 'validationManager'(){return v5(_0x29ac50(),'*validationManager');},'when'(_0x1596ad,t){let _0x51d722,_0x5c6204=y5[_0x1596ad],_0xf60590=_0x29ac50(),_0x42bf36=_0xf60590['has'](_0x5c6204)?_0xf60590['read'](_0x5c6204):void 0x0;return _0x42bf36?(t(_0x42bf36),()=>{}):(_0x51d722=_0xf60590['sub'](_0x5c6204,_0x555f2c=>{_0x555f2c&&(t(_0x555f2c),_0x51d722?.());}),_0x51d722);},'wait'(_0x14715a){return new Promise(t=>{let _0x3c8a87;_0x3c8a87=this['when'](_0x14715a,_0x50788e=>{t(_0x50788e),_0x3c8a87?.();});});}}),E5=Object['freeze']({'ADD':'modal:add','DELETE':'modal:delete','OPEN':'modal:open','CLOSE':'modal:close','CLOSE_ALL':'modal:closeAll','DESTROY':'modal:destroy'}),T5=class extends b5{constructor(){super(...arguments),this['He']=new Map(),this['ue']=new Set(),this['c']=new Map();}['registerModal'](t,_0x2d309c){this['He']['set'](t,_0x2d309c),this['q'](E5['ADD'],{'id':t,'modal':_0x2d309c});}['deleteModal'](t){let _0x19b45f=this['He']['get'](t);return!!_0x19b45f&&(this['He']['delete'](t),this['ue']['delete'](t),this['q'](E5['DELETE'],{'id':t,'modal':_0x19b45f}),!0x0);}['open'](t){let _0x3c12f8=this['He']['get'](t);return _0x3c12f8?(this['ue']['add'](t),this['q'](E5['OPEN'],{'modal':_0x3c12f8,'id':t}),!0x0):(this['w']('Modal\x20with\x20ID\x20\x22'+t+'\x22\x20not\x20found'),!0x1);}['close'](t){let _0x190dfa=this['He']['get'](t);return _0x190dfa&&this['ue']['has'](t)?(this['ue']['delete'](t),this['q'](E5['CLOSE'],{'id':t,'modal':_0x190dfa}),!0x0):(this['w']('Modal\x20with\x20ID\x20\x22'+t+'\x22\x20not\x20found\x20or\x20not\x20active'),!0x1);}['toggle'](t){return this['He']['has'](t)?this['ue']['has'](t)?this['close'](t):this['open'](t):(this['w']('Modal\x20with\x20ID\x20\x22'+t+'\x22\x20not\x20found'),!0x1);}get['hasActiveModals'](){return this['ue']['size']>0x0;}['back'](){if(0x0===this['ue']['size'])return this['w']('No\x20active\x20modals\x20to\x20go\x20back\x20from'),!0x1;let t=Array['from'](this['ue'])['pop']();return!!t&&this['close'](t);}['closeAll'](){let t=this['ue']['size'];return this['ue']['clear'](),this['q'](E5['CLOSE_ALL'],{}),t;}['subscribe'](t,_0x289f17){return this['c']['has'](t)||this['c']['set'](t,new Set()),this['c']['get'](t)?.['add'](_0x289f17),()=>this['unsubscribe'](t,_0x289f17);}['unsubscribe'](t,_0x3a85a1){this['c']['has'](t)&&this['c']['get'](t)?.['delete'](_0x3a85a1);}['q'](t,_0x43e513){if(this['c']['has'](t)){for(let _0x37d53c of this['c']['get'](t)??new Set())try{_0x37d53c(_0x43e513);}catch(_0x5644f0){this['i']['telemetryManager']['sendEventError'](_0x5644f0,'modal\x20subscriber'),this['w']('Error\x20in\x20modal\x20subscriber:',_0x5644f0);}}}['destroy'](){super['destroy'](),this['closeAll'](),this['He']['clear'](),this['c']['clear'](),this['q'](E5['DESTROY'],{});}},A5=_0x3a5b07=>_0x3a5b07['match'](/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g)?.['map'](_0x4a3557=>_0x4a3557['toLowerCase']())['join']('-');function S5(_0x1faccd){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x1faccd);}var I5=/\W|_/g;function k5(_0x4ec69b){return _0x4ec69b['split'](I5)['map']((_0x5f27e1,t)=>_0x5f27e1['charAt'](0x0)[t>0x0?'toUpperCase':'toLowerCase']()+_0x5f27e1['slice'](0x1))['join']('');}function x5(_0x122792,{ignoreKeys:_0x8b3d6b}={'ignoreKeys':[]}){return Array['isArray'](_0x122792)?_0x122792['map'](t=>C5(t,{'ignoreKeys':_0x8b3d6b})):_0x122792;}function C5(_0x29ed09,{ignoreKeys:_0x174974}={'ignoreKeys':[]}){if(Array['isArray'](_0x29ed09))return x5(_0x29ed09,{'ignoreKeys':_0x174974});if(!S5(_0x29ed09))return _0x29ed09;let t={};for(let _0x3d6acc of Object['keys'](_0x29ed09)){let _0x1503f0=_0x29ed09[_0x3d6acc];_0x174974['includes'](_0x3d6acc)?t[_0x3d6acc]=_0x1503f0:(S5(_0x1503f0)?_0x1503f0=C5(_0x1503f0,{'ignoreKeys':_0x174974}):Array['isArray'](_0x1503f0)&&(_0x1503f0=x5(_0x1503f0,{'ignoreKeys':_0x174974})),t[k5(_0x3d6acc)]=_0x1503f0);}return t;}function R5({libraryName:_0x17c6b5,libraryVersion:_0xce7372,userAgent:t,publicKey:_0x5c877a='',integration:_0x36c478=''}){let _0x3defad='JavaScript';return'string'==typeof t?t:'function'==typeof t?t({'publicKey':_0x5c877a,'libraryName':_0x17c6b5,'libraryVersion':_0xce7372,'languageName':_0x3defad,'integration':_0x36c478}):[_0x17c6b5,_0xce7372,_0x5c877a]['filter'](Boolean)['join']('/')+'\x20('+[_0x3defad,_0x36c478]['filter'](Boolean)['join'](';\x20')+')';}var P5={'factor':0x2,'time':0x64};function M5(_0x3646f9,_0x2655c2=P5){let t=0x0;return function _0x1e5dd4(_0xe672e2){let _0x476243=Math['round'](_0x2655c2['time']*_0x2655c2['factor']**t);return _0xe672e2({'attempt':t,'retry':_0x38fc4a=>(_0x31dc14=>new Promise(_0x22d481=>setTimeout(_0x22d481,_0x31dc14)))(_0x38fc4a??_0x476243)['then'](()=>(t+=0x1,_0x1e5dd4(_0xe672e2)))});}(_0x3646f9);}var N5=class extends Error{},L5=class o extends N5{['originalProgressEvent'];constructor(_0x279dfc){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,o['prototype']),this['originalProgressEvent']=_0x279dfc;}},$5=(_0x33cac9,_0x259f33)=>{_0x33cac9&&(_0x33cac9['aborted']?Promise['resolve']()['then'](_0x259f33):_0x33cac9['addEventListener']('abort',()=>_0x259f33(),{'once':!0x0}));},D5=class o extends N5{['isCancel']=!0x0;constructor(_0x2f4ee3='Request\x20canceled'){super(_0x2f4ee3),this['name']='CancelError',Object['setPrototypeOf'](this,o['prototype']);}},Q5=({check:_0x352a7a,interval:_0x2bea50=0x1f4,timeout:t,signal:_0x383a26})=>new Promise((_0x1790d6,_0x2804f8)=>{let _0x46b48a,_0x15980b;$5(_0x383a26,()=>{_0x46b48a&&clearTimeout(_0x46b48a),_0x2804f8(new D5('Poll\x20cancelled'));}),t&&(_0x15980b=setTimeout(()=>{_0x46b48a&&clearTimeout(_0x46b48a),_0x2804f8(new D5('Timed\x20out'));},t));let _0x2eb3e7=()=>{try{Promise['resolve'](_0x352a7a(_0x383a26))['then'](_0xbb4a94=>{_0xbb4a94?(_0x15980b&&clearTimeout(_0x15980b),_0x1790d6(_0xbb4a94)):_0x46b48a=setTimeout(_0x2eb3e7,_0x2bea50);})['catch'](_0x401049=>{_0x15980b&&clearTimeout(_0x15980b),_0x2804f8(_0x401049);});}catch(_0x201a22){_0x15980b&&clearTimeout(_0x15980b),_0x2804f8(_0x201a22);}};_0x46b48a=setTimeout(_0x2eb3e7,0x0);}),j5='https://ucarecdn.com',U5='https://upload.uploadcare.com',V5=0x1,B5=0x3,F5=0x1900000,H5=0x500000,Z5=0x4,G5='79ae88bd931ea68464d9',X5='application/octet-stream',q5=({method:_0x594eba,url:_0x76c512,data:t,headers:_0x120fc6={},signal:_0x2c02a6,onProgress:_0x4bb4b2})=>new Promise((_0x59695b,_0x466692)=>{let _0xe9af8d=new XMLHttpRequest(),_0x55d94e=_0x594eba?.['toUpperCase']()||'GET',_0x5d9fff=!0x1;_0xe9af8d['open'](_0x55d94e,_0x76c512,!0x0),_0x120fc6&&Object['entries'](_0x120fc6)['forEach'](_0x59e135=>{let [_0x303cf3,_0x39e227]=_0x59e135;typeof _0x39e227<'u'&&!Array['isArray'](_0x39e227)&&_0xe9af8d['setRequestHeader'](_0x303cf3,_0x39e227);}),_0xe9af8d['responseType']='text',$5(_0x2c02a6,()=>{_0x5d9fff=!0x0,_0xe9af8d['abort'](),_0x466692(new D5());}),_0xe9af8d['onload']=()=>{if(0xc8!=_0xe9af8d['status'])_0x466692(new Error('Error\x20'+_0xe9af8d['status']+':\x20'+_0xe9af8d['statusText']));else{let _0x4191f9={'method':_0x55d94e,'url':_0x76c512,'data':t,'headers':_0x120fc6||void 0x0,'signal':_0x2c02a6,'onProgress':_0x4bb4b2},_0x10e0d4=_0xe9af8d['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0x257616={};_0x10e0d4['forEach'](function(_0x2ae9b1){let _0x23a19e=_0x2ae9b1['split'](':\x20'),_0x5bdf47=_0x23a19e['shift'](),_0x2eb6f1=_0x23a19e['join'](':\x20');_0x5bdf47&&typeof _0x5bdf47<'u'&&(_0x257616[_0x5bdf47]=_0x2eb6f1);});let _0x5a2276=_0xe9af8d['response'],_0x3e6732=_0xe9af8d['status'];_0x59695b({'request':_0x4191f9,'data':_0x5a2276,'headers':_0x257616,'status':_0x3e6732});}},_0xe9af8d['onerror']=_0x111b10=>{_0x5d9fff||_0x466692(new L5(_0x111b10));},_0x4bb4b2&&'function'==typeof _0x4bb4b2&&(_0xe9af8d['upload']['onprogress']=_0xeca061=>{_0xeca061['lengthComputable']?_0x4bb4b2({'isComputable':!0x0,'value':_0xeca061['loaded']/_0xeca061['total']}):_0x4bb4b2({'isComputable':!0x1});}),t?_0xe9af8d['send'](t):_0xe9af8d['send']();}),W5=function(_0x55edf2,..._0x48efe8){return _0x55edf2;},z5=_0x2eeeb3=>typeof Blob<'u'&&_0x2eeeb3 instanceof Blob,Y5=_0x10119a=>typeof File<'u'&&_0x10119a instanceof File,K5=_0x4b3b03=>!!_0x4b3b03&&'object'==typeof _0x4b3b03&&!Array['isArray'](_0x4b3b03)&&'uri'in _0x4b3b03&&'string'==typeof _0x4b3b03['uri'],J5=_0x3c8479=>z5(_0x3c8479)||Y5(_0x3c8479)||K5(_0x3c8479);function t3(_0x3a4a1a,_0x29b556,t){if(Array['isArray'](t)){for(let _0x5e63db of t)t3(_0x3a4a1a,_0x29b556+'[]',_0x5e63db);}else{if((_0xa48d11=>!!_0xa48d11&&'object'==typeof _0xa48d11&&'data'in _0xa48d11&&J5(_0xa48d11['data']))(t)){let {name:_0x4b6c5e,contentType:_0x3f7759}=t,_0x28d8de=W5(t['data'],_0x4b6c5e,_0x3f7759??X5),_0xeddc4e=(({name:_0xf3b3b8})=>_0xf3b3b8?[_0xf3b3b8]:[])({'name':_0x4b6c5e});_0x3a4a1a['push']([_0x29b556,_0x28d8de,..._0xeddc4e]);}else{if((_0x3a7196=>!!_0x3a7196&&'object'==typeof _0x3a7196&&!Array['isArray'](_0x3a7196))(t)){for(let [_0x17ab65,_0x362c7a]of Object['entries'](t))typeof _0x362c7a<'u'&&_0x3a4a1a['push']([_0x29b556+'['+_0x17ab65+']',String(_0x362c7a)]);}else(_0x31ca47=>'string'==typeof _0x31ca47||'number'==typeof _0x31ca47||typeof _0x31ca47>'u')(t)&&t&&_0x3a4a1a['push']([_0x29b556,t['toString']()]);}}}function e3(_0x192109){let _0x4af356=new FormData(),t=function(_0x15359f){let _0x46e926=[];for(let [t,_0x46875e]of Object['entries'](_0x15359f))t3(_0x46e926,t,_0x46875e);return _0x46e926;}(_0x192109);for(let _0x3ddbe9 of t){let [_0x5cbf3b,_0x127287,..._0x3fc460]=_0x3ddbe9;_0x4af356['append'](_0x5cbf3b,_0x127287,..._0x3fc460);}return _0x4af356;}var i3=class o extends N5{['code'];['request'];['response'];['headers'];constructor(_0x4e149c,t,_0x27e64c,_0x409173,_0x1831c7){super(),this['name']='UploadError',this['message']=_0x4e149c,this['code']=t,this['request']=_0x27e64c,this['response']=_0x409173,this['headers']=_0x1831c7,Object['setPrototypeOf'](this,o['prototype']);}},s3=(_0x3b4b64,_0x164341,t)=>{let _0x170924=new URL(_0x3b4b64);return _0x170924['pathname']=(_0x170924['pathname']+_0x164341)['replace']('//','/'),t&&(_0x170924['search']=(_0x5174ed=>{let _0x58dc28=new URLSearchParams();for(let [t,_0x269f3a]of Object['entries'](_0x5174ed))_0x269f3a&&'object'==typeof _0x269f3a&&!Array['isArray'](_0x269f3a)?Object['entries'](_0x269f3a)['filter'](_0x1c9514=>_0x1c9514[0x1]??!0x1)['forEach'](_0x2cecc5=>_0x58dc28['set'](t+'['+_0x2cecc5[0x0]+']',String(_0x2cecc5[0x1]))):Array['isArray'](_0x269f3a)?_0x269f3a['forEach'](_0x27048a=>{_0x58dc28['append'](t+'[]',_0x27048a);}):'string'==typeof _0x269f3a&&_0x269f3a?_0x58dc28['set'](t,_0x269f3a):'number'==typeof _0x269f3a&&_0x58dc28['set'](t,_0x269f3a['toString']());return _0x58dc28['toString']();})(t)),_0x170924['toString']();};function n3(_0x39e522){return R5({'libraryName':'UploadcareUploadClient','libraryVersion':'6.18.4',..._0x39e522});}function r3(_0x52b500,_0x287a55){let {retryThrottledRequestMaxTimes:t,retryNetworkErrorMaxTimes:_0x144830}=_0x287a55;return M5(({attempt:_0x2ab072,retry:_0x57d7ad})=>_0x52b500()['catch'](_0x159665=>{if('response'in _0x159665&&'RequestThrottledError'===_0x159665?.['code']&&_0x2ab072<t)return _0x57d7ad(function(_0x292bdd){let {headers:_0x473eb3}=_0x292bdd||{};if(!_0x473eb3||'string'!=typeof _0x473eb3['retry-after'])return 0x3a98;let t=parseInt(_0x473eb3['retry-after'],0xa);return Number['isFinite'](t)?0x3e8*t:0x3a98;}(_0x159665));if(_0x159665 instanceof L5&&_0x2ab072<_0x144830)return _0x57d7ad(0x3e8*(_0x2ab072+0x1));throw _0x159665;}));}var o3,a3,c3=_0x547ff8=>{let _0x558c43='';return(z5(_0x547ff8)||Y5(_0x547ff8)||K5(_0x547ff8))&&(_0x558c43=_0x547ff8['type']),_0x558c43||X5;},l3=_0x1dcdd4=>{let _0x319515='';return Y5(_0x1dcdd4)&&_0x1dcdd4['name']?_0x319515=_0x1dcdd4['name']:z5(_0x1dcdd4)?_0x319515='':K5(_0x1dcdd4)&&_0x1dcdd4['name']&&(_0x319515=_0x1dcdd4['name']),_0x319515||'original';};function h3(_0x2a7f14){return typeof _0x2a7f14>'u'||'auto'===_0x2a7f14?'auto':_0x2a7f14?'1':'0';}!function(_0x3e4c4c){_0x3e4c4c['Token']='token',_0x3e4c4c['FileInfo']='file_info';}(o3||(o3={})),function(_0x427494){_0x427494['Unknown']='unknown',_0x427494['Waiting']='waiting',_0x427494['Progress']='progress',_0x427494['Error']='error',_0x427494['Success']='success';}(a3||(a3={}));function u3(_0x3e86f4,{publicKey:_0x5984c9,baseURL:t=U5,signal:_0x15ea76,integration:_0x1abbb0,userAgent:_0x5d9c25,retryThrottledRequestMaxTimes:_0x50cad0=V5,retryNetworkErrorMaxTimes:_0x3ca212=B5}={}){return r3(()=>q5({'method':'GET','headers':_0x5984c9?{'X-UC-User-Agent':n3({'publicKey':_0x5984c9,'integration':_0x1abbb0,'userAgent':_0x5d9c25})}:void 0x0,'url':s3(t,'/from_url/status/',{'jsonerrors':0x1,'token':_0x3e86f4}),'signal':_0x15ea76})['then'](({data:_0x49ecc9,headers:_0x2e4fd1,request:_0x668a06})=>{let _0x14712e=C5(JSON['parse'](_0x49ecc9));if('error'in _0x14712e&&!(_0x1845c9=>'status'in _0x1845c9&&_0x1845c9['status']===a3['Error'])(_0x14712e))throw new i3(_0x14712e['error']['content'],_0x14712e['error']['errorCode'],_0x668a06,_0x14712e,_0x2e4fd1);return _0x14712e;}),{'retryNetworkErrorMaxTimes':_0x3ca212,'retryThrottledRequestMaxTimes':_0x50cad0});}function d3(_0x43b849,{publicKey:_0x135212,baseURL:t=U5,signal:_0x2e0396,source:_0x34a5c8,integration:_0x231942,userAgent:_0x266b2c,retryThrottledRequestMaxTimes:_0x53aeae=V5,retryNetworkErrorMaxTimes:_0x4491b0=B5}){return r3(()=>q5({'method':'GET','headers':{'X-UC-User-Agent':n3({'publicKey':_0x135212,'integration':_0x231942,'userAgent':_0x266b2c})},'url':s3(t,'/info/',{'jsonerrors':0x1,'pub_key':_0x135212,'file_id':_0x43b849,'source':_0x34a5c8}),'signal':_0x2e0396})['then'](({data:_0x55b113,headers:_0x549653,request:_0x26f6a9})=>{let _0x28ca4f=C5(JSON['parse'](_0x55b113));if('error'in _0x28ca4f)throw new i3(_0x28ca4f['error']['content'],_0x28ca4f['error']['errorCode'],_0x26f6a9,_0x28ca4f,_0x549653);return _0x28ca4f;}),{'retryThrottledRequestMaxTimes':_0x53aeae,'retryNetworkErrorMaxTimes':_0x4491b0});}function f3(_0x1dfdeb,{publicKey:_0x3b5a68,baseURL:t,source:_0x550d69,integration:_0x18afce,userAgent:_0x19689d,retryThrottledRequestMaxTimes:_0x3d1fe9,retryNetworkErrorMaxTimes:_0x53e6ac,signal:_0x1f0713,onProgress:_0x5aa4fe}){return Q5({'check':_0x16e555=>d3(_0x1dfdeb,{'publicKey':_0x3b5a68,'baseURL':t,'signal':_0x16e555,'source':_0x550d69,'integration':_0x18afce,'userAgent':_0x19689d,'retryThrottledRequestMaxTimes':_0x3d1fe9,'retryNetworkErrorMaxTimes':_0x53e6ac})['then'](_0x103e4d=>_0x103e4d['isReady']?_0x103e4d:(_0x5aa4fe&&_0x5aa4fe({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0x1f0713});}var m3=class{['uuid'];['name'];['size'];['isStored'];['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];['contentInfo'];['metadata'];['s3Bucket'];['defaultEffects']=null;constructor(_0x8d8a5f,{baseCDN:t=j5,fileName:_0x278ff5}={}){let {uuid:_0x3ac9a9,s3Bucket:_0x57ec68}=_0x8d8a5f,_0x56b024=s3(t,_0x3ac9a9+'/'),_0x1d0e34=_0x57ec68?s3('https://'+_0x57ec68+'.s3.amazonaws.com/',_0x3ac9a9+'/'+_0x8d8a5f['filename']):null;this['uuid']=_0x3ac9a9,this['name']=_0x278ff5||_0x8d8a5f['filename'],this['size']=_0x8d8a5f['size'],this['isStored']=_0x8d8a5f['isStored'],this['isImage']=_0x8d8a5f['isImage'],this['mimeType']=_0x8d8a5f['mimeType'],this['cdnUrl']=_0x56b024,this['originalFilename']=_0x8d8a5f['originalFilename'],this['imageInfo']=_0x8d8a5f['imageInfo'],this['videoInfo']=_0x8d8a5f['videoInfo'],this['contentInfo']=_0x8d8a5f['contentInfo'],this['metadata']=_0x8d8a5f['metadata']||null,this['s3Bucket']=_0x57ec68||null,this['s3Url']=_0x1d0e34,function(_0x4f868b){return'defaultEffects'in _0x4f868b;}(_0x8d8a5f)&&(this['defaultEffects']=_0x8d8a5f['defaultEffects']);}},p3=(_0x109c86,{publicKey:_0x4cbbc0,fileName:t,baseURL:_0x3e9a73,secureSignature:_0x5a4de1,secureExpire:_0x2ad9ad,store:_0x3456ec,contentType:_0x21536d,signal:_0x4fd295,onProgress:_0x2e8ce8,source:_0xd5294d,integration:_0x5ca2ca,userAgent:_0xf16f14,retryThrottledRequestMaxTimes:_0x287381,retryNetworkErrorMaxTimes:_0x228148,baseCDN:_0x5be1d0,metadata:_0x44a90e})=>function(_0x193398,{publicKey:_0x1bf590,fileName:t,contentType:_0x527502,baseURL:_0x427d99=U5,secureSignature:_0x3c33a4,secureExpire:_0xe0b796,store:_0x2d5b5a,signal:_0x1021e1,onProgress:_0x79487b,source:_0x5d7f24='local',integration:_0x52e5f4,userAgent:_0x38b802,retryThrottledRequestMaxTimes:_0x82571f=V5,retryNetworkErrorMaxTimes:_0x17cfca=B5,metadata:_0x23011a}){return r3(()=>q5({'method':'POST','url':s3(_0x427d99,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':n3({'publicKey':_0x1bf590,'integration':_0x52e5f4,'userAgent':_0x38b802})},'data':e3({'file':{'data':_0x193398,'name':t||l3(_0x193398),'contentType':_0x527502||c3(_0x193398)},'UPLOADCARE_PUB_KEY':_0x1bf590,'UPLOADCARE_STORE':h3(_0x2d5b5a),'signature':_0x3c33a4,'expire':_0xe0b796,'source':_0x5d7f24,'metadata':_0x23011a}),'signal':_0x1021e1,'onProgress':_0x79487b})['then'](({data:_0x873f91,headers:_0x369e18,request:_0x42afd6})=>{let _0x1d8b3c=C5(JSON['parse'](_0x873f91));if('error'in _0x1d8b3c)throw new i3(_0x1d8b3c['error']['content'],_0x1d8b3c['error']['errorCode'],_0x42afd6,_0x1d8b3c,_0x369e18);return _0x1d8b3c;}),{'retryNetworkErrorMaxTimes':_0x17cfca,'retryThrottledRequestMaxTimes':_0x82571f});}(_0x109c86,{'publicKey':_0x4cbbc0,'fileName':t,'contentType':_0x21536d,'baseURL':_0x3e9a73,'secureSignature':_0x5a4de1,'secureExpire':_0x2ad9ad,'store':_0x3456ec,'signal':_0x4fd295,'onProgress':_0x2e8ce8,'source':_0xd5294d,'integration':_0x5ca2ca,'userAgent':_0xf16f14,'retryThrottledRequestMaxTimes':_0x287381,'retryNetworkErrorMaxTimes':_0x228148,'metadata':_0x44a90e})['then'](({file:_0x3d02d6})=>f3(_0x3d02d6,{'publicKey':_0x4cbbc0,'baseURL':_0x3e9a73,'source':_0xd5294d,'integration':_0x5ca2ca,'userAgent':_0xf16f14,'retryThrottledRequestMaxTimes':_0x287381,'retryNetworkErrorMaxTimes':_0x228148,'onProgress':_0x2e8ce8,'signal':_0x4fd295}))['then'](_0x62ff92=>new m3(_0x62ff92,{'baseCDN':_0x5be1d0})),g3=(_0x42486d,{signal:_0x4530ce}={})=>{let t=null,_0xfdc266=null,_0x98c737=_0x42486d['map'](()=>new AbortController());return $5(_0x4530ce,()=>{_0x98c737['forEach'](_0x87b873=>_0x87b873['abort']());}),Promise['all'](_0x42486d['map']((_0x17e33f,_0x264a8e)=>{let _0x1f989d=(_0x3d2ce5=>()=>{_0xfdc266=_0x3d2ce5,_0x98c737['forEach']((_0x7fc37c,_0x76d44f)=>_0x76d44f!==_0x3d2ce5&&_0x7fc37c['abort']());})(_0x264a8e);return Promise['resolve']()['then'](()=>_0x17e33f({'stopRace':_0x1f989d,'signal':_0x98c737[_0x264a8e]['signal']}))['then'](_0x46af75=>(_0x1f989d(),_0x46af75))['catch'](_0x4601d8=>(t=_0x4601d8,null));}))['then'](_0x122c86=>{if(null===_0xfdc266)throw t;return _0x122c86[_0xfdc266];});},O3=window['WebSocket'],w3=class{['events']=Object['create']({});['emit'](_0x2015c6,t){this['events'][_0x2015c6]?.['forEach'](_0xb3ded=>_0xb3ded(t));}['on'](_0x382adf,t){this['events'][_0x382adf]=this['events'][_0x382adf]||[],this['events'][_0x382adf]['push'](t);}['off'](_0x4a23ba,t){this['events'][_0x4a23ba]=t?this['events'][_0x4a23ba]['filter'](_0x4cf85a=>_0x4cf85a!==t):[];}},b3=class{['key'];['disconnectTime'];['ws']=void 0x0;['queue']=[];['isConnected']=!0x1;['subscribers']=0x0;['emmitter']=new w3();['disconnectTimeoutId']=null;constructor(_0x592937,t=0x7530){this['key']=_0x592937,this['disconnectTime']=t;}['connect'](){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){let _0x36f449='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new O3(_0x36f449),this['ws']['addEventListener']('error',t=>{this['emmitter']['emit']('error',new Error(t['message']));}),this['emmitter']['on']('connected',()=>{this['isConnected']=!0x0,this['queue']['forEach'](t=>this['send'](t['event'],t['data'])),this['queue']=[];}),this['ws']['addEventListener']('message',t=>{let _0x65f2d5=JSON['parse'](t['data']['toString']());switch(_0x65f2d5['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'](_0x65f2d5['channel'],((_0x39dff6,_0x365312)=>'success'===_0x39dff6?{'status':a3['Success'],..._0x365312}:'progress'===_0x39dff6?{'status':a3['Progress'],..._0x365312}:{'status':a3['Error'],..._0x365312})(_0x65f2d5['event'],JSON['parse'](_0x65f2d5['data'])));}});}}['disconnect'](){let _0x463383=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0x463383();},this['disconnectTime']):_0x463383();}['send'](_0x24719f,t){let _0xba8497=JSON['stringify']({'event':_0x24719f,'data':t});this['ws']?.['send'](_0xba8497);}['subscribe'](_0x4dde59,t){this['subscribers']+=0x1,this['connect']();let _0x45ee1e='task-status-'+_0x4dde59,_0x871f6d={'event':'pusher:subscribe','data':{'channel':_0x45ee1e}};this['emmitter']['on'](_0x45ee1e,t),this['isConnected']?this['send'](_0x871f6d['event'],_0x871f6d['data']):this['queue']['push'](_0x871f6d);}['unsubscribe'](_0x228671){this['subscribers']-=0x1;let t='task-status-'+_0x228671,_0x18aff9={'event':'pusher:unsubscribe','data':{'channel':t}};this['emmitter']['off'](t),this['isConnected']?this['send'](_0x18aff9['event'],_0x18aff9['data']):this['queue']=this['queue']['filter'](_0x429191=>_0x429191['data']['channel']!==t),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x3a2387){return this['emmitter']['on']('error',_0x3a2387),()=>this['emmitter']['off']('error',_0x3a2387);}},y3=null,v3=_0x515ad4=>(y3||(y3=new b3(_0x515ad4,typeof window>'u'?0x0:0x7530)),y3),_3=(_0x4e2d84,{publicKey:_0x1feaea,fileName:t,baseURL:_0x2b3f9,baseCDN:_0x3742de,checkForUrlDuplicates:_0x3fe970,saveUrlForRecurrentUploads:_0x3d0013,secureSignature:_0x41a327,secureExpire:_0x47912e,store:_0x1d47bc,signal:_0x368c40,onProgress:_0x342609,source:_0x473ad6,integration:_0x1848f4,userAgent:_0x4a367f,retryThrottledRequestMaxTimes:_0x1c5e65,pusherKey:_0x1a524c=G5,metadata:_0x428185})=>Promise['resolve']((_0x45a05b=>{v3(_0x45a05b)['connect']();})(_0x1a524c))['then'](()=>function(_0x27f4f5,{publicKey:_0x5794d3,baseURL:t=U5,store:_0x2d6b59,fileName:_0x4659a2,checkForUrlDuplicates:_0x5b3007,saveUrlForRecurrentUploads:_0x145816,secureSignature:_0x24b481,secureExpire:_0x4edbf3,source:_0xdc5aec='url',signal:_0x364603,integration:_0x1e1b79,userAgent:_0x2f299a,retryThrottledRequestMaxTimes:_0x310d18=V5,retryNetworkErrorMaxTimes:_0x5d1afc=B5,metadata:_0x2b92da}){return r3(()=>q5({'method':'POST','headers':{'X-UC-User-Agent':n3({'publicKey':_0x5794d3,'integration':_0x1e1b79,'userAgent':_0x2f299a})},'url':s3(t,'/from_url/',{'jsonerrors':0x1,'pub_key':_0x5794d3,'source_url':_0x27f4f5,'store':h3(_0x2d6b59),'filename':_0x4659a2,'check_URL_duplicates':_0x5b3007?0x1:void 0x0,'save_URL_duplicates':_0x145816?0x1:void 0x0,'signature':_0x24b481,'expire':_0x4edbf3,'source':_0xdc5aec,'metadata':_0x2b92da}),'signal':_0x364603})['then'](({data:_0x14b2a7,headers:_0x4dfb3c,request:_0x25af2e})=>{let _0x191699=C5(JSON['parse'](_0x14b2a7));if('error'in _0x191699)throw new i3(_0x191699['error']['content'],_0x191699['error']['errorCode'],_0x25af2e,_0x191699,_0x4dfb3c);return _0x191699;}),{'retryNetworkErrorMaxTimes':_0x5d1afc,'retryThrottledRequestMaxTimes':_0x310d18});}(_0x4e2d84,{'publicKey':_0x1feaea,'fileName':t,'baseURL':_0x2b3f9,'checkForUrlDuplicates':_0x3fe970,'saveUrlForRecurrentUploads':_0x3d0013,'secureSignature':_0x41a327,'secureExpire':_0x47912e,'store':_0x1d47bc,'signal':_0x368c40,'source':_0x473ad6,'integration':_0x1848f4,'userAgent':_0x4a367f,'retryThrottledRequestMaxTimes':_0x1c5e65,'metadata':_0x428185}))['catch'](_0x1c7629=>(v3(_0x1a524c)?.['disconnect'](),Promise['reject'](_0x1c7629)))['then'](_0x2563ab=>_0x2563ab['type']===o3['FileInfo']?_0x2563ab:g3([({signal:_0x531ddb})=>function({token:_0x4b22e6,publicKey:_0x27e8a8,baseURL:t,integration:_0x2f2601,userAgent:_0x4beae8,retryThrottledRequestMaxTimes:_0x2a712d,retryNetworkErrorMaxTimes:_0x3762c2,onProgress:_0x227015,signal:_0x1bbcea}){return Q5({'check':_0x42610d=>u3(_0x4b22e6,{'publicKey':_0x27e8a8,'baseURL':t,'integration':_0x2f2601,'userAgent':_0x4beae8,'retryThrottledRequestMaxTimes':_0x2a712d,'retryNetworkErrorMaxTimes':_0x3762c2,'signal':_0x42610d})['then'](_0x1c5b16=>{switch(_0x1c5b16['status']){case a3['Error']:return new i3(_0x1c5b16['error'],_0x1c5b16['errorCode']);case a3['Waiting']:return!0x1;case a3['Unknown']:return new i3('Token\x20\x22'+_0x4b22e6+'\x22\x20was\x20not\x20found.');case a3['Progress']:return _0x227015&&('unknown'===_0x1c5b16['total']?_0x227015({'isComputable':!0x1}):_0x227015({'isComputable':!0x0,'value':_0x1c5b16['done']/_0x1c5b16['total']})),!0x1;case a3['Success']:return _0x227015&&_0x227015({'isComputable':!0x0,'value':_0x1c5b16['done']/_0x1c5b16['total']}),_0x1c5b16;default:throw new Error('Unknown\x20status');}}),'signal':_0x1bbcea});}({'token':_0x2563ab['token'],'publicKey':_0x1feaea,'baseURL':_0x2b3f9,'integration':_0x1848f4,'userAgent':_0x4a367f,'retryThrottledRequestMaxTimes':_0x1c5e65,'onProgress':_0x342609,'signal':_0x531ddb}),({signal:_0x57b305})=>(({token:_0x26bdd1,pusherKey:_0x50e998,signal:t,onProgress:_0xf09959})=>new Promise((_0x564f7c,_0x2ea8)=>{let _0x2c710b=v3(_0x50e998),_0x417567=_0x2c710b['onError'](_0x2ea8),_0x35d6bb=()=>{_0x417567(),_0x2c710b['unsubscribe'](_0x26bdd1);};$5(t,()=>{_0x35d6bb(),_0x2ea8(new D5('pusher\x20cancelled'));}),_0x2c710b['subscribe'](_0x26bdd1,_0x47c15b=>{switch(_0x47c15b['status']){case a3['Progress']:_0xf09959&&('unknown'===_0x47c15b['total']?_0xf09959({'isComputable':!0x1}):_0xf09959({'isComputable':!0x0,'value':_0x47c15b['done']/_0x47c15b['total']}));break;case a3['Success']:_0x35d6bb(),_0xf09959&&_0xf09959({'isComputable':!0x0,'value':_0x47c15b['done']/_0x47c15b['total']}),_0x564f7c(_0x47c15b);break;case a3['Error']:_0x35d6bb(),_0x2ea8(new i3(_0x47c15b['msg'],_0x47c15b['error_code']));}});}))({'token':_0x2563ab['token'],'pusherKey':_0x1a524c,'signal':_0x57b305,'onProgress':_0x342609})],{'signal':_0x368c40}))['then'](_0x5d3813=>{if(_0x5d3813 instanceof i3)throw _0x5d3813;return _0x5d3813;})['then'](_0x1b1973=>f3(_0x1b1973['uuid'],{'publicKey':_0x1feaea,'baseURL':_0x2b3f9,'integration':_0x1848f4,'userAgent':_0x4a367f,'retryThrottledRequestMaxTimes':_0x1c5e65,'onProgress':_0x342609,'signal':_0x368c40}))['then'](_0x22a027=>new m3(_0x22a027,{'baseCDN':_0x3742de})),E3=new WeakMap(),T3=async _0x84c2d0=>{if(Y5(_0x84c2d0)||z5(_0x84c2d0))return _0x84c2d0['size'];if(K5(_0x84c2d0))return(await(async _0x5358bf=>{if(E3['has'](_0x5358bf))return E3['get'](_0x5358bf);let _0x46225b=await fetch(_0x5358bf['uri'])['then'](t=>t['blob']());return E3['set'](_0x5358bf,_0x46225b),_0x46225b;})(_0x84c2d0))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},A3=_0x27af1d=>{let t=new RegExp('[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}');return!J5(_0x27af1d)&&t['test'](_0x27af1d);},S3=_0x457084=>{let t=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!J5(_0x457084)&&t['test'](_0x457084);},I3=(_0x26d2f4,_0x3c82bb)=>new Promise((t,_0x492545)=>{let _0x438f01=[],_0x44980f=!0x1,_0x4b1182=_0x3c82bb['length'],_0x531cad=[..._0x3c82bb],_0x29ee8b=()=>{let _0x4be56f=_0x3c82bb['length']-_0x531cad['length'],_0x2868f7=_0x531cad['shift']();_0x2868f7&&_0x2868f7()['then'](_0x5738d9=>{_0x44980f||(_0x438f01[_0x4be56f]=_0x5738d9,_0x4b1182-=0x1,_0x4b1182?_0x29ee8b():t(_0x438f01));})['catch'](_0x218cc4=>{_0x44980f=!0x0,_0x492545(_0x218cc4);});};for(let _0x2e9ce4=0x0;_0x2e9ce4<_0x26d2f4;_0x2e9ce4++)_0x29ee8b();}),k3=async(_0x458317,_0x5782f1,t)=>_0x34ae01=>((_0x41a3dd,_0x5a12ad,t,_0x11d4eb)=>{let _0x28cb15=_0x11d4eb*_0x5a12ad,_0xdbaaac=Math['min'](_0x28cb15+_0x11d4eb,t);return _0x41a3dd['slice'](_0x28cb15,_0xdbaaac);})(_0x458317,_0x34ae01,_0x5782f1,t),x3=(_0xdde6,_0x457911,{publicKey:t,contentType:_0x74ff5f,onProgress:_0x5b09d0,signal:_0x4ba0d3,integration:_0x4d97ea,retryThrottledRequestMaxTimes:_0x1d0f75,retryNetworkErrorMaxTimes:_0x21e237})=>function(_0x571fd7,_0x1ed1d2,{contentType:t,signal:_0x4023da,onProgress:_0x45f281,retryThrottledRequestMaxTimes:_0xaed7fb=V5,retryNetworkErrorMaxTimes:_0x32fe71=B5}){return r3(()=>q5({'method':'PUT','url':_0x1ed1d2,'data':_0x571fd7,'onProgress':_0x45f281,'signal':_0x4023da,'headers':{'Content-Type':t||X5}})['then'](_0x51d6fd=>(_0x45f281&&_0x45f281({'isComputable':!0x0,'value':0x1}),_0x51d6fd))['then'](({status:_0x1135ae})=>({'code':_0x1135ae})),{'retryThrottledRequestMaxTimes':_0xaed7fb,'retryNetworkErrorMaxTimes':_0x32fe71});}(_0xdde6,_0x457911,{'contentType':_0x74ff5f,'onProgress':_0x5b09d0,'signal':_0x4ba0d3,'retryThrottledRequestMaxTimes':_0x1d0f75,'retryNetworkErrorMaxTimes':_0x21e237}),C3=async(_0x351f83,{publicKey:_0x37e8fc,fileName:t,fileSize:_0x35a798,baseURL:_0x212826,secureSignature:_0xcee2d9,secureExpire:_0x51b03d,store:_0x37e59d,signal:_0x4756c5,onProgress:_0x4f1a60,source:_0x255cb5,integration:_0x4ddd16,userAgent:_0x16da64,retryThrottledRequestMaxTimes:_0x177c5b,retryNetworkErrorMaxTimes:_0x1e051a,contentType:_0x22625c,multipartChunkSize:_0x394b2f=H5,maxConcurrentRequests:_0x4c1fed=Z5,baseCDN:_0x15732e,metadata:_0x4d72f3})=>{let _0x5d6c1b,_0x3e7d19=_0x35a798??await T3(_0x351f83),_0x107928=(_0x41581b,_0x5d12ec)=>{if(!_0x4f1a60)return;_0x5d6c1b||(_0x5d6c1b=Array(_0x41581b)['fill'](0x0));let _0x18f241=_0x280f86=>_0x280f86['reduce']((_0x1d0dee,_0x5100b5)=>_0x1d0dee+_0x5100b5,0x0);return _0x1b41b3=>{_0x1b41b3['isComputable']&&(_0x5d6c1b[_0x5d12ec]=_0x1b41b3['value'],_0x4f1a60({'isComputable':!0x0,'value':_0x18f241(_0x5d6c1b)/_0x41581b}));};};return _0x22625c||=c3(_0x351f83),function(_0xbae717,{publicKey:_0x3cfc0c,contentType:t,fileName:_0x2a5260,multipartChunkSize:_0x10939c=H5,baseURL:_0x383dca='',secureSignature:_0x324aa5,secureExpire:_0x5bc88f,store:_0x599d74,signal:_0x37ac51,source:_0x4110d6='local',integration:_0x2f7fe6,userAgent:_0x11d162,retryThrottledRequestMaxTimes:_0xb81a83=V5,retryNetworkErrorMaxTimes:_0x5192cd=B5,metadata:_0x73c17e}){return r3(()=>q5({'method':'POST','url':s3(_0x383dca,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':n3({'publicKey':_0x3cfc0c,'integration':_0x2f7fe6,'userAgent':_0x11d162})},'data':e3({'filename':_0x2a5260,'size':_0xbae717,'content_type':t||X5,'part_size':_0x10939c,'UPLOADCARE_STORE':h3(_0x599d74),'UPLOADCARE_PUB_KEY':_0x3cfc0c,'signature':_0x324aa5,'expire':_0x5bc88f,'source':_0x4110d6,'metadata':_0x73c17e}),'signal':_0x37ac51})['then'](({data:_0x27722e,headers:_0x193fc2,request:_0x59ca4c})=>{let _0x5d1648=C5(JSON['parse'](_0x27722e));if('error'in _0x5d1648)throw new i3(_0x5d1648['error']['content'],_0x5d1648['error']['errorCode'],_0x59ca4c,_0x5d1648,_0x193fc2);return _0x5d1648['parts']=Object['keys'](_0x5d1648['parts'])['map'](_0x5299ca=>_0x5d1648['parts'][Number(_0x5299ca)]),_0x5d1648;}),{'retryThrottledRequestMaxTimes':_0xb81a83,'retryNetworkErrorMaxTimes':_0x5192cd});}(_0x3e7d19,{'publicKey':_0x37e8fc,'contentType':_0x22625c,'fileName':t||l3(_0x351f83),'baseURL':_0x212826,'secureSignature':_0xcee2d9,'secureExpire':_0x51b03d,'store':_0x37e59d,'signal':_0x4756c5,'source':_0x255cb5,'integration':_0x4ddd16,'userAgent':_0x16da64,'retryThrottledRequestMaxTimes':_0x177c5b,'retryNetworkErrorMaxTimes':_0x1e051a,'metadata':_0x4d72f3,'multipartChunkSize':_0x394b2f})['then'](async({uuid:_0x1837a4,parts:_0xc9d3a9})=>{let _0x2f4e76=await k3(_0x351f83,_0x3e7d19,_0x394b2f);return Promise['all']([_0x1837a4,I3(_0x4c1fed,_0xc9d3a9['map']((_0x5b97bd,_0x24de96)=>()=>x3(_0x2f4e76(_0x24de96),_0x5b97bd,{'publicKey':_0x37e8fc,'contentType':_0x22625c,'onProgress':_0x107928(_0xc9d3a9['length'],_0x24de96),'signal':_0x4756c5,'integration':_0x4ddd16,'retryThrottledRequestMaxTimes':_0x177c5b,'retryNetworkErrorMaxTimes':_0x1e051a})))]);})['then'](([_0x777ea1])=>function(_0x57b7ab,{publicKey:_0x536bd0,baseURL:t=U5,source:_0x4ed6f9='local',signal:_0x385ec9,integration:_0x46754c,userAgent:_0x54c4dc,retryThrottledRequestMaxTimes:_0x515c00=V5,retryNetworkErrorMaxTimes:_0x291dc4=B5}){return r3(()=>q5({'method':'POST','url':s3(t,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':n3({'publicKey':_0x536bd0,'integration':_0x46754c,'userAgent':_0x54c4dc})},'data':e3({'uuid':_0x57b7ab,'UPLOADCARE_PUB_KEY':_0x536bd0,'source':_0x4ed6f9}),'signal':_0x385ec9})['then'](({data:_0x5dad4b,headers:_0x5bd57f,request:_0x2ade80})=>{let _0x3c5804=C5(JSON['parse'](_0x5dad4b));if('error'in _0x3c5804)throw new i3(_0x3c5804['error']['content'],_0x3c5804['error']['errorCode'],_0x2ade80,_0x3c5804,_0x5bd57f);return _0x3c5804;}),{'retryThrottledRequestMaxTimes':_0x515c00,'retryNetworkErrorMaxTimes':_0x291dc4});}(_0x777ea1,{'publicKey':_0x37e8fc,'baseURL':_0x212826,'source':_0x255cb5,'integration':_0x4ddd16,'userAgent':_0x16da64,'retryThrottledRequestMaxTimes':_0x177c5b,'retryNetworkErrorMaxTimes':_0x1e051a}))['then'](_0x5c48a3=>_0x5c48a3['isReady']?_0x5c48a3:f3(_0x5c48a3['uuid'],{'publicKey':_0x37e8fc,'baseURL':_0x212826,'source':_0x255cb5,'integration':_0x4ddd16,'userAgent':_0x16da64,'retryThrottledRequestMaxTimes':_0x177c5b,'retryNetworkErrorMaxTimes':_0x1e051a,'onProgress':_0x4f1a60,'signal':_0x4756c5}))['then'](_0x3f7d79=>new m3(_0x3f7d79,{'baseCDN':_0x15732e}));};async function R3(_0x39d4c1,{publicKey:_0x301f35,fileName:t,baseURL:_0x6cd9d6=U5,secureSignature:_0xd2bccd,secureExpire:_0x4a5f59,store:_0x3f0e83,signal:_0x133e9c,onProgress:_0x4e4f11,source:_0x5db6b2,integration:_0x4afd1f,userAgent:_0x4a28f5,retryThrottledRequestMaxTimes:_0x25d6c4,retryNetworkErrorMaxTimes:_0x235ab5,contentType:_0xc6ba1b,multipartMinFileSize:_0x5168fa,multipartChunkSize:_0x5cae3d,maxConcurrentRequests:_0x28ef61,baseCDN:_0x4e2aa9=j5,checkForUrlDuplicates:_0xa4485,saveUrlForRecurrentUploads:_0x2a9b0f,pusherKey:_0x5282e7,metadata:_0x427048}){if(J5(_0x39d4c1)){let _0x50d651=await T3(_0x39d4c1);return((_0x5db5c1,_0x55225d=F5)=>_0x5db5c1>=_0x55225d)(_0x50d651,_0x5168fa)?C3(_0x39d4c1,{'publicKey':_0x301f35,'contentType':_0xc6ba1b,'multipartChunkSize':_0x5cae3d,'fileSize':_0x50d651,'fileName':t,'baseURL':_0x6cd9d6,'secureSignature':_0xd2bccd,'secureExpire':_0x4a5f59,'store':_0x3f0e83,'signal':_0x133e9c,'onProgress':_0x4e4f11,'source':_0x5db6b2,'integration':_0x4afd1f,'userAgent':_0x4a28f5,'maxConcurrentRequests':_0x28ef61,'retryThrottledRequestMaxTimes':_0x25d6c4,'retryNetworkErrorMaxTimes':_0x235ab5,'baseCDN':_0x4e2aa9,'metadata':_0x427048}):p3(_0x39d4c1,{'publicKey':_0x301f35,'fileName':t,'contentType':_0xc6ba1b,'baseURL':_0x6cd9d6,'secureSignature':_0xd2bccd,'secureExpire':_0x4a5f59,'store':_0x3f0e83,'signal':_0x133e9c,'onProgress':_0x4e4f11,'source':_0x5db6b2,'integration':_0x4afd1f,'userAgent':_0x4a28f5,'retryThrottledRequestMaxTimes':_0x25d6c4,'retryNetworkErrorMaxTimes':_0x235ab5,'baseCDN':_0x4e2aa9,'metadata':_0x427048});}if(S3(_0x39d4c1))return _3(_0x39d4c1,{'publicKey':_0x301f35,'fileName':t,'baseURL':_0x6cd9d6,'baseCDN':_0x4e2aa9,'checkForUrlDuplicates':_0xa4485,'saveUrlForRecurrentUploads':_0x2a9b0f,'secureSignature':_0xd2bccd,'secureExpire':_0x4a5f59,'store':_0x3f0e83,'signal':_0x133e9c,'onProgress':_0x4e4f11,'source':_0x5db6b2,'integration':_0x4afd1f,'userAgent':_0x4a28f5,'retryThrottledRequestMaxTimes':_0x25d6c4,'pusherKey':_0x5282e7,'metadata':_0x427048});if(A3(_0x39d4c1))return((_0x212eef,{publicKey:_0x38916a,fileName:t,baseURL:_0x3476bc,signal:_0x102fb5,onProgress:_0x427773,source:_0x31e423,integration:_0x438ea1,userAgent:_0x57c872,retryThrottledRequestMaxTimes:_0x34b334,retryNetworkErrorMaxTimes:_0x2f21f9,baseCDN:_0x1b535d})=>d3(_0x212eef,{'publicKey':_0x38916a,'baseURL':_0x3476bc,'signal':_0x102fb5,'source':_0x31e423,'integration':_0x438ea1,'userAgent':_0x57c872,'retryThrottledRequestMaxTimes':_0x34b334,'retryNetworkErrorMaxTimes':_0x2f21f9})['then'](_0x2a50a5=>new m3(_0x2a50a5,{'baseCDN':_0x1b535d,'fileName':t}))['then'](_0xa28b77=>(_0x427773&&_0x427773({'isComputable':!0x0,'value':0x1}),_0xa28b77)))(_0x39d4c1,{'publicKey':_0x301f35,'fileName':t,'baseURL':_0x6cd9d6,'signal':_0x133e9c,'onProgress':_0x4e4f11,'source':_0x5db6b2,'integration':_0x4afd1f,'userAgent':_0x4a28f5,'retryThrottledRequestMaxTimes':_0x25d6c4,'retryNetworkErrorMaxTimes':_0x235ab5,'baseCDN':_0x4e2aa9});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0x39d4c1+'\x22\x20is\x20not\x20supported');}var P3=class{['uuid'];['filesCount'];['totalSize'];['isStored'];['isImage'];['cdnUrl'];['files'];['createdAt'];['storedAt']=null;constructor(_0x16440a,{baseCDN:t=j5}={}){this['uuid']=_0x16440a['id'],this['filesCount']=_0x16440a['filesCount'];let _0x29cc11=_0x16440a['files']['filter'](Boolean);this['totalSize']=Object['values'](_0x29cc11)['reduce']((_0x3aff78,_0x431ea3)=>_0x3aff78+_0x431ea3['size'],0x0),this['isStored']=!!_0x16440a['datetimeStored'],this['isImage']=!!Object['values'](_0x29cc11)['filter'](_0x386da5=>_0x386da5['isImage'])['length'],this['cdnUrl']=((_0x39a169,_0x378f31)=>{try{let t=new URL(_0x39a169),_0x2c5837=new URL(_0x378f31);return t['protocol']=_0x2c5837['protocol'],t['hostname']=_0x2c5837['hostname'],t['port']=_0x2c5837['port'],t['toString']();}catch{return _0x39a169;}})(_0x16440a['cdnUrl'],t),this['files']=_0x29cc11['map'](_0x1ae4f6=>new m3(_0x1ae4f6,{'baseCDN':t})),this['createdAt']=_0x16440a['datetimeCreated'],this['storedAt']=_0x16440a['datetimeStored'];}};function M3(_0x573a56,{publicKey:_0x4d0d76,fileName:t,baseURL:_0xb561ce=U5,secureSignature:_0x3fb0e9,secureExpire:_0x227ff7,store:_0x2f3de4,signal:_0x323515,onProgress:_0x2e96c7,source:_0x4f17ef,integration:_0x1782b1,userAgent:_0x4ad9e3,retryThrottledRequestMaxTimes:_0xa8b026,retryNetworkErrorMaxTimes:_0x1cb949,contentType:_0x24efba,multipartChunkSize:_0x3f0361=H5,baseCDN:_0x223ead=j5,checkForUrlDuplicates:_0x4a3051,saveUrlForRecurrentUploads:_0x5cd4ca,jsonpCallback:_0x5e4841}){if(!(_0x1cc206=>{for(let _0x1575a8 of _0x1cc206)if(!J5(_0x1575a8))return!0x1;return!0x0;})(_0x573a56)&&!(_0x4995ae=>{for(let _0x5d8ddc of _0x4995ae)if(!S3(_0x5d8ddc))return!0x1;return!0x0;})(_0x573a56)&&!(_0x591267=>{for(let _0x36a818 of _0x591267)if(!A3(_0x36a818))return!0x1;return!0x0;})(_0x573a56))throw new TypeError('Group\x20uploading\x20from\x20\x22'+_0x573a56+'\x22\x20is\x20not\x20supported');let _0x148478,_0x222cfd=!0x0,_0xd9182f=_0x573a56['length'],_0x3d764e=(_0x1cc731,_0x4fd615)=>{if(!_0x2e96c7)return;_0x148478||(_0x148478=Array(_0x1cc731)['fill'](0x0));let _0x3a2790=_0x7e52f2=>_0x7e52f2['reduce']((_0x51478e,_0x279652)=>_0x51478e+_0x279652)/_0x1cc731;return _0x49e846=>{if(!_0x49e846['isComputable']||!_0x222cfd)return _0x222cfd=!0x1,void _0x2e96c7({'isComputable':!0x1});_0x148478[_0x4fd615]=_0x49e846['value'],_0x2e96c7({'isComputable':!0x0,'value':_0x3a2790(_0x148478)});};};return Promise['all'](_0x573a56['map']((_0x502933,_0x49c46d)=>J5(_0x502933)||S3(_0x502933)?R3(_0x502933,{'publicKey':_0x4d0d76,'fileName':t,'baseURL':_0xb561ce,'secureSignature':_0x3fb0e9,'secureExpire':_0x227ff7,'store':_0x2f3de4,'signal':_0x323515,'onProgress':_0x3d764e(_0xd9182f,_0x49c46d),'source':_0x4f17ef,'integration':_0x1782b1,'userAgent':_0x4ad9e3,'retryThrottledRequestMaxTimes':_0xa8b026,'retryNetworkErrorMaxTimes':_0x1cb949,'contentType':_0x24efba,'multipartChunkSize':_0x3f0361,'baseCDN':_0x223ead,'checkForUrlDuplicates':_0x4a3051,'saveUrlForRecurrentUploads':_0x5cd4ca})['then'](_0x326ab4=>_0x326ab4['uuid']):_0x502933))['then'](_0x216855=>function(_0x552b5,{publicKey:_0x3597bc,baseURL:t=U5,jsonpCallback:_0x3d3669,secureSignature:_0x1702f8,secureExpire:_0x251568,signal:_0x4a0560,source:_0x30aa56,integration:_0x29ab27,userAgent:_0x4c93bf,retryThrottledRequestMaxTimes:_0x14fdb9=V5,retryNetworkErrorMaxTimes:_0x5dcdb8=B5}){return r3(()=>q5({'method':'POST','headers':{'X-UC-User-Agent':n3({'publicKey':_0x3597bc,'integration':_0x29ab27,'userAgent':_0x4c93bf})},'url':s3(t,'/group/',{'jsonerrors':0x1}),'data':e3({'files':_0x552b5,'callback':_0x3d3669,'pub_key':_0x3597bc,'signature':_0x1702f8,'expire':_0x251568,'source':_0x30aa56}),'signal':_0x4a0560})['then'](({data:_0x31fc77,headers:_0x2e2927,request:_0x4e2b62})=>{let _0x908257=C5(JSON['parse'](_0x31fc77));if('error'in _0x908257)throw new i3(_0x908257['error']['content'],_0x908257['error']['errorCode'],_0x4e2b62,_0x908257,_0x2e2927);return _0x908257;}),{'retryNetworkErrorMaxTimes':_0x5dcdb8,'retryThrottledRequestMaxTimes':_0x14fdb9});}(_0x216855,{'publicKey':_0x4d0d76,'baseURL':_0xb561ce,'jsonpCallback':_0x5e4841,'secureSignature':_0x3fb0e9,'secureExpire':_0x227ff7,'signal':_0x323515,'source':_0x4f17ef,'integration':_0x1782b1,'userAgent':_0x4ad9e3,'retryThrottledRequestMaxTimes':_0xa8b026,'retryNetworkErrorMaxTimes':_0x1cb949})['then'](_0xd1baed=>new P3(_0xd1baed,{'baseCDN':_0x223ead}))['then'](_0x55ccfa=>(_0x2e96c7&&_0x2e96c7({'isComputable':!0x0,'value':0x1}),_0x55ccfa)));}var N3=class{['Vi']=0x1;['io']=[];['_i']=0x0;['ro']=new Map();['oo']=new Map();constructor(_0x45cae5){this['Vi']=_0x45cae5;}['run'](){let _0xb7e1f7=this['Vi']-this['_i'];for(let t=0x0;t<_0xb7e1f7;t++){let _0x39f625=this['io']['shift']();if(!_0x39f625)return;let _0x9ad49f=this['ro']['get'](_0x39f625),_0x216ba6=this['oo']['get'](_0x39f625);if(!_0x9ad49f||!_0x216ba6)throw new Error('Unexpected\x20behavior:\x20resolver\x20or\x20rejector\x20is\x20undefined');this['_i']+=0x1,_0x39f625()['finally'](()=>{this['ro']['delete'](_0x39f625),this['oo']['delete'](_0x39f625),this['_i']-=0x1,this['run']();})['then'](_0x41d9b4=>_0x9ad49f(_0x41d9b4))['catch'](_0x460ea2=>_0x216ba6(_0x460ea2));}}['add'](_0x551e42,{autoRun:t}={'autoRun':!0x0}){return new Promise((_0x3b6b98,_0x5bea0f)=>{this['ro']['set'](_0x551e42,_0x3b6b98),this['oo']['set'](_0x551e42,_0x5bea0f),this['io']['push'](_0x551e42),t&&this['run']();});}get['pending'](){return this['io']['length'];}get['running'](){return this['_i'];}set['concurrency'](_0x271c7d){this['Vi']=_0x271c7d,this['run']();}get['concurrency'](){return this['Vi'];}},L3=_0x3ca0f2=>({'*currentActivity':null,'*currentActivityParams':{},'*history':[],'*historyBack':null,'*closeModal':()=>{_0x3ca0f2['modalManager']?.['close'](_0x3ca0f2['$']['*currentActivity']),_0x3ca0f2['pub']('*currentActivity',null);}}),$3=_0x552b83=>({...L3(_0x552b83),'*commonProgress':0x0,'*uploadList':[],'*uploadQueue':new N3(0x1),'*collectionErrors':[],'*collectionState':null,'*groupInfo':null,'*uploadTrigger':new Set()}),D3=Object['freeze']({'START_FROM':'start-from','CAMERA':'camera','UPLOAD_LIST':'upload-list','URL':'url','CLOUD_IMG_EDIT':'cloud-image-edit','EXTERNAL':'external'}),Q3=class extends b5{constructor(t){super(t),this['scopes']=new Set(),this['listener']=this['_c']['bind'](this),window['addEventListener']('paste',this['listener']);}['openUploadList'](){this['i']['api']['setCurrentActivity'](D3['UPLOAD_LIST']),this['i']['api']['setModalState'](!0x0);}async['_c'](t){if(t['clipboardData']){for(let _0x4faeb3 of this['scopes'])if(_0x4faeb3['isConnected'])switch(this['ze']['pasteScope']){case'global':await this['handlePaste'](t);break;case'local':if(!_0x4faeb3['contains'](t['target']))continue;await this['handlePaste'](t);break;default:continue;}}}async['handlePaste'](t){if(!t['clipboardData'])return;let _0x2f11a2=Array['from'](t['clipboardData']['items']),_0x2456ea=_0x2f11a2['map'](_0x4a8995=>_0x4a8995['getAsFile']())['filter'](_0x6aab59=>null!==_0x6aab59),_0x1e2031=_0x2f11a2['filter'](_0x3b0d75=>'string'===_0x3b0d75['kind']&&'text/plain'===_0x3b0d75['type'])['map'](_0x5ad5c0=>new Promise(_0x267a4e=>{_0x5ad5c0['getAsString'](_0x4df741=>{_0x267a4e(_0x4df741);});}));_0x2456ea['length']>0x0&&(_0x2456ea['forEach'](_0x33ba4f=>{this['i']['api']['addFileFromObject'](_0x33ba4f,{'source':'clipboard'});}),this['openUploadList']()),_0x1e2031['length']>0x0&&((await Promise['all'](_0x1e2031))['forEach'](_0x54f2c0=>{this['i']['api']['addFileFromUrl'](_0x54f2c0,{'source':'clipboard'});}),this['openUploadList']());}['registerBlock'](t){return this['scopes']['add'](t),()=>{this['scopes']['delete'](t);};}['destroy'](){super['destroy'](),window['removeEventListener']('paste',this['listener']),this['scopes']['clear']();}},j3={'button':['toolbar'],'checkbox':['toolbar'],'menuitem':['menu','menubar'],'option':['listbox'],'tab':['tablist']};function U3(_0x18998c,_0xc36c6b){_0xc36c6b['tabIndex']=0x0,_0xc36c6b['focus'](),_0x18998c['tabIndex']=-0x1;}function V3(_0x719c64){let _0x80cd00=_0x719c64['role']||_0x719c64['type']||_0x719c64['tagName'];if(!_0x80cd00)return null;let t=j3[_0x80cd00['toLowerCase']()];if(!t)return null;for(let _0x3873cb of t){let _0x43c91d=_0x719c64['closest']('[role='+_0x3873cb+']');if(_0x43c91d)return _0x43c91d;}}function B3(_0xc6f8b3,_0x4737e0){return'toolbar'===_0x4737e0['role']?function(_0x229696){return[..._0x229696['querySelectorAll']('*')]['filter'](t=>'button'===t['role']||'button'===t['type']||'checkbox'===t['role']||'checkbox'===t['type']);}(_0x4737e0):_0x4737e0['querySelectorAll']('[role='+_0xc6f8b3['role']+']');}function F3(_0x2c4797){return _0x4c57d9=>{let t=!0x1,_0x93c635=0x0,_0x2b93d7='';function _0x26f5bf(_0x51170b){let _0x1c5ae1=V3(_0x51170b['target']);if(!_0x1c5ae1)return void _0x3cf4a6();let _0x12c909=B3(_0x51170b['target'],_0x1c5ae1),_0x40c920=function(_0x1a7937,_0x45a211){return Array['from'](_0x1a7937)['filter'](t=>{let _0x4a52ea=t['parentElement'];for(;_0x4a52ea&&_0x4a52ea!==_0x45a211;){if('true'===_0x4a52ea['getAttribute']('aria-hidden'))return!0x1;_0x4a52ea=_0x4a52ea['parentElement'];}return!0x0;});}(_0x12c909,_0x1c5ae1),_0x4ed9ba=Array['from'](_0x40c920)['indexOf'](_0x51170b['target']),_0x108b64='ArrowDown',_0x134c8a='ArrowUp';if(function(_0x2b2924){let _0x5207b7=_0x2b2924['getAttribute']('aria-orientation');if('vertical'===_0x5207b7)return!0x1;if('horizontal'===_0x5207b7)return!0x0;let t=_0x2b2924['role'];return'menubar'===t||'tablist'===t||'toolbar'===t;}(_0x1c5ae1)&&('rtl'===_0x4c57d9['document']['dir']?(_0x108b64='ArrowLeft',_0x134c8a='ArrowRight'):(_0x108b64='ArrowRight',_0x134c8a='ArrowLeft')),_0x51170b['key']===_0x108b64)_0x51170b['preventDefault'](),U3(_0x51170b['target'],_0x40c920[_0x4ed9ba+0x1]||_0x40c920[0x0]);else{if(_0x51170b['key']===_0x134c8a)_0x51170b['preventDefault'](),U3(_0x51170b['target'],_0x40c920[_0x4ed9ba-0x1]||_0x40c920[_0x40c920['length']-0x1]);else{if('Home'===_0x51170b['key'])_0x51170b['preventDefault'](),U3(_0x51170b['target'],_0x40c920[0x0]);else{if('End'===_0x51170b['key'])_0x51170b['preventDefault'](),U3(_0x51170b['target'],_0x40c920[_0x40c920['length']-0x1]);else{if(0x1===_0x51170b['key']['length']&&'tablist'!==_0x1c5ae1['role']){_0x51170b['timeStamp']-_0x93c635<=0x12c?_0x2b93d7+=_0x51170b['key']['toLowerCase']():_0x2b93d7=_0x51170b['key']['toLowerCase'](),_0x93c635=_0x51170b['timeStamp'];let _0x4753c2=Array['from'](_0x12c909)['find'](_0x37945f=>_0x37945f['textContent']?.['trim']()?.['toLowerCase']()?.['startsWith'](_0x2b93d7));_0x4753c2&&(_0x51170b['preventDefault'](),U3(_0x51170b['target'],_0x4753c2));}}}}}}function _0x3cf4a6(){t=!0x1,_0x4c57d9['removeEventListener']('keydown',_0x26f5bf);}function _0x34520a(_0x1ba2ec){let _0x374a29=V3(_0x1ba2ec['target']);if(_0x374a29){t||(t=!0x0,_0x4c57d9['addEventListener']('keydown',_0x26f5bf));let _0x5982d9=B3(_0x1ba2ec['target'],_0x374a29);for(let _0x35144c of _0x5982d9)_0x35144c!==_0x1ba2ec['target']&&_0x35144c['setAttribute']('tabindex',-0x1);}else t&&_0x3cf4a6();}function _0x4f9c71(_0x3fdf2d){(!_0x3fdf2d['relatedTarget']||_0x3fdf2d['relatedTarget']===_0x4c57d9['document'])&&_0x3cf4a6();}function _0x483663(_0x428d5a){let _0x583ed5=V3(_0x428d5a['target']);if(_0x583ed5){let _0x5a1414=B3(_0x428d5a['target'],_0x583ed5);for(let _0x51d2f2 of _0x5a1414)_0x51d2f2!==_0x428d5a['target']&&_0x51d2f2['setAttribute']('tabindex',-0x1);_0x428d5a['target']['setAttribute']('tabindex',0x0);}}return _0x4c57d9['addEventListener']('click',_0x483663),_0x4c57d9['addEventListener']('focusin',_0x34520a),_0x4c57d9['addEventListener']('focusout',_0x4f9c71),()=>{_0x3cf4a6(),_0x4c57d9['removeEventListener']('click',_0x483663),_0x4c57d9['removeEventListener']('focusin',_0x34520a),_0x4c57d9['removeEventListener']('focusout',_0x4f9c71);};};}function H3(){return _0x40a75c=>{let _0x1481be=[];function _0x1654e3(){let _0x1c5c3b=_0x1481be['pop']();if(!_0x1c5c3b)return void _0x40a75c['document']['activeElement']['blur']();let _0x74c411=_0x1c5c3b['deref']();_0x74c411&&_0x74c411['isConnected']?_0x74c411['focus']():_0x1654e3();}let _0x1ce297,_0x23bfcb=0x0;function _0x1f304e(_0xd05228){clearInterval(_0x1ce297);let _0x15e922=_0xd05228['getAttribute']('aria-controls');_0x1ce297=setInterval(()=>{if(_0x23bfcb++>0x32)return void clearInterval(_0x1ce297);let _0x5028b4=_0x40a75c['document']['getElementById'](_0x15e922);if(_0x5028b4){let _0x4384ac=_0x5028b4['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x4384ac&&(clearInterval(_0x1ce297),_0x5028b4['dispatchEvent'](new _0x40a75c['CustomEvent']('keyuxJump',{'bubbles':!0x0})),function(_0x3afcc6){let _0x452542=_0x40a75c['document']['activeElement'];_0x452542&&_0x452542!==_0x40a75c['document']['body']&&_0x1481be['push'](new WeakRef(_0x452542)),_0x3afcc6['focus']({'focusVisible':!0x0});}(_0x4384ac));}},0x32);}function _0x35089d(_0x35531a){_0x35531a['target']['getAttribute']('aria-controls')&&'Enter'===_0x35531a['key']&&_0x1f304e(_0x35531a['target']),'Escape'===_0x35531a['key']&&_0x1654e3();}return _0x40a75c['addEventListener']('keydown',_0x35089d),()=>{_0x40a75c['removeEventListener']('keydown',_0x35089d);};};}function Z3(_0x421b85){let _0x15d0e1,_0x471d15,t=_0x421b85['split']('\x20');function _0x32d513(_0xf94031){('Enter'===_0xf94031['key']||'\x20'===_0xf94031['key'])&&('BUTTON'===_0xf94031['target']['tagName']||'A'===_0xf94031['target']['tagName'])&&(_0x389c13(),_0xf94031['target']['classList']['add'](...t),_0x15d0e1=_0xf94031['target'],_0x471d15=_0xf94031['target']);}function _0x389c13(){_0x15d0e1&&(_0x15d0e1['classList']['remove'](...t),_0x15d0e1=0x0,setTimeout(()=>{_0x471d15=0x0;},0x0));}function _0x257236(_0x4f423d){0x0===_0x4f423d['clientX']&&0x0===_0x4f423d['clientY']&&_0x15d0e1!==_0x4f423d['target']&&(_0x389c13(),_0x471d15!==_0x4f423d['target']&&(_0x4f423d['target']['classList']['add'](...t),_0x15d0e1=_0x4f423d['target']));}return _0x363dac=>(_0x363dac['addEventListener']('click',_0x257236),_0x363dac['addEventListener']('keydown',_0x32d513),_0x363dac['addEventListener']('keyup',_0x389c13),()=>{_0x363dac['removeEventListener']('click',_0x257236),_0x363dac['removeEventListener']('keydown',_0x32d513),_0x363dac['removeEventListener']('keyup',_0x389c13);});}var G3=class{constructor(){this['te']=new Map(),this['so']=[];}['addEventListener'](_0x3f36e2,t){let _0x3b6594=_0x59b255=>{let _0x5363c0=_0x59b255['target'];_0x5363c0 instanceof Node&&this['so']['some'](_0x4947b4=>_0x4947b4===_0x5363c0||_0x4947b4['contains'](_0x5363c0))&&t(_0x59b255);};this['te']['set'](t,_0x3b6594),window['addEventListener'](_0x3f36e2,_0x3b6594);}['removeEventListener'](_0x2ddb51,t){let _0x5986fb=this['te']['get'](t);_0x5986fb&&window['removeEventListener'](_0x2ddb51,_0x5986fb),this['te']['delete'](t);}get['CustomEvent'](){return window['CustomEvent'];}get['document'](){return window['document'];}get['navigator'](){return window['navigator'];}['registerScope'](_0x4107fb){this['so']['push'](_0x4107fb);}['destroy'](){this['so']=[];for(let _0x568609 of this['te']['values']())window['removeEventListener']('keydown',_0x568609),window['removeEventListener']('keyup',_0x568609);this['te']['clear']();}},X3=class{constructor(){this['Bi']=new G3(),this['an']=function(_0x415f5b,_0x2abbbb){let t=_0x2abbbb['map'](_0x1e8bb0=>_0x1e8bb0(_0x415f5b));return()=>{t['forEach'](_0x3280a0=>_0x3280a0());};}(this['Bi'],[F3(),Z3('is-pressed'),H3(),_0x34795f=>{let _0x3eb024,t;function _0x241e85(_0x475834){if('true'===_0x475834['target']['getAttribute']('aria-hidden')){_0x3eb024=_0x475834['target'],_0x3eb024['setAttribute']('aria-hidden','false'),t=_0x3eb024['hidden'],t&&(_0x3eb024['hidden']=!0x1);let _0x56950b=_0x475834['target']['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x56950b&&(_0x56950b['tabIndex']=0x0);}}function _0x4622bf(_0x47c7e2){_0x3eb024&&_0x3eb024['contains'](_0x47c7e2['target'])&&(!_0x47c7e2['relatedTarget']||!_0x3eb024['contains'](_0x47c7e2['relatedTarget']))&&(_0x47c7e2['target']['tabIndex']=-0x1,_0x3eb024['setAttribute']('aria-hidden','true'),t&&(_0x3eb024['hidden']=!0x0),_0x3eb024=null);}return _0x34795f['addEventListener']('keyuxJump',_0x241e85),_0x34795f['addEventListener']('focusout',_0x4622bf),()=>{_0x34795f['removeEventListener']('keyuxJump',_0x241e85),_0x34795f['removeEventListener']('focusout',_0x4622bf);};}]);}['registerBlock'](_0x295663){this['Bi']['registerScope'](_0x295663);}['destroy'](){this['an']?.(),this['Bi']['destroy']();}},q3=_0x197ddf=>'*l10n/'+_0x197ddf,W3=class extends b5{constructor(t){super(t),this['Tt']='';for(let [_0x235886,_0x32d627]of Object['entries'](M2)){let _0x15e4d1=!this['e']['has'](q3(_0x235886))||!this['e']['read'](q3(_0x235886));this['e']['add'](q3(_0x235886),_0x32d627,_0x15e4d1);}let _0x1dcb60=t['pluginManager'];_0x1dcb60?.['onPluginsChange']&&this['addSub'](_0x1dcb60['onPluginsChange'](()=>{this['Tt']&&this['ln'](this['Tt']);})),this['addSub'](this['e']['sub'](Q2('localeName'),async _0x5e07cb=>{if(!_0x5e07cb)return;this['Tt']=_0x5e07cb;let _0x218241=await(async _0x38c3d3=>{let _0x528f21=N2['get'](_0x38c3d3);if(!_0x528f21){let t=L2['get'](_0x38c3d3);if(!t)throw new Error('Locale\x20'+_0x38c3d3+'\x20is\x20not\x20defined');_0x528f21=$2(_0x38c3d3,await t());}return _0x528f21;})(_0x5e07cb);'en'!==_0x5e07cb&&this['Tt']!==_0x5e07cb||(this['ln'](_0x5e07cb),this['cn'](_0x5e07cb,_0x218241));})),this['addSub'](this['e']['sub'](Q2('localeDefinitionOverride'),_0x3a3dcf=>{if(!_0x3a3dcf)return;let _0x29b514=_0x3a3dcf[this['Tt']];_0x29b514&&this['cn'](this['Tt'],_0x29b514);}));}['cn'](t,_0x5cae87){let _0x3f2894=this['ze']['localeDefinitionOverride']?.[t];for(let [_0x779aa4,_0x46a77d]of Object['entries'](_0x5cae87)){let _0x5656e5=_0x3f2894?.[_0x779aa4];this['e']['add'](q3(_0x779aa4),_0x5656e5??_0x46a77d,!0x0);}}['ln'](t){let _0x1ab4fb=this['i']['pluginManager'];if(!_0x1ab4fb)return;let _0x4c6e08=_0x1ab4fb['snapshot']();for(let _0x22d52c of _0x4c6e08['l10n']){let {pluginId:_0x1b0500,..._0x8243b8}=_0x22d52c,_0x4ea4d4=_0x8243b8[t];if(_0x4ea4d4){for(let [_0x367640,_0xfb601]of Object['entries'](_0x4ea4d4))void 0x0!==_0xfb601&&this['e']['add'](q3(_0x367640),_0xfb601,!0x0);}}}},z3=()=>{let _0xf9708c=navigator['userAgent'];return/Macintosh|Windows/['test'](_0xf9708c)&&/Version\/[\d.]+.*Safari/['test'](_0xf9708c)&&!/Chrome|Chromium|Edg|OPR/['test'](_0xf9708c);},Y3={'safariDesktop':z3()},K3={'htmlMediaCapture':'capture'in document['createElement']('input')},J3='image/*',t4='video/*',e4=Y3['safariDesktop']?[J3]:[J3,...['image/heif','image/heif-sequence','image/heic','image/heic-sequence','image/avif','image/avif-sequence','.heif','.heifs','.heic','.heics','.avif','.avifs']],i4=_0x356b66=>_0x356b66?_0x356b66['filter'](_0x3c5b35=>'string'==typeof _0x3c5b35)['flatMap'](_0x26fb28=>J2(_0x26fb28)):[],s4=(_0x379a7c,_0x4fd9a0)=>_0x4fd9a0['some'](t=>{if(t['endsWith']('*')){let _0x1fd443=t['replace']('*','');return _0x379a7c['startsWith'](_0x1fd443);}return _0x379a7c===t;}),n4=_0x106565=>{let _0x7ccc=_0x106565?.['type'];return!!_0x7ccc&&s4(_0x7ccc,e4);},r4=class{constructor(_0x4cb34e,t){this['e']=_0x4cb34e,this['zc']=t,this['Xt']=new Set(),this['un']=this['e']['sub']('*lazyPlugins',_0x4e8edf=>{this['Bc'](_0x4e8edf??[]);});}['Bc'](_0x4b0742){for(let _0x2564fe of this['Xt'])_0x2564fe();if(this['Xt']['clear'](),0x0===_0x4b0742['length'])return;let t=new Set([Q2('plugins')]);for(let _0x4791ab of _0x4b0742)for(let _0x34d029 of _0x4791ab['configDeps'])t['add'](Q2(_0x34d029));let _0xecf930=()=>this['dn'](_0x4b0742);for(let _0x5c4c31 of t)this['Xt']['add'](this['e']['sub'](_0x5c4c31,_0xecf930,!0x1));this['dn'](_0x4b0742);}['dn'](_0x1b1224){this['ao']?.['abort']();let t=new AbortController();this['ao']=t;let _0x13ac25=_0x6f94c=>this['e']['read'](Q2(_0x6f94c)),_0x19f156=_0x13ac25('plugins'),_0x111228=(async({entries:_0x44a36b,signal:_0x137508})=>(await Promise['all'](_0x44a36b['map'](async _0x3a07e5=>{if(_0x3a07e5['isEnabled']())try{let _0xe33d69=await _0x3a07e5['load']();return _0x137508['aborted']||!_0x3a07e5['isEnabled']()?void 0x0:_0xe33d69??void 0x0;}catch(_0x425adb){return void(_0x137508['aborted']||console['warn']('Failed\x20to\x20load\x20lazy\x20plugin',_0x425adb));}})))['filter'](_0x14317c=>void 0x0!==_0x14317c))({'entries':_0x1b1224['map'](_0x3d5ecd=>({'isEnabled':()=>_0x3d5ecd['isEnabled'](_0x13ac25),'load':_0x3d5ecd['load']})),'signal':t['signal']})['then'](_0x49b21c=>{if(!t['signal']['aborted'])return[..._0x19f156,..._0x49b21c];});this['zc'](_0x111228);}['destroy'](){this['un']();for(let _0x33df87 of this['Xt'])_0x33df87();this['Xt']['clear'](),this['ao']?.['abort']();}},o4=class{constructor(){this['Ke']=new Map();}['register'](_0xe792df,t){if(this['Ke']['has'](t['name']))return void console['warn']('[CustomConfig]\x20Config\x20option\x20\x22'+t['name']+'\x22\x20is\x20already\x20registered');let _0x44fe9c={'attribute':!0x0,...t,'pluginId':_0xe792df};this['Ke']['set'](t['name'],_0x44fe9c);}['unregister'](_0x5e5354){this['Ke']['delete'](_0x5e5354);}['unregisterByPlugin'](_0x34be6e){for(let [t,_0xdb2606]of this['Ke'])_0xdb2606['pluginId']===_0x34be6e&&this['Ke']['delete'](t);}['get'](_0x2dcf64){return this['Ke']['get'](_0x2dcf64);}['getAll'](){return new Map(this['Ke']);}},a4=class{constructor(){this['Me']=[],this['de']=[],this['zi']=[],this['Hi']=[],this['Ki']=[],this['Et']=[],this['config']=new o4();}['xt'](_0x3f9336,t){return{...t,'pluginId':_0x3f9336};}['addSource'](_0x5e511b,t){let _0x3b4e38=this['Me']['find'](_0x3759e4=>_0x3759e4['id']===t['id']);_0x3b4e38?console['warn']('[Plugin\x20\x22'+_0x5e511b+'\x22]\x20Source\x20with\x20id\x20\x22'+t['id']+'\x22\x20is\x20already\x20registered\x20by\x20plugin\x20\x22'+_0x3b4e38['pluginId']+'\x22.\x20Skipping.'):this['Me']['push'](this['xt'](_0x5e511b,t));}['addActivity'](_0x1dcd58,t){let _0x322c44=this['de']['find'](_0x4a01b2=>_0x4a01b2['id']===t['id']);_0x322c44?console['warn']('[Plugin\x20\x22'+_0x1dcd58+'\x22]\x20Activity\x20with\x20id\x20\x22'+t['id']+'\x22\x20is\x20already\x20registered\x20by\x20plugin\x20\x22'+_0x322c44['pluginId']+'\x22.\x20Skipping.'):this['de']['push'](this['xt'](_0x1dcd58,t));}['addFileAction'](_0x1a9a59,t){this['zi']['push'](this['xt'](_0x1a9a59,t));}['addFileHook'](_0x42b3a9,t){this['Hi']['push'](this['xt'](_0x42b3a9,{'timeout':0x7530,...t}));}['addIcon'](_0x241a94,t){this['Ki']['push'](this['xt'](_0x241a94,t));}['addL10n'](_0x38bfd2,t){this['Et']['push'](this['xt'](_0x38bfd2,t));}['addConfig'](_0x1cc5d2,t){this['config']['register'](_0x1cc5d2,t);}['purge'](_0x50d7f1){this['Me']=this['Me']['filter'](t=>t['pluginId']!==_0x50d7f1),this['de']=this['de']['filter'](t=>t['pluginId']!==_0x50d7f1),this['zi']=this['zi']['filter'](t=>t['pluginId']!==_0x50d7f1),this['Hi']=this['Hi']['filter'](t=>t['pluginId']!==_0x50d7f1),this['Ki']=this['Ki']['filter'](t=>t['pluginId']!==_0x50d7f1),this['Et']=this['Et']['filter'](t=>t['pluginId']!==_0x50d7f1),this['config']['unregisterByPlugin'](_0x50d7f1);}['snapshot'](){return{'sources':[...this['Me']],'activities':[...this['de']],'fileActions':[...this['zi']],'fileHooks':[...this['Hi']],'icons':[...this['Ki']],'l10n':[...this['Et']]};}},c4=class extends b5{constructor(t){super(t),this['je']=new Map(),this['c']=new Set(),this['lo']=Promise['resolve'](),this['registry']=new a4(),this['pn']=new r4(this['e'],_0x3b0826=>{this['lo']=this['lo']['then'](()=>_0x3b0826)['then'](_0x2aae4e=>{if(_0x2aae4e)return this['Hc'](_0x2aae4e);});});}get['configRegistry'](){return this['registry']['config'];}['pluginsReady'](){return this['lo'];}['onPluginsChange'](t){return this['c']['add'](t),()=>{this['c']['delete'](t);};}async['Hc'](t){let _0x977ae6=new Set(this['je']['keys']()),_0x14dd52=new Set();for(let _0x23e53b of t)if(_0x23e53b['id']){if(_0x14dd52['has'](_0x23e53b['id']))console['warn']('[PluginManager]\x20Plugin\x20\x22'+_0x23e53b['id']+'\x22\x20is\x20already\x20in\x20the\x20list,\x20skipping\x20duplicate');else{if(_0x14dd52['add'](_0x23e53b['id']),!this['je']['has'](_0x23e53b['id']))try{await this['Kc'](_0x23e53b);}catch(_0x51b053){this['registry']['purge'](_0x23e53b['id']),this['co'](),console['error']('[PluginManager]\x20Plugin\x20\x22'+_0x23e53b['id']+'\x22\x20setup()\x20threw\x20an\x20error',_0x51b053);}_0x977ae6['delete'](_0x23e53b['id']);}}else console['warn']('[PluginManager]\x20A\x20plugin\x20is\x20missing\x20the\x20required\x20\x22id\x22\x20field,\x20skipping');for(let _0x4f81b6 of _0x977ae6)this['uo'](_0x4f81b6);}async['Kc'](t){this['je']['has'](t['id'])&&this['uo'](t['id']);let _0x238e36,_0x140d6c=[],_0x59fd2e=function(_0x18c203,_0x4e26bf,t,_0x116a1d,_0x33628e){return{'registry':{'registerSource':_0x54e819=>_0x18c203['addSource'](_0x116a1d,_0x54e819),'registerActivity':_0x4a36da=>_0x18c203['addActivity'](_0x116a1d,_0x4a36da),'registerFileAction':_0x5aae39=>_0x18c203['addFileAction'](_0x116a1d,_0x5aae39),'registerFileHook':_0x32d964=>_0x18c203['addFileHook'](_0x116a1d,_0x32d964),'registerIcon':_0x2e6d44=>_0x18c203['addIcon'](_0x116a1d,_0x2e6d44),'registerL10n':_0x4e0ba0=>_0x18c203['addL10n'](_0x116a1d,_0x4e0ba0),'registerConfig':_0x12b012=>{_0x18c203['addConfig'](_0x116a1d,_0x12b012);let _0xec42=Q2(_0x12b012['name']);_0x4e26bf['has'](_0xec42)||_0x4e26bf['add'](_0xec42,_0x12b012['defaultValue']);}},'config':{'get':_0x492ed4=>{let _0x3a27c2=Q2(_0x492ed4);return _0x4e26bf['read'](_0x3a27c2);},'subscribe':(_0x50db2e,_0xb5100a)=>{let _0x3b010f=Q2(_0x50db2e),_0x36fdd4=_0x4e26bf['sub'](_0x3b010f,_0x4d52e0=>{_0xb5100a(_0x4d52e0);});return _0x33628e['push'](_0x36fdd4),_0x36fdd4;}},'activity':{'getParams':()=>_0x4e26bf['read']('*currentActivityParams'),'subscribeToParams':_0x1a1a69=>{let _0x5df2cc=_0x4e26bf['sub']('*currentActivityParams',_0x21d6ae=>{_0x1a1a69(_0x21d6ae);});return _0x33628e['push'](_0x5df2cc),_0x5df2cc;}},'files':{'update':(_0x178369,_0x5e502e)=>{let _0xbab6e0=t['uploadCollection']?.['read'](_0x178369);_0xbab6e0&&(void 0x0!==_0x5e502e['file']&&(_0xbab6e0['setValue']('file',_0x5e502e['file']),_0xbab6e0['setValue']('fileSize',_0x5e502e['file']['size'])),void 0x0!==_0x5e502e['cdnUrl']&&_0xbab6e0['setValue']('cdnUrl',_0x5e502e['cdnUrl']),void 0x0!==_0x5e502e['cdnUrlModifiers']&&_0xbab6e0['setValue']('cdnUrlModifiers',_0x5e502e['cdnUrlModifiers']),void 0x0!==_0x5e502e['mimeType']&&_0xbab6e0['setValue']('mimeType',_0x5e502e['mimeType']));}}};}(this['registry'],this['e'],this['i'],t['id'],_0x140d6c),_0x5e2b59=this['i']['api'];try{_0x238e36=await t['setup']({'pluginApi':_0x59fd2e,'uploaderApi':_0x5e2b59})??void 0x0;}catch(_0x4106b3){for(let _0x140a24 of _0x140d6c)try{_0x140a24();}catch(_0x41cd57){this['w']('Failed\x20to\x20unsubscribe\x20config\x20listener',_0x41cd57);}throw _0x4106b3;}this['je']['set'](t['id'],{'plugin':t,'dispose':_0x238e36,'configSubscriptions':_0x140d6c}),this['co']();}['uo'](t){let _0x31c6bd=this['je']['get'](t);if(_0x31c6bd){this['registry']['purge'](t);for(let _0x5744a3 of _0x31c6bd['configSubscriptions'])try{_0x5744a3();}catch(_0xb473fc){this['w']('Failed\x20to\x20unsubscribe\x20config\x20listener',_0xb473fc);}_0x31c6bd['dispose']?.(),this['je']['delete'](t),this['co']();}}['snapshot'](){return this['registry']['snapshot']();}async['runOnAddHooks'](t){let _0x1d5e5f=t['getValue']('file');if(!_0x1d5e5f)return;let _0x956cc8=this['registry']['snapshot']()['fileHooks']['filter'](_0x5c0427=>'onAdd'===_0x5c0427['type']);if(0x0===_0x956cc8['length'])return;let _0x1cb04b=_0x1d5e5f,_0x484678=new AbortController();for(let _0x1d67bf of _0x956cc8){if(_0x484678['signal']['aborted'])break;try{let _0x5f4cd4=_0x1d67bf['handler']({'file':_0x1cb04b,'signal':_0x484678['signal']}),_0x30623=new Promise((_0x1f4c1c,_0x3c6806)=>setTimeout(()=>_0x3c6806(new Error('onAdd\x20hook\x20timed\x20out')),_0x1d67bf['timeout']));({file:_0x1cb04b}=await Promise['race']([_0x5f4cd4,_0x30623]));}catch(_0x516d3b){console['warn']('File\x20hook\x20\x22onAdd\x22\x20from\x20plugin\x20\x22'+_0x1d67bf['pluginId']+'\x22\x20failed',_0x516d3b);}}_0x1cb04b!==_0x1d5e5f&&(t['setValue']('file',_0x1cb04b),t['setValue']('fileSize',_0x1cb04b['size']),t['setValue']('mimeType',_0x1cb04b['type']||null),t['setValue']('isImage',n4(_0x1cb04b)),_0x1cb04b instanceof File&&t['setValue']('fileName',_0x1cb04b['name']));}['destroy'](){for(let t of Array['from'](this['je']['keys']()))this['uo'](t);this['pn']['destroy'](),super['destroy']();}['co'](){for(let t of this['c'])try{t();}catch{}}};function l4(_0x2c553f){return Array['isArray'](_0x2c553f)?_0x2c553f['map'](_0x3cd464=>'object'==typeof _0x3cd464&&null!==_0x3cd464?l4(_0x3cd464):_0x3cd464):'object'!=typeof _0x2c553f||null===_0x2c553f?_0x2c553f:Object['fromEntries'](Object['entries'](_0x2c553f)['map'](([_0x1333cd,t])=>{let _0x32ad63=function(_0x126047){return _0x126047['replace'](/[A-Z]/g,_0x211a5e=>'_'+_0x211a5e['toLowerCase']())['replace'](/__/g,'_');}(_0x1333cd);return'object'==typeof t&&null!==t?[_0x32ad63,l4(t)]:[_0x32ad63,t];}));}function h4(_0x4188d8){return{'ok':!0x1,'error':_0x4188d8};}var u4=class{constructor(_0x106b22='https://tlm.uploadcare.com/api/'){this['baseUrl']=_0x106b22;}async['base'](_0x12a0cf,t={}){let _0x4bec03=''+this['baseUrl']+_0x12a0cf;try{let _0x4514a1=await fetch(_0x4bec03,t);if(!_0x4514a1['ok'])return h4(new Error('Got\x20non-200\x20response\x20from\x20\x22'+_0x4bec03+'\x22.\x20Status:\x20'+_0x4514a1['status']['toString']()));try{return function(_0x50994c){return{'ok':!0x0,'value':_0x50994c};}(await _0x4514a1['json']());}catch(_0x12fa93){return h4(new Error('Error\x20parsing\x20JSON\x20from\x20\x22'+_0x4bec03+'\x22.\x20Error:\x20'+_0x12fa93));}}catch(_0x5c0dc2){return h4(new Error('Error\x20fetching\x20data\x20from\x20\x22'+_0x4bec03+'\x22.\x20Error:\x20'+_0x5c0dc2));}}async['post'](_0x22a3c4,t,_0x50c30a={}){return await this['base'](_0x22a3c4,{..._0x50c30a,'method':'POST','body':JSON['stringify'](l4(t)),'headers':{'Content-Type':'application/json',..._0x50c30a['headers']||{}}});}async['get'](_0x9d58ee,t={}){return await this['base'](_0x9d58ee,{'method':'GET',...t});}},d4=class extends u4{constructor(){super();}async['sendEvent'](_0x4bd697,t){let _0x58b05b=await(async _0x35a07f=>(async(_0x13b556,_0xd2a6b0)=>({'success':!0x0,'data':_0xd2a6b0}))(0x0,_0x35a07f))(_0x4bd697);if(!_0x58b05b['success'])throw console['error']('TelemetryAPIService:\x20events:\x20body\x20is\x20invalid',_0x58b05b['error']),new Error('TelemetryAPIService:\x20events:\x20body\x20is\x20invalid');return this['post']('v1/events',_0x4bd697,t);}},f4=Object['freeze']({'INIT_SOLUTION':'init-solution','CHANGE_CONFIG':'change-config','ACTION_EVENT':'action-event','ERROR_EVENT':'error-event'}),m4=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'}),p4=class extends b5{constructor(){super(...arguments),this['Qt']=new Map(),this['ji']=new Set(),this['te']=new Map();}['bindTarget'](t){return this['ji']['add'](t),()=>{this['ji']['delete'](t);};}['on'](t,_0x48ae13){let _0x2a9052=this['te']['get'](t);return _0x2a9052||(_0x2a9052=new Set(),this['te']['set'](t,_0x2a9052)),_0x2a9052['add'](_0x48ae13),()=>this['te']['get'](t)?.['delete'](_0x48ae13);}['hn'](t,_0x11b9ac){for(let _0x55db72 of this['ji'])_0x55db72['dispatchEvent'](new CustomEvent(t,{'detail':_0x11b9ac}));let _0x51ad9e=this['te']['get'](t);if(_0x51ad9e){for(let _0x5eabd5 of _0x51ad9e)_0x5eabd5(_0x11b9ac);}this['w']?.(()=>{let _0x44aae4=_0x11b9ac&&'object'==typeof _0x11b9ac?{..._0x11b9ac}:_0x11b9ac;return['event\x20\x22'+t+'\x22',_0x44aae4];});}['emit'](t,_0x3cf2b9,_0x4fb843={}){let {debounce:_0x242660}=_0x4fb843;if('number'!=typeof _0x242660&&!_0x242660)return void this['hn'](t,'function'==typeof _0x3cf2b9?_0x3cf2b9():_0x3cf2b9);this['Qt']['has'](t)&&window['clearTimeout'](this['Qt']['get'](t));let _0x337ffd='number'==typeof _0x242660?_0x242660:0x14,_0x22789b=window['setTimeout'](()=>{try{let _0x2ab2c3='function'==typeof _0x3cf2b9?_0x3cf2b9():_0x3cf2b9;this['hn'](t,_0x2ab2c3),this['Qt']['delete'](t);}catch(_0x2cdd0f){this['w']?.(()=>'Error\x20while\x20getting\x20payload\x20for\x20event\x20\x22'+t+'\x22',_0x2cdd0f);}},_0x337ffd);this['Qt']['set'](t,_0x22789b);}['destroy'](){for(let t of this['Qt']['values']())window['clearTimeout'](t);this['ji']['clear'](),this['te']['clear']();}},g4='blocks',O4='1.29.0',w4=class extends b5{constructor(t){super(t),this['jc']=k2['generateRandomUUID'](),this['Ct']=structuredClone(O5),this['po']=!0x1,this['ho']=null,this['Oe']=!0x1,this['mn']=new d4(),this['St']=new N3(0xa),this['addSub'](this['e']['sub'](Q2('qualityInsights'),_0x40beeb=>{this['Oe']=!!_0x40beeb;}));for(let _0x3b2744 of Object['keys'](this['Ct']))this['addSub'](this['e']['sub'](Q2(_0x3b2744),_0x484ffb=>{this['Oe']&&(this['po']&&this['Ct'][_0x3b2744]!==_0x484ffb&&this['sendEvent']({'eventType':f4['CHANGE_CONFIG']}),this['Gc'](_0x3b2744,_0x484ffb));}));}['qc'](t){t===f4['INIT_SOLUTION']&&!this['po']&&(this['po']=!0x0);}['Gc'](t,_0x39aaa4){this['Ct'][t]!==_0x39aaa4&&(this['Ct'][t]=_0x39aaa4);}['Wc'](t){let _0x58f5e7=t['payload']?{...t['payload']}:{};_0x58f5e7['activity']&&(_0x58f5e7['activity']=void 0x0);let _0x25cfc5={...t};return(t['eventType']===f4['INIT_SOLUTION']||t['eventType']===f4['CHANGE_CONFIG'])&&(_0x25cfc5['config']=this['Ct']),{..._0x25cfc5,'appVersion':O4,'appName':g4,'sessionId':this['jc'],'component':this['Zc'],'activity':this['Yc'],'projectPubkey':this['Ct']['pubkey'],'userAgent':navigator['userAgent'],'eventType':_0x25cfc5['eventType']??'','eventTimestamp':this['Xc'],'payload':{'location':this['Qc'],..._0x58f5e7}};}['Jc'](t){return!(!t||![m4['CHANGE'],m4['COMMON_UPLOAD_PROGRESS'],m4['FILE_ADDED'],m4['FILE_REMOVED'],m4['FILE_UPLOAD_START'],m4['FILE_UPLOAD_PROGRESS'],m4['FILE_UPLOAD_SUCCESS'],m4['FILE_UPLOAD_FAILED']]['includes'](t));}['sendEvent'](t){if(!this['Oe'])return;let _0x2387ac=this['Wc']({'eventType':t['eventType'],'payload':t['payload'],'config':t['config']});this['qc'](t['eventType']),!(this['Jc'](t['eventType'])||this['ho']&&this['gn'](this['ho'],_0x2387ac))&&this['St']['add'](async()=>{this['ho']=_0x2387ac,await this['mn']['sendEvent'](_0x2387ac);});}['sendEventError'](t,_0x221515='unknown'){this['sendEvent']({'eventType':f4['ERROR_EVENT'],'payload':{'metadata':{'event':'error','text':'Error\x20in\x20'+_0x221515,'error':t['message']}}});}['sendEventCloudImageEditor'](t,_0x48d310,_0x5ed4d7={}){this['sendEvent']({'eventType':f4['ACTION_EVENT'],'payload':{'metadata':{'tabId':_0x48d310,'node':t['currentTarget']?.['tagName'],'event':t['type'],..._0x5ed4d7}}});}['gn'](t,_0x19c7d4){if(JSON['stringify'](t)===JSON['stringify'](_0x19c7d4))return!0x0;if('object'!=typeof t||'object'!=typeof _0x19c7d4||null==t||null==_0x19c7d4)return!0x1;let _0x453f4e=Object['keys'](t),_0x4666b3=Object['keys'](_0x19c7d4);if(_0x453f4e['length']!==_0x4666b3['length'])return!0x1;for(let _0x4dae49 of _0x453f4e)if(!Object['hasOwn'](_0x19c7d4,_0x4dae49)||!this['gn'](t[_0x4dae49],_0x19c7d4[_0x4dae49]))return!0x1;return!0x0;}get['Xc'](){return Date['now']();}get['Zc'](){if(!this['e']['has']('*solution'))return null;let t=this['e']['read']('*solution');return t?t['toLowerCase']():null;}get['Yc'](){return this['e']['has']('*currentActivity')?this['e']['read']('*currentActivity'):null;}get['Qc'](){return location['origin'];}},b4=_0x47ec47=>_0x47ec47,y4='plural:';function v4(_0x170dc8,_0x4ace74={},t={}){let {openToken:_0x448b81='{{',closeToken:_0x2a2e6e='}}',transform:_0x4b84c0=b4}=t;for(let _0x185186 in _0x4ace74){let _0x1fd7cd=_0x4ace74[_0x185186]?.['toString'](),_0x127f3d='string'==typeof _0x1fd7cd?_0x4b84c0(_0x1fd7cd):String(_0x1fd7cd);_0x170dc8=_0x170dc8['replaceAll'](_0x448b81+_0x185186+_0x2a2e6e,_0x127f3d);}return _0x170dc8;}var _4='--uploadcare-blocks-window-height',E4=class o{static{this['clientsRegistry']=new Set();}static{this['flush']=T2(()=>{document['documentElement']['style']['setProperty'](_4,window['innerHeight']+'px');},0x64);}static['registerClient'](_0x4c6f43){0x0===o['clientsRegistry']['size']&&o['attachTracker'](),o['clientsRegistry']['add'](_0x4c6f43);}static['unregisterClient'](_0x4aa8af){o['clientsRegistry']['delete'](_0x4aa8af),0x0===o['clientsRegistry']['size']&&o['detachTracker']();}static['attachTracker'](){window['addEventListener']('resize',o['flush'],{'passive':!0x0,'capture':!0x0}),o['flush']();}static['detachTracker'](){window['removeEventListener']('resize',o['flush'],{'capture':!0x0}),document['documentElement']['style']['removeProperty'](_4);}},T4=(_0x4ad647,_0x5a03e6)=>new Intl['PluralRules'](_0x4ad647)['select'](_0x5a03e6),A4=_0x10d571=>{let _0x563a7c=(_0x569060=>(_0x52a250,t)=>{let _0x33f013=_0x569060();return _0x33f013(_0x52a250+'__'+T4(_0x33f013('locale-id')||'en',t));})(()=>t),t=(_0x5b4ee4,_0x54f5b5={})=>{if(!_0x5b4ee4)return'';let _0xa6587f=_0x10d571()['read'](q3(_0x5b4ee4))||_0x5b4ee4,_0x155fc5=function(_0x405fe2){let _0x20fff5=[],t=_0x405fe2['indexOf']('{{');for(;-0x1!==t;){let _0x301bc8=_0x405fe2['indexOf']('}}',t);if(-0x1===_0x301bc8)break;let _0xe58292=_0x405fe2['substring'](t+0x2,_0x301bc8);if(_0xe58292['startsWith'](y4)){let _0x24597b=_0x405fe2['substring'](t+0x2,_0x301bc8)['replace'](y4,''),_0x5a7cbe=_0x24597b['substring'](0x0,_0x24597b['indexOf']('(')),_0x10ec4f=_0x24597b['substring'](_0x24597b['indexOf']('(')+0x1,_0x24597b['indexOf'](')'));_0x20fff5['push']({'variable':_0xe58292,'pluralKey':_0x5a7cbe,'countVariable':_0x10ec4f});}t=_0x405fe2['indexOf']('{{',_0x301bc8);}return _0x20fff5;}(_0xa6587f);for(let _0x14539d of _0x155fc5)_0x54f5b5[_0x14539d['variable']]=_0x563a7c(_0x14539d['pluralKey'],Number(_0x54f5b5[_0x14539d['countVariable']]));return v4(_0xa6587f,_0x54f5b5);};return t;},S4=class{constructor(_0x4b77c9){this['Ge']=new Set(),this['Gi']=new Map(),this['vn']=!0x1,this['qe']=_0x4b77c9,this['qe']['addController'](this);}['hostDisconnected'](){this['qi']?.(),this['qi']=void 0x0,this['Ge']['clear'](),this['Gi']['clear']();}['hostUpdated'](){if(!this['qi']&&this['qe']['has'](Q2('testMode'))){let _0x54c467=this['qe']['subConfigValue']('testMode',t=>{this['vn']=!!t,this['yn']();});this['qi']=_0x54c467;}this['eu'](),this['yn']();}['eu'](){let _0x21808f=this['qe'],t=_0x21808f['renderRoot']??_0x21808f;if(!t)return;let _0x56ce0d=this['qe'],_0x43526b=_0x56ce0d['tagName']?.['toLowerCase'](),_0x5ecc0f=Array['from'](t['querySelectorAll']('[data-testid]'))['filter'](_0x28b6d4=>!(_0x1fb452=>_0x1fb452['tagName']?.['includes']('-')??!0x1)(_0x28b6d4));for(let _0x3118e2 of _0x5ecc0f)if(!(_0x43526b&&_0x3118e2['closest'](_0x43526b)!==_0x56ce0d||this['Ge']['has'](_0x3118e2))){let _0x3a86e9=_0x3118e2['getAttribute']('data-testid');if(!_0x3a86e9)continue;this['Ge']['add'](_0x3118e2),this['Gi']['set'](_0x3118e2,_0x3a86e9);}for(let _0x577c0f of Array['from'](this['Ge']))(!_0x577c0f['isConnected']||_0x43526b&&_0x577c0f['closest'](_0x43526b)!==_0x56ce0d)&&(this['Ge']['delete'](_0x577c0f),this['Gi']['delete'](_0x577c0f));}['yn'](){if(!this['Ge']['size'])return;let _0x3f23b4=this['qe']['testId']||'';for(let t of this['Ge']){let _0x2b2ae7=this['Gi']['get'](t);_0x2b2ae7&&(this['vn']?t['setAttribute']('data-testid',_0x3f23b4+'--'+_0x2b2ae7):t['removeAttribute']('data-testid'));}}},I4=m2(S2()(d2(f2(l2)))),k4=class extends I4{constructor(){super(),this['init$']={},this['l10n']=A4(()=>this['sharedCtx']),this['debugPrint']=w5(()=>this['sharedCtx'],this['constructor']['name']),this['i']=_5(()=>this['sharedCtx']),new S4(this);}static{this['styleAttrs']=[];}['emit'](t,_0x24ef51,_0x13f562){let _0x539f0c=this['has']('*eventEmitter')?this['$']['*eventEmitter']:void 0x0;if(!_0x539f0c)return;_0x539f0c['emit'](t,_0x24ef51,_0x13f562);let _0x5a6b70='function'==typeof _0x24ef51?_0x24ef51():_0x24ef51;this['telemetryManager']['sendEvent']({'eventType':t,'payload':_0x5a6b70??void 0x0});}['hasBlockInCtx'](t){for(let _0x1ffec6 of this['blocksRegistry'])if(t(_0x1ffec6))return!0x0;return!0x1;}['connectedCallback'](){this['constructor']['styleAttrs']['forEach'](_0x2cabac=>{this['setAttribute'](_0x2cabac,'');}),super['connectedCallback'](),E4['registerClient'](this);}['initCallback'](){this['Z']('*blocksRegistry',()=>new Set()),this['Z']('*pluginManager',t=>new c4(t)),this['Z']('*eventEmitter',t=>new p4(t)),this['Z']('*localeManager',t=>new W3(t)),this['Z']('*modalManager',t=>new T5(t)),this['Z']('*a11y',()=>new X3()),this['Z']('*clipboard',t=>new Q3(t)),this['Z']('*telemetryManager',t=>new w4(t)),this['sub'](q3('locale-id'),t=>{let _0x5b0d07=(_0x441a5a=>{let _0x52d33b=new Intl['Locale'](_0x441a5a),t='ltr',_0x4512e4=_0x52d33b['getTextInfo']?.()['direction'];return _0x4512e4?t=_0x4512e4:_0x52d33b['textInfo']?.['direction']&&(t=_0x52d33b['textInfo']['direction']),t;})(t);this['style']['direction']='ltr'===_0x5b0d07?'':_0x5b0d07,this['requestUpdate']();}),this['subConfigValue']('testMode',t=>{t&&this['testId']?this['setAttribute']('data-testid',this['testId']):this['removeAttribute']('data-testid');}),this['blocksRegistry']['add'](this);}get['testId'](){return window['customElements']['getName'](this['constructor']);}get['modalManager'](){return this['ie']('*modalManager',!0x1);}get['telemetryManager'](){return this['ie']('*telemetryManager');}get['localeManager'](){return this['ie']('*localeManager');}get['a11y'](){return this['ie']('*a11y');}get['clipboardLayer'](){return this['ie']('*clipboard');}get['blocksRegistry'](){return this['ie']('*blocksRegistry');}get['eventEmitter'](){return this['ie']('*eventEmitter');}['disconnectedCallback'](){super['disconnectedCallback'](),E4['unregisterClient'](this);let t=this['blocksRegistry'];t?.['delete'](this),0x0===t?.['size']&&setTimeout(()=>{this['isConnected']||t?.['size']>0x0||this['destroyCtxCallback']();},0x0);}['destroyCtxCallback'](){this['tu'](),i1['deleteCtx'](this['ctxName']);}['bn'](){let t='*sharedContextInstances';if(!this['has'](t)||!this['$'][t]){let _0x502d63=new Map();this['add'](t,_0x502d63,!0x0);}return this['$'][t];}['Z'](t,_0x9ebac2){let _0x30593e=this['bn']();if(!(_0x30593e['has'](t)||this['has'](t)&&this['$'][t])){let _0x388b73=_0x9ebac2(this['i']);return this['add'](t,_0x388b73,!0x0),void _0x30593e['set'](t,_0x388b73);}}['tu'](){let t=this['bn']();for(let [_0x1a40ff,_0x15cb32]of t['entries']())_0x15cb32?.['destroy']?.(),this['pub'](_0x1a40ff,null);t['clear']();}['ie'](t,_0x208e53=!0x0){if(this['has'](t)&&this['$'][t])return this['$'][t];if(!_0x208e53)return this['$'][t];throw new Error('Unexpected\x20error:\x20context\x20manager\x20for\x20key\x20\x22'+String(t)+'\x22\x20is\x20not\x20available');}async['proxyUrl'](t){if(this['cfg']['secureDeliveryProxy']&&this['cfg']['secureDeliveryProxyUrlResolver']&&console['warn']('Both\x20secureDeliveryProxy\x20and\x20secureDeliveryProxyUrlResolver\x20are\x20set.\x20The\x20secureDeliveryProxyUrlResolver\x20will\x20be\x20used.'),this['cfg']['secureDeliveryProxyUrlResolver'])try{return await this['cfg']['secureDeliveryProxyUrlResolver'](t,{'uuid':Z2(t),'cdnUrlModifiers':G2(t),'fileName':H2(t)});}catch(_0x440987){return console['error']('Failed\x20to\x20resolve\x20secure\x20delivery\x20proxy\x20URL.\x20Falling\x20back\x20to\x20the\x20default\x20URL.',_0x440987),this['telemetryManager']['sendEventError'](_0x440987,'secureDeliveryProxyUrlResolver.\x20Failed\x20to\x20resolve\x20secure\x20delivery\x20proxy\x20URL.\x20Falling\x20back\x20to\x20the\x20default\x20URL.'),t;}return this['cfg']['secureDeliveryProxy']?v4(this['cfg']['secureDeliveryProxy'],{'previewUrl':t},{'transform':_0x2593c0=>window['encodeURIComponent'](_0x2593c0)}):t;}get['cfg'](){if(!this['Be']){let t={};this['Be']=new Proxy(t,{'set':(_0x2c8b17,_0x2586da,_0xea52c3)=>{if('string'!=typeof _0x2586da||!(_0x2586da in O5))return!0x1;let _0x39a2fa=_0x2586da,_0x4318b4=Q2(_0x39a2fa);return this['has'](_0x4318b4)||this['add'](_0x4318b4,O5[_0x39a2fa]),this['$'][_0x4318b4]=_0xea52c3,!0x0;},'get':(_0x3d1245,_0x2b0f5d)=>{let _0x12d648=Q2(_0x2b0f5d);return this['has'](_0x12d648)||this['add'](_0x12d648,O5[_0x2b0f5d]),this['$'][_0x12d648];}});}return this['Be'];}['subConfigValue'](t,_0x4d3091){let _0x97388d=Q2(t);return this['has'](_0x97388d)||this['add'](_0x97388d,O5[t]),this['sub'](_0x97388d,_0x4d3091);}},x4=0x1,C4=0x2,R4=_0x3d01c3=>(..._0x2e3567)=>({'qr':_0x3d01c3,'values':_0x2e3567}),P4=class{constructor(_0x42b0e8){}get['W'](){return this['f']['W'];}['Wr'](_0x4692d2,t,_0x537ee5){this['Wi']=_0x4692d2,this['f']=t,this['iu']=_0x537ee5;}['Lc'](_0x2b8b55,t){return this['update'](_0x2b8b55,t);}['update'](_0x4a3f97,t){return this['render'](...t);}},M4=class extends P4{constructor(_0x3851b9){if(super(_0x3851b9),this['it']=X1,_0x3851b9['type']!==C4)throw Error(this['constructor']['directiveName']+'()\x20can\x20only\x20be\x20used\x20in\x20child\x20bindings');}['render'](_0x34014f){if(_0x34014f===X1||null==_0x34014f)return this['wn']=void 0x0,this['it']=_0x34014f;if(_0x34014f===G1)return _0x34014f;if('string'!=typeof _0x34014f)throw Error(this['constructor']['directiveName']+'()\x20called\x20with\x20a\x20non-string\x20value');if(_0x34014f===this['it'])return this['wn'];this['it']=_0x34014f;let t=[_0x34014f];return t['raw']=t,this['wn']={'Ne':this['constructor']['resultType'],'strings':t,'values':[]};}};M4['directiveName']='unsafeHTML',M4['resultType']=0x1;var N4=class extends M4{};N4['directiveName']='unsafeSVG',N4['resultType']=0x2;var L4=R4(N4),$4=class extends k4{constructor(){super(...arguments),this['init$']=(_0x46be14=>({...$3(_0x46be14),'*solution':null,'*lazyPlugins':null}))(this);}static{this['styleAttrs']=['uc-wgt-common'];}static{this['lazyPlugins']=null;}['initCallback'](){super['initCallback'](),this['a11y']?.['registerBlock'](this),this['clipboardLayer']?.['registerBlock'](this),this['sharedCtx']['pub']('*solution',this['tagName']);let t=this['constructor']['lazyPlugins'];t&&this['sharedCtx']['pub']('*lazyPlugins',t);}['render'](){return Z1`${L4('<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>')}`;}},D4=_0x4b63d7=>'number'!=typeof _0x4b63d7?0x0:Math['floor'](_0x4b63d7/0x3e8),Q4=class extends b5{constructor(){super(...arguments),this['We']=null;}async['getSecureToken'](){let {secureSignature:t,secureExpire:_0x5a5797,secureUploadsSignatureResolver:_0x448fa2,secureUploadsExpireThreshold:_0x1c64d1}=this['ze'];if((t||_0x5a5797)&&_0x448fa2&&console['warn']('Both\x20secureSignature/secureExpire\x20and\x20secureUploadsSignatureResolver\x20are\x20set.\x20secureUploadsSignatureResolver\x20will\x20be\x20used.'),_0x448fa2){if(!this['We']||((_0x4ab0f0,{threshold:_0x4104d2})=>{let {secureExpire:t}=_0x4ab0f0,_0x2b58c5=D4(Date['now']()),_0x10b6cb=Number(t);return _0x2b58c5+D4(_0x4104d2)>=_0x10b6cb;})(this['We'],{'threshold':_0x1c64d1})){this['We']?this['w']('Secure\x20signature\x20is\x20expired.\x20Resolving\x20a\x20new\x20one...'):this['w']('Secure\x20signature\x20is\x20not\x20set\x20yet.');try{let _0x6148a4=await _0x448fa2();_0x6148a4?_0x6148a4['secureSignature']&&_0x6148a4['secureExpire']?(this['w']('Secure\x20signature\x20resolved:',_0x6148a4),this['w']('Secure\x20signature\x20will\x20expire\x20in',new Date(0x3e8*Number(_0x6148a4['secureExpire']))['toISOString']()),this['We']=_0x6148a4):console['error']('Secure\x20signature\x20resolver\x20returned\x20an\x20invalid\x20result:',_0x6148a4):(this['w']('Secure\x20signature\x20resolver\x20returned\x20nothing.'),this['We']=null);}catch(_0x56f9c6){console['error']('Secure\x20signature\x20resolving\x20failed.\x20Falling\x20back\x20to\x20the\x20previous\x20one.',_0x56f9c6),this['i']['telemetryManager']['sendEventError'](_0x56f9c6,'secureUploadsSignatureResolver.\x20Secure\x20signature\x20resolving\x20failed.\x20Falling\x20back\x20to\x20the\x20previous\x20one.');}}return this['We'];}return t&&_0x5a5797?(this['w']('Secure\x20signature\x20and\x20expire\x20are\x20set.\x20Using\x20them...',{'secureSignature':t,'secureExpire':_0x5a5797}),{'secureSignature':t,'secureExpire':_0x5a5797}):null;}['destroy'](){super['destroy'](),this['We']=null;}},j4=(_0x2d0f55,_0x495b28)=>{if(_0x2d0f55['failedCount']>0x0)return{'type':'SOME_FILES_HAS_ERRORS','message':_0x495b28['l10n']('some-files-were-not-uploaded')};},U4=(_0x264b35,_0x56950c)=>{let t=_0x264b35['totalCount'],_0x37d0bb=_0x56950c['cfg']['multiple']?_0x56950c['cfg']['multipleMin']:0x0,_0x42eba2=_0x56950c['cfg']['multiple']?_0x56950c['cfg']['multipleMax']:0x1;return _0x37d0bb&&t<_0x37d0bb?{'type':'TOO_FEW_FILES','message':_0x56950c['l10n']('files-count-limit-error-too-few',{'min':_0x37d0bb,'max':_0x42eba2,'total':t}),'payload':{'total':t,'min':_0x37d0bb,'max':_0x42eba2}}:_0x42eba2&&t>_0x42eba2?{'type':'TOO_MANY_FILES','message':_0x56950c['l10n']('files-count-limit-error-too-many',{'min':_0x37d0bb,'max':_0x42eba2,'total':t}),'payload':{'total':t,'min':_0x37d0bb,'max':_0x42eba2}}:void 0x0;},V4=(_0x1150bd,_0x3ec77)=>{let t=_0x3ec77['cfg']['imgOnly'],_0x347e0c=_0x3ec77['cfg']['accept'],_0x4bb13d=i4([...t?e4:[],_0x347e0c]);if(!_0x4bb13d['length'])return;let _0x661702=_0x1150bd['mimeType'],_0x3e60d2=_0x1150bd['name'];if(!_0x661702||!_0x3e60d2)return;let _0x32a617=s4(_0x661702,_0x4bb13d),_0x508fcf=((_0x31dc5f,_0x53af1b)=>_0x53af1b['some'](t=>!!t['startsWith']('.')&&_0x31dc5f['toLowerCase']()['endsWith'](t['toLowerCase']())))(_0x3e60d2,_0x4bb13d);return _0x32a617||_0x508fcf?void 0x0:{'type':'FORBIDDEN_FILE_TYPE','message':_0x3ec77['l10n']('file-type-not-allowed'),'payload':{'entry':_0x1150bd}};},B4=(_0x39f7b1,_0x988083)=>{let t=_0x988083['cfg']['imgOnly'],_0x1e3cae=_0x39f7b1['isImage'];if(t&&!_0x1e3cae&&(_0x39f7b1['fileInfo']||!_0x39f7b1['externalUrl'])&&(_0x39f7b1['fileInfo']||_0x39f7b1['mimeType']))return{'type':'NOT_AN_IMAGE','message':_0x988083['l10n']('images-only-accepted'),'payload':{'entry':_0x39f7b1}};},F4=0x3e8,H4=Object['freeze']({'AUTO':'auto','BYTE':'byte','KB':'kb','MB':'mb','GB':'gb','TB':'tb','PB':'pb'}),Z4=_0x4f96a6=>Math['ceil'](0x64*_0x4f96a6)/0x64,G4=(_0x28f66e,_0x2b1b9d=H4['AUTO'])=>{let t=_0x2b1b9d===H4['AUTO'];return _0x2b1b9d===H4['BYTE']||t&&_0x28f66e<0x3e8?_0x28f66e+'\x20'+('one'===T4('en-US',_0x28f66e)?'byte':'bytes'):_0x2b1b9d===H4['KB']||t&&_0x28f66e<F4**0x2?Z4(_0x28f66e/0x3e8)+'\x20KB':_0x2b1b9d===H4['MB']||t&&_0x28f66e<F4**0x3?Z4(_0x28f66e/F4**0x2)+'\x20MB':_0x2b1b9d===H4['GB']||t&&_0x28f66e<F4**0x4?Z4(_0x28f66e/F4**0x3)+'\x20GB':_0x2b1b9d===H4['TB']||t&&_0x28f66e<F4**0x5?Z4(_0x28f66e/F4**0x4)+'\x20TB':Z4(_0x28f66e/F4**0x5)+'\x20PB';},X4=(_0x2ddfb6,_0x224e4f)=>{let t=_0x224e4f['cfg']['maxLocalFileSizeBytes'],_0x47e6aa=_0x2ddfb6['size'];if(t&&_0x47e6aa&&_0x47e6aa>t)return{'type':'FILE_SIZE_EXCEEDED','message':_0x224e4f['l10n']('files-max-size-limit-error',{'maxFileSize':G4(t)}),'payload':{'entry':_0x2ddfb6}};},q4=(_0x304152,_0x317540)=>{let {internalId:t}=_0x304152;if(!_0x317540['v']['hasItem'](t))return;let _0x17451a=_0x317540['v']['read'](t)?.['getValue']('uploadError');if(!_0x17451a)return;if(_0x17451a instanceof i3)return{'type':'UPLOAD_ERROR','message':_0x17451a['message'],'payload':{'entry':_0x304152,'error':_0x17451a}};if(_0x17451a instanceof L5)return{'type':'NETWORK_ERROR','message':_0x17451a['message'],'payload':{'entry':_0x304152,'error':_0x17451a}};let _0x4bde1f=_0x17451a instanceof Error?_0x17451a:new Error('Unknown\x20error',{'cause':_0x17451a});return{'type':'UNKNOWN_ERROR','message':_0x4bde1f['message'],'payload':{'entry':_0x304152,'error':_0x4bde1f}};},W4='File\x20validator\x20execution\x20has\x20failed',z4='File\x20validator\x20execution\x20has\x20timed\x20out',Y4='Collection\x20validator\x20execution\x20has\x20failed',K4='Missing\x20message.\x20We\x20recommend\x20adding\x20message:\x20value.',J4=_0x547e29=>'function'==typeof _0x547e29?{'runOn':'change','validator':_0x547e29}:_0x547e29,t6=class extends b5{constructor(t){super(t),this['ru']=[B4,V4,X4,q4],this['ou']=[U4,j4],this['St']=new N3(0x14),this['Tn']=T2(()=>{this['St']['run']();},0x1f4),this['Ie']=!0x1,this['At']=new Map();let _0x40864a=T2(()=>{this['runFileValidators']('change'),this['runCollectionValidators']();},0x0);this['addSub'](this['e']['sub'](Q2('maxLocalFileSizeBytes'),_0x40864a)),this['addSub'](this['e']['sub'](Q2('multipleMin'),_0x40864a)),this['addSub'](this['e']['sub'](Q2('multipleMax'),_0x40864a)),this['addSub'](this['e']['sub'](Q2('multiple'),_0x40864a)),this['addSub'](this['e']['sub'](Q2('imgOnly'),_0x40864a)),this['addSub'](this['e']['sub'](Q2('accept'),_0x40864a)),this['addSub'](this['e']['sub'](Q2('validationConcurrency'),_0x44ebcd=>{this['St']['concurrency']=_0x44ebcd;}));}get['v'](){return this['i']['uploadCollection'];}['runFileValidators'](t,_0x1a4c6e){if(this['Ie'])return;let _0x2ec3d0=_0x1a4c6e??this['v']['items']();for(let _0x5e640e of _0x2ec3d0){let _0x14c923=this['v']['read'](_0x5e640e);_0x14c923&&this['su'](_0x14c923,t);}}['runCollectionValidators'](){if(this['Ie'])return;let t=this['i']['api'],_0x2abed4=t['getOutputCollectionState'](),_0x327d49=[],_0x3fec55=this['ze']['collectionValidators'];for(let _0x306a02 of[...this['ou'],..._0x3fec55])try{let _0x255ef4=_0x306a02(_0x2abed4,t);if(!_0x255ef4)continue;_0x255ef4&&(_0x327d49['push'](this['En'](_0x255ef4)),_0x255ef4['message']||console['warn'](K4));}catch(_0x22e32a){console['warn'](Y4,_0x22e32a);}this['e']['pub']('*collectionErrors',_0x327d49),_0x327d49['length']>0x0&&this['i']['eventEmitter']['emit'](m4['COMMON_UPLOAD_FAILED'],()=>t['getOutputCollectionState'](),{'debounce':!0x0});}['cleanupValidationForEntry'](t){let _0x33f59b=this['At']['get'](t['uid']);_0x33f59b&&(_0x33f59b['abortController']?.['abort'](),this['At']['delete'](t['uid']));}async['su'](t,_0x2e5482){if(this['Ie'])return;let _0x30dcf4=this['i']['api'],_0x1cde1d=this['xn'](t),_0x1e47b6=_0x1cde1d['promise']??Promise['resolve'](),_0x3b0d88=((async()=>{if(this['Ie']||(await _0x1e47b6,this['Ie']))return;let _0x2fbc37=this['nu'](t,_0x2e5482);if(0x0===_0x2fbc37['length']||!this['v']['hasItem'](t['uid']))return;t['setMultipleValues']({'isQueuedForValidation':!0x0,'isValidationPending':!0x0});let _0x9d2a03=_0x30dcf4['getOutputItem'](t['uid']),_0x2935c9=new AbortController();_0x1cde1d['abortController']=_0x2935c9;let _0x32e2a7=this['ze']['validationTimeout'],_0x589ff3=this['Cn'](),_0x5621b5=new Set(_0x2fbc37['map'](_0x1a0e65=>_0x1a0e65['validator'])),_0x2db994=[];for(let _0x5f5520 of _0x589ff3)if(!_0x5621b5['has'](_0x5f5520['validator'])){let _0x2074eb=_0x1cde1d['lastErrorThrownByValidator']['get'](_0x5f5520['validator']);_0x2074eb&&_0x2db994['push'](_0x2074eb);}let _0x4946e2=_0x2fbc37['map'](_0xd3ab7=>async()=>{if(this['Ie'])return;let _0x589fa4=setTimeout(()=>{_0x1cde1d['skippedValidators']['add'](_0xd3ab7['validator']),_0x2935c9['abort'](),console['warn'](z4);},_0x32e2a7);try{let _0x32fe05=await _0xd3ab7['validator'](_0x9d2a03,_0x30dcf4,{'signal':_0x2935c9['signal']});if(!_0x32fe05||_0x2935c9['signal']['aborted'])return void _0x1cde1d['lastErrorThrownByValidator']['set'](_0xd3ab7['validator'],void 0x0);let _0x39687d=this['En'](_0x32fe05);_0x1cde1d['lastErrorThrownByValidator']['set'](_0xd3ab7['validator'],_0x39687d),_0x2db994['push'](_0x39687d),_0x32fe05['message']||console['warn'](K4);}catch(_0xbcb274){_0x2935c9['signal']['aborted']||(_0x1cde1d['skippedValidators']['add'](_0xd3ab7['validator']),console['warn'](W4,_0xbcb274),this['i']['telemetryManager']['sendEventError'](_0xbcb274,'file\x20validator.\x20'+W4));}finally{clearTimeout(_0x589fa4),'change'!==_0xd3ab7['runOn']&&_0x1cde1d['skippedValidators']['add'](_0xd3ab7['validator']);}});this['Tn'](),await this['St']['add'](async()=>{this['Ie']||(t['setValue']('isQueuedForValidation',!0x1),await Promise['all'](_0x4946e2['map'](_0x45cd8e=>_0x45cd8e()))['catch'](()=>{}));},{'autoRun':!0x1}),_0x2935c9['signal']['aborted']?t['setMultipleValues']({'isQueuedForValidation':!0x1,'isValidationPending':!0x1}):t['setMultipleValues']({'isValidationPending':!0x1,'isQueuedForValidation':!0x1,'errors':_0x2db994});})());_0x1cde1d['promise']=_0x3b0d88;try{await _0x3b0d88;}finally{_0x1cde1d['promise']===_0x3b0d88&&(_0x1cde1d['promise']=void 0x0);}}['En'](t){return{...t,'type':t['type']??'CUSTOM_ERROR'};}['xn'](t){let _0x480dc8=this['At']['get'](t['uid']);if(_0x480dc8)return _0x480dc8;let _0x4ad3c5={'abortController':void 0x0,'skippedValidators':new WeakSet(),'promise':void 0x0,'lastErrorThrownByValidator':new WeakMap()};return this['At']['set'](t['uid'],_0x4ad3c5),_0x4ad3c5;}['Cn'](){let t=this['ze']['fileValidators'];return[...this['ru'],...t]['map'](J4);}['nu'](t,_0x16cf85){let _0x3b7dc0=this['xn'](t);return this['Cn']()['filter'](_0x4e634b=>!_0x3b7dc0['skippedValidators']['has'](_0x4e634b['validator']))['filter'](_0xadc860=>_0xadc860['runOn']===_0x16cf85);}['destroy'](){this['Ie']=!0x0,this['Tn']['cancel']();for(let t of this['At']['values']())t['abortController']?.['abort'](),t['promise']=void 0x0;this['At']['clear']();}},e6='[Typed\x20State]\x20Wrong\x20property\x20name:\x20',i6=class{constructor(_0x2f5a3b){this['J']=k2['generateFastUid'](),this['Y']=i1['registerCtx'](_0x2f5a3b,this['J']);}get['uid'](){return this['J'];}['setValue'](_0x31d98f,t){this['Y']['has'](_0x31d98f)?this['Y']['read'](_0x31d98f)!==t&&this['Y']['pub'](_0x31d98f,t):console['warn'](''+e6+String(_0x31d98f));}['setMultipleValues'](_0x366dda){for(let [t,_0x21dbac]of Object['entries'](_0x366dda))this['setValue'](t,_0x21dbac);}['getValue'](_0x1970cf){return this['Y']['has'](_0x1970cf)||console['warn'](''+e6+String(_0x1970cf)),this['Y']['read'](_0x1970cf);}['subscribe'](_0x3be615,t){return this['Y']['sub'](_0x3be615,t);}['destroy'](){i1['deleteCtx'](this['J']);}},s6=class o{constructor(_0x47c2e3){this['Pe']=Object['create'](null),this['Zi']=new Set(),this['Yi']=new Set(),this['ye']=new Set(),this['fo']=new Set(),this['mo']=new Set(),this['kt']=new Set(),this['kn']=_0x47c2e3['initialValue'],this['J']=k2['generateFastUid'](),this['Y']=i1['registerCtx']({},this['J']),this['Sn']=_0x47c2e3['watchList']||[];let t=Object['create'](null);this['An']=(_0x3a92d5,_0x5a01e6)=>{this['Jt']&&window['clearTimeout'](this['Jt']),t[_0x3a92d5]||(t[_0x3a92d5]=new Set()),t[_0x3a92d5]['add'](_0x5a01e6),this['Jt']=window['setTimeout'](()=>{0x0!==Object['keys'](t)['length']&&(this['Zi']['forEach'](_0x32a1b8=>{_0x32a1b8({...t});}),t=Object['create'](null));}),this['Mn']();},_0x47c2e3['handler']&&this['observeCollection'](_0x47c2e3['handler']);}static{this['au']=0x2710;}['q'](){this['ei']&&window['clearTimeout'](this['ei']),this['ei']=window['setTimeout'](()=>{let _0x22fcc8=new Set(this['mo']),t=new Set(this['fo']);this['mo']['clear'](),this['fo']['clear']();for(let _0x1c57a5 of this['Yi'])_0x1c57a5?.([...this['ye']],_0x22fcc8,t);this['Mn']();});}['Mn'](){0x0!==this['kt']['size']&&(this['ti']&&window['clearTimeout'](this['ti']),this['ti']=window['setTimeout'](()=>{let _0xa6d382=[...this['kt']];this['kt']['clear']();for(let t of _0xa6d382)t['destroy']();},o['au']));}['observeCollection'](_0x5e9908){return this['Yi']['add'](_0x5e9908),this['ye']['size']>0x0&&this['q'](),()=>{this['unobserveCollection'](_0x5e9908);};}['unobserveCollection'](_0x5dc842){this['Yi']['delete'](_0x5dc842);}['add'](_0x225d23){let t=new i6(this['kn']);for(let [_0x589166,_0x359b4d]of Object['entries'](_0x225d23))t['setValue'](_0x589166,_0x359b4d);return this['ye']['add'](t['uid']),this['q'](),this['Y']['add'](t['uid'],t),this['mo']['add'](t),this['Sn']['forEach'](_0x2a56ec=>{this['Pe'][t['uid']]||(this['Pe'][t['uid']]=[]),this['Pe'][t['uid']]?.['push'](t['subscribe'](_0x2a56ec,()=>{this['An'](_0x2a56ec,t['uid']);}));}),t['uid'];}['hasItem'](_0xbecded){return this['ye']['has'](_0xbecded);}['read'](_0x1b9af7){return this['Y']['read'](_0x1b9af7)??null;}['readProp'](_0x2e87d6,t){let _0x4bd422=this['read'](_0x2e87d6);if(!_0x4bd422)throw new Error('TypedCollection#readProp:\x20Item\x20with\x20id\x20'+_0x2e87d6+'\x20not\x20found');return _0x4bd422['getValue'](t);}['publishProp'](_0x192cec,t,_0x4efb0b){let _0x2fa208=this['read'](_0x192cec);if(!_0x2fa208)throw new Error('TypedCollection#publishProp:\x20Item\x20with\x20id\x20'+_0x192cec+'\x20not\x20found');_0x2fa208['setValue'](t,_0x4efb0b);}['remove'](_0x4c878b){let t=this['read'](_0x4c878b);t&&(this['fo']['add'](t),this['kt']['add'](t)),this['ye']['delete'](_0x4c878b),this['q'](),this['Y']['pub'](_0x4c878b,void 0x0),this['Pe'][_0x4c878b]?.['forEach'](_0x21f2a9=>{_0x21f2a9();}),delete this['Pe'][_0x4c878b];}['clearAll'](){this['ye']['forEach'](_0x11ae82=>{this['remove'](_0x11ae82);});}['observeProperties'](_0x411eea){return this['Zi']['add'](_0x411eea),()=>{this['unobserveProperties'](_0x411eea);};}['unobserveProperties'](_0x4fbdb7){this['Zi']['delete'](_0x4fbdb7);}['findItems'](_0xd9ab2d){let t=[];return this['ye']['forEach'](_0x4cf446=>{let _0x38631d=this['read'](_0x4cf446);_0x38631d&&_0xd9ab2d(_0x38631d)&&t['push'](_0x4cf446);}),t;}['items'](){return[...this['ye']];}get['size'](){return this['ye']['size'];}['destroy'](){this['Jt']&&window['clearTimeout'](this['Jt']),this['ei']&&window['clearTimeout'](this['ei']),this['ti']&&window['clearTimeout'](this['ti']);for(let _0x5ed959 of this['kt'])_0x5ed959['destroy']();this['kt']['clear'](),i1['deleteCtx'](this['J']),this['Zi']=new Set(),this['Yi']=new Set();for(let _0xdc27a4 of Object['keys'](this['Pe']))this['Pe'][_0xdc27a4]?.['forEach'](t=>{t();}),delete this['Pe'][_0xdc27a4];}},n6=Object['freeze']({'PHOTO':'photo','VIDEO':'video'}),r6=Object['freeze']({'IDLE':'idle','SHOT':'shot','PLAY':'play','PAUSE':'pause','RESUME':'resume','STOP':'stop','RETAKE':'retake','ACCEPT':'accept'}),o6=(_0x5cc3f3,_0x59394f,{timeout:t=0x3e8,onTimeout:_0x3484d3}={})=>new Promise(_0x3718e=>{let _0x56ba48,_0x24df84=setTimeout(()=>{cancelAnimationFrame(_0x56ba48),_0x3484d3?.();},t),_0x50dadf=()=>{for(let _0x139514 of _0x5cc3f3)if(_0x59394f(_0x139514))return clearTimeout(_0x24df84),void _0x3718e(_0x139514);_0x56ba48=requestAnimationFrame(_0x50dadf);};_0x50dadf();});function a6(_0x4471ed,_0x2e52f6){for(let t in _0x2e52f6)t['includes']('-')?_0x4471ed['style']['setProperty'](t,String(_0x2e52f6[t])):_0x4471ed['style'][t]=String(_0x2e52f6[t]);}var c6=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'),l6=Object['freeze']({'FACEBOOK':'facebook','DROPBOX':'dropbox','DROPBOX_CHOOSER':'dropboxchooser','GDRIVE':'gdrive','GPHOTOS':'gphotos','FLICKR':'flickr','VK':'vk','EVERNOTE':'evernote','BOX':'box','ONEDRIVE':'onedrive','HUDDLE':'huddle'}),h6=Object['freeze']({'MOBILE_VIDEO_CAMERA':'mobile-video-camera','MOBILE_PHOTO_CAMERA':'mobile-photo-camera'}),u6=Object['freeze']({'LOCAL':'local','DROP_AREA':'drop-area','CAMERA':'camera','EXTERNAL':'external','API':'js-api','URL':'url',...h6,...l6}),d6={[l6['DROPBOX_CHOOSER']]:l6['DROPBOX']},f6=_0x425adf=>d6[_0x425adf]??_0x425adf,m6=_0x14b23d=>_0x14b23d['uploadCollection']['items']()['map'](_0x176326=>_0x14b23d['api']['getOutputItem'](_0x176326));function p6(_0x5767dc){let _0x54a31b=new Map();return(..._0x53a69c)=>{let _0x43bbf5=JSON['stringify'](_0x53a69c);if(_0x54a31b['has'](_0x43bbf5))return _0x54a31b['get'](_0x43bbf5);let _0x21a8c1=_0x5767dc(..._0x53a69c);return _0x54a31b['set'](_0x43bbf5,_0x21a8c1),_0x21a8c1;};}var g6=new Set();function O6(_0x12b7be){g6['has'](_0x12b7be)||(g6['add'](_0x12b7be),console['warn'](_0x12b7be));}function w6(_0x212b21){let _0x2e5540={},t=_0x212b21['ctx'],_0x5410f3={'progress':()=>t['read']('*commonProgress'),'errors':()=>t['read']('*collectionErrors'),'group':()=>t['read']('*groupInfo'),'totalCount':()=>_0x212b21['uploadCollection']['size'],'failedCount':()=>_0x2e5540['failedEntries']['length'],'successCount':()=>_0x2e5540['successEntries']['length'],'uploadingCount':()=>_0x2e5540['uploadingEntries']['length'],'status':()=>_0x2e5540['isFailed']?'failed':_0x2e5540['isUploading']?'uploading':_0x2e5540['isSuccess']?'success':'idle','isSuccess':()=>_0x2e5540['allEntries']['length']>0x0&&0x0===_0x2e5540['errors']['length']&&_0x2e5540['successEntries']['length']===_0x2e5540['allEntries']['length'],'isUploading':()=>_0x2e5540['allEntries']['some'](_0x3bb24d=>'uploading'===_0x3bb24d['status']),'isFailed':()=>_0x2e5540['errors']['length']>0x0||_0x2e5540['failedEntries']['length']>0x0,'allEntries':()=>m6(_0x212b21),'successEntries':()=>_0x2e5540['allEntries']['filter'](_0xda84d=>'success'===_0xda84d['status']),'failedEntries':()=>_0x2e5540['allEntries']['filter'](_0xdf2995=>'failed'===_0xdf2995['status']),'uploadingEntries':()=>_0x2e5540['allEntries']['filter'](_0x30182b=>'uploading'===_0x30182b['status']),'idleEntries':()=>_0x2e5540['allEntries']['filter'](_0x46bf61=>'idle'===_0x46bf61['status'])},_0x577b7c=function(_0x47683f){let _0x5f294a=!0x1;return setTimeout(()=>{_0x5f294a=!0x0;},0x0),_0x2391bb=>(..._0x5c5430)=>(_0x5f294a&&O6(_0x47683f),_0x2391bb(..._0x5c5430));}('You\x27re\x20trying\x20to\x20access\x20the\x20OutputCollectionState\x20asynchronously.\x20In\x20this\x20case,\x20the\x20data\x20you\x20retrieve\x20will\x20be\x20newer\x20than\x20it\x20was\x20when\x20the\x20OutputCollectionState\x20was\x20created\x20or\x20when\x20the\x20event\x20was\x20dispatched.\x20If\x20you\x20want\x20to\x20retain\x20the\x20state\x20at\x20a\x20specific\x20moment\x20in\x20time,\x20you\x20should\x20use\x20the\x20spread\x20operator\x20like\x20this:\x20`{...outputCollectionState}`\x20or\x20`{...e.detail}`');for(let [_0x47c587,_0x2507db]of Object['entries'](_0x5410f3)){let _0x2a51de=_0x47c587,_0x2f050d=p6(_0x577b7c(_0x2507db));Object['defineProperty'](_0x2e5540,_0x2a51de,{'get':_0x2f050d,'enumerable':!0x0});}return _0x2e5540;}var b6=class extends b5{constructor(){super(...arguments),this['Et']=A4(()=>this['e']),this['addFileFromUrl']=(t,{silent:_0x148971,fileName:_0x4f4705,source:_0x27ad11}={})=>{let _0x5a0b1f=this['v']['add']({'externalUrl':t,'fileName':_0x4f4705??null,'silent':_0x148971??!0x1,'source':_0x27ad11??u6['API']});return this['getOutputItem'](_0x5a0b1f);},this['addFileFromUuid']=(t,{silent:_0xf8a706,fileName:_0x1d7e6f,source:_0x380f3a}={})=>{let _0x30f495=this['v']['add']({'uuid':t,'fileName':_0x1d7e6f??null,'silent':_0xf8a706??!0x1,'source':_0x380f3a??u6['API']});return this['getOutputItem'](_0x30f495);},this['addFileFromCdnUrl']=(t,{silent:_0x2d3b82,fileName:_0x470287,source:_0x372a43}={})=>{let _0x20ceea=(({url:_0x5b575e,cdnBase:_0x52ef92})=>{let t=new URL(_0x52ef92),_0x335655=new URL(p5),_0x228c2f=new URL(_0x5b575e);if(t['host']!==_0x228c2f['host']&&_0x335655['host']!==_0x228c2f['host'])return null;let _0x34f98e=c6['exec'](_0x228c2f['pathname']);if(!_0x34f98e)return null;let [,_0x40810c,_0x250ad8,_0x3878b8]=_0x34f98e;return _0x40810c?{'uuid':_0x40810c,'cdnUrlModifiers':_0x250ad8||'','filename':_0x3878b8||null}:null;})({'url':t,'cdnBase':this['cfg']['cdnCname']});if(!_0x20ceea)throw new Error('Invalid\x20CDN\x20URL');let _0x47ef21=this['v']['add']({'uuid':_0x20ceea['uuid'],'cdnUrl':t,'cdnUrlModifiers':_0x20ceea['cdnUrlModifiers'],'fileName':_0x470287??_0x20ceea['filename']??null,'silent':_0x2d3b82??!0x1,'source':_0x372a43??u6['API']});return this['getOutputItem'](_0x47ef21);},this['addFileFromObject']=(t,{silent:_0x2fb9f9,fileName:_0x13dbdb,source:_0x281046,fullPath:_0x242158}={})=>{let _0x115512=this['v']['add']({'file':t,'isImage':n4(t),'mimeType':t['type']||null,'fileName':_0x13dbdb??t['name'],'fileSize':t['size'],'silent':_0x2fb9f9??!0x1,'source':_0x281046??u6['API'],'fullPath':_0x242158??null});return this['getOutputItem'](_0x115512);},this['removeFileByInternalId']=t=>{if(!this['v']['read'](t))throw new Error('File\x20with\x20internalId\x20'+t+'\x20not\x20found');this['v']['remove'](t);},this['uploadAll']=()=>{let t=this['v']['items']()['filter'](_0x22af17=>{let _0x1592d6=this['v']['read'](_0x22af17);return!!_0x1592d6&&!(_0x1592d6['getValue']('isRemoved')||_0x1592d6['getValue']('isUploading')||_0x1592d6['getValue']('fileInfo')||0x0!==_0x1592d6['getValue']('errors')['length']||_0x1592d6['getValue']('isValidationPending')||_0x1592d6['getValue']('isQueuedForValidation'));});0x0!==t['length']&&(this['e']['pub']('*uploadTrigger',new Set(t)),this['i']['eventEmitter']['emit'](m4['COMMON_UPLOAD_START'],this['getOutputCollectionState']()));},this['openSystemDialog']=(t={})=>{let _0x5263ea=U2(i4([this['cfg']['accept']??'',...this['cfg']['imgOnly']?e4:[]])),_0x1cc219='uploadcare-file-input',_0xea919c=document['createElement']('input');if(_0xea919c['setAttribute'](_0x1cc219,''),a6(_0xea919c,{'opacity':0x0,'height':0x0,'width':0x0,'visibility':'hidden','position':'absolute','top':0x0,'left':0x0}),_0xea919c['type']='file',_0xea919c['multiple']=this['cfg']['multiple'],t['captureCamera']){_0xea919c['capture']=this['cfg']['cameraCapture'];let {isPhotoEnabled:_0x555a9e,isVideoRecordingEnabled:_0x3c0117}=(_0x20c998=>({'isVideoRecordingEnabled':j2(_0x20c998['cameraModes'])['includes'](n6['VIDEO']),'isPhotoEnabled':j2(_0x20c998['cameraModes'])['includes'](n6['PHOTO'])}))(this['cfg']);t['modeCamera']===n6['PHOTO']&&_0x555a9e?_0xea919c['accept']=J3:t['modeCamera']===n6['VIDEO']&&_0x3c0117?_0xea919c['accept']=t4:_0xea919c['accept']=[J3,_0x3c0117&&t4]['filter'](Boolean)['join'](',');}else _0xea919c['accept']=_0x5263ea;_0xea919c['addEventListener']('change',()=>{_0xea919c['files']&&([..._0xea919c['files']]['forEach'](_0x3cebbf=>{this['addFileFromObject'](_0x3cebbf,{'source':t['captureCamera']?u6['CAMERA']:u6['LOCAL']});}),this['e']['pub']('*currentActivity',D3['UPLOAD_LIST']),this['i']['modalManager']?.['open'](D3['UPLOAD_LIST']),_0xea919c['remove']());},{'once':!0x0}),document['querySelectorAll']('['+_0x1cc219+']')['forEach'](_0x2afd74=>{_0x2afd74['remove']();}),document['body']['appendChild'](_0xea919c),_0xea919c['dispatchEvent'](new MouseEvent('click'));},this['initFlow']=(t=!0x1)=>{if(this['v']['size']>0x0&&!t)this['e']['pub']('*currentActivity',D3['UPLOAD_LIST']),this['i']['modalManager']?.['open'](D3['UPLOAD_LIST']);else{if(0x1===this['On']?.['length']){let _0x35e84d=this['On'][0x0];this['go']()['then'](()=>{let _0x59c021=this['i']['pluginManager']['snapshot']()['sources'],_0x39777e=_0x59c021['find'](_0x463a7d=>_0x463a7d['id']===_0x35e84d);if(_0x39777e){let _0x281418=_0x39777e['expand']?.()??[_0x35e84d];return void(0x1===_0x281418['length']?(_0x59c021['find'](_0x38b5b6=>_0x38b5b6['id']===_0x281418[0x0])??_0x39777e)['onSelect']():(this['e']['pub']('*currentActivity',D3['START_FROM']),this['i']['modalManager']?.['open'](D3['START_FROM'])));}this['e']['read']('*currentActivity')&&this['i']['modalManager']?.['open'](this['e']['read']('*currentActivity'));});}else this['e']['pub']('*currentActivity',D3['START_FROM']),this['i']['modalManager']?.['open'](D3['START_FROM']);}},this['doneFlow']=()=>{let t=((_0x23b429,_0x4e4fb0)=>{for(let t of _0x23b429)if(_0x4e4fb0(t))return t;})(this['i']['blocksRegistry'],_0x2e2cdd=>'doneActivity'in _0x2e2cdd);t&&(this['e']['pub']('*currentActivity',t['doneActivity']),this['e']['pub']('*history',t['doneActivity']?[t['doneActivity']]:[]),this['e']['read']('*currentActivity')||this['i']['modalManager']?.['closeAll']());},this['setCurrentActivity']=(t,..._0x3bac84)=>{this['go']()['then'](()=>{this['e']['pub']('*currentActivityParams',_0x3bac84[0x0]??{}),this['e']['pub']('*currentActivity',t),o6(this['i']['blocksRegistry'],_0x4c4d89=>_0x4c4d89['activityType']===t,{'onTimeout':()=>console['warn']('Activity\x20type\x20\x22'+t+'\x22\x20not\x20found\x20in\x20the\x20context'),'timeout':0x64});});},this['on']=(t,_0x265d43)=>this['i']['eventEmitter']['on'](t,_0x265d43),this['getCurrentActivity']=()=>this['e']['read']('*currentActivity'),this['historyBack']=()=>{this['e']['read']('*historyBack')?.();},this['setModalState']=t=>{this['go']()['then'](()=>{if(!t)return this['i']['modalManager']?.['close'](this['e']['read']('*currentActivity')),void this['e']['pub']('*currentActivity',null);let _0x5a321d=this['e']['read']('*currentActivity');if(_0x5a321d)return o6(this['i']['blocksRegistry'],_0x2e3306=>_0x2e3306['activityType']===_0x5a321d,{'onTimeout':()=>console['warn']('Activity\x20block\x20\x22'+_0x5a321d+'\x22\x20not\x20found\x20in\x20the\x20context')})['then'](()=>{this['i']['modalManager']?.['open'](_0x5a321d);});console['warn']('Can\x27t\x20open\x20modal\x20without\x20current\x20activity.\x20Please\x20use\x20\x22setCurrentActivity\x22\x20method\x20first.');});};}get['v'](){return this['i']['uploadCollection'];}get['cfg'](){return this['ze'];}get['l10n'](){return this['Et'];}['removeAllFiles'](){this['v']['clearAll']();}['getOutputItem'](t){let _0xfc1192=i1['getCtx'](t);if(!_0xfc1192)throw new Error('UploaderPublicApi#getOutputItem:\x20Entry\x20with\x20ID\x20\x22'+t+'\x22\x20not\x20found\x20in\x20the\x20upload\x20collection');let _0x5a72b2=_0xfc1192['store'],_0x12f0f2=_0x5a72b2['fileInfo'],_0x134c71=_0x5a72b2['isRemoved']?'removed':_0x5a72b2['errors']['length']>0x0?'failed':_0x5a72b2['fileInfo']?'success':_0x5a72b2['isUploading']?'uploading':'idle';return{'uuid':_0x12f0f2?.['uuid']??_0x5a72b2['uuid']??null,'internalId':t,'name':_0x12f0f2?.['originalFilename']??_0x5a72b2['fileName'],'size':_0x12f0f2?.['size']??_0x5a72b2['fileSize'],'isImage':_0x12f0f2?.['isImage']??_0x5a72b2['isImage'],'mimeType':_0x12f0f2?.['mimeType']??_0x5a72b2['mimeType'],'file':_0x5a72b2['file'],'externalUrl':_0x5a72b2['externalUrl'],'cdnUrlModifiers':_0x5a72b2['cdnUrlModifiers'],'cdnUrl':_0x5a72b2['cdnUrl']??_0x12f0f2?.['cdnUrl']??null,'fullPath':_0x5a72b2['fullPath'],'uploadProgress':_0x5a72b2['uploadProgress'],'fileInfo':_0x12f0f2??null,'metadata':_0x5a72b2['metadata']??_0x12f0f2?.['metadata']??null,'isSuccess':'success'===_0x134c71,'isUploading':'uploading'===_0x134c71,'isFailed':'failed'===_0x134c71,'isRemoved':'removed'===_0x134c71,'isValidationPending':_0x5a72b2['isValidationPending'],'errors':_0x5a72b2['errors'],'status':_0x134c71,'source':_0x5a72b2?.['source']};}['getOutputCollectionState'](){return w6(this['i']);}async['go'](){return(await this['i']['wait']('pluginManager'))['pluginsReady']();}get['On'](){let t=[];return this['cfg']['sourceList']&&(t=J2(this['cfg']['sourceList'])),t;}},y6={'file':null,'externalUrl':null,'fileName':null,'fileSize':null,'lastModified':Date['now'](),'uploadProgress':0x0,'uuid':null,'isImage':!0x1,'mimeType':null,'ctxName':null,'cdnUrl':null,'cdnUrlModifiers':null,'fileInfo':null,'isUploading':!0x1,'abortController':null,'thumbUrl':null,'silent':!0x1,'source':null,'fullPath':null,'metadata':null,'errors':[],'uploadError':null,'isRemoved':!0x1,'isQueuedForUploading':!0x1,'isValidationPending':!0x1,'isQueuedForValidation':!0x1},v6=33.333333333333336;function _6(_0x332349,_0x1b7635){for(let [t,_0x4c22f5]of Object['entries'](_0x1b7635))_0x332349['setAttributeNS'](null,t,_0x4c22f5['toString']());}function E6(_0x49ed14,_0xd31326={}){let t=document['createElementNS']('http://www.w3.org/2000/svg',_0x49ed14);return _6(t,_0xd31326),t;}function T6(_0x294e6e,_0x1f3533,t){let {x:_0x40bc08,y:_0x38148a,width:_0x22840a,height:_0x2304f9}=_0x294e6e,_0x5d638e=_0x1f3533['includes']('w')?0x0:0x1,_0x48d7ea=_0x1f3533['includes']('n')?0x0:0x1,_0x2340d8=0x0===_0x5d638e?-0x1:0x1,_0x543b48=0x0===_0x48d7ea?-0x1:0x1,_0x2f98ec=[_0x40bc08+_0x5d638e*_0x22840a+1.5*_0x2340d8,_0x38148a+_0x48d7ea*_0x2304f9+1.5*_0x543b48-0x18*t*_0x543b48],_0x1aa1f0=[_0x40bc08+_0x5d638e*_0x22840a+1.5*_0x2340d8,_0x38148a+_0x48d7ea*_0x2304f9+1.5*_0x543b48],_0x2ce051=[_0x40bc08+_0x5d638e*_0x22840a-0x18*t*_0x2340d8+1.5*_0x2340d8,_0x38148a+_0x48d7ea*_0x2304f9+1.5*_0x543b48];return{'d':'M\x20'+_0x2f98ec[0x0]+'\x20'+_0x2f98ec[0x1]+'\x20L\x20'+_0x1aa1f0[0x0]+'\x20'+_0x1aa1f0[0x1]+'\x20L\x20'+_0x2ce051[0x0]+'\x20'+_0x2ce051[0x1],'center':[_0x1aa1f0[0x0],_0x1aa1f0[0x1]]};}function A6(_0x37e5a3,_0xb08a7f,t){let _0x222160,_0x130f4f,{x:_0x577d12,y:_0xc66533,width:_0x1f3aa5,height:_0xc87062}=_0x37e5a3,_0xb07f2f='n'===_0xb08a7f||'s'===_0xb08a7f,_0x2e7f8b=_0xb07f2f?0.5:'w'===_0xb08a7f?0x0:0x1,_0x3c3bb4='w'===_0xb08a7f||'e'===_0xb08a7f?0.5:'n'===_0xb08a7f?0x0:0x1,_0xe0f808='w'===_0xb08a7f?-0x1:'e'===_0xb08a7f?0x1:0x0,_0x3248a5='n'===_0xb08a7f?-0x1:'s'===_0xb08a7f?0x1:0x0;return _0xb07f2f?(_0x222160=[_0x577d12+_0x2e7f8b*_0x1f3aa5-0x22*t/0x2,_0xc66533+_0x3c3bb4*_0xc87062+1.5*_0x3248a5],_0x130f4f=[_0x577d12+_0x2e7f8b*_0x1f3aa5+0x22*t/0x2,_0xc66533+_0x3c3bb4*_0xc87062+1.5*_0x3248a5]):(_0x222160=[_0x577d12+_0x2e7f8b*_0x1f3aa5+1.5*_0xe0f808,_0xc66533+_0x3c3bb4*_0xc87062-0x22*t/0x2],_0x130f4f=[_0x577d12+_0x2e7f8b*_0x1f3aa5+1.5*_0xe0f808,_0xc66533+_0x3c3bb4*_0xc87062+0x22*t/0x2]),{'d':'M\x20'+_0x222160[0x0]+'\x20'+_0x222160[0x1]+'\x20L\x20'+_0x130f4f[0x0]+'\x20'+_0x130f4f[0x1],'center':[(_0x222160[0x0]+_0x130f4f[0x0])/0x2,(_0x222160[0x1]+_0x130f4f[0x1])/0x2]};}function S6(_0x1127f2,_0x1d136f){let {x:t}=_0x1127f2,{y:_0x2790e0}=_0x1127f2;return _0x1127f2['x']<_0x1d136f['x']?t=_0x1d136f['x']:_0x1127f2['x']+_0x1127f2['width']>_0x1d136f['x']+_0x1d136f['width']&&(t=_0x1d136f['x']+_0x1d136f['width']-_0x1127f2['width']),_0x1127f2['y']<_0x1d136f['y']?_0x2790e0=_0x1d136f['y']:_0x1127f2['y']+_0x1127f2['height']>_0x1d136f['y']+_0x1d136f['height']&&(_0x2790e0=_0x1d136f['y']+_0x1d136f['height']-_0x1127f2['height']),{..._0x1127f2,'x':t,'y':_0x2790e0};}function I6({direction:_0x14483e,..._0x48bcaf}){switch(_0x14483e){case'n':return function({rect:_0x30f909,delta:_0x5bda70,aspectRatio:t,imageBox:_0x30f811}){let [,_0x24dae9]=_0x5bda70,{y:_0x565b0f,width:_0x552e6e,height:_0x4edea6}=_0x30f909;_0x565b0f+=_0x24dae9,_0x4edea6-=_0x24dae9,t&&(_0x552e6e=_0x4edea6*t);let _0x3b04f5=_0x30f909['x']+_0x30f909['width']/0x2-_0x552e6e/0x2;return _0x565b0f<=_0x30f811['y']&&(_0x565b0f=_0x30f811['y'],_0x4edea6=_0x30f909['y']+_0x30f909['height']-_0x565b0f,t&&(_0x552e6e=_0x4edea6*t,_0x3b04f5=_0x30f909['x']+_0x30f909['width']/0x2-_0x552e6e/0x2)),_0x3b04f5<=_0x30f811['x']&&(_0x3b04f5=_0x30f811['x'],_0x565b0f=_0x30f909['y']+_0x30f909['height']-_0x4edea6),_0x3b04f5+_0x552e6e>=_0x30f811['x']+_0x30f811['width']&&(_0x3b04f5=Math['max'](_0x30f811['x'],_0x30f811['x']+_0x30f811['width']-_0x552e6e),_0x552e6e=_0x30f811['x']+_0x30f811['width']-_0x3b04f5,t&&(_0x4edea6=_0x552e6e/t),_0x565b0f=_0x30f909['y']+_0x30f909['height']-_0x4edea6),_0x4edea6<0x1&&(_0x4edea6=0x1,t&&(_0x552e6e=_0x4edea6*t,_0x3b04f5=_0x30f909['x']+_0x30f909['width']/0x2-_0x552e6e/0x2),_0x565b0f=_0x30f909['y']+_0x30f909['height']-_0x4edea6),_0x552e6e<0x1&&(_0x552e6e=0x1,t&&(_0x4edea6=_0x552e6e/t,_0x3b04f5=_0x30f909['x']+_0x30f909['width']/0x2-_0x552e6e/0x2),_0x565b0f=_0x30f909['y']+_0x30f909['height']-_0x4edea6),{'x':_0x3b04f5,'y':_0x565b0f,'width':_0x552e6e,'height':_0x4edea6};}(_0x48bcaf);case'w':return function({rect:_0x251481,delta:_0x3f8113,aspectRatio:t,imageBox:_0x2996f4}){let [_0x1906bb]=_0x3f8113,{x:_0x59ba99,width:_0x2260eb,height:_0x15bd23}=_0x251481;_0x59ba99+=_0x1906bb,_0x2260eb-=_0x1906bb,t&&(_0x15bd23=_0x2260eb/t);let _0x220ee1=_0x251481['y']+_0x251481['height']/0x2-_0x15bd23/0x2;return _0x59ba99<=_0x2996f4['x']&&(_0x59ba99=_0x2996f4['x'],_0x2260eb=_0x251481['x']+_0x251481['width']-_0x59ba99,t&&(_0x15bd23=_0x2260eb/t,_0x220ee1=_0x251481['y']+_0x251481['height']/0x2-_0x15bd23/0x2)),_0x220ee1<=_0x2996f4['y']&&(_0x220ee1=_0x2996f4['y'],_0x59ba99=_0x251481['x']+_0x251481['width']-_0x2260eb),_0x220ee1+_0x15bd23>=_0x2996f4['y']+_0x2996f4['height']&&(_0x220ee1=Math['max'](_0x2996f4['y'],_0x2996f4['y']+_0x2996f4['height']-_0x15bd23),_0x15bd23=_0x2996f4['y']+_0x2996f4['height']-_0x220ee1,t&&(_0x2260eb=_0x15bd23*t),_0x59ba99=_0x251481['x']+_0x251481['width']-_0x2260eb),_0x15bd23<0x1&&(_0x15bd23=0x1,t&&(_0x2260eb=_0x15bd23*t),_0x220ee1=_0x251481['y']+_0x251481['height']/0x2-_0x15bd23/0x2,_0x59ba99=_0x251481['x']+_0x251481['width']-_0x2260eb),_0x2260eb<0x1&&(_0x2260eb=0x1,t&&(_0x15bd23=_0x2260eb/t),_0x220ee1=_0x251481['y']+_0x251481['height']/0x2-_0x15bd23/0x2,_0x59ba99=_0x251481['x']+_0x251481['width']-_0x2260eb),{'x':_0x59ba99,'y':_0x220ee1,'width':_0x2260eb,'height':_0x15bd23};}(_0x48bcaf);case's':return function({rect:_0x507868,delta:_0x3c3526,aspectRatio:t,imageBox:_0xc1ba4d}){let [,_0x10577d]=_0x3c3526,{y:_0xc2cfec,width:_0xb03feb,height:_0x34021c}=_0x507868;_0x34021c+=_0x10577d,t&&(_0xb03feb=_0x34021c*t);let _0x59ebb=_0x507868['x']+_0x507868['width']/0x2-_0xb03feb/0x2;return _0xc2cfec+_0x34021c>=_0xc1ba4d['y']+_0xc1ba4d['height']&&(_0x34021c=_0xc1ba4d['y']+_0xc1ba4d['height']-_0xc2cfec,t&&(_0xb03feb=_0x34021c*t),_0x59ebb=_0x507868['x']+_0x507868['width']/0x2-_0xb03feb/0x2),_0x59ebb<=_0xc1ba4d['x']&&(_0x59ebb=_0xc1ba4d['x'],_0xc2cfec=_0x507868['y']),_0x59ebb+_0xb03feb>=_0xc1ba4d['x']+_0xc1ba4d['width']&&(_0x59ebb=Math['max'](_0xc1ba4d['x'],_0xc1ba4d['x']+_0xc1ba4d['width']-_0xb03feb),_0xb03feb=_0xc1ba4d['x']+_0xc1ba4d['width']-_0x59ebb,t&&(_0x34021c=_0xb03feb/t),_0xc2cfec=_0x507868['y']),_0x34021c<0x1&&(_0x34021c=0x1,t&&(_0xb03feb=_0x34021c*t),_0x59ebb=_0x507868['x']+_0x507868['width']/0x2-_0xb03feb/0x2),_0xb03feb<0x1&&(_0xb03feb=0x1,t&&(_0x34021c=_0xb03feb/t),_0x59ebb=_0x507868['x']+_0x507868['width']/0x2-_0xb03feb/0x2),{'x':_0x59ebb,'y':_0xc2cfec,'width':_0xb03feb,'height':_0x34021c};}(_0x48bcaf);case'e':return function({rect:_0x5583eb,delta:_0x3758fd,aspectRatio:t,imageBox:_0x5149a4}){let [_0x25c65e]=_0x3758fd,{x:_0x446117,width:_0x9c2479,height:_0x37c34a}=_0x5583eb;_0x9c2479+=_0x25c65e,t&&(_0x37c34a=_0x9c2479/t);let _0x379f35=_0x5583eb['y']+_0x5583eb['height']/0x2-_0x37c34a/0x2;return _0x446117+_0x9c2479>=_0x5149a4['x']+_0x5149a4['width']&&(_0x9c2479=_0x5149a4['x']+_0x5149a4['width']-_0x446117,t&&(_0x37c34a=_0x9c2479/t),_0x379f35=_0x5583eb['y']+_0x5583eb['height']/0x2-_0x37c34a/0x2),_0x379f35<=_0x5149a4['y']&&(_0x379f35=_0x5149a4['y'],_0x446117=_0x5583eb['x']),_0x379f35+_0x37c34a>=_0x5149a4['y']+_0x5149a4['height']&&(_0x379f35=Math['max'](_0x5149a4['y'],_0x5149a4['y']+_0x5149a4['height']-_0x37c34a),_0x37c34a=_0x5149a4['y']+_0x5149a4['height']-_0x379f35,t&&(_0x9c2479=_0x37c34a*t),_0x446117=_0x5583eb['x']),_0x37c34a<0x1&&(_0x37c34a=0x1,t&&(_0x9c2479=_0x37c34a*t),_0x379f35=_0x5583eb['y']+_0x5583eb['height']/0x2-_0x37c34a/0x2),_0x9c2479<0x1&&(_0x9c2479=0x1,t&&(_0x37c34a=_0x9c2479/t),_0x379f35=_0x5583eb['y']+_0x5583eb['height']/0x2-_0x37c34a/0x2),{'x':_0x446117,'y':_0x379f35,'width':_0x9c2479,'height':_0x37c34a};}(_0x48bcaf);case'nw':return function({rect:_0x5e0ef2,delta:_0x34c23d,aspectRatio:t,imageBox:_0x220f15}){let [_0x5775fb,_0x5374e6]=_0x34c23d,{x:_0x2d345e,y:_0x33f51b,width:_0x1d38d1,height:_0x3d2166}=_0x5e0ef2;return _0x2d345e+_0x5775fb<_0x220f15['x']&&(_0x5775fb=_0x220f15['x']-_0x2d345e),_0x33f51b+_0x5374e6<_0x220f15['y']&&(_0x5374e6=_0x220f15['y']-_0x33f51b),_0x2d345e+=_0x5775fb,_0x1d38d1-=_0x5775fb,_0x33f51b+=_0x5374e6,_0x3d2166-=_0x5374e6,t&&Math['abs'](_0x1d38d1/_0x3d2166)>t?(_0x5374e6=_0x1d38d1/t-_0x3d2166,_0x3d2166+=_0x5374e6,_0x33f51b-=_0x5374e6,_0x33f51b<=_0x220f15['y']&&(_0x3d2166-=_0x220f15['y']-_0x33f51b,_0x1d38d1=_0x3d2166*t,_0x2d345e=_0x5e0ef2['x']+_0x5e0ef2['width']-_0x1d38d1,_0x33f51b=_0x220f15['y'])):t&&(_0x5775fb=_0x3d2166*t-_0x1d38d1,_0x1d38d1+=_0x5775fb,_0x2d345e-=_0x5775fb,_0x2d345e<=_0x220f15['x']&&(_0x1d38d1-=_0x220f15['x']-_0x2d345e,_0x3d2166=_0x1d38d1/t,_0x2d345e=_0x220f15['x'],_0x33f51b=_0x5e0ef2['y']+_0x5e0ef2['height']-_0x3d2166)),_0x3d2166<0x1&&(_0x3d2166=0x1,t&&(_0x1d38d1=_0x3d2166*t),_0x2d345e=_0x5e0ef2['x']+_0x5e0ef2['width']-_0x1d38d1,_0x33f51b=_0x5e0ef2['y']+_0x5e0ef2['height']-_0x3d2166),_0x1d38d1<0x1&&(_0x1d38d1=0x1,t&&(_0x3d2166=_0x1d38d1/t),_0x2d345e=_0x5e0ef2['x']+_0x5e0ef2['width']-_0x1d38d1,_0x33f51b=_0x5e0ef2['y']+_0x5e0ef2['height']-_0x3d2166),{'x':_0x2d345e,'y':_0x33f51b,'width':_0x1d38d1,'height':_0x3d2166};}(_0x48bcaf);case'ne':return function({rect:_0x30b75b,delta:_0xa8888d,aspectRatio:t,imageBox:_0x233fdd}){let [_0xcd3e2e,_0x5df7e8]=_0xa8888d,{x:_0x55c183,y:_0x1b3d94,width:_0x1239ea,height:_0x56002d}=_0x30b75b;return _0x55c183+_0x1239ea+_0xcd3e2e>_0x233fdd['x']+_0x233fdd['width']&&(_0xcd3e2e=_0x233fdd['x']+_0x233fdd['width']-_0x55c183-_0x1239ea),_0x1b3d94+_0x5df7e8<_0x233fdd['y']&&(_0x5df7e8=_0x233fdd['y']-_0x1b3d94),_0x1239ea+=_0xcd3e2e,_0x1b3d94+=_0x5df7e8,_0x56002d-=_0x5df7e8,t&&Math['abs'](_0x1239ea/_0x56002d)>t?(_0x5df7e8=_0x1239ea/t-_0x56002d,_0x56002d+=_0x5df7e8,_0x1b3d94-=_0x5df7e8,_0x1b3d94<=_0x233fdd['y']&&(_0x56002d-=_0x233fdd['y']-_0x1b3d94,_0x1239ea=_0x56002d*t,_0x55c183=_0x30b75b['x'],_0x1b3d94=_0x233fdd['y'])):t&&(_0xcd3e2e=_0x56002d*t-_0x1239ea,_0x1239ea+=_0xcd3e2e,_0x55c183+_0x1239ea>=_0x233fdd['x']+_0x233fdd['width']&&(_0x1239ea=_0x233fdd['x']+_0x233fdd['width']-_0x55c183,_0x56002d=_0x1239ea/t,_0x55c183=_0x233fdd['x']+_0x233fdd['width']-_0x1239ea,_0x1b3d94=_0x30b75b['y']+_0x30b75b['height']-_0x56002d)),_0x56002d<0x1&&(_0x56002d=0x1,t&&(_0x1239ea=_0x56002d*t),_0x1b3d94=_0x30b75b['y']+_0x30b75b['height']-_0x56002d),_0x1239ea<0x1&&(_0x1239ea=0x1,t&&(_0x56002d=_0x1239ea/t),_0x1b3d94=_0x30b75b['y']+_0x30b75b['height']-_0x56002d),{'x':_0x55c183,'y':_0x1b3d94,'width':_0x1239ea,'height':_0x56002d};}(_0x48bcaf);case'sw':return function({rect:_0x15020c,delta:_0x3a7738,aspectRatio:t,imageBox:_0x380224}){let [_0x580292,_0x3f0c2f]=_0x3a7738,{x:_0x240fc4,y:_0x219667,width:_0x416bd0,height:_0x1991d1}=_0x15020c;return _0x240fc4+_0x580292<_0x380224['x']&&(_0x580292=_0x380224['x']-_0x240fc4),_0x219667+_0x1991d1+_0x3f0c2f>_0x380224['y']+_0x380224['height']&&(_0x3f0c2f=_0x380224['y']+_0x380224['height']-_0x219667-_0x1991d1),_0x240fc4+=_0x580292,_0x416bd0-=_0x580292,_0x1991d1+=_0x3f0c2f,t&&Math['abs'](_0x416bd0/_0x1991d1)>t?(_0x3f0c2f=_0x416bd0/t-_0x1991d1,_0x1991d1+=_0x3f0c2f,_0x219667+_0x1991d1>=_0x380224['y']+_0x380224['height']&&(_0x1991d1=_0x380224['y']+_0x380224['height']-_0x219667,_0x416bd0=_0x1991d1*t,_0x240fc4=_0x15020c['x']+_0x15020c['width']-_0x416bd0,_0x219667=_0x380224['y']+_0x380224['height']-_0x1991d1)):t&&(_0x580292=_0x1991d1*t-_0x416bd0,_0x416bd0+=_0x580292,_0x240fc4-=_0x580292,_0x240fc4<=_0x380224['x']&&(_0x416bd0-=_0x380224['x']-_0x240fc4,_0x1991d1=_0x416bd0/t,_0x240fc4=_0x380224['x'],_0x219667=_0x15020c['y'])),_0x1991d1<0x1&&(_0x1991d1=0x1,t&&(_0x416bd0=_0x1991d1*t),_0x240fc4=_0x15020c['x']+_0x15020c['width']-_0x416bd0),_0x416bd0<0x1&&(_0x416bd0=0x1,t&&(_0x1991d1=_0x416bd0/t),_0x240fc4=_0x15020c['x']+_0x15020c['width']-_0x416bd0),{'x':_0x240fc4,'y':_0x219667,'width':_0x416bd0,'height':_0x1991d1};}(_0x48bcaf);case'se':return function({rect:_0x2b5025,delta:_0x2e14b1,aspectRatio:t,imageBox:_0x437fd5}){let [_0x171af8,_0xbb2295]=_0x2e14b1,{x:_0x4621dc,y:_0x50af60,width:_0x4ea42f,height:_0xf32e94}=_0x2b5025;return _0x4621dc+_0x4ea42f+_0x171af8>_0x437fd5['x']+_0x437fd5['width']&&(_0x171af8=_0x437fd5['x']+_0x437fd5['width']-_0x4621dc-_0x4ea42f),_0x50af60+_0xf32e94+_0xbb2295>_0x437fd5['y']+_0x437fd5['height']&&(_0xbb2295=_0x437fd5['y']+_0x437fd5['height']-_0x50af60-_0xf32e94),_0x4ea42f+=_0x171af8,_0xf32e94+=_0xbb2295,t&&Math['abs'](_0x4ea42f/_0xf32e94)>t?(_0xbb2295=_0x4ea42f/t-_0xf32e94,_0xf32e94+=_0xbb2295,_0x50af60+_0xf32e94>=_0x437fd5['y']+_0x437fd5['height']&&(_0xf32e94=_0x437fd5['y']+_0x437fd5['height']-_0x50af60,_0x4ea42f=_0xf32e94*t,_0x4621dc=_0x2b5025['x'],_0x50af60=_0x437fd5['y']+_0x437fd5['height']-_0xf32e94)):t&&(_0x171af8=_0xf32e94*t-_0x4ea42f,_0x4ea42f+=_0x171af8,_0x4621dc+_0x4ea42f>=_0x437fd5['x']+_0x437fd5['width']&&(_0x4ea42f=_0x437fd5['x']+_0x437fd5['width']-_0x4621dc,_0xf32e94=_0x4ea42f/t,_0x4621dc=_0x437fd5['x']+_0x437fd5['width']-_0x4ea42f,_0x50af60=_0x2b5025['y'])),_0xf32e94<0x1&&(_0xf32e94=0x1,t&&(_0x4ea42f=_0xf32e94*t)),_0x4ea42f<0x1&&(_0x4ea42f=0x1,t&&(_0xf32e94=_0x4ea42f/t)),{'x':_0x4621dc,'y':_0x50af60,'width':_0x4ea42f,'height':_0xf32e94};}(_0x48bcaf);default:return _0x48bcaf['rect'];}}function k6({width:_0x17bd14,height:_0x1f6b65},t){let _0x3082d6=t/0x5a%0x2!=0x0;return{'width':_0x3082d6?_0x1f6b65:_0x17bd14,'height':_0x3082d6?_0x17bd14:_0x1f6b65};}function x6(_0x2cde22,_0x5e7624,t){let _0x545c9e,_0x166a04;_0x2cde22/_0x5e7624>t?(_0x545c9e=Math['round'](_0x5e7624*t),_0x166a04=_0x5e7624):(_0x545c9e=_0x2cde22,_0x166a04=Math['round'](_0x2cde22/t));let _0x50b035=Math['round']((_0x2cde22-_0x545c9e)/0x2),_0x2cfeb2=Math['round']((_0x5e7624-_0x166a04)/0x2);return _0x50b035+_0x545c9e>_0x2cde22&&(_0x545c9e=_0x2cde22-_0x50b035),_0x2cfeb2+_0x166a04>_0x5e7624&&(_0x166a04=_0x5e7624-_0x2cfeb2),{'x':_0x50b035,'y':_0x2cfeb2,'width':_0x545c9e,'height':_0x166a04};}function C6(_0x12933a){return{'x':Math['round'](_0x12933a['x']),'y':Math['round'](_0x12933a['y']),'width':Math['round'](_0x12933a['width']),'height':Math['round'](_0x12933a['height'])};}function R6(_0x19baf1,_0x3ed3a0,t){return Math['min'](Math['max'](_0x19baf1,_0x3ed3a0),t);}var P6=['free'],M6=_0x34f955=>{let _0x41d03d=J2(_0x34f955);if(!_0x41d03d||0x0===_0x41d03d['length'])return[];let t=[];for(let _0x4a5757 of _0x41d03d){let _0x583744=_0x4a5757['trim']();if(!_0x583744)continue;let _0x360be8=_0x583744['indexOf'](':');if(-0x1===_0x360be8&&!P6['includes'](_0x583744)){console['warn']('Invalid\x20crop\x20preset:\x20'+_0x583744);continue;}let _0x3926a4=Number(_0x583744['slice'](0x0,_0x360be8)),_0xae1dd3=Number(_0x583744['slice'](_0x360be8+0x1));!(!Number['isFinite'](_0x3926a4)||!Number['isFinite'](_0xae1dd3)||_0x3926a4<=0x0||_0xae1dd3<=0x0)||P6['includes'](_0x583744)?t['push']({'id':k2['generateFastUid'](),'type':'aspect-ratio','width':P6['includes'](_0x583744)?0x0:_0x3926a4,'height':P6['includes'](_0x583744)?0x0:_0xae1dd3,'hasFreeform':P6['includes'](_0x583744)}):console['warn']('Invalid\x20crop\x20preset:\x20'+_0x583744);}return t;};function N6(_0x4f7ce1){return R5({..._0x4f7ce1,'libraryName':g4,'libraryVersion':O4});}var L6,$6='active',D6='___ACTIVITY_IS_ACTIVE___',Q6=class o extends(L6=k4,L6){constructor(){super(...arguments),this['historyTracked']=!0x1,this['activityType']=null,this['init$']=L3(this),this['lu']=T2(this['cu']['bind'](this),0xa);}['In'](){let t=o['ii']['get'](this);this[D6]=!0x1,this['removeAttribute']($6),t?.['deactivateCallback']?.();}['uu'](){let t=o['ii']['get'](this);this['$']['*historyBack']=this['historyBack']['bind'](this),this[D6]=!0x0,this['setAttribute']($6,''),t?.['activateCallback']?.(),this['lu'](),this['emit'](m4['ACTIVITY_CHANGE'],{'activity':this['activityType']});}['initCallback'](){super['initCallback'](),this['activityType']&&(this['hasAttribute']('activity')||this['setAttribute']('activity',this['activityType']),this['sub']('*currentActivity',t=>{try{this['activityType']!==t&&this[D6]?this['In']():this['activityType']===t&&!this[D6]&&this['uu']();}catch(_0x18e0b2){this['telemetryManager']['sendEventError'](_0x18e0b2,'activity\x20\x22'+this['activityType']+'\x22'),console['error']('Error\x20in\x20activity\x20\x22'+this['activityType']+'\x22.\x20',_0x18e0b2);let _0x49ef7c=this['$']['*history'][this['$']['*history']['length']-0x1];this['$']['*currentActivity']=_0x49ef7c??null;}t||(this['$']['*history']=[]);}));}['cu'](){let t=this['$']['*history'];t&&(t['length']>0xa&&(t=t['slice'](t['length']-0xb,t['length']-0x1)),this['historyTracked']&&t[t['length']-0x1]!==this['activityType']&&t['push'](this['activityType']),this['$']['*history']=t);}['Pn'](){return!!this['activityType']&&o['ii']['has'](this);}static{this['ii']=new Map();}get['isActivityActive'](){return!!this[D6];}get['couldOpenActivity'](){return!0x0;}['registerActivity'](t,_0x5cd59c={}){let {onActivate:_0x2195e5,onDeactivate:_0x2064b1}=_0x5cd59c;o['ii']['set'](this,{'activateCallback':_0x2195e5,'deactivateCallback':_0x2064b1});}['du'](){this['isActivityActive']&&this['In'](),o['ii']['delete'](this);}['disconnectedCallback'](){super['disconnectedCallback'](),this['Pn']()&&this['du']();}get['activityParams'](){return this['$']['*currentActivityParams'];}get['initActivity'](){return this['getCssData']('--cfg-init-activity')??null;}get['doneActivity'](){return this['getCssData']('--cfg-done-activity')??null;}['historyBack'](){let t=this['$']['*history'];if(t){let _0x4cbe1b=t['pop']();for(;_0x4cbe1b===this['activityType'];)_0x4cbe1b=t['pop']();let _0x4dd257=!!_0x4cbe1b;_0x4cbe1b&&(_0x4dd257=[...this['blocksRegistry']]['find'](_0xe2191a=>_0xe2191a['activityType']===_0x4cbe1b)?.['couldOpenActivity']??!0x1),_0x4cbe1b=_0x4dd257?_0x4cbe1b:null,this['$']['*currentActivity']=_0x4cbe1b??null,_0x4cbe1b&&this['modalManager']?.['open'](_0x4cbe1b),this['$']['*history']=t,_0x4cbe1b||this['modalManager']?.['closeAll']();}}};Q6['activities']=D3;var j6=class o extends Q6{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x1,this['Xi']=!0x1,this['init$']=$3(this),this['bo']=T2(async()=>{if(this['getOutputData']()['length']!==this['uploadCollection']['size'])return;let _0x3c3902=this['api']['getOutputCollectionState']();this['$']['*collectionState']=_0x3c3902,this['emit'](m4['CHANGE'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}),this['cfg']['groupOutput']&&_0x3c3902['totalCount']>0x0&&'success'===_0x3c3902['status']&&this['gu'](_0x3c3902);},0x12c),this['fu']=(t,_0x36b359,_0x4f888c)=>{if(this['isConnected']){(_0x36b359['size']||_0x4f888c['size'])&&(this['$']['*groupInfo']=null),this['validationManager']['runFileValidators']('add',[..._0x36b359]['map'](_0x55699f=>_0x55699f['uid']));for(let _0x1fe8e5 of _0x36b359)_0x1fe8e5['getValue']('silent')||this['emit'](m4['FILE_ADDED'],this['api']['getOutputItem'](_0x1fe8e5['uid'])),this['i']['wait']('pluginManager')['then'](_0x17a4da=>_0x17a4da['runOnAddHooks'](_0x1fe8e5));this['validationManager']['runCollectionValidators']();for(let _0x56287e of _0x4f888c){this['$']['*uploadTrigger']['delete'](_0x56287e['uid']),this['validationManager']['cleanupValidationForEntry'](_0x56287e),_0x56287e['getValue']('abortController')?.['abort'](),_0x56287e['setMultipleValues']({'isRemoved':!0x0,'abortController':null,'isUploading':!0x1,'uploadProgress':0x0});let _0x1c354b=_0x56287e?.['getValue']('thumbUrl');_0x1c354b&&URL['revokeObjectURL'](_0x1c354b),this['emit'](m4['FILE_REMOVED'],this['api']['getOutputItem'](_0x56287e['uid']));}this['$']['*uploadList']=t['map'](_0xd46ed3=>({'uid':_0xd46ed3})),this['Un'](),this['bo']();}},this['mu']=t=>{if(!this['isConnected'])return;this['bo']();let _0x5cf947=this['uploadCollection'],_0x6b22ec=[...new Set(Object['entries'](t)['filter'](([_0x1ffefc])=>['file','uploadError','fileInfo','cdnUrl','cdnUrlModifiers']['includes'](_0x1ffefc))['flatMap'](([,_0x51b400])=>[..._0x51b400]))];if(_0x6b22ec['length']>0x0&&setTimeout(()=>{if(!this['isConnected'])return;let _0x39f91e=_0x6b22ec['filter'](_0x3a3b94=>t['fileInfo']?.['has'](_0x3a3b94)&&!!i1['getCtx'](_0x3a3b94)?.['store']['fileInfo']);_0x39f91e['length']>0x0&&this['validationManager']['runFileValidators']('upload',_0x39f91e),this['validationManager']['runFileValidators']('change',_0x6b22ec);}),t['uploadProgress']){for(let _0x1d054b of t['uploadProgress']){let _0x3df656=i1['getCtx'](_0x1d054b);if(!_0x3df656)continue;let {isUploading:_0x4a06fc,silent:_0x14dd08}=_0x3df656['store'];_0x4a06fc&&!_0x14dd08&&this['emit'](m4['FILE_UPLOAD_PROGRESS'],this['api']['getOutputItem'](_0x1d054b));}this['Un']();}if(t['isUploading'])for(let _0x23a447 of t['isUploading']){let _0x5e21cf=i1['getCtx'](_0x23a447);if(!_0x5e21cf)continue;let {isUploading:_0x53cec6,silent:_0x32625d}=_0x5e21cf['store'];_0x53cec6&&!_0x32625d&&this['emit'](m4['FILE_UPLOAD_START'],this['api']['getOutputItem'](_0x23a447));}if(t['fileInfo']){for(let _0x14340e of t['fileInfo']){let _0x4c38f7=i1['getCtx'](_0x14340e);if(!_0x4c38f7)continue;let {fileInfo:_0x58e276,silent:_0x1eaa1a}=_0x4c38f7['store'];_0x58e276&&!_0x1eaa1a&&this['emit'](m4['FILE_UPLOAD_SUCCESS'],this['api']['getOutputItem'](_0x14340e));}this['cfg']['cropPreset']&&this['vu']();}if(t['errors']){this['validationManager']['runCollectionValidators']();for(let _0x13bc00 of t['errors']){let _0x21e4f8=i1['getCtx'](_0x13bc00);if(!_0x21e4f8)continue;let {errors:_0x5d536e}=_0x21e4f8['store'];_0x5d536e['length']>0x0&&(this['emit'](m4['FILE_UPLOAD_FAILED'],this['api']['getOutputItem'](_0x13bc00)),this['emit'](m4['COMMON_UPLOAD_FAILED'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}));}let _0x6e3f09=_0x5cf947['findItems'](_0x1ae3dd=>!!_0x1ae3dd['getValue']('fileInfo')),_0xdc4461=_0x5cf947['findItems'](_0x449954=>_0x449954['getValue']('errors')['length']>0x0);_0x5cf947['size']>0x0&&0x0===_0xdc4461['length']&&_0x5cf947['size']===_0x6e3f09['length']&&0x0===this['$']['*collectionErrors']['length']&&this['emit'](m4['COMMON_UPLOAD_SUCCESS'],this['api']['getOutputCollectionState']());}t['cdnUrl']&&([...t['cdnUrl']]['filter'](_0x5d0640=>!!this['uploadCollection']['read'](_0x5d0640)?.['getValue']('cdnUrl'))['forEach'](_0x249be3=>{this['emit'](m4['FILE_URL_CHANGED'],this['api']['getOutputItem'](_0x249be3));}),this['$']['*groupInfo']=null);},this['Un']=()=>{let t=0x0,_0x2a3930=[...this['$']['*uploadTrigger']]['filter'](_0x24877f=>!!this['uploadCollection']['read'](_0x24877f));_0x2a3930['forEach'](_0x10cb34=>{let _0x1ddd8b=this['uploadCollection']['readProp'](_0x10cb34,'uploadProgress');'number'==typeof _0x1ddd8b&&(t+=_0x1ddd8b);});let _0x310588=_0x2a3930['length']?Math['round'](t/_0x2a3930['length']):0x0;this['$']['*commonProgress']!==_0x310588&&(this['$']['*commonProgress']=_0x310588,this['emit'](m4['COMMON_UPLOAD_PROGRESS'],this['api']['getOutputCollectionState']()));};}get['pu'](){return this['hasBlockInCtx'](t=>t instanceof o&&(t['Xi']&&t['isConnected']&&t!==this));}['initCallback'](){super['initCallback'](),this['Z']('*uploadCollection',()=>new s6({'initialValue':y6,'watchList':['file','uploadProgress','uploadError','fileInfo','errors','cdnUrl','isUploading','isValidationPending']})),this['Z']('*secureUploadsManager',t=>new Q4(t)),this['Z']('*validationManager',t=>new t6(t)),this['Z']('*publicApi',t=>new b6(t)),!this['pu']&&this['couldBeCtxOwner']&&this['hu']();}['getAPI'](){return this['api'];}get['validationManager'](){return this['ie']('*validationManager');}get['api'](){return this['ie']('*publicApi');}get['uploadCollection'](){return this['ie']('*uploadCollection');}get['secureUploadsManager'](){return this['ie']('*secureUploadsManager');}['disconnectedCallback'](){super['disconnectedCallback'](),this['Xi']&&this['Ln'](),this['bo']['cancel']();}['connectedCallback'](){super['connectedCallback'](),this['Xi']&&this['Rn']();}['hu'](){this['Xi']=!0x0,this['Rn'](),this['subConfigValue']('maxConcurrentRequests',t=>{this['$']['*uploadQueue']['concurrency']=Number(t)||0x1;});}['Rn'](){this['Ln'](),this['vo']=this['uploadCollection']['observeCollection'](this['fu']),this['yo']=this['uploadCollection']['observeProperties'](this['mu']);}['Ln'](){this['yo']?.(),this['vo']?.(),this['yo']=void 0x0,this['vo']=void 0x0;}async['gu'](t){let _0x403245=await this['getUploadClientOptions'](),_0x126699=t['allEntries']['map'](_0x29f627=>_0x29f627['uuid']+(_0x29f627['cdnUrlModifiers']?'/'+_0x29f627['cdnUrlModifiers']:'')),_0x3c8656=new AbortController(),_0x49e47d=await M3(_0x126699,{..._0x403245,'signal':_0x3c8656['signal']});if(this['$']['*collectionState']!==t)return void _0x3c8656['abort']();this['$']['*groupInfo']=_0x49e47d;let _0x286bc3=this['api']['getOutputCollectionState']();this['emit'](m4['GROUP_CREATED'],_0x286bc3),this['emit'](m4['CHANGE'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}),this['$']['*collectionState']=_0x286bc3;}['vu'](){let t=M6(this['cfg']['cropPreset']);if(!t)return;let [_0x2625b5]=t,_0x55b1b5=this['uploadCollection']['findItems'](_0x1135f3=>!!_0x1135f3['getValue']('fileInfo')&&_0x1135f3['getValue']('isImage')&&!_0x1135f3['getValue']('cdnUrlModifiers')?.['includes']('/crop/'))['map'](_0x3514d4=>this['uploadCollection']['read'](_0x3514d4))['filter'](Boolean);for(let _0x3a7d10 of _0x55b1b5){let _0x4110cd=_0x3a7d10['getValue']('fileInfo');if(!_0x4110cd||!_0x4110cd['imageInfo']){console['warn']('Failed\x20to\x20get\x20image\x20info\x20for\x20entry',_0x3a7d10['uid']);continue;}let {width:_0x10b710,height:_0x160c1f}=_0x4110cd['imageInfo'],_0x9384b7=x6(_0x10b710,_0x160c1f,'number'==typeof _0x2625b5?.['width']&&'number'==typeof _0x2625b5?.['height']&&_0x2625b5['width']>0x0&&_0x2625b5['height']>0x0?_0x2625b5['width']/_0x2625b5['height']:0x1),_0x142ffe=F2('crop/'+_0x9384b7['width']+'x'+_0x9384b7['height']+'/'+_0x9384b7['x']+','+_0x9384b7['y'],'preview'),_0x531622=_0x3a7d10['getValue']('cdnUrl');_0x531622?_0x3a7d10['setMultipleValues']({'cdnUrlModifiers':_0x142ffe,'cdnUrl':Y2(_0x531622,_0x142ffe)}):console['warn']('Failed\x20to\x20get\x20cdnUrl\x20for\x20entry',_0x3a7d10['uid']);}}async['getMetadataFor'](t){let _0x536c26=this['cfg']['metadata']||void 0x0;return'function'==typeof _0x536c26?await _0x536c26(this['api']['getOutputItem'](t)):_0x536c26;}async['getUploadClientOptions'](){let t=await this['secureUploadsManager']['getSecureToken']()['catch'](()=>null);return{'store':this['cfg']['store'],'publicKey':this['cfg']['pubkey'],'baseCDN':this['cfg']['cdnCname'],'baseURL':this['cfg']['baseUrl'],'userAgent':N6,'integration':this['cfg']['userAgentIntegration'],'secureSignature':t?.['secureSignature'],'secureExpire':t?.['secureExpire'],'retryThrottledRequestMaxTimes':this['cfg']['retryThrottledRequestMaxTimes'],'retryNetworkErrorMaxTimes':this['cfg']['retryNetworkErrorMaxTimes'],'multipartMinFileSize':this['cfg']['multipartMinFileSize'],'multipartChunkSize':this['cfg']['multipartChunkSize'],'maxConcurrentRequests':this['cfg']['multipartMaxConcurrentRequests'],'multipartMaxAttempts':this['cfg']['multipartMaxAttempts'],'checkForUrlDuplicates':!!this['cfg']['checkForUrlDuplicates'],'saveUrlForRecurrentUploads':!!this['cfg']['saveUrlForRecurrentUploads']};}['getOutputData'](){return m6(this['i']);}};j6['extSrcList']=Object['freeze']({...l6}),j6['sourceTypes']=Object['freeze']({...u6});var U6=class extends k4{constructor(){super(...arguments),this['name']='',this['Qi']='',this['ri']=null,this['$n']=null;}['initCallback'](){super['initCallback'](),this['setAttribute']('aria-hidden','true'),this['subConfigValue']('iconHrefResolver',_0x149f21=>{this['$n']=_0x149f21,this['wo']();});let t=this['i']['pluginManager'];t?.['onPluginsChange']&&(this['E']=t['onPluginsChange'](()=>this['wo']()));}['willUpdate'](t){super['willUpdate'](t),t['has']('name')&&this['wo']();}['wo'](){if(!this['name'])return this['Qi']='',void(this['ri']=null);let _0x41d04e=this['i']['pluginManager']?.['snapshot']()['icons']['find'](_0x371341=>_0x371341['name']===this['name']);if(_0x41d04e)return this['ri']=_0x41d04e['svg'],void(this['Qi']='');this['ri']=null;let _0x13c252='#uc-icon-'+this['name'],_0x174abc=this['$n']?.(this['name']);this['Qi']=_0x174abc??_0x13c252;}['render'](){return this['ri']?Z1`${this['yield']('',Z1`${L4(this['ri'])}`)}`:Z1` ${this['yield']('',Z1`<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><use href=${this['Qi']}></use></svg>`)} `;}['disconnectedCallback'](){this['E']?.(),this['E']=void 0x0,super['disconnectedCallback']();}};z0([_2({'type':String})],U6['prototype'],'name',0x2),z0([E2()],U6['prototype'],'Qi',0x2),z0([E2()],U6['prototype'],'ri',0x2);var V6='--uc-img-',B6='unresolved',F6=!window['location']['host']['trim']()||window['location']['host']['includes'](':')||window['location']['hostname']['includes']('localhost'),H6=Object['freeze']({'PREVIEW':'PREVIEW','MAIN':'MAIN'}),Z6=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}}),G6=class extends d2(m2(l2)){constructor(){super(),this['Mt']={},this['c']=new Map(),this['Ot']=null,this['Ji']=null;for(let t in Z6){let _0x3a309c=Z6[t];this['Mt'][V6+t]=_0x3a309c?.['default']||'';}}['createRenderRoot'](){return this;}['$$'](t){return this['Mt'][V6+t];}['set$$'](t){for(let _0x26905c in t){let _0x2adcc1=V6+_0x26905c,_0x54c07b=t[_0x26905c];this['Mt'][_0x2adcc1]=_0x54c07b,this['q'](_0x2adcc1,_0x54c07b);}}['sub$$'](t,_0x351892){let _0x569bc2=V6+t;this['c']['has'](_0x569bc2)||this['c']['set'](_0x569bc2,new Set()),this['c']['get'](_0x569bc2)?.['add'](_0x351892);let _0x3d184d=this['Mt'][_0x569bc2];null!==_0x3d184d&&''!==_0x3d184d&&_0x351892(_0x3d184d);}['q'](t,_0x36d3bb){this['c']['has'](t)&&this['c']['get'](t)?.['forEach'](_0x19bee8=>{null===_0x36d3bb||''===_0x36d3bb||_0x19bee8(_0x36d3bb);});}['analyticsParams'](){return'-/@clib/'+g4+'/'+O4+'/uc-img/';}['initAttributes'](t){Array['from'](this['attributes'])['forEach'](_0xeeb650=>{let _0x5a1494=_0xeeb650;Z6[_0x5a1494['name']]||t['setAttribute'](_0x5a1494['name'],_0x5a1494['value']);});}['initIntersection'](t,_0x10fa74){this['Ot']=new IntersectionObserver(_0x1a200e=>{_0x1a200e['forEach'](_0x1f3bb1=>{_0x1f3bb1['isIntersecting']&&(_0x10fa74(),this['Ot']?.['unobserve'](t));});},{'root':null,'rootMargin':'0px'}),this['Ot']['observe'](t),this['Ji']||(this['Ji']=new Set()),this['Ji']['add'](t);}['connectedCallback'](){super['connectedCallback'](),this['yu']();}['yu'](){for(let t in Z6){let _0x4b7b4d=V6+t,_0x4d1daf=this['getCssData'](_0x4b7b4d,!0x0);null!=_0x4d1daf&&(this['Mt'][_0x4b7b4d]=_0x4d1daf);}}['disconnectedCallback'](){super['disconnectedCallback'](),this['Ot']&&(this['Ji']?.['forEach'](t=>{this['Ot']?.['unobserve'](t);}),this['Ot']=null),this['c']['clear']();}static get['observedAttributes'](){return Object['keys'](Z6);}['attributeChangedCallback'](t,_0x1fceb7,_0x27435f){window['setTimeout'](()=>{let _0x2b1894=V6+t;this['Mt'][_0x2b1894]=_0x27435f,this['q'](_0x2b1894,_0x27435f);});}},X6=class extends G6{constructor(){super(...arguments),this['be']=new Image(),this['pe']=new Image();}['Dn'](t){return!t['includes']('//')&&!F6&&(t=new URL(t,document['baseURI'])['href']),t;}['er'](t){if(!t)return;let _0x664452=t,_0x58b205=_0x664452['match'](/\d+/)?.[0x0],_0x47bc9d=_0x664452['match'](/[a-zA-Z]+/)?.[0x0];if(!_0x58b205||!_0x47bc9d)return;let _0xfc4088=parseInt(_0x58b205,0xa);return Number(_0xfc4088)>0x1388&&this['Fn']?0x1388+_0x47bc9d:Number(_0xfc4088)>0xbb8&&!this['Fn']?0xbb8+_0x47bc9d:t;}['bu'](t,_0x67219d){return F2(...(_0xce8e01=>Object['entries'](_0xce8e01)['filter'](([_0x287bd6,t])=>void 0x0!==t&&''!==t)['map'](([_0x375cee,t])=>'cdn-operations'===_0x375cee||'analytics'===_0x375cee?t:_0x375cee+'/'+t))({'format':this['To']('format'),'quality':this['To']('quality'),'resize':this['er'](t),'blur':_0x67219d,'cdn-operations':this['To']('cdn-operations')??void 0x0,'analytics':this['analyticsParams']()}));}['To'](t){let _0x15f777=this['$$'](t);if(null==_0x15f777||'string'==typeof _0x15f777||'number'==typeof _0x15f777||'boolean'==typeof _0x15f777)return _0x15f777;}['re'](t='',_0x4e4188=''){let _0x253574=this['$$']('src');if(_0x253574['startsWith']('data:')||_0x253574['startsWith']('blob:'))return _0x253574;if(F6&&_0x253574&&!_0x253574['includes']('//'))return this['oi'](_0x253574);let _0x2cfae7=this['bu'](t,_0x4e4188),_0x2dc2c5=this['$$']('cdn-cname'),_0x548294=_0x2dc2c5;if(_0x253574['startsWith'](String(_0x2dc2c5)))return Y2(_0x253574,_0x2cfae7);let _0x20f1c2=this['$$']('uuid');if(_0x548294&&_0x20f1c2)return this['oi'](Y2(K2(_0x548294,_0x20f1c2),_0x2cfae7));if(_0x20f1c2)return this['oi'](Y2(K2(_0x548294,_0x20f1c2),_0x2cfae7));let _0x490b3f=this['$$']('proxy-cname');if(_0x490b3f)return this['oi'](Y2(_0x490b3f,_0x2cfae7,this['Dn'](_0x253574)));let _0x1d1c3c=this['$$']('pubkey');return _0x1d1c3c?this['oi'](Y2('https://'+_0x1d1c3c+'.ucr.io/',_0x2cfae7,this['Dn'](_0x253574))):void 0x0;}['oi'](t){let _0xe5d10f=this['$$']('secure-delivery-proxy');return _0xe5d10f?v4(_0xe5d10f,{'previewUrl':t},{'transform':_0x2fedc9=>window['encodeURIComponent'](_0x2fedc9)}):t;}['It'](t,_0x47d14e=0x1,_0x83139=!0x0){let _0x4f5c8d=t['getBoundingClientRect'](),_0x3d21eb=_0x47d14e*Math['round'](_0x4f5c8d['width']),_0x46f1a9=_0x83139?'':_0x47d14e*Math['round'](_0x4f5c8d['height']);return _0x3d21eb||_0x46f1a9?(_0x3d21eb||'')+'x'+(_0x46f1a9||''):null;}['wu'](t){let _0x49e46d=_0x5be105=>{_0x5be105['stopPropagation']();let _0x3504aa=new Event(_0x5be105['type'],_0x5be105);this['dispatchEvent'](_0x3504aa);};for(let _0x56999f of['load','error'])t['addEventListener'](_0x56999f,_0x49e46d);}get['img'](){return this['we']||(this['Eo']({'elNode':this['be']}),this['appendChild'](this['be'])),this['be'];}get['tr'](){return this['we']?{'type':H6['PREVIEW'],'img':this['pe']}:{'type':H6['MAIN'],'img':this['img']};}get['we'](){return this['$$']('is-preview-blur');}get['Nn'](){return this['$$']('is-background-for');}get['Vn'](){let t=this['$$']('breakpoints');return t?(_0x16b3e5=>[...new Set(_0x16b3e5)])(J2(t)['map'](_0x16ae38=>parseInt(_0x16ae38,0xa))):null;}get['Fn'](){return'jpeg'===this['$$']('format')['toLowerCase']();}['_n'](t){let _0x245fcd=new Set();_0x245fcd['add']('url(\x22'+this['re'](this['It'](t))+'\x22)\x201x'),this['$$']('hi-res-support')&&_0x245fcd['add']('url(\x22'+this['re'](this['It'](t,0x2))+'\x22)\x202x'),this['$$']('ultra-res-support')&&_0x245fcd['add']('url(\x22'+this['re'](this['It'](t,0x3))+'\x22)\x203x');let _0x12bfab='image-set('+[..._0x245fcd]['join'](',\x20')+')';t['style']['setProperty']('background-image',_0x12bfab),t['style']['setProperty']('background-image','-webkit-'+_0x12bfab);}['Bn'](){let t=new Set();return this['Vn']?this['Vn']['forEach'](_0x2a6759=>{t['add'](this['re'](_0x2a6759+'x')+'\x20'+this['er'](_0x2a6759+'w')),this['$$']('hi-res-support')&&t['add'](this['re'](0x2*_0x2a6759+'x')+'\x20'+this['er'](0x2*_0x2a6759+'w')),this['$$']('ultra-res-support')&&t['add'](this['re'](0x3*_0x2a6759+'x')+'\x20'+this['er'](0x3*_0x2a6759+'w'));}):(t['add'](this['re'](this['It'](this['tr']['img']))+'\x201x'),this['$$']('hi-res-support')&&t['add'](this['re'](this['It'](this['tr']['img'],0x2))+'\x202x'),this['$$']('ultra-res-support')&&t['add'](this['re'](this['It'](this['tr']['img'],0x3))+'\x203x')),[...t]['join']();}['zn'](){return this['re']();}get['Hn'](){return this['re']('100x','100');}['Tu'](){let t=this['Nn'];[...document['querySelectorAll'](t)]['forEach'](_0x5c0bc2=>{this['$$']('intersection')?this['initIntersection'](_0x5c0bc2,()=>{this['_n'](_0x5c0bc2);}):this['_n'](_0x5c0bc2);});}['Eu']({elNode:t,src:_0x2f9f5a,srcset:_0x35f3d6}){_0x2f9f5a&&(t['src']=_0x2f9f5a),_0x35f3d6&&(t['srcset']=_0x35f3d6);}['Eo']({elNode:t}){this['wu'](t),this['initAttributes'](t);}['xo']({src:t,srcset:_0x375859,elNode:_0x9f4f00}){return new Promise((_0x15b599,_0x158909)=>{this['Eo']({'elNode':_0x9f4f00}),_0x9f4f00['setAttribute'](B6,''),_0x9f4f00['addEventListener']('load',()=>{_0x9f4f00['removeAttribute'](B6),_0x15b599(_0x9f4f00);}),_0x9f4f00['addEventListener']('error',()=>{_0x158909(!0x1);}),this['Eu']({'elNode':_0x9f4f00,'src':t,'srcset':_0x375859});});}async['xu'](){if(this['$$']('intersection'))return this['we']&&(this['Eo']({'elNode':this['pe']}),this['appendChild'](this['pe'])),void this['initIntersection'](this['tr']['img'],async()=>{this['we']&&(this['pe']['src']=this['Hn']);try{await this['xo']({'src':this['zn'](),'srcset':this['Bn'](),'elNode':this['be']}),this['we']&&await this['pe']['remove'](),this['appendChild'](this['be']);}catch{this['we']&&await this['pe']?.['remove'](),this['appendChild'](this['be']);}});try{this['we']&&(await this['xo']({'src':this['Hn'],'elNode':this['pe']}),this['appendChild'](this['pe'])),await this['xo']({'src':this['zn'](),'srcset':this['Bn'](),'elNode':this['be']}),this['we']&&await this['pe']?.['remove'](),this['appendChild'](this['be']);}catch{this['we']&&await this['pe']?.['remove'](),this['appendChild'](this['be']);}}['init'](){this['Nn']?this['Tu']():this['xu']();}},q6=class extends X6{['connectedCallback'](){super['connectedCallback'](),this['sub$$']('src',()=>{this['init']();}),this['sub$$']('uuid',()=>{this['init']();}),this['sub$$']('lazy',_0x487aed=>{!this['$$']('is-background-for')&&!this['$$']('is-preview-blur')&&(this['img']['loading']=_0x487aed?'lazy':'eager');});}},{I:W6}=o2,z6=_0x14f264=>_0x14f264,Y6=()=>document['createComment'](''),K6=(_0x5a1835,_0xe64a9,t)=>{let _0x6649f4=_0x5a1835['ve']['parentNode'],_0x2b65e4=void 0x0===_0xe64a9?_0x5a1835['yt']:_0xe64a9['ve'];if(void 0x0===t)t=new W6(_0x6649f4['insertBefore'](Y6(),_0x2b65e4),_0x6649f4['insertBefore'](Y6(),_0x2b65e4),_0x5a1835,_0x5a1835['options']);else{let _0x2d4741=t['yt']['nextSibling'],_0x3ee8c0=t['f'],_0x39a3d8=_0x3ee8c0!==_0x5a1835;if(_0x39a3d8){let _0x4cbb00;t['Cu']?.(_0x5a1835),t['f']=_0x5a1835,void 0x0!==t['Ui']&&(_0x4cbb00=_0x5a1835['W'])!==_0x3ee8c0['W']&&t['Ui'](_0x4cbb00);}if(_0x2d4741!==_0x2b65e4||_0x39a3d8){let _0xc726a7=t['ve'];for(;_0xc726a7!==_0x2d4741;){let _0x344761=z6(_0xc726a7)['nextSibling'];z6(_0x6649f4)['insertBefore'](_0xc726a7,_0x2b65e4),_0xc726a7=_0x344761;}}}return t;},J6=(_0x44bd53,_0x44ffec,t=_0x44bd53)=>(_0x44bd53['ce'](_0x44ffec,t),_0x44bd53),t7={},e7=_0xf547f=>{_0xf547f['bt'](),_0xf547f['ve']['remove']();},i7=(_0x550ee0,_0x23a16b)=>{let t=_0x550ee0['le'];if(void 0x0===t)return!0x1;for(let _0x4309b9 of t)_0x4309b9['qs']?.(_0x23a16b,!0x1),i7(_0x4309b9,_0x23a16b);return!0x0;},s7=_0x476911=>{let _0x4521a1,t;do{if(void 0x0===(_0x4521a1=_0x476911['f']))break;t=_0x4521a1['le'],t['delete'](_0x476911),_0x476911=_0x4521a1;}while(0x0===t?.['size']);},n7=_0xf94ade=>{for(let _0x48eb08;_0x48eb08=_0xf94ade['f'];_0xf94ade=_0x48eb08){let t=_0x48eb08['le'];if(void 0x0===t)_0x48eb08['le']=t=new Set();else{if(t['has'](_0xf94ade))break;}t['add'](_0xf94ade),a7(_0x48eb08);}};function r7(_0x2f642b){void 0x0!==this['le']?(s7(this),this['f']=_0x2f642b,n7(this)):this['f']=_0x2f642b;}function o7(_0x501124,_0x2d09b7=!0x1,t=0x0){let _0x5ca86a=this['r'],_0x3d08c6=this['le'];if(void 0x0!==_0x3d08c6&&0x0!==_0x3d08c6['size']){if(_0x2d09b7){if(Array['isArray'](_0x5ca86a)){for(let _0x4d9586=t;_0x4d9586<_0x5ca86a['length'];_0x4d9586++)i7(_0x5ca86a[_0x4d9586],!0x1),s7(_0x5ca86a[_0x4d9586]);}else null!=_0x5ca86a&&(i7(_0x5ca86a,!0x1),s7(_0x5ca86a));}else i7(this,_0x501124);}}var a7=_0x2b6892=>{_0x2b6892['type']==C4&&(_0x2b6892['Ui']??=o7,_0x2b6892['Cu']??=r7);},c7=class extends P4{constructor(){super(...arguments),this['le']=void 0x0;}['Wr'](_0x25ab06,t,_0x5f6563){super['Wr'](_0x25ab06,t,_0x5f6563),n7(this),this['isConnected']=_0x25ab06['W'];}['qs'](_0x1a6f79,t=!0x0){_0x1a6f79!==this['isConnected']&&(this['isConnected']=_0x1a6f79,_0x1a6f79?this['reconnected']?.():this['disconnected']?.()),t&&(i7(this,_0x1a6f79),s7(this));}['setValue'](_0xc3fedb){if((_0x2c96c8=>void 0x0===_0x2c96c8['strings'])(this['Wi']))this['Wi']['ce'](_0xc3fedb,this);else{let t=[...this['Wi']['r']];t[this['iu']]=_0xc3fedb,this['Wi']['ce'](t,this,0x0);}}['disconnected'](){}['reconnected'](){}},l7=()=>new h7(),h7=class{},u7=new WeakMap(),d7=R4(class extends c7{['render'](_0x27fbf6){return X1;}['update'](_0x4f7c2c,[_0x49b02e]){let t=_0x49b02e!==this['G'];return t&&void 0x0!==this['G']&&this['rt'](void 0x0),(t||this['lt']!==this['ct'])&&(this['G']=_0x49b02e,this['ht']=_0x4f7c2c['options']?.['host'],this['rt'](this['ct']=_0x4f7c2c['element'])),X1;}['rt'](_0xee419f){if(this['isConnected']||(_0xee419f=void 0x0),'function'==typeof this['G']){let _0xff1fea=this['ht']??globalThis,t=u7['get'](_0xff1fea);void 0x0===t&&(t=new WeakMap(),u7['set'](_0xff1fea,t)),void 0x0!==t['get'](this['G'])&&this['G']['call'](this['ht'],void 0x0),t['set'](this['G'],_0xee419f),void 0x0!==_0xee419f&&this['G']['call'](this['ht'],_0xee419f);}else this['G']['value']=_0xee419f;}get['lt'](){return'function'==typeof this['G']?u7['get'](this['ht']??globalThis)?.['get'](this['G']):this['G']?.['value'];}['disconnected'](){this['lt']===this['ct']&&this['rt'](void 0x0);}['reconnected'](){this['rt'](this['ct']);}}),f7=null,m7=class extends k4{constructor(){super(...arguments),this['dialogEl']=l7(),this['strokes']=!0x1,this['blockBodyScrolling']=!0x1,this['closeDialog']=()=>{this['modalManager']?.['close'](this['id']),this['modalManager']?.['hasActiveModals']||(document['body']['style']['overflow']='',this['$']['*currentActivity']=null);},this['Su']=()=>{this['closeDialog']();},this['Au']=t=>{this['Co']=t['target'];},this['ku']=t=>{let _0x5d705f=t['target'];_0x5d705f===this['dialogEl']['value']&&_0x5d705f===this['Co']&&this['closeDialog']();},this['si']=({id:t})=>{t===this['id']?(f7=t,this['show'](),this['emit'](m4['MODAL_OPEN'],{'modalId':t},{'debounce':!0x0})):this['hide']();},this['ni']=({id:t})=>{t===this['id']&&(this['hide'](),this['emit'](m4['MODAL_CLOSE'],{'modalId':t,'hasActiveModals':this['modalManager']?.['hasActiveModals']},{'debounce':!0x0}));},this['Kn']=t=>{this['hide'](),f7===this['id']&&this['emit'](m4['MODAL_CLOSE'],{'modalId':f7,'hasActiveModals':this['modalManager']?.['hasActiveModals']},{'debounce':!0x0});};}static{this['styleAttrs']=[...super['styleAttrs'],'uc-modal'];}async['show'](){await this['updateComplete'];let t=this['dialogEl']['value'];'function'==typeof t['showModal']?(this['setAttribute']('aria-modal','true'),t['showModal']()):t['setAttribute']('open',''),this['cfg']['modalScrollLock']&&(document['body']['style']['overflow']='hidden');}['hide'](){let t=this['dialogEl']['value'];t&&('function'==typeof t['close']?(this['setAttribute']('aria-modal','false'),t['close']()):t['removeAttribute']('open'));}['initCallback'](){super['initCallback'](),this['modalManager']?.['registerModal'](this['id'],this),this['subConfigValue']('modalBackdropStrokes',t=>{t?this['setAttribute']('strokes',''):this['removeAttribute']('strokes');}),this['modalManager']?.['subscribe'](E5['OPEN'],this['si']),this['modalManager']?.['subscribe'](E5['CLOSE'],this['ni']),this['modalManager']?.['subscribe'](E5['CLOSE_ALL'],this['Kn']);}['disconnectedCallback'](){super['disconnectedCallback'](),document['body']['style']['overflow']='',this['Co']=void 0x0,this['modalManager']?.['unsubscribe'](E5['OPEN'],this['si']),this['modalManager']?.['unsubscribe'](E5['CLOSE'],this['ni']),this['modalManager']?.['unsubscribe'](E5['CLOSE_ALL'],this['Kn']);}['Mu'](t){this['dialogEl']={'value':t},this['dialogEl']['value']?.['addEventListener']('close',this['Su']),this['dialogEl']['value']?.['addEventListener']('mousedown',this['Au']),this['dialogEl']['value']?.['addEventListener']('mouseup',this['ku']);}['render'](){return Z1`<dialog ${d7(this['Mu'])}>${this['yield']('')}</dialog>`;}};z0([_2({'type':Boolean,'noAccessor':!0x0})],m7['prototype'],'strokes',0x2),z0([_2({'type':Boolean,'attribute':'block-body-scrolling','noAccessor':!0x0})],m7['prototype'],'blockBodyScrolling',0x2);var p7=class extends j6{constructor(){super(...arguments),this['z']=null,this['ir']=null;}get['jn'](){return this['nameAttrValue']??this['ctxName'];}['Gn'](){let t=document['createElement']('input');return t['type']='text',t['name']=this['jn'],t['required']=this['cfg']['multipleMin']>0x0,t['tabIndex']=-0x1,a6(t,{'opacity':0x0,'height':0x0,'width':0x0}),t;}['initCallback'](){super['initCallback'](),this['z']=this['Gn'](),this['appendChild'](this['z']),this['sub']('*collectionState',t=>{if(!t)return;if(!this['ir']){let _0x497670=document['createElement']('div');this['appendChild'](_0x497670),this['ir']=_0x497670;}if(!this['z']){let _0x1bfc2e=this['Gn']();this['appendChild'](_0x1bfc2e),this['z']=_0x1bfc2e;}if(this['ir']['innerHTML']='','uploading'===t['status']||'idle'===t['status'])return this['z']['value']='',void this['z']['setCustomValidity']('');if('failed'===t['status']){let _0x5d7534=t['errors'][0x0]?.['message'];return this['z']['value']='',void this['z']['setCustomValidity'](_0x5d7534??'');}let _0x5ab5f6=t['group']?t['group']:null;if(_0x5ab5f6)return this['z']['value']=_0x5ab5f6['cdnUrl']??'',void this['z']['setCustomValidity']('');let _0x6fbd76=t['allEntries']['map'](_0x138b8b=>_0x138b8b['cdnUrl'])['filter'](_0x5db1e5=>'string'==typeof _0x5db1e5);if(!this['cfg']['multiple']&&0x1===_0x6fbd76['length']&&_0x6fbd76[0x0])return this['z']['value']=_0x6fbd76[0x0],void this['z']['setCustomValidity']('');this['z']['remove'](),this['z']=null;let _0x35eba2=new DocumentFragment();for(let _0x25e633 of _0x6fbd76){let _0x546388=document['createElement']('input');_0x546388['type']='hidden',_0x546388['name']=this['jn']+'[]',_0x546388['value']=_0x25e633,_0x35eba2['appendChild'](_0x546388);}this['ir']['replaceChildren'](_0x35eba2);},!0x1);}};z0([_2({'type':String,'noAccessor':!0x0,'attribute':'name'})],p7['prototype'],'nameAttrValue',0x2);var g7=class extends k4{['initCallback'](){super['initCallback'](),this['subConfigValue']('removeCopyright',_0x54d802=>{this['toggleAttribute']('hidden',!!_0x54d802);});}['render'](){return Z1`<a href="https://uploadcare.com/?utm_source=copyright&amp;utm_medium=referral&amp;utm_campaign=v4" target="_blank noopener" class="uc-credits" >Powered by Uploadcare</a >`;}},O7=class extends k4{constructor(){super(...arguments),this['hasFileName']=!0x1,this['value']=0x0,this['visible']=!0x0,this['oe']=0x0,this['rr']=l7(),this['qn']=()=>{let t=this['rr']['value'];if(t){if(!this['visible'])return void t['classList']['add']('uc-fake-progress--hidden');this['oe']>0x0&&t['classList']['add']('uc-fake-progress--hidden');}};}['firstUpdated'](t){super['firstUpdated'](t),this['oe']=this['So'](this['value']),this['Ao'](),this['rr']['value']?.['addEventListener']('animationiteration',this['qn']);}['updated'](t){if(super['updated'](t),t['has']('value')){let _0x4f0eae=this['So'](this['value']);if(this['visible']){let _0x3c926a=Math['max'](this['oe'],_0x4f0eae);_0x3c926a!==this['oe']&&(this['oe']=_0x3c926a,this['Ao']());}else this['oe']=_0x4f0eae;}t['has']('visible')&&(this['classList']['toggle']('uc-progress-bar--hidden',!this['visible']),this['visible']?this['Ao']():this['oe']=this['So'](this['value']));}['disconnectedCallback'](){super['disconnectedCallback'](),this['rr']['value']?.['removeEventListener']('animationiteration',this['qn']);}['So'](t){return Number['isFinite'](t)?Math['min'](0x64,Math['max'](0x0,t)):0x0;}['Ao'](){this['visible']&&this['style']['setProperty']('--l-progress-value',this['oe']['toString']());}['render'](){return Z1`<div ${d7(this['rr'])} class="uc-fake-progress"></div><div class="uc-progress"></div>`;}};z0([_2({'type':Boolean,'noAccessor':!0x0})],O7['prototype'],'hasFileName',0x2),z0([_2({'type':Number})],O7['prototype'],'value',0x2),z0([_2({'type':Boolean,'reflect':!0x0})],O7['prototype'],'visible',0x2);var w7=class extends j6{constructor(){super(),this['he']=!0x1,this['Pt']=0x0,this['init$']={...this['init$'],'*commonProgress':0x0};}['initCallback'](){super['initCallback'](),this['ko']=this['uploadCollection']['observeProperties'](()=>{let t=this['uploadCollection']['items']()['some'](_0x3006c7=>this['uploadCollection']['read'](_0x3006c7)?.['getValue']('isUploading')??!0x1);this['he']=t;}),this['sub']('*commonProgress',t=>{this['Pt']=t;});}['updated'](t){super['updated'](t),t['has']('visible')&&(this['he']?this['setAttribute']('active',''):this['removeAttribute']('active'));}['disconnectedCallback'](){super['disconnectedCallback'](),this['ko']?.(),this['ko']=void 0x0;}['render'](){return Z1`<uc-progress-bar .value=${this['Pt']} .visible=${this['he']}></uc-progress-bar>`;}};z0([E2()],w7['prototype'],'he',0x2),z0([E2()],w7['prototype'],'Pt',0x2);var b7=class extends k4{constructor(){super(...arguments),this['value']='',this['disabled']=!0x1,this['options']=[],this['Ou']=t=>{if(this['disabled'])return t['preventDefault'](),void t['stopPropagation']();t['preventDefault'](),t['stopPropagation']();let _0x8ea399=t['currentTarget'];_0x8ea399&&(this['value']=_0x8ea399['value'],this['dispatchEvent'](new Event('change')));};}['render'](){return Z1`<select @change=${this['Ou']} .value=${this['value']} ?disabled=${this['disabled']}>${this['options']['map'](t=>Z1`<option value=${t['value']}>${t['text']}</option>`)}</select>`;}};z0([_2({'type':String,'attribute':!0x1})],b7['prototype'],'value',0x2),z0([_2({'type':Boolean,'reflect':!0x0})],b7['prototype'],'disabled',0x2),z0([_2({'type':Array,'attribute':!0x1})],b7['prototype'],'options',0x2);var y7=class extends j6{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x0,this['Mo']='default',this['Oo']='';}['willUpdate'](t){super['willUpdate'](t),t['has']('source')&&this['Iu'](this['source']);}['Iu'](t){if(!t)return this['Oo']='',void(this['Mo']='default');let {label:_0x5312ac,icon:_0x4022b3,id:_0x39725a}=t;this['Oo']=_0x5312ac,this['Mo']=_0x4022b3??_0x39725a??'default';}['activate'](){this['source']&&this['source']['onClick']();}['render'](){return Z1`<button type="button" @click=${this['activate']}><uc-icon name=${this['Mo']}></uc-icon><div class="uc-txt">${this['l10n'](this['Oo'])}</div></button>`;}};z0([_2({'attribute':!0x1})],y7['prototype'],'source',0x2),z0([E2()],y7['prototype'],'Mo',0x2),z0([E2()],y7['prototype'],'Oo',0x2);var v7=class extends j6{constructor(){super(...arguments),this['Wn']=[],this['Me']=[],this['wrap']=!0x1;}['initCallback'](){super['initCallback'](),this['subConfigValue']('sourceList',_0xbb445a=>{this['Wn']=J2(_0xbb445a),this['Zn']();});let t=this['i']['pluginManager'];t?.['onPluginsChange']&&(this['E']=t['onPluginsChange'](()=>this['Zn']()));}['updated'](t){super['updated'](t),this['cfg']['sourceListWrap']?this['style']['removeProperty']('display'):this['style']['display']='contents';}['Zn'](){let _0x4fbd7a=this['i']['pluginManager']?.['snapshot']()['sources']??[],_0x33a064=new Map(_0x4fbd7a['map'](_0x28f20e=>[_0x28f20e['id'],_0x28f20e])),_0x421ae2=[];this['Wn']['forEach'](_0x415097=>{let _0x324d2=this['Pu'](_0x415097,_0x33a064);if(0x1!==_0x324d2['length']||_0x324d2[0x0]!==_0x415097){for(let _0x35a574 of _0x324d2){let _0xc35dfa=_0x33a064['get'](_0x35a574);_0xc35dfa&&_0x421ae2['push'](this['Yn'](_0xc35dfa));}return;}let _0x561397=_0x33a064['get'](_0x415097);_0x561397&&_0x421ae2['push'](this['Yn'](_0x561397));}),this['Me']=_0x421ae2;}['Pu'](t,_0x2d0863){let _0x278e5b=_0x2d0863['get'](t);return _0x278e5b?.['expand']?_0x278e5b['expand']():[t];}['Yn'](t){return{'id':t['id'],'label':t['label'],'icon':t['icon'],'onClick':()=>t['onSelect']()};}['render'](){return Z1`${this['Me']['map'](t=>Z1`<uc-source-btn role="listitem" .source=${t} data-source-id=${t['id']}></uc-source-btn>`)}`;}['disconnectedCallback'](){this['E']?.(),this['E']=void 0x0,super['disconnectedCallback']();}};z0([E2()],v7['prototype'],'Me',0x2),z0([_2({'type':Boolean,'attribute':'wrap','noAccessor':!0x0})],v7['prototype'],'wrap',0x2);var _7=class extends k4{['render'](){return Z1`<div class="uc-spinner"></div>`;}},E7='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=';function T7(_0x30cf5e){let _0x492942=new Image();return{'promise':new Promise((_0x3e9d2d,_0x5dcd39)=>{_0x492942['src']=_0x30cf5e,_0x492942['onload']=()=>_0x3e9d2d(),_0x492942['onerror']=_0x221c6a=>_0x5dcd39(_0x221c6a);}),'image':_0x492942,'cancel':()=>{0x0===_0x492942['naturalWidth']&&(_0x492942['src']=E7);}};}function A7(_0x4a8964){let _0x5850f9=[];for(let _0x202840 of _0x4a8964){let _0x485b14=T7(_0x202840);_0x5850f9['push'](_0x485b14);}let t=_0x5850f9['map'](_0x1cd61d=>_0x1cd61d['image']);return{'promise':Promise['allSettled'](_0x5850f9['map'](_0x2314ec=>_0x2314ec['promise'])),'images':t,'cancel':()=>{_0x5850f9['forEach'](_0x315ef2=>{_0x315ef2['cancel']();});}};}function S7(_0x21f786,_0x5641a9=0x28){if('image/svg+xml'===_0x21f786['type'])return URL['createObjectURL'](_0x21f786);let t=document['createElement']('canvas'),_0x51da1a=t['getContext']('2d');if(!_0x51da1a)return Promise['reject'](new Error('Canvas\x20context\x20not\x20supported'));let _0x1f08aa=new Image(),_0x9dfb73=new Promise((_0x4a2331,_0x544947)=>{_0x1f08aa['onload']=()=>{let _0xee0430=_0x1f08aa['height']/_0x1f08aa['width'];_0xee0430>0x1?(t['width']=_0x5641a9,t['height']=_0x5641a9*_0xee0430):(t['height']=_0x5641a9,t['width']=_0x5641a9/_0xee0430),_0x51da1a['fillStyle']='rgb(240,\x20240,\x20240)',_0x51da1a['fillRect'](0x0,0x0,t['width'],t['height']),_0x51da1a['drawImage'](_0x1f08aa,0x0,0x0,t['width'],t['height']),t['toBlob'](_0x2709b6=>{_0x2709b6?_0x4a2331(URL['createObjectURL'](_0x2709b6)):_0x544947();});},_0x1f08aa['onerror']=_0x33c723=>{_0x544947(_0x33c723);};});return _0x1f08aa['src']=URL['createObjectURL'](_0x21f786),_0x9dfb73;}var I7=class extends j6{constructor(){super(...arguments),this['or']=new Set(),this['entry']=null;}['withEntry'](t){return(..._0x385125)=>{let _0x34a4b7=this['entry'];if(_0x34a4b7)return t(_0x34a4b7,..._0x385125);console['warn']('No\x20entry\x20found');};}['subEntry'](t,_0x1a6eaa){this['withEntry']((_0x355e8a,_0x47b759,_0x260705)=>{let _0x5b01db=_0x355e8a['subscribe'](_0x47b759,_0x17365c=>{this['isConnected']&&_0x260705(_0x17365c);});this['or']['add'](_0x5b01db);})(t,_0x1a6eaa);}['reset'](){for(let t of this['or'])t();this['or']=new Set(),this['entry']=null;}['disconnectedCallback'](){super['disconnectedCallback'](),this['or']=new Set();}};function k7(_0x363736='hsl(209,\x2021%,\x2065%)',_0x48c0c9=0x20,t=0x20){return function(_0x737ec5){let _0x59f34c=new Blob([_0x737ec5],{'type':'image/svg+xml'});return URL['createObjectURL'](_0x59f34c);}('<svg\x20width=\x22'+_0x48c0c9+'\x22\x20height=\x22'+t+'\x22\x20viewBox=\x220\x200\x2030\x2030\x22\x20fill=\x22none\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20fill-rule=\x22evenodd\x22\x20fill=\x22'+_0x363736+'\x22\x20d=\x22M9.68848\x208.70068C9.68848\x208.42454\x209.91233\x208.20068\x2010.1885\x208.20068H15.0885C15.2211\x208.20068\x2015.3483\x208.25336\x2015.442\x208.34713L20.342\x2013.2471C20.4358\x2013.3409\x2020.4885\x2013.4681\x2020.4885\x2013.6007V21.3007C20.4885\x2021.5768\x2020.2646\x2021.8007\x2019.9885\x2021.8007H10.1885C9.91233\x2021.8007\x209.68848\x2021.5768\x209.68848\x2021.3007V8.70068ZM10.6885\x209.20068V20.8007H19.4885V14.1007L15.0885\x2014.1007C14.8123\x2014.1007\x2014.5885\x2013.8768\x2014.5885\x2013.6007L14.5885\x209.20068H10.6885ZM15.5885\x209.90779L18.7814\x2013.1007L15.5885\x2013.1007L15.5885\x209.90779Z\x22/></svg>');}var x7=class extends I7{constructor(){super(...arguments),this['badgeIcon']='',this['uid']='',this['Le']='',this['Xn']=!0x1,this['sr']=null,this['Qn']=!0x1,this['Lu']=this['cfg']['filesViewMode'],this['Jn']=this['withEntry'](async(t,_0x2ee4a1=!0x1)=>{let _0x33b866=t['getValue']('fileInfo'),_0x778bcb=t['getValue']('isImage'),_0x328811=t['getValue']('uuid'),_0x2d6ca4=t['getValue']('thumbUrl'),_0x24eed2=this['Ru'](_0x2ee4a1);if(_0x33b866&&_0x778bcb&&_0x328811){let _0x2502de=await this['proxyUrl'](Y2(K2(this['cfg']['cdnCname'],_0x328811),F2(t['getValue']('cdnUrlModifiers'),'stretch/off','scale_crop/'+_0x24eed2+'x'+_0x24eed2+'/center')));if(_0x2d6ca4===_0x2502de)return;let {promise:_0x2e14c7}=T7(_0x2502de);return void _0x2e14c7['then'](()=>{t['setValue']('thumbUrl',_0x2502de),_0x2d6ca4?.['startsWith']('blob:')&&URL['revokeObjectURL'](_0x2d6ca4);})['catch'](async()=>{if(!_0x2d6ca4?.['startsWith']('blob:'))try{let _0x22d43f=t['getValue']('file');if(!_0x22d43f)return;let _0x45aa1f=await S7(_0x22d43f,_0x24eed2);t['setValue']('thumbUrl',_0x45aa1f);}catch(_0x3ae4b2){this['telemetryManager']['sendEventError'](_0x3ae4b2,'thumbnail\x20generation.\x20Failed\x20to\x20generate\x20thumb\x20from\x20file');let _0x1c6090=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');t['setValue']('thumbUrl',k7(_0x1c6090));}});}if(t['getValue']('thumbUrl'))return;let _0x427f70=t['getValue']('file');if(_0x427f70?.['type']['includes']('image'))try{let _0x3ec149=await S7(_0x427f70,_0x24eed2);t['setValue']('thumbUrl',_0x3ec149);}catch(_0x4cfa99){this['telemetryManager']['sendEventError'](_0x4cfa99,'thumbnail\x20generation.\x20Failed\x20to\x20generate\x20thumb\x20from\x20file');let _0x1b9116=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');t['setValue']('thumbUrl',k7(_0x1b9116));}else{let _0x4e55ac=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');t['setValue']('thumbUrl',k7(_0x4e55ac));}}),this['nr']=T2(this['Jn']['bind'](this),0x64);}['Ru'](t=!0x1){t&&(this['sr']=this['getBoundingClientRect']());let _0x412ee8=Math['max'](parseInt(String(this?.['sr']?.['height']||0x0),0xa),parseInt(String(this?.['sr']?.['width']||0x0),0xa),this['cfg']['thumbSize']);return window['devicePixelRatio']>0x1&&(_0x412ee8*=window['devicePixelRatio']),Math['min'](_0x412ee8,0xbb8);}['Uu'](t,_0x1b1c88){return new Promise((_0x50c250,_0x4ba5bb)=>{let _0x2476d0=new Image();_0x2476d0['decoding']='async';let _0x240f63=()=>{_0x2476d0&&(_0x2476d0['onload']=null,_0x2476d0['onerror']=null,_0x2476d0['src']=E7,_0x1b1c88?.['removeEventListener']('abort',_0x3c880c),_0x2476d0=null);},_0x3c880c=()=>{_0x240f63(),_0x4ba5bb(new DOMException('Aborted','AbortError'));};if(_0x1b1c88){if(_0x1b1c88['aborted'])return void _0x3c880c();_0x1b1c88['addEventListener']('abort',_0x3c880c,{'once':!0x0});}let _0x1b0766=()=>{_0x240f63(),_0x50c250();},_0x8c4f56=_0x511cd8=>{_0x240f63(),_0x4ba5bb(_0x511cd8);};if('function'==typeof _0x2476d0['decode'])return _0x2476d0['src']=t,void _0x2476d0['decode']()['then'](_0x1b0766)['catch'](_0x8c4f56);_0x2476d0['onload']=_0x1b0766,_0x2476d0['onerror']=_0x8c4f56,_0x2476d0['src']=t;});}['Po'](){this['Io']?.['cancel'](),this['Io']=void 0x0;}['$u'](t){if(this['Po'](),!t)return void(this['Le']&&(this['Le']=''));if(t===this['Le'])return;let _0x1117d3=new AbortController(),_0x4e9665={'controller':_0x1117d3,'cancel':()=>{_0x1117d3['abort'](),void 0x0!==_0x4e9665['rafId']&&window['cancelAnimationFrame'](_0x4e9665['rafId']);}};this['Io']=_0x4e9665,this['Uu'](t,_0x1117d3['signal'])['then'](()=>{_0x1117d3['signal']['aborted']||(_0x4e9665['rafId']=window['requestAnimationFrame'](()=>{_0x1117d3['signal']['aborted']||(this['Le']=t);}));})['catch'](_0x5ca21d=>{_0x1117d3['signal']['aborted']||_0x5ca21d instanceof DOMException&&'AbortError'===_0x5ca21d['name']||console['warn']('[Thumb]\x20Failed\x20to\x20decode\x20thumbnail\x20image',_0x5ca21d);});}['ar'](t=!0x1){if(this['entry']){if(t)return void this['Jn'](!0x0);this['Qn']&&this['nr']();}}['firstUpdated'](t){super['firstUpdated'](t),this['ea']();}['updated'](t){super['updated'](t),t['has']('uid')&&this['ea']();}['ai'](t){let [_0xf75883]=t;_0xf75883&&(this['Qn']=_0xf75883['isIntersecting'],_0xf75883['isIntersecting']&&(this['sr']=_0xf75883['boundingClientRect'],this['ar'](),this['s']?.['disconnect']()),0x0===_0xf75883['intersectionRatio']&&this['nr']['cancel']());}['reset'](){super['reset'](),this['nr']['cancel'](),this['Po'](),this['Le']&&(this['Le']='');}['ea'](){let t=this['uid']?.['trim']();if(!t)return void(this['entry']&&this['reset']());let _0x19ee85=this['uploadCollection']?.['read'](t);if(!_0x19ee85||_0x19ee85===this['entry'])return;this['reset'](),this['entry']=_0x19ee85;let _0x493d8f=()=>{this['ar']();};this['subEntry']('fileInfo',_0x15bd7b=>{_0x15bd7b?.['isImage']&&_0x493d8f();}),this['subEntry']('thumbUrl',_0x3416f7=>{this['$u'](_0x3416f7??void 0x0);}),this['subEntry']('cdnUrlModifiers',_0x493d8f),this['ar'](!0x0);}['initCallback'](){super['initCallback'](),this['subConfigValue']('filesViewMode',t=>{'grid'===t&&!this['Xn']&&('list'===this['Lu']&&this['ar'](!0x0),this['Xn']=!0x0);});}['connectedCallback'](){super['connectedCallback'](),this['s']?.['disconnect'](),this['s']=new window['IntersectionObserver'](this['ai']['bind'](this),{'threshold':0.1}),this['s']['observe'](this);}['disconnectedCallback'](){super['disconnectedCallback'](),this['nr']['cancel'](),this['Po'](),this['s']?.['disconnect']();}['render'](){return Z1`<div class="uc-thumb"><img class="uc-thumb__img" src=${this['Le']||E7} role="img" alt="Preview of uploaded image" ?hidden=${!this['Le']} draggable="false" /><div class="uc-badge"><uc-icon name=${this['badgeIcon']}></uc-icon></div></div>`;}};z0([_2({'type':String})],x7['prototype'],'badgeIcon',0x2),z0([_2({'attribute':!0x1})],x7['prototype'],'uid',0x2),z0([E2()],x7['prototype'],'Le',0x2);var C7=class extends Q6{},R7=class extends Q6{constructor(){super(...arguments),this['historyTracked']=!0x0,this['activityType']=Q6['activities']['START_FROM'];}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType']??'');}['render'](){return Z1`<div class="uc-content">${this['yield']('')}</div>`;}},P7=class extends j6{constructor(){super(...arguments),this['ta']=null;}static{this['styleAttrs']=['uc-wgt-common'];}static{this['EventType']=m4;}['initCallback'](){super['initCallback'](),this['ta']=this['eventEmitter']['bindTarget'](this);}['disconnectedCallback'](){super['disconnectedCallback'](),this['ta']?.();}},M7=(_0x226a9f,_0x3e55e8)=>{let _0xac37ea,t=!0x1,_0x4eb6c0=0x0,_0x43f502=(..._0x4dc7b8)=>{t?(_0xac37ea&&clearTimeout(_0xac37ea),_0xac37ea=setTimeout(()=>{Date['now']()-_0x4eb6c0>=_0x3e55e8&&(_0x226a9f(..._0x4dc7b8),_0x4eb6c0=Date['now']());},Math['max'](_0x3e55e8-(Date['now']()-_0x4eb6c0),0x0))):(_0x226a9f(..._0x4dc7b8),_0x4eb6c0=Date['now'](),t=!0x0);};return Object['defineProperty'](_0x43f502,'cancel',{'configurable':!0x1,'writable':!0x1,'enumerable':!0x1,'value':()=>{_0xac37ea&&clearTimeout(_0xac37ea);}}),_0x43f502;},N7=(_0x8910a1,_0x4d6b28,t)=>{let _0x1a1db6=new Map();for(let _0x4a0754=_0x4d6b28;_0x4a0754<=t;_0x4a0754++)_0x1a1db6['set'](_0x8910a1[_0x4a0754],_0x4a0754);return _0x1a1db6;},L7=R4(class extends P4{constructor(_0x5afbea){if(super(_0x5afbea),_0x5afbea['type']!==C4)throw Error('repeat()\x20can\x20only\x20be\x20used\x20in\x20text\x20expressions');}['dt'](_0x2aaaaa,_0x293593,t){let _0x1b795d;void 0x0===t?t=_0x293593:void 0x0!==_0x293593&&(_0x1b795d=_0x293593);let _0x1c3601=[],_0x20d4a7=[],_0x4fbce3=0x0;for(let _0x572277 of _0x2aaaaa)_0x1c3601[_0x4fbce3]=_0x1b795d?_0x1b795d(_0x572277,_0x4fbce3):_0x4fbce3,_0x20d4a7[_0x4fbce3]=t(_0x572277,_0x4fbce3),_0x4fbce3++;return{'values':_0x20d4a7,'keys':_0x1c3601};}['render'](_0x4e0f37,_0x31e66c,t){return this['dt'](_0x4e0f37,_0x31e66c,t)['values'];}['update'](_0x4a6394,[_0x12c6c4,t,_0x39ca3a]){let _0x3a2729=(_0xeb4e75=>_0xeb4e75['r'])(_0x4a6394),{values:_0x1dbe93,keys:_0x1499f6}=this['dt'](_0x12c6c4,t,_0x39ca3a);if(!Array['isArray'](_0x3a2729))return this['ut']=_0x1499f6,_0x1dbe93;let _0x50e6c0,_0xcbb03b,_0x475b45=this['ut']??=[],_0x1a24ed=[],_0x1a6d10=0x0,_0x14d0f4=_0x3a2729['length']-0x1,_0x36f115=0x0,_0x2d4c8a=_0x1dbe93['length']-0x1;for(;_0x1a6d10<=_0x14d0f4&&_0x36f115<=_0x2d4c8a;)if(null===_0x3a2729[_0x1a6d10])_0x1a6d10++;else{if(null===_0x3a2729[_0x14d0f4])_0x14d0f4--;else{if(_0x475b45[_0x1a6d10]===_0x1499f6[_0x36f115])_0x1a24ed[_0x36f115]=J6(_0x3a2729[_0x1a6d10],_0x1dbe93[_0x36f115]),_0x1a6d10++,_0x36f115++;else{if(_0x475b45[_0x14d0f4]===_0x1499f6[_0x2d4c8a])_0x1a24ed[_0x2d4c8a]=J6(_0x3a2729[_0x14d0f4],_0x1dbe93[_0x2d4c8a]),_0x14d0f4--,_0x2d4c8a--;else{if(_0x475b45[_0x1a6d10]===_0x1499f6[_0x2d4c8a])_0x1a24ed[_0x2d4c8a]=J6(_0x3a2729[_0x1a6d10],_0x1dbe93[_0x2d4c8a]),K6(_0x4a6394,_0x1a24ed[_0x2d4c8a+0x1],_0x3a2729[_0x1a6d10]),_0x1a6d10++,_0x2d4c8a--;else{if(_0x475b45[_0x14d0f4]===_0x1499f6[_0x36f115])_0x1a24ed[_0x36f115]=J6(_0x3a2729[_0x14d0f4],_0x1dbe93[_0x36f115]),K6(_0x4a6394,_0x3a2729[_0x1a6d10],_0x3a2729[_0x14d0f4]),_0x14d0f4--,_0x36f115++;else{if(void 0x0===_0x50e6c0&&(_0x50e6c0=N7(_0x1499f6,_0x36f115,_0x2d4c8a),_0xcbb03b=N7(_0x475b45,_0x1a6d10,_0x14d0f4)),_0x50e6c0['has'](_0x475b45[_0x1a6d10])){if(_0x50e6c0['has'](_0x475b45[_0x14d0f4])){let _0x29885b=_0xcbb03b['get'](_0x1499f6[_0x36f115]),_0x559531=void 0x0!==_0x29885b?_0x3a2729[_0x29885b]:null;if(null===_0x559531){let _0x418208=K6(_0x4a6394,_0x3a2729[_0x1a6d10]);J6(_0x418208,_0x1dbe93[_0x36f115]),_0x1a24ed[_0x36f115]=_0x418208;}else _0x1a24ed[_0x36f115]=J6(_0x559531,_0x1dbe93[_0x36f115]),K6(_0x4a6394,_0x3a2729[_0x1a6d10],_0x559531),_0x3a2729[_0x29885b]=null;_0x36f115++;}else e7(_0x3a2729[_0x14d0f4]),_0x14d0f4--;}else e7(_0x3a2729[_0x1a6d10]),_0x1a6d10++;}}}}}}for(;_0x36f115<=_0x2d4c8a;){let _0x21f374=K6(_0x4a6394,_0x1a24ed[_0x2d4c8a+0x1]);J6(_0x21f374,_0x1dbe93[_0x36f115]),_0x1a24ed[_0x36f115++]=_0x21f374;}for(;_0x1a6d10<=_0x14d0f4;){let _0x28e8c1=_0x3a2729[_0x1a6d10++];null!==_0x28e8c1&&e7(_0x28e8c1);}return this['ut']=_0x1499f6,((_0x4103b5,_0x59a274=t7)=>{_0x4103b5['r']=_0x59a274;})(_0x4a6394,_0x1a24ed),G1;}}),$7=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')}),D7=class G extends I7{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x0,this['ia']=!0x0,this['uid']='',this['Lo']='',this['Ro']='',this['Uo']='',this['oe']=0x0,this['ra']=!0x1,this['$o']='',this['oa']=!0x1,this['sa']=!0x1,this['na']=!0x1,this['aa']=!0x1,this['lr']=!0x1,this['la']='',this['cr']=[],this['ca']=!0x1,this['Du']=()=>{this['telemetryManager']['sendEvent']({'payload':{'metadata':{'event':'remove-file','node':this['tagName']}}}),this['uid']&&this['uploadCollection']['hasItem'](this['uid'])&&this['uploadCollection']['remove'](this['uid']);},this['Fu']=()=>{this['ua']();},this['S']=T2(()=>this['da'](),0x64),this['Vu']=this['withEntry'](M7((t,_0x5d7bfa)=>{let _0x3e286b=t['getValue']('errors')?.[0x0]?.['message']??'',_0x52c9a6=t['getValue']('source'),_0x4c4cfe=t['getValue']('externalUrl'),_0x4ec317=_0x5d7bfa===$7['FINISHED'],_0x19c28b=_0x5d7bfa===$7['UPLOADING'],_0x59160d=_0x5d7bfa===$7['QUEUED_UPLOADING'],_0x4e4ddd=_0x5d7bfa===$7['QUEUED_VALIDATION'],_0x514f59=_0x5d7bfa===$7['VALIDATION'],_0x4ede2e=t['getValue']('fileName'),_0x30e84a='';_0x3e286b?_0x30e84a='':!_0x4ec317&&_0x4c4cfe&&_0x52c9a6&&Object['values'](l6)['includes'](_0x52c9a6)&&(_0x30e84a=this['l10n']('waiting-for',{'source':this['l10n']('src-type-'+f6(_0x52c9a6))})),this['Uo']=_0x30e84a,this['Ro']=_0x3e286b,this['ra']=_0x19c28b||_0x59160d||_0x4e4ddd||_0x514f59,this['oe']=_0x4e4ddd||_0x514f59?0x0:t['getValue']('uploadProgress'),this['la']=_0x4ede2e?this['l10n']('a11y-file-item-status',{'fileName':_0x4ede2e,'status':this['l10n'](_0x5d7bfa?.['description']?.['toLocaleLowerCase']()??'')['toLocaleLowerCase']()}):'';},0x64)),this['ua']=this['withEntry'](async t=>{if(!this['uploadCollection']['read'](t['uid'])||t['getValue']('fileInfo')||t['getValue']('isUploading')||t['getValue']('errors')['length']>0x0||t['getValue']('isValidationPending'))return;let _0x23753f=this['cfg']['multiple']?this['cfg']['multipleMax']:0x1;if(!(_0x23753f&&this['uploadCollection']['size']>_0x23753f)){t['setMultipleValues']({'isUploading':!0x0,'errors':[],'isQueuedForUploading':!0x0}),this['S']();try{let _0x322942=new AbortController();t['setValue']('abortController',_0x322942);let _0x3d899a=async()=>{t['setValue']('isQueuedForUploading',!0x1);let _0x3240de=t['getValue']('file');if(_0x3240de instanceof File||_0x3240de instanceof Blob){let _0x70072e=(this['i']['pluginManager']?.['snapshot']()['fileHooks']??[])['filter'](_0xf3c5fe=>'beforeUpload'===_0xf3c5fe['type']);for(let _0x3b44c4 of _0x70072e)try{let _0x544845=_0x3b44c4['handler']({'file':_0x3240de,'signal':_0x322942['signal']}),_0x1800f3=new Promise((_0x24c78c,_0x3a158a)=>setTimeout(()=>_0x3a158a(new Error('beforeUpload\x20hook\x20timed\x20out')),_0x3b44c4['timeout'])),{file:_0x3f3b25}=await Promise['race']([_0x544845,_0x1800f3]);_0x3f3b25!==_0x3240de&&(_0x3240de=_0x3f3b25,t['setValue']('mimeType',_0x3240de['type']||null),t['setValue']('isImage',n4(_0x3240de)),t['setValue']('fileSize',_0x3240de['size']),_0x3240de instanceof File&&t['setValue']('fileName',_0x3240de['name']));}catch(_0x55308f){console['warn']('File\x20hook\x20\x22beforeUpload\x22\x20from\x20plugin\x20\x22'+_0x3b44c4['pluginId']+'\x22\x20failed',_0x55308f);}}let _0x530053=_0x3240de||t['getValue']('externalUrl')||t['getValue']('uuid');if(!_0x530053)throw new Error('No\x20file\x20input');let _0x18b5fa={...await this['getUploadClientOptions'](),'fileName':t['getValue']('fileName')??void 0x0,'source':t['getValue']('source')??void 0x0,'onProgress':_0x47cd10=>{if(_0x47cd10['isComputable']){let _0x415a3f=0x64*_0x47cd10['value'];t['setValue']('uploadProgress',_0x415a3f);}},'signal':_0x322942['signal'],'metadata':await this['getMetadataFor'](t['uid'])};return this['debugPrint']('upload\x20options',_0x530053,_0x18b5fa),R3(_0x530053,_0x18b5fa);},_0x1b862f=await this['$']['*uploadQueue']['add'](_0x3d899a);t['setMultipleValues']({'fileInfo':_0x1b862f,'isQueuedForUploading':!0x1,'isUploading':!0x1,'fileName':_0x1b862f['originalFilename'],'fileSize':_0x1b862f['size'],'isImage':_0x1b862f['isImage']??!0x1,'mimeType':_0x1b862f['contentInfo']?.['mime']?.['mime']??_0x1b862f['mimeType'],'uuid':_0x1b862f['uuid'],'cdnUrl':t['getValue']('cdnUrl')??_0x1b862f['cdnUrl'],'cdnUrlModifiers':t['getValue']('cdnUrlModifiers')??'','uploadProgress':0x64,'source':t['getValue']('source')??null}),t===this['entry']&&this['S']();}catch(_0x463087){let _0x16103c=_0x463087 instanceof D5&&_0x463087['isCancel'];_0x16103c?t['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0}):_0x463087 instanceof N5?t['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0,'uploadError':_0x463087}):(console['error']('Unknown\x20upload\x20error',_0x463087),t['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0,'uploadError':new Error('Something\x20went\x20wrong',{'cause':_0x463087})})),t===this['entry']&&this['S'](),this['isConnected']&&!_0x16103c&&this['telemetryManager']['sendEventError'](_0x463087,'file\x20upload.\x20Failed\x20to\x20upload\x20file');}}});}['da'](){let t=this['entry'];if(!t)return;let _0x7761d3=$7['IDLE'];t['getValue']('errors')['length']>0x0?_0x7761d3=$7['FAILED']:t['getValue']('isQueuedForUploading')?_0x7761d3=$7['QUEUED_UPLOADING']:t['getValue']('isQueuedForValidation')?_0x7761d3=$7['QUEUED_VALIDATION']:t['getValue']('isValidationPending')?_0x7761d3=$7['VALIDATION']:t['getValue']('isUploading')?_0x7761d3=$7['UPLOADING']:t['getValue']('fileInfo')&&(_0x7761d3=$7['FINISHED']),this['Nu'](t,_0x7761d3);}['Nu'](t,_0x22328f){_0x22328f===$7['FAILED']?this['$o']='badge-error':_0x22328f===$7['FINISHED']&&(this['$o']='badge-success'),_0x22328f===$7['UPLOADING']&&(this['aa']=!0x1,this['removeAttribute']('focused')),this['sa']=_0x22328f===$7['FAILED'],this['na']=_0x22328f===$7['UPLOADING'],this['oa']=_0x22328f===$7['FINISHED'],this['Vu'](_0x22328f);}['reset'](){super['reset'](),this['S']['cancel']();}['ai'](t){let [_0x10a13b]=t;_0x10a13b&&_0x10a13b['isIntersecting']&&!this['ca']&&(this['ia']=!0x1,this['ca']=!0x0);}['pa'](t){this['reset']();let _0x590cb2=this['uploadCollection']?.['read'](t);this['entry']=_0x590cb2,_0x590cb2?(this['subEntry']('isQueuedForValidation',()=>{this['S']();}),this['subEntry']('isValidationPending',()=>{this['S']();}),this['subEntry']('uploadProgress',()=>{this['S']();}),this['subEntry']('isQueuedForUploading',()=>{this['S']();}),this['subEntry']('fileName',_0x5e4f67=>{this['Lo']=_0x5e4f67||_0x590cb2['getValue']('externalUrl')||this['l10n']('file-no-name'),this['S']();}),this['subEntry']('externalUrl',_0x1621b2=>{this['Lo']=_0x590cb2['getValue']('fileName')||_0x1621b2||this['l10n']('file-no-name');}),this['subEntry']('fileInfo',()=>{this['S']();}),this['subEntry']('errors',()=>this['S']()),this['subEntry']('isUploading',()=>this['S']()),this['subEntry']('fileSize',()=>this['S']()),this['subEntry']('mimeType',()=>this['S']()),this['subEntry']('isImage',()=>this['S']()),this['subEntry']('fileInfo',()=>this['Ze']()),this['subEntry']('isUploading',()=>this['Ze']()),this['subEntry']('errors',()=>this['Ze']()),this['da'](),this['Ze']()):this['Ze']();}['ha'](t){'list'!==this['cfg']['filesViewMode']?this['lr']=t:this['lr']=!0x0;}['willUpdate'](t){super['willUpdate'](t),t['has']('uid')&&this['pa'](this['uid']);}['Ze'](){let t=this['i']['pluginManager'];if(!t||!this['uid'])return void(this['cr']=[]);let _0x3c70e9=t['snapshot']()['fileActions'],_0x40e255=this['api']['getOutputItem'](this['uid']);this['cr']=_0x40e255?_0x3c70e9['filter'](_0x544475=>{try{return _0x544475['shouldRender'](_0x40e255);}catch(_0x313a5c){return console['error']('Error\x20in\x20plugin\x20file\x20action\x20shouldRender\x20('+_0x544475['id']+'):',_0x313a5c),!0x1;}}):[];}['_u'](t){if(!this['uid'])return;let _0x12a569=this['api']['getOutputItem'](this['uid']);if(_0x12a569){this['telemetryManager']['sendEvent']({'payload':{'metadata':{'event':t['id'],'node':this['tagName'],'pluginId':t['pluginId']}}});try{t['onClick'](_0x12a569);}catch(_0x4a49ec){console['error']('Error\x20in\x20plugin\x20file\x20action\x20onClick\x20('+t['id']+'):',_0x4a49ec);}}}['initCallback'](){super['initCallback'](),this['pa'](this['uid']),this['subConfigValue']('filesViewMode',_0x4ac62b=>{this['ha'](this['cfg']['gridShowFileNames']),this['setAttribute']('mode',_0x4ac62b);}),this['subConfigValue']('gridShowFileNames',_0x21bb64=>{this['ha'](_0x21bb64);}),this['onclick']=()=>{G['activeInstances']['forEach'](_0x553ff7=>{_0x553ff7===this?_0x553ff7['setAttribute']('focused',''):_0x553ff7['removeAttribute']('focused');});},this['sub']('*uploadTrigger',_0x45666c=>{this['entry']&&!_0x45666c['has'](this['entry']['uid'])||setTimeout(()=>this['isConnected']&&this['ua']());});let t=this['i']['pluginManager'];t?.['onPluginsChange']&&(this['E']=t['onPluginsChange'](()=>this['Ze']())),this['Ze'](),G['activeInstances']['add'](this);}['connectedCallback'](){super['connectedCallback'](),this['s']=new window['IntersectionObserver'](this['ai']['bind'](this),{'threshold':[0x0,0x1]}),this['s']['observe'](this);}['disconnectedCallback'](){this['E']?.(),this['E']=void 0x0,super['disconnectedCallback'](),this['s']?.['disconnect'](),G['activeInstances']['delete'](this),this['reset']();}static{this['activeInstances']=new Set();}['shouldUpdate'](t){return!this['ia']&&super['shouldUpdate'](t);}['render'](){return Z1`<div class="uc-inner" ?data-finished=${this['oa']} ?data-uploading=${this['na']} ?data-failed=${this['sa']} ?data-focused=${this['aa']} ><uc-thumb .uid=${this['uid']} .badgeIcon=${this['$o']}></uc-thumb><div aria-atomic="true" aria-live="polite" class="uc-file-name-wrapper" aria-label=${this['la']}><span class="uc-file-name" ?hidden=${!this['lr']}>${this['Lo']}</span><span class="uc-file-error" ?hidden=${!this['Ro']}>${this['Ro']}</span><span class="uc-file-hint" ?hidden=${!this['Uo']}>${this['Uo']}</span></div><div class="uc-file-actions">${this['cr']['map'](t=>Z1`<button type="button" @click=${()=>this['_u'](t)} title=${this['l10n'](t['label'])} aria-label=${this['l10n'](t['label'])} class="uc-plugin-action-btn uc-mini-btn" data-plugin-action-id=${t['id']} ><uc-icon name=${t['icon']}></uc-icon></button>`)}<button type="button" @click=${this['Du']} title=${this['l10n']('file-item-remove-button')} aria-label=${this['l10n']('file-item-remove-button')} class="uc-remove-btn uc-mini-btn" ><uc-icon name="remove-file"></uc-icon></button><button type="button" class="uc-upload-btn uc-mini-btn" @click=${this['Fu']}><uc-icon name="upload"></uc-icon></button></div><uc-progress-bar class="uc-progress-bar" .value=${this['oe']} .visible=${this['ra']} ?hasFileName=${this['lr']}></uc-progress-bar></div>`;}};z0([E2()],D7['prototype'],'ia',0x2),z0([_2({'attribute':!0x1})],D7['prototype'],'uid',0x2),z0([E2()],D7['prototype'],'Lo',0x2),z0([E2()],D7['prototype'],'Ro',0x2),z0([E2()],D7['prototype'],'Uo',0x2),z0([E2()],D7['prototype'],'oe',0x2),z0([E2()],D7['prototype'],'ra',0x2),z0([E2()],D7['prototype'],'$o',0x2),z0([E2()],D7['prototype'],'oa',0x2),z0([E2()],D7['prototype'],'sa',0x2),z0([E2()],D7['prototype'],'na',0x2),z0([E2()],D7['prototype'],'aa',0x2),z0([E2()],D7['prototype'],'lr',0x2),z0([E2()],D7['prototype'],'la',0x2),z0([E2()],D7['prototype'],'cr',0x2);var Q7=D7;function j7(_0x101060){return new Promise(_0x30bccd=>{'function'!=typeof window['FileReader']&&_0x30bccd(!0x1);try{let t=new FileReader();t['onerror']=()=>{_0x30bccd(!0x0);};let _0x3390b5=_0x4ce863=>{'loadend'!==_0x4ce863['type']&&t['abort'](),_0x30bccd(!0x1);};t['onloadend']=_0x3390b5,t['onprogress']=_0x3390b5,t['readAsDataURL'](_0x101060);}catch{_0x30bccd(!0x1);}});}function U7(_0x548f09,_0x585aba){return new Promise(t=>{let _0xef4ff4=0x0,_0x35ba82=[],_0x2ecd4a=_0x4075ac=>{if(!_0x4075ac)return console['warn']('Unexpectedly\x20received\x20empty\x20content\x20entry',{'scope':'drag-and-drop'}),void t(null);_0x4075ac['isFile']?(_0xef4ff4++,_0x4075ac['file'](_0x28a20a=>{_0xef4ff4--;let _0x487db0=new File([_0x28a20a],_0x28a20a['name'],{'type':_0x28a20a['type']||_0x585aba});_0x35ba82['push']({'type':'file','file':_0x487db0,'fullPath':_0x4075ac['fullPath']}),0x0===_0xef4ff4&&t(_0x35ba82);})):_0x4075ac['isDirectory']&&_0x2f44cd(_0x4075ac['createReader']());},_0x2f44cd=_0x596d11=>{_0xef4ff4++,_0x596d11['readEntries'](_0x5526b4=>{_0xef4ff4--;for(let _0x436a07 of _0x5526b4)_0x2ecd4a(_0x436a07);0x0===_0xef4ff4&&t(_0x35ba82);});};_0x2ecd4a(_0x548f09);});}var V7=Object['freeze']({'ACTIVE':0x0,'INACTIVE':0x1,'NEAR':0x2,'OVER':0x3}),B7=['focus'],F7=new Map();function H7(_0x5558a7){let _0x327fe5=0x0,t=document['body'],_0x2e6a18=new Set(),_0x4ea639=V7['INACTIVE'],_0x29c72a=_0x5a4a64=>{_0x5558a7['shouldIgnore']()&&_0x5a4a64!==V7['INACTIVE']||(_0x4ea639!==_0x5a4a64&&_0x2e6a18['forEach'](_0x263523=>{_0x263523(_0x5a4a64);}),_0x4ea639=_0x5a4a64);},_0x3def92=()=>_0x327fe5>0x0;var _0xb1414;_0xb1414=_0x32ff63=>_0x5558a7['onChange'](_0x32ff63),_0x2e6a18['add'](_0xb1414);let _0x348266=()=>{_0x327fe5=0x0,_0x29c72a(V7['INACTIVE']);},_0xef2412=()=>{_0x327fe5+=0x1,_0x4ea639===V7['INACTIVE']&&_0x29c72a(V7['ACTIVE']);},_0x1cbe16=()=>{_0x327fe5-=0x1,_0x3def92()||_0x29c72a(V7['INACTIVE']);},_0x4fc8e7=_0x111834=>{_0x111834['preventDefault'](),_0x327fe5=0x0,_0x29c72a(V7['INACTIVE']);},_0x5480a9=_0xd0e6b=>{if(_0x5558a7['shouldIgnore']())return;_0x3def92()||(_0x327fe5+=0x1);let _0x5b32a4=[_0xd0e6b['x'],_0xd0e6b['y']],_0x8bc96f=_0x5558a7['element']['getBoundingClientRect'](),_0x1ca0bc=Math['floor'](function(_0x3c32f3,_0x112275){let t=Math['max'](Math['min'](_0x3c32f3[0x0],_0x112275['x']+_0x112275['width']),_0x112275['x']),_0x290332=Math['max'](Math['min'](_0x3c32f3[0x1],_0x112275['y']+_0x112275['height']),_0x112275['y']);return Math['sqrt']((_0x3c32f3[0x0]-t)*(_0x3c32f3[0x0]-t)+(_0x3c32f3[0x1]-_0x290332)*(_0x3c32f3[0x1]-_0x290332));}(_0x5b32a4,_0x8bc96f)),_0x3b8b98=_0x1ca0bc<0x64,_0x5c9a91=_0xd0e6b['composedPath']()['includes'](_0x5558a7['element']);F7['set'](_0x5558a7['element'],_0x1ca0bc);let _0x429d69=Math['min'](...F7['values']())===_0x1ca0bc;_0x5c9a91&&_0x429d69?(_0xd0e6b['preventDefault'](),_0x29c72a(V7['OVER'])):_0x29c72a(_0x3b8b98&&_0x429d69?V7['NEAR']:V7['ACTIVE']);},_0x2d779a=async _0x4cb187=>{if(_0x5558a7['shouldIgnore']())return;_0x4cb187['preventDefault']();let {dataTransfer:_0x36ddd9}=_0x4cb187;if(!_0x36ddd9)return;let _0x3455c4=await function(_0x76e64a){let _0x15565e=[],t=[];for(let _0x305662=0x0;_0x305662<_0x76e64a['items']['length'];_0x305662++){let _0x628ba6=_0x76e64a['items'][_0x305662];if(_0x628ba6){if('file'===_0x628ba6['kind']){let _0x18a102=_0x628ba6['type'],_0x251f88=_0x628ba6;if('function'==typeof _0x251f88['webkitGetAsEntry']||'function'==typeof _0x251f88['getAsEntry']){let _0x2105f6='function'==typeof _0x251f88['webkitGetAsEntry']?_0x251f88['webkitGetAsEntry']():_0x251f88['getAsEntry']?.();_0x2105f6&&t['push'](U7(_0x2105f6,_0x18a102)['then'](_0x516a9b=>{_0x516a9b&&_0x15565e['push'](..._0x516a9b);}));continue;}let _0x3e25ea=_0x628ba6['getAsFile']();_0x3e25ea&&t['push'](j7(_0x3e25ea)['then'](_0x35b4fe=>{_0x35b4fe||_0x15565e['push']({'type':'file','file':_0x3e25ea});}));}else'string'===_0x628ba6['kind']&&/^text\/uri-list/['test'](_0x628ba6['type'])&&t['push'](new Promise(_0x2365b0=>{_0x628ba6['getAsString'](_0x91ffb7=>{_0x15565e['push']({'type':'url','url':_0x91ffb7}),_0x2365b0();});}));}}return Promise['all'](t)['then'](()=>_0x15565e);}(_0x36ddd9);_0x5558a7['onItems'](_0x3455c4),_0x29c72a(V7['INACTIVE']);};return t['addEventListener']('drop',_0x4fc8e7),t['addEventListener']('dragleave',_0x1cbe16),t['addEventListener']('dragenter',_0xef2412),t['addEventListener']('dragover',_0x5480a9),_0x5558a7['element']['addEventListener']('drop',_0x2d779a),B7['forEach'](_0xc05955=>{window['addEventListener'](_0xc05955,_0x348266);}),()=>{F7['delete'](_0x5558a7['element']),t['removeEventListener']('drop',_0x4fc8e7),t['removeEventListener']('dragleave',_0x1cbe16),t['removeEventListener']('dragenter',_0xef2412),t['removeEventListener']('dragover',_0x5480a9),_0x5558a7['element']['removeEventListener']('drop',_0x2d779a),B7['forEach'](_0x3e03cc=>{window['removeEventListener'](_0x3e03cc,_0x348266);});};}var Z7=new Set(),G7=class extends j6{constructor(){super(...arguments),this['single']=!0x1,this['ghost']=!0x1,this['disabled']=!0x1,this['clickable']=!0x1,this['withIcon']=!0x1,this['fullscreen']=!0x1,this['initflow']=!0x1,this['Oe']=!0x0,this['fa']=!0x0,this['Do']='drop-files-here',this['ma']=!0x1,this['va']=null,this['Fo']=null,this['ya']=l7(),this['Lt']=t=>{if(t instanceof KeyboardEvent){if('Space'!==t['code']&&'Enter'!==t['code'])return;}else{if(!(t instanceof MouseEvent))return;}this['initflow']?this['api']['initFlow']():this['api']['openSystemDialog']();},this['ba']=!0x0,this['Rt']=!0x1;}static{this['styleAttrs']=[...super['styleAttrs'],'uc-drop-area'];}['ga'](){let t=this['text'];'string'==typeof t&&t['length']>0x0?this['Do']=this['l10n'](t)||t:this['Do']=this['ma']?this['l10n']('drop-files-here'):this['l10n']('drop-file-here');}['isActive'](){if(!this['Oe'])return!0x1;let t=this['getBoundingClientRect'](),_0xeb1acc=t['width']>0x0&&t['height']>0x0,_0x463bc2=t['top']>=0x0&&t['left']>=0x0&&t['bottom']<=(window['innerHeight']||document['documentElement']['clientHeight'])&&t['right']<=(window['innerWidth']||document['documentElement']['clientWidth']),_0x2313dc=window['getComputedStyle'](this),_0x5090ba='hidden'!==_0x2313dc['visibility']&&'none'!==_0x2313dc['display'];return _0xeb1acc&&_0x5090ba&&_0x463bc2;}['initCallback'](){super['initCallback'](),Z7['add'](this),this['No'](),this['Vo'](),this['wa'](),this['Ta'](V7['INACTIVE']),this['va']=H7({'element':this,'shouldIgnore':()=>this['Ea'](),'onChange':t=>{this['Ta'](t);},'onItems':t=>{t['length']&&(t['forEach'](_0x3eff35=>{'url'===_0x3eff35['type']?this['api']['addFileFromUrl'](_0x3eff35['url'],{'source':u6['DROP_AREA']}):'file'===_0x3eff35['type']&&this['api']['addFileFromObject'](_0x3eff35['file'],{'source':u6['DROP_AREA'],'fullPath':_0x3eff35['fullPath']});}),this['uploadCollection']['size']&&(this['set$']({'*currentActivity':Q6['activities']['UPLOAD_LIST']}),this['modalManager']?.['open'](Q6['activities']['UPLOAD_LIST'])));}}),this['updateComplete']['then'](()=>this['Bu']()),this['subConfigValue']('sourceList',t=>{let _0x421174=J2(t);this['ba']=_0x421174['includes'](u6['LOCAL']),this['No'](),this['Vo']();}),this['subConfigValue']('multiple',t=>{this['ma']=!!t,this['ga']();});}['willUpdate'](t){super['willUpdate'](t),t['has']('disabled')&&(this['No'](),this['Vo']()),(t['has']('text')||t['has']('localeId'))&&this['ga']();}['updated'](t){super['updated'](t),t['has']('clickable')&&this['wa']();}['Ea'](){if(!this['Oe']||!this['zu']())return!0x0;if(!this['fullscreen'])return!0x1;let t=Z7;return 0x0!==t['size']&&[...t]['filter'](_0x3c7239=>_0x3c7239!==this)['filter'](_0x28c15f=>_0x28c15f['isActive']())['length']>0x0;}['zu'](){let t=this['cfg']['multiple'],_0x4f6b69=this['cfg']['multipleMax'],_0x650b62=this['uploadCollection']['size'];return!(t&&_0x4f6b69&&_0x650b62>=_0x4f6b69||!t&&_0x650b62>0x0);}['No'](){let t=this['ba']&&!this['disabled'];this['Oe']=t;}['Vo'](){let t=this['Oe']||!this['querySelector']('[data-default-slot]');this['fa']=t,this['hidden']=!t;}['Ta'](t){let _0x334fc9=Object['entries'](V7)['find'](([,_0x2c1cca])=>_0x2c1cca===t)?.[0x0]['toLowerCase']();_0x334fc9&&this['setAttribute']('drag-state',_0x334fc9);}['Bu'](){if(this['Fo'])return;let t=this['ya']['value'];t&&(this['Fo']=H7({'element':t,'onChange':_0x4290c3=>{let _0x286aed=Object['entries'](V7)['find'](([,_0x364aec])=>_0x364aec===_0x4290c3)?.[0x0]['toLowerCase']();_0x286aed&&t['setAttribute']('drag-state',_0x286aed);},'onItems':()=>{},'shouldIgnore':()=>this['Ea']()}));}['wa'](){this['clickable']&&!this['Rt']?(this['addEventListener']('keydown',this['Lt']),this['addEventListener']('click',this['Lt']),this['Rt']=!0x0):!this['clickable']&&this['Rt']&&(this['removeEventListener']('keydown',this['Lt']),this['removeEventListener']('click',this['Lt']),this['Rt']=!0x1);}['disconnectedCallback'](){super['disconnectedCallback'](),Z7['delete'](this),this['va']?.(),this['Fo']?.(),this['Rt']&&(this['removeEventListener']('keydown',this['Lt']),this['removeEventListener']('click',this['Lt']),this['Rt']=!0x1);}['render'](){return Z1` ${this['yield']('',Z1`<div data-default-slot hidden></div><div ${d7(this['ya'])} class="uc-content-wrapper" ?hidden=${!this['fa']}><div class="uc-icon-container" ?hidden=${!this['withIcon']}><uc-icon name="default"></uc-icon><uc-icon name="arrow-down"></uc-icon></div><span class="uc-text">${this['Do']}</span></div>`)} `;}};z0([_2({'type':Boolean,'noAccessor':!0x0})],G7['prototype'],'single',0x2),z0([_2({'type':Boolean,'noAccessor':!0x0})],G7['prototype'],'ghost',0x2),z0([_2({'type':Boolean,'reflect':!0x0})],G7['prototype'],'disabled',0x2),z0([_2({'type':Boolean,'reflect':!0x0})],G7['prototype'],'clickable',0x2),z0([_2({'type':Boolean,'attribute':'with-icon','reflect':!0x0})],G7['prototype'],'withIcon',0x2),z0([_2({'type':Boolean,'reflect':!0x0})],G7['prototype'],'fullscreen',0x2),z0([_2({'type':Boolean,'reflect':!0x0})],G7['prototype'],'initflow',0x2),z0([_2({'type':String})],G7['prototype'],'text',0x2),z0([E2()],G7['prototype'],'Oe',0x2),z0([E2()],G7['prototype'],'fa',0x2),z0([E2()],G7['prototype'],'Do',0x2);var X7=class extends j6{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x0,this['historyTracked']=!0x0,this['activityType']=Q6['activities']['UPLOAD_LIST'],this['xa']=!0x1,this['Ca']=!0x1,this['Sa']=!0x1,this['_o']=!0x1,this['Bo']=!0x1,this['ur']=null,this['Aa']=!0x1,this['zo']=null,this['ka']=()=>{this['telemetryManager']['sendEvent']({'eventType':f4['ACTION_EVENT'],'payload':{'metadata':{'event':'add-more','node':this['tagName']}}}),this['api']['initFlow'](!0x0);},this['Ho']=()=>{this['emit'](m4['UPLOAD_CLICK']),this['api']['uploadAll'](),this['Te']();},this['Ko']=()=>{this['emit'](m4['DONE_CLICK'],this['api']['getOutputCollectionState']()),this['api']['doneFlow']();},this['Ee']=()=>{this['telemetryManager']['sendEvent']({'eventType':f4['ACTION_EVENT'],'payload':{'metadata':{'event':'clear-all','node':this['tagName']}}}),this['uploadCollection']['clearAll']();},this['Te']=M7(()=>{this['isConnected']&&(this['ju'](),!this['couldOpenActivity']&&this['$']['*currentActivity']===this['activityType']&&this['historyBack'](),this['cfg']['confirmUpload']||this['api']['uploadAll']());},0x12c);}get['Hu'](){return this['zo']?this['Ku'](this['zo']):'';}['ju'](){let t=this['api']['getOutputCollectionState'](),_0xf5709={'total':t['totalCount'],'succeed':t['successCount'],'uploading':t['uploadingCount'],'failed':t['failedCount'],'validatingBeforeUploading':t['idleEntries']['filter'](_0x122d11=>_0x122d11['isValidationPending'])['length']},_0x2cd21d=!t['errors']['some'](_0x31e677=>'TOO_MANY_FILES'===_0x31e677['type']||'TOO_FEW_FILES'===_0x31e677['type']),_0x5d1918=t['errors']['some'](_0x43a11e=>'TOO_MANY_FILES'===_0x43a11e['type']),_0x217128=t['totalCount']===(this['cfg']['multiple']?this['cfg']['multipleMax']:0x1),_0x19e646=t['allEntries']['some'](_0x327b6c=>_0x327b6c['isValidationPending']),_0x46baed=0x0===_0xf5709['failed']&&0x0===t['errors']['length']&&!_0x19e646,_0x56257b=!0x1,_0x26c87=!0x1,_0x1b2547=!0x1;if(_0xf5709['total']-_0xf5709['succeed']-_0xf5709['uploading']-_0xf5709['failed']>0x0&&_0x2cd21d&&_0x46baed&&this['cfg']['confirmUpload'])_0x56257b=!0x0;else{_0x26c87=!0x0;let _0x3fb1b1=!this['cfg']['groupOutput']||!!t['group'];_0x1b2547=_0xf5709['total']===_0xf5709['succeed']&&_0x2cd21d&&_0x46baed&&_0x3fb1b1;}this['xa']=_0x26c87,this['Ca']=_0x1b2547,this['Sa']=_0x56257b,this['Bo']=0x0===_0xf5709['total']||!_0x5d1918&&!_0x217128,this['_o']=!_0x217128||this['cfg']['multiple'],this['Aa']=_0xf5709['total']>0x0,this['zo']=_0xf5709;}['Ku'](t){let _0x592cd3=_0x3ccfb8=>{let _0x30ed9b=t[_0x3ccfb8];return'uploading'===_0x3ccfb8&&(_0x30ed9b+=t['validatingBeforeUploading']),this['l10n']('header-'+_0x3ccfb8,{'count':_0x30ed9b});};return t['uploading']>0x0||t['validatingBeforeUploading']>0x0?_0x592cd3('uploading'):t['failed']>0x0?_0x592cd3('failed'):t['succeed']>0x0?_0x592cd3('succeed'):_0x592cd3('total');}get['couldOpenActivity'](){return this['cfg']['showEmptyList']||this['uploadCollection']['size']>0x0;}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType']),this['subConfigValue']('multiple',this['Te']),this['subConfigValue']('multipleMin',this['Te']),this['subConfigValue']('multipleMax',this['Te']),this['sub']('*groupInfo',t=>{t&&this['Te']();}),this['subConfigValue']('filesViewMode',t=>{this['setAttribute']('mode',t);}),this['sub']('*currentActivity',t=>{!this['couldOpenActivity']&&t===this['activityType']&&(this['$']['*currentActivity']=this['initActivity']);}),this['uploadCollection']['observeProperties'](this['Te']),this['uploadCollection']['observeCollection'](this['Te']),this['sub']('*collectionErrors',t=>{let _0x48b814=t['filter'](_0x3430ea=>'SOME_FILES_HAS_ERRORS'!==_0x3430ea['type'])[0x0];this['ur']=_0x48b814?_0x48b814['message']:null;});}['disconnectedCallback'](){super['disconnectedCallback'](),this['has']('*uploadCollection')&&(this['uploadCollection']['unobserveProperties'](this['Te']),this['uploadCollection']['unobserveCollection'](this['Te']));}['render'](){return Z1`<uc-activity-header><span aria-live="polite" class="uc-header-text">${this['Hu']}</span><button type="button" class="uc-mini-btn uc-close-btn" @click=${this['$']['*closeModal']} title=${this['l10n']('a11y-activity-header-button-close')} aria-label=${this['l10n']('a11y-activity-header-button-close')} ><uc-icon name="close"></uc-icon></button></uc-activity-header><div class="uc-no-files" ?hidden=${this['Aa']}>${this['yield']('empty',Z1`<span>${this['l10n']('no-files')}</span>`)}</div><div class="uc-files"><div class="uc-files-wrapper">${L7(this['$']['*uploadList']??[],({uid:t})=>t,({uid:t})=>Z1`<uc-file-item .uid=${t}></uc-file-item>`)}</div><button type="button" class="uc-add-more-btn uc-secondary-btn" @click=${this['ka']} ?disabled=${!this['Bo']} ?hidden=${!this['_o']} ><uc-icon name="add"></uc-icon><span>${this['l10n']('add-more')}</span></button></div><div class="uc-common-error" ?hidden=${!this['ur']} >${this['ur']??''}</div><div class="uc-toolbar"><button type="button" class="uc-cancel-btn uc-secondary-btn" @click=${this['Ee']}>${this['l10n']('clear')}</button><div class="uc-toolbar-spacer"></div><button type="button" class="uc-add-more-btn uc-secondary-btn" ?hidden=${!this['_o']} ?disabled=${!this['Bo']} @click=${this['ka']} ><uc-icon name="add"></uc-icon><span>${this['l10n']('add-more')}</span></button><button type="button" class="uc-upload-btn uc-primary-btn" ?hidden=${!this['Sa']} @click=${this['Ho']} >${this['l10n']('upload')}</button><button type="button" class="uc-done-btn uc-primary-btn" ?hidden=${!this['xa']} ?disabled=${!this['Ca']} @click=${this['Ko']} >${this['l10n']('done')}</button></div><uc-drop-area ghost></uc-drop-area>`;}};z0([E2()],X7['prototype'],'xa',0x2),z0([E2()],X7['prototype'],'Ca',0x2),z0([E2()],X7['prototype'],'Sa',0x2),z0([E2()],X7['prototype'],'_o',0x2),z0([E2()],X7['prototype'],'Bo',0x2),z0([E2()],X7['prototype'],'ur',0x2),z0([E2()],X7['prototype'],'Aa',0x2),z0([E2()],X7['prototype'],'zo',0x2);var q7=[{'test':_0x1941b2=>!!_0x1941b2['accept']&&!!_0x1941b2['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':_0x57bfad=>null!==_0x57bfad['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':_0x17fb76=>null!==_0x17fb76['defaultCameraMode'],'message':'The\x20`defaultCameraMode`\x20parameter\x20is\x20deprecated\x20and\x20will\x20be\x20removed\x20in\x20the\x20next\x20major\x20release.\x0aPlease\x20use\x20the\x20`cameraModes`\x20parameter\x20instead.'}],W7=T2(_0x2fac65=>{for(let {test:_0x1dfeb2,message:t}of q7)_0x1dfeb2(_0x2fac65)&&O6(t);},0x0),z7=async _0xcf99d4=>(_0x16a6ff=>{if(_0x16a6ff<=0x0n)return'0';let _0x30ddd6='';for(;_0x16a6ff>0x0n;)_0x30ddd6='0123456789abcdefghijklmnopqrstuvwxyz'[Number(_0x16a6ff%0x24n)]+_0x30ddd6,_0x16a6ff/=0x24n;return _0x30ddd6;})(await(async _0x32a8a2=>{let _0xeef3a3=new TextEncoder()['encode'](_0x32a8a2),t=await window['crypto']['subtle']['digest']('SHA-256',_0xeef3a3),_0xe46fe4=Array['from'](new Uint8Array(t))['map'](_0x4f0d50=>_0x4f0d50['toString'](0x10)['padStart'](0x2,'0'))['join']('');return BigInt('0x'+_0xe46fe4);})(_0xcf99d4))['slice'](0x0,0xa),Y7=async(_0x475ba6,_0x3d01f0)=>((_0x22a31a,_0x1da09f)=>{let t=new URL(_0x1da09f);return t['hostname']=_0x22a31a+'.'+t['hostname'],t['toString']()['replace'](/\/$/,'');})(await z7(_0x475ba6),_0x3d01f0),K7=_0x3ff0ef=>_0x3ff0ef instanceof Promise||!(!_0x3ff0ef||'object'!=typeof _0x3ff0ef||!('then'in _0x3ff0ef)||'function'!=typeof _0x3ff0ef['then']),J7=[{'key':'cameraModes','deps':['enableVideoRecording'],'fn':({cameraModes:_0x2ed784,enableVideoRecording:_0x974597})=>{let t=_0x974597();if(null===t)return _0x2ed784();let _0x284caa=j2(_0x2ed784());return t&&!_0x284caa['includes']('video')?_0x284caa=_0x284caa['concat']('video'):t||(_0x284caa=_0x284caa['filter'](_0x5282b1=>'video'!==_0x5282b1)),U2(_0x284caa);}},{'key':'cameraModes','deps':['defaultCameraMode'],'fn':({cameraModes:_0x300a71,defaultCameraMode:_0x1c36e6})=>{let t=_0x1c36e6();if(null===t)return _0x300a71();let _0x4e3add=j2(_0x300a71());return _0x4e3add=_0x4e3add['sort']((_0x1d8464,_0x565f16)=>_0x1d8464===t?-0x1:_0x565f16===t?0x1:0x0),U2(_0x4e3add);}},{'key':'cdnCname','deps':['pubkey','cdnCnamePrefixed'],'fn':({pubkey:_0xa11a45,cdnCname:_0x521996,cdnCnamePrefixed:t})=>{let _0x28becc=_0xa11a45(),_0x15cf0f=_0x521996(),_0x5bc1b8=t();return _0x28becc&&(_0x15cf0f===p5||((_0x42794b,_0x40c011)=>{try{let t=new URL(_0x42794b),_0x210f14=new URL(_0x40c011);return t['hostname']['endsWith'](_0x210f14['hostname']);}catch{return!0x1;}})(_0x15cf0f,_0x5bc1b8))?Y7(_0x28becc,_0x5bc1b8):_0x15cf0f;}}],t8=_0x5be224=>String(_0x5be224),e8=_0x5a4e4e=>{let _0x468766=Number(_0x5a4e4e);if(Number['isNaN'](_0x468766))throw new Error('Invalid\x20number:\x20\x22'+_0x5a4e4e+'\x22');return _0x468766;},i8=_0x53a7f6=>{if(typeof _0x53a7f6>'u'||null===_0x53a7f6)return!0x1;if('boolean'==typeof _0x53a7f6)return _0x53a7f6;if('true'===_0x53a7f6||''===_0x53a7f6)return!0x0;if('false'===_0x53a7f6)return!0x1;throw new Error('Invalid\x20boolean:\x20\x22'+_0x53a7f6+'\x22');},s8=_0x2d1907=>{if('object'==typeof _0x2d1907)return _0x2d1907;throw new Error('Invalid\x20value.\x20Must\x20be\x20an\x20object.');},n8=_0x44c558=>{if('function'==typeof _0x44c558)return _0x44c558;throw new Error('Invalid\x20value.\x20Must\x20be\x20a\x20function.');},r8=_0x3ac34b=>{if(Array['isArray'](_0x3ac34b))return _0x3ac34b;throw new Error('Must\x20be\x20an\x20array.');},o8={'pubkey':t8,'multiple':i8,'multipleMin':e8,'multipleMax':e8,'confirmUpload':i8,'imgOnly':i8,'accept':t8,'externalSourcesPreferredTypes':t8,'externalSourcesEmbedCss':t8,'store':_0x5763b3=>'auto'===_0x5763b3?_0x5763b3:i8(_0x5763b3),'cameraMirror':i8,'cameraCapture':_0x4110e9=>{let _0x1ad3b4=t8(_0x4110e9);if('user'!==_0x1ad3b4&&'environment'!==_0x1ad3b4&&''!==_0x1ad3b4)throw new Error('Invalid\x20value:\x20\x22'+_0x1ad3b4+'\x22');return _0x1ad3b4;},'sourceList':t8,'topLevelOrigin':t8,'maxLocalFileSizeBytes':e8,'thumbSize':e8,'showEmptyList':i8,'useLocalImageEditor':i8,'useCloudImageEditor':i8,'cloudImageEditorTabs':t8,'removeCopyright':i8,'cropPreset':t8,'imageShrink':t8,'modalScrollLock':i8,'modalBackdropStrokes':i8,'sourceListWrap':i8,'remoteTabSessionKey':t8,'cdnCname':t8,'cdnCnamePrefixed':t8,'baseUrl':t8,'socialBaseUrl':t8,'secureSignature':t8,'secureExpire':t8,'secureDeliveryProxy':t8,'retryThrottledRequestMaxTimes':e8,'retryNetworkErrorMaxTimes':e8,'multipartMinFileSize':e8,'multipartChunkSize':e8,'maxConcurrentRequests':e8,'multipartMaxConcurrentRequests':e8,'multipartMaxAttempts':e8,'checkForUrlDuplicates':i8,'saveUrlForRecurrentUploads':i8,'groupOutput':i8,'userAgentIntegration':t8,'debug':i8,'localeName':t8,'metadata':_0x2ad62a=>{if('object'==typeof _0x2ad62a&&!Array['isArray'](_0x2ad62a)||'function'==typeof _0x2ad62a)return _0x2ad62a;throw new Error('Invalid\x20metadata\x20value.\x20Must\x20be\x20an\x20object\x20or\x20function.');},'secureUploadsExpireThreshold':e8,'localeDefinitionOverride':_0x3cfe8e=>s8(_0x3cfe8e),'secureUploadsSignatureResolver':_0x4c05d3=>n8(_0x4c05d3),'secureDeliveryProxyUrlResolver':_0xb57887=>n8(_0xb57887),'iconHrefResolver':_0x29f66c=>n8(_0x29f66c),'plugins':_0x17d9c3=>r8(_0x17d9c3),'fileValidators':r8,'collectionValidators':r8,'validationTimeout':e8,'validationConcurrency':e8,'cameraModes':_0x5a9526=>{let _0x3604b8=t8(_0x5a9526),t=j2(_0x3604b8);if(t['some'](_0x546b3a=>!Object['values'](n6)['includes'](_0x546b3a)))throw new Error('Invalid\x20value:\x20\x22'+JSON['stringify'](t)+'\x22');return _0x3604b8;},'defaultCameraMode':_0x4d58af=>{let _0x417d24=t8(_0x4d58af);if(!Object['values'](n6)['includes'](_0x417d24))throw new Error('Invalid\x20value:\x20\x22'+_0x417d24+'\x22');return _0x417d24;},'enableAudioRecording':i8,'enableVideoRecording':i8,'mediaRecorderOptions':s8,'maxVideoRecordingDuration':e8,'filesViewMode':_0x349881=>{let _0x161708=t8(_0x349881);if(['grid','list']['includes'](_0x161708))return _0x161708;throw new Error('Invalid\x20value:\x20\x22'+_0x161708+'\x22');},'gridShowFileNames':i8,'cloudImageEditorAutoOpen':i8,'cloudImageEditorMaskHref':t8,'testMode':i8,'qualityInsights':i8,'pasteScope':_0x228335=>{let _0x54927d=t8(_0x228335);if('local'===_0x54927d||'global'===_0x54927d)return _0x54927d;if(!0x1===i8(_0x228335))return!0x1;throw new Error('Invalid\x20value:\x20\x22'+_0x54927d+'\x22');}},a8=[...new Set(['debug',...Object['keys'](O5)])],c8=['metadata','plugins','localeDefinitionOverride','secureUploadsSignatureResolver','secureDeliveryProxyUrlResolver','iconHrefResolver','fileValidators','collectionValidators','mediaRecorderOptions'],l8=_0x1b375d=>c8['includes'](_0x1b375d),h8=a8['filter'](_0x2beef3=>!l8(_0x2beef3)),u8={...Object['fromEntries'](h8['map'](_0x2091f1=>[A5(_0x2091f1),_0x2091f1])),...Object['fromEntries'](h8['map'](_0x3549ff=>[_0x3549ff['toLowerCase'](),_0x3549ff]))},d8=_0x32fb75=>'__'+_0x32fb75,f8=class extends k4{constructor(){super(...arguments),this['init$']={...this['init$'],...Object['fromEntries'](Object['entries'](O5)['map'](([t,_0x83a5e1])=>[Q2(t),_0x83a5e1]))},this['Gu']=new Map(),this['ci']={},this['Ma']=new Set(),this['Ut']=new Map();}['jo'](t){return this['Ma']['has'](t);}['Go'](t){let _0x4628da=this['i']['pluginManager'];if(_0x4628da)return _0x4628da['configRegistry']['get'](t);}['Oa'](t){return[...new Set([A5(t),t['toLowerCase']()])];}['qu'](t,_0x170c73){if(l8(t)||this['jo'](t)&&!0x1===this['Go'](t)?.['attribute'])return;let _0x322eb9=this['Oa'](t);for(let _0x422b99 of _0x322eb9)typeof _0x170c73>'u'||null===_0x170c73?this['removeAttribute'](_0x422b99):this['getAttribute'](_0x422b99)!==_0x170c73['toString']()&&this['setAttribute'](_0x422b99,_0x170c73['toString']());}['Wu'](t,_0x3be602){let _0x3a145b=Q2(t);if(this['$'][_0x3a145b]!==_0x3be602){if(typeof _0x3be602>'u'||null===_0x3be602){let _0x1a7e2d=O5[t];this['$'][_0x3a145b]=void 0x0!==_0x1a7e2d?_0x1a7e2d:_0x3be602;}else this['$'][_0x3a145b]=_0x3be602;}}['Ye'](t,_0x2d2d1f){let _0x264dcc;if(this['jo'](t)){let _0x301a38=this['Go'](t);try{_0x264dcc=_0x301a38?.['normalize']?.(_0x2d2d1f)??_0x2d2d1f;}catch(_0x2c3b55){return void console['warn']('[uc-config]\x20normalize()\x20for\x20\x22'+t+'\x22\x20threw\x20an\x20error,\x20keeping\x20previous\x20value',_0x2c3b55);}}else _0x264dcc=((_0x70f9fb,_0x4998e3)=>{if(!(typeof _0x4998e3>'u'||null===_0x4998e3))try{return o8[_0x70f9fb](_0x4998e3);}catch(_0x33b060){return console['error']('Invalid\x20value\x20for\x20config\x20key\x20\x22'+_0x70f9fb+'\x22.',_0x33b060),O5[_0x70f9fb];}})(t,_0x2d2d1f);let _0x3bab16=this,_0x4c7915=d8(t);_0x3bab16[_0x4c7915]!==_0x264dcc&&(this['Zu'](t,_0x3bab16[_0x4c7915],_0x264dcc),_0x3bab16[_0x4c7915]=_0x264dcc,this['qu'](t,_0x264dcc),this['Wu'](t,_0x264dcc),this['debugPrint']('\x22'+t+'\x22',_0x264dcc),this['jo'](t)||W7(this['cfg']));}['pr'](t){return this[d8(t)]??this['$'][Q2(t)];}['Zu'](t,_0x12c8d2,_0x223c0b){this['cfg']['debug']&&_0x223c0b!==_0x12c8d2&&'object'==typeof _0x223c0b&&'object'==typeof _0x12c8d2&&JSON['stringify'](_0x223c0b)===JSON['stringify'](_0x12c8d2)&&(console['warn']('[uc-config]\x20Option\x20\x22'+t+'\x22\x20value\x20is\x20the\x20same\x20as\x20the\x20previous\x20one\x20but\x20the\x20reference\x20is\x20different'),console['warn']('[uc-config]\x20You\x20should\x20avoid\x20changing\x20the\x20reference\x20of\x20the\x20object\x20to\x20prevent\x20unnecessary\x20calculations'),console['warn']('[uc-config]\x20\x22'+t+'\x22\x20previous\x20value:',_0x12c8d2),console['warn']('[uc-config]\x20\x22'+t+'\x22\x20new\x20value:',_0x223c0b));}['Ia'](t){let _0x5d3ced=t['configRegistry']['getAll']();this['ci']={},this['Ma']=new Set(_0x5d3ced['keys']());for(let [_0x543c07,_0x1fee07]of this['Ut'])_0x5d3ced['has'](_0x543c07)||(_0x1fee07(),this['Ut']['delete'](_0x543c07));for(let [_0x4b18a8,_0x16ee19]of _0x5d3ced){let _0x416e81=Q2(_0x4b18a8);if(_0x16ee19['attribute']){let _0x506509=this['Oa'](_0x4b18a8);for(let _0x221004 of _0x506509)this['ci'][_0x221004]=_0x4b18a8;}this['sharedCtx']['has'](_0x416e81)||this['sharedCtx']['add'](_0x416e81,_0x16ee19['defaultValue']);let _0x4373ac=Object['getOwnPropertyDescriptor'](this,_0x4b18a8);if((!_0x4373ac||!_0x4373ac['set']||!_0x4373ac['get'])&&Object['defineProperty'](this,_0x4b18a8,{'set':_0x334aac=>{this['Ye'](_0x4b18a8,_0x334aac);},'get':()=>this['pr'](_0x4b18a8),'enumerable':!0x0,'configurable':!0x0}),!this['Ut']['has'](_0x4b18a8)){let _0x3c0acf=this['sub'](_0x416e81,_0x1e858c=>{this['Ye'](_0x4b18a8,_0x1e858c);},!0x1);this['Ut']['set'](_0x4b18a8,_0x3c0acf);}}}['Yu'](){this['i']['when']('pluginManager',t=>{this['Ia'](t),this['dr']=t['onPluginsChange'](()=>{this['Ia'](t);});});}['Xu'](){this['li']=new MutationObserver(t=>{for(let _0x27c628 of t)if('attributes'===_0x27c628['type']&&_0x27c628['attributeName']){let _0x148c27=_0x27c628['attributeName'],_0x21e29c=_0x27c628['oldValue'],_0x29fe4e=this['getAttribute'](_0x148c27);if(_0x21e29c===_0x29fe4e||_0x148c27 in u8)continue;if(_0x148c27 in this['ci']){let _0xb5ce83=this['ci'][_0x148c27],_0x39d565=this['Go'](_0xb5ce83);this['attributeChangedCallback'](_0x148c27,_0x21e29c??'',_0x29fe4e??_0x39d565?.['defaultValue']??'');}}}),this['li']['observe'](this,{'attributes':!0x0,'attributeOldValue':!0x0});}['initCallback'](){super['initCallback']();let t=this;this['Yu'](),this['Xu']();for(let _0x47e9d5 of h8)this['sub'](Q2(_0x47e9d5),_0x43c934=>{this['Ye'](_0x47e9d5,_0x43c934);},!0x1);for(let _0x131674 of a8){let _0x4a58b7=t[_0x131674]??this['$'][Q2(_0x131674)];_0x4a58b7!==O5[_0x131674]&&this['Ye'](_0x131674,_0x4a58b7);let _0x14bded=Object['getOwnPropertyDescriptor'](this,_0x131674);(!_0x14bded||!_0x14bded['set']||!_0x14bded['get'])&&Object['defineProperty'](this,_0x131674,{'set':_0x11dd1f=>{this['Ye'](_0x131674,_0x11dd1f);},'get':()=>this['pr'](_0x131674)});}let _0x347245=_0x2cf86d=>{(({key:_0xba3d8,setValue:_0x2fe044,getValue:t,computationControllers:_0x2979ab})=>{for(let _0x2b9bb8 of J7){if(!_0x2b9bb8['deps']['includes'](_0xba3d8))continue;let _0x2abb66={[_0x2b9bb8['key']]:()=>t(_0x2b9bb8['key'])};for(let _0x31c93f of _0x2b9bb8['deps'])_0x2abb66[_0x31c93f]=()=>t(_0x31c93f);let _0x247f2f,_0x117d6b=new AbortController();_0x2979ab['get'](_0x2b9bb8['fn'])?.['abort'](),_0x2979ab['set'](_0x2b9bb8['fn'],_0x117d6b);try{_0x247f2f=_0x2b9bb8['fn'](_0x2abb66,{'signal':_0x117d6b['signal']});}catch(_0x2c54b7){return _0x2979ab['get'](_0x2b9bb8['fn'])===_0x117d6b&&_0x2979ab['delete'](_0x2b9bb8['fn']),void console['error']('Failed\x20to\x20compute\x20value\x20for\x20\x22'+_0x2b9bb8['key']+'\x22',_0x2c54b7);}K7(_0x247f2f)?_0x247f2f['then'](_0x2c749a=>{_0x117d6b['signal']['aborted']||_0x2fe044(_0x2b9bb8['key'],_0x2c749a);})['catch'](_0x1c1375=>{_0x117d6b['signal']['aborted']||console['error']('Failed\x20to\x20compute\x20value\x20for\x20\x22'+_0x2b9bb8['key']+'\x22',_0x1c1375);})['finally'](()=>{_0x2979ab['get'](_0x2b9bb8['fn'])===_0x117d6b&&_0x2979ab['delete'](_0x2b9bb8['fn']);}):_0x2fe044(_0x2b9bb8['key'],_0x247f2f);}})({'key':_0x2cf86d,'setValue':this['Ye']['bind'](this),'getValue':this['pr']['bind'](this),'computationControllers':this['Gu']});};for(let _0x2eaace of a8)this['sub'](Q2(_0x2eaace),()=>_0x347245(_0x2eaace));}['attributeChangedCallback'](t,_0x1d2637,_0x5d1c78){if(super['attributeChangedCallback'](t,_0x1d2637,_0x5d1c78),_0x1d2637===_0x5d1c78)return;let _0x859a87=u8[t];_0x859a87?this[_0x859a87]=_0x5d1c78:this['i']['when']('pluginManager',_0x5a50fc=>{let _0x109f8a=this['getAttribute'](t);if(_0x109f8a&&_0x109f8a!==_0x5d1c78)return;let _0x56645c=this['ci'][t],_0x443c6b=_0x56645c?_0x5a50fc['configRegistry']['get'](_0x56645c):void 0x0;if(_0x56645c&&_0x443c6b){let _0x3d47c2=_0x443c6b['fromAttribute']?_0x443c6b['fromAttribute'](_0x5d1c78):_0x5d1c78;if(this['pr'](_0x56645c)===_0x3d47c2)return;this['Ye'](_0x56645c,_0x3d47c2);}});}['disconnectedCallback'](){super['disconnectedCallback'](),this['dr']&&(this['dr'](),this['dr']=void 0x0),this['li']&&(this['li']['disconnect'](),this['li']=void 0x0);for(let t of this['Ut']['values']())t();this['Ut']['clear']();}static get['observedAttributes'](){return[...super['observedAttributes'],...Object['keys'](u8)];}};for(let e of a8)f8['prototype'][e]=void 0x0;var m8=class extends j6{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x0,this['dropzone']=!0x0,this['ui']='upload-file',this['Qu']=()=>{this['api']['initFlow']();};}static{this['styleAttrs']=[...super['styleAttrs'],'uc-simple-btn'];}['initCallback'](){super['initCallback'](),this['subConfigValue']('multiple',t=>{this['ui']=t?'upload-files':'upload-file';});}['render'](){return Z1`<uc-drop-area .disabled=${!this['dropzone']}><button type="button" @click=${this['Qu']}><uc-icon name="upload"></uc-icon><span>${this['l10n'](this['ui'])}</span>${this['yield']('')}<div class="uc-visual-drop-area">${this['l10n']('drop-files-here')}</div></button></uc-drop-area>`;}};z0([_2({'attribute':'dropzone','type':Boolean})],m8['prototype'],'dropzone',0x2),z0([E2()],m8['prototype'],'ui',0x2);var p8=class extends Q6{constructor(){super(...arguments),this['Wo']=l7();}['initCallback'](){this['activityType']=this['registration']?.['id']??null,this['Pa'](),super['initCallback']();}['willUpdate'](t){super['willUpdate'](t),t['has']('registration')&&(this['Pa'](),this['isActivityActive']&&(this['hr'](),this['La']()));}['Pa'](){this['registration']&&(this['Pn']()||this['registerActivity'](this['activityType']??'',{'onActivate':()=>this['La'](),'onDeactivate':()=>this['hr']()}));}async['La'](){await this['updateComplete'];let t=this['Wo']['value'];if(!t||!this['registration'])return;this['hr']();let _0x21c8ab=this['$']['*currentActivityParams'];try{this['qo']=this['registration']['render'](t,_0x21c8ab)??void 0x0;}catch(_0x51dc44){console['error']('[Plugin\x20\x22'+this['registration']['pluginId']+'\x22]\x20Activity\x20render()\x20threw\x20an\x20error',_0x51dc44);}}['hr'](){let t=this['Wo']['value'];if(t){try{this['qo']?.();}catch(_0x2c6c98){console['error']('[Plugin\x20\x22'+this['registration']?.['pluginId']+'\x22]\x20Activity\x20dispose\x20threw\x20an\x20error',_0x2c6c98);}this['qo']=void 0x0,t['replaceChildren']();}}['disconnectedCallback'](){this['hr'](),super['disconnectedCallback']();}['render'](){return Z1`<div style="display: contents;" ${d7(this['Wo'])}></div>`;}};z0([_2({'attribute':!0x1})],p8['prototype'],'registration',0x2);var g8=class extends k4{constructor(){super(...arguments),this['mode']='modal',this['de']=[];}['initCallback'](){super['initCallback']();let t=this['i']['pluginManager'];t?.['onPluginsChange']&&(this['E']=t['onPluginsChange'](()=>this['Ra']())),this['Ra']();}['Ra'](){let t=this['i']['pluginManager'];this['de']=t?t['snapshot']()['activities']:[];}['disconnectedCallback'](){this['E']?.(),this['E']=void 0x0,super['disconnectedCallback']();}['render'](){return'inline'===this['mode']?Z1`${L7(this['de'],t=>t['id'],t=>Z1`<uc-plugin-activity-host .registration=${t}></uc-plugin-activity-host>`)}`:Z1`${L7(this['de'],t=>t['id'],t=>Z1`<uc-modal id=${t['id']} strokes block-body-scrolling><uc-plugin-activity-host .registration=${t}></uc-plugin-activity-host></uc-modal>`)}`;}};function O8(_0x547c27,_0x4d9674,t){return _0x547c27?_0x4d9674(_0x547c27):t?.(_0x547c27);}function w8(..._0x3c7abb){return _0x3c7abb['reduce']((_0x54e899,t)=>{if('string'==typeof t)return _0x54e899[t]=!0x0,_0x54e899;for(let _0x379597 of Object['keys'](t))_0x54e899[_0x379597]=t[_0x379597];return _0x54e899;},{});}function b8(..._0x106371){let _0x46f474=w8(..._0x106371);return Object['keys'](_0x46f474)['reduce']((t,_0x3964b0)=>(_0x46f474[_0x3964b0]&&t['push'](_0x3964b0),t),[])['join']('\x20');}z0([_2({'type':String})],g8['prototype'],'mode',0x2),z0([E2()],g8['prototype'],'de',0x2);var y8=_0x436eb2=>l5['includes'](_0x436eb2);function v8(_0x3ede30){return{'*originalUrl':null,'*loadingOperations':new Map(),'*faderEl':null,'*cropperEl':null,'*imgEl':null,'*imgContainerEl':null,'*networkProblems':!0x1,'*imageSize':null,'*editorTransformations':{},'*cropPresetList':[],'*currentAspectRatio':null,'*tabList':l5,'*tabId':c5['CROP'],'*on.retryNetwork':()=>{let _0x23220d=_0x3ede30['querySelectorAll']('img');for(let t of _0x23220d){let _0x8d257d=t['src'];t['src']=E7,t['src']=_0x8d257d;}_0x3ede30['$']['*networkProblems']=!0x1;},'*on.apply':_0x4ee4d0=>{if(!_0x4ee4d0)return;let t=_0x3ede30['$']['*originalUrl'];if(!t)return void console['warn']('Original\x20URL\x20is\x20null,\x20cannot\x20apply\x20transformations');let _0xd1db98=F2(i5(_0x4ee4d0),'preview'),_0x1e6894={'originalUrl':t,'cdnUrlModifiers':_0xd1db98,'cdnUrl':Y2(t,_0xd1db98),'transformations':_0x4ee4d0};_0x3ede30['dispatchEvent'](new CustomEvent('apply',{'detail':_0x1e6894,'bubbles':!0x0,'composed':!0x0})),_0x3ede30['remove']();},'*on.cancel':()=>{_0x3ede30['remove'](),_0x3ede30['dispatchEvent'](new CustomEvent('cancel',{'bubbles':!0x0,'composed':!0x0}));}};}var _8={'transition':'uc-transition','visible':'uc-visible','hidden':'uc-hidden'},E8=class extends k4{constructor(){super(...arguments),this['he']=!0x1,this['Ua']=_8,this['$a']=_8['visible'],this['Da']=_8['hidden'],this['Zo']=!0x1,this['Fa']=!0x1;}set['visible'](t){this['he']=t,this['Na']();}get['visible'](){return this['he'];}set['styles'](t){this['Ua']=t,this['Zo']=!0x0,this['$a']=t['visible']??_8['visible'],this['Da']=t['hidden']??_8['hidden'];}get['styles'](){return this['Ua'];}['Na'](){this['style']['visibility']=this['he']?'inherit':'hidden',function(_0x3185c0,..._0x1e6afb){let t=w8(..._0x1e6afb);for(let _0x5e582c of Object['keys'](t))_0x3185c0['classList']['toggle'](_0x5e582c,!!t[_0x5e582c]);}(this,{[_8['transition']]:!this['Zo'],[this['$a']]:this['he'],[this['Da']]:!this['he']}),this['toggleAttribute']('inert',!this['he']);}['Ju'](){this['Fa']||(this['Fa']=!0x0,this['dispatchEvent'](new CustomEvent('initial-render',{'bubbles':!0x0,'composed':!0x0})));}['initCallback'](){super['initCallback'](),this['classList']['toggle']('uc-initial',!0x0),this['Zo']||this['classList']['add'](_8['transition']),this['Na'](),setTimeout(()=>{this['classList']['toggle']('uc-initial',!0x1),this['Ju']();},0x0);}};z0([_2({'type':Boolean})],E8['prototype'],'visible',0x1),z0([_2({'attribute':!0x1})],E8['prototype'],'styles',0x1);var T8=class extends k4{constructor(){super(...arguments),this['active']=!0x1,this['Xe']=l7(),this['Yo']=!0x1,this['Xo']=()=>{let t=this['Xe']['value'];t&&(this['Va'](t),this['Yo']&&this['active']&&this['Qo']());};}['firstUpdated'](t){super['firstUpdated'](t),this['active']&&this['Qo']();}['updated'](t){super['updated'](t),t['has']('active')&&(this['active']?this['Qo']():this['ed']());}['Qo'](){let t=this['Xe']['value'];if(!t)return;this['Yo']=!0x0;let {width:_0x10b40b}=this['getBoundingClientRect']();t['removeEventListener']('transitionend',this['Xo']),t['style']['transition']='transform\x201s',t['style']['opacity']='1',t['style']['transform']='translateX('+_0x10b40b+'px)',t['addEventListener']('transitionend',this['Xo'],{'once':!0x0});}['ed'](){let t=this['Xe']['value'];t&&(this['Yo']=!0x1,t['removeEventListener']('transitionend',this['Xo']),this['Va'](t));}['Va'](t){t['style']['transition']='initial',t['style']['opacity']='0',t['style']['transform']='translateX(-101%)';}['render'](){return Z1`<div class="uc-inner"><div class="uc-line" ${d7(this['Xe'])}></div></div>`;}};z0([_2({'type':Boolean,'reflect':!0x0})],T8['prototype'],'active',0x2);var A8=R4(class extends P4{constructor(_0xee5391){if(super(_0xee5391),_0xee5391['type']!==x4||'class'!==_0xee5391['name']||_0xee5391['strings']?.['length']>0x2)throw Error('`classMap()`\x20can\x20only\x20be\x20used\x20in\x20the\x20`class`\x20attribute\x20and\x20must\x20be\x20the\x20only\x20part\x20in\x20the\x20attribute.');}['render'](_0x15407c){return'\x20'+Object['keys'](_0x15407c)['filter'](_0x89abf6=>_0x15407c[_0x89abf6])['join']('\x20')+'\x20';}['update'](_0x3431c4,[_0x56664d]){if(void 0x0===this['st']){this['st']=new Set(),void 0x0!==_0x3431c4['strings']&&(this['nt']=new Set(_0x3431c4['strings']['join']('\x20')['split'](/\s/)['filter'](_0x3099ab=>''!==_0x3099ab)));for(let _0x3f6874 in _0x56664d)_0x56664d[_0x3f6874]&&!this['nt']?.['has'](_0x3f6874)&&this['st']['add'](_0x3f6874);return this['render'](_0x56664d);}let t=_0x3431c4['element']['classList'];for(let _0x107dee of this['st'])_0x107dee in _0x56664d||(t['remove'](_0x107dee),this['st']['delete'](_0x107dee));for(let _0xb6fe85 in _0x56664d){let _0x3babc6=!!_0x56664d[_0xb6fe85];_0x3babc6===this['st']['has'](_0xb6fe85)||this['nt']?.['has'](_0xb6fe85)||(_0x3babc6?(t['add'](_0xb6fe85),this['st']['add'](_0xb6fe85)):(t['remove'](_0xb6fe85),this['st']['delete'](_0xb6fe85)));}return G1;}}),S8=_0x593908=>_0x593908??X1,I8=class extends k4{constructor(){super(...arguments),this['text']='',this['icon']='',this['reverse']=!0x1,this['theme']='default',this['ariaRole']=void 0x0,this['ariaControls']='',this['titleProp']='',this['active']=!0x1;}['firstUpdated'](t){super['firstUpdated'](t),this['_a'](),this['Ba']();}['updated'](t){super['updated'](t),t['has']('reverse')&&this['_a'](),t['has']('theme')&&this['Ba']();}['_a'](){this['style']['flexDirection']=this['reverse']?'row-reverse':'';}['Ba'](){this['theme']&&'custom'!==this['theme']&&(this['className']='uc-'+this['theme']);}get['td'](){let t=this['Jo'];return{'uc-icon':!0x0,'uc-icon_left':!this['reverse'],'uc-icon_right':this['reverse'],'uc-icon_hidden':t,'uc-icon_single':this['rd']};}get['Jo'](){return!this['icon'];}get['rd'](){return!this['text']&&!this['Jo'];}['render'](){return Z1`<button type="button" role=${S8(this['ariaRole']||void 0x0)} aria-controls=${S8(this['ariaControls']||void 0x0)} aria-label=${S8(this['l10n'](this['titleProp']))} title=${S8(this['l10n'](this['titleProp']))} ><uc-icon class=${A8(this['td'])} name=${S8(this['icon']||void 0x0)} ?hidden=${this['Jo']} ></uc-icon><div class="uc-text">${this['text']}</div></button>`;}};function k8(_0x4d97f2,_0x566239,t){let _0x29fffc=window['devicePixelRatio'],_0x132e78=Math['min'](Math['ceil'](_0x566239*_0x29fffc),0xbb8),_0x25cd4f=_0x29fffc>=0x2?'lightest':'normal';return Y2(_0x4d97f2,F2(s5,i5(t),'quality/'+_0x25cd4f,'stretch/off/-/resize/'+_0x132e78+'x','@clib/'+g4+'/'+O4+'/uc-cloud-image-editor/'));}z0([_2({'type':String})],I8['prototype'],'text',0x2),z0([_2({'type':String})],I8['prototype'],'icon',0x2),z0([_2({'type':Boolean,'reflect':!0x0})],I8['prototype'],'reverse',0x2),z0([_2({'type':String,'reflect':!0x0})],I8['prototype'],'theme',0x2),z0([_2({'attribute':'aria-role'})],I8['prototype'],'ariaRole',0x2),z0([_2({'attribute':'aria-controls'})],I8['prototype'],'ariaControls',0x2),z0([_2({'attribute':'title-prop'})],I8['prototype'],'titleProp',0x2),z0([_2({'type':Boolean,'noAccessor':!0x0})],I8['prototype'],'active',0x2);var x8=class extends k4{constructor(){super(...arguments),this['za']='uc-backdrop-mask-'+k2['generateFastUid'](),this['mr']=!0x1,this['fi']=!0x1,this['ja']=l7(),this['mi']=!0x1,this['gi']=null,this['qa']=t=>{this['Wa'](),this['vi']&&(t['stopPropagation'](),t['preventDefault'](),this['vi']=!0x1);},this['Za']=t=>{if(!this['vi']||!this['fr']||!this['ts'])return;t['stopPropagation'](),t['preventDefault']();let _0x185c3e=this['Re'];if(!_0x185c3e)return;let {x:_0x17df03,y:_0x2aa851}=_0x185c3e['getBoundingClientRect'](),_0x5f2c53=t['x']-_0x17df03,_0x1fe21b=t['y']-_0x2aa851,_0x19c0fd=_0x5f2c53-this['fr'][0x0],_0x52985f=_0x1fe21b-this['fr'][0x1],{direction:_0x307587}=this['ts'],_0x39124e=this['pd'](_0x307587,[_0x19c0fd,_0x52985f]);_0x39124e&&(this['$']['*cropBox']=_0x39124e);},this['Ya']=t=>{if(!this['xe'])return;let _0x529c6c=Object['values'](this['xe'])['find'](_0x5249a3=>{if(!_0x5249a3||this['os'](_0x5249a3['direction']))return!0x1;let _0x1e4fc9=_0x5249a3['interactionNode']['getBoundingClientRect']();return function(_0x92fd,[_0x452d01,t]){return _0x92fd['x']<=_0x452d01&&_0x452d01<=_0x92fd['x']+_0x92fd['width']&&_0x92fd['y']<=t&&t<=_0x92fd['y']+_0x92fd['height'];}({'x':_0x1e4fc9['x'],'y':_0x1e4fc9['y'],'width':_0x1e4fc9['width'],'height':_0x1e4fc9['height']},[t['x'],t['y']]);});this['Ha']=_0x529c6c,this['Wa']();};}get['Re'](){return this['ja']['value']??null;}get['vi'](){return this['fi'];}set['vi'](t){this['fi']!==t&&(this['fi']=t,this['rs']());}['rs'](){this['pi']&&this['pi']['setAttribute']('class',b8({'uc-guides--hidden':this['mr'],'uc-guides--visible':!this['mr']&&this['fi'],'uc-guides--semi-hidden':!this['mr']&&!this['fi']}));}['os'](t){let _0x2e3ec5=this['$']['*imageBox'];if(!_0x2e3ec5)return!0x1;if(''===t&&_0x2e3ec5['height']<=0x1&&_0x2e3ec5['width']<=0x1)return!0x0;let _0x35b428=_0x2e3ec5['height']<=0x1&&(t['includes']('n')||t['includes']('s')),_0xb0aac=_0x2e3ec5['width']<=0x1&&(t['includes']('e')||t['includes']('w'));return _0x35b428||_0xb0aac;}['od'](){let t=this['$']['*cropBox'];if(!t)return;let {x:_0x4a037f,y:_0x325f41,width:_0x1c7e08,height:_0x5ea54b}=t,_0x454d83=this['Re'];if(!_0x454d83)return;let _0x52ae0d=E6('mask',{'id':this['za']}),_0x425db0=E6('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'white'}),_0x537679=E6('rect',{'x':_0x4a037f,'y':_0x325f41,'width':_0x1c7e08,'height':_0x5ea54b,'fill':'black'});_0x52ae0d['appendChild'](_0x425db0),_0x52ae0d['appendChild'](_0x537679);let _0x35fd9e=E6('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'var(--color-image-background)','fill-opacity':0.85,'mask':'url(#'+this['za']+')'});_0x454d83['appendChild'](_0x35fd9e),_0x454d83['appendChild'](_0x52ae0d),this['di']=_0x52ae0d,this['es']=_0x537679;}['sd'](){this['di']&&(this['di']['style']['display']='none',window['requestAnimationFrame'](()=>{this['di']&&(this['di']['style']['display']='block');}));}['nd'](){let t=this['$']['*cropBox'];if(!t)return;let {x:_0x4d8420,y:_0x233849,width:_0x59f532,height:_0x58fd09}=t;this['es']&&_6(this['es'],{'x':_0x4d8420,'y':_0x233849,'width':_0x59f532,'height':_0x58fd09});}['ad'](){let t=this['$']['*cropBox'];if(t&&this['pi']&&this['xe']){for(let _0x41ee7b of Object['values'](this['xe'])){if(!_0x41ee7b)continue;let {direction:_0x4d4cf1,pathNode:_0x3a3bd7,interactionNode:_0x459e17,groupNode:_0x140235}=_0x41ee7b,_0x38eaf4=''===_0x4d4cf1,_0xf7c30e=0x2===_0x4d4cf1['length'],{x:_0x421e90,y:_0x4f7f66,width:_0x142510,height:_0x198a67}=t;if(_0x38eaf4)_6(_0x459e17,{'x':_0x421e90,'y':_0x4f7f66,'width':_0x142510,'height':_0x198a67});else{let _0x557f45=R6(Math['min'](_0x142510,_0x198a67)/0x52/0x2,0x0,0x1),_0x43e0f1=_0xf7c30e?T6(t,_0x4d4cf1,_0x557f45):A6(t,_0x4d4cf1,_0x557f45),_0x4f5e17=_0x43e0f1['center'];if(!_0x4f5e17)continue;let _0x2fa579=Math['max'](0x18*R6(Math['min'](_0x142510,_0x198a67)/0x18/0x3,0x0,0x1),0x6);_6(_0x459e17,{'x':_0x4f5e17[0x0]-_0x2fa579,'y':_0x4f5e17[0x1]-_0x2fa579,'width':0x2*_0x2fa579,'height':0x2*_0x2fa579}),_6(_0x3a3bd7,{'d':_0x43e0f1['d']});}let _0x1854e1=this['os'](_0x4d4cf1);_0x140235['setAttribute']('class',b8('uc-thumb',{'uc-thumb--hidden':_0x1854e1,'uc-thumb--visible':!_0x1854e1}));}_6(this['pi'],{'x':t['x']-0.5,'y':t['y']-0.5,'width':t['width']+0x1,'height':t['height']+0x1});}}['Ga'](t,_0x40d7f6){let _0x144d5b=E6('g');_0x144d5b['classList']['add']('uc-thumb'),_0x144d5b['setAttribute']('with-effects','');let _0x2c5666=E6('rect',{'fill':'transparent'}),_0x57f4be=E6('path',{'stroke':'currentColor','fill':'none','stroke-width':0x3});_0x144d5b['appendChild'](_0x57f4be),_0x144d5b['appendChild'](_0x2c5666),t[_0x40d7f6]={'direction':_0x40d7f6,'pathNode':_0x57f4be,'interactionNode':_0x2c5666,'groupNode':_0x144d5b},''===_0x40d7f6&&(_0x144d5b['style']['cursor']='move'),_0x2c5666['addEventListener']('pointerdown',this['ld']['bind'](this,_0x40d7f6));}['cd'](){let t={};for(let _0x4d4b1b=0x0;_0x4d4b1b<0x3;_0x4d4b1b++)for(let _0x29591e=0x0;_0x29591e<0x3;_0x29591e++){let _0x4449ca=''+['n','','s'][_0x4d4b1b]+['w','','e'][_0x29591e];''!==_0x4449ca&&this['Ga'](t,_0x4449ca);}return this['Ga'](t,''),t;}['ud'](){let t=E6('svg'),_0x105707=E6('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'none','stroke':'currentColor','stroke-width':0x1,'stroke-opacity':0.5});t['appendChild'](_0x105707);for(let _0x5addce=0x1;_0x5addce<=0x2;_0x5addce++){let _0x3d857e=E6('line',{'x1':v6*_0x5addce+'%','y1':'0%','x2':v6*_0x5addce+'%','y2':'100%','stroke':'currentColor','stroke-width':0x1,'stroke-opacity':0.3});t['appendChild'](_0x3d857e);}for(let _0x32bad1=0x1;_0x32bad1<=0x2;_0x32bad1++){let _0x14f852=E6('line',{'x1':'0%','y1':v6*_0x32bad1+'%','x2':'100%','y2':v6*_0x32bad1+'%','stroke':'currentColor','stroke-width':0x1,'stroke-opacity':0.3});t['appendChild'](_0x14f852);}return t['classList']['add']('uc-guides','uc-guides--semi-hidden'),t;}['dd'](){let t=this['Re'];if(!t)return;let _0x2f844a=document['createDocumentFragment'](),_0x106e26=this['ud']();_0x2f844a['appendChild'](_0x106e26);let _0x2fa421=this['cd']();for(let {groupNode:_0x14d246}of Object['values'](_0x2fa421))_0x2f844a['appendChild'](_0x14d246);t['appendChild'](_0x2f844a),this['xe']=_0x2fa421,this['pi']=_0x106e26,this['rs']();}['ld'](t,_0x472559){if(!this['xe'])return;let _0x30fd88=this['xe'][t];if(!_0x30fd88||this['os'](t))return;let _0x453cee=this['$']['*cropBox'],_0x16dbbb=this['Re'];if(!_0x16dbbb)return;let {x:_0x5d5eb3,y:_0x593f23}=_0x16dbbb['getBoundingClientRect'](),_0x586362=_0x472559['x']-_0x5d5eb3,_0x479bd0=_0x472559['y']-_0x593f23;this['vi']=!0x0,this['ts']=_0x30fd88,this['fr']=[_0x586362,_0x479bd0],this['Ka']={..._0x453cee};}['pd'](t,_0x55ef48){let [_0x4e2708,_0x404367]=_0x55ef48,_0x5dfca5=this['$']['*imageBox'],_0x447a56=this['Ka']??this['$']['*cropBox'],_0x4d2f16=this['$']['*currentAspectRatio'],_0x166714=_0x4d2f16?_0x4d2f16['width']/_0x4d2f16['height']:void 0x0;if(_0x447a56=''===t?function({rect:_0x57c708,delta:[_0x35faff,t],imageBox:_0x1557fd}){return S6({..._0x57c708,'x':_0x57c708['x']+_0x35faff,'y':_0x57c708['y']+t},_0x1557fd);}({'rect':_0x447a56,'delta':[_0x4e2708,_0x404367],'imageBox':_0x5dfca5}):I6({'rect':_0x447a56,'delta':[_0x4e2708,_0x404367],'direction':t,'aspectRatio':_0x166714,'imageBox':_0x5dfca5}),Object['values'](_0x447a56)['every'](_0xdf9f4e=>Number['isFinite'](_0xdf9f4e)&&_0xdf9f4e>=0x0))return S6(C6(_0x447a56),_0x5dfca5);console['error']('CropFrame\x20is\x20trying\x20to\x20create\x20invalid\x20rectangle',{'payload':_0x447a56});}['Wa'](){let t=this['Ha'],_0x1d8ca0=this['Re'];_0x1d8ca0&&(_0x1d8ca0['style']['cursor']=t?function(_0x39453a){return''===_0x39453a?'move':['e','w']['includes'](_0x39453a)?'ew-resize':['n','s']['includes'](_0x39453a)?'ns-resize':['nw','se']['includes'](_0x39453a)?'nwse-resize':'nesw-resize';}(t['direction']):'initial');}['Xa'](t){if(this['hi'])return void this['hi']['setAttribute']('href',t);let _0x411751=this['Re'];if(!_0x411751)return void(this['gi']=t);this['gi']=null;let _0x34b5df=document['createDocumentFragment'](),_0x554bec=E6('image',{'href':t});_0x554bec['setAttribute']('class','uc-cloud-mask'),_0x34b5df['appendChild'](_0x554bec),_0x411751['appendChild'](_0x34b5df),this['hi']=_0x554bec;}['hd'](){let t=this['$']['*cropBox'];if(!t||!this['hi'])return;let {x:_0x21c134,y:_0x246035,width:_0x2d3665,height:_0x3280e0}=t;_6(this['hi'],{'x':_0x21c134,'y':_0x246035,'height':_0x3280e0,'width':_0x2d3665});}['ss'](){this['mi']&&(this['nd'](),this['ad'](),this['hd']());}['toggleThumbs'](t){if(this['xe'])for(let _0xec7066 of Object['values'](this['xe'])){if(!_0xec7066)continue;let {groupNode:_0x2b3abd}=_0xec7066;_0x2b3abd['setAttribute']('class',b8('uc-thumb',{'uc-thumb--hidden':!t,'uc-thumb--visible':t}));}}['initCallback'](){super['initCallback'](),this['sub']('*imageBox',()=>{this['sd'](),this['mi']&&window['requestAnimationFrame'](()=>{this['ss']();});}),this['sub']('*cropBox',t=>{t&&(this['mr']=t['height']<=0x1||t['width']<=0x1,this['rs'](),this['mi']&&window['requestAnimationFrame'](()=>{this['ss']();}));}),this['subConfigValue']('cloudImageEditorMaskHref',t=>{t&&this['Xa'](t);}),document['addEventListener']('pointermove',this['Za'],!0x0),document['addEventListener']('pointerup',this['qa'],!0x0);}['firstUpdated'](t){super['firstUpdated'](t),this['fd']();}['fd'](){let t=this['Re'];if(t&&!this['mi']){if(this['od'](),this['dd'](),this['mi']=!0x0,t['addEventListener']('pointermove',this['Ya'],!0x0),this['gi']){let _0x57df70=this['gi'];this['gi']=null,this['Xa'](_0x57df70);}this['ss']();}}['disconnectedCallback'](){super['disconnectedCallback'](),this['Re']?.['removeEventListener']('pointermove',this['Ya'],!0x0),document['removeEventListener']('pointermove',this['Za'],!0x0),document['removeEventListener']('pointerup',this['qa'],!0x0);}['render'](){return Z1`<svg class="uc-svg" xmlns="http://www.w3.org/2000/svg" ${d7(this['ja'])}></svg>`;}};z0([E2()],x8['prototype'],'fi',0x2);var C8=class extends k4{constructor(){super(),this['ctxOwner']=!0x0,this['Qe']={'width':0x0,'height':0x0},this['e']=null,this['_']=!0x1,this['se']=null,this['Ja']=l7(),this['as']=l7(),this['init$']={...this['init$'],'*padding':0x14,'*operations':{'rotate':0x0,'mirror':!0x1,'flip':!0x1},'*imageBox':{'x':0x0,'y':0x0,'width':0x0,'height':0x0},'*cropBox':{'x':0x0,'y':0x0,'width':0x0,'height':0x0}},this['Qa']=T2(this['tl']['bind'](this),0x12c),this['ns']=M7(()=>{!this['isConnected']||!this['_']||(this['ls'](),this['il'](),this['rl'](),this['cs'](),this['us']());},0x64);}['firstUpdated'](t){super['firstUpdated'](t),this['ls']();}['il'](){let _0x457358=function(_0xe29f1c,_0x3f5b20){let t={};for(let _0x1f74f9 of _0x3f5b20){let _0x202d92=_0xe29f1c[_0x1f74f9];(Object['hasOwn'](_0xe29f1c,_0x1f74f9)||void 0x0!==_0x202d92)&&(t[_0x1f74f9]=_0x202d92);}return t;}(this['$']['*editorTransformations'],Object['keys'](this['$']['*operations'])),_0x4e34da={...this['$']['*operations'],..._0x457358};this['$']['*operations']=_0x4e34da;}['ls'](){let t=this['Ja']['value'];if(!t)return;let _0x12db97=t['getContext']('2d'),_0xf3218b=this['offsetWidth'],_0x31ff0f=this['offsetHeight'],_0xe46e49=window['devicePixelRatio'];t['style']['width']=_0xf3218b+'px',t['style']['height']=_0x31ff0f+'px',t['width']=_0xf3218b*_0xe46e49,t['height']=_0x31ff0f*_0xe46e49,_0x12db97?.['scale'](_0xe46e49,_0xe46e49),this['fe']=t,this['e']=_0x12db97;}['rl'](){if(!this['_']||!this['se'])return;let _0x3c3cf0,t=this['se'],_0x483c04=this['$']['*padding'],{rotate:_0x4efc26}=this['$']['*operations'],_0x3d671b=this['offsetWidth'],_0x14e4d9=this['offsetHeight'],_0x5ec132=k6({'width':t['naturalWidth'],'height':t['naturalHeight']},_0x4efc26);if(_0x5ec132['width']>_0x3d671b-0x2*_0x483c04||_0x5ec132['height']>_0x14e4d9-0x2*_0x483c04){let _0x96fea6=_0x5ec132['width']/_0x5ec132['height'];if(_0x96fea6>_0x3d671b/_0x14e4d9){let _0x1e7df4=_0x3d671b-0x2*_0x483c04,_0x20cd6c=_0x1e7df4/_0x96fea6;_0x3c3cf0={'x':0x0+_0x483c04,'y':_0x483c04+(_0x14e4d9-0x2*_0x483c04)/0x2-_0x20cd6c/0x2,'width':_0x1e7df4,'height':_0x20cd6c};}else{let _0x37bb86=_0x14e4d9-0x2*_0x483c04,_0x8cae67=_0x37bb86*_0x96fea6;_0x3c3cf0={'x':_0x483c04+(_0x3d671b-0x2*_0x483c04)/0x2-_0x8cae67/0x2,'y':0x0+_0x483c04,'width':_0x8cae67,'height':_0x37bb86};}}else{let {width:_0xb016d6,height:_0xb90896}=_0x5ec132;_0x3c3cf0={'x':_0x483c04+(_0x3d671b-0x2*_0x483c04)/0x2-_0xb016d6/0x2,'y':_0x483c04+(_0x14e4d9-0x2*_0x483c04)/0x2-_0xb90896/0x2,'width':_0xb016d6,'height':_0xb90896};}this['$']['*imageBox']=C6(_0x3c3cf0);}['cs'](){let t=this['$']['*cropBox'],_0xc44da9=this['$']['*imageBox'],{rotate:_0x11e81a}=this['$']['*operations'],_0x2afa08=this['$']['*editorTransformations']['crop'],{width:_0x3d176a,x:_0x53fbf2,y:_0x46db56}=_0xc44da9;if(_0x2afa08){let {dimensions:[_0x54f9b1,_0x47aa1b],coords:[_0x283591,_0x3d0413]}=_0x2afa08,{width:_0x523e8f}=k6(this['Qe'],_0x11e81a),_0xbc5435=_0x3d176a/_0x523e8f;t=S6(C6({'x':_0x53fbf2+_0x283591*_0xbc5435,'y':_0x46db56+_0x3d0413*_0xbc5435,'width':_0x54f9b1*_0xbc5435,'height':_0x47aa1b*_0xbc5435}),_0xc44da9);}let _0x518065=this['$']['*currentAspectRatio'],_0x3007e8=_0x518065?_0x518065['width']/_0x518065['height']:void 0x0;if(!function(_0x4b76e3,_0xcd4b26){return _0x4b76e3['x']>=_0xcd4b26['x']&&_0x4b76e3['y']>=_0xcd4b26['y']&&_0x4b76e3['x']+_0x4b76e3['width']<=_0xcd4b26['x']+_0xcd4b26['width']&&_0x4b76e3['y']+_0x4b76e3['height']<=_0xcd4b26['y']+_0xcd4b26['height'];}(t,_0xc44da9)||_0x3007e8&&!function(_0x54ebb3,_0x5d6325){return Math['abs'](_0x54ebb3['width']/_0x54ebb3['height']-_0x5d6325)<0.1;}(t,_0x3007e8)){let _0xaba5a3=_0xc44da9['width']/_0xc44da9['height'],_0x56cbc5=_0xc44da9['width'],_0x433e05=_0xc44da9['height'];_0x3007e8&&(_0xaba5a3>_0x3007e8?_0x56cbc5=Math['min'](_0xc44da9['height']*_0x3007e8,_0xc44da9['width']):_0x433e05=Math['min'](_0xc44da9['width']/_0x3007e8,_0xc44da9['height'])),t={'x':_0xc44da9['x']+_0xc44da9['width']/0x2-_0x56cbc5/0x2,'y':_0xc44da9['y']+_0xc44da9['height']/0x2-_0x433e05/0x2,'width':_0x56cbc5,'height':_0x433e05};}this['$']['*cropBox']=S6(C6(t),_0xc44da9);}['md'](){let t=this['e'];if(!t)return;let _0x25b81e=this['se'];if(!_0x25b81e)return;let _0x5cdda2=this['$']['*imageBox'],{mirror:_0x377289,flip:_0x180a25,rotate:_0x576d6b}=this['$']['*operations'],_0x1ed710=k6({'width':_0x5cdda2['width'],'height':_0x5cdda2['height']},_0x576d6b);t['save'](),t['translate'](_0x5cdda2['x']+_0x5cdda2['width']/0x2,_0x5cdda2['y']+_0x5cdda2['height']/0x2),t['rotate'](_0x576d6b*Math['PI']*-0x1/0xb4),t['scale'](_0x377289?-0x1:0x1,_0x180a25?-0x1:0x1),t['drawImage'](_0x25b81e,-_0x1ed710['width']/0x2,-_0x1ed710['height']/0x2,_0x1ed710['width'],_0x1ed710['height']),t['restore']();}['us'](){if(!(this['_']&&this['se']&&this['fe']&&this['e']))return;let t=this['fe'];this['e']['clearRect'](0x0,0x0,t['width'],t['height']),this['md']();}['gd']({fromViewer:t}){this['se']&&(this['as']['value']?.['toggleThumbs'](!0x0),this['vd'](),setTimeout(()=>{this['className']=b8({'uc-active_from_viewer':t,'uc-active_from_editor':!t,'uc-inactive_to_editor':!0x1});}));}['ol'](){let t=this['$']['*cropBox'],_0x895619=this['$']['*imageBox'],{rotate:_0x2fad32}=this['$']['*operations'],{width:_0x221604,height:_0x2c1f15}=_0x895619,{width:_0x1487a5,height:_0x407125}=k6(this['Qe'],_0x2fad32),{width:_0x4b0bcf,height:_0x145ac1}=t,_0x5ce46e=_0x221604/_0x1487a5,_0x4cc238=_0x2c1f15/_0x407125;return[R6(Math['round'](_0x4b0bcf/_0x5ce46e),0x1,_0x1487a5),R6(Math['round'](_0x145ac1/_0x4cc238),0x1,_0x407125)];}['yd'](){let t=this['$']['*cropBox'],_0x5efa9d=this['$']['*imageBox'],{rotate:_0x4e14d7}=this['$']['*operations'],{width:_0x235d29,height:_0x3b02d1,x:_0x4c5231,y:_0x1773a5}=_0x5efa9d,{width:_0x1c78bc,height:_0x36b0e7}=k6(this['Qe'],_0x4e14d7),{x:_0x27606a,y:_0x121e06}=t,_0x411afb=_0x235d29/_0x1c78bc,_0x151b4c=_0x3b02d1/_0x36b0e7,_0x565ac4=this['ol'](),_0x358732={'dimensions':_0x565ac4,'coords':[R6(Math['round']((_0x27606a-_0x4c5231)/_0x411afb),0x0,_0x1c78bc-_0x565ac4[0x0]),R6(Math['round']((_0x121e06-_0x1773a5)/_0x151b4c),0x0,_0x36b0e7-_0x565ac4[0x1])]};if(function(_0x58e26c){return!_0x58e26c||[({dimensions:t,coords:_0x2f2cb9})=>[...t,..._0x2f2cb9]['every'](_0x3f0fac=>Number['isInteger'](_0x3f0fac)&&Number['isFinite'](_0x3f0fac)),({dimensions:t,coords:_0x37dd1f})=>t['every'](_0x325c30=>_0x325c30>0x0)&&_0x37dd1f['every'](_0x3a20cb=>_0x3a20cb>=0x0)]['every'](t=>t(_0x58e26c));}(_0x358732))return _0x565ac4[0x0]!==_0x1c78bc||_0x565ac4[0x1]!==_0x36b0e7?_0x358732:void 0x0;console['error']('Cropper\x20is\x20trying\x20to\x20create\x20invalid\x20crop\x20object',{'payload':_0x358732});}['tl'](){if(!this['isConnected']||!this['Qe'])return;let {rotate:_0x109a17,mirror:_0x471b7b,flip:_0x148062}=this['$']['*operations'],_0x413680=this['yd'](),_0x52d2f7={...this['$']['*editorTransformations'],'crop':_0x413680,'rotate':_0x109a17,'mirror':_0x471b7b,'flip':_0x148062};this['$']['*editorTransformations']=_0x52d2f7;}['setValue'](t,_0x56768e){this['$']['*operations']={...this['$']['*operations'],[t]:_0x56768e},this['_']&&(this['rl'](),this['cs'](),this['us']());}['getValue'](t){return this['$']['*operations'][t];}async['activate'](t,{fromViewer:_0x4480e2}={}){if(!this['_']){this['_']=!0x0,await this['updateComplete'],this['ls'](),this['Qe']=t,this['removeEventListener']('transitionend',this['sl']);try{let _0x116e92=this['$']['*originalUrl'],_0x234a37=this['$']['*editorTransformations'];this['se']=await this['bd'](_0x116e92,_0x234a37),this['il'](),this['ns'](),this['gd']({'fromViewer':_0x4480e2});}catch(_0x255b01){console['error']('Failed\x20to\x20activate\x20cropper',{'error':_0x255b01}),this['telemetryManager']['sendEventError'](_0x255b01,'cloud\x20editor\x20image.\x20Failed\x20to\x20activate\x20cropper');}this['s']=new ResizeObserver(_0x55dca5=>{let [_0x2221c5]=_0x55dca5;_0x2221c5&&_0x2221c5['contentRect']['width']>0x0&&_0x2221c5['contentRect']['height']>0x0&&this['_']&&this['se']&&this['ns']();}),this['s']['observe'](this);}}['deactivate']({reset:t=!0x1}={}){this['_']&&(!t&&this['tl'](),this['_']=!0x1,this['wd'](),this['className']=b8({'uc-active_from_viewer':!0x1,'uc-active_from_editor':!0x1,'uc-inactive_to_editor':!0x0}),this['as']['value']?.['toggleThumbs'](!0x1),this['addEventListener']('transitionend',this['sl'],{'once':!0x0}),this['s']?.['disconnect']());}['wd'](){let t=this['ol'](),_0x11798c=this['$']['*cropBox'],_0x24a5e8=Math['min'](this['offsetWidth'],t[0x0])/_0x11798c['width'],_0x58b181=Math['min'](this['offsetHeight'],t[0x1])/_0x11798c['height'],_0x38f94c=Math['min'](_0x24a5e8,_0x58b181),_0x323aa3=_0x11798c['x']+_0x11798c['width']/0x2,_0xf3350f=_0x11798c['y']+_0x11798c['height']/0x2;this['style']['transform']='scale('+_0x38f94c+')\x20translate('+(this['offsetWidth']/0x2-_0x323aa3)/_0x38f94c+'px,\x20'+(this['offsetHeight']/0x2-_0xf3350f)/_0x38f94c+'px)',this['style']['transformOrigin']=_0x323aa3+'px\x20'+_0xf3350f+'px';}['vd'](){let t=this['$']['*cropBox'],_0x436449=t['x']+t['width']/0x2,_0x4007e0=t['y']+t['height']/0x2;this['style']['transform']='scale(1)',this['style']['transformOrigin']=_0x436449+'px\x20'+_0x4007e0+'px';}['sl'](){this['_']||(this['se']=null);}async['bd'](t,_0x3ff86f){let _0x463ec2=this['offsetWidth'];_0x3ff86f={..._0x3ff86f,'crop':void 0x0,'rotate':void 0x0,'flip':void 0x0,'mirror':void 0x0};let _0x2fdc06=await this['proxyUrl'](k8(t,_0x463ec2,_0x3ff86f)),{promise:_0x45b8fb,cancel:_0x14a1f0,image:_0x37c6e3}=T7(_0x2fdc06),_0x53c335=this['$t'](_0x2fdc06);return _0x37c6e3['addEventListener']('load',_0x53c335,{'once':!0x0}),_0x37c6e3['addEventListener']('error',_0x53c335,{'once':!0x0}),this['b']?.(),this['b']=_0x14a1f0,_0x45b8fb['then'](()=>_0x37c6e3)['catch'](_0x3447c0=>(console['error']('Failed\x20to\x20load\x20image',{'error':_0x3447c0}),this['$']['*networkProblems']=!0x0,_0x37c6e3));}['$t'](t){let _0x2862c0='crop',_0xc85fe0=this['$']['*loadingOperations'],_0x19719c=_0xc85fe0['get'](_0x2862c0);return _0x19719c||(_0x19719c=new Map(),_0xc85fe0['set'](_0x2862c0,_0x19719c)),_0x19719c['get'](t)||(_0x19719c['set'](t,!0x0),this['$']['*loadingOperations']=_0xc85fe0),()=>{let _0x142fb6=_0xc85fe0['get'](_0x2862c0);_0x142fb6?.['has'](t)&&(_0x142fb6['delete'](t),this['$']['*loadingOperations']=_0xc85fe0);};}['initCallback'](){super['initCallback'](),this['sub']('*imageBox',()=>{this['us']();}),this['sub']('*cropBox',()=>{this['se']&&this['Qa']();}),this['sub']('*currentAspectRatio',()=>{this['cs']();}),setTimeout(()=>{this['sub']('*networkProblems',t=>{t||this['_']&&this['Qe']&&this['activate'](this['Qe'],{'fromViewer':!0x1});});},0x0);}['disconnectedCallback'](){super['disconnectedCallback'](),this['s']?.['disconnect'](),this['se']&&(this['se']=null);}['render'](){return Z1`<canvas class="uc-canvas" ${d7(this['Ja'])}></canvas><uc-crop-frame ${d7(this['as'])}></uc-crop-frame>`;}};function R8(_0x5d5cb6,_0x49d167,t){let _0x627929=t-0x1,_0x47aeb5=new Array(t);for(let _0x5edd40=_0x627929;_0x5edd40>=0x0;_0x5edd40-=0x1)_0x47aeb5[_0x5edd40]=Math['ceil']((_0x5edd40*_0x49d167+(_0x627929-_0x5edd40)*_0x5d5cb6)/_0x627929);return _0x47aeb5;}function P8(_0x4213ac,_0xf05d1e){let t=m5[_0x4213ac]['keypointsNumber'],{range:_0x201be7,zero:_0x3fc412}=m5[_0x4213ac];return[...new Set([...R8(_0x201be7[0x0],_0x3fc412,t+0x1),...R8(_0x3fc412,_0x201be7[0x1],t+0x1),_0x3fc412,_0xf05d1e])]['sort']((_0x4e2528,_0x1e01ae)=>_0x4e2528-_0x1e01ae);}z0([E2()],C8['prototype'],'se',0x2);var M8=class extends k4{constructor(){super(),this['_']=!0x1,this['ds']=!0x0,this['n']='initial',this['nl']={},this['Ue']=[],this['al']=0x0,this['cl']=l7(),this['gr']=l7(),this['classList']['add']('uc-inactive_to_cropper'),this['ll']=T2(async(t,_0x342c6a,_0x513d7b)=>{let _0x3b1a46=()=>!this['ul'](t,_0x342c6a)||this['Pt']!==_0x513d7b||!!this['Ue']['find'](_0x45d587=>_0x45d587['value']===_0x513d7b);if(_0x3b1a46())return;let _0x9a618d=await this['dl'](t,_0x513d7b),_0x3613fb=new Image();_0x3613fb['src']=_0x9a618d['src'];let _0x1f62b7=this['$t'](_0x9a618d['src']);_0x3613fb['addEventListener']('load',_0x1f62b7,{'once':!0x0}),_0x3613fb['addEventListener']('error',_0x1f62b7,{'once':!0x0}),_0x9a618d['image']=_0x3613fb,_0x3613fb['classList']['add']('uc-fader-image'),_0x3613fb['addEventListener']('load',()=>{if(_0x3b1a46())return;let _0x143daa=this['Ue'],_0x3ef1af=_0x143daa['findIndex'](_0x441302=>_0x441302['value']>_0x513d7b);-0x1===_0x3ef1af&&(_0x3ef1af=_0x143daa['length']);let _0x4f987f=_0x143daa[_0x3ef1af]?.['image'],_0x408d98=this['gr']['value'];!_0x408d98||_0x4f987f&&!_0x408d98['contains'](_0x4f987f)||(_0x143daa['splice'](_0x3ef1af,0x0,_0x9a618d),_0x4f987f?_0x408d98['insertBefore'](_0x3613fb,_0x4f987f):_0x408d98['appendChild'](_0x3613fb),this['fs'](t,_0x513d7b));},{'once':!0x0}),_0x3613fb['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});},0x258);}['$t'](t){let _0x387f13=this['n'],_0x99d8a1=this['$']['*loadingOperations'];_0x99d8a1['has'](_0x387f13)||_0x99d8a1['set'](_0x387f13,new Map());let _0x37205e=_0x99d8a1['get'](_0x387f13);return _0x37205e&&!_0x37205e['get'](t)&&(_0x37205e['set'](t,!0x0),this['$']['*loadingOperations']=_0x99d8a1),()=>{let _0x2e4cd9=_0x99d8a1['get'](_0x387f13);_0x2e4cd9?.['has'](t)&&(_0x2e4cd9['delete'](t),this['$']['*loadingOperations']=_0x99d8a1);};}['pl'](){window['cancelAnimationFrame'](this['al']),this['al']=window['requestAnimationFrame'](()=>{for(let t of this['Ue']){let {image:_0xe2fdc6}=t;_0xe2fdc6&&(_0xe2fdc6['style']['opacity']=t['opacity']['toString'](),_0xe2fdc6['style']['zIndex']=t['zIndex']['toString']());}});}['Je']({url:t=this['Dt'],filter:_0x179288=this['m']??void 0x0,operation:_0x5ef645,value:_0x4fd989}={}){if(!t)throw new Error('URL\x20is\x20not\x20defined');let _0x2e5993={...this['nl']};_0x5ef645&&('filter'===_0x5ef645?_0x179288&&'number'==typeof _0x4fd989&&(_0x2e5993['filter']={'name':_0x179288,'amount':_0x4fd989}):'number'==typeof _0x4fd989&&(_0x2e5993[_0x5ef645]=_0x4fd989));let _0x40b45e=this['offsetWidth'];return this['proxyUrl'](k8(t,_0x40b45e,_0x2e5993));}async['dl'](t,_0x3dea3f){return{'src':await this['Je']({'operation':t,'value':_0x3dea3f}),'image':void 0x0,'opacity':0x0,'zIndex':0x0,'value':_0x3dea3f};}['ul'](t,_0x202279){return this['n']===t&&this['m']===_0x202279;}['set'](t){let _0x14d709='string'==typeof t?parseInt(t,0xa):t;!function(_0x2be3b2){return'string'==typeof _0x2be3b2&&_0x2be3b2 in m5;}(this['n'])||!Number['isFinite'](_0x14d709)||(this['fs'](this['n'],_0x14d709),this['ll'](this['n'],this['m'],_0x14d709));}['fs'](t,_0xddf018){this['n']=t,this['Pt']=_0xddf018;let {zero:_0x46b8d3}=m5[t],_0x56fc1c=this['Ue']['map'](_0x5b5b23=>_0x5b5b23['value']),_0x505d35=function(_0x2f6b3,_0x2ac74f,t){let _0x1fa075=function(_0x39baab){let _0x3f2bb8=[];for(let t=0x0;t<_0x39baab['length']-0x1;t+=0x1){let _0x2ebb72=_0x39baab[t],_0x544c14=_0x39baab[t+0x1];'number'==typeof _0x2ebb72&&'number'==typeof _0x544c14&&_0x3f2bb8['push']([_0x2ebb72,_0x544c14]);}return _0x3f2bb8;}(_0x2f6b3)['find'](([_0x25eeeb,_0x45f830])=>_0x25eeeb<=_0x2ac74f&&_0x2ac74f<=_0x45f830);if(!_0x1fa075)return _0x2f6b3['map'](()=>0x0);let [_0x117077,_0x638861]=_0x1fa075;return _0x2f6b3['map'](_0x440a3b=>{let _0x2b28da=Math['abs'](_0x117077-_0x638861)||0x1,_0x5cedfb=Math['abs'](_0x2ac74f-_0x117077)/_0x2b28da;return _0x117077===_0x440a3b?_0x2ac74f>t?0x1:0x1-_0x5cedfb:_0x638861===_0x440a3b?_0x2ac74f>=t?_0x5cedfb:0x1:0x0;});}(_0x56fc1c,_0xddf018,_0x46b8d3),_0xc47119=function(_0xc209e9,_0x3814b2){return _0xc209e9['map']((t,_0x2d1082)=>t<_0x3814b2?_0xc209e9['length']-_0x2d1082:_0x2d1082);}(_0x56fc1c,_0x46b8d3);this['Ue']['forEach']((_0x1c5ab9,_0x53ff7d)=>{let _0x472a19=_0x505d35[_0x53ff7d],_0x464b8a=_0xc47119[_0x53ff7d];'number'==typeof _0x472a19&&(_0x1c5ab9['opacity']=_0x472a19),'number'==typeof _0x464b8a&&(_0x1c5ab9['zIndex']=_0x464b8a);}),this['pl']();}['hl'](){let t=new Image();return t['classList']['add']('uc-fader-image','uc-fader-image--preview'),t['style']['opacity']='0',t;}async['Td'](){this['a']=this['a']||this['hl']();let t=this['a'];t&&this['fl'](t);let {images:_0x59e534,promise:_0x245d09,cancel:_0x2c55dd}=A7(this['Ue']['map'](_0x4616ad=>_0x4616ad['src']));_0x59e534['forEach'](_0x4ab297=>{let _0x88bd14=this['$t'](_0x4ab297['src']);_0x4ab297['addEventListener']('load',_0x88bd14),_0x4ab297['addEventListener']('error',_0x88bd14);}),this['ps']=()=>{_0x2c55dd(),this['ps']=void 0x0;};let _0x37f3b9=this['n'],_0x5bfbb5=this['m'];if(await _0x245d09,this['_']&&this['ul'](_0x37f3b9,_0x5bfbb5)){let _0xc6dcc2=this['gr']['value'];if(!_0xc6dcc2)return;_0xc6dcc2['replaceChildren'](),this['Ue']['forEach']((_0x13ded0,_0x415036)=>{let _0x1ecb5b=_0x59e534[_0x415036];_0x1ecb5b&&(_0x1ecb5b['classList']['add']('uc-fader-image'),_0x13ded0['image']=_0x1ecb5b,_0xc6dcc2['appendChild'](_0x1ecb5b));}),this['pl']();}}async['setTransformations'](t){if(this['nl']=t,this['a']){let _0x3688cf=await this['Je'](),_0x11b3bc=this['$t'](_0x3688cf);this['a']['src']=_0x3688cf,this['a']['addEventListener']('load',_0x11b3bc,{'once':!0x0}),this['a']['addEventListener']('error',_0x11b3bc,{'once':!0x0}),this['a']['style']['opacity']='1',this['a']['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}}async['preload']({url:t,filter:_0xf1fc9c,operation:_0x14ec6e,value:_0x5d83af}){if(!_0x14ec6e||'number'!=typeof _0x5d83af)return;this['hs']?.();let _0x900577=P8(_0x14ec6e,_0x5d83af),{cancel:_0x20ac4}=A7(await Promise['all'](_0x900577['map'](_0x44cebd=>this['Je']({'url':t,'filter':_0xf1fc9c,'operation':_0x14ec6e,'value':_0x44cebd}))));this['hs']=_0x20ac4;}['Ed'](t){let _0x5726ee=this['a']||this['hl']();if(this['fl'](_0x5726ee),this['a']=_0x5726ee,_0x5726ee['src']===t)return _0x5726ee['style']['opacity']='1',_0x5726ee['style']['transform']='scale(1)',void(this['className']=b8({'uc-active_from_viewer':this['yi'],'uc-active_from_cropper':!this['yi'],'uc-inactive_to_cropper':!0x1}));_0x5726ee['style']['opacity']='0';let _0x4f812f=this['$t'](t);_0x5726ee['addEventListener']('error',_0x4f812f,{'once':!0x0}),_0x5726ee['src']=t,_0x5726ee['addEventListener']('load',()=>{_0x4f812f(),_0x5726ee&&(_0x5726ee['style']['opacity']='1',_0x5726ee['style']['transform']='scale(1)',this['className']=b8({'uc-active_from_viewer':this['yi'],'uc-active_from_cropper':!this['yi'],'uc-inactive_to_cropper':!0x1}));},{'once':!0x0}),_0x5726ee['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}async['activate']({url:t,operation:_0x376e8d,value:_0x47bd5b,filter:_0x19d54b,fromViewer:_0xc5c389}){if(this['_']=!0x0,this['ds']=!0x1,await this['updateComplete'],this['Dt']=t,this['n']=_0x376e8d??'initial',this['Pt']=_0x47bd5b,this['m']=_0x19d54b,this['yi']=_0xc5c389,'number'!=typeof _0x47bd5b&&!_0x19d54b){let _0x5f4b20=await this['Je']({'operation':_0x376e8d,'value':_0x47bd5b});return this['Ed'](_0x5f4b20),void this['ms']();}!_0x376e8d||'number'!=typeof _0x47bd5b||(this['Ue']=await Promise['all'](P8(_0x376e8d,_0x47bd5b)['map'](_0x321f2c=>this['dl'](_0x376e8d,_0x321f2c))),this['fs'](_0x376e8d,_0x47bd5b),this['Td']());}['deactivate']({hide:t=!0x0}={}){this['_']=!0x1,this['ps']?.(),this['hs']?.(),t&&!this['ds']?(this['ds']=!0x0,this['a']&&(this['a']['style']['transform']='scale(1)'),this['className']=b8({'uc-active_from_viewer':!0x1,'uc-active_from_cropper':!0x1,'uc-inactive_to_cropper':!0x0}),this['addEventListener']('transitionend',()=>{this['ms']();},{'once':!0x0})):this['ms']();}['fl'](t){let _0x5cef09=this['cl']['value'];_0x5cef09&&(_0x5cef09['contains'](t)||_0x5cef09['appendChild'](t));}['ms'](){this['gr']['value']?.['replaceChildren']();}['render'](){return Z1`<div class="uc-fader-preview-host" ${d7(this['cl'])}></div><div class="uc-fader-layers-host" ${d7(this['gr'])}></div>`;}},N8='important',L8='\x20!'+N8,$8=R4(class extends P4{constructor(_0x3d7983){if(super(_0x3d7983),_0x3d7983['type']!==x4||'style'!==_0x3d7983['name']||_0x3d7983['strings']?.['length']>0x2)throw Error('The\x20`styleMap`\x20directive\x20must\x20be\x20used\x20in\x20the\x20`style`\x20attribute\x20and\x20must\x20be\x20the\x20only\x20part\x20in\x20the\x20attribute.');}['render'](_0x8b3637){return Object['keys'](_0x8b3637)['reduce']((_0x474b72,t)=>{let _0x144aab=_0x8b3637[t];return null==_0x144aab?_0x474b72:_0x474b72+((t=t['includes']('-')?t:t['replace'](/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,'-$&')['toLowerCase']())+':'+_0x144aab+';');},'');}['update'](_0x5272a5,[_0x4698e3]){let {style:t}=_0x5272a5['element'];if(void 0x0===this['ft'])return this['ft']=new Set(Object['keys'](_0x4698e3)),this['render'](_0x4698e3);for(let _0x322575 of this['ft'])_0x4698e3[_0x322575]??(this['ft']['delete'](_0x322575),_0x322575['includes']('-')?t['removeProperty'](_0x322575):t[_0x322575]=null);for(let _0x5c22c1 in _0x4698e3){let _0x26598a=_0x4698e3[_0x5c22c1];if(null!=_0x26598a){this['ft']['add'](_0x5c22c1);let _0x334252='string'==typeof _0x26598a&&_0x26598a['endsWith'](L8);_0x5c22c1['includes']('-')||_0x334252?t['setProperty'](_0x5c22c1,_0x334252?_0x26598a['slice'](0x0,-0xb):_0x26598a,_0x334252?N8:''):t[_0x5c22c1]=_0x26598a;}}return G1;}}),D8=class extends k4{constructor(){super(),this['gs']=0x0,this['vr']=l7(),this['gl']=l7(),this['vl']=l7(),this['disabled']=!0x1,this['min']=0x0,this['max']=0x64,this['defaultValue']=0x0,this['zero']=0x0,this['$e']=0x0,this['Cd']=t=>{t['stopPropagation']();let _0x5ef3ae=this['yl'](t);null!==_0x5ef3ae&&(this['vs'](_0x5ef3ae),this['xd']('slider-input',_0x5ef3ae));},this['Sd']=t=>{t['stopPropagation']();let _0x4424ed=this['yl'](t);null!==_0x4424ed&&this['vs'](_0x4424ed);},this['bl']=()=>{this['style']['setProperty']('--color-effect','var(--hover-color-rgb)');},this['wl']=()=>{this['style']['setProperty']('--color-effect','var(--idle-color-rgb)');},this['setAttribute']('with-effects','');}['xd'](t,_0x547492){this['dispatchEvent'](new CustomEvent(t,{'detail':{'value':_0x547492},'bubbles':!0x0,'composed':!0x0}));}['firstUpdated'](t){super['firstUpdated'](t),this['gs']=Number['parseInt'](window['getComputedStyle'](this)['getPropertyValue']('--l-thumb-size'),0xa)||0x0,this['Tl'](this['$e']),this['ys'](),this['s']=new ResizeObserver(()=>{this['ys'](),this['yr'](this['$e']);}),this['s']['observe'](this);let _0x392bbc=this['vr']['value'];_0x392bbc?.['addEventListener']('focus',this['bl']),_0x392bbc?.['addEventListener']('blur',this['wl']),window['setTimeout'](()=>{this['yr'](this['$e']);},0x0);}['willUpdate'](t){super['willUpdate'](t),t['has']('defaultValue')&&this['defaultValue']!==this['$e']&&this['vs'](this['defaultValue']),(t['has']('min')||t['has']('max'))&&this['hasUpdated']&&(this['ys'](),this['yr'](this['$e'])),t['has']('zero')&&this['hasUpdated']&&this['El'](this['$e']);}['yr'](t){this['El'](t);let _0x22fffc=this['max']-this['min'];if(0x0===_0x22fffc)return;let {width:_0x55fb95}=this['getBoundingClientRect'](),_0x535cba=0x64/_0x22fffc*(t-this['min'])*(_0x55fb95-this['gs'])/0x64;window['requestAnimationFrame'](()=>{let _0x443321=this['gl']['value'];_0x443321&&(_0x443321['style']['transform']='translateX('+_0x535cba+'px)');});}['El'](t){if(!this['bi'])return;let _0x9dc82b=this['max']-this['min'];if(0x0===_0x9dc82b)return;this['bi']['style']['opacity']=t===this['zero']?'0':'1';let {width:_0x57198c}=this['getBoundingClientRect'](),_0x546201=0x64/_0x9dc82b*(this['zero']-this['min'])*(_0x57198c-this['gs'])/0x64;window['requestAnimationFrame'](()=>{this['bi']&&(this['bi']['style']['transform']='translateX('+_0x546201+'px)');});}['ys'](){let _0x287666=this['vl']['value'];if(!_0x287666)return;let {width:_0x21b8db}=_0x287666['getBoundingClientRect'](),_0x2428da=Math['ceil'](_0x21b8db/0x2),_0x2ff5eb=Math['ceil'](_0x2428da/0xf)-0x2;if(this['ml']===_0x2ff5eb)return;let _0x3e419e=document['createDocumentFragment'](),_0x4fd610=document['createElement']('div'),_0x431701=document['createElement']('div');_0x4fd610['className']='uc-minor-step',_0x431701['className']='uc-border-step',_0x3e419e['appendChild'](_0x431701);for(let _0x964a47=0x0;_0x964a47<_0x2ff5eb;_0x964a47+=0x1)_0x3e419e['appendChild'](_0x4fd610['cloneNode']());_0x3e419e['appendChild'](_0x431701['cloneNode']());for(let _0x1d2a61=0x0;_0x1d2a61<_0x2ff5eb;_0x1d2a61+=0x1)_0x3e419e['appendChild'](_0x4fd610['cloneNode']());_0x3e419e['appendChild'](_0x431701['cloneNode']());let _0x59082a=document['createElement']('div');_0x59082a['className']='uc-zero-dot',_0x3e419e['appendChild'](_0x59082a),this['bi']=_0x59082a,_0x287666['innerHTML']='',_0x287666['appendChild'](_0x3e419e),this['ml']=_0x2ff5eb;}['disconnectedCallback'](){super['disconnectedCallback']();let t=this['vr']['value'];t?.['removeEventListener']('focus',this['bl']),t?.['removeEventListener']('blur',this['wl']),this['s']?.['disconnect'](),this['s']=void 0x0;}['vs'](t){Number['isFinite'](t)&&(this['$e']=t,this['hasUpdated']&&(this['Tl'](t),this['yr'](t)));}['Tl'](t){let _0x5c9bd4=this['vr']['value'];_0x5c9bd4&&(_0x5c9bd4['value']=String(t));}['yl'](t){let _0x1bdd5b=t['currentTarget'];if(!_0x1bdd5b)return null;let _0x598ba8=Number['parseInt'](_0x1bdd5b['value'],0xa);return Number['isFinite'](_0x598ba8)?_0x598ba8:null;}['render'](){return Z1`<div class="uc-steps" ${d7(this['vl'])}></div><div class="uc-thumb" ${d7(this['gl'])}></div><input class="uc-input" type="range" ${d7(this['vr'])} .min=${String(this['min'])} .max=${String(this['max'])} .value=${String(this['$e'])} ?disabled=${this['disabled']} @input=${this['Cd']} @change=${this['Sd']} />`;}};z0([_2({'type':Boolean,'reflect':!0x0})],D8['prototype'],'disabled',0x2),z0([_2({'type':Number})],D8['prototype'],'min',0x2),z0([_2({'type':Number})],D8['prototype'],'max',0x2),z0([_2({'type':Number,'attribute':!0x1})],D8['prototype'],'defaultValue',0x2),z0([_2({'type':Number})],D8['prototype'],'zero',0x2),z0([E2()],D8['prototype'],'$e',0x2);var Q8='original',j8=class extends k4{constructor(){super(...arguments),this['state']={'operation':'filter','filter':void 0x0,'originalUrl':'','disabled':!0x1,'min':0x0,'max':0x64,'value':0x0,'defaultValue':0x0,'zero':0x0},this['bs']=t=>{let {value:_0x563b0e}=t['detail'];this['$']['*faderEl']?.['set'](_0x563b0e),this['state']={...this['state'],'value':_0x563b0e};};}['setOperation'](t,_0x3b0cd8){this['state']={...this['state'],'operation':t,'filter':_0x3b0cd8},this['Ad']();let _0x411c23=this['$']['*faderEl'],_0x518b5d=this['state']['originalUrl']||this['$']['*originalUrl'];_0x411c23&&_0x518b5d&&_0x411c23['activate']({'url':_0x518b5d,'operation':this['state']['operation'],'value':this['state']['filter']===Q8?void 0x0:this['state']['value'],'filter':this['state']['filter']===Q8?void 0x0:this['state']['filter'],'fromViewer':!0x1});}['Ad'](){let t=this['state']['operation'],{range:_0x4cb672,zero:_0x2698d3}=m5[t],[_0x44ee3d,_0x2ae0eb]=_0x4cb672;this['state']={...this['state'],'min':_0x44ee3d,'max':_0x2ae0eb,'zero':_0x2698d3};let _0x121dbb=this['$']['*editorTransformations'][t];if('filter'===t){let _0x4d12b7=Number(_0x2ae0eb),_0x33d0c6=_0x121dbb;if(_0x33d0c6){let {name:_0x5c79c3,amount:_0x58ebcb}=_0x33d0c6;_0x4d12b7=_0x5c79c3===this['state']['filter']?_0x58ebcb:_0x2ae0eb;}return void(this['state']={...this['state'],'value':_0x4d12b7,'defaultValue':_0x4d12b7});}let _0x36e79e=typeof _0x121dbb<'u'?_0x121dbb:_0x2698d3;this['state']={...this['state'],'value':_0x36e79e,'defaultValue':_0x36e79e};}['apply'](){let _0x53e203={...this['$']['*editorTransformations']};'filter'===this['state']['operation']?this['state']['filter']&&this['state']['filter']!==Q8?_0x53e203['filter']={'name':this['state']['filter'],'amount':this['state']['value']}:delete _0x53e203['filter']:_0x53e203[this['state']['operation']]=this['state']['value'],this['$']['*editorTransformations']=_0x53e203;}['cancel'](){this['$']['*faderEl']?.['deactivate']({'hide':!0x1});}['initCallback'](){super['initCallback'](),this['sub']('*originalUrl',t=>{t&&(this['state']={...this['state'],'originalUrl':t});});}['updated'](t){if(super['updated'](t),t['has']('state')){let _0xdfdc85=(this['state']['filter']??this['state']['operation'])+'\x20'+this['state']['value'];this['$']['*operationTooltip']=_0xdfdc85;}}['render'](){return Z1`<uc-slider-ui .disabled=${this['state']['disabled']} .min=${this['state']['min']} .max=${this['state']['max']} .defaultValue=${this['state']['defaultValue']} .zero=${this['state']['zero']} @slider-input=${this['bs']} ></uc-slider-ui>`;}};function U8(_0x10369b){if(!_0x10369b)return null;let _0x2f2a72=_0x10369b['match'](/^([A-Za-z]+)\s+(\d+)$/);if(!_0x2f2a72)return null;let [,t,_0x5d4d76]=_0x2f2a72;return!t||typeof _0x5d4d76>'u'?null:{'filter':t,'value':Number(_0x5d4d76)};}z0([E2()],j8['prototype'],'state',0x2);var V8=class extends k4{constructor(){super(...arguments),this['active']=!0x1,this['title']='',this['icon']='',this['titleProp']='';}get['buttonClasses'](){let t=this['active'];return{'uc-active':t,'uc-not_active':!t};}['xl'](){let t=this['buttonClasses'];for(let [_0x53318a,_0x317cee]of Object['entries'](t))this['classList']['toggle'](_0x53318a,_0x317cee);}['onClick'](t){}['connectedCallback'](){super['connectedCallback'](),this['xl']();}['updated'](t){super['updated'](t),t['has']('active')&&this['xl']();}['render'](){let t=this['onClick'],_0x54c146=this['title'];return Z1`<button role="option" type="button" aria-label=${S8(this['titleProp'])} title=${S8(this['titleProp'])} @click=${t} ><uc-icon name=${this['icon']}></uc-icon><div class="uc-title" ?hidden=${!_0x54c146}>${_0x54c146}</div></button>`;}};z0([E2()],V8['prototype'],'active',0x2),z0([E2()],V8['prototype'],'title',0x2),z0([E2()],V8['prototype'],'icon',0x2),z0([E2()],V8['prototype'],'titleProp',0x2);var B8=class extends V8{['initCallback'](){super['initCallback'](),this['icon']='arrow-dropdown',this['sub']('*currentAspectRatio',_0xdd7acc=>{let t=this['kd'](_0xdd7acc);this['title']=t,this['titleProp']=t;});}['onClick'](){this['$']['*showListAspectRatio']=!0x0;}['kd'](_0x514bfd){return _0x514bfd?_0x514bfd['hasFreeform']?this['l10n']('freeform-crop'):this['l10n']('crop-to-shape',{'value':_0x514bfd['width']+':'+_0x514bfd['height']}):'';}['render'](){let _0x38ab9d=this['onClick'],t=this['title'];return Z1`<button role="option" type="button" class=${A8(this['buttonClasses'])} aria-label=${S8(this['titleProp'])} title=${S8(this['titleProp'])} @click=${_0x38ab9d} ><div class="uc-title" ?hidden=${!t}>${t}</div><uc-icon name=${this['icon']}></uc-icon></button>`;}},F8=class extends V8{constructor(){super(...arguments),this['X']=null;}get['aspectRatio'](){return this['X'];}set['aspectRatio'](t){if(this['X']===t)return;let _0x8cb032=this['X'];this['X']=t,this['requestUpdate']('aspectRatio',_0x8cb032),t?this['Cl'](t):(this['removeAttribute']('uc-aspect-ratio-freeform'),this['title']='',this['titleProp']='');}['initCallback'](){super['initCallback'](),this['X']&&this['Cl'](this['X']),this['sub']('*currentAspectRatio',t=>{this['active']=t&&t['id']===this['X']?.['id']||t?.['width']===this['X']?.['width']&&t?.['height']===this['X']?.['height'];});}['onClick'](){this['$']['*currentAspectRatio']?.['id']!==this['X']?.['id']&&(this['$']['*currentAspectRatio']=this['X']);}['Cl'](t){if(!this['isConnected'])return;let _0x1cf281=!!t['hasFreeform'];this['toggleAttribute']('uc-aspect-ratio-freeform',_0x1cf281),(((()=>{let _0x11aefe=_0x1cf281?this['l10n']('custom'):t['width']+':'+t['height'];this['title']=_0x11aefe;})()),((()=>{let _0x39b242=this['l10n']('a11y-cloud-editor-apply-aspect-ratio',{'name':_0x1cf281?this['l10n']('custom')['toLowerCase']():this['l10n']('crop-to-shape',{'value':t['width']+':'+t['height']})['toLowerCase'](),'value':''});this['titleProp']=_0x39b242;})()),_0x1cf281||this['requestUpdate']());}['Md'](){let t=this['X'];if(!t||t['hasFreeform'])return Z1`<uc-icon name=${this['icon']}></uc-icon>`;let {width:_0x1c90f9,height:_0x1cd931}=(_0x20c96f=>{let _0x4ac1ea=0xc,t=0xc;return _0x20c96f['width']/_0x20c96f['height']>=0x1?(_0x4ac1ea=0xc,t=Math['round'](0xc*_0x20c96f['height']/_0x20c96f['width'])):(t=0xc,_0x4ac1ea=Math['round'](0xc*_0x20c96f['width']/_0x20c96f['height'])),{'width':_0x4ac1ea,'height':t};})(t);return Z1`<uc-icon><svg viewBox="0 0 ${0x10} ${0x10}" aria-hidden="true" focusable="false" ><rect x=${(0x10-_0x1c90f9)/0x2} y=${(0x10-_0x1cd931)/0x2} width=${_0x1c90f9} height=${_0x1cd931} rx="2" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linejoin="round" ></rect></svg></uc-icon>`;}['render'](){let t=this['onClick'],_0x18a638=this['title'];return Z1`<button role="option" type="button" class=${A8(this['buttonClasses'])} aria-label=${S8(this['titleProp'])} title=${S8(this['titleProp'])} @click=${t} >${this['Md']()}<div class="uc-title" ?hidden=${!_0x18a638}>${_0x18a638}</div></button>`;}};z0([_2({'attribute':!0x1})],F8['prototype'],'aspectRatio',0x1);var H8=class extends V8{constructor(){super(...arguments),this['operation']=void 0x0;}['willUpdate'](t){super['willUpdate'](t),this['operation']?(this['titleProp']=this['l10n']('a11y-cloud-editor-apply-crop',{'name':this['l10n'](this['operation'])['toLowerCase']()}),this['icon']=this['operation']):(this['icon']='',this['titleProp']='');}['onClick'](t){if(!this['operation'])return;let _0x575bd5=this['$']['*cropperEl'],_0x5d946a=_0x575bd5['getValue'](this['operation']),_0x369032=function(_0x5bb031,_0x43456a){if('rotate'===_0x5bb031)return function(_0x25e15d){let _0x403610=_0x25e15d+0x5a;return _0x403610=_0x403610>=0x168?0x0:_0x403610,_0x403610;}('number'==typeof _0x43456a?_0x43456a:0x0);if('mirror'===_0x5bb031||'flip'===_0x5bb031)return!_0x43456a;throw new Error('Unsupported\x20operation:\x20'+_0x5bb031);}(this['operation'],_0x5d946a);this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'operation':this['operation'],'next':_0x369032,'prev':_0x5d946a}),_0x575bd5['setValue'](this['operation'],_0x369032);}};z0([_2({'type':String})],H8['prototype'],'operation',0x2);var Z8=class extends V8{constructor(){super(...arguments),this['n']='',this['m']='',this['wi']='',this['br']=0x0,this['a']=null,this['Nt']=!0x1,this['isOriginal']=!0x1,this['Sl']=0x14;}get['filter'](){return this['m'];}set['filter'](t){let _0x24eace=t??'';if(this['m']===_0x24eace)return;let _0x57758d=this['m'];this['m']=_0x24eace,this['n']='filter',this['isOriginal']=_0x24eace===Q8,this['icon']=this['isOriginal']?'original':'slider',this['Sl']=this['isOriginal']?0x28:0x14,this['requestUpdate']('filter',_0x57758d),this['isConnected']&&this['Al'](_0x24eace);}['onClick'](t){if(this['active'])this['isOriginal']||(this['$']['*sliderEl']['setOperation'](this['n'],this['m']),this['$']['*showSlider']=!0x0);else{let _0x368781=this['$']['*sliderEl'];_0x368781['setOperation'](this['n'],this['m']),_0x368781['apply']();}this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'operation':U8(this['$']['*operationTooltip'])}),this['$']['*currentFilter']=this['m'];}['Od'](){let t=parseInt(window['getComputedStyle'](this)['getPropertyValue']('--l-base-min-width'),0xa),_0x3ae2bf=Number['isFinite'](t)&&t>0x0?t:this['Sl']||0x20,_0x47eece=window['devicePixelRatio'],_0x497863=Math['ceil'](_0x47eece*_0x3ae2bf),_0x14921f=_0x47eece>=0x2?'lightest':'normal',_0x522b8d={...this['$']['*editorTransformations']};return _0x522b8d[this['n']]=this['m']!==Q8?{'name':this['m'],'amount':0x64}:void 0x0,Y2(this['wi'],F2(s5,i5(_0x522b8d),'quality/'+_0x14921f,'scale_crop/'+_0x497863+'x'+_0x497863+'/center','@clib/'+g4+'/'+O4+'/uc-cloud-image-editor/'));}async['ai'](t,_0x16d762){t[0x0]?.['isIntersecting']?await this['Ts'](_0x16d762):this['b']?.();}['initCallback'](){super['initCallback'](),this['s']=new window['IntersectionObserver'](this['ai']['bind'](this),{'threshold':[0x0,0x1]});let t=this['$']['*originalUrl'];this['wi']=t??'',this['sub']('*originalUrl',_0x33f662=>{this['wi']=_0x33f662??'',!this['isOriginal']&&this['wi']&&this['isConnected']&&!this['a']&&(this['s']?.['observe'](this),this['et']());}),this['isOriginal']||(this['s']?.['observe'](this),this['et']()),this['m']&&this['Al'](this['m']),this['sub']('*currentFilter',_0x234068=>{this['active']=!(!_0x234068||_0x234068!==this['m']);}),this['sub']('*networkProblems',async _0x25d6d9=>{_0x25d6d9||(this['a']?await this['Ts']():this['et']());});}['disconnectedCallback'](){super['disconnectedCallback'](),this['s']?.['disconnect'](),this['b']?.(),this['wr']();}['updated'](t){super['updated'](t),t['has']('isOriginal')&&(this['isOriginal']?this['s']?.['unobserve'](this):(this['s']?.['observe'](this),this['et']()));}['Al'](t){if(!t)return void(this['titleProp']='');let _0x135edd=this['l10n']('a11y-cloud-editor-apply-filter',{'name':t['toLowerCase']()});this['titleProp']=_0x135edd;}async['Ts'](t){if(!this['isConnected'])return t?.['unobserve'](this),this['b']?.(),void(this['b']=void 0x0);if(!this['wi'])return void(!this['Ft']&&!this['De']&&this['et']());let _0x30da59=++this['br'],_0x3119c8='';try{_0x3119c8=await this['proxyUrl'](this['Od']());}catch(_0x34db5c){return this['$']['*networkProblems']=!0x0,void console['error']('Failed\x20to\x20resolve\x20preview\x20URL',{'error':_0x34db5c});}this['Nt']=!0x1,this['b']?.();let {promise:_0x55481d,cancel:_0x24d7cd}=T7(_0x3119c8);this['b']=()=>{_0x24d7cd(),this['br']===_0x30da59&&(this['b']=void 0x0);};try{if(await _0x55481d,this['br']!==_0x30da59||!this['isConnected'])return;this['a']=_0x3119c8,this['Nt']=!0x0,this['wr'](),(t??this['s'])?.['unobserve'](this);}catch(_0x138de0){this['$']['*networkProblems']=!0x0,console['error']('Failed\x20to\x20load\x20image',{'error':_0x138de0}),this['et']();}finally{this['br']===_0x30da59&&(this['b']=void 0x0);}}['et'](){!this['isConnected']||this['a']||this['Nt']||this['isOriginal']||this['$']['*networkProblems']?this['wr']():(this['De']&&cancelAnimationFrame(this['De']),this['De']=requestAnimationFrame(()=>{if(this['De']=void 0x0,!this['isConnected']||this['a']||this['Nt']||this['isOriginal'])return void this['wr']();let t=this['getBoundingClientRect'](),_0x46a54c=t['width']>0x0&&t['height']>0x0,_0x2e2070=window['innerWidth']||document['documentElement']['clientWidth'],_0x3068fa=window['innerHeight']||document['documentElement']['clientHeight'];_0x46a54c&&t['bottom']>0x0&&t['right']>0x0&&t['top']<_0x3068fa&&t['left']<_0x2e2070?this['Ts']():this['Ft']=window['setTimeout'](()=>{this['Ft']=void 0x0,this['et']();},0x1f4);}));}['wr'](){this['De']&&(cancelAnimationFrame(this['De']),this['De']=void 0x0),this['Ft']&&(window['clearTimeout'](this['Ft']),this['Ft']=void 0x0);}get['Id'](){return!(!this['Nt']||this['active']||this['isOriginal']);}['render'](){let t=this['onClick'],_0xaf1718={'opacity':this['Id']?'1':'0'};this['a']&&(_0xaf1718['backgroundImage']='url('+this['a']+')');let _0xbac08f={'opacity':this['active']||this['isOriginal']?'1':'0'};return Z1`<button role="option" type="button" class=${A8(this['buttonClasses'])} aria-label=${S8(this['titleProp'])} title=${S8(this['titleProp'])} @click=${t} ><div class="uc-preview" ?data-loaded=${this['Nt']} style=${$8(_0xaf1718)}></div><uc-icon class=${A8({'uc-original-icon':this['isOriginal']})} name=${this['icon']} style=${$8(_0xbac08f)} ></uc-icon></button>`;}};z0([E2()],Z8['prototype'],'a',0x2),z0([E2()],Z8['prototype'],'Nt',0x2),z0([E2()],Z8['prototype'],'isOriginal',0x2),z0([E2()],Z8['prototype'],'Sl',0x2),z0([_2({'type':String})],Z8['prototype'],'filter',0x1);var G8=class extends V8{constructor(){super(...arguments),this['n']='';}get['operation'](){return this['n'];}set['operation'](t){let _0x343bdc=t??'';if(this['n']===_0x343bdc)return;let _0x458f1d=this['n'];this['n']=_0x343bdc,this['requestUpdate']('operation',_0x458f1d),this['isConnected']&&_0x343bdc&&this['kl'](_0x343bdc);}['kl'](t){this['icon']=t,(((()=>{let _0x4fe13e=this['l10n']('a11y-cloud-editor-apply-tuning',{'name':this['l10n'](t)['toLowerCase']()});this['titleProp']=_0x4fe13e;})()),((()=>{let _0xdaa631=this['l10n'](t);this['title']=_0xdaa631;})()));}['initCallback'](){super['initCallback'](),this['n']&&this['kl'](this['n']),this['sub']('*editorTransformations',t=>{if(!this['n'])return;let {zero:_0x45a879}=m5[this['n']],_0x5bdb66=t[this['n']],_0x311425=typeof _0x5bdb66<'u'&&_0x5bdb66!==_0x45a879;this['active']=_0x311425;});}['onClick'](t){this['$']['*sliderEl']?.['setOperation'](this['n']),this['$']['*showSlider']=!0x0,this['$']['*currentOperation']=this['n'],this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'operation':U8(this['$']['*operationTooltip'])});}};z0([_2({'type':String})],G8['prototype'],'operation',0x1);var X8=()=>{},q8=class extends k4{constructor(){super(...arguments),this['hiddenScrollbar']=!0x1,this['Ml']=t=>{t['preventDefault']();let {deltaY:_0x14fd16,deltaX:_0x275295}=t;Math['abs'](_0x275295)>0x1?this['scrollLeft']+=_0x275295:this['scrollLeft']+=_0x14fd16;};}['connectedCallback'](){super['connectedCallback'](),this['addEventListener']('wheel',this['Ml'],{'passive':!0x1}),this['addEventListener']('scroll',X8,{'passive':!0x0});}['disconnectedCallback'](){this['removeEventListener']('wheel',this['Ml']),this['removeEventListener']('scroll',X8),super['disconnectedCallback']();}};z0([_2({'type':Boolean,'noAccessor':!0x0,'attribute':'hidden-scrollbar'})],q8['prototype'],'hiddenScrollbar',0x2);var W8=class extends k4{constructor(){super(...arguments),this['Ti']=!0x1,this['showMainToolbar']=!0x0,this['showSubToolbar']=!0x1,this['Ol']=!0x0,this['tabList']=[...l5],this['activeTab']=c5['CROP'],this['Tr']=!0x0,this['Es']=!0x1,this['Il']=null,this['Pl']=0x0,this['Ll']=0x0,this['Er']=l7(),this['Rl']=l7(),this['tabToggleRefs']={[c5['CROP']]:l7(),[c5['TUNING']]:l7(),[c5['FILTERS']]:l7()},this['Ul']=()=>{this['tt']();},this['Ei']=[],this['xr']=T2(t=>{this['Ti']=t;},0x1f4),this['Cr']=T2(()=>{let t=this['$']['*editorTransformations'],_0x147849=this['$']['*currentOperation'],_0xf570a9='',_0x518f0a=!0x1;if(this['$']['*tabId']===c5['FILTERS']){if(_0x518f0a=!0x0,this['$']['*currentFilter']&&t?.['filter']?.['name']===this['$']['*currentFilter']){let _0x2a9dd5=t?.['filter']?.['amount']||0x64;_0xf570a9=this['$']['*currentFilter']+'\x20'+_0x2a9dd5;}else _0xf570a9=this['l10n'](Q8);}else{if(this['showSubToolbar']&&this['$']['*tabId']===c5['TUNING']&&_0x147849){_0x518f0a=!0x0;let _0x48956c=t?.[_0x147849]||m5[_0x147849]['zero'];_0xf570a9=this['l10n'](_0x147849)+'\x20'+_0x48956c;}}_0x518f0a&&(this['$']['*operationTooltip']=_0xf570a9),this['Es']=_0x518f0a;},0x0),this['Pd']={'hidden':'uc-sub-toolbar--top-hidden','visible':'uc-sub-toolbar--visible'},this['Ld']={'hidden':'uc-sub-toolbar--bottom-hidden','visible':'uc-sub-toolbar--visible'},this['Rd']={'hidden':'uc-tab-toggle--hidden','visible':'uc-tab-toggle--visible'},this['Ud']={'hidden':'uc-tab-toggles--hidden','visible':'uc-tab-toggles--visible'},this['init$']={...this['init$'],'*sliderEl':null,'*showSlider':!0x1,'*showListAspectRatio':!0x1,'*currentFilter':Q8,'*currentOperation':null,'*operationTooltip':null},this['Ee']=t=>{this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'action':'cancel'}),this['b']?.();let _0x4eddd8=this['$']['*on.cancel'];_0x4eddd8?.();},this['As']=t=>{this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'action':'apply'});let _0x289d4d=this['$']['*on.apply'];_0x289d4d?.(this['$']['*editorTransformations']);},this['jd']=t=>{this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'action':'apply-slider','operation':U8(this['$']['*operationTooltip'])}),this['Er']['value']?.['apply'](),this['$l']();},this['Gd']=t=>{this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'action':'cancel-slider'}),this['Er']['value']?.['cancel'](),this['$l']();},this['qd']=t=>{let _0x3637be=t['currentTarget']?.['getAttribute']('data-id');_0x3637be&&(this['telemetryManager']['sendEventCloudImageEditor'](t,_0x3637be),this['xs'](_0x3637be,{'fromViewer':!0x1}));};}['$l'](){this['$']['*showSlider']=!0x1,this['$']['*tabId']===c5['CROP']&&(this['$']['*showListAspectRatio']=!0x1),this['$']['*tabId']===c5['TUNING']&&(this['Es']=!0x1);}['xs'](t,{fromViewer:_0xaf29fc=!0x1,force:_0x1f71aa=!0x1}={}){this['$']['*tabId']!==t&&(this['$']['*tabId']=t),this['Dl'](t,{'fromViewer':_0xaf29fc,'force':_0x1f71aa});}['Dl'](t,{fromViewer:_0x4be893,force:_0x4adc89=!0x1}){if(!_0x4adc89&&this['activeTab']===t)return void this['tt']();this['activeTab']=t;let _0x312cbd=this['$']['*faderEl'],_0x168082=this['$']['*cropperEl'];t===c5['CROP']?(_0x312cbd?.['deactivate'](),this['$']['*imageSize']&&_0x168082?.['activate'](this['$']['*imageSize'],{'fromViewer':_0x4be893})):(_0x312cbd?.['activate']({'url':this['$']['*originalUrl'],'fromViewer':_0x4be893}),_0x168082?.['deactivate']());for(let _0x401b81 of l5){let _0x527170=_0x401b81===t,_0x4a5500=this['tabToggleRefs'][_0x401b81]?.['value'];_0x4a5500&&(_0x4a5500['active']=_0x527170),_0x527170&&this['tt']();}}['tt'](){let _0x77401d=this['tabToggleRefs'][this['activeTab']]?.['value'],_0x2e9cbe=this['Rl']['value'];if(!_0x77401d||!_0x2e9cbe)return;let _0x298ca5=_0x77401d['offsetLeft'],_0x9958a9=_0x77401d['offsetWidth']||Number(getComputedStyle(_0x77401d)['width']['replace']('px',''));(this['Pl']!==_0x298ca5||this['Ll']!==_0x9958a9)&&(this['Pl']=_0x298ca5,this['Ll']=_0x9958a9,_0x2e9cbe['style']['transform']='translateX('+_0x298ca5+'px)',_0x2e9cbe['style']['width']=_0x9958a9+'px');}get['Cs'](){return this['Ei']['length']>=0x3;}['$d'](t){switch(t){case c5['CROP']:return this['Dd']();case c5['FILTERS']:return this['Fd']();case c5['TUNING']:return this['Nd']();default:return[];}}['Dd'](){let t=[];if(this['Cs'])t['push'](()=>this['Vd']());else{for(let _0x4b173e of this['Ei'])t['push'](()=>this['Fl'](_0x4b173e));}for(let _0xc4573c of d5)t['push'](()=>this['_d'](_0xc4573c));return this['Ss'](t);}['Fd'](){let _0x40d291=[Q8,...u5]['map'](_0x2ce3b6=>()=>this['Bd'](_0x2ce3b6));return this['Ss'](_0x40d291);}['Nd'](){let t=h5['map'](_0x3ced67=>()=>this['zd'](_0x3ced67));return this['Ss'](t);}['Ss'](t){return t['length']?t['map'](_0x242892=>_0x242892()):[];}['Vd'](){return Z1`<uc-editor-freeform-button-control></uc-editor-freeform-button-control>`;}['Fl'](t){return Z1`<uc-editor-aspect-ratio-button-control .aspectRatio=${t}></uc-editor-aspect-ratio-button-control>`;}['_d'](t){return Z1`<uc-editor-crop-button-control .operation=${t}></uc-editor-crop-button-control>`;}['Bd'](t){return Z1`<uc-editor-filter-control .filter=${t}></uc-editor-filter-control>`;}['zd'](t){return Z1`<uc-editor-operation-control .operation=${t}></uc-editor-operation-control>`;}['Hd'](){return this['Cs']?this['Ei']['map'](t=>this['Fl'](t)):[];}async['Kd'](){if(this['$']['*imgContainerEl']&&this['$']['*originalUrl']){let t=this['$']['*imgContainerEl']['offsetWidth'],_0x596e3a=await this['proxyUrl'](k8(this['$']['*originalUrl'],t,this['$']['*editorTransformations']));this['b']?.();let {cancel:_0x215ecc}=A7([_0x596e3a]);this['b']=()=>{_0x215ecc(),this['b']=void 0x0;};}}['initCallback'](){super['initCallback']();let t=this['$']['*cropPresetList']??[];this['Ei']=[...t],this['sub']('*cropPresetList',_0x2bb69e=>{this['Ei']=[..._0x2bb69e??[]];}),this['sub']('*imageSize',_0x1c58d7=>{_0x1c58d7&&setTimeout(()=>{this['xs'](this['$']['*tabId'],{'fromViewer':!0x0});},0x0);}),this['sub']('*editorTransformations',_0xc4d3b1=>{let _0x529b0c=_0xc4d3b1?.['filter']?.['name'];this['$']['*currentFilter']!==_0x529b0c&&(this['$']['*currentFilter']=_0x529b0c??'');}),this['sub']('*currentFilter',()=>{this['Cr']();}),this['sub']('*currentOperation',()=>{this['Cr']();}),this['sub']('*tabId',_0x36c05b=>{this['Dl'](_0x36c05b,{'fromViewer':!0x1,'force':!0x0}),this['Cr']();}),this['sub']('*originalUrl',()=>{this['$']['*faderEl']?.['deactivate']();}),this['sub']('*editorTransformations',_0x1b2ba5=>{this['Kd'](),this['$']['*faderEl']?.['setTransformations'](_0x1b2ba5);}),this['sub']('*loadingOperations',_0x31716b=>{let _0xc3709c=!0x1;for(let [,_0x5837c2]of _0x31716b['entries']()){if(_0xc3709c)break;for(let [,_0x724213]of _0x5837c2['entries']())if(_0x724213){_0xc3709c=!0x0;break;}}this['xr'](_0xc3709c);}),this['sub']('*showSlider',_0x4f8226=>{_0x4f8226?(this['showSubToolbar']=!0x0,this['showMainToolbar']=!0x1,this['Tr']=!0x0):this['$']['*showListAspectRatio']||(this['showSubToolbar']=!0x1,this['showMainToolbar']=!0x0);}),this['sub']('*showListAspectRatio',_0x3bbde0=>{_0x3bbde0?(this['showSubToolbar']=!0x0,this['showMainToolbar']=!0x1,this['Tr']=!0x1):this['$']['*showSlider']||(this['showSubToolbar']=!0x1,this['showMainToolbar']=!0x0);}),this['sub']('*tabList',_0x1495d8=>{if(this['tabList']=_0x1495d8,this['Ol']=_0x1495d8['length']>0x1,!_0x1495d8['includes'](this['$']['*tabId'])&&_0x1495d8['length']>0x0){let [_0x4e944e]=_0x1495d8;return void(_0x4e944e&&this['xs'](_0x4e944e,{'fromViewer':!0x1}));}this['tt']();}),this['sub']('*operationTooltip',_0x1cb09b=>{this['Il']=_0x1cb09b;}),this['Cr']();}['connectedCallback'](){super['connectedCallback'](),window['addEventListener']('resize',this['Ul']);}['firstUpdated'](t){super['firstUpdated'](t),this['Sr'](),this['tt']();}['updated'](t){super['updated'](t),(t['has']('activeTab')||t['has']('tabList'))&&this['updateComplete']['then'](()=>this['tt']()),(t['has']('showSubToolbar')||t['has']('showMainToolbar'))&&this['Sr']();}['disconnectedCallback'](){window['removeEventListener']('resize',this['Ul']),super['disconnectedCallback'](),this['$']['*showSlider']=!0x1,this['$']['*showListAspectRatio']=!0x1;}['Sr'](){let t=this['Er']['value'];t&&(this['$']['*sliderEl']=t);}['Wd'](t){let _0x344626=this['tabList']['includes'](t),_0x3bb8ad=this['activeTab']===t,_0x462e01=this['tabList']['indexOf'](t),_0x29f4c7=_0x462e01>=0x0?$8({'gridColumn':''+(_0x462e01+0x1)}):X1;return Z1`<uc-presence-toggle class="uc-tab-toggle" .visible=${_0x344626} .styles=${this['Rd']}><uc-btn-ui theme="tab" data-id=${t} icon=${t} role="tab" aria-controls=${'tab_'+t} aria-selected=${_0x3bb8ad?'true':'false'} title-prop=${'a11y-editor-tab-'+t} .active=${_0x3bb8ad} style=${_0x29f4c7} @click=${this['qd']} ${d7(this['tabToggleRefs'][t])} ></uc-btn-ui></uc-presence-toggle>`;}['Zd'](t){let _0x87fe58=this['$d'](t);return Z1`<div id=${'tab_'+t} class="uc-tab-content" ><uc-editor-scroller hidden-scrollbar><div class="uc-controls-list_align"><div role="listbox" aria-orientation="horizontal" class="uc-controls-list_inner">${_0x87fe58['length']?_0x87fe58:X1}</div></div></uc-editor-scroller></div>`;}['render'](){let t=['uc-info-tooltip',this['Es']?'uc-info-tooltip_visible':'uc-info-tooltip_hidden']['join']('\x20'),_0x5d540a=this['Cs'];return Z1`<uc-line-loader-ui .active=${this['Ti']}></uc-line-loader-ui><div class="uc-info-tooltip_container"><div class="uc-info-tooltip_wrapper"><div class=${t}>${this['Il']??''}</div></div></div><div class="uc-toolbar-container"><uc-presence-toggle role="tablist" class="uc-sub-toolbar" .visible=${this['showMainToolbar']} .styles=${this['Pd']} ><div class="uc-tab-content-row">${l5['map'](_0x203519=>O8(this['activeTab']===_0x203519,()=>this['Zd'](_0x203519)))}</div><div class="uc-controls-row"><uc-presence-toggle class="uc-tab-toggles" .visible=${this['Ol']} .styles=${this['Ud']} @initial-render=${()=>this['tt']()} ><div class="uc-tab-toggles_indicator" ${d7(this['Rl'])} ></div>${l5['map'](_0x3b6c62=>this['Wd'](_0x3b6c62))}</uc-presence-toggle><uc-btn-ui style="order: -1" theme="secondary-icon" icon="closeMax" title-prop="cancel" @click=${this['Ee']} ></uc-btn-ui><uc-btn-ui theme="primary-icon" icon="done" title-prop="apply" @click=${this['As']}></uc-btn-ui></div></uc-presence-toggle><uc-presence-toggle class="uc-sub-toolbar" .visible=${this['showSubToolbar']} .styles=${this['Ld']}><div class="uc-slider" ?hidden=${!this['Tr']}><uc-editor-slider ${d7(this['Er'])}></uc-editor-slider></div><div class="uc-list-aspect-ratio-container" ?hidden=${this['Tr']||!_0x5d540a}>${_0x5d540a?Z1`<div class="uc-list-aspect-ratio">${this['Hd']()}</div>`:X1}</div><div class="uc-controls-row"><uc-btn-ui theme="secondary" @click=${this['Gd']} text=${this['l10n']('cancel')}></uc-btn-ui><uc-btn-ui theme="primary" @click=${this['jd']} text=${this['l10n']('apply')}></uc-btn-ui></div></uc-presence-toggle></div>`;}};z0([E2()],W8['prototype'],'Ti',0x2),z0([E2()],W8['prototype'],'showMainToolbar',0x2),z0([E2()],W8['prototype'],'showSubToolbar',0x2),z0([E2()],W8['prototype'],'Ol',0x2),z0([E2()],W8['prototype'],'tabList',0x2),z0([E2()],W8['prototype'],'activeTab',0x2),z0([E2()],W8['prototype'],'Tr',0x2),z0([E2()],W8['prototype'],'Es',0x2),z0([E2()],W8['prototype'],'Il',0x2),z0([E2()],W8['prototype'],'Ei',0x2);var z8=U2([...l5]),Y8=class extends k4{constructor(){super(...arguments),this['ctxOwner']=!0x0,this['Yd']='',this['Je']=E7,this['Xd']='',this['Ti']=!0x1,this['uuid']=null,this['cdnUrl']=null,this['cropPreset']='',this['tabs']=z8,this['Nl']=!0x1,this['ke']=!0x1,this['ks']=null,this['xi']=null,this['xr']=T2(t=>{this['Ti']=t;},0x12c),this['Ar']=l7(),this['Vl']=l7(),this['_l']=l7(),this['Bl']=l7(),this['zl']=()=>{this['xr'](!0x1),this['Je']!==E7&&(this['$']['*networkProblems']=!0x1);},this['Hl']=()=>{this['xr'](!0x1),this['$']['*networkProblems']=!0x0;},this['Qd']=()=>{let t=this['$']['*on.retryNetwork'];t?.();},this['init$']={...this['init$'],...v8(this)};}static{this['styleAttrs']=['uc-cloud-image-editor'];}['Jd'](){this['ke']||this['ks']||(this['ks']=this['updateComplete']['then'](()=>{this['ks']=null,this['ke']=!0x0;}));}['initCallback'](){super['initCallback'](),this['Kl'](),this['jl']();}['Sr'](){let t=this['_l']['value'];t&&(this['$']['*faderEl']=t);let _0x515b26=this['Vl']['value'];_0x515b26&&(this['$']['*cropperEl']=_0x515b26);let _0x33e0b3=this['Bl']['value'];_0x33e0b3&&(this['$']['*imgContainerEl']=_0x33e0b3);let _0x50db4e=this['Ar']['value'];_0x50db4e&&(this['$']['*imgEl']=_0x50db4e);}['ep'](){let t=this['Ar']['value'];t&&(t['addEventListener']('load',this['zl']),t['addEventListener']('error',this['Hl']));}['tp'](){let t=this['Ar']['value'];t&&(t['removeEventListener']('load',this['zl']),t['removeEventListener']('error',this['Hl']));}get['ip'](){let t=this['$']['*tabId'];return b8('uc-image',{'uc-image_hidden_to_cropper':t===c5['CROP'],'uc-image_hidden_effects':t!==c5['CROP']});}['Gl'](){if(this['xi'])return this['xi'];return this['xi']=new Promise((_0x429463,_0x3ecdf2)=>{let _0x1f865c=()=>{window['clearTimeout'](_0x4be56c),_0x2508ed['disconnect'](),this['xi']=null;},_0x3e7dcb=()=>{_0x1f865c(),window['setTimeout'](()=>_0x429463(),0x0);},_0x37f068=()=>{let _0x5b1d35=new Error('[cloud-image-editor]\x20timeout\x20waiting\x20for\x20non-zero\x20container\x20size');_0x1f865c(),this['isConnected']&&console['error'](_0x5b1d35['message']),_0x3ecdf2(_0x5b1d35);},_0x2508ed=new ResizeObserver(_0x1f3e9e=>{let [_0x36574d]=_0x1f3e9e;_0x36574d&&_0x36574d['contentRect']['width']>0x0&&_0x36574d['contentRect']['height']>0x0&&_0x3e7dcb();}),_0x4be56c=window['setTimeout'](()=>{_0x37f068();},0xbb8);((()=>{let {width:_0x2b4eea,height:_0x1d3bdc}=this['getBoundingClientRect']();return _0x2b4eea>0x0&&_0x1d3bdc>0x0;})())?_0x3e7dcb():_0x2508ed['observe'](this);}),this['xi'];}['firstUpdated'](t){super['firstUpdated'](t),this['Sr'](),this['ep'](),this['initEditor']();let _0x123997=!(!this['uuid']&&!this['cdnUrl']),_0x15c502=t['has']('uuid')||t['has']('cdnUrl');_0x123997&&!_0x15c502&&this['updateImage']();}['disconnectedCallback'](){this['tp'](),super['disconnectedCallback']();}['render'](){let t=this['Xd']??'',_0x5efa50=this['Yd']??'',_0x521f57=this['Je']||E7,_0x3279d3=this['Ti'],_0x68f0a6=this['Nl'];return Z1` ${L4('<svg\x20width=\x270\x27\x20height=\x270\x27\x20style=\x27position:absolute\x27><symbol\x20fill=\x27none\x27\x20viewBox=\x270\x200\x209\x206\x27\x20id=\x27uc-icon-arrow-dropdown\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke=\x27currentColor\x27\x20d=\x27m1.5\x201.667\x203\x202.666\x203-2.666\x27\x20opacity=\x27.5\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-aspect-ratio\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27/><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-brightness\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M15\x2010a5\x205\x200\x200\x201-5\x205m5-5a5\x205\x200\x200\x200-5-5m5\x205h-5m0\x205a5\x205\x200\x200\x201\x200-10m0\x2010V5m0\x2015v-3M2.93\x202.929\x205.05\x205.05M0\x2010h3m-.07\x207.071\x202.12-2.121M10\x200v3m7.07\x2014.071-2.12-2.121M20\x2010h-3m.07-7.071L14.95\x205.05m-.626\x202.45H10m4.324\x205H10\x27/></symbol><symbol\x20fill=\x27currentColor\x27\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-closeMax\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill-rule=\x27evenodd\x27\x20d=\x27M8.232\x2010\x203.585\x205.353l1.768-1.768L10\x208.232l4.648-4.647\x201.767\x201.768L11.768\x2010l4.647\x204.648-1.767\x201.767L10\x2011.768l-4.647\x204.647-1.768-1.767L8.232\x2010Z\x27\x20clip-rule=\x27evenodd\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-contrast\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M2\x2010a8\x208\x200\x201\x200\x2016\x200\x208\x208\x200\x201\x200-16\x200m8-8v16m8-8h-8m7.598\x202.5H10m6.24\x202.5H10m7.6-7.5H10M16.242\x205H10\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-crop\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M20\x2014H7.005C6.45\x2014\x206\x2013.55\x206\x2012.995V0M0\x206h13.067c.515\x200\x20.933.418.933.933V20M14.5.4\x2013\x202l1.5\x201.6M13\x202h2a3\x203\x200\x200\x201\x203\x203v2M5.5\x2019.6\x207\x2018l-1.5-1.6M7\x2018H5a3\x203\x200\x200\x201-3-3v-2\x27/></symbol><symbol\x20fill=\x27currentColor\x27\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-done\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill-rule=\x27evenodd\x27\x20d=\x27m18.057\x206.333-9.365\x209.125a1.25\x201.25\x200\x200\x201-1.768-.023L1.92\x2010.296l1.791-1.744\x204.132\x204.243\x208.47-8.253\x201.744\x201.79Z\x27\x20clip-rule=\x27evenodd\x27/></symbol><symbol\x20fill=\x27currentColor\x27\x20viewBox=\x270\x200\x2025\x2024\x27\x20id=\x27uc-icon-edit-file\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill-rule=\x27evenodd\x27\x20d=\x27M18.558\x202.804a.78.78\x200\x200\x200-.557.235l-.008.007-2.472\x202.46\x203.847\x203.848\x202.46-2.473.004-.003a.78.78\x200\x200\x200\x200-1.108l-.004-.003-2.712-2.728a.78.78\x200\x200\x200-.558-.235Zm-.248\x207.613-3.852-3.852-8.93\x208.887-1.516\x205.41\x205.41-1.515\x208.888-8.93Zm-.636-8.934a2.28\x202.28\x200\x200\x201\x202.512.505l2.702\x202.717.002.002a2.278\x202.278\x200\x200\x201\x200\x203.234l-.002.002-12.541\x2012.602a.75.75\x200\x200\x201-.33.193l-6.884\x201.928a.75.75\x200\x200\x201-.925-.924l1.928-6.885a.75.75\x200\x200\x201\x20.193-.33l12.603-12.54a2.28\x202.28\x200\x200\x201\x20.742-.504Z\x27\x20clip-rule=\x27evenodd\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-enhance\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M19\x2013h-2m0\x200a4\x204\x200\x200\x201-4-4m4\x204a4\x204\x200\x200\x200-4\x204m0-8V7m0\x202a4\x204\x200\x200\x201-4\x204m-2\x200h2m0\x200a4\x204\x200\x200\x201\x204\x204m0\x200v2M8\x208.5H6.5m0\x200a2\x202\x200\x200\x201-2-2m2\x202a2\x202\x200\x200\x200-2\x202m0-4V5m0\x201.5a2\x202\x200\x200\x201-2\x202M1\x208.5h1.5m0\x200a2\x202\x200\x200\x201\x202\x202m0\x200V12M12\x203h-1m0\x200a1\x201\x200\x200\x201-1-1m1\x201a1\x201\x200\x200\x200-1\x201m0-2V1m0\x201a1\x201\x200\x200\x201-1\x201M8\x203h1m0\x200a1\x201\x200\x200\x201\x201\x201m0\x200v1\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-exposure\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M10\x2020v-3M2.93\x202.929\x205.05\x205.05M0\x2010h3m-.07\x207.071\x202.12-2.121M10\x200v3m7.07\x2014.071-2.12-2.121M20\x2010h-3m.07-7.071L14.95\x205.05M5\x2010a5\x205\x200\x201\x200\x2010\x200\x205\x205\x200\x201\x200-10\x200\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-filters\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M4.5\x206.5a5.5\x205.5\x200\x201\x200\x2011\x200\x205.5\x205.5\x200\x201\x200-11\x200m-3.5\x206a5.5\x205.5\x200\x201\x200\x2011\x200\x205.5\x205.5\x200\x201\x200-11\x200m7\x200a5.5\x205.5\x200\x201\x200\x2011\x200\x205.5\x205.5\x200\x201\x200-11\x200\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-flip\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M19.6\x205\x2018\x203.5\x2016.4\x205m3.2\x2010L18\x2016.5\x2016.4\x2015M18\x203.523v12.954M3.3\x208.5h10.654c.301\x200\x20.415-.395.159-.554L3.459\x201.286A.3.3\x200\x200\x200\x203\x201.542V8.2a.3.3\x200\x200\x200\x20.3.3zm0\x203h10.654c.301\x200\x20.415.395.159.554l-10.654\x206.66A.3.3\x200\x200\x201\x203\x2018.458v-6.66a.3.3\x200\x200\x201\x20.3-.3z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-gamma\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M17\x203C9\x206\x202.5\x2011.5\x202.5\x2017.5m0\x200h1m-1\x200v-1m14\x201h1m-3\x200h1m-3\x200h1m-3\x200h1m-3\x200h1m-3\x200h1m-3\x200h1m-3-14v-1m0\x203v-1m0\x203v-1m0\x203v-1m0\x203v-1m0\x203v-1m0\x203v-1\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-mirror\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M5\x20.4\x203.5\x202\x205\x203.6M15\x20.4\x2016.5\x202\x2015\x203.6M3.52\x202h12.957M8.5\x2016.7V6.046c0-.301-.394-.415-.554-.159L1.287\x2016.541a.3.3\x200\x200\x200\x20.255.459H8.2a.3.3\x200\x200\x200\x20.3-.3zm3\x200V6.046c0-.301.395-.415.555-.159l6.659\x2010.654a.3.3\x200\x200\x201-.255.459H11.8a.3.3\x200\x200\x201-.3-.3z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2040\x2040\x27\x20id=\x27uc-icon-original\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.5\x27\x20d=\x27M0\x2040\x2040\x200\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-rotate\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M13.5.4\x2012\x202l1.5\x201.6M12.023\x202H14.4A3.6\x203.6\x200\x200\x201\x2018\x205.6V8M4\x2017h9a1\x201\x200\x200\x200\x201-1V7a1\x201\x200\x200\x200-1-1H4a1\x201\x200\x200\x200-1\x201v9a1\x201\x200\x200\x200\x201\x201z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-sad\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M2\x2017c4.418-4\x2011.582-4\x2016\x200M16.5\x205a1\x201\x200\x201\x201-2\x200\x201\x201\x200\x200\x201\x202\x200zm-11\x200a1\x201\x200\x201\x201-2\x200\x201\x201\x200\x200\x201\x202\x200z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-saturation\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><defs><linearGradient\x20id=\x27ruc-icon-id__a\x27\x20x1=\x2710.001\x27\x20y1=\x271\x27\x20x2=\x2710.001\x27\x20y2=\x2719\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient></defs><circle\x20cx=\x2710.001\x27\x20cy=\x2710\x27\x20r=\x279\x27\x20transform=\x27rotate(90\x2010\x2010)\x27\x20fill=\x27url(#ruc-icon-id__a)\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-slider\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M0\x2010h11m0\x200a2\x202\x200\x201\x200\x204\x200m-4\x200a2\x202\x200\x201\x201\x204\x200m0\x200h5\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-tuning\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M8\x2010h11M1\x2010h4M1\x204.5h11m3\x200h4m-18\x2011h11m3\x200h4m-7-11a1.5\x201.5\x200\x201\x200\x203\x200\x201.5\x201.5\x200\x201\x200-3\x200M5\x2010a1.5\x201.5\x200\x201\x200\x203\x200\x201.5\x201.5\x200\x201\x200-3\x200m7\x205.5a1.5\x201.5\x200\x201\x200\x203\x200\x201.5\x201.5\x200\x201\x200-3\x200\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-vibrance\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20d=\x27M2.125\x205.64A8.96\x208.96\x200\x200\x200\x201.001\x2010a8.96\x208.96\x200\x200\x200\x201.124\x204.36V5.64z\x27\x20fill=\x27url(#uuc-icon-id__a)\x27/><path\x20d=\x27M2.875\x2015.499V4.502a9.053\x209.053\x200\x200\x201\x201.75-1.72v14.437a9.05\x209.05\x200\x200\x201-1.75-1.72z\x27\x20fill=\x27url(#uuc-icon-id__b)\x27/><path\x20d=\x27M5.375\x2017.722c.548.33\x201.134.601\x201.75.809V1.469a8.956\x208.956\x200\x200\x200-1.75.81v15.443z\x27\x20fill=\x27url(#uuc-icon-id__c)\x27/><path\x20d=\x27M7.875\x201.253v17.495c.564.136\x201.15.22\x201.75.244V1.008a9\x209\x200\x200\x200-1.75.245z\x27\x20fill=\x27url(#uuc-icon-id__d)\x27/><path\x20d=\x27M10.375\x201.008v17.984a9\x209\x200\x200\x200\x201.75-.244V1.252a9\x209\x200\x200\x200-1.75-.244z\x27\x20fill=\x27url(#uuc-icon-id__e)\x27/><path\x20d=\x27M12.875\x201.469V18.53a8.957\x208.957\x200\x200\x200\x201.75-.808V2.277a8.957\x208.957\x200\x200\x200-1.75-.808z\x27\x20fill=\x27url(#uuc-icon-id__f)\x27/><path\x20d=\x27M15.375\x202.78v14.44a9.053\x209.053\x200\x200\x200\x201.75-1.72v-11a9.054\x209.054\x200\x200\x200-1.75-1.72z\x27\x20fill=\x27url(#uuc-icon-id__g)\x27/><path\x20d=\x27M17.875\x205.638v8.724A8.959\x208.959\x200\x200\x200\x2019.001\x2010a8.96\x208.96\x200\x200\x200-1.126-4.362z\x27\x20fill=\x27url(#uuc-icon-id__h)\x27/><defs><linearGradient\x20id=\x27uuc-icon-id__a\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27uuc-icon-id__b\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27uuc-icon-id__c\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27uuc-icon-id__d\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27uuc-icon-id__e\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27uuc-icon-id__f\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27uuc-icon-id__g\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27uuc-icon-id__h\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient></defs></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-warmth\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20d=\x27m7.5\x2013.05.429.42.171-.175v-.244h-.6zm5\x200h-.6v.245l.172.175.428-.42zM8.1\x203.5c0-1.05.85-1.9\x201.9-1.9V.4a3.1\x203.1\x200\x200\x200-3.1\x203.1h1.2zm0\x209.55V3.5H6.9v9.55h1.2zm-1\x202.45c0-.79.315-1.506.829-2.03l-.858-.84A4.088\x204.088\x200\x200\x200\x205.9\x2015.5h1.2zm2.9\x202.9a2.9\x202.9\x200\x200\x201-2.9-2.9H5.9a4.1\x204.1\x200\x200\x200\x204.1\x204.1v-1.2zm2.9-2.9a2.9\x202.9\x200\x200\x201-2.9\x202.9v1.2a4.1\x204.1\x200\x200\x200\x204.1-4.1h-1.2zm-.829-2.03c.514.524.829\x201.24.829\x202.03h1.2c0-1.117-.447-2.13-1.171-2.87l-.858.84zM11.9\x203.5v9.55h1.2V3.5h-1.2zM10\x201.6c1.05\x200\x201.9.85\x201.9\x201.9h1.2A3.1\x203.1\x200\x200\x200\x2010\x20.4v1.2z\x27\x20fill=\x27currentColor\x27/><path\x20d=\x27M10\x2014V8\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20stroke-linecap=\x27round\x27/><path\x20d=\x27M14\x203h3m-3\x203h3m-3\x203h3m-8\x206.5a1\x201\x200\x201\x200\x202\x200\x201\x201\x200\x201\x200-2\x200\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27/></symbol></svg>')}<div class="uc-wrapper uc-wrapper_desktop"><uc-presence-toggle class="uc-network_problems_splash" .visible=${_0x68f0a6}><div class="uc-network_problems_content"><div class="uc-network_problems_icon"><uc-icon name="sad"></uc-icon></div><div class="uc-network_problems_text">Network error</div></div><div class="uc-network_problems_footer"><uc-btn-ui theme="primary" text="Retry" @click=${this['Qd']}></uc-btn-ui></div></uc-presence-toggle><div class="uc-viewport"><div class="uc-file_type_outer"><div class="uc-file_type">${t}</div></div><div class="uc-image_container" ${d7(this['Bl'])}><img src=${_0x521f57} class=${this['ip']} ${d7(this['Ar'])} />${O8(this['ke'],()=>Z1`<uc-editor-image-cropper ${d7(this['Vl'])}></uc-editor-image-cropper>`)}<uc-editor-image-fader ${d7(this['_l'])}></uc-editor-image-fader></div><div class="uc-info_pan">${_0x5efa50}</div></div><div class="uc-toolbar"><uc-line-loader-ui .active=${_0x3279d3}></uc-line-loader-ui><div class="uc-toolbar_content uc-toolbar_content__editor">${O8(this['ke'],()=>Z1`<uc-editor-toolbar></uc-editor-toolbar>`)}</div></div></div>`;}['updated'](t){super['updated'](t),t['has']('uuid')&&this['uuid']&&this['updateImage'](),t['has']('cdnUrl')&&this['cdnUrl']&&this['updateImage'](),t['has']('tabs')&&this['Kl'](),(t['has']('cropPreset')||t['has']('cdnUrl'))&&this['jl']();}['Kl'](){let t=this['tabs']||z8;this['$']['*tabList']=(_0x20b8a7=>{if(!_0x20b8a7)return l5;let _0x18cc13=j2(_0x20b8a7)['filter'](y8);return 0x0===_0x18cc13['length']?l5:_0x18cc13;})(t);}['jl'](){let t=M6(this['cropPreset']??''),_0x3ff455=null;if(this['cdnUrl']){let _0x18e6bf=a5(X2(this['cdnUrl']));if(Array['isArray'](_0x18e6bf?.['crop']?.['dimensions'])){let [_0x3b5f24,_0x18173f]=_0x18e6bf['crop']['dimensions'];_0x3ff455=((_0x5b289b,_0x1aa79f,t,_0x446439=0.1)=>{let _0x4ecafc=_0x5b289b/_0x1aa79f,_0x230925=null,_0x570667=0x1/0x0;for(let _0x31dca1 of t){let [_0x2d3d4a,_0x2b6f25]=[_0x31dca1['width'],_0x31dca1['height']],_0x479ba1=_0x2d3d4a/_0x2b6f25,_0x112b31=Math['abs'](_0x4ecafc-_0x479ba1);_0x112b31<_0x570667&&(_0x570667=_0x112b31,_0x230925=_0x31dca1);}if(_0x230925){let [_0x18822d,_0x490e05]=[_0x230925['width'],_0x230925['height']],_0x4567a2=_0x18822d/_0x490e05;if(Math['abs'](_0x4ecafc-_0x4567a2)/_0x4567a2>_0x446439)return null;}return _0x230925;})(_0x3b5f24,_0x18173f,t,0.1);}}this['$']['*cropPresetList']=t,this['$']['*currentAspectRatio']=_0x3ff455??t?.[0x0]??null;}async['updateImage'](){if(this['isConnected']){try{await this['Gl']();}catch{return;}if(this['isConnected']){if(this['cdnUrl']){let t=this['cdnUrl'],_0x448dbb=K2(t,Z2(t));if(_0x448dbb===this['$']['*originalUrl'])return;this['$']['*originalUrl']=_0x448dbb;let _0x493a6a=a5(X2(t));this['$']['*editorTransformations']=_0x493a6a;}else{if(!this['uuid'])throw new Error('No\x20UUID\x20nor\x20CDN\x20URL\x20provided');{let t=K2(this['cfg']['cdnCname'],this['uuid']);if(t===this['$']['*originalUrl'])return;this['$']['*originalUrl']=t,Object['keys'](this['$']['*editorTransformations'])['length']>0x0&&(this['$']['*editorTransformations']={});}}this['$']['*tabId']===c5['CROP']?this['$']['*cropperEl']?.['deactivate']({'reset':!0x0}):this['$']['*faderEl']?.['deactivate']();try{let t=this['$']['*originalUrl'],_0x59c482=await this['proxyUrl'](Y2(t,F2('json'))),{width:_0x2351e0,height:_0x2df435}=await fetch(_0x59c482)['then'](_0x35f67e=>_0x35f67e['json']());this['$']['*imageSize']={'width':_0x2351e0,'height':_0x2df435},this['$']['*tabId']===c5['CROP']?this['$']['*cropperEl']?.['activate'](this['$']['*imageSize']):this['$']['*faderEl']?.['activate']({'url':t});}catch(_0x229a74){_0x229a74&&(this['telemetryManager']['sendEventError'](_0x229a74,'cloud\x20editor\x20image.\x20Failed\x20to\x20load\x20image\x20info'),console['error']('Failed\x20to\x20load\x20image\x20info',_0x229a74));}this['Jd']();}}}async['initEditor'](){try{await this['Gl']();}catch{return;}this['classList']['add']('uc-editor_ON'),this['sub']('*networkProblems',t=>{let _0x3e7936=!!t;this['Nl']=_0x3e7936;}),this['sub']('*editorTransformations',t=>{if(0x0===Object['keys'](t)['length'])return;let _0x236d33=this['$']['*originalUrl'],_0xa4d74f=F2(i5(t),'preview'),_0x1794a9={'originalUrl':_0x236d33,'cdnUrlModifiers':_0xa4d74f,'cdnUrl':Y2(_0x236d33,_0xa4d74f),'transformations':t};this['dispatchEvent'](new CustomEvent('change',{'detail':_0x1794a9,'bubbles':!0x0,'composed':!0x0}));},!0x1);}};z0([E2()],Y8['prototype'],'Yd',0x2),z0([E2()],Y8['prototype'],'Je',0x2),z0([E2()],Y8['prototype'],'Xd',0x2),z0([E2()],Y8['prototype'],'Ti',0x2),z0([_2({'type':String,'reflect':!0x0})],Y8['prototype'],'uuid',0x2),z0([_2({'type':String,'attribute':'cdn-url','reflect':!0x0})],Y8['prototype'],'cdnUrl',0x2),z0([_2({'type':String,'attribute':'crop-preset','reflect':!0x0})],Y8['prototype'],'cropPreset',0x2),z0([_2({'type':String,'reflect':!0x0})],Y8['prototype'],'tabs',0x2),z0([E2()],Y8['prototype'],'Nl',0x2),z0([E2()],Y8['prototype'],'ke',0x2);var K8={};W0(K8,{'CloudImageEditorActivity':()=>t9});var J8=class extends Y8{static{this['styleAttrs']=[...super['styleAttrs'],'uc-wgt-common'];}constructor(){super(),this['init$']={...this['init$'],'*solution':this['tagName']};}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':f4['INIT_SOLUTION']}),this['a11y']?.['registerBlock'](this);}},t9=class extends j6{constructor(){super(...arguments),this['Q']=null;}get['activityParams'](){let t=super['activityParams'];if('internalId'in t)return t;throw new Error('Cloud\x20Image\x20Editor\x20activity\x20params\x20not\x20found');}['initCallback'](){super['initCallback'](),this['subConfigValue']('cropPreset',t=>{this['Q']&&this['Q']['cropPreset']!==t&&(this['Q']={...this['Q'],'cropPreset':t});}),this['subConfigValue']('cloudImageEditorTabs',t=>{this['Q']&&this['Q']['tabs']!==t&&(this['Q']={...this['Q'],'tabs':t});}),this['rp']();}['disconnectedCallback'](){super['disconnectedCallback'](),this['op']();}['As'](t){if(!this['Ci'])return;this['debugPrint']('editor\x20event\x20\x22apply\x22',t['detail']);let _0x3dd428=t['detail'];this['Ci']['setMultipleValues']({'cdnUrl':_0x3dd428['cdnUrl'],'cdnUrlModifiers':_0x3dd428['cdnUrlModifiers']}),this['modalManager']?.['close'](Q6['activities']['CLOUD_IMG_EDIT']),this['historyBack']();}['Ee'](t){let _0x53bf25=t instanceof CustomEvent?t['detail']:void 0x0;this['debugPrint']('editor\x20event\x20\x22cancel\x22',_0x53bf25),this['modalManager']?.['close'](Q6['activities']['CLOUD_IMG_EDIT']),this['historyBack']();}['handleChange'](t){this['debugPrint']('editor\x20event\x20\x22change\x22',t['detail']);}['rp'](){let {internalId:t}=this['activityParams'],_0x26c6d6=this['uploadCollection']['read'](t);if(!_0x26c6d6)throw new Error('Entry\x20with\x20internalId\x20\x22'+t+'\x22\x20not\x20found');this['Ci']=_0x26c6d6;let _0x9698db=this['Ci']['getValue']('cdnUrl');if(!_0x9698db)throw new Error('Entry\x20with\x20internalId\x20\x22'+t+'\x22\x20hasn\x27t\x20uploaded\x20yet');this['Q']=this['sp'](_0x9698db);}['op'](){this['Ci']=void 0x0,this['Q']=null;}['render'](){if(!this['Q'])return X1;let {cdnUrl:t,cropPreset:_0x297ddc,tabs:_0x5f1ece}=this['Q'];return Z1`<uc-cloud-image-editor cdn-url=${t} crop-preset=${S8(_0x297ddc)} tabs=${S8(_0x5f1ece)} @apply=${this['As']} @cancel=${this['Ee']} @change=${this['handleChange']} ></uc-cloud-image-editor>`;}['sp'](t){return{'cdnUrl':t,'cropPreset':this['cfg']['cropPreset'],'tabs':this['cfg']['cloudImageEditorTabs']};}};z0([E2()],t9['prototype'],'Q',0x2);var e9=class extends j6{constructor(){super(...arguments),this['Dt']='',this['bs']=t=>{this['Dt']=t['target']?.['value']??'';},this['Ho']=t=>{t['preventDefault'](),this['telemetryManager']['sendEvent']({'eventType':f4['ACTION_EVENT'],'payload':{'metadata':{'event':'upload-from-url','node':this['tagName']}}});let _0x158a87=this['Dt']['trim']();_0x158a87&&(this['api']['addFileFromUrl'](_0x158a87,{'source':u6['URL']}),this['$']['*currentActivity']=Q6['activities']['UPLOAD_LIST'],this['modalManager']?.['open'](Q6['activities']['UPLOAD_LIST']));};}['render'](){return Z1`<uc-activity-header><button type="button" class="uc-mini-btn" @click=${this['historyBack']} title=${this['l10n']('back')} aria-label=${this['l10n']('back')}><uc-icon name="back"></uc-icon></button><div><uc-icon name="url"></uc-icon><span>${this['l10n']('caption-from-url')}</span></div><button type="button" class="uc-mini-btn uc-close-btn" @click=${this['$']['*closeModal']} title=${this['l10n']('a11y-activity-header-button-close')} aria-label=${this['l10n']('a11y-activity-header-button-close')} ><uc-icon name="close"></uc-icon></button></uc-activity-header><form class="uc-content" @submit=${this['Ho']}><label><input placeholder="https://" class="uc-url-input" type="text" autofocus @input=${this['bs']} /></label><button type="submit" class="uc-url-upload-btn uc-primary-btn" ?disabled=${!this['Dt']} >${this['l10n']('upload-url')}</button></form>`;}};z0([E2()],e9['prototype'],'Dt',0x2);var i9=()=>{let _0x7d96e5=globalThis['top']??globalThis['parent']??globalThis['self'];try{return _0x7d96e5['location']['origin'];}catch(_0x140f9c){return console['warn']('Unable\x20to\x20access\x20top-level\x20window\x20location:',_0x140f9c),globalThis['location']['origin'];}},s9=_0x1a62d2=>_0x1a62d2['replace'](/[\\-\\[]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,'\x5c$&'),n9=(_0x83ccdf,_0x4b4f5a='i')=>{let t=_0x83ccdf['split']('*')['map'](s9);return new RegExp('^'+t['join']('.+')+'$',_0x4b4f5a);},r9=['--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'],o9=(_0x1cc4d7,_0xe9a266)=>window['getComputedStyle'](_0x1cc4d7)['getPropertyValue'](_0xe9a266)['trim'](),a9=_0xc242f7=>{let _0xfcb1c={};for(let t of r9){let _0x22b2cd=o9(_0xc242f7,t);_0x22b2cd&&(_0xfcb1c[t]=_0x22b2cd);}return _0xfcb1c;},c9=['selected-files-change','toolbar-state-change'],l9=class{constructor(_0x4333b8,t){this['kr']=new Map(),this['Wl']=_0x30b7aa=>{if(_0x30b7aa['source']!==this['Ms'])return;let t=_0x30b7aa['data'];if(!(_0x2c3451=>{if(!_0x2c3451||'object'!=typeof _0x2c3451||!('type'in _0x2c3451))return!0x1;let _0x181478=_0x2c3451['type'];return!('string'!=typeof _0x181478||!c9['includes'](_0x181478));})(t))return;let _0x3de6f6=this['kr']['get'](t['type']);if(_0x3de6f6){for(let _0xf543bf of _0x3de6f6)_0xf543bf(t);}},this['Ms']=_0x4333b8,this['ql']=t,window['addEventListener']('message',this['Wl']);}['on'](_0x256f3a,t){let _0xa79772=this['kr']['get'](_0x256f3a)??new Set();this['kr']['has'](_0x256f3a)||this['kr']['set'](_0x256f3a,_0xa79772),_0xa79772['add'](t);}['send'](_0x1334b3){let t=this['ql']();this['Ms']['postMessage'](_0x1334b3,t);}['destroy'](){window['removeEventListener']('message',this['Wl']);}},h9={[l6['GDRIVE']]:'ngdrive'},u9=class extends j6{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x0,this['Vt']=l7(),this['Mr']=null,this['Os']=[],this['Is']=!0x1,this['Ps']=!0x1,this['Ls']=!0x1,this['Rs']=!0x1,this['Or']=!0x1,this['Us']=!0x1,this['$s']='uc-hidden',this['Zl']=!0x0,this['Ko']=()=>{for(let t of this['Os']){let _0x3109fa=this['ap'](t),{filename:_0x56cf12}=t,{externalSourceType:_0x1eba0f}=this['activityParams'];this['api']['addFileFromUrl'](_0x3109fa,{'fileName':_0x56cf12,'source':_0x1eba0f});}this['$']['*currentActivity']=Q6['activities']['UPLOAD_LIST'],this['modalManager']?.['open'](Q6['activities']['UPLOAD_LIST']);},this['Ee']=()=>{this['historyBack']();},this['hp']=()=>{this['ne']?.['send']({'type':'select-all'});},this['fp']=()=>{this['ne']?.['send']({'type':'deselect-all'});};}get['np'](){if(!this['Mr'])return'';let {selectedCount:t,total:_0x1bc632}=this['Mr'];return this['l10n']('selected-count',{'count':t,'total':_0x1bc632});}get['activityParams'](){let t=super['activityParams'];if('externalSourceType'in t)return t;throw new Error('External\x20Source\x20activity\x20params\x20not\x20found');}['initCallback'](){super['initCallback']();let {externalSourceType:t}=this['activityParams'];t?this['Yl']():console['error']('Param\x20\x22externalSourceType\x22\x20is\x20required\x20for\x20external\x20source\x20activity'),this['sub']('*currentActivityParams',()=>{setTimeout(()=>{this['isConnected']&&(this['Xl'](),this['Yl']());});}),this['subConfigValue']('multiple',_0x2cc0ca=>{this['Or']=_0x2cc0ca;}),this['subConfigValue']('localeName',()=>{this['Ql']();}),this['subConfigValue']('externalSourcesEmbedCss',_0x265e0c=>{this['Jl'](_0x265e0c);});}['ap'](t){if(t['alternatives']){let _0x3030e6=J2(this['cfg']['externalSourcesPreferredTypes']);for(let _0x56f674 of _0x3030e6){let _0x5b4524=n9(_0x56f674);for(let [_0xfaa798,_0x6013a]of Object['entries'](t['alternatives']))if(_0x5b4524['test'](_0xfaa798))return _0x6013a;}}return t['url'];}['lp'](t){this['Zl']=t['isVisible'];}async['cp'](t){this['cfg']['multiple']===t['isMultipleMode']?(this['up'](t['selectedCount'],t['total']),this['$s']=t['isReady']?'':'uc-hidden',this['Is']=t['isReady'],this['Ps']=t['isReady']&&t['selectedFiles']['length']>0x0,this['Or']=t['isMultipleMode']&&t['total']>0x0,this['Ls']=t['selectedCount']<t['total'],this['Rs']=t['selectedCount']===t['total'],this['Os']=t['selectedFiles']??[],this['Us']=t['total']>0x0):console['error']('Multiple\x20mode\x20mismatch');}['ec'](){this['Jl'](this['cfg']['externalSourcesEmbedCss']),this['dp'](),this['Ql']();}['dp'](){this['ne']?.['send']({'type':'set-theme-definition','theme':a9(this)});}['Jl'](t){this['ne']?.['send']({'type':'set-embed-css','css':t});}['Ql'](){this['ne']?.['send']({'type':'set-locale-definition','localeDefinition':this['cfg']['localeName']});}['pp'](){let {pubkey:t,remoteTabSessionKey:_0x222386,socialBaseUrl:_0x397703,multiple:_0x9ef39f}=this['cfg'],{externalSourceType:_0x2706f9}=this['activityParams'],_0x22f202=h9[_0x2706f9]??_0x2706f9,_0x2ea57f={'lang':this['l10n']('social-source-lang')?.['split']('-')?.[0x0]||'en','public_key':t,'images_only':'false','session_key':_0x222386,'wait_for_theme':!0x0,'multiple':_0x9ef39f['toString'](),'origin':this['cfg']['topLevelOrigin']||i9(),'debug':this['cfg']['debug']},_0x2dde99=new URL('/window4/'+_0x22f202,_0x397703);return _0x2dde99['search']=function(_0x5871ef){let _0x72c5d7=[];for(let [t,_0x483c14]of Object['entries'](_0x5871ef))null==_0x483c14||'string'==typeof _0x483c14&&0x0===_0x483c14['length']||_0x72c5d7['push'](t+'='+encodeURIComponent(_0x483c14));return _0x72c5d7['join']('&');}(_0x2ea57f),_0x2dde99['toString']();}['up'](t,_0x4f823f){this['Mr']={'selectedCount':t,'total':_0x4f823f};}['Yl'](){let t=document['createElement']('iframe');t['src']=this['pp'](),t['marginHeight']=0x0,t['marginWidth']=0x0,t['frameBorder']='0',t['allowTransparency']=!0x0,t['addEventListener']('load',this['ec']['bind'](this)),t['addEventListener']('load',this['ec']['bind'](this)),this['Vt']['value']&&(this['Vt']['value']['innerHTML']='',this['Vt']['value']['appendChild'](t)),t['contentWindow']&&(this['ne']?.['destroy'](),this['ne']=new l9(t['contentWindow'],()=>this['cfg']['socialBaseUrl']),this['ne']['on']('selected-files-change',this['cp']['bind'](this)),this['ne']['on']('toolbar-state-change',this['lp']['bind'](this)),this['tc']());}['Xl'](){this['ne']?.['destroy'](),this['ne']=void 0x0,this['Vt']['value']&&(this['Vt']['value']['innerHTML']=''),this['tc']();}['tc'](){this['Os']=[],this['Is']=!0x1,this['Ps']=!0x1,this['Ls']=!0x1,this['Rs']=!0x1,this['Or']=!0x1,this['Us']=!0x1,this['$s']='uc-hidden',this['Mr']=null;}['disconnectedCallback'](){super['disconnectedCallback'](),this['Xl']();}['render'](){return Z1`<uc-activity-header><button type="button" class="uc-mini-btn uc-close-btn" @click=${this['$']['*historyBack']} title=${this['l10n']('a11y-activity-header-button-close')} aria-label=${this['l10n']('a11y-activity-header-button-close')} ><uc-icon name="close"></uc-icon></button></uc-activity-header><div class="uc-content"><div ${d7(this['Vt'])} class="uc-iframe-wrapper"></div><div class="uc-toolbar" ?hidden=${!this['Zl']}><button type="button" class="uc-cancel-btn uc-secondary-btn" @click=${this['Ee']}>${this['l10n']('cancel')}</button><div class="uc-selection-status-box" ?hidden=${!this['Or']}><span>${this['np']}</span><button type="button" @click=${this['hp']} ?hidden=${!this['Ls']}>${this['l10n']('select-all')}</button><button type="button" @click=${this['fp']} ?hidden=${!this['Rs']}>${this['l10n']('deselect-all')}</button></div><button type="button" class="uc-done-btn uc-primary-btn" @click=${this['Ko']} ?disabled=${!this['Ps']} ?hidden=${!this['Us']} ><uc-spinner ?hidden=${this['Is']}></uc-spinner><span class=${this['$s']}>${this['l10n']('done')}</span></button></div></div>`;}};z0([E2()],u9['prototype'],'Os',0x2),z0([E2()],u9['prototype'],'Is',0x2),z0([E2()],u9['prototype'],'Ps',0x2),z0([E2()],u9['prototype'],'Ls',0x2),z0([E2()],u9['prototype'],'Rs',0x2),z0([E2()],u9['prototype'],'Or',0x2),z0([E2()],u9['prototype'],'Us',0x2),z0([E2()],u9['prototype'],'$s',0x2),z0([E2()],u9['prototype'],'Zl',0x2);var d9={'width':{'ideal':0x780},'height':{'ideal':0x438},'frameRate':{'ideal':0x1e}},f9=['camera','microphone'];function m9(_0xa4c2ae){return Math['floor'](_0xa4c2ae/0x3c)['toString']()['padStart'](0x2,'0')+':'+Math['floor'](_0xa4c2ae%0x3c)['toString']()['padStart'](0x2,'0');}var p9='image/jpeg',g9='video/webm',O9=class extends j6{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x0,this['Ir']=null,this['Ds']=!0x1,this['Si']=[],this['me']=null,this['ge']=null,this['Pr']=null,this['Lr']=null,this['g']=null,this['Ai']={},this['fe']=null,this['e']=null,this['_t']=[],this['Bt']=[],this['mp']={},this['Rr']=[],this['Ur']=null,this['ic']=()=>{this['rc'](),this['ki']='pause';},this['oc']=()=>{this['ki']='play',this['gp']();},this['Mi']=l7(),this['Xe']=l7(),this['K']=l7(),this['sc']=0x0,this['nc']=0x0,this['ac']=null,this['$r']=!0x0,this['Dr']=!0x0,this['vp']=typeof navigator['permissions']<'u',this['cc']=[],this['ot']=!0x0,this['Fs']='',this['zt']=!0x0,this['at']=!0x0,this['Ht']=!0x0,this['uc']=[],this['pt']=!0x0,this['Ns']=!0x0,this['mt']=!0x0,this['Ce']=!0x0,this['gt']=!0x0,this['Kt']='camera-full',this['ki']='play',this['dc']='microphone',this['Fr']='uc-shot-btn\x20uc-camera-action',this['yp']=()=>{if(this['telemetryManager']['sendEvent']({'eventType':f4['ACTION_EVENT'],'payload':{'metadata':{'event':'start-camera','node':this['tagName'],'tabId':this['g']}}}),this['g']===n6['PHOTO']&&this['bp'](),this['g']===n6['VIDEO']){if('recording'===this['me']?.['state'])return void this['pc']();this['wp']();}},this['Tp']=t=>{let _0x2bb184=t['target'];_0x2bb184&&(this['Lr']=_0x2bb184['value'],this['jt']());},this['Ep']=t=>{let _0x1778fd=t['target'];_0x1778fd&&(this['Pr']=_0x1778fd['value'],this['jt']());},this['xp']=()=>{this['jt']();},this['Cp']=()=>{this['telemetryManager']['sendEvent']({'eventType':f4['ACTION_EVENT'],'payload':{'metadata':{'event':'shot-camera','node':this['tagName'],'tabId':this['g']}}}),this['yp']();},this['Sp']=()=>{this['Ap']();},this['kp']=()=>{this['Mp']();},this['Op']=()=>{this['telemetryManager']['sendEvent']({'eventType':f4['ACTION_EVENT'],'payload':{'metadata':{'event':'retake-camera','node':this['tagName'],'tabId':this['g']}}}),this['Ip']();},this['Pp']=()=>{this['telemetryManager']['sendEvent']({'eventType':f4['ACTION_EVENT'],'payload':{'metadata':{'event':'accept-camera','node':this['tagName'],'tabId':this['g']}}}),this['Lp']();},this['hc']=t=>{let _0x31d2f8=t['currentTarget']?.['getAttribute']('data-id');_0x31d2f8&&this['fc'](_0x31d2f8);},this['mc']=()=>{let t=Math['floor']((performance['now']()-this['sc']+this['nc'])/0x3e8);if('number'==typeof this['cfg']['maxVideoRecordingDuration']&&this['cfg']['maxVideoRecordingDuration']>0x0){let _0xcd2b38=this['cfg']['maxVideoRecordingDuration']-t;if(_0xcd2b38<=0x0){let _0x4fb83b=this['Mi']['value'];return _0x4fb83b&&(_0x4fb83b['textContent']=m9(_0xcd2b38)),void this['pc']();}let _0x3286db=this['Mi']['value'];_0x3286db&&(_0x3286db['textContent']=m9(_0xcd2b38));}else{let _0x1885fc=this['Mi']['value'];_0x1885fc&&(_0x1885fc['textContent']=m9(t));}this['Gt']=requestAnimationFrame(this['mc']);},this['Rp']=()=>{this['sc']=performance['now'](),this['nc']=0x0,this['mc']();},this['gc']=()=>{this['Gt']&&cancelAnimationFrame(this['Gt']);},this['rc']=()=>{let t=this['K']['value'];if(!t)return;let _0x58dc8f=t['currentTime'],_0x374453=t['duration']||0x1,_0x150b64=this['Xe']['value'];_0x150b64&&(_0x150b64['style']['transform']='scaleX('+_0x58dc8f/_0x374453+')');let _0x440957=this['Mi']['value'];_0x440957&&(_0x440957['textContent']=m9(_0x58dc8f)),this['Gt']=requestAnimationFrame(this['rc']);},this['gp']=()=>{this['Gt']&&cancelAnimationFrame(this['Gt']);},this['Gt']=null,this['wp']=()=>{try{this['Si']=[],this['Ai']={...this['cfg']['mediaRecorderOptions']};let {mimeType:t}=this['cfg']['mediaRecorderOptions']||{};t&&MediaRecorder['isTypeSupported'](t)?this['Ai']['mimeType']=t:MediaRecorder['isTypeSupported'](g9)?this['Ai']['mimeType']=g9:this['Ai']['mimeType']='video/mp4',this['ge']&&(this['me']=new MediaRecorder(this['ge'],this['Ai']),this['me']['start'](),this['me']['addEventListener']('dataavailable',_0x3c1190=>{this['Si']['push'](_0x3c1190['data']);}),this['Rp'](),this['classList']['add']('uc-recording'),this['Oi'](r6['PLAY']));}catch(_0x300535){console['error']('Failed\x20to\x20start\x20recording',_0x300535),this['telemetryManager']['sendEventError'](_0x300535,'camera\x20recording.\x20Failed\x20to\x20start\x20recording');}},this['pc']=()=>{this['me']?.['addEventListener']('stop',()=>{this['Up'](),this['gc'](),this['Oi'](r6['STOP']);}),this['me']?.['stop'](),this['classList']['remove']('uc-recording'),this['telemetryManager']['sendEvent']({'eventType':f4['ACTION_EVENT'],'payload':{'metadata':{'event':'stop-camera','node':this['tagName'],'tabId':this['g']}}});},this['Ap']=()=>{if('recording'===this['me']?.['state'])return;let t=this['K']['value'];t&&(!t['paused']&&!t['ended']&&t['readyState']>0x2?t['pause']():t['paused']&&t['play']());},this['Mp']=()=>{this['ge']?.['getAudioTracks']()['forEach'](t=>{t['enabled']=!t['enabled'],this['dc']=t['enabled']?'microphone':'microphone-mute',this['Ns']=!t['enabled'];});},this['Up']=()=>{try{let t=new Blob(this['Si'],{'type':this['me']?.['mimeType']}),_0x59b736=URL['createObjectURL'](t),_0x6153c8=this['K']['value'];if(!_0x6153c8)return;_0x6153c8['muted']=!0x1,_0x6153c8['volume']=0x1,this['Ii'](null),_0x6153c8['src']=_0x59b736,this['$p'](_0x6153c8);}catch(_0x1fd74b){console['error']('Failed\x20to\x20preview\x20video',_0x1fd74b),this['telemetryManager']['sendEventError'](_0x1fd74b,'camera\x20previewing.\x20Failed\x20to\x20preview\x20video');}},this['Ip']=()=>{if(this['Oi'](r6['RETAKE']),this['g']===n6['VIDEO']){this['Ii'](this['ge']);let t=this['K']['value'];t&&(t['muted']=!0x0);}this['K']['value']?.['play']?.();},this['Lp']=()=>{if(this['Oi'](r6['ACCEPT']),this['g']===n6['PHOTO'])return void this['fe']?.['toBlob'](_0x292a39=>{if(!_0x292a39)return;let _0x370f43=this['vc']('camera','jpeg',p9,_0x292a39);this['yc'](_0x370f43);},p9);let t=new Blob(this['Si'],{'type':this['me']?.['mimeType']}),_0x53822f=this['Dp'](this['me']?.['mimeType']),_0x112717=this['vc']('video',_0x53822f,'video/'+_0x53822f,t);this['yc'](_0x112717),this['Si']=[];},this['Fp']=t=>{t===r6['SHOT']&&(this['gt']=!0x0,this['at']=!0x0,this['Ce']=!0x0,this['Ht']=!0x1,this['ot']=!0x0),(t===r6['RETAKE']||t===r6['ACCEPT'])&&(this['gt']=!this['Se']['includes'](n6['VIDEO']),this['Ce']=!this['Se']['includes'](n6['PHOTO']),this['at']=!0x1,this['Ht']=!0x0,this['ot']=this['_t']['length']<=0x1);},this['Np']=t=>{t===r6['PLAY']&&(this['zt']=!0x1,this['Ce']=!0x0,this['ot']=!0x0,this['pt']=!0x0,this['ki']='pause',this['Kt']='square',this['Fr']='uc-shot-btn\x20uc-camera-action\x20uc-stop-record'),t===r6['STOP']&&(this['zt']=!0x1,this['at']=!0x0,this['mt']=!0x0,this['Ht']=!0x1),(t===r6['RETAKE']||t===r6['ACCEPT'])&&(this['zt']=!0x0,this['gt']=!this['Se']['includes'](n6['VIDEO']),this['Ce']=!this['Se']['includes'](n6['PHOTO']),this['at']=!0x1,this['Ht']=!0x0,this['mt']=!this['cfg']['enableAudioRecording'],this['Kt']='video-camera-full',this['Fr']='uc-shot-btn\x20uc-camera-action',this['pt']=!this['cfg']['enableAudioRecording']||this['Bt']['length']<=0x1,this['ot']=this['_t']['length']<=0x1);},this['Oi']=t=>{this['g']===n6['PHOTO']&&('shot'===t||'retake'===t||'accept'===t)&&this['Fp'](t),this['g']===n6['VIDEO']&&('play'===t||'stop'===t||'retake'===t||'accept'===t||'pause'===t||'resume'===t)&&this['Np'](t);},this['fc']=t=>{t===n6['PHOTO']&&(this['Kt']='camera-full',this['pt']=!0x0,this['mt']=!0x0),t===n6['VIDEO']&&(this['ki']='play',this['Kt']='video-camera-full',this['pt']=!this['cfg']['enableAudioRecording']||this['Bt']['length']<=0x1,this['mt']=!this['cfg']['enableAudioRecording']),this['telemetryManager']['sendEvent']({'eventType':f4['ACTION_EVENT'],'payload':{'metadata':{'event':'camera-tab-switch','node':this['tagName'],'tabId':t}}}),this['g']=t;},this['vc']=(t,_0x58debb,_0x21ad4b,_0x351965)=>{let _0x51910c=Date['now']();return new File([_0x351965],t+'-'+_0x51910c+'.'+_0x58debb,{'lastModified':_0x51910c,'type':_0x21ad4b});},this['yc']=t=>{this['api']['addFileFromObject'](t,{'source':u6['CAMERA']}),this['set$']({'*currentActivity':Q6['activities']['UPLOAD_LIST']}),this['modalManager']?.['open'](Q6['activities']['UPLOAD_LIST']);},this['Pi']=T2(t=>{this['classList']['toggle']('uc-initialized','granted'===t);let _0x30909c=this['g']===n6['VIDEO']&&this['cfg']['enableAudioRecording'],_0x2f521d=this['g']===n6['PHOTO']?'camera-full':'video-camera-full';'granted'===t?(this['$r']=!0x1,this['at']=!0x1,this['Ce']=!this['Se']['includes'](n6['PHOTO']),this['gt']=!this['Se']['includes'](n6['VIDEO']),this['Dr']=!0x0,this['zt']=!0x0,this['Kt']=_0x2f521d,this['mt']=!_0x30909c,this['pt']=!_0x30909c):'prompt'===t?(this['Fs']='camera-permissions-prompt',this['$r']=!0x0,this['at']=!0x0,this['Ce']=!0x0,this['Dr']=!0x1,this['Bs']()):(this['Fs']='camera-permissions-denied',this['$r']=!0x0,this['Dr']=!0x1,this['Ce']=!this['Se']['includes'](n6['PHOTO']),this['gt']=!this['Se']['includes'](n6['VIDEO']),this['Ht']=!0x0,this['Fr']='uc-shot-btn\x20uc-camera-action',this['Bs']());},0x12c),this['Vp']=()=>{if(!this['ge'])return!0x1;let t=this['ge']?.['getAudioTracks'](),_0x301ca7=this['ge']?.['getVideoTracks']();return t['forEach'](_0x1953b7=>{_0x1953b7['stop']();}),_0x301ca7['forEach'](_0xdfd7a0=>{_0xdfd7a0['stop']();}),!0x0;},this['Bs']=()=>{this['Ds']&&(this['K']['value']&&(this['K']['value']['volume']=0x0),this['Ur']?.['getTracks']?.()?.[0x0]?.['stop'](),this['Vs'](this['K']['value']),this['Ii'](null),this['Vp'](),this['gc'](),this['Ds']=!0x1);},this['jt']=async()=>{let t={'video':{...d9},'audio':!!this['cfg']['enableAudioRecording']&&{}};this['Lr']&&(t['video']={'deviceId':{'exact':this['Lr']}}),this['Pr']&&this['cfg']['enableAudioRecording']&&(t['audio']={'deviceId':{'exact':this['Pr']}}),this['K']['value']&&(this['K']['value']['volume']=0x0);try{this['Pi']('prompt'),this['ge']=await navigator['mediaDevices']['getUserMedia'](t),this['ge']['addEventListener']('inactive',()=>{this['Pi']('denied');}),this['Ii'](this['ge']),this['Ds']=!0x0,this['Pi']('granted');}catch(_0x115422){this['Pi']('denied'),console['log']('Failed\x20to\x20capture\x20camera',_0x115422),this['telemetryManager']['sendEventError'](_0x115422,'camera\x20capturing.\x20Failed\x20to\x20capture\x20camera');}},this['bc']=()=>{this['jt']();},this['_p']=async()=>{try{this['Nr']();for(let t of f9){let _0x1cf49e=await navigator['permissions']['query']({'name':t});this['mp'][t]=_0x1cf49e,_0x1cf49e['addEventListener']('change',this['bc']),this['Rr']['push'](()=>{_0x1cf49e['removeEventListener']('change',this['bc']);});}this['Ir']=()=>{this['Nr']();};}catch(_0x1f078d){this['Nr'](),console['log']('Failed\x20to\x20use\x20permissions\x20API.\x20Fallback\x20to\x20manual\x20request\x20mode.',_0x1f078d),this['telemetryManager']['sendEventError'](_0x1f078d,'camera\x20permissions.\x20Failed\x20to\x20use\x20permissions\x20API'),this['jt']();}},this['Bp']=async()=>{try{await navigator['mediaDevices']['getUserMedia']({'video':!0x0,'audio':this['cfg']['enableAudioRecording']}),await this['zs'](),navigator['mediaDevices']['addEventListener']('devicechange',this['zs']);}catch(_0x391a63){this['telemetryManager']['sendEventError'](_0x391a63,'camera\x20devices.\x20Failed\x20to\x20get\x20user\x20media'),console['log']('Failed\x20to\x20get\x20user\x20media',_0x391a63);}},this['zs']=async()=>{try{let t=await navigator['mediaDevices']['enumerateDevices']();this['_t']=t['filter'](_0xee0a2c=>'videoinput'===_0xee0a2c['kind'])['map']((_0x4cd2bd,_0x170b38)=>({'text':_0x4cd2bd['label']['trim']()||this['l10n']('caption-camera')+'\x20'+(_0x170b38+0x1),'value':_0x4cd2bd['deviceId']})),this['Bt']=this['cfg']['enableAudioRecording']?t['filter'](_0x28676a=>'audioinput'===_0x28676a['kind'])['map'](_0x365cc3=>({'text':_0x365cc3['label']['trim'](),'value':_0x365cc3['deviceId']})):[],this['cc']=this['_t'],this['ot']=this['_t']['length']<=0x1,this['Lr']=this['_t'][0x0]?.['value']??null,this['uc']=this['Bt'],this['pt']=!this['cfg']['enableAudioRecording']||this['Bt']['length']<=0x1,this['Pr']=this['Bt'][0x0]?.['value']??null;}catch(_0x440412){this['telemetryManager']['sendEventError'](_0x440412,'camera\x20devices.\x20Failed\x20to\x20get\x20devices'),console['log']('Failed\x20to\x20get\x20devices',_0x440412);}},this['zp']=async()=>{await this['_p'](),await this['Bp'](),await this['jt'](),this['wc'](this['Se']);},this['Hp']=async()=>{this['Ir']&&this['Ir'](),window['chrome']||this['Pi']('denied'),this['Bs']();},this['wc']=t=>{this['gt']=!t['includes'](n6['VIDEO']),this['Ce']=!t['includes'](n6['PHOTO']);let _0x24c1ea=t[0x0];_0x24c1ea&&(!this['g']||!t['includes'](this['g']))&&this['fc'](_0x24c1ea);};}['$p'](t){this['Vs'](t),t['addEventListener']('play',this['ic']),t['addEventListener']('pause',this['oc']);}['Vs'](t){t?.['removeEventListener']('play',this['ic']),t?.['removeEventListener']('pause',this['oc']);}['Ii'](t){this['Ur']!==t&&(this['Ur']=t,this['_s']());}['_s'](){let t=this['K']['value'];if(!t)return;let _0x1f66b8=this['Ur']??null;t['srcObject']!==_0x1f66b8&&(t['srcObject']=_0x1f66b8);}['bp'](){if(this['Oi']('shot'),this['fe']=document['createElement']('canvas'),this['e']=this['fe']['getContext']('2d'),!this['e'])throw new Error('Failed\x20to\x20get\x20canvas\x20context');let t=this['K']['value'];if(!t)throw new Error('Video\x20element\x20not\x20found');this['fe']['height']=t['videoHeight'],this['fe']['width']=t['videoWidth'],this['cfg']['cameraMirror']&&(this['e']['translate'](this['fe']['width'],0x0),this['e']['scale'](-0x1,0x1)),this['e']['drawImage'](t,0x0,0x0),t['pause']();}['Dp'](t){let _0x410eaf={'mp4':'mp4','ogg':'ogg','webm':'webm','quicktime':'mov','x-matroska':'mkv'};if(''===t)return'webm';if(t){let _0x5ab8f5=t['split']('/');if('video'===_0x5ab8f5?.[0x0]){let _0x1b6134=_0x5ab8f5['slice'](0x1)['join']('/')?.['split'](';')[0x0];if(_0x1b6134&&_0x410eaf[_0x1b6134])return _0x410eaf[_0x1b6134];}}return'avi';}get['Se'](){return J2(this['cfg']['cameraModes'])['filter'](t=>t===n6['PHOTO']||t===n6['VIDEO']);}['Nr'](){if(0x0!==this['Rr']['length']){for(let t of this['Rr'])t();this['Rr']=[],this['Ir']=null;}}['initCallback'](){super['initCallback'](),this['subConfigValue']('cameraMirror',t=>{this['ac']=t?'scaleX(-1)':null;}),this['subConfigValue']('enableAudioRecording',t=>{this['mt']=!t,this['Ns']=!t;}),this['subConfigValue']('cameraModes',t=>{if(!this['isConnected'])return;let _0x5e6c04=j2(t);this['wc'](_0x5e6c04['filter'](_0x156b23=>_0x156b23===n6['PHOTO']||_0x156b23===n6['VIDEO']));}),this['zp']();}['firstUpdated'](t){super['firstUpdated'](t),this['_s']();}['updated'](t){super['updated'](t),this['_s']();}['Kp'](){this['Nr'](),navigator['mediaDevices']?.['removeEventListener']('devicechange',this['zs']),this['Vs'](this['K']['value']),this['Ii'](null);}['disconnectedCallback'](){super['disconnectedCallback'](),this['Hp'](),this['Kp']();}['render'](){return Z1`<uc-activity-header><button type="button" class="uc-mini-btn" @click=${this['$']['*historyBack']} title=${this['l10n']('back')} ><uc-icon name="back"></uc-icon></button><div ?hidden=${!this['ot']}><uc-icon name="camera"></uc-icon><span>${this['l10n']('caption-camera')}</span></div><uc-select class="uc-camera-select" .options=${this['cc']} ?hidden=${this['ot']} @change=${this['Tp']} ></uc-select><button type="button" class="uc-mini-btn uc-close-btn" @click=${this['$']['*closeModal']} title=${this['l10n']('a11y-activity-header-button-close')} aria-label=${this['l10n']('a11y-activity-header-button-close')} ><uc-icon name="close"></uc-icon></button></uc-activity-header><div class="uc-content"><video muted autoplay playsinline style=${$8({'transform':this['ac']})} ?hidden=${this['$r']} ${d7(this['K'])} ></video><div class="uc-message-box" ?hidden=${this['Dr']}><span>${this['l10n'](this['Fs'])}</span><button type="button" @click=${this['xp']} ?hidden=${this['vp']} >${this['l10n']('camera-permissions-request')}</button></div></div><div class="uc-controls"><div class="uc-switcher" ?hidden=${!this['zt']}><button data-id="photo" type="button" class=${A8({'uc-switch':!0x0,'uc-mini-btn':!0x0,'uc-active':this['g']===n6['PHOTO']})} @click=${this['hc']} ?hidden=${this['Ce']} data-testid="tab-photo" ><uc-icon name="camera"></uc-icon></button><button data-id="video" type="button" class=${A8({'uc-switch':!0x0,'uc-mini-btn':!0x0,'uc-active':this['g']===n6['VIDEO']})} @click=${this['hc']} ?hidden=${this['gt']} data-testid="tab-video" ><uc-icon name="video-camera"></uc-icon></button></div><button class="uc-secondary-btn uc-recording-timer" @click=${this['Sp']} ?hidden=${this['zt']} data-testid="recording-timer" ><uc-icon name=${this['ki']}></uc-icon><span ${d7(this['Mi'])}> 00:00 </span><span ${d7(this['Xe'])} class="uc-line"></span></button><div class="uc-camera-actions uc-camera-action" ?hidden=${this['Ht']} ><button type="button" class="uc-secondary-btn" @click=${this['Op']}> Retake </button><button type="button" class="uc-primary-btn" @click=${this['Pp']} data-testid="accept" > Accept </button></div><button type="button" data-testid="shot" @click=${this['Cp']} class=${this['Fr']} ?hidden=${this['at']} ><uc-icon name=${this['Kt']}></uc-icon></button><div class="uc-select"><button type="button" class="uc-mini-btn uc-btn-microphone" @click=${this['kp']} ?hidden=${this['mt']} data-testid="toggle-microphone" ><uc-icon name=${this['dc']}></uc-icon></button><uc-select class="uc-audio-select" .options=${this['uc']} ?hidden=${this['pt']} ?disabled=${this['Ns']} @change=${this['Ep']} data-testid="audio-select" ></uc-select></div></div>`;}};z0([E2()],O9['prototype'],'ac',0x2),z0([E2()],O9['prototype'],'$r',0x2),z0([E2()],O9['prototype'],'Dr',0x2),z0([E2()],O9['prototype'],'vp',0x2),z0([E2()],O9['prototype'],'cc',0x2),z0([E2()],O9['prototype'],'ot',0x2),z0([E2()],O9['prototype'],'Fs',0x2),z0([E2()],O9['prototype'],'zt',0x2),z0([E2()],O9['prototype'],'at',0x2),z0([E2()],O9['prototype'],'Ht',0x2),z0([E2()],O9['prototype'],'uc',0x2),z0([E2()],O9['prototype'],'pt',0x2),z0([E2()],O9['prototype'],'Ns',0x2),z0([E2()],O9['prototype'],'mt',0x2),z0([E2()],O9['prototype'],'Ce',0x2),z0([E2()],O9['prototype'],'gt',0x2),z0([E2()],O9['prototype'],'Kt',0x2),z0([E2()],O9['prototype'],'ki',0x2),z0([E2()],O9['prototype'],'dc',0x2),z0([E2()],O9['prototype'],'Fr',0x2);var w9={'id':'camera','setup':async({pluginApi:_0x1e5a1e,uploaderApi:_0x203e5c})=>{C2({'CameraSource':O9}),_0x1e5a1e['registry']['registerSource']({'id':'camera','label':'src-type-camera','icon':'camera','expand':()=>{if(!K3['htmlMediaCapture'])return['camera'];let t=j2(_0x1e5a1e['config']['get']('cameraModes'));return t['length']?t['map'](_0x3d6769=>'mobile-'+_0x3d6769+'-camera'):['mobile-photo-camera'];},'onSelect':()=>{_0x203e5c['setCurrentActivity'](D3['CAMERA']),_0x203e5c['setModalState'](!0x0);}}),_0x1e5a1e['registry']['registerSource']({'id':'mobile-photo-camera','label':'src-type-mobile-photo-camera','icon':'camera','onSelect':()=>{_0x203e5c['openSystemDialog']({'captureCamera':!0x0,'modeCamera':'photo'});}}),_0x1e5a1e['registry']['registerSource']({'id':'mobile-video-camera','label':'src-type-mobile-video-camera','icon':'camera','onSelect':()=>{_0x203e5c['openSystemDialog']({'captureCamera':!0x0,'modeCamera':'video'});}}),_0x1e5a1e['registry']['registerActivity']({'id':D3['CAMERA'],'render':t=>{let _0x6d0643=document['createElement']('uc-camera-source');return t['append'](_0x6d0643),()=>{t['replaceChildren']();};}});}},b9={};W0(b9,{'BtnUi':()=>I8,'CloudImageEditor':()=>J8,'CloudImageEditorBlock':()=>Y8,'Config':()=>f8,'CropFrame':()=>x8,'EditorAspectRatioButtonControl':()=>F8,'EditorCropButtonControl':()=>H8,'EditorFilterControl':()=>Z8,'EditorFreeformButtonControl':()=>B8,'EditorImageCropper':()=>C8,'EditorImageFader':()=>M8,'EditorOperationControl':()=>G8,'EditorScroller':()=>q8,'EditorSlider':()=>j8,'EditorToolbar':()=>W8,'Icon':()=>U6,'LineLoaderUi':()=>T8,'PresenceToggle':()=>E8,'SliderUi':()=>D8,'defineComponents':()=>C2});var y9,v9={'id':'cloud-image-editor','setup':async({pluginApi:_0x752d6e,uploaderApi:_0x1d9120})=>(C2({...b9,...K8}),_0x752d6e['registry']['registerIcon']({'name':'edit-file','svg':'<svg\x20viewBox=\x270\x200\x2024\x2024\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M18.558\x202.804a.78.78\x200\x200\x200-.557.235l-.008.007-2.472\x202.46\x203.847\x203.848\x202.46-2.473.004-.003a.78.78\x200\x200\x200\x200-1.108l-.004-.003-2.712-2.728a.78.78\x200\x200\x200-.558-.235Zm-.248\x207.613-3.852-3.852-8.93\x208.887-1.516\x205.41\x205.41-1.515\x208.888-8.93Zm-.636-8.934a2.28\x202.28\x200\x200\x201\x202.512.505l2.702\x202.717.002.002a2.278\x202.278\x200\x200\x201\x200\x203.234l-.002.002-12.541\x2012.602a.75.75\x200\x200\x201-.33.193l-6.884\x201.928a.75.75\x200\x200\x201-.925-.924l1.928-6.885a.75.75\x200\x200\x201\x20.193-.33l12.603-12.54a2.28\x202.28\x200\x200\x201\x20.742-.504Z\x27\x20clip-rule=\x27evenodd\x27/></svg>'}),_0x752d6e['registry']['registerFileAction']({'id':'edit-file','icon':'edit-file','label':'file-item-edit-button','shouldRender':_0x1a6028=>!(!_0x1a6028['isImage']||!_0x1a6028['cdnUrl']),'onClick':_0x2cdadf=>{_0x1d9120['setCurrentActivity']?.(D3['CLOUD_IMG_EDIT'],{'internalId':_0x2cdadf['internalId']}),_0x1d9120['setModalState']?.(!0x0);}}),_0x752d6e['registry']['registerActivity']({'id':D3['CLOUD_IMG_EDIT'],'render':_0x3ba3ac=>{let _0x280eea=document['createElement']('uc-cloud-image-editor-activity');return _0x3ba3ac['append'](_0x280eea),()=>{_0x3ba3ac['replaceChildren']();};}}),_0x1d9120['on'](m4['FILE_UPLOAD_SUCCESS'],_0xbda8e3=>{if(!_0xbda8e3['isImage'])return;let _0x13b14b=_0x752d6e['config']['get']('cropPreset'),_0x499ca6=_0x752d6e['config']['get']('useCloudImageEditor'),_0x1d4f29=_0x752d6e['config']['get']('cloudImageEditorAutoOpen'),_0x53eb9b=_0x1d9120['v']['size'];_0x499ca6&&0x1===_0x53eb9b&&(_0x13b14b||_0x1d4f29)&&(_0x1d9120['setCurrentActivity']?.(D3['CLOUD_IMG_EDIT'],{'internalId':_0xbda8e3['internalId']}),_0x1d9120['setModalState']?.(!0x0));}))},_9={'id':'external-sources','setup':async({pluginApi:_0x542da8,uploaderApi:_0x5b01d5})=>{C2({'ExternalSource':u9}),_0x542da8['registry']['registerActivity']({'id':D3['EXTERNAL'],'render':t=>{let _0x3287d1=document['createElement']('uc-external-source');return t['append'](_0x3287d1),()=>{t['replaceChildren']();};}});for(let t of Object['values'](l6))_0x542da8['registry']['registerSource']({'id':t,'label':'src-type-'+t,'icon':t,'onSelect':()=>{_0x5b01d5['setCurrentActivity'](D3['EXTERNAL'],{'externalSourceType':t}),_0x5b01d5['setModalState'](!0x0);}});}},E9=()=>{let _0x6a0e13=[];return{'stack':_0x6a0e13,'promiseReadJpegChunks':t=>new Promise((_0x20b8fe,_0x4ed799)=>{let _0x4984b2=0x2,_0x2cce2a=(_0x121d44,_0x31aac2)=>{let _0x42384c=new FileReader();_0x42384c['addEventListener']('load',()=>{_0x31aac2(new DataView(_0x42384c['result']));}),_0x42384c['addEventListener']('error',_0x3e807a=>{_0x4ed799('Reader\x20error:\x20'+_0x3e807a);}),_0x42384c['readAsArrayBuffer'](_0x121d44);},_0x7ec16d=()=>_0x2cce2a(t['slice'](_0x4984b2,_0x4984b2+0x80),_0x273d03=>{let _0x5563c2,_0x23fa05,_0x41c2c5;for(_0x5563c2=_0x23fa05=0x0,_0x41c2c5=_0x273d03['byteLength'];_0x41c2c5>=0x0?_0x23fa05<_0x41c2c5:_0x23fa05>_0x41c2c5;_0x5563c2=_0x41c2c5>=0x0?++_0x23fa05:--_0x23fa05)if(0xff===_0x273d03['getUint8'](_0x5563c2)){_0x4984b2+=_0x5563c2;break;}_0x302f2e();}),_0x302f2e=()=>{let _0x510d3a=_0x4984b2;return _0x2cce2a(t['slice'](_0x4984b2,_0x4984b2+=0x4),_0x1618f2=>{if(0x4!==_0x1618f2['byteLength']||0xff!==_0x1618f2['getUint8'](0x0))return void _0x4ed799('Corrupted');let _0x3c5930=_0x1618f2['getUint8'](0x1);if(0xda===_0x3c5930)return void _0x20b8fe(!0x0);let _0x13d9d9=_0x1618f2['getUint16'](0x2)-0x2;return _0x2cce2a(t['slice'](_0x4984b2,_0x4984b2+=_0x13d9d9),_0x38908e=>{_0x38908e['byteLength']===_0x13d9d9?(_0x6a0e13['push']({'startPos':_0x510d3a,'length':_0x13d9d9,'marker':_0x3c5930,'view':_0x38908e}),_0x7ec16d()):_0x4ed799('Corrupted');});});};FileReader&&DataView||_0x4ed799('Not\x20Support'),_0x2cce2a(t['slice'](0x0,0x2),_0x174fed=>{0xffd8!==_0x174fed['getUint16'](0x0)&&_0x4ed799('Not\x20jpeg'),_0x7ec16d();});})};},T9=async _0x33cb89=>{let _0xe9408e=[],{promiseReadJpegChunks:t,stack:_0x446902}=E9();return await t(_0x33cb89),_0x446902['forEach'](({marker:_0x258945,view:_0x5bace6})=>{0xe2===_0x258945&&0x4943435f===_0x5bace6['getUint32'](0x0)&&0x50524f46===_0x5bace6['getUint32'](0x4)&&0x494c4500===_0x5bace6['getUint32'](0x8)&&_0xe9408e['push'](_0x5bace6);}),_0xe9408e;},A9=async(_0x572c0e,_0x1ae442,t)=>{{let _0x156425=[],_0x374df2=[],{promiseReadJpegChunks:_0x4fb82e,stack:_0x542da7}=E9();await _0x4fb82e(_0x572c0e),_0x542da7['forEach'](_0x649670=>{if(_0x649670['marker']===_0x1ae442)return _0x156425['push'](_0x649670['startPos']),_0x374df2['push'](_0x649670['length']);});let _0x5a254d=[_0x572c0e['slice'](0x0,0x2)];for(let _0x5adf7e of t){let _0x416409=new DataView(new ArrayBuffer(0x4));_0x416409['setUint16'](0x0,0xff00+_0x1ae442),_0x416409['setUint16'](0x2,_0x5adf7e['byteLength']+0x2),_0x5a254d['push'](_0x416409['buffer']),_0x5a254d['push'](_0x5adf7e);}let _0x3ce413=0x2;for(let _0x40b157=0x0;_0x40b157<_0x156425['length'];_0x40b157++)_0x156425[_0x40b157]>_0x3ce413&&_0x5a254d['push'](_0x572c0e['slice'](_0x3ce413,_0x156425[_0x40b157])),_0x3ce413=_0x156425[_0x40b157]+_0x374df2[_0x40b157]+0x4;return _0x5a254d['push'](_0x572c0e['slice'](_0x3ce413,_0x572c0e['size'])),new Blob(_0x5a254d,{'type':_0x572c0e['type']});}},S9=(_0x17ed4c,_0x5cb383)=>A9(_0x17ed4c,0xe2,_0x5cb383['map'](t=>t['buffer'])),I9=()=>{let _0x2a3381=document['createElement']('canvas');return{'canvas':_0x2a3381,'ctx':_0x2a3381['getContext']('2d')};},k9=async _0x2f147c=>{let _0x1af373=null,{promiseReadJpegChunks:t,stack:_0x3e6c2a}=E9();return await t(_0x2f147c),_0x3e6c2a['forEach'](({marker:_0x4ca022,view:_0xea69d5})=>{!_0x1af373&&0xe1===_0x4ca022&&_0xea69d5['byteLength']>=0xe&&0x45786966===_0xea69d5['getUint32'](0x0)&&0x0===_0xea69d5['getUint16'](0x4)&&(_0x1af373=_0xea69d5);}),_0x1af373;},x9=_0x8dc0f=>((_0x648d04,_0x18cb30)=>new Promise((t,_0xbac1f4)=>{_0x18cb30&&(_0x648d04['src']=_0x18cb30),_0x648d04['complete']?t(_0x648d04):(_0x648d04['addEventListener']('load',()=>{t(_0x648d04);}),_0x648d04['addEventListener']('error',()=>{_0xbac1f4(new Error('Failed\x20to\x20load\x20image.\x20Probably\x20not\x20an\x20image.'));}));}))(new Image(),_0x8dc0f),C9=[0x1,0x3],R9=[0xc0,0xc1,0xc2,0xc3,0xc5,0xc6,0xc7,0xc9,0xca,0xcb,0xcd,0xce,0xcf],P9={'squareSide':[Math['floor'](Math['sqrt'](0x4c4b40)),0x1000,0x2000,0x2bac,0x2a54,0x2c8a,0x376c,0x4000],'dimension':[0x1000,0x2000,0x4000,0x7fff,0xffff]},M9=(_0x39bfde,_0x3c1fb4)=>{let t={};return(..._0x2b60f9)=>{let _0x1118fb=_0x3c1fb4(_0x2b60f9,t);return _0x1118fb in t?t[_0x1118fb]:t[_0x1118fb]=_0x39bfde(..._0x2b60f9);};},N9=(_0x56a01a,_0x261b55)=>{let [t]=_0x56a01a,_0x1fa885=Object['keys'](_0x261b55)['map'](_0xe07138=>parseInt(_0xe07138,0xa))['sort']((_0x1de2b5,_0x186a0a)=>_0x1de2b5-_0x186a0a);for(let _0x49c257=0x0;_0x49c257<_0x1fa885['length'];_0x49c257++){let _0x937ab4=_0x1fa885[_0x49c257],_0x5243f6=!!_0x261b55[_0x937ab4];if(_0x937ab4>t&&_0x5243f6||_0x937ab4<t&&!_0x5243f6)return _0x937ab4;}return t;},L9=0x37,$9=0x6e,D9=0xa5,Q9=0xff,j9='rgba('+L9+',\x20'+$9+',\x20'+D9+',\x20'+Q9/0xff+')',U9=(_0x52e894,_0x452e7f)=>{try{let t=[_0x52e894-0x1,_0x452e7f-0x1,0x1,0x1],{canvas:_0x297d2e,ctx:_0x5554cc}=I9();_0x297d2e['width']=0x1,_0x297d2e['height']=0x1;let {canvas:_0x2785b7,ctx:_0x4a4cf5}=I9();_0x2785b7['width']=_0x52e894,_0x2785b7['height']=_0x452e7f,_0x4a4cf5&&(_0x4a4cf5['fillStyle']=j9,_0x4a4cf5['fillRect'](...t),_0x5554cc['drawImage'](_0x2785b7,_0x52e894-0x1,_0x452e7f-0x1,0x1,0x1,0x0,0x0,0x1,0x1));let _0x1e0534=_0x5554cc&&_0x5554cc['getImageData'](0x0,0x0,0x1,0x1)['data'],_0x3e6ff8=!0x1;return _0x1e0534&&(_0x3e6ff8=_0x1e0534[0x0]===L9&&_0x1e0534[0x1]===$9&&_0x1e0534[0x2]===D9&&_0x1e0534[0x3]===Q9),_0x2785b7['width']=_0x2785b7['height']=0x1,_0x3e6ff8;}catch{return console['error']('Failed\x20to\x20test\x20for\x20max\x20canvas\x20size\x20of\x20'+_0x52e894+'x'+_0x452e7f+'.'),!0x1;}};function V9(_0x30a96a){return(..._0x14feb7)=>new Promise(t=>{setTimeout(()=>{t(_0x30a96a(..._0x14feb7));},0x0);});}var B9=V9(M9(U9,N9)),F9=V9(M9(U9,N9)),H9=async(_0x128ed6,_0x212e84)=>{let t=P9['squareSide']['find'](_0x28dac9=>_0x28dac9*_0x28dac9>=_0x128ed6*_0x212e84),_0x22b254=P9['dimension']['find'](_0x25626b=>_0x25626b>=_0x128ed6&&_0x25626b>=_0x212e84);if(!t||!_0x22b254)throw new Error('Not\x20supported');let [_0x173a10,_0x38316d]=await Promise['all']([B9(t,t),F9(_0x22b254,0x1)]);if(_0x173a10&&_0x38316d)return!0x0;throw new Error('Not\x20supported');},Z9=async(_0x5014aa,_0x36bd56,t)=>{try{let {ctx:_0x47d0cc,canvas:_0x546d11}=I9();return _0x546d11['width']=_0x36bd56,_0x546d11['height']=t,_0x47d0cc['imageSmoothingQuality']='high',_0x47d0cc['drawImage'](_0x5014aa,0x0,0x0,_0x36bd56,t),_0x5014aa instanceof HTMLImageElement&&(_0x5014aa['src']='//:0'),_0x5014aa instanceof HTMLCanvasElement&&(_0x5014aa['width']=_0x5014aa['height']=0x1),_0x546d11;}catch(_0x329476){throw new Error('Canvas\x20resize\x20error',{'cause':_0x329476});}},G9=({img:_0xbbf643,sourceW:_0x5ca751,targetW:t,targetH:_0x40da00,step:_0x3ff283})=>{let _0x7ea82e=function({sourceW:_0x2d83ce,targetW:_0x45379f,targetH:t,step:_0x38fae0}){let _0x4c40f8=[],_0x4cf923=_0x45379f,_0x1ce18a=t;do{_0x4c40f8['push']([_0x4cf923,_0x1ce18a]),_0x4cf923=Math['round'](_0x4cf923/_0x38fae0),_0x1ce18a=Math['round'](_0x1ce18a/_0x38fae0);}while(_0x4cf923<_0x2d83ce*_0x38fae0);return _0x4c40f8['reverse']();}({'sourceW':_0x5ca751,'targetW':t,'targetH':_0x40da00,'step':_0x3ff283});return _0x7ea82e['reduce']((_0x26f78a,[_0x1ade6d,_0x295f44],_0x4cdd02)=>_0x26f78a['then'](_0x2302d4=>H9(_0x1ade6d,_0x295f44)['then'](()=>Z9(_0x2302d4,_0x1ade6d,_0x295f44))['catch'](()=>{if(_0x4cdd02===_0x7ea82e['length']-0x1)throw new Error('Not\x20supported');return _0x2302d4;})),Promise['resolve'](_0xbbf643));},X9=navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform']),q9=0.71,W9=(_0x2dcef7,_0x3ae1f3)=>{if(_0x2dcef7['width']*q9*_0x2dcef7['height']*q9<_0x3ae1f3['size'])throw new Error('Not\x20required');let t=_0x2dcef7['width'],_0x18e3e1=t/_0x2dcef7['height'],_0x245d9d=Math['floor'](Math['sqrt'](_0x3ae1f3['size']*_0x18e3e1)),_0xc70ba4=Math['floor'](_0x3ae1f3['size']/Math['sqrt'](_0x3ae1f3['size']*_0x18e3e1));return H9(_0x245d9d,_0xc70ba4)['then'](()=>{let {ctx:_0x3a6f58}=I9();return!('imageSmoothingQuality'in _0x3a6f58)||/iPad|iPhone|iPod/['test'](navigator['platform'])||navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform'])||X9?G9({'img':_0x2dcef7,'sourceW':t,'targetW':_0x245d9d,'targetH':_0xc70ba4,'step':q9}):(({img:_0x4fc8b1,targetW:_0x22db60,targetH:t})=>Z9(_0x4fc8b1,_0x22db60,t))({'img':_0x2dcef7,'targetW':_0x245d9d,'targetH':_0xc70ba4});})['catch'](()=>Promise['reject']('Not\x20supported'));},z9=async(_0x2ffca8,_0x24a005)=>{try{if(await(async _0x2370f3=>{let _0x3564=!0x1,{promiseReadJpegChunks:t,stack:_0x30eebb}=E9();return await t(_0x2370f3)['then'](()=>(_0x30eebb['forEach'](({marker:_0x16ca61,view:_0x2cfc83})=>{if(!_0x3564&&R9['indexOf'](_0x16ca61)>=0x0){let _0x48c9b4=_0x2cfc83['getUint8'](0x5);C9['indexOf'](_0x48c9b4)<0x0&&(_0x3564=!0x0);}}),_0x3564))['catch'](()=>_0x3564);})(_0x2ffca8))throw new Error('Should\x20skipped');let _0x39a45d=await Promise['allSettled']([k9(_0x2ffca8),new Promise(_0x5563a5=>{if(void 0x0!==y9)_0x5563a5(y9);else{let _0x30b6ec=new Image();_0x30b6ec['addEventListener']('load',()=>{y9=_0x30b6ec['naturalWidth']<_0x30b6ec['naturalHeight'],_0x30b6ec['src']='//:0',_0x5563a5(y9);}),_0x30b6ec['src']='data:image/jpg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4QA6RXhpZgAATU0AKgAAAAgAAwESAAMAAAABAAYAAAEoAAMAAAABAAIAAAITAAMAAAABAAEAAAAAAAD/2wBDAP//////////////////////////////////////////////////////////////////////////////////////wAALCAABAAIBASIA/8QAJgABAAAAAAAAAAAAAAAAAAAAAxABAAAAAAAAAAAAAAAAAAAAAP/aAAgBAQAAPwBH/9k=';}}),T9(_0x2ffca8)]),_0x61bac8=!_0x39a45d['some'](_0x37fd4d=>'rejected'===_0x37fd4d['status']),[_0x40e2a3,_0x52cefd,_0x2f1b99]=_0x39a45d,_0x5bea1a=await(async _0x1cc4c9=>{try{return await S9(_0x1cc4c9,[]);}catch(_0x3342c2){throw new Error('Failed\x20to\x20strip\x20ICC\x20profile:\x20'+_0x3342c2);}})(_0x2ffca8)['catch'](()=>_0x2ffca8),_0x35d6c4=await x9(URL['createObjectURL'](_0x5bea1a));URL['revokeObjectURL'](_0x35d6c4['src']);let _0x1a4d7c=await W9(_0x35d6c4,_0x24a005),_0x562286='image/jpeg',_0x31ad66=_0x24a005?.['quality']||0.8;!_0x61bac8&&(_0x3c1198=>{let {ctx:t,canvas:_0x28fc5f}=I9();_0x28fc5f['width']=_0x28fc5f['height']=0x32,t['drawImage'](_0x3c1198,0x0,0x0,0x32,0x32);let _0x18b04e=t['getImageData'](0x0,0x0,0x32,0x32)['data'];_0x28fc5f['width']=_0x28fc5f['height']=0x1;for(let _0x240ab1=0x3;_0x240ab1<_0x18b04e['length'];_0x240ab1+=0x4)if(_0x18b04e[_0x240ab1]<0xfe)return!0x0;return!0x1;})(_0x1a4d7c)&&(_0x562286='image/png',_0x31ad66=void 0x0);let _0x295cfe=await((_0x10ad82,_0x87a905,t)=>new Promise((_0x204b14,_0x5ced2d)=>{_0x10ad82['toBlob'](_0x4bef91=>{_0x4bef91?_0x204b14(_0x4bef91):_0x5ced2d('Failed\x20to\x20convert\x20canvas\x20to\x20blob');},_0x87a905,t),_0x10ad82['width']=_0x10ad82['height']=0x1;}))(_0x1a4d7c,_0x562286,_0x31ad66);if(_0x61bac8&&'fulfilled'===_0x40e2a3['status']&&_0x40e2a3['value']){let _0x22b59b=_0x40e2a3['value'],_0x473846='fulfilled'===_0x52cefd['status']&&_0x52cefd['value'];_0x295cfe=await(async(_0x499b81,_0x502692,t)=>(t&&((_0x516fe4,_0x33341c)=>{((_0x532ba3,_0x3fe5a5)=>{let t,_0x3b377a,_0x373bc4,_0x235555;if(_0x532ba3&&!(_0x532ba3['byteLength']<0xe)&&0x45786966===_0x532ba3['getUint32'](0x0)&&0x0===_0x532ba3['getUint16'](0x4)){if(0x4949===_0x532ba3['getUint16'](0x6))_0x3b377a=!0x0;else{if(0x4d4d!==_0x532ba3['getUint16'](0x6))return;_0x3b377a=!0x1;}if(0x2a===_0x532ba3['getUint16'](0x8,_0x3b377a))for(_0x373bc4=0x8+_0x532ba3['getUint32'](0xa,_0x3b377a),t=0x0,_0x235555=_0x532ba3['getUint16'](_0x373bc4-0x2,_0x3b377a);_0x235555>=0x0?t<_0x235555:t>_0x235555;_0x235555>=0x0?++t:--t){if(_0x532ba3['byteLength']<_0x373bc4+0xa)return;0x112===_0x532ba3['getUint16'](_0x373bc4,_0x3b377a)&&_0x3fe5a5(_0x373bc4+0x8,_0x3b377a),_0x373bc4+=0xc;}}})(_0x516fe4,(t,_0x6b192a)=>_0x516fe4['setUint16'](t,_0x33341c,_0x6b192a));})(_0x502692,0x1),A9(_0x499b81,0xe1,[_0x502692['buffer']])))(_0x295cfe,_0x22b59b,_0x473846);}return _0x61bac8&&'fulfilled'===_0x2f1b99['status']&&_0x2f1b99['value']['length']>0x0&&(_0x295cfe=await S9(_0x295cfe,_0x2f1b99['value'])),_0x295cfe;}catch(_0x28473f){let _0x15fed3;throw _0x28473f instanceof Error&&(_0x15fed3=_0x28473f['message']),'string'==typeof _0x28473f&&(_0x15fed3=_0x28473f),new Error('Failed\x20to\x20shrink\x20image.\x20'+(_0x15fed3?'Message:\x20\x22'+_0x15fed3+'\x22.':''),{'cause':_0x28473f});}},Y9=/^([0-9]+)x([0-9]+)(?:\s+(\d{1,2}|100)%)?$/i,K9={'id':'image-shrink','setup'({pluginApi:_0x226d24}){_0x226d24['registry']['registerFileHook']({'type':'beforeUpload','handler':async({file:_0x1460e5})=>{let t=_0x226d24['config']['get']('imageShrink');if(!t)return{'file':_0x1460e5};let _0x1989ba=(_0x14df48=>{if('string'!=typeof _0x14df48)return!0x1;let _0x33607d=Y9['exec'](_0x14df48['toLocaleLowerCase']())??[];if(0x0===_0x33607d['length'])return!0x1;let t=Number(_0x33607d[0x1])*Number(_0x33607d[0x2]),_0x1b5b88=0x10000000;return t>_0x1b5b88?(console['warn']('Shrinked\x20size\x20can\x20not\x20be\x20larger\x20than\x20'+Math['floor'](268.435456)+'MP.\x20You\x20have\x20set\x20'+_0x33607d[0x1]+'x'+_0x33607d[0x2]+'\x20('+Math['ceil'](t/0x3e8/0x64)/0xa+'MP).'),!0x1):{'quality':_0x33607d[0x3]?Number(_0x33607d[0x3])/0x64:void 0x0,'size':t};})(t);if(!_0x1989ba)return console['warn']('[ImageShrinkPlugin]\x20Image\x20shrink\x20settings\x20are\x20invalid,\x20skipping\x20shrinking'),{'file':_0x1460e5};try{return{'file':await z9(_0x1460e5,_0x1989ba)};}catch{return{'file':_0x1460e5};}}});}},J9={'id':'instagram','setup'({pluginApi:_0x3c2ddd}){_0x3c2ddd['registry']['registerSource']({'id':'instagram','label':'src-type-instagram','icon':'instagram','expand':()=>(console['error']('Instagram\x20source\x20was\x20removed\x20because\x20the\x20Instagram\x20Basic\x20Display\x20API\x20hasn\x27t\x20been\x20available\x20since\x20December\x204,\x202024.\x20Official\x20statement,\x20see\x20here:\x20https://developers.facebook.com/blog/post/2024/09/04/update-on-instagram-basic-display-api/?locale=en_US'),[]),'onSelect':()=>{}});}},ttt={'id':u6['LOCAL'],'setup':({pluginApi:_0x5bec7a,uploaderApi:_0x243fe2})=>{_0x5bec7a['registry']['registerSource']({'id':u6['LOCAL'],'label':'src-type-local','icon':'local','onSelect':()=>{_0x243fe2['openSystemDialog']();}});}},ett={'id':'url-source','setup':async({pluginApi:_0x19850c,uploaderApi:_0x4a0d5d})=>{C2({'UrlSource':e9}),_0x19850c['registry']['registerActivity']({'id':D3['URL'],'render':t=>{let _0x210e38=document['createElement']('uc-url-source');return t['append'](_0x210e38),()=>{t['replaceChildren']();};}}),_0x19850c['registry']['registerSource']({'id':'url','label':'src-type-from-url','icon':'url','onSelect':()=>{_0x4a0d5d['setCurrentActivity'](D3['URL']),_0x4a0d5d['setModalState'](!0x0);}});}},itt=[{'configDeps':['useCloudImageEditor'],'isEnabled':_0xaedec6=>!!_0xaedec6('useCloudImageEditor'),'load':()=>v9},{'configDeps':['imageShrink'],'isEnabled':_0x13e7f8=>!!_0x13e7f8('imageShrink'),'load':()=>K9},{'configDeps':['sourceList'],'isEnabled':_0x2f04cb=>j2(_0x2f04cb('sourceList'))['includes'](u6['LOCAL']),'load':()=>ttt},{'configDeps':['sourceList'],'isEnabled':_0x443fbb=>j2(_0x443fbb('sourceList'))['includes'](u6['CAMERA']),'load':()=>w9},{'configDeps':['sourceList'],'isEnabled':_0x53b50e=>j2(_0x53b50e('sourceList'))['includes']('instagram'),'load':()=>J9},{'configDeps':['sourceList'],'isEnabled':_0x5e9a98=>Object['values'](l6)['some'](_0x2afe5b=>j2(_0x5e9a98('sourceList'))['includes'](_0x2afe5b)),'load':()=>_9},{'configDeps':['sourceList'],'isEnabled':_0x5dec70=>j2(_0x5dec70('sourceList'))['includes'](u6['URL']),'load':()=>ett}],stt=class extends $4{constructor(){super(),this['headless']=!0x1,this['init$']={...this['init$']};}static{this['lazyPlugins']=itt;}static{this['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-regular'];}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':f4['INIT_SOLUTION']});}['render'](){return Z1` ${super['render']()}<uc-simple-btn ?hidden=${this['headless']}></uc-simple-btn><uc-modal id="start-from" strokes block-body-scrolling><uc-start-from><uc-drop-area with-icon clickable></uc-drop-area><uc-source-list role="list" wrap></uc-source-list><button type="button" class="uc-secondary-btn" @click=${this['$']['*historyBack']}>${this['l10n']('start-from-cancel')}</button><uc-copyright></uc-copyright></uc-start-from></uc-modal><uc-modal id="upload-list" strokes block-body-scrolling><uc-upload-list></uc-upload-list></uc-modal><uc-plugin-activity-renderer mode="modal"></uc-plugin-activity-renderer>`;}};z0([_2({'type':Boolean})],stt['prototype'],'headless',0x2);var ntt=class extends $4{constructor(){super(),this['Tc']=!0x1,this['Ee']=()=>{if(this['Ec']){let t=this['$']['*historyBack'];return void t?.();}this['xc']&&(this['$']['*currentActivity']=Q6['activities']['UPLOAD_LIST']);},this['init$']={...this['init$']};}static{this['lazyPlugins']=itt;}static{this['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-inline'];}get['Ec'](){let t=this['$']['*history'];return!(!t||t['length']<=0x1)&&t[t['length']-0x1]!==Q6['activities']['START_FROM'];}get['xc'](){let t=this['$']['*uploadList'];return this['cfg']['showEmptyList']||Array['isArray'](t)&&t['length']>0x0;}['Hs'](){return this['getCssData']('--cfg-init-activity')||Q6['activities']['START_FROM'];}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':f4['INIT_SOLUTION']});let t=this['Hs']();this['sub']('*currentActivity',_0x389b8f=>{_0x389b8f||(this['$']['*currentActivity']=t);}),this['sub']('*uploadList',_0x42c2be=>{Array['isArray'](_0x42c2be)&&_0x42c2be['length']>0x0&&this['$']['*currentActivity']===t&&(this['$']['*currentActivity']=Q6['activities']['UPLOAD_LIST']);}),this['sub']('*history',()=>{this['Tc']=this['Ec']||this['xc'];});}['render'](){return Z1` ${super['render']()}<uc-start-from><uc-drop-area with-icon clickable></uc-drop-area><uc-source-list role="list" wrap></uc-source-list><button type="button" class="uc-cancel-btn uc-secondary-btn" @click=${this['Ee']} ?hidden=${!this['Tc']} >${this['l10n']('start-from-cancel')}</button><uc-copyright></uc-copyright></uc-start-from><uc-upload-list></uc-upload-list><uc-plugin-activity-renderer mode="inline"></uc-plugin-activity-renderer>`;}};z0([E2()],ntt['prototype'],'Tc',0x2);var rtt='active',ott=class extends $4{constructor(){super(),this['Ks']=!0x1,this['Vr']=!0x1,this['_r']='',this['js']='',this['ui']='choose-file',this['si']=t=>{t['id']===Q6['activities']['CLOUD_IMG_EDIT']&&(this['_r']=rtt),this['$']['*currentActivity']===Q6['activities']['UPLOAD_LIST']&&(this['_r']=rtt,this['Vr']=!0x0);let _0xd4146c=this['$']['*uploadList'];(!_0xd4146c||_0xd4146c['length']<=0x0)&&(this['js']=rtt);},this['ni']=t=>{t['id']===this['$']['*currentActivity']&&(this['$']['*currentActivity']=Q6['activities']['UPLOAD_LIST'],this['Vr']=!0x1),t['id']===Q6['activities']['CLOUD_IMG_EDIT']&&(this['$']['*currentActivity']=Q6['activities']['UPLOAD_LIST']);},this['init$']={...this['init$']};}static{this['lazyPlugins']=itt;}static{this['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-minimal'];}['Hs'](){return this['getCssData']('--cfg-init-activity')||Q6['activities']['START_FROM'];}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':f4['INIT_SOLUTION']});let t=this['Hs']();this['sub']('*currentActivity',_0xd3a94d=>{_0xd3a94d===Q6['activities']['UPLOAD_LIST']&&this['modalManager']?.['closeAll'](),_0xd3a94d||(this['$']['*currentActivity']=t);}),this['sub']('*uploadList',_0x4d1548=>{Array['isArray'](_0x4d1548)&&_0x4d1548['length']>0x0?(this['$']['*currentActivity']=Q6['activities']['UPLOAD_LIST'],this['js']=''):(this['_r']='',this['Vr']=!0x1,this['$']['*currentActivity']=t);}),this['subConfigValue']('confirmUpload',_0x8b1653=>{!0x1!==_0x8b1653&&(this['cfg']['confirmUpload']=!0x1);}),this['subConfigValue']('filesViewMode',_0x113b69=>{this['setAttribute']('mode',_0x113b69),this['subConfigValue']('multiple',_0x5ae622=>{'grid'===_0x113b69?(_0x5ae622?this['style']['removeProperty']('--uc-grid-col'):this['style']['setProperty']('--uc-grid-col','1'),this['Ks']=!_0x5ae622):(this['style']['removeProperty']('--uc-grid-col'),this['Ks']=!0x1);});}),this['subConfigValue']('multiple',_0x4f0b6=>{this['ui']=_0x4f0b6?'choose-files':'choose-file';}),this['modalManager']?.['subscribe'](E5['OPEN'],this['si']),this['modalManager']?.['subscribe'](E5['CLOSE'],this['ni']);}['disconnectedCallback'](){super['disconnectedCallback'](),this['modalManager']?.['unsubscribe'](E5['OPEN'],this['si']),this['modalManager']?.['unsubscribe'](E5['CLOSE'],this['ni']);}['render'](){return Z1` ${super['render']()}<uc-start-from ?hidden=${this['Vr']} class=${this['js']}><uc-drop-area ?single=${this['Ks']} initflow clickable tabindex="0" ><span>${this['l10n'](this['ui'])}</span></uc-drop-area><uc-copyright></uc-copyright></uc-start-from><uc-upload-list class=${this['_r']}></uc-upload-list><uc-modal id="start-from" strokes block-body-scrolling><uc-start-from><uc-drop-area with-icon clickable></uc-drop-area><uc-source-list role="list" wrap></uc-source-list><button type="button" class="uc-secondary-btn" @click=${this['$']['*historyBack']} >${this['l10n']('start-from-cancel')}</button></uc-start-from></uc-modal><uc-plugin-activity-renderer mode="modal"></uc-plugin-activity-renderer>`;}};z0([E2()],ott['prototype'],'Ks',0x2),z0([E2()],ott['prototype'],'Vr',0x2),z0([E2()],ott['prototype'],'_r',0x2),z0([E2()],ott['prototype'],'js',0x2),z0([E2()],ott['prototype'],'ui',0x2);var att=class extends _0x36b920{static get['requires'](){return[Z0,kJ];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2b2fd2){super(_0x2b2fd2),_0x2b2fd2['config']['define']('uploadcare.uploader.sourceList',['local','url']),C2(G0),this['_defineLocale']();}['_defineLocale'](){const _0x69cd77=this['editor']['config']['get']('uploadcare.locale'),_0x38d271=this['editor']['locale']['contentLanguage'];_0x69cd77&&D2(_0x38d271,_0x69cd77);}},ctt=class extends _0x2df468{constructor(_0xf4e046){super(_0xf4e046);const t=_0xf4e046['t'],_0x29adf=this['bindTemplate'],_0x1f2d7b=new _0x5812ef();_0x1f2d7b['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':[_0x1f2d7b,{'text':_0x29adf['to']('imageUploadProgress',_0x5a6655=>t('Loading\x20image...')+'\x20('+(_0x5a6655||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'}]}]}]});}},ltt=class extends _0x2df468{constructor(_0x38a7fe){super(_0x38a7fe);const t=_0x38a7fe['t'];this['set']('errorType',null);const _0x2fb364=new _0x47ddb0(_0x38a7fe);_0x2fb364['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2fb364['withText']=!0x0,_0x2fb364['class']='ck-button-action',_0x2fb364['on']('execute',()=>{this['fire']('retry');}),_0x2fb364['bind']('isVisible')['to'](this,'errorType',_0x377059=>'NotFound'!==_0x377059);const _0x2d5d2f=new _0x5902c2();_0x2d5d2f['content']=_0x5a1064,_0x2d5d2f['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x310442=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':[_0x2d5d2f,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x310442['to']('errorType',_0x726047=>t('NotFound'!==_0x726047?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2fb364]},{'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'}]}]}]});}},htt=class extends _0x2df468{constructor(_0x2c9219,_0x3a6971){super(_0x2c9219);const _0x105e5d=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x3a6971,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x105e5d['to']('imageSrc')}});}},utt=class extends xJ{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x7470,_0x34af05,_0x1dacab){super(_0x7470),this['_items']=this['createCollection'](),this['_loadingView']=new ctt(_0x7470),this['_errorView']=new ltt(_0x7470),this['_editingView']=new htt(_0x7470,_0x1dacab),this['_focusableView']=new _0x2df468(_0x7470),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x34af05),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'],_0x162e78=>{this['_addUploadcareImageEditorListeners'](_0x162e78);});}),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'](_0x4ef198,_0x4886ab){const _0x5dc14b='uc-cloud-image-editor',_0x8e48da=_0x4ef198['querySelector'](_0x5dc14b);if(_0x8e48da)return _0x4886ab(_0x8e48da);const _0x34f7e8=new MutationObserver(_0x3f457c=>{const _0x19e186=_0x3f457c['filter'](_0x269c96=>_0x269c96['target']===_0x4ef198&&_0x269c96['addedNodes']['length']>0x0&&_0x269c96['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x5dc14b);_0x19e186['length']&&(_0x34f7e8['disconnect'](),_0x4886ab(_0x19e186[0x0]['addedNodes'][0x0]));});_0x34f7e8['observe'](_0x4ef198,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x246b41){_0x246b41['addEventListener']('apply',_0x3d0e57=>{this['fire']('apply',{'imageSrc':_0x3d0e57['detail']['cdnUrl']});}),_0x246b41['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}};const dtt=/* #__PURE__ -- @preserve */
_0x5b14e3();var ftt=class extends dtt{['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0xd8cf73,_0x141762,_0x1468f0){super(),this['_editor']=_0xd8cf73,this['_dialog']=_0x141762,this['_imageElement']=_0x1468f0,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 _0x4262d9=this['_imageElement'],_0x1638ed=_0x4262d9['getAttribute']('uploadcareImageId'),_0x3e8177=_0x4262d9['getAttribute']('src');if(_0x1638ed)await this['_loadImageInfo'](_0x1638ed,_0x3e8177);else{if(this['_imageCache']['has'](_0x3e8177)){const _0x2dee78=this['_imageCache']['get'](_0x3e8177);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2dee78['url'],this['imageDimension']=_0x2dee78['dimension'],this['imageId']=_0x2dee78['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3d24ad}=this['_editor'],t=_0x3d24ad['t'],_0x1396db=new utt(_0x3d24ad,this['imageStatus'],this['_attributes']);_0x1396db['bind']('status')['to'](this,'imageStatus'),_0x1396db['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1396db['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1396db['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1396db,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4543c5,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1396db,'position':_0x41f24f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1396db['focus']();},'onHide':()=>{_0x1396db['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x70c357=>!LJ(_0x70c357,_0x1396db['element'])}});}['_loadImageInfo'](_0x8c47f8,_0x303bdd){return B0['getInfo'](_0x8c47f8,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0xd01e12=>{const {width:_0xaf760e,height:_0x2d3a78}=_0xd01e12['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x303bdd,this['imageDimension']={'width':_0xaf760e,'height':_0x2d3a78},this['imageId']=_0x8c47f8;})['catch'](_0x13974b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x13974b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x16642d,_0x26c1e1){return this['_getImageAsFile'](_0x16642d)['then'](_0x21bb0e=>B0['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':_0x26c1e1['signal'],'file':_0x21bb0e,'onProgress':_0x2657e1=>{_0x2657e1&&_0x2657e1['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2657e1['value']));}}))['then'](_0x164fe6=>{const {width:_0x158545,height:_0x11a1bc}=_0x164fe6['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x164fe6['cdnUrl'],this['imageDimension']={'width':_0x158545,'height':_0x11a1bc},this['imageId']=_0x164fe6['uuid'],this['imageUploadProgress']=null;const _0x13f807=_0x16642d['getAttribute']('src');this['_imageCache']['set'](_0x13f807,{'id':_0x164fe6['uuid'],'url':_0x164fe6['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x23ff0a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x23ff0a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3eb6d4,_0x191452){_0x3eb6d4['on']('apply',(_0x5aac0b,_0x2d8d84)=>{this['_replaceImage'](_0x191452,_0x2d8d84['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3eb6d4['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3eb6d4['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x70b203,_0x8bd07,_0x20d728){const _0x5d44ac=this['_editor'],{width:_0x37e750,height:_0x74c9cc}=PJ(_0x8bd07,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x163729,imageSources:_0x3bee83}=RJ(_0x8bd07,_0x37e750);_0x5d44ac['model']['change'](_0xb2fb34=>{if('$graveyard'!==_0x70b203['root']['rootName'])_0xb2fb34['setSelection'](_0x70b203,'on'),_0x5d44ac['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x70b203['getAttributes']()),'uploadcareImageId':_0x20d728,'src':_0x163729,'sources':_0x3bee83,'width':_0x37e750,'height':_0x74c9cc},_0x70b203);else{_0x5d44ac['execute']('insertImage',{'imageType':_0x70b203['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x70b203['getAttributes']()),'uploadcareImageId':_0x20d728,'src':_0x163729,'sources':_0x3bee83,'width':_0x37e750,'height':_0x74c9cc}});const _0x56f1e8=_0x70b203['getChildren']();_0x70b203=_0x5d44ac['model']['document']['selection']['getSelectedElement']();for(const _0x49bcbe of _0x56f1e8)_0xb2fb34['append'](_0xb2fb34['cloneElement'](_0x49bcbe),_0x70b203);}_0xb2fb34['setSelection'](_0x70b203,'on');});}async['_getImageAsFile'](_0x7ad88b){const _0x20ee58=_0x22955f['window'],_0x830c50=_0x22955f['document']['location']['href'],_0x8c74fb=new _0x20ee58['URL'](_0x7ad88b['getAttribute']('src'),_0x830c50);if('data:'===_0x8c74fb['protocol']){const _0x18a323=_0x8c74fb['href']['split'](','),_0x3fa3f6=_0x18a323[0x0]['match'](/:(.*?);/)[0x1],_0x296da6=_0x3fa3f6['split']('/')[0x1],_0xfd972b=_0x20ee58['atob'](_0x18a323[_0x18a323['length']-0x1]);let _0x327ad5=_0xfd972b['length'];const _0xcd97fd=new _0x20ee58['Uint8Array'](_0x327ad5);for(;_0x327ad5--;)_0xcd97fd[_0x327ad5]=_0xfd972b['charCodeAt'](_0x327ad5);return new _0x20ee58['File']([_0xcd97fd],'image.'+_0x296da6,{'type':_0x3fa3f6});}const _0x4e9e70=_0x8c74fb['href']['split']('/'),_0x1fbd18=_0x4e9e70[_0x4e9e70['length']-0x1],_0x32beaf=_0x1fbd18['split']('.')[0x1];return _0x20ee58['fetch'](_0x8c74fb['href'])['then'](_0x3f95fe=>_0x3f95fe['clone']()['blob']())['then'](_0x4b526b=>new _0x20ee58['File']([_0x4b526b],_0x1fbd18,{'type':'image/'+_0x32beaf}));}},mtt=class extends _0x32be70{['imageEditController'];static get['requires'](){return[_0x5cd402];}['_isEditable'];constructor(_0x4774f3){super(_0x4774f3),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x749ca2){const _0x5bca4c=NJ(_0x749ca2);return _0x2ed0cd=>!(!_0x2ed0cd||!_0x2ed0cd['is']('element','imageBlock')&&!_0x2ed0cd['is']('element','imageInline'))&&(!!_0x2ed0cd['hasAttribute']('uploadcareImageId')||!!_0x2ed0cd['hasAttribute']('src')&&_0x5bca4c(_0x2ed0cd['getAttribute']('src')));}(_0x4774f3['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x57a80e=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x57a80e);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x85db6b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x85db6b&&(_0x85db6b['is']('element','imageBlock')||_0x85db6b['is']('element','imageInline'))&&(this['imageEditController']=new ftt(this['editor'],this['editor']['plugins']['get'](_0x5cd402),_0x85db6b),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}},ptt=class extends _0x32be70{['refresh'](){const _0x56ddd1=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x56ddd1&&(_0x56ddd1['is']('element','imageBlock')||_0x56ddd1['is']('element','imageInline')));}['execute'](_0x5ab051){const _0x2a1a13=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x224fc7=>{_0x224fc7['setAttributes'](_0x5ab051,_0x2a1a13),_0x224fc7['removeAttribute']('srcset',_0x2a1a13),_0x224fc7['removeAttribute']('sizes',_0x2a1a13);});}},gtt=class extends _0x36b920{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[Z0,_0x5bbd4b,_0x5c2c32,_0x3fac71];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x355bd4}=this;_0x355bd4['commands']['add']('uploadcareImageEdit',new mtt(_0x355bd4)),_0x355bd4['commands']['add']('uploadcareImageReplace',new ptt(_0x355bd4));}},Ott=class extends _0x36b920{['_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 _0x5797cd=this['editor'];_0x5797cd['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3dc0cf=>{const _0x4f246d=_0x5797cd['commands']['get']('uploadcareImageEdit'),_0x33c6a0=new _0x47ddb0(_0x3dc0cf),t=_0x3dc0cf['t'];return _0x33c6a0['set']({'icon':_0x4543c5,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x33c6a0['bind']('isEnabled')['to'](_0x4f246d),_0x33c6a0['bind']('isOn')['to'](_0x4f246d,'isActive'),this['listenTo'](_0x33c6a0,'execute',()=>{_0x5797cd['execute']('uploadcareImageEdit'),_0x5797cd['editing']['view']['focus']();}),_0x33c6a0;}),this['_initConfig']();}['_initConfig'](){const _0x4f3431=_0x1a6ae6(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4f3431),this['listenTo'](this['editor'],'destroy',()=>{_0x4f3431['remove']();});}},wtt=class extends _0x36b920{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[gtt,Ott];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{Db as AIActions,er as AIAdapter,Uo as AIAssistant,Do as AIAssistantUI,cb as AIBalloon,Kw as AIChat,Og as AIChatController,LO as AIChatFeedCustomElementView,Yw as AIChatHistory,zw as AIChatHistoryController,Zw as AIChatHistoryUI,ug as AIChatInteraction,ib as AIChatShortcuts,Qw as AIChatUI,ea as AIConnector,Zp as AICoreError,Fp as AIDocumentProcessingGateway,Bp as AIDocumentProcessingRunResult,aa as AIEditing,fb as AIEditorIntegration,Xp as AIErrorReporter,Gp as AIErrorSink,Up as AIGateway,sg as AIInteraction,Qb as AIQuickActions,Ab as AIQuickActionsUI,tg as AIReply,ir as AIRequestError,gy as AIReviewCheck,cy as AIReviewCheckResult,hy as AIReviewCheckResultChange,dy as AIReviewCheckRun,xy as AIReviewGateway,Cy as AIReviewMode,my as AIReviewModeController,oy as AIReviewModeEditing,iy as AIReviewModeUI,ky as AIReviewRunResult,Vp as AIRunResult,Yo as AITabs,zo as AITabsMainView,Xo as AITabsView,Bo as AITextAdapter,nb as AIToggleButtonUI,By as AITranslate,$y as AITranslateController,Vy as AITranslateGateway,Uy as AITranslateRunResult,jy as AITranslateUI,Ho as AWSTextAdapter,DC as AcceptSuggestionCommand,Nv as AddCommentThreadCommand,yv as Annotation,_v as AnnotationCollection,i_ as AnnotationCounterButtonView,wv as AnnotationView,Av as Annotations,Yv as AnnotationsSidebarItemView,Wv as AnnotationsSidebarView,Xv as AnnotationsUIs,ga as AriaDescriptionView,hv as BaseCommentThreadView,mv as BaseCommentView,UP as BaseSuggestionThreadView,qy as CaseChange,Fy as CaseChangeCommand,Zy as CaseChangeEditing,Xy as CaseChangeUI,tM as CloudServicesCommentsAdapter,JM as CloudServicesRevisionHistoryAdapter,nM as CloudServicesTrackChangesAdapter,fa as CollaborationUserColor,Pv as Comment,Rv as CommentThread,zy as CommentThreadController,nv as CommentThreadInputView,dv as CommentThreadView,gv as CommentView,l_ as Comments,a_ as CommentsArchive,c_ as CommentsArchiveUI,Vv as CommentsEditing,ov as CommentsListView,Gv as CommentsOnly,Cv as CommentsRepository,Zv as CommentsUI,wd as ConfirmMixin,IT as CopyFormatCommand,Kd as DATA_ID_MODEL_ATTRIBUTE,Jd as DATA_ID_VIEW_ATTRIBUTE,QC as DiscardSuggestionCommand,tf as DocumentCompare,ef as DocumentDiff,O_ as DocumentOutline,p_ as DocumentOutlineUI,u_ as DocumentOutlineUtils,fJ as EditSourceCommand,Lv as EditorAnnotations,wE as EmailConfigurationHelper,A_ as EmailConfigurationLogger,oE as EmptyBlockEmailIntegration,ZC as ExecuteOnAllSuggestionsCommand,GC as ExecuteOnSelectedSuggestionsCommand,H_ as ExportInlineStyles,V_ as ExportInlineStylesCommand,F_ as ExportInlineStylesEditing,sE as ExportInlineStylesEmailIntegration,LE as ExportPdf,RE as ExportPdfCommand,BE as ExportWord,UE as ExportWordCommand,Cd as FOCUS_ANNOTATION_KEYSTROKE,aE as FontEmailIntegration,aT as Footnotes,iT as FootnotesClipboard,qE as FootnotesEditing,ET as FootnotesProperties,wT as FootnotesPropertiesEditing,_T as FootnotesPropertiesUI,dT as FootnotesStartCommand,uT as FootnotesStyleCommand,HE as FootnotesTracker,rT as FootnotesUI,MT as FormatPainter,xT as FormatPainterEditing,PT as FormatPainterUI,hE as GeneralHtmlIntegrationSupport,b_ as HeadingId,x_ as HighlightEmailIntegration,eE as ImageEmailIntegration,QT as ImportWord,$T as ImportWordCommand,DT as ImportWordEditing,LT as ImportWordUI,n_ as InlineAnnotations,XE as InsertFootnoteCommand,sA as InsertMergeFieldBlockCommand,iA as InsertMergeFieldCommand,nA as InsertMergeFieldImageCommand,Oa as LateFocusButtonView,wa as LateFocusDropdownButtonView,GT as LineHeight,jT as LineHeightCommand,HT as LineHeightEditing,FT as LineHeightTodoListIntegration,ZT as LineHeightUI,OE as LinkEmailIntegration,nE as ListEmailIntegration,lE as MarkdownEmailIntegration,iE as MathTypeEmailIntegration,mE as MediaEmbedEmailIntegration,gA as MergeFields,aA as MergeFieldsEditing,uE as MergeFieldsEmailIntegration,uA as MergeFieldsUI,eA as MultiLevelList,XT as MultiLevelListCommand,qT as MultiLevelListEditing,gE as MultiLevelListEmailIntegration,tA as MultiLevelListUI,s_ as NarrowSidebar,Fo as OpenAITextAdapter,BA as Pagination,DA as PaginationRenderer,kT as PasteFormatCommand,cS as PasteFromOfficeEnhanced,ca as Permissions,pa as PillView,dN as PresenceList,uN as PresenceListUI,KP as PreviewFinalContentCommand,rA as PreviewMergeFieldsCommand,RC as RealTimeCollaborationClient,aM as RealTimeCollaborativeComments,LC as RealTimeCollaborativeEditing,eN as RealTimeCollaborativeRevisionHistory,cM as RealTimeCollaborativeTrackChanges,pJ as ReplaceSourceCommand,xM as RestoreRevisionCommand,hM as Revision,KM as RevisionHistory,_M as RevisionHistoryUI,dM as RevisionHistoryUtils,mM as RevisionTracker,IM as RevisionViewer,WM as RevisionViewerEditor,YM as RevisionViewerIntegration,MM as RevisionViewerLoadingOverlay,NM as RevisionViewerUI,uM as RevisionsRepository,HM as RevisionsSidebar,rC as Sessions,nr as ShowAIAssistantCommand,CM as ShowChangeCommand,Kv as Sidebar,bN as SlashCommand,fN as SlashCommandConfig,gN as SlashCommandEditing,wN as SlashCommandUI,cE as SourceEditingEmailIntegration,gJ as SourceEditingEnhanced,qC as Suggestion,zC as SuggestionDescriptionFactory,VP as SuggestionThreadView,BP as SuggestionView,Wa as SuggestionsConversion,rE as TableEmailIntegration,E_ as TableOfContents,w_ as TableOfContentsCommand,y_ as TableOfContentsEditing,__ as TableOfContentsUI,SJ as Template,OJ as TemplateCommand,wJ as TemplateEditing,dE as TemplateEmailIntegration,AJ as TemplateUI,pE as TodoListEmailIntegration,sb as ToggleAICommand,ZP as TrackChanges,$C as TrackChangesCommand,XP as TrackChangesData,qP as TrackChangesDataGetter,_P as TrackChangesEditing,JP as TrackChangesPreview,FP as TrackChangesUI,fE as UploadEmailIntegration,att as Uploadcare,QJ as UploadcareCommand,Z0 as UploadcareEditing,wtt as UploadcareImageEdit,mtt as UploadcareImageEditCommand,gtt as UploadcareImageEditEditing,Ott as UploadcareImageEditUI,kJ as UploadcareUI,F0 as UploadcareUploadAdapter,ua as User,ma as UserView,ha as Users,nC as WebSocketGateway,e_ as WideSidebar,Ev as bindAnnotationCollections,Yp as createResizeButton,N_ as dropImportantStyleSuffix,va as fixElementSuggestionRange,md as getAllMarkersDomElementsSorted,dd as getDateTimeFormatter,Vo as getDefaultAICommands,xE as getEmailInlineStylesTransformations,fd as getMarkerDomElement,bd as hashObject,k_ as isUnsupportedEmailColorFormat,I_ as isUnsupportedEmailColorValue,jp as markOperationsAsAI,kd as sanitizeEditorConfig,Rd as setupThreadKeyboardNavigation,ya as splitSuggestionMarkerName,xd as surroundingMarkersDetector,EE as transformEmailAlignToAttribute,AE as transformEmailColumnWidthsToCells,_E as transformEmailFigcaptionToDiv,K_ as transformEmailFigureToTable,bE as transformEmailFloatToAlign,vE as transformEmailImageWidthAttributes,yE as transformEmailMarginToAlign,pd as trimHtml};